From 0f0019ad5abdcfa334a1d5e9051f8d2ebcdfeac9 Mon Sep 17 00:00:00 2001 From: Wei Zhang Date: Tue, 31 Dec 2024 10:31:37 +0800 Subject: [PATCH] chore: update ui --- ee/tabby-webserver/ui/404.html | 2 +- .../_buildManifest.js | 0 .../_ssgManifest.js | 0 .../static/chunks/1002-76b3e1057e71e39d.js | 1 + .../static/chunks/1522-8db335c16ab838c7.js | 1 - ...dee7ddb131.js => 1565-919e08a352f58c70.js} | 0 .../static/chunks/1570-d0971b81a1773d53.js | 13 ++++++++ .../static/chunks/1889-0e9adc6536876089.js | 1 - .../static/chunks/1889-87c8467fcccd59fb.js | 1 + .../static/chunks/2685-29efc3a639ee7624.js | 1 + .../static/chunks/2869-42f1f3c44cd51c36.js | 1 - .../static/chunks/3236-d3ba703104704f82.js | 1 + .../static/chunks/3240-1cfeb7c523eca69e.js | 1 + .../static/chunks/3240-c6d05ccd35c26d69.js | 1 - ...b2d2fc15237.js => 325-f70715e63c3f0b29.js} | 0 .../static/chunks/3817-85a2be99c9309ba6.js | 1 + ...85f2a2e5c8.js => 4017-2467b12c98927470.js} | 2 +- .../static/chunks/445-4bd82386581332fc.js | 1 - .../static/chunks/4553-c01da5706224f2a4.js | 1 + .../static/chunks/4553-fa293c4e48acfb94.js | 1 - .../static/chunks/4595-31f4c3bb94430a80.js | 1 - ...2ecf65ea7a.js => 4656-66c7782026bb7bef.js} | 2 +- .../static/chunks/4731-f09b618f36d3589b.js | 1 + ...73707c0c8e.js => 4916-e1035a37c0e37e65.js} | 2 +- .../static/chunks/5084-5bc6cf9d974efc6c.js | 1 - .../static/chunks/5669-341ee8f5e964c9f2.js | 1 - .../static/chunks/59-aecde53d72cc089a.js | 13 -------- ...9057c6fa47.js => 6432-33866c51c441c1bc.js} | 2 +- ...f9368f1cf5.js => 7288-1a16fa8b7a9c5fe6.js} | 2 +- .../static/chunks/7463-0343a573d962ff49.js | 1 + ...d6500a88348.js => 803-8eeb5019917e9716.js} | 4 +-- ...1e65a89a26.js => 8199-0de0022feebb136f.js} | 2 +- .../static/chunks/8300-094bba24d210db59.js | 1 + ...29a63d81ae.js => 8399-4db09a42111f750a.js} | 0 .../static/chunks/8939-080830c173a7422f.js | 1 - .../static/chunks/9002-3d2ddf890b36385d.js | 1 + .../static/chunks/9002-a79a9b58cd951d12.js | 1 - .../static/chunks/9515-88bf7d677b64e062.js | 1 + ...7bbdac8c58.js => 9634-00c09b9555eca79a.js} | 2 +- .../jobs/detail/page-4248f3e2d1a9a649.js | 1 + .../jobs/detail/page-fe9b8ac789aa12da.js | 1 - .../(logs)/jobs/page-77cf30b40ecb0574.js | 1 + .../(logs)/jobs/page-ab1d487d7a066bc8.js | 1 - ...3acc0eac07.js => page-3febbc115db62de1.js} | 2 +- ...489619a23c.js => page-8a912f92c44776f3.js} | 0 ...f804dc2d.js => layout-ef4d7476fd5c8644.js} | 2 +- .../profile/page-92fdb6fc86588b59.js | 5 ---- .../profile/page-d70b7b8f32582491.js | 5 ++++ ...99f4e7a2ad.js => page-d9a884bc36d6502f.js} | 2 +- ...43415c6b1b.js => page-79d1bc9820509aaf.js} | 2 +- .../[kind]/detail/page-2a964ef4c1daf3cd.js | 1 - .../[kind]/detail/page-d4914a1650f426fa.js | 1 + ...d414892f.js => layout-9385614eab1bf0bd.js} | 0 ...0f2e26348f.js => page-9dd8ae2030523f11.js} | 0 .../providers/[kind]/page-6c7398237f23875c.js | 1 + .../providers/[kind]/page-73c4bfa404d5d481.js | 1 - ...08e54641eb.js => page-617dcbfdf2620118.js} | 0 .../providers/doc/page-60e5387a44f13784.js | 1 - .../providers/doc/page-9e5a3f9f4927b290.js | 1 + ...f4250c02.js => layout-ecaf8eaaf509de02.js} | 0 ...7817af51ed.js => page-1aa6146113a04a2b.js} | 0 .../providers/git/page-084a689b7a63e3bb.js | 1 - .../providers/git/page-b23c8461039e85f2.js | 1 + ...7c5683d4.js => layout-80834c5ba4f4197c.js} | 2 +- ...444abbc436.js => page-95ade37b0f177c9a.js} | 0 ...6ab15d44fe.js => page-538e50b87dffca54.js} | 0 ...e03475e14a.js => page-811b7348fc9cdea8.js} | 0 ...1935ba68b0.js => page-6ce2ee42726345f1.js} | 0 ...5cb02875e3.js => page-9e968e5b8ce0eb09.js} | 2 +- ...be01b3a1.js => layout-de6fa2ff3c7ea574.js} | 0 ...491b4296cd.js => page-6779d2add41ab01b.js} | 2 +- ...7e8ea684dd.js => page-b6d923e357e74dc4.js} | 0 .../app/(home)/page-24ab6315a1309f1d.js | 1 - .../app/(home)/page-293192ed904d8626.js | 1 + ...f2fbf71e11.js => page-c8c2c17429ce6ace.js} | 0 ...e9e24dd44b.js => page-74ef2da8a9067bc9.js} | 2 +- .../app/auth/signup/page-3d8ded6cdcdb2ea1.js | 1 - .../app/auth/signup/page-90273ec575ae5f61.js | 1 + .../chunks/app/chat/page-07e6b44c42be9da2.js | 1 + .../chunks/app/chat/page-f3cdfa07815f5b3a.js | 1 - .../chunks/app/files/page-3002ce5b43c39209.js | 1 + .../chunks/app/files/page-9a142c6f88756224.js | 1 - ...ec9c3c2e.js => layout-18b81c4b9293a734.js} | 0 ...1006c.js => not-found-8a5a3b277081cfa6.js} | 0 .../app/search/page-24addd54e2ec09be.js | 1 + .../app/search/page-d3cbebba74235595.js | 1 - ...fb2b685.js => webpack-bee28b28955a7639.js} | 2 +- .../ui/_next/static/css/3b34dd409fe6b154.css | 5 ---- .../ui/_next/static/css/9f90e164ea50dc62.css | 1 - .../ui/_next/static/css/a687afeba4cf5598.css | 1 + .../ui/_next/static/css/ed2f80c8da413f9f.css | 5 ++++ ee/tabby-webserver/ui/activities.html | 2 +- ee/tabby-webserver/ui/activities.txt | 22 +++++++------- ee/tabby-webserver/ui/api.html | 2 +- ee/tabby-webserver/ui/api.txt | 16 +++++----- .../ui/auth/reset-password.html | 2 +- ee/tabby-webserver/ui/auth/reset-password.txt | 18 +++++------ ee/tabby-webserver/ui/auth/signin.html | 2 +- ee/tabby-webserver/ui/auth/signin.txt | 18 +++++------ ee/tabby-webserver/ui/auth/signup.html | 2 +- ee/tabby-webserver/ui/auth/signup.txt | 18 +++++------ ee/tabby-webserver/ui/chat.html | 2 +- ee/tabby-webserver/ui/chat.txt | 20 ++++++------- ee/tabby-webserver/ui/experiments.html | 2 +- ee/tabby-webserver/ui/experiments.txt | 22 +++++++------- ee/tabby-webserver/ui/files.html | 2 +- ee/tabby-webserver/ui/files.txt | 22 +++++++------- ee/tabby-webserver/ui/index.html | 2 +- ee/tabby-webserver/ui/index.txt | 20 ++++++------- ee/tabby-webserver/ui/jobs.html | 2 +- ee/tabby-webserver/ui/jobs.txt | 22 +++++++------- ee/tabby-webserver/ui/jobs/detail.html | 2 +- ee/tabby-webserver/ui/jobs/detail.txt | 22 +++++++------- ee/tabby-webserver/ui/profile.html | 2 +- ee/tabby-webserver/ui/profile.txt | 22 +++++++------- ee/tabby-webserver/ui/reports.html | 2 +- ee/tabby-webserver/ui/reports.txt | 22 +++++++------- ee/tabby-webserver/ui/search.html | 2 +- ee/tabby-webserver/ui/search.txt | 18 +++++------ ee/tabby-webserver/ui/settings/general.html | 2 +- ee/tabby-webserver/ui/settings/general.txt | 22 +++++++------- ee/tabby-webserver/ui/settings/mail.html | 2 +- ee/tabby-webserver/ui/settings/mail.txt | 22 +++++++------- .../ui/settings/providers/doc.html | 2 +- .../ui/settings/providers/doc.txt | 28 ++++++++--------- .../ui/settings/providers/doc/new.html | 2 +- .../ui/settings/providers/doc/new.txt | 26 ++++++++-------- .../ui/settings/providers/git.html | 2 +- .../ui/settings/providers/git.txt | 30 +++++++++---------- .../ui/settings/providers/git/new.html | 2 +- .../ui/settings/providers/git/new.txt | 30 +++++++++---------- .../providers/github-self-hosted.html | 2 +- .../settings/providers/github-self-hosted.txt | 30 +++++++++---------- .../providers/github-self-hosted/detail.html | 2 +- .../providers/github-self-hosted/detail.txt | 30 +++++++++---------- .../providers/github-self-hosted/new.html | 2 +- .../providers/github-self-hosted/new.txt | 30 +++++++++---------- .../ui/settings/providers/github.html | 2 +- .../ui/settings/providers/github.txt | 30 +++++++++---------- .../ui/settings/providers/github/detail.html | 2 +- .../ui/settings/providers/github/detail.txt | 30 +++++++++---------- .../ui/settings/providers/github/new.html | 2 +- .../ui/settings/providers/github/new.txt | 30 +++++++++---------- .../providers/gitlab-self-hosted.html | 2 +- .../settings/providers/gitlab-self-hosted.txt | 30 +++++++++---------- .../providers/gitlab-self-hosted/detail.html | 2 +- .../providers/gitlab-self-hosted/detail.txt | 30 +++++++++---------- .../providers/gitlab-self-hosted/new.html | 2 +- .../providers/gitlab-self-hosted/new.txt | 30 +++++++++---------- .../ui/settings/providers/gitlab.html | 2 +- .../ui/settings/providers/gitlab.txt | 30 +++++++++---------- .../ui/settings/providers/gitlab/detail.html | 2 +- .../ui/settings/providers/gitlab/detail.txt | 30 +++++++++---------- .../ui/settings/providers/gitlab/new.html | 2 +- .../ui/settings/providers/gitlab/new.txt | 30 +++++++++---------- ee/tabby-webserver/ui/settings/sso.html | 2 +- ee/tabby-webserver/ui/settings/sso.txt | 22 +++++++------- .../ui/settings/sso/detail/github.html | 2 +- .../ui/settings/sso/detail/github.txt | 22 +++++++------- .../ui/settings/sso/detail/gitlab.html | 2 +- .../ui/settings/sso/detail/gitlab.txt | 22 +++++++------- .../ui/settings/sso/detail/google.html | 2 +- .../ui/settings/sso/detail/google.txt | 22 +++++++------- ee/tabby-webserver/ui/settings/sso/new.html | 2 +- ee/tabby-webserver/ui/settings/sso/new.txt | 22 +++++++------- .../ui/settings/subscription.html | 2 +- .../ui/settings/subscription.txt | 22 +++++++------- ee/tabby-webserver/ui/settings/team.html | 2 +- ee/tabby-webserver/ui/settings/team.txt | 24 +++++++-------- .../ui/settings/team/groups.html | 2 +- .../ui/settings/team/groups.txt | 24 +++++++-------- ee/tabby-webserver/ui/system.html | 2 +- ee/tabby-webserver/ui/system.txt | 22 +++++++------- 173 files changed, 608 insertions(+), 607 deletions(-) rename ee/tabby-webserver/ui/_next/static/{U7QcCh4DmZBfKmV8ndkx3 => 1msYVTEGRmllJkS-hg7FE}/_buildManifest.js (100%) rename ee/tabby-webserver/ui/_next/static/{U7QcCh4DmZBfKmV8ndkx3 => 1msYVTEGRmllJkS-hg7FE}/_ssgManifest.js (100%) create mode 100644 ee/tabby-webserver/ui/_next/static/chunks/1002-76b3e1057e71e39d.js delete mode 100644 ee/tabby-webserver/ui/_next/static/chunks/1522-8db335c16ab838c7.js rename ee/tabby-webserver/ui/_next/static/chunks/{1565-d48794dee7ddb131.js => 1565-919e08a352f58c70.js} (100%) create mode 100644 ee/tabby-webserver/ui/_next/static/chunks/1570-d0971b81a1773d53.js delete mode 100644 ee/tabby-webserver/ui/_next/static/chunks/1889-0e9adc6536876089.js create mode 100644 ee/tabby-webserver/ui/_next/static/chunks/1889-87c8467fcccd59fb.js create mode 100644 ee/tabby-webserver/ui/_next/static/chunks/2685-29efc3a639ee7624.js delete mode 100644 ee/tabby-webserver/ui/_next/static/chunks/2869-42f1f3c44cd51c36.js create mode 100644 ee/tabby-webserver/ui/_next/static/chunks/3236-d3ba703104704f82.js create mode 100644 ee/tabby-webserver/ui/_next/static/chunks/3240-1cfeb7c523eca69e.js delete mode 100644 ee/tabby-webserver/ui/_next/static/chunks/3240-c6d05ccd35c26d69.js rename ee/tabby-webserver/ui/_next/static/chunks/{325-25e95b2d2fc15237.js => 325-f70715e63c3f0b29.js} (100%) create mode 100644 ee/tabby-webserver/ui/_next/static/chunks/3817-85a2be99c9309ba6.js rename ee/tabby-webserver/ui/_next/static/chunks/{4017-6405fb85f2a2e5c8.js => 4017-2467b12c98927470.js} (61%) delete mode 100644 ee/tabby-webserver/ui/_next/static/chunks/445-4bd82386581332fc.js create mode 100644 ee/tabby-webserver/ui/_next/static/chunks/4553-c01da5706224f2a4.js delete mode 100644 ee/tabby-webserver/ui/_next/static/chunks/4553-fa293c4e48acfb94.js delete mode 100644 ee/tabby-webserver/ui/_next/static/chunks/4595-31f4c3bb94430a80.js rename ee/tabby-webserver/ui/_next/static/chunks/{4656-a8e1392ecf65ea7a.js => 4656-66c7782026bb7bef.js} (59%) create mode 100644 ee/tabby-webserver/ui/_next/static/chunks/4731-f09b618f36d3589b.js rename ee/tabby-webserver/ui/_next/static/chunks/{6265-12d9f173707c0c8e.js => 4916-e1035a37c0e37e65.js} (83%) delete mode 100644 ee/tabby-webserver/ui/_next/static/chunks/5084-5bc6cf9d974efc6c.js delete mode 100644 ee/tabby-webserver/ui/_next/static/chunks/5669-341ee8f5e964c9f2.js delete mode 100644 ee/tabby-webserver/ui/_next/static/chunks/59-aecde53d72cc089a.js rename ee/tabby-webserver/ui/_next/static/chunks/{7188-528f509057c6fa47.js => 6432-33866c51c441c1bc.js} (64%) rename ee/tabby-webserver/ui/_next/static/chunks/{7288-15d369f9368f1cf5.js => 7288-1a16fa8b7a9c5fe6.js} (51%) create mode 100644 ee/tabby-webserver/ui/_next/static/chunks/7463-0343a573d962ff49.js rename ee/tabby-webserver/ui/_next/static/chunks/{5223-c8317d6500a88348.js => 803-8eeb5019917e9716.js} (95%) rename ee/tabby-webserver/ui/_next/static/chunks/{2457-9d5cd61e65a89a26.js => 8199-0de0022feebb136f.js} (53%) create mode 100644 ee/tabby-webserver/ui/_next/static/chunks/8300-094bba24d210db59.js rename ee/tabby-webserver/ui/_next/static/chunks/{8399-30b0f029a63d81ae.js => 8399-4db09a42111f750a.js} (100%) delete mode 100644 ee/tabby-webserver/ui/_next/static/chunks/8939-080830c173a7422f.js create mode 100644 ee/tabby-webserver/ui/_next/static/chunks/9002-3d2ddf890b36385d.js delete mode 100644 ee/tabby-webserver/ui/_next/static/chunks/9002-a79a9b58cd951d12.js create mode 100644 ee/tabby-webserver/ui/_next/static/chunks/9515-88bf7d677b64e062.js rename ee/tabby-webserver/ui/_next/static/chunks/{9634-a6aa7c7bbdac8c58.js => 9634-00c09b9555eca79a.js} (66%) create mode 100644 ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/(logs)/jobs/detail/page-4248f3e2d1a9a649.js delete mode 100644 ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/(logs)/jobs/detail/page-fe9b8ac789aa12da.js create mode 100644 ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/(logs)/jobs/page-77cf30b40ecb0574.js delete mode 100644 ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/(logs)/jobs/page-ab1d487d7a066bc8.js rename ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/activities/{page-4c81023acc0eac07.js => page-3febbc115db62de1.js} (67%) rename ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/experiments/{page-abda32489619a23c.js => page-8a912f92c44776f3.js} (100%) rename ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/{layout-daedd5a9f804dc2d.js => layout-ef4d7476fd5c8644.js} (67%) delete mode 100644 ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/profile/page-92fdb6fc86588b59.js create mode 100644 ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/profile/page-d70b7b8f32582491.js rename ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/reports/{page-441d1c99f4e7a2ad.js => page-d9a884bc36d6502f.js} (99%) rename ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/mail/{page-b88c7843415c6b1b.js => page-79d1bc9820509aaf.js} (67%) delete mode 100644 ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/detail/page-2a964ef4c1daf3cd.js create mode 100644 ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/detail/page-d4914a1650f426fa.js rename ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/{layout-7fd8f4cfd414892f.js => layout-9385614eab1bf0bd.js} (100%) rename ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/new/{page-842d420f2e26348f.js => page-9dd8ae2030523f11.js} (100%) create mode 100644 ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/page-6c7398237f23875c.js delete mode 100644 ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/page-73c4bfa404d5d481.js rename ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/doc/new/{page-1ef17208e54641eb.js => page-617dcbfdf2620118.js} (100%) delete mode 100644 ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/doc/page-60e5387a44f13784.js create mode 100644 ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/doc/page-9e5a3f9f4927b290.js rename ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/git/{layout-86c18a25f4250c02.js => layout-ecaf8eaaf509de02.js} (100%) rename ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/git/new/{page-52dded7817af51ed.js => page-1aa6146113a04a2b.js} (100%) delete mode 100644 ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/git/page-084a689b7a63e3bb.js create mode 100644 ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/git/page-b23c8461039e85f2.js rename ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/{layout-d7262c1e7c5683d4.js => layout-80834c5ba4f4197c.js} (99%) rename ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/sso/detail/[provider]/{page-c9aa57444abbc436.js => page-95ade37b0f177c9a.js} (100%) rename ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/sso/{page-4de3f16ab15d44fe.js => page-538e50b87dffca54.js} (100%) rename ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/general/{page-61422be03475e14a.js => page-811b7348fc9cdea8.js} (100%) rename ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/subscription/{page-d960181935ba68b0.js => page-6ce2ee42726345f1.js} (100%) rename ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/team/groups/{page-d7d6fa5cb02875e3.js => page-9e968e5b8ce0eb09.js} (99%) rename ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/team/{layout-feb51db2be01b3a1.js => layout-de6fa2ff3c7ea574.js} (100%) rename ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/team/{page-0ec3fe491b4296cd.js => page-6779d2add41ab01b.js} (77%) rename ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/system/{page-b4105f7e8ea684dd.js => page-b6d923e357e74dc4.js} (100%) delete mode 100644 ee/tabby-webserver/ui/_next/static/chunks/app/(home)/page-24ab6315a1309f1d.js create mode 100644 ee/tabby-webserver/ui/_next/static/chunks/app/(home)/page-293192ed904d8626.js rename ee/tabby-webserver/ui/_next/static/chunks/app/auth/reset-password/{page-6c4257f2fbf71e11.js => page-c8c2c17429ce6ace.js} (100%) rename ee/tabby-webserver/ui/_next/static/chunks/app/auth/signin/{page-0eaf47e9e24dd44b.js => page-74ef2da8a9067bc9.js} (63%) delete mode 100644 ee/tabby-webserver/ui/_next/static/chunks/app/auth/signup/page-3d8ded6cdcdb2ea1.js create mode 100644 ee/tabby-webserver/ui/_next/static/chunks/app/auth/signup/page-90273ec575ae5f61.js create mode 100644 ee/tabby-webserver/ui/_next/static/chunks/app/chat/page-07e6b44c42be9da2.js delete mode 100644 ee/tabby-webserver/ui/_next/static/chunks/app/chat/page-f3cdfa07815f5b3a.js create mode 100644 ee/tabby-webserver/ui/_next/static/chunks/app/files/page-3002ce5b43c39209.js delete mode 100644 ee/tabby-webserver/ui/_next/static/chunks/app/files/page-9a142c6f88756224.js rename ee/tabby-webserver/ui/_next/static/chunks/app/{layout-dea90d1aec9c3c2e.js => layout-18b81c4b9293a734.js} (100%) rename ee/tabby-webserver/ui/_next/static/chunks/app/{not-found-f0d7e4dd75c1006c.js => not-found-8a5a3b277081cfa6.js} (100%) create mode 100644 ee/tabby-webserver/ui/_next/static/chunks/app/search/page-24addd54e2ec09be.js delete mode 100644 ee/tabby-webserver/ui/_next/static/chunks/app/search/page-d3cbebba74235595.js rename ee/tabby-webserver/ui/_next/static/chunks/{webpack-78f0fb92ffb2b685.js => webpack-bee28b28955a7639.js} (97%) delete mode 100644 ee/tabby-webserver/ui/_next/static/css/3b34dd409fe6b154.css delete mode 100644 ee/tabby-webserver/ui/_next/static/css/9f90e164ea50dc62.css create mode 100644 ee/tabby-webserver/ui/_next/static/css/a687afeba4cf5598.css create mode 100644 ee/tabby-webserver/ui/_next/static/css/ed2f80c8da413f9f.css diff --git a/ee/tabby-webserver/ui/404.html b/ee/tabby-webserver/ui/404.html index c393b1c12854..17014441f480 100644 --- a/ee/tabby-webserver/ui/404.html +++ b/ee/tabby-webserver/ui/404.html @@ -1 +1 @@ -Tabby \ No newline at end of file +Tabby \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/U7QcCh4DmZBfKmV8ndkx3/_buildManifest.js b/ee/tabby-webserver/ui/_next/static/1msYVTEGRmllJkS-hg7FE/_buildManifest.js similarity index 100% rename from ee/tabby-webserver/ui/_next/static/U7QcCh4DmZBfKmV8ndkx3/_buildManifest.js rename to ee/tabby-webserver/ui/_next/static/1msYVTEGRmllJkS-hg7FE/_buildManifest.js diff --git a/ee/tabby-webserver/ui/_next/static/U7QcCh4DmZBfKmV8ndkx3/_ssgManifest.js b/ee/tabby-webserver/ui/_next/static/1msYVTEGRmllJkS-hg7FE/_ssgManifest.js similarity index 100% rename from ee/tabby-webserver/ui/_next/static/U7QcCh4DmZBfKmV8ndkx3/_ssgManifest.js rename to ee/tabby-webserver/ui/_next/static/1msYVTEGRmllJkS-hg7FE/_ssgManifest.js diff --git a/ee/tabby-webserver/ui/_next/static/chunks/1002-76b3e1057e71e39d.js b/ee/tabby-webserver/ui/_next/static/chunks/1002-76b3e1057e71e39d.js new file mode 100644 index 000000000000..3fd2c153df9c --- /dev/null +++ b/ee/tabby-webserver/ui/_next/static/chunks/1002-76b3e1057e71e39d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1002],{4318:function(e,t,n){n.d(t,{Dx:function(){return j},VY:function(){return Y},aV:function(){return X},dk:function(){return q},fC:function(){return U},h_:function(){return B},x8:function(){return G},xz:function(){return H}});var o=n(65122),r=n(3546),u=n(65727),l=n(79869),i=n(47091),a=n(29434),c=n(27250),s=n(71404),d=n(8914),f=n(48907),p=n(96497),v=n(72205),m=n(12192),g=n(8569),E=n(47847),D=n(74047);let h="Dialog",[_,C]=(0,i.b)(h),[b,R]=_(h),y=(0,r.forwardRef)((e,t)=>{let{__scopeDialog:n,...i}=e,a=R("DialogTrigger",n),c=(0,l.e)(t,a.triggerRef);return(0,r.createElement)(v.WV.button,(0,o.Z)({type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":K(a.open)},i,{ref:c,onClick:(0,u.M)(e.onClick,a.onOpenToggle)}))}),T="DialogPortal",[F,M]=_(T,{forceMount:void 0}),w="DialogOverlay",O=(0,r.forwardRef)((e,t)=>{let n=M(w,e.__scopeDialog),{forceMount:u=n.forceMount,...l}=e,i=R(w,e.__scopeDialog);return i.modal?(0,r.createElement)(p.z,{present:u||i.open},(0,r.createElement)(I,(0,o.Z)({},l,{ref:t}))):null}),I=(0,r.forwardRef)((e,t)=>{let{__scopeDialog:n,...u}=e,l=R(w,n);return(0,r.createElement)(g.Z,{as:D.g7,allowPinchZoom:!0,shards:[l.contentRef]},(0,r.createElement)(v.WV.div,(0,o.Z)({"data-state":K(l.open)},u,{ref:t,style:{pointerEvents:"auto",...u.style}})))}),Z="DialogContent",N=(0,r.forwardRef)((e,t)=>{let n=M(Z,e.__scopeDialog),{forceMount:u=n.forceMount,...l}=e,i=R(Z,e.__scopeDialog);return(0,r.createElement)(p.z,{present:u||i.open},i.modal?(0,r.createElement)(P,(0,o.Z)({},l,{ref:t})):(0,r.createElement)(k,(0,o.Z)({},l,{ref:t})))}),P=(0,r.forwardRef)((e,t)=>{let n=R(Z,e.__scopeDialog),i=(0,r.useRef)(null),a=(0,l.e)(t,n.contentRef,i);return(0,r.useEffect)(()=>{let e=i.current;if(e)return(0,E.Ry)(e)},[]),(0,r.createElement)(x,(0,o.Z)({},e,{ref:a,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,u.M)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:(0,u.M)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,o=2===t.button||n;o&&e.preventDefault()}),onFocusOutside:(0,u.M)(e.onFocusOutside,e=>e.preventDefault())}))}),k=(0,r.forwardRef)((e,t)=>{let n=R(Z,e.__scopeDialog),u=(0,r.useRef)(!1),l=(0,r.useRef)(!1);return(0,r.createElement)(x,(0,o.Z)({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var o,r;null===(o=e.onCloseAutoFocus)||void 0===o||o.call(e,t),t.defaultPrevented||(u.current||null===(r=n.triggerRef.current)||void 0===r||r.focus(),t.preventDefault()),u.current=!1,l.current=!1},onInteractOutside:t=>{var o,r;null===(o=e.onInteractOutside)||void 0===o||o.call(e,t),t.defaultPrevented||(u.current=!0,"pointerdown"!==t.detail.originalEvent.type||(l.current=!0));let i=t.target,a=null===(r=n.triggerRef.current)||void 0===r?void 0:r.contains(i);a&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&l.current&&t.preventDefault()}}))}),x=(0,r.forwardRef)((e,t)=>{let{__scopeDialog:n,trapFocus:u,onOpenAutoFocus:i,onCloseAutoFocus:a,...c}=e,f=R(Z,n),p=(0,r.useRef)(null),v=(0,l.e)(t,p);return(0,m.EW)(),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(d.M,{asChild:!0,loop:!0,trapped:u,onMountAutoFocus:i,onUnmountAutoFocus:a},(0,r.createElement)(s.XB,(0,o.Z)({role:"dialog",id:f.contentId,"aria-describedby":f.descriptionId,"aria-labelledby":f.titleId,"data-state":K(f.open)},c,{ref:v,onDismiss:()=>f.onOpenChange(!1)}))),!1)}),L="DialogTitle",W=(0,r.forwardRef)((e,t)=>{let{__scopeDialog:n,...u}=e,l=R(L,n);return(0,r.createElement)(v.WV.h2,(0,o.Z)({id:l.titleId},u,{ref:t}))}),A=(0,r.forwardRef)((e,t)=>{let{__scopeDialog:n,...u}=e,l=R("DialogDescription",n);return(0,r.createElement)(v.WV.p,(0,o.Z)({id:l.descriptionId},u,{ref:t}))}),S=(0,r.forwardRef)((e,t)=>{let{__scopeDialog:n,...l}=e,i=R("DialogClose",n);return(0,r.createElement)(v.WV.button,(0,o.Z)({type:"button"},l,{ref:t,onClick:(0,u.M)(e.onClick,()=>i.onOpenChange(!1))}))});function K(e){return e?"open":"closed"}let[V,z]=(0,i.k)("DialogTitleWarning",{contentName:Z,titleName:L,docsSlug:"dialog"}),U=e=>{let{__scopeDialog:t,children:n,open:o,defaultOpen:u,onOpenChange:l,modal:i=!0}=e,s=(0,r.useRef)(null),d=(0,r.useRef)(null),[f=!1,p]=(0,c.T)({prop:o,defaultProp:u,onChange:l});return(0,r.createElement)(b,{scope:t,triggerRef:s,contentRef:d,contentId:(0,a.M)(),titleId:(0,a.M)(),descriptionId:(0,a.M)(),open:f,onOpenChange:p,onOpenToggle:(0,r.useCallback)(()=>p(e=>!e),[p]),modal:i},n)},H=y,B=e=>{let{__scopeDialog:t,forceMount:n,children:o,container:u}=e,l=R(T,t);return(0,r.createElement)(F,{scope:t,forceMount:n},r.Children.map(o,e=>(0,r.createElement)(p.z,{present:n||l.open},(0,r.createElement)(f.h,{asChild:!0,container:u},e))))},X=O,Y=N,j=W,q=A,G=S},57541:function(e,t,n){n.d(t,{gm:function(){return u}});var o=n(3546);let r=(0,o.createContext)(void 0);function u(e){let t=(0,o.useContext)(r);return e||t||"ltr"}},8914:function(e,t,n){let o;n.d(t,{M:function(){return f}});var r=n(65122),u=n(3546),l=n(79869),i=n(72205),a=n(17957);let c="focusScope.autoFocusOnMount",s="focusScope.autoFocusOnUnmount",d={bubbles:!1,cancelable:!0},f=(0,u.forwardRef)((e,t)=>{let{loop:n=!1,trapped:o=!1,onMountAutoFocus:f,onUnmountAutoFocus:E,...D}=e,[h,_]=(0,u.useState)(null),C=(0,a.W)(f),b=(0,a.W)(E),R=(0,u.useRef)(null),y=(0,l.e)(t,e=>_(e)),T=(0,u.useRef)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;(0,u.useEffect)(()=>{if(o){function e(e){if(T.paused||!h)return;let t=e.target;h.contains(t)?R.current=t:m(R.current,{select:!0})}function t(e){if(T.paused||!h)return;let t=e.relatedTarget;null===t||h.contains(t)||m(R.current,{select:!0})}document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){let t=document.activeElement;if(t===document.body)for(let t of e)t.removedNodes.length>0&&m(h)});return h&&n.observe(h,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[o,h,T.paused]),(0,u.useEffect)(()=>{if(h){g.add(T);let e=document.activeElement,t=h.contains(e);if(!t){let t=new CustomEvent(c,d);h.addEventListener(c,C),h.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let o of e)if(m(o,{select:t}),document.activeElement!==n)return}(p(h).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&m(h))}return()=>{h.removeEventListener(c,C),setTimeout(()=>{let t=new CustomEvent(s,d);h.addEventListener(s,b),h.dispatchEvent(t),t.defaultPrevented||m(null!=e?e:document.body,{select:!0}),h.removeEventListener(s,b),g.remove(T)},0)}}},[h,C,b,T]);let F=(0,u.useCallback)(e=>{if(!n&&!o||T.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=document.activeElement;if(t&&r){let t=e.currentTarget,[o,u]=function(e){let t=p(e),n=v(t,e),o=v(t.reverse(),e);return[n,o]}(t),l=o&&u;l?e.shiftKey||r!==u?e.shiftKey&&r===o&&(e.preventDefault(),n&&m(u,{select:!0})):(e.preventDefault(),n&&m(o,{select:!0})):r===t&&e.preventDefault()}},[n,o,T.paused]);return(0,u.createElement)(i.WV.div,(0,r.Z)({tabIndex:-1},D,{ref:y,onKeyDown:F}))});function p(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function v(e,t){for(let n of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function m(e,{select:t=!1}={}){if(e&&e.focus){var n;let o=document.activeElement;e.focus({preventScroll:!0}),e!==o&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}let g=(o=[],{add(e){let t=o[0];e!==t&&(null==t||t.pause()),(o=E(o,e)).unshift(e)},remove(e){var t;null===(t=(o=E(o,e))[0])||void 0===t||t.resume()}});function E(e,t){let n=[...e],o=n.indexOf(t);return -1!==o&&n.splice(o,1),n}},45391:function(e,t,n){n.d(t,{Z:function(){return c}});var o=n(84639),r=n(48717),u=function(){return r.Z.Date.now()},l=n(26165),i=Math.max,a=Math.min,c=function(e,t,n){var r,c,s,d,f,p,v=0,m=!1,g=!1,E=!0;if("function"!=typeof e)throw TypeError("Expected a function");function D(t){var n=r,o=c;return r=c=void 0,v=t,d=e.apply(o,n)}function h(e){var n=e-p,o=e-v;return void 0===p||n>=t||n<0||g&&o>=s}function _(){var e,n,o,r=u();if(h(r))return C(r);f=setTimeout(_,(e=r-p,n=r-v,o=t-e,g?a(o,s-n):o))}function C(e){return(f=void 0,E&&r)?D(e):(r=c=void 0,d)}function b(){var e,n=u(),o=h(n);if(r=arguments,c=this,p=n,o){if(void 0===f)return v=e=p,f=setTimeout(_,t),m?D(e):d;if(g)return clearTimeout(f),f=setTimeout(_,t),D(p)}return void 0===f&&(f=setTimeout(_,t)),d}return t=(0,l.Z)(t)||0,(0,o.Z)(n)&&(m=!!n.leading,s=(g="maxWait"in n)?i((0,l.Z)(n.maxWait)||0,t):s,E="trailing"in n?!!n.trailing:E),b.cancel=function(){void 0!==f&&clearTimeout(f),v=0,r=p=c=f=void 0},b.flush=function(){return void 0===f?d:C(u())},b}}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/1522-8db335c16ab838c7.js b/ee/tabby-webserver/ui/_next/static/chunks/1522-8db335c16ab838c7.js deleted file mode 100644 index 88674a8ec370..000000000000 --- a/ee/tabby-webserver/ui/_next/static/chunks/1522-8db335c16ab838c7.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1522],{73037:function(t,e,n){n.d(e,{Z:function(){return i}});function i(t,e){if(null==t)return{};var n,i,r={},s=Object.keys(t);for(i=0;i=0||(r[n]=t[n]);return r}},85656:function(t,e,n){n.d(e,{B:function(){return a}});var i=n(3546),r=n(47091),s=n(79869),o=n(74047);function a(t){let e=t+"CollectionProvider",[n,a]=(0,r.b)(e),[l,h]=n(e,{collectionRef:{current:null},itemMap:new Map}),u=t+"CollectionSlot",c=i.forwardRef((t,e)=>{let{scope:n,children:r}=t,a=h(u,n),l=(0,s.e)(e,a.collectionRef);return i.createElement(o.g7,{ref:l},r)}),p=t+"CollectionItemSlot",d="data-radix-collection-item",f=i.forwardRef((t,e)=>{let{scope:n,children:r,...a}=t,l=i.useRef(null),u=(0,s.e)(e,l),c=h(p,n);return i.useEffect(()=>(c.itemMap.set(l,{ref:l,...a}),()=>void c.itemMap.delete(l))),i.createElement(o.g7,{[d]:"",ref:u},r)});return[{Provider:t=>{let{scope:e,children:n}=t,r=i.useRef(null),s=i.useRef(new Map).current;return i.createElement(l,{scope:e,itemMap:s,collectionRef:r},n)},Slot:c,ItemSlot:f},function(e){let n=h(t+"CollectionConsumer",e),r=i.useCallback(()=>{let t=n.collectionRef.current;if(!t)return[];let e=Array.from(t.querySelectorAll(`[${d}]`)),i=Array.from(n.itemMap.values()),r=i.sort((t,n)=>e.indexOf(t.ref.current)-e.indexOf(n.ref.current));return r},[n.collectionRef,n.itemMap]);return r},a]}},57541:function(t,e,n){n.d(e,{gm:function(){return s}});var i=n(3546);let r=(0,i.createContext)(void 0);function s(t){let e=(0,i.useContext)(r);return t||e||"ltr"}},54767:function(t,e,n){n.d(e,{Z:function(){return u}});var i=n(35737),r=[["\xdf","ss"],["ẞ","Ss"],["\xe4","ae"],["\xc4","Ae"],["\xf6","oe"],["\xd6","Oe"],["\xfc","ue"],["\xdc","Ue"],["\xc0","A"],["\xc1","A"],["\xc2","A"],["\xc3","A"],["\xc4","Ae"],["\xc5","A"],["\xc6","AE"],["\xc7","C"],["\xc8","E"],["\xc9","E"],["\xca","E"],["\xcb","E"],["\xcc","I"],["\xcd","I"],["\xce","I"],["\xcf","I"],["\xd0","D"],["\xd1","N"],["\xd2","O"],["\xd3","O"],["\xd4","O"],["\xd5","O"],["\xd6","Oe"],["Ő","O"],["\xd8","O"],["\xd9","U"],["\xda","U"],["\xdb","U"],["\xdc","Ue"],["Ű","U"],["\xdd","Y"],["\xde","TH"],["\xdf","ss"],["\xe0","a"],["\xe1","a"],["\xe2","a"],["\xe3","a"],["\xe4","ae"],["\xe5","a"],["\xe6","ae"],["\xe7","c"],["\xe8","e"],["\xe9","e"],["\xea","e"],["\xeb","e"],["\xec","i"],["\xed","i"],["\xee","i"],["\xef","i"],["\xf0","d"],["\xf1","n"],["\xf2","o"],["\xf3","o"],["\xf4","o"],["\xf5","o"],["\xf6","oe"],["ő","o"],["\xf8","o"],["\xf9","u"],["\xfa","u"],["\xfb","u"],["\xfc","ue"],["ű","u"],["\xfd","y"],["\xfe","th"],["\xff","y"],["ẞ","SS"],["\xe0","a"],["\xc0","A"],["\xe1","a"],["\xc1","A"],["\xe2","a"],["\xc2","A"],["\xe3","a"],["\xc3","A"],["\xe8","e"],["\xc8","E"],["\xe9","e"],["\xc9","E"],["\xea","e"],["\xca","E"],["\xec","i"],["\xcc","I"],["\xed","i"],["\xcd","I"],["\xf2","o"],["\xd2","O"],["\xf3","o"],["\xd3","O"],["\xf4","o"],["\xd4","O"],["\xf5","o"],["\xd5","O"],["\xf9","u"],["\xd9","U"],["\xfa","u"],["\xda","U"],["\xfd","y"],["\xdd","Y"],["ă","a"],["Ă","A"],["Đ","D"],["đ","d"],["ĩ","i"],["Ĩ","I"],["ũ","u"],["Ũ","U"],["ơ","o"],["Ơ","O"],["ư","u"],["Ư","U"],["ạ","a"],["Ạ","A"],["ả","a"],["Ả","A"],["ấ","a"],["Ấ","A"],["ầ","a"],["Ầ","A"],["ẩ","a"],["Ẩ","A"],["ẫ","a"],["Ẫ","A"],["ậ","a"],["Ậ","A"],["ắ","a"],["Ắ","A"],["ằ","a"],["Ằ","A"],["ẳ","a"],["Ẳ","A"],["ẵ","a"],["Ẵ","A"],["ặ","a"],["Ặ","A"],["ẹ","e"],["Ẹ","E"],["ẻ","e"],["Ẻ","E"],["ẽ","e"],["Ẽ","E"],["ế","e"],["Ế","E"],["ề","e"],["Ề","E"],["ể","e"],["Ể","E"],["ễ","e"],["Ễ","E"],["ệ","e"],["Ệ","E"],["ỉ","i"],["Ỉ","I"],["ị","i"],["Ị","I"],["ọ","o"],["Ọ","O"],["ỏ","o"],["Ỏ","O"],["ố","o"],["Ố","O"],["ồ","o"],["Ồ","O"],["ổ","o"],["Ổ","O"],["ỗ","o"],["Ỗ","O"],["ộ","o"],["Ộ","O"],["ớ","o"],["Ớ","O"],["ờ","o"],["Ờ","O"],["ở","o"],["Ở","O"],["ỡ","o"],["Ỡ","O"],["ợ","o"],["Ợ","O"],["ụ","u"],["Ụ","U"],["ủ","u"],["Ủ","U"],["ứ","u"],["Ứ","U"],["ừ","u"],["Ừ","U"],["ử","u"],["Ử","U"],["ữ","u"],["Ữ","U"],["ự","u"],["Ự","U"],["ỳ","y"],["Ỳ","Y"],["ỵ","y"],["Ỵ","Y"],["ỷ","y"],["Ỷ","Y"],["ỹ","y"],["Ỹ","Y"],["ء","e"],["آ","a"],["أ","a"],["ؤ","w"],["إ","i"],["ئ","y"],["ا","a"],["ب","b"],["ة","t"],["ت","t"],["ث","th"],["ج","j"],["ح","h"],["خ","kh"],["د","d"],["ذ","dh"],["ر","r"],["ز","z"],["س","s"],["ش","sh"],["ص","s"],["ض","d"],["ط","t"],["ظ","z"],["ع","e"],["غ","gh"],["ـ","_"],["ف","f"],["ق","q"],["ك","k"],["ل","l"],["م","m"],["ن","n"],["ه","h"],["و","w"],["ى","a"],["ي","y"],["َ‎","a"],["ُ","u"],["ِ‎","i"],["٠","0"],["١","1"],["٢","2"],["٣","3"],["٤","4"],["٥","5"],["٦","6"],["٧","7"],["٨","8"],["٩","9"],["چ","ch"],["ک","k"],["گ","g"],["پ","p"],["ژ","zh"],["ی","y"],["۰","0"],["۱","1"],["۲","2"],["۳","3"],["۴","4"],["۵","5"],["۶","6"],["۷","7"],["۸","8"],["۹","9"],["ټ","p"],["ځ","z"],["څ","c"],["ډ","d"],["ﺫ","d"],["ﺭ","r"],["ړ","r"],["ﺯ","z"],["ږ","g"],["ښ","x"],["ګ","g"],["ڼ","n"],["ۀ","e"],["ې","e"],["ۍ","ai"],["ٹ","t"],["ڈ","d"],["ڑ","r"],["ں","n"],["ہ","h"],["ھ","h"],["ے","e"],["А","A"],["а","a"],["Б","B"],["б","b"],["В","V"],["в","v"],["Г","G"],["г","g"],["Д","D"],["д","d"],["ъе","ye"],["Ъе","Ye"],["ъЕ","yE"],["ЪЕ","YE"],["Е","E"],["е","e"],["Ё","Yo"],["ё","yo"],["Ж","Zh"],["ж","zh"],["З","Z"],["з","z"],["И","I"],["и","i"],["ый","iy"],["Ый","Iy"],["ЫЙ","IY"],["ыЙ","iY"],["Й","Y"],["й","y"],["К","K"],["к","k"],["Л","L"],["л","l"],["М","M"],["м","m"],["Н","N"],["н","n"],["О","O"],["о","o"],["П","P"],["п","p"],["Р","R"],["р","r"],["С","S"],["с","s"],["Т","T"],["т","t"],["У","U"],["у","u"],["Ф","F"],["ф","f"],["Х","Kh"],["х","kh"],["Ц","Ts"],["ц","ts"],["Ч","Ch"],["ч","ch"],["Ш","Sh"],["ш","sh"],["Щ","Sch"],["щ","sch"],["Ъ",""],["ъ",""],["Ы","Y"],["ы","y"],["Ь",""],["ь",""],["Э","E"],["э","e"],["Ю","Yu"],["ю","yu"],["Я","Ya"],["я","ya"],["ă","a"],["Ă","A"],["ș","s"],["Ș","S"],["ț","t"],["Ț","T"],["ţ","t"],["Ţ","T"],["ş","s"],["Ş","S"],["\xe7","c"],["\xc7","C"],["ğ","g"],["Ğ","G"],["ı","i"],["İ","I"],["ա","a"],["Ա","A"],["բ","b"],["Բ","B"],["գ","g"],["Գ","G"],["դ","d"],["Դ","D"],["ե","ye"],["Ե","Ye"],["զ","z"],["Զ","Z"],["է","e"],["Է","E"],["ը","y"],["Ը","Y"],["թ","t"],["Թ","T"],["ժ","zh"],["Ժ","Zh"],["ի","i"],["Ի","I"],["լ","l"],["Լ","L"],["խ","kh"],["Խ","Kh"],["ծ","ts"],["Ծ","Ts"],["կ","k"],["Կ","K"],["հ","h"],["Հ","H"],["ձ","dz"],["Ձ","Dz"],["ղ","gh"],["Ղ","Gh"],["ճ","tch"],["Ճ","Tch"],["մ","m"],["Մ","M"],["յ","y"],["Յ","Y"],["ն","n"],["Ն","N"],["շ","sh"],["Շ","Sh"],["ո","vo"],["Ո","Vo"],["չ","ch"],["Չ","Ch"],["պ","p"],["Պ","P"],["ջ","j"],["Ջ","J"],["ռ","r"],["Ռ","R"],["ս","s"],["Ս","S"],["վ","v"],["Վ","V"],["տ","t"],["Տ","T"],["ր","r"],["Ր","R"],["ց","c"],["Ց","C"],["ու","u"],["ՈՒ","U"],["Ու","U"],["փ","p"],["Փ","P"],["ք","q"],["Ք","Q"],["օ","o"],["Օ","O"],["ֆ","f"],["Ֆ","F"],["և","yev"],["ა","a"],["ბ","b"],["გ","g"],["დ","d"],["ე","e"],["ვ","v"],["ზ","z"],["თ","t"],["ი","i"],["კ","k"],["ლ","l"],["მ","m"],["ნ","n"],["ო","o"],["პ","p"],["ჟ","zh"],["რ","r"],["ს","s"],["ტ","t"],["უ","u"],["ფ","ph"],["ქ","q"],["ღ","gh"],["ყ","k"],["შ","sh"],["ჩ","ch"],["ც","ts"],["ძ","dz"],["წ","ts"],["ჭ","tch"],["ხ","kh"],["ჯ","j"],["ჰ","h"],["č","c"],["ď","d"],["ě","e"],["ň","n"],["ř","r"],["š","s"],["ť","t"],["ů","u"],["ž","z"],["Č","C"],["Ď","D"],["Ě","E"],["Ň","N"],["Ř","R"],["Š","S"],["Ť","T"],["Ů","U"],["Ž","Z"],["ހ","h"],["ށ","sh"],["ނ","n"],["ރ","r"],["ބ","b"],["ޅ","lh"],["ކ","k"],["އ","a"],["ވ","v"],["މ","m"],["ފ","f"],["ދ","dh"],["ތ","th"],["ލ","l"],["ގ","g"],["ޏ","gn"],["ސ","s"],["ޑ","d"],["ޒ","z"],["ޓ","t"],["ޔ","y"],["ޕ","p"],["ޖ","j"],["ޗ","ch"],["ޘ","tt"],["ޙ","hh"],["ޚ","kh"],["ޛ","th"],["ޜ","z"],["ޝ","sh"],["ޞ","s"],["ޟ","d"],["ޠ","t"],["ޡ","z"],["ޢ","a"],["ޣ","gh"],["ޤ","q"],["ޥ","w"],["ަ","a"],["ާ","aa"],["ި","i"],["ީ","ee"],["ު","u"],["ޫ","oo"],["ެ","e"],["ޭ","ey"],["ޮ","o"],["ޯ","oa"],["ް",""],["α","a"],["β","v"],["γ","g"],["δ","d"],["ε","e"],["ζ","z"],["η","i"],["θ","th"],["ι","i"],["κ","k"],["λ","l"],["μ","m"],["ν","n"],["ξ","ks"],["ο","o"],["π","p"],["ρ","r"],["σ","s"],["τ","t"],["υ","y"],["φ","f"],["χ","x"],["ψ","ps"],["ω","o"],["ά","a"],["έ","e"],["ί","i"],["ό","o"],["ύ","y"],["ή","i"],["ώ","o"],["ς","s"],["ϊ","i"],["ΰ","y"],["ϋ","y"],["ΐ","i"],["Α","A"],["Β","B"],["Γ","G"],["Δ","D"],["Ε","E"],["Ζ","Z"],["Η","I"],["Θ","TH"],["Ι","I"],["Κ","K"],["Λ","L"],["Μ","M"],["Ν","N"],["Ξ","KS"],["Ο","O"],["Π","P"],["Ρ","R"],["Σ","S"],["Τ","T"],["Υ","Y"],["Φ","F"],["Χ","X"],["Ψ","PS"],["Ω","O"],["Ά","A"],["Έ","E"],["Ί","I"],["Ό","O"],["Ύ","Y"],["Ή","I"],["Ώ","O"],["Ϊ","I"],["Ϋ","Y"],["ā","a"],["ē","e"],["ģ","g"],["ī","i"],["ķ","k"],["ļ","l"],["ņ","n"],["ū","u"],["Ā","A"],["Ē","E"],["Ģ","G"],["Ī","I"],["Ķ","K"],["Ļ","L"],["Ņ","N"],["Ū","U"],["č","c"],["š","s"],["ž","z"],["Č","C"],["Š","S"],["Ž","Z"],["ą","a"],["č","c"],["ę","e"],["ė","e"],["į","i"],["š","s"],["ų","u"],["ū","u"],["ž","z"],["Ą","A"],["Č","C"],["Ę","E"],["Ė","E"],["Į","I"],["Š","S"],["Ų","U"],["Ū","U"],["Ќ","Kj"],["ќ","kj"],["Љ","Lj"],["љ","lj"],["Њ","Nj"],["њ","nj"],["Тс","Ts"],["тс","ts"],["ą","a"],["ć","c"],["ę","e"],["ł","l"],["ń","n"],["ś","s"],["ź","z"],["ż","z"],["Ą","A"],["Ć","C"],["Ę","E"],["Ł","L"],["Ń","N"],["Ś","S"],["Ź","Z"],["Ż","Z"],["Є","Ye"],["І","I"],["Ї","Yi"],["Ґ","G"],["є","ye"],["і","i"],["ї","yi"],["ґ","g"],["IJ","IJ"],["ij","ij"],["\xa2","c"],["\xa5","Y"],["߿","b"],["৳","t"],["૱","Bo"],["฿","B"],["₠","CE"],["₡","C"],["₢","Cr"],["₣","F"],["₥","m"],["₦","N"],["₧","Pt"],["₨","Rs"],["₩","W"],["₫","s"],["€","E"],["₭","K"],["₮","T"],["₯","Dp"],["₰","S"],["₱","P"],["₲","G"],["₳","A"],["₴","S"],["₵","C"],["₶","tt"],["₷","S"],["₸","T"],["₹","R"],["₺","L"],["₽","P"],["₿","B"],["﹩","$"],["¢","c"],["¥","Y"],["₩","W"],["\uD835\uDC00","A"],["\uD835\uDC01","B"],["\uD835\uDC02","C"],["\uD835\uDC03","D"],["\uD835\uDC04","E"],["\uD835\uDC05","F"],["\uD835\uDC06","G"],["\uD835\uDC07","H"],["\uD835\uDC08","I"],["\uD835\uDC09","J"],["\uD835\uDC0A","K"],["\uD835\uDC0B","L"],["\uD835\uDC0C","M"],["\uD835\uDC0D","N"],["\uD835\uDC0E","O"],["\uD835\uDC0F","P"],["\uD835\uDC10","Q"],["\uD835\uDC11","R"],["\uD835\uDC12","S"],["\uD835\uDC13","T"],["\uD835\uDC14","U"],["\uD835\uDC15","V"],["\uD835\uDC16","W"],["\uD835\uDC17","X"],["\uD835\uDC18","Y"],["\uD835\uDC19","Z"],["\uD835\uDC1A","a"],["\uD835\uDC1B","b"],["\uD835\uDC1C","c"],["\uD835\uDC1D","d"],["\uD835\uDC1E","e"],["\uD835\uDC1F","f"],["\uD835\uDC20","g"],["\uD835\uDC21","h"],["\uD835\uDC22","i"],["\uD835\uDC23","j"],["\uD835\uDC24","k"],["\uD835\uDC25","l"],["\uD835\uDC26","m"],["\uD835\uDC27","n"],["\uD835\uDC28","o"],["\uD835\uDC29","p"],["\uD835\uDC2A","q"],["\uD835\uDC2B","r"],["\uD835\uDC2C","s"],["\uD835\uDC2D","t"],["\uD835\uDC2E","u"],["\uD835\uDC2F","v"],["\uD835\uDC30","w"],["\uD835\uDC31","x"],["\uD835\uDC32","y"],["\uD835\uDC33","z"],["\uD835\uDC34","A"],["\uD835\uDC35","B"],["\uD835\uDC36","C"],["\uD835\uDC37","D"],["\uD835\uDC38","E"],["\uD835\uDC39","F"],["\uD835\uDC3A","G"],["\uD835\uDC3B","H"],["\uD835\uDC3C","I"],["\uD835\uDC3D","J"],["\uD835\uDC3E","K"],["\uD835\uDC3F","L"],["\uD835\uDC40","M"],["\uD835\uDC41","N"],["\uD835\uDC42","O"],["\uD835\uDC43","P"],["\uD835\uDC44","Q"],["\uD835\uDC45","R"],["\uD835\uDC46","S"],["\uD835\uDC47","T"],["\uD835\uDC48","U"],["\uD835\uDC49","V"],["\uD835\uDC4A","W"],["\uD835\uDC4B","X"],["\uD835\uDC4C","Y"],["\uD835\uDC4D","Z"],["\uD835\uDC4E","a"],["\uD835\uDC4F","b"],["\uD835\uDC50","c"],["\uD835\uDC51","d"],["\uD835\uDC52","e"],["\uD835\uDC53","f"],["\uD835\uDC54","g"],["\uD835\uDC56","i"],["\uD835\uDC57","j"],["\uD835\uDC58","k"],["\uD835\uDC59","l"],["\uD835\uDC5A","m"],["\uD835\uDC5B","n"],["\uD835\uDC5C","o"],["\uD835\uDC5D","p"],["\uD835\uDC5E","q"],["\uD835\uDC5F","r"],["\uD835\uDC60","s"],["\uD835\uDC61","t"],["\uD835\uDC62","u"],["\uD835\uDC63","v"],["\uD835\uDC64","w"],["\uD835\uDC65","x"],["\uD835\uDC66","y"],["\uD835\uDC67","z"],["\uD835\uDC68","A"],["\uD835\uDC69","B"],["\uD835\uDC6A","C"],["\uD835\uDC6B","D"],["\uD835\uDC6C","E"],["\uD835\uDC6D","F"],["\uD835\uDC6E","G"],["\uD835\uDC6F","H"],["\uD835\uDC70","I"],["\uD835\uDC71","J"],["\uD835\uDC72","K"],["\uD835\uDC73","L"],["\uD835\uDC74","M"],["\uD835\uDC75","N"],["\uD835\uDC76","O"],["\uD835\uDC77","P"],["\uD835\uDC78","Q"],["\uD835\uDC79","R"],["\uD835\uDC7A","S"],["\uD835\uDC7B","T"],["\uD835\uDC7C","U"],["\uD835\uDC7D","V"],["\uD835\uDC7E","W"],["\uD835\uDC7F","X"],["\uD835\uDC80","Y"],["\uD835\uDC81","Z"],["\uD835\uDC82","a"],["\uD835\uDC83","b"],["\uD835\uDC84","c"],["\uD835\uDC85","d"],["\uD835\uDC86","e"],["\uD835\uDC87","f"],["\uD835\uDC88","g"],["\uD835\uDC89","h"],["\uD835\uDC8A","i"],["\uD835\uDC8B","j"],["\uD835\uDC8C","k"],["\uD835\uDC8D","l"],["\uD835\uDC8E","m"],["\uD835\uDC8F","n"],["\uD835\uDC90","o"],["\uD835\uDC91","p"],["\uD835\uDC92","q"],["\uD835\uDC93","r"],["\uD835\uDC94","s"],["\uD835\uDC95","t"],["\uD835\uDC96","u"],["\uD835\uDC97","v"],["\uD835\uDC98","w"],["\uD835\uDC99","x"],["\uD835\uDC9A","y"],["\uD835\uDC9B","z"],["\uD835\uDC9C","A"],["\uD835\uDC9E","C"],["\uD835\uDC9F","D"],["\uD835\uDCA2","g"],["\uD835\uDCA5","J"],["\uD835\uDCA6","K"],["\uD835\uDCA9","N"],["\uD835\uDCAA","O"],["\uD835\uDCAB","P"],["\uD835\uDCAC","Q"],["\uD835\uDCAE","S"],["\uD835\uDCAF","T"],["\uD835\uDCB0","U"],["\uD835\uDCB1","V"],["\uD835\uDCB2","W"],["\uD835\uDCB3","X"],["\uD835\uDCB4","Y"],["\uD835\uDCB5","Z"],["\uD835\uDCB6","a"],["\uD835\uDCB7","b"],["\uD835\uDCB8","c"],["\uD835\uDCB9","d"],["\uD835\uDCBB","f"],["\uD835\uDCBD","h"],["\uD835\uDCBE","i"],["\uD835\uDCBF","j"],["\uD835\uDCC0","h"],["\uD835\uDCC1","l"],["\uD835\uDCC2","m"],["\uD835\uDCC3","n"],["\uD835\uDCC5","p"],["\uD835\uDCC6","q"],["\uD835\uDCC7","r"],["\uD835\uDCC8","s"],["\uD835\uDCC9","t"],["\uD835\uDCCA","u"],["\uD835\uDCCB","v"],["\uD835\uDCCC","w"],["\uD835\uDCCD","x"],["\uD835\uDCCE","y"],["\uD835\uDCCF","z"],["\uD835\uDCD0","A"],["\uD835\uDCD1","B"],["\uD835\uDCD2","C"],["\uD835\uDCD3","D"],["\uD835\uDCD4","E"],["\uD835\uDCD5","F"],["\uD835\uDCD6","G"],["\uD835\uDCD7","H"],["\uD835\uDCD8","I"],["\uD835\uDCD9","J"],["\uD835\uDCDA","K"],["\uD835\uDCDB","L"],["\uD835\uDCDC","M"],["\uD835\uDCDD","N"],["\uD835\uDCDE","O"],["\uD835\uDCDF","P"],["\uD835\uDCE0","Q"],["\uD835\uDCE1","R"],["\uD835\uDCE2","S"],["\uD835\uDCE3","T"],["\uD835\uDCE4","U"],["\uD835\uDCE5","V"],["\uD835\uDCE6","W"],["\uD835\uDCE7","X"],["\uD835\uDCE8","Y"],["\uD835\uDCE9","Z"],["\uD835\uDCEA","a"],["\uD835\uDCEB","b"],["\uD835\uDCEC","c"],["\uD835\uDCED","d"],["\uD835\uDCEE","e"],["\uD835\uDCEF","f"],["\uD835\uDCF0","g"],["\uD835\uDCF1","h"],["\uD835\uDCF2","i"],["\uD835\uDCF3","j"],["\uD835\uDCF4","k"],["\uD835\uDCF5","l"],["\uD835\uDCF6","m"],["\uD835\uDCF7","n"],["\uD835\uDCF8","o"],["\uD835\uDCF9","p"],["\uD835\uDCFA","q"],["\uD835\uDCFB","r"],["\uD835\uDCFC","s"],["\uD835\uDCFD","t"],["\uD835\uDCFE","u"],["\uD835\uDCFF","v"],["\uD835\uDD00","w"],["\uD835\uDD01","x"],["\uD835\uDD02","y"],["\uD835\uDD03","z"],["\uD835\uDD04","A"],["\uD835\uDD05","B"],["\uD835\uDD07","D"],["\uD835\uDD08","E"],["\uD835\uDD09","F"],["\uD835\uDD0A","G"],["\uD835\uDD0D","J"],["\uD835\uDD0E","K"],["\uD835\uDD0F","L"],["\uD835\uDD10","M"],["\uD835\uDD11","N"],["\uD835\uDD12","O"],["\uD835\uDD13","P"],["\uD835\uDD14","Q"],["\uD835\uDD16","S"],["\uD835\uDD17","T"],["\uD835\uDD18","U"],["\uD835\uDD19","V"],["\uD835\uDD1A","W"],["\uD835\uDD1B","X"],["\uD835\uDD1C","Y"],["\uD835\uDD1E","a"],["\uD835\uDD1F","b"],["\uD835\uDD20","c"],["\uD835\uDD21","d"],["\uD835\uDD22","e"],["\uD835\uDD23","f"],["\uD835\uDD24","g"],["\uD835\uDD25","h"],["\uD835\uDD26","i"],["\uD835\uDD27","j"],["\uD835\uDD28","k"],["\uD835\uDD29","l"],["\uD835\uDD2A","m"],["\uD835\uDD2B","n"],["\uD835\uDD2C","o"],["\uD835\uDD2D","p"],["\uD835\uDD2E","q"],["\uD835\uDD2F","r"],["\uD835\uDD30","s"],["\uD835\uDD31","t"],["\uD835\uDD32","u"],["\uD835\uDD33","v"],["\uD835\uDD34","w"],["\uD835\uDD35","x"],["\uD835\uDD36","y"],["\uD835\uDD37","z"],["\uD835\uDD38","A"],["\uD835\uDD39","B"],["\uD835\uDD3B","D"],["\uD835\uDD3C","E"],["\uD835\uDD3D","F"],["\uD835\uDD3E","G"],["\uD835\uDD40","I"],["\uD835\uDD41","J"],["\uD835\uDD42","K"],["\uD835\uDD43","L"],["\uD835\uDD44","M"],["\uD835\uDD46","N"],["\uD835\uDD4A","S"],["\uD835\uDD4B","T"],["\uD835\uDD4C","U"],["\uD835\uDD4D","V"],["\uD835\uDD4E","W"],["\uD835\uDD4F","X"],["\uD835\uDD50","Y"],["\uD835\uDD52","a"],["\uD835\uDD53","b"],["\uD835\uDD54","c"],["\uD835\uDD55","d"],["\uD835\uDD56","e"],["\uD835\uDD57","f"],["\uD835\uDD58","g"],["\uD835\uDD59","h"],["\uD835\uDD5A","i"],["\uD835\uDD5B","j"],["\uD835\uDD5C","k"],["\uD835\uDD5D","l"],["\uD835\uDD5E","m"],["\uD835\uDD5F","n"],["\uD835\uDD60","o"],["\uD835\uDD61","p"],["\uD835\uDD62","q"],["\uD835\uDD63","r"],["\uD835\uDD64","s"],["\uD835\uDD65","t"],["\uD835\uDD66","u"],["\uD835\uDD67","v"],["\uD835\uDD68","w"],["\uD835\uDD69","x"],["\uD835\uDD6A","y"],["\uD835\uDD6B","z"],["\uD835\uDD6C","A"],["\uD835\uDD6D","B"],["\uD835\uDD6E","C"],["\uD835\uDD6F","D"],["\uD835\uDD70","E"],["\uD835\uDD71","F"],["\uD835\uDD72","G"],["\uD835\uDD73","H"],["\uD835\uDD74","I"],["\uD835\uDD75","J"],["\uD835\uDD76","K"],["\uD835\uDD77","L"],["\uD835\uDD78","M"],["\uD835\uDD79","N"],["\uD835\uDD7A","O"],["\uD835\uDD7B","P"],["\uD835\uDD7C","Q"],["\uD835\uDD7D","R"],["\uD835\uDD7E","S"],["\uD835\uDD7F","T"],["\uD835\uDD80","U"],["\uD835\uDD81","V"],["\uD835\uDD82","W"],["\uD835\uDD83","X"],["\uD835\uDD84","Y"],["\uD835\uDD85","Z"],["\uD835\uDD86","a"],["\uD835\uDD87","b"],["\uD835\uDD88","c"],["\uD835\uDD89","d"],["\uD835\uDD8A","e"],["\uD835\uDD8B","f"],["\uD835\uDD8C","g"],["\uD835\uDD8D","h"],["\uD835\uDD8E","i"],["\uD835\uDD8F","j"],["\uD835\uDD90","k"],["\uD835\uDD91","l"],["\uD835\uDD92","m"],["\uD835\uDD93","n"],["\uD835\uDD94","o"],["\uD835\uDD95","p"],["\uD835\uDD96","q"],["\uD835\uDD97","r"],["\uD835\uDD98","s"],["\uD835\uDD99","t"],["\uD835\uDD9A","u"],["\uD835\uDD9B","v"],["\uD835\uDD9C","w"],["\uD835\uDD9D","x"],["\uD835\uDD9E","y"],["\uD835\uDD9F","z"],["\uD835\uDDA0","A"],["\uD835\uDDA1","B"],["\uD835\uDDA2","C"],["\uD835\uDDA3","D"],["\uD835\uDDA4","E"],["\uD835\uDDA5","F"],["\uD835\uDDA6","G"],["\uD835\uDDA7","H"],["\uD835\uDDA8","I"],["\uD835\uDDA9","J"],["\uD835\uDDAA","K"],["\uD835\uDDAB","L"],["\uD835\uDDAC","M"],["\uD835\uDDAD","N"],["\uD835\uDDAE","O"],["\uD835\uDDAF","P"],["\uD835\uDDB0","Q"],["\uD835\uDDB1","R"],["\uD835\uDDB2","S"],["\uD835\uDDB3","T"],["\uD835\uDDB4","U"],["\uD835\uDDB5","V"],["\uD835\uDDB6","W"],["\uD835\uDDB7","X"],["\uD835\uDDB8","Y"],["\uD835\uDDB9","Z"],["\uD835\uDDBA","a"],["\uD835\uDDBB","b"],["\uD835\uDDBC","c"],["\uD835\uDDBD","d"],["\uD835\uDDBE","e"],["\uD835\uDDBF","f"],["\uD835\uDDC0","g"],["\uD835\uDDC1","h"],["\uD835\uDDC2","i"],["\uD835\uDDC3","j"],["\uD835\uDDC4","k"],["\uD835\uDDC5","l"],["\uD835\uDDC6","m"],["\uD835\uDDC7","n"],["\uD835\uDDC8","o"],["\uD835\uDDC9","p"],["\uD835\uDDCA","q"],["\uD835\uDDCB","r"],["\uD835\uDDCC","s"],["\uD835\uDDCD","t"],["\uD835\uDDCE","u"],["\uD835\uDDCF","v"],["\uD835\uDDD0","w"],["\uD835\uDDD1","x"],["\uD835\uDDD2","y"],["\uD835\uDDD3","z"],["\uD835\uDDD4","A"],["\uD835\uDDD5","B"],["\uD835\uDDD6","C"],["\uD835\uDDD7","D"],["\uD835\uDDD8","E"],["\uD835\uDDD9","F"],["\uD835\uDDDA","G"],["\uD835\uDDDB","H"],["\uD835\uDDDC","I"],["\uD835\uDDDD","J"],["\uD835\uDDDE","K"],["\uD835\uDDDF","L"],["\uD835\uDDE0","M"],["\uD835\uDDE1","N"],["\uD835\uDDE2","O"],["\uD835\uDDE3","P"],["\uD835\uDDE4","Q"],["\uD835\uDDE5","R"],["\uD835\uDDE6","S"],["\uD835\uDDE7","T"],["\uD835\uDDE8","U"],["\uD835\uDDE9","V"],["\uD835\uDDEA","W"],["\uD835\uDDEB","X"],["\uD835\uDDEC","Y"],["\uD835\uDDED","Z"],["\uD835\uDDEE","a"],["\uD835\uDDEF","b"],["\uD835\uDDF0","c"],["\uD835\uDDF1","d"],["\uD835\uDDF2","e"],["\uD835\uDDF3","f"],["\uD835\uDDF4","g"],["\uD835\uDDF5","h"],["\uD835\uDDF6","i"],["\uD835\uDDF7","j"],["\uD835\uDDF8","k"],["\uD835\uDDF9","l"],["\uD835\uDDFA","m"],["\uD835\uDDFB","n"],["\uD835\uDDFC","o"],["\uD835\uDDFD","p"],["\uD835\uDDFE","q"],["\uD835\uDDFF","r"],["\uD835\uDE00","s"],["\uD835\uDE01","t"],["\uD835\uDE02","u"],["\uD835\uDE03","v"],["\uD835\uDE04","w"],["\uD835\uDE05","x"],["\uD835\uDE06","y"],["\uD835\uDE07","z"],["\uD835\uDE08","A"],["\uD835\uDE09","B"],["\uD835\uDE0A","C"],["\uD835\uDE0B","D"],["\uD835\uDE0C","E"],["\uD835\uDE0D","F"],["\uD835\uDE0E","G"],["\uD835\uDE0F","H"],["\uD835\uDE10","I"],["\uD835\uDE11","J"],["\uD835\uDE12","K"],["\uD835\uDE13","L"],["\uD835\uDE14","M"],["\uD835\uDE15","N"],["\uD835\uDE16","O"],["\uD835\uDE17","P"],["\uD835\uDE18","Q"],["\uD835\uDE19","R"],["\uD835\uDE1A","S"],["\uD835\uDE1B","T"],["\uD835\uDE1C","U"],["\uD835\uDE1D","V"],["\uD835\uDE1E","W"],["\uD835\uDE1F","X"],["\uD835\uDE20","Y"],["\uD835\uDE21","Z"],["\uD835\uDE22","a"],["\uD835\uDE23","b"],["\uD835\uDE24","c"],["\uD835\uDE25","d"],["\uD835\uDE26","e"],["\uD835\uDE27","f"],["\uD835\uDE28","g"],["\uD835\uDE29","h"],["\uD835\uDE2A","i"],["\uD835\uDE2B","j"],["\uD835\uDE2C","k"],["\uD835\uDE2D","l"],["\uD835\uDE2E","m"],["\uD835\uDE2F","n"],["\uD835\uDE30","o"],["\uD835\uDE31","p"],["\uD835\uDE32","q"],["\uD835\uDE33","r"],["\uD835\uDE34","s"],["\uD835\uDE35","t"],["\uD835\uDE36","u"],["\uD835\uDE37","v"],["\uD835\uDE38","w"],["\uD835\uDE39","x"],["\uD835\uDE3A","y"],["\uD835\uDE3B","z"],["\uD835\uDE3C","A"],["\uD835\uDE3D","B"],["\uD835\uDE3E","C"],["\uD835\uDE3F","D"],["\uD835\uDE40","E"],["\uD835\uDE41","F"],["\uD835\uDE42","G"],["\uD835\uDE43","H"],["\uD835\uDE44","I"],["\uD835\uDE45","J"],["\uD835\uDE46","K"],["\uD835\uDE47","L"],["\uD835\uDE48","M"],["\uD835\uDE49","N"],["\uD835\uDE4A","O"],["\uD835\uDE4B","P"],["\uD835\uDE4C","Q"],["\uD835\uDE4D","R"],["\uD835\uDE4E","S"],["\uD835\uDE4F","T"],["\uD835\uDE50","U"],["\uD835\uDE51","V"],["\uD835\uDE52","W"],["\uD835\uDE53","X"],["\uD835\uDE54","Y"],["\uD835\uDE55","Z"],["\uD835\uDE56","a"],["\uD835\uDE57","b"],["\uD835\uDE58","c"],["\uD835\uDE59","d"],["\uD835\uDE5A","e"],["\uD835\uDE5B","f"],["\uD835\uDE5C","g"],["\uD835\uDE5D","h"],["\uD835\uDE5E","i"],["\uD835\uDE5F","j"],["\uD835\uDE60","k"],["\uD835\uDE61","l"],["\uD835\uDE62","m"],["\uD835\uDE63","n"],["\uD835\uDE64","o"],["\uD835\uDE65","p"],["\uD835\uDE66","q"],["\uD835\uDE67","r"],["\uD835\uDE68","s"],["\uD835\uDE69","t"],["\uD835\uDE6A","u"],["\uD835\uDE6B","v"],["\uD835\uDE6C","w"],["\uD835\uDE6D","x"],["\uD835\uDE6E","y"],["\uD835\uDE6F","z"],["\uD835\uDE70","A"],["\uD835\uDE71","B"],["\uD835\uDE72","C"],["\uD835\uDE73","D"],["\uD835\uDE74","E"],["\uD835\uDE75","F"],["\uD835\uDE76","G"],["\uD835\uDE77","H"],["\uD835\uDE78","I"],["\uD835\uDE79","J"],["\uD835\uDE7A","K"],["\uD835\uDE7B","L"],["\uD835\uDE7C","M"],["\uD835\uDE7D","N"],["\uD835\uDE7E","O"],["\uD835\uDE7F","P"],["\uD835\uDE80","Q"],["\uD835\uDE81","R"],["\uD835\uDE82","S"],["\uD835\uDE83","T"],["\uD835\uDE84","U"],["\uD835\uDE85","V"],["\uD835\uDE86","W"],["\uD835\uDE87","X"],["\uD835\uDE88","Y"],["\uD835\uDE89","Z"],["\uD835\uDE8A","a"],["\uD835\uDE8B","b"],["\uD835\uDE8C","c"],["\uD835\uDE8D","d"],["\uD835\uDE8E","e"],["\uD835\uDE8F","f"],["\uD835\uDE90","g"],["\uD835\uDE91","h"],["\uD835\uDE92","i"],["\uD835\uDE93","j"],["\uD835\uDE94","k"],["\uD835\uDE95","l"],["\uD835\uDE96","m"],["\uD835\uDE97","n"],["\uD835\uDE98","o"],["\uD835\uDE99","p"],["\uD835\uDE9A","q"],["\uD835\uDE9B","r"],["\uD835\uDE9C","s"],["\uD835\uDE9D","t"],["\uD835\uDE9E","u"],["\uD835\uDE9F","v"],["\uD835\uDEA0","w"],["\uD835\uDEA1","x"],["\uD835\uDEA2","y"],["\uD835\uDEA3","z"],["\uD835\uDEA4","l"],["\uD835\uDEA5","j"],["\uD835\uDEE2","A"],["\uD835\uDEE3","B"],["\uD835\uDEE4","G"],["\uD835\uDEE5","D"],["\uD835\uDEE6","E"],["\uD835\uDEE7","Z"],["\uD835\uDEE8","I"],["\uD835\uDEE9","TH"],["\uD835\uDEEA","I"],["\uD835\uDEEB","K"],["\uD835\uDEEC","L"],["\uD835\uDEED","M"],["\uD835\uDEEE","N"],["\uD835\uDEEF","KS"],["\uD835\uDEF0","O"],["\uD835\uDEF1","P"],["\uD835\uDEF2","R"],["\uD835\uDEF3","TH"],["\uD835\uDEF4","S"],["\uD835\uDEF5","T"],["\uD835\uDEF6","Y"],["\uD835\uDEF7","F"],["\uD835\uDEF8","x"],["\uD835\uDEF9","PS"],["\uD835\uDEFA","O"],["\uD835\uDEFB","D"],["\uD835\uDEFC","a"],["\uD835\uDEFD","b"],["\uD835\uDEFE","g"],["\uD835\uDEFF","d"],["\uD835\uDF00","e"],["\uD835\uDF01","z"],["\uD835\uDF02","i"],["\uD835\uDF03","th"],["\uD835\uDF04","i"],["\uD835\uDF05","k"],["\uD835\uDF06","l"],["\uD835\uDF07","m"],["\uD835\uDF08","n"],["\uD835\uDF09","ks"],["\uD835\uDF0A","o"],["\uD835\uDF0B","p"],["\uD835\uDF0C","r"],["\uD835\uDF0D","s"],["\uD835\uDF0E","s"],["\uD835\uDF0F","t"],["\uD835\uDF10","y"],["\uD835\uDF11","f"],["\uD835\uDF12","x"],["\uD835\uDF13","ps"],["\uD835\uDF14","o"],["\uD835\uDF15","d"],["\uD835\uDF16","E"],["\uD835\uDF17","TH"],["\uD835\uDF18","K"],["\uD835\uDF19","f"],["\uD835\uDF1A","r"],["\uD835\uDF1B","p"],["\uD835\uDF1C","A"],["\uD835\uDF1D","V"],["\uD835\uDF1E","G"],["\uD835\uDF1F","D"],["\uD835\uDF20","E"],["\uD835\uDF21","Z"],["\uD835\uDF22","I"],["\uD835\uDF23","TH"],["\uD835\uDF24","I"],["\uD835\uDF25","K"],["\uD835\uDF26","L"],["\uD835\uDF27","M"],["\uD835\uDF28","N"],["\uD835\uDF29","KS"],["\uD835\uDF2A","O"],["\uD835\uDF2B","P"],["\uD835\uDF2C","S"],["\uD835\uDF2D","TH"],["\uD835\uDF2E","S"],["\uD835\uDF2F","T"],["\uD835\uDF30","Y"],["\uD835\uDF31","F"],["\uD835\uDF32","X"],["\uD835\uDF33","PS"],["\uD835\uDF34","O"],["\uD835\uDF35","D"],["\uD835\uDF36","a"],["\uD835\uDF37","v"],["\uD835\uDF38","g"],["\uD835\uDF39","d"],["\uD835\uDF3A","e"],["\uD835\uDF3B","z"],["\uD835\uDF3C","i"],["\uD835\uDF3D","th"],["\uD835\uDF3E","i"],["\uD835\uDF3F","k"],["\uD835\uDF40","l"],["\uD835\uDF41","m"],["\uD835\uDF42","n"],["\uD835\uDF43","ks"],["\uD835\uDF44","o"],["\uD835\uDF45","p"],["\uD835\uDF46","r"],["\uD835\uDF47","s"],["\uD835\uDF48","s"],["\uD835\uDF49","t"],["\uD835\uDF4A","y"],["\uD835\uDF4B","f"],["\uD835\uDF4C","x"],["\uD835\uDF4D","ps"],["\uD835\uDF4E","o"],["\uD835\uDF4F","a"],["\uD835\uDF50","e"],["\uD835\uDF51","i"],["\uD835\uDF52","k"],["\uD835\uDF53","f"],["\uD835\uDF54","r"],["\uD835\uDF55","p"],["\uD835\uDF56","A"],["\uD835\uDF57","B"],["\uD835\uDF58","G"],["\uD835\uDF59","D"],["\uD835\uDF5A","E"],["\uD835\uDF5B","Z"],["\uD835\uDF5C","I"],["\uD835\uDF5D","TH"],["\uD835\uDF5E","I"],["\uD835\uDF5F","K"],["\uD835\uDF60","L"],["\uD835\uDF61","M"],["\uD835\uDF62","N"],["\uD835\uDF63","KS"],["\uD835\uDF64","O"],["\uD835\uDF65","P"],["\uD835\uDF66","R"],["\uD835\uDF67","TH"],["\uD835\uDF68","S"],["\uD835\uDF69","T"],["\uD835\uDF6A","Y"],["\uD835\uDF6B","F"],["\uD835\uDF6C","X"],["\uD835\uDF6D","PS"],["\uD835\uDF6E","O"],["\uD835\uDF6F","D"],["\uD835\uDF70","a"],["\uD835\uDF71","v"],["\uD835\uDF72","g"],["\uD835\uDF73","d"],["\uD835\uDF74","e"],["\uD835\uDF75","z"],["\uD835\uDF76","i"],["\uD835\uDF77","th"],["\uD835\uDF78","i"],["\uD835\uDF79","k"],["\uD835\uDF7A","l"],["\uD835\uDF7B","m"],["\uD835\uDF7C","n"],["\uD835\uDF7D","ks"],["\uD835\uDF7E","o"],["\uD835\uDF7F","p"],["\uD835\uDF80","r"],["\uD835\uDF81","s"],["\uD835\uDF82","s"],["\uD835\uDF83","t"],["\uD835\uDF84","y"],["\uD835\uDF85","f"],["\uD835\uDF86","x"],["\uD835\uDF87","ps"],["\uD835\uDF88","o"],["\uD835\uDF89","a"],["\uD835\uDF8A","e"],["\uD835\uDF8B","i"],["\uD835\uDF8C","k"],["\uD835\uDF8D","f"],["\uD835\uDF8E","r"],["\uD835\uDF8F","p"],["\uD835\uDF90","A"],["\uD835\uDF91","V"],["\uD835\uDF92","G"],["\uD835\uDF93","D"],["\uD835\uDF94","E"],["\uD835\uDF95","Z"],["\uD835\uDF96","I"],["\uD835\uDF97","TH"],["\uD835\uDF98","I"],["\uD835\uDF99","K"],["\uD835\uDF9A","L"],["\uD835\uDF9B","M"],["\uD835\uDF9C","N"],["\uD835\uDF9D","KS"],["\uD835\uDF9E","O"],["\uD835\uDF9F","P"],["\uD835\uDFA0","S"],["\uD835\uDFA1","TH"],["\uD835\uDFA2","S"],["\uD835\uDFA3","T"],["\uD835\uDFA4","Y"],["\uD835\uDFA5","F"],["\uD835\uDFA6","X"],["\uD835\uDFA7","PS"],["\uD835\uDFA8","O"],["\uD835\uDFA9","D"],["\uD835\uDFAA","av"],["\uD835\uDFAB","g"],["\uD835\uDFAC","d"],["\uD835\uDFAD","e"],["\uD835\uDFAE","z"],["\uD835\uDFAF","i"],["\uD835\uDFB0","i"],["\uD835\uDFB1","th"],["\uD835\uDFB2","i"],["\uD835\uDFB3","k"],["\uD835\uDFB4","l"],["\uD835\uDFB5","m"],["\uD835\uDFB6","n"],["\uD835\uDFB7","ks"],["\uD835\uDFB8","o"],["\uD835\uDFB9","p"],["\uD835\uDFBA","r"],["\uD835\uDFBB","s"],["\uD835\uDFBC","s"],["\uD835\uDFBD","t"],["\uD835\uDFBE","y"],["\uD835\uDFBF","f"],["\uD835\uDFC0","x"],["\uD835\uDFC1","ps"],["\uD835\uDFC2","o"],["\uD835\uDFC3","a"],["\uD835\uDFC4","e"],["\uD835\uDFC5","i"],["\uD835\uDFC6","k"],["\uD835\uDFC7","f"],["\uD835\uDFC8","r"],["\uD835\uDFC9","p"],["\uD835\uDFCA","F"],["\uD835\uDFCB","f"],["⒜","(a)"],["⒝","(b)"],["⒞","(c)"],["⒟","(d)"],["⒠","(e)"],["⒡","(f)"],["⒢","(g)"],["⒣","(h)"],["⒤","(i)"],["⒥","(j)"],["⒦","(k)"],["⒧","(l)"],["⒨","(m)"],["⒩","(n)"],["⒪","(o)"],["⒫","(p)"],["⒬","(q)"],["⒭","(r)"],["⒮","(s)"],["⒯","(t)"],["⒰","(u)"],["⒱","(v)"],["⒲","(w)"],["⒳","(x)"],["⒴","(y)"],["⒵","(z)"],["Ⓐ","(A)"],["Ⓑ","(B)"],["Ⓒ","(C)"],["Ⓓ","(D)"],["Ⓔ","(E)"],["Ⓕ","(F)"],["Ⓖ","(G)"],["Ⓗ","(H)"],["Ⓘ","(I)"],["Ⓙ","(J)"],["Ⓚ","(K)"],["Ⓛ","(L)"],["Ⓝ","(N)"],["Ⓞ","(O)"],["Ⓟ","(P)"],["Ⓠ","(Q)"],["Ⓡ","(R)"],["Ⓢ","(S)"],["Ⓣ","(T)"],["Ⓤ","(U)"],["Ⓥ","(V)"],["Ⓦ","(W)"],["Ⓧ","(X)"],["Ⓨ","(Y)"],["Ⓩ","(Z)"],["ⓐ","(a)"],["ⓑ","(b)"],["ⓒ","(b)"],["ⓓ","(c)"],["ⓔ","(e)"],["ⓕ","(f)"],["ⓖ","(g)"],["ⓗ","(h)"],["ⓘ","(i)"],["ⓙ","(j)"],["ⓚ","(k)"],["ⓛ","(l)"],["ⓜ","(m)"],["ⓝ","(n)"],["ⓞ","(o)"],["ⓟ","(p)"],["ⓠ","(q)"],["ⓡ","(r)"],["ⓢ","(s)"],["ⓣ","(t)"],["ⓤ","(u)"],["ⓥ","(v)"],["ⓦ","(w)"],["ⓧ","(x)"],["ⓨ","(y)"],["ⓩ","(z)"],["Ċ","C"],["ċ","c"],["Ġ","G"],["ġ","g"],["Ħ","H"],["ħ","h"],["Ż","Z"],["ż","z"],["\uD835\uDFCE","0"],["\uD835\uDFCF","1"],["\uD835\uDFD0","2"],["\uD835\uDFD1","3"],["\uD835\uDFD2","4"],["\uD835\uDFD3","5"],["\uD835\uDFD4","6"],["\uD835\uDFD5","7"],["\uD835\uDFD6","8"],["\uD835\uDFD7","9"],["\uD835\uDFD8","0"],["\uD835\uDFD9","1"],["\uD835\uDFDA","2"],["\uD835\uDFDB","3"],["\uD835\uDFDC","4"],["\uD835\uDFDD","5"],["\uD835\uDFDE","6"],["\uD835\uDFDF","7"],["\uD835\uDFE0","8"],["\uD835\uDFE1","9"],["\uD835\uDFE2","0"],["\uD835\uDFE3","1"],["\uD835\uDFE4","2"],["\uD835\uDFE5","3"],["\uD835\uDFE6","4"],["\uD835\uDFE7","5"],["\uD835\uDFE8","6"],["\uD835\uDFE9","7"],["\uD835\uDFEA","8"],["\uD835\uDFEB","9"],["\uD835\uDFEC","0"],["\uD835\uDFED","1"],["\uD835\uDFEE","2"],["\uD835\uDFEF","3"],["\uD835\uDFF0","4"],["\uD835\uDFF1","5"],["\uD835\uDFF2","6"],["\uD835\uDFF3","7"],["\uD835\uDFF4","8"],["\uD835\uDFF5","9"],["\uD835\uDFF6","0"],["\uD835\uDFF7","1"],["\uD835\uDFF8","2"],["\uD835\uDFF9","3"],["\uD835\uDFFA","4"],["\uD835\uDFFB","5"],["\uD835\uDFFC","6"],["\uD835\uDFFD","7"],["\uD835\uDFFE","8"],["\uD835\uDFFF","9"],["①","1"],["②","2"],["③","3"],["④","4"],["⑤","5"],["⑥","6"],["⑦","7"],["⑧","8"],["⑨","9"],["⑩","10"],["⑪","11"],["⑫","12"],["⑬","13"],["⑭","14"],["⑮","15"],["⑯","16"],["⑰","17"],["⑱","18"],["⑲","19"],["⑳","20"],["⑴","1"],["⑵","2"],["⑶","3"],["⑷","4"],["⑸","5"],["⑹","6"],["⑺","7"],["⑻","8"],["⑼","9"],["⑽","10"],["⑾","11"],["⑿","12"],["⒀","13"],["⒁","14"],["⒂","15"],["⒃","16"],["⒄","17"],["⒅","18"],["⒆","19"],["⒇","20"],["⒈","1."],["⒉","2."],["⒊","3."],["⒋","4."],["⒌","5."],["⒍","6."],["⒎","7."],["⒏","8."],["⒐","9."],["⒑","10."],["⒒","11."],["⒓","12."],["⒔","13."],["⒕","14."],["⒖","15."],["⒗","16."],["⒘","17."],["⒙","18."],["⒚","19."],["⒛","20."],["⓪","0"],["⓫","11"],["⓬","12"],["⓭","13"],["⓮","14"],["⓯","15"],["⓰","16"],["⓱","17"],["⓲","18"],["⓳","19"],["⓴","20"],["⓵","1"],["⓶","2"],["⓷","3"],["⓸","4"],["⓹","5"],["⓺","6"],["⓻","7"],["⓼","8"],["⓽","9"],["⓾","10"],["⓿","0"],["\uD83D\uDE70","&"],["\uD83D\uDE71","&"],["\uD83D\uDE72","&"],["\uD83D\uDE73","&"],["\uD83D\uDE74","&"],["\uD83D\uDE75","&"],["\uD83D\uDE76",'"'],["\uD83D\uDE77",'"'],["\uD83D\uDE78",'"'],["‽","?!"],["\uD83D\uDE79","?!"],["\uD83D\uDE7A","?!"],["\uD83D\uDE7B","?!"],["\uD83D\uDE7C","/"],["\uD83D\uDE7D","\\"],["\uD83D\uDF07","AR"],["\uD83D\uDF08","V"],["\uD83D\uDF09","V"],["\uD83D\uDF06","VR"],["\uD83D\uDF05","VF"],["\uD83D\uDF29","2"],["\uD83D\uDF2A","5"],["\uD83D\uDF61","f"],["\uD83D\uDF62","W"],["\uD83D\uDF63","U"],["\uD83D\uDF67","V"],["\uD83D\uDF68","T"],["\uD83D\uDF6A","V"],["\uD83D\uDF6B","MB"],["\uD83D\uDF6C","VB"],["\uD83D\uDF72","3B"],["\uD83D\uDF73","3B"],["\uD83D\uDCAF","100"],["\uD83D\uDD19","BACK"],["\uD83D\uDD1A","END"],["\uD83D\uDD1B","ON!"],["\uD83D\uDD1C","SOON"],["\uD83D\uDD1D","TOP"],["\uD83D\uDD1E","18"],["\uD83D\uDD24","abc"],["\uD83D\uDD20","ABCD"],["\uD83D\uDD21","abcd"],["\uD83D\uDD22","1234"],["\uD83D\uDD23","T&@%"],["#️⃣","#"],["*️⃣","*"],["0️⃣","0"],["1️⃣","1"],["2️⃣","2"],["3️⃣","3"],["4️⃣","4"],["5️⃣","5"],["6️⃣","6"],["7️⃣","7"],["8️⃣","8"],["9️⃣","9"],["\uD83D\uDD1F","10"],["\uD83C\uDD70️","A"],["\uD83C\uDD71️","B"],["\uD83C\uDD8E","AB"],["\uD83C\uDD91","CL"],["\uD83C\uDD7E️","O"],["\uD83C\uDD7F","P"],["\uD83C\uDD98","SOS"],["\uD83C\uDD72","C"],["\uD83C\uDD73","D"],["\uD83C\uDD74","E"],["\uD83C\uDD75","F"],["\uD83C\uDD76","G"],["\uD83C\uDD77","H"],["\uD83C\uDD78","I"],["\uD83C\uDD79","J"],["\uD83C\uDD7A","K"],["\uD83C\uDD7B","L"],["\uD83C\uDD7C","M"],["\uD83C\uDD7D","N"],["\uD83C\uDD80","Q"],["\uD83C\uDD81","R"],["\uD83C\uDD82","S"],["\uD83C\uDD83","T"],["\uD83C\uDD84","U"],["\uD83C\uDD85","V"],["\uD83C\uDD86","W"],["\uD83C\uDD87","X"],["\uD83C\uDD88","Y"],["\uD83C\uDD89","Z"]];let s=(t,e)=>{for(let[n,r]of e)t=t.replace(RegExp((0,i.Z)(n),"g"),r);return t};var o=[["&"," and "],["\uD83E\uDD84"," unicorn "],["♥"," love "]];let a=t=>t.replace(/([A-Z]{2,})(\d+)/g,"$1 $2").replace(/([a-z\d]+)([A-Z]{2,})/g,"$1 $2").replace(/([a-z\d])([A-Z])/g,"$1 $2").replace(/([A-Z]+)([A-Z][a-rt-z\d]+)/g,"$1 $2"),l=(t,e)=>{let n=(0,i.Z)(e);return t.replace(RegExp(`${n}{2,}`,"g"),e).replace(RegExp(`^${n}|${n}$`,"g"),"")},h=t=>{let e="a-z\\d";if(e+=t.lowercase?"":"A-Z",t.preserveCharacters.length>0)for(let n of t.preserveCharacters){if(n===t.separator)throw Error(`The separator character \`${t.separator}\` cannot be included in preserved characters: ${t.preserveCharacters}`);e+=(0,i.Z)(n)}return RegExp(`[^${e}]+`,"g")};function u(t,e){if("string"!=typeof t)throw TypeError(`Expected a string, got \`${typeof t}\``);e={separator:"-",lowercase:!0,decamelize:!0,customReplacements:[],preserveLeadingUnderscore:!1,preserveTrailingDash:!1,preserveCharacters:[],...e};let n=e.preserveLeadingUnderscore&&t.startsWith("_"),i=e.preserveTrailingDash&&t.endsWith("-"),u=new Map([...o,...e.customReplacements]);t=function(t,e){if("string"!=typeof t)throw TypeError(`Expected a string, got \`${typeof t}\``);e={customReplacements:[],...e};let n=new Map([...r,...e.customReplacements]);return t=(t=s(t=t.normalize(),n)).normalize("NFD").replace(/\p{Diacritic}/gu,"").normalize()}(t,{customReplacements:u}),e.decamelize&&(t=a(t));let c=h(e);return e.lowercase&&(t=t.toLowerCase()),t=(t=(t=t.replace(/([a-zA-Z\d]+)'([ts])(\s|$)/g,"$1$2$3")).replace(c,e.separator)).replace(/\\/g,""),e.separator&&(t=l(t,e.separator)),n&&(t=`_${t}`),i&&(t=`${t}-`),t}},68035:function(t,e,n){n.d(e,{M_:function(){return M},T5:function(){return E},fW:function(){return R},jE:function(){return b},kg:function(){return m}});var i,r,s=n(3546),o=n(30171),a=n(31408),l={exports:{}},h={};l.exports=function(){if(i)return h;i=1;var t="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},e=s.useState,n=s.useEffect,r=s.useLayoutEffect,o=s.useDebugValue;function a(e){var n=e.getSnapshot;e=e.value;try{var i=n();return!t(e,i)}catch(t){return!0}}var l="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(t,e){return e()}:function(t,i){var s=i(),l=e({inst:{value:s,getSnapshot:i}}),h=l[0].inst,u=l[1];return r(function(){h.value=s,h.getSnapshot=i,a(h)&&u({inst:h})},[t,s,i]),n(function(){return a(h)&&u({inst:h}),t(function(){a(h)&&u({inst:h})})},[t]),o(s),s};return h.useSyncExternalStore=void 0!==s.useSyncExternalStore?s.useSyncExternalStore:l,h}();var u=l.exports;let c=(...t)=>e=>{t.forEach(t=>{"function"==typeof t?t(e):t&&(t.current=e)})},p=({contentComponent:t})=>{let e=u.useSyncExternalStore(t.subscribe,t.getSnapshot,t.getServerSnapshot);return s.createElement(s.Fragment,null,Object.values(e))};class d extends s.Component{constructor(t){var e;super(t),this.editorContentRef=s.createRef(),this.initialized=!1,this.state={hasContentComponentInitialized:!!(null===(e=t.editor)||void 0===e?void 0:e.contentComponent)}}componentDidMount(){this.init()}componentDidUpdate(){this.init()}init(){let t=this.props.editor;if(t&&!t.isDestroyed&&t.options.element){if(t.contentComponent)return;let e=this.editorContentRef.current;e.append(...t.options.element.childNodes),t.setOptions({element:e}),t.contentComponent=function(){let t=new Set,e={};return{subscribe:e=>(t.add(e),()=>{t.delete(e)}),getSnapshot:()=>e,getServerSnapshot:()=>e,setRenderer(n,i){e={...e,[n]:o.createPortal(i.reactElement,i.element,n)},t.forEach(t=>t())},removeRenderer(n){let i={...e};delete i[n],e=i,t.forEach(t=>t())}}}(),this.state.hasContentComponentInitialized||(this.unsubscribeToContentComponent=t.contentComponent.subscribe(()=>{this.setState(t=>t.hasContentComponentInitialized?t:{hasContentComponentInitialized:!0}),this.unsubscribeToContentComponent&&this.unsubscribeToContentComponent()})),t.createNodeViews(),this.initialized=!0}}componentWillUnmount(){let t=this.props.editor;if(!t||(this.initialized=!1,t.isDestroyed||t.view.setProps({nodeViews:{}}),this.unsubscribeToContentComponent&&this.unsubscribeToContentComponent(),t.contentComponent=null,!t.options.element.firstChild))return;let e=document.createElement("div");e.append(...t.options.element.childNodes),t.setOptions({element:e})}render(){let{editor:t,innerRef:e,...n}=this.props;return s.createElement(s.Fragment,null,s.createElement("div",{ref:c(e,this.editorContentRef),...n}),(null==t?void 0:t.contentComponent)&&s.createElement(p,{contentComponent:t.contentComponent}))}}let f=(0,s.forwardRef)((t,e)=>{let n=s.useMemo(()=>Math.floor(4294967295*Math.random()).toString(),[t.editor]);return s.createElement(d,{key:n,innerRef:e,...t})}),m=s.memo(f);var g={exports:{}},y={};g.exports=function(){if(r)return y;r=1;var t="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},e=u.useSyncExternalStore,n=s.useRef,i=s.useEffect,o=s.useMemo,a=s.useDebugValue;return y.useSyncExternalStoreWithSelector=function(r,s,l,h,u){var c=n(null);if(null===c.current){var p={hasValue:!1,value:null};c.current=p}else p=c.current;var d=e(r,(c=o(function(){function e(e){if(!r){if(r=!0,n=e,e=h(e),void 0!==u&&p.hasValue){var s=p.value;if(u(s,e))return i=s}return i=e}if(s=i,t(n,e))return s;var o=h(e);return void 0!==u&&u(s,o)?s:(n=e,i=o)}var n,i,r=!1,o=void 0===l?null:l;return[function(){return e(s())},null===o?void 0:function(){return e(o())}]},[s,l,h,u]))[0],c[1]);return i(function(){p.hasValue=!0,p.value=d},[d]),a(d),d},y}();var v=g.exports;class x{constructor(t){this.transactionNumber=0,this.lastTransactionNumber=0,this.subscribers=new Set,this.editor=t,this.lastSnapshot={editor:t,transactionNumber:0},this.getSnapshot=this.getSnapshot.bind(this),this.getServerSnapshot=this.getServerSnapshot.bind(this),this.watch=this.watch.bind(this),this.subscribe=this.subscribe.bind(this)}getSnapshot(){return this.transactionNumber===this.lastTransactionNumber||(this.lastTransactionNumber=this.transactionNumber,this.lastSnapshot={editor:this.editor,transactionNumber:this.transactionNumber}),this.lastSnapshot}getServerSnapshot(){return{editor:null,transactionNumber:0}}subscribe(t){return this.subscribers.add(t),()=>{this.subscribers.delete(t)}}watch(t){if(this.editor=t,this.editor){let t=()=>{this.transactionNumber+=1,this.subscribers.forEach(t=>t())},e=this.editor;return e.on("transaction",t),()=>{e.off("transaction",t)}}}}let w="undefined"==typeof window,S=w||!!("undefined"!=typeof window&&window.next);class k{constructor(t){this.editor=null,this.subscriptions=new Set,this.isComponentMounted=!1,this.previousDeps=null,this.instanceId="",this.options=t,this.subscriptions=new Set,this.setEditor(this.getInitialEditor()),this.scheduleDestroy(),this.getEditor=this.getEditor.bind(this),this.getServerSnapshot=this.getServerSnapshot.bind(this),this.subscribe=this.subscribe.bind(this),this.refreshEditorInstance=this.refreshEditorInstance.bind(this),this.scheduleDestroy=this.scheduleDestroy.bind(this),this.onRender=this.onRender.bind(this),this.createEditor=this.createEditor.bind(this)}setEditor(t){this.editor=t,this.instanceId=Math.random().toString(36).slice(2,9),this.subscriptions.forEach(t=>t())}getInitialEditor(){return void 0===this.options.current.immediatelyRender?w||S?null:this.createEditor():(this.options.current.immediatelyRender,this.options.current.immediatelyRender?this.createEditor():null)}createEditor(){let t={...this.options.current,onBeforeCreate:(...t)=>{var e,n;return null===(n=(e=this.options.current).onBeforeCreate)||void 0===n?void 0:n.call(e,...t)},onBlur:(...t)=>{var e,n;return null===(n=(e=this.options.current).onBlur)||void 0===n?void 0:n.call(e,...t)},onCreate:(...t)=>{var e,n;return null===(n=(e=this.options.current).onCreate)||void 0===n?void 0:n.call(e,...t)},onDestroy:(...t)=>{var e,n;return null===(n=(e=this.options.current).onDestroy)||void 0===n?void 0:n.call(e,...t)},onFocus:(...t)=>{var e,n;return null===(n=(e=this.options.current).onFocus)||void 0===n?void 0:n.call(e,...t)},onSelectionUpdate:(...t)=>{var e,n;return null===(n=(e=this.options.current).onSelectionUpdate)||void 0===n?void 0:n.call(e,...t)},onTransaction:(...t)=>{var e,n;return null===(n=(e=this.options.current).onTransaction)||void 0===n?void 0:n.call(e,...t)},onUpdate:(...t)=>{var e,n;return null===(n=(e=this.options.current).onUpdate)||void 0===n?void 0:n.call(e,...t)},onContentError:(...t)=>{var e,n;return null===(n=(e=this.options.current).onContentError)||void 0===n?void 0:n.call(e,...t)}},e=new a.ML(t);return e}getEditor(){return this.editor}getServerSnapshot(){return null}subscribe(t){return this.subscriptions.add(t),()=>{this.subscriptions.delete(t)}}onRender(t){return()=>(this.isComponentMounted=!0,clearTimeout(this.scheduledDestructionTimeout),this.editor&&!this.editor.isDestroyed&&0===t.length?this.editor.setOptions(this.options.current):this.refreshEditorInstance(t),()=>{this.isComponentMounted=!1,this.scheduleDestroy()})}refreshEditorInstance(t){if(this.editor&&!this.editor.isDestroyed){if(null===this.previousDeps){this.previousDeps=t;return}let e=this.previousDeps.length===t.length&&this.previousDeps.every((e,n)=>e===t[n]);if(e)return}this.editor&&!this.editor.isDestroyed&&this.editor.destroy(),this.setEditor(this.createEditor()),this.previousDeps=t}scheduleDestroy(){let t=this.instanceId,e=this.editor;this.scheduledDestructionTimeout=setTimeout(()=>{if(this.isComponentMounted&&this.instanceId===t){e&&e.setOptions(this.options.current);return}e&&!e.isDestroyed&&(e.destroy(),this.instanceId===t&&this.setEditor(null))},1)}}function b(t={},e=[]){let n=(0,s.useRef)(t);n.current=t;let[i]=(0,s.useState)(()=>new k(n)),r=u.useSyncExternalStore(i.subscribe,i.getEditor,i.getServerSnapshot);return(0,s.useDebugValue)(r),(0,s.useEffect)(i.onRender(e)),!function(t){let[e]=(0,s.useState)(()=>new x(t.editor)),n=v.useSyncExternalStoreWithSelector(e.subscribe,e.getSnapshot,e.getServerSnapshot,t.selector,t.equalityFn);(0,s.useEffect)(()=>e.watch(t.editor),[t.editor,e]),(0,s.useDebugValue)(n)}({editor:r,selector:({transactionNumber:e})=>!1===t.shouldRerenderOnTransaction?null:t.immediatelyRender&&0===e?0:e+1}),r}let T=(0,s.createContext)({editor:null});T.Consumer;let C=(0,s.createContext)({onDragStart:void 0}),A=()=>(0,s.useContext)(C),E=s.forwardRef((t,e)=>{let{onDragStart:n}=A(),i=t.as||"div";return s.createElement(i,{...t,ref:e,"data-node-view-wrapper":"",onDragStart:n,style:{whiteSpace:"normal",...t.style}})});class M{constructor(t,{editor:e,props:n={},as:i="div",className:r="",attrs:s}){this.ref=null,this.id=Math.floor(4294967295*Math.random()).toString(),this.component=t,this.editor=e,this.props=n,this.element=document.createElement(i),this.element.classList.add("react-renderer"),r&&this.element.classList.add(...r.split(" ")),s&&Object.keys(s).forEach(t=>{this.element.setAttribute(t,s[t])}),this.editor.isInitialized?(0,o.flushSync)(()=>{this.render()}):this.render()}render(){var t,e;let n=this.component,i=this.props,r=this.editor;("function"==typeof n&&n.prototype&&n.prototype.isReactComponent||"object"==typeof n&&(null===(e=n.$$typeof)||void 0===e?void 0:e.toString())==="Symbol(react.forward_ref)")&&(i.ref=t=>{this.ref=t}),this.reactElement=s.createElement(n,i),null===(t=null==r?void 0:r.contentComponent)||void 0===t||t.setRenderer(this.id,this)}updateProps(t={}){this.props={...this.props,...t},this.render()}destroy(){var t;let e=this.editor;null===(t=null==e?void 0:e.contentComponent)||void 0===t||t.removeRenderer(this.id)}}class P extends a.DK{mount(){let t={editor:this.editor,node:this.node,decorations:this.decorations,selected:!1,extension:this.extension,getPos:()=>this.getPos(),updateAttributes:(t={})=>this.updateAttributes(t),deleteNode:()=>this.deleteNode()};if(!this.component.displayName){var e;this.component.displayName=(e=this.extension.name).charAt(0).toUpperCase()+e.substring(1)}let n=this.onDragStart.bind(this),i={onDragStart:n,nodeViewContentRef:t=>{t&&this.contentDOMElement&&t.firstChild!==this.contentDOMElement&&t.appendChild(this.contentDOMElement)}},r=this.component,o=s.memo(t=>s.createElement(C.Provider,{value:i},s.createElement(r,t)));o.displayName="ReactNodeView",this.node.isLeaf?this.contentDOMElement=null:this.options.contentDOMElementTag?this.contentDOMElement=document.createElement(this.options.contentDOMElementTag):this.contentDOMElement=document.createElement(this.node.isInline?"span":"div"),this.contentDOMElement&&(this.contentDOMElement.style.whiteSpace="inherit");let a=this.node.isInline?"span":"div";this.options.as&&(a=this.options.as);let{className:l=""}=this.options;this.handleSelectionUpdate=this.handleSelectionUpdate.bind(this),this.editor.on("selectionUpdate",this.handleSelectionUpdate),this.renderer=new M(o,{editor:this.editor,props:t,as:a,className:`node-${this.node.type.name} ${l}`.trim(),attrs:this.options.attrs})}get dom(){var t;if(this.renderer.element.firstElementChild&&!(null===(t=this.renderer.element.firstElementChild)||void 0===t?void 0:t.hasAttribute("data-node-view-wrapper")))throw Error("Please use the NodeViewWrapper component for your node view.");return this.renderer.element}get contentDOM(){return this.node.isLeaf?null:this.contentDOMElement}handleSelectionUpdate(){let{from:t,to:e}=this.editor.state.selection;if(t<=this.getPos()&&e>=this.getPos()+this.node.nodeSize){if(this.renderer.props.selected)return;this.selectNode()}else{if(!this.renderer.props.selected)return;this.deselectNode()}}update(t,e){let n=t=>{this.renderer.updateProps(t)};if(t.type!==this.node.type)return!1;if("function"==typeof this.options.update){let i=this.node,r=this.decorations;return this.node=t,this.decorations=e,this.options.update({oldNode:i,oldDecorations:r,newNode:t,newDecorations:e,updateProps:()=>n({node:t,decorations:e})})}return t===this.node&&this.decorations===e||(this.node=t,this.decorations=e,n({node:t,decorations:e}),!0)}selectNode(){this.renderer.updateProps({selected:!0}),this.renderer.element.classList.add("ProseMirror-selectednode")}deselectNode(){this.renderer.updateProps({selected:!1}),this.renderer.element.classList.remove("ProseMirror-selectednode")}destroy(){this.renderer.destroy(),this.editor.off("selectionUpdate",this.handleSelectionUpdate),this.contentDOMElement=null}}function R(t,e){return n=>n.editor.contentComponent?new P(t,n,e):{}}},94755:function(t,e,n){n.d(e,{iP:function(){return r}});var i=n(3546);function r(){let[t,e]=i.useState({width:null,height:null});return i.useLayoutEffect(()=>{let t=()=>{e({width:window.innerWidth,height:window.innerHeight})};return t(),window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}},[]),t}},35737:function(t,e,n){n.d(e,{Z:function(){return i}});function i(t){if("string"!=typeof t)throw TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},17463:function(t,e,n){n.d(e,{p:function(){return r}});var i=n(3546);let r=(0,i.createContext)({})},63566:function(t,e,n){n.d(e,{_:function(){return r}});var i=n(3546);let r=(0,i.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},5934:function(t,e,n){n.d(e,{O:function(){return r}});var i=n(3546);let r=(0,i.createContext)(null)},84837:function(t,e,n){let i;function r(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}n.d(e,{E:function(){return sr}});let s=t=>Array.isArray(t);function o(t,e){if(!Array.isArray(e))return!1;let n=e.length;if(n!==t.length)return!1;for(let i=0;i{e[0][n]=t.get(),e[1][n]=t.getVelocity()}),e}function h(t,e,n,i){if("function"==typeof e){let[r,s]=l(i);e=e(void 0!==n?n:t.custom,r,s)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[r,s]=l(i);e=e(void 0!==n?n:t.custom,r,s)}return e}function u(t,e,n){let i=t.getProps();return h(i,e,void 0!==n?n:i.custom,t)}let c=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],p=["initial",...c],d=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],f=new Set(d),m=t=>1e3*t,g=t=>t/1e3,y={type:"spring",stiffness:500,damping:25,restSpeed:10},v=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),x={type:"keyframes",duration:.8},w={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},S=(t,{keyframes:e})=>e.length>2?x:f.has(t)?t.startsWith("scale")?v(e[1]):y:w;function k(t,e){return t?t[e]||t.default||t:void 0}let b={skipAnimations:!1,useManualTiming:!1},T={current:!1},C=t=>null!==t;function A(t,{repeat:e,repeatType:n="loop"},i){let r=t.filter(C),s=e&&"loop"!==n&&e%2==1?0:r.length-1;return s&&void 0!==i?i:r[s]}var E,M,P,R=n(58559);let O=["read","resolveKeyframes","update","preRender","render","postRender"];function D(t,e){let n=!1,i=!0,r={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,o=O.reduce((t,e)=>(t[e]=function(t){let e=new Set,n=new Set,i=!1,r=!1,s=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function a(e){s.has(e)&&(l.schedule(e),t()),e(o)}let l={schedule:(t,r=!1,o=!1)=>{let a=o&&i,l=a?e:n;return r&&s.add(t),l.has(t)||l.add(t),t},cancel:t=>{n.delete(t),s.delete(t)},process:t=>{if(o=t,i){r=!0;return}i=!0,[e,n]=[n,e],n.clear(),e.forEach(a),i=!1,r&&(r=!1,l.process(t))}};return l}(s),t),{}),{read:a,resolveKeyframes:l,update:h,preRender:u,render:c,postRender:p}=o,d=()=>{let s=b.useManualTiming?r.timestamp:performance.now();n=!1,r.delta=i?1e3/60:Math.max(Math.min(s-r.timestamp,40),1),r.timestamp=s,r.isProcessing=!0,a.process(r),l.process(r),h.process(r),u.process(r),c.process(r),p.process(r),r.isProcessing=!1,n&&e&&(i=!1,t(d))},f=()=>{n=!0,i=!0,r.isProcessing||t(d)},m=O.reduce((t,e)=>{let i=o[e];return t[e]=(t,e=!1,r=!1)=>(n||f(),i.schedule(t,e,r)),t},{});return{schedule:m,cancel:t=>{for(let e=0;e(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t;function B(t,e,n,i){if(t===e&&n===i)return R.Z;let r=e=>(function(t,e,n,i,r){let s,o;let a=0;do(s=z(o=e+(n-e)/2,i,r)-t)>0?n=o:e=o;while(Math.abs(s)>1e-7&&++a<12);return o})(e,0,1,t,n);return t=>0===t||1===t?t:z(r(t),e,i)}let j=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,L=t=>e=>1-t(1-e),$=B(.33,1.53,.69,.99),U=L($),Y=j(U),W=t=>(t*=2)<1?.5*U(t):.5*(2-Math.pow(2,-10*(t-1))),J=t=>1-Math.sin(Math.acos(t)),H=L(J),q=j(J),K=t=>/^0[^.\s]+$/u.test(t);var Z=n(59700);let G=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),X=t=>e=>"string"==typeof e&&e.startsWith(t),_=X("--"),Q=X("var(--"),tt=t=>{let e=Q(t);return!!e&&te.test(t.split("/*")[0].trim())},te=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,tn=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,ti=(t,e,n)=>n>e?e:n"number"==typeof t,parse:parseFloat,transform:t=>t},ts={...tr,transform:t=>ti(0,1,t)},to={...tr,default:1},ta=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),tl=ta("deg"),th=ta("%"),tu=ta("px"),tc=ta("vh"),tp=ta("vw"),td={...th,parse:t=>th.parse(t)/100,transform:t=>th.transform(100*t)},tf=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),tm=t=>t===tr||t===tu,tg=(t,e)=>parseFloat(t.split(", ")[e]),ty=(t,e)=>(n,{transform:i})=>{if("none"===i||!i)return 0;let r=i.match(/^matrix3d\((.+)\)$/u);if(r)return tg(r[1],e);{let e=i.match(/^matrix\((.+)\)$/u);return e?tg(e[1],t):0}},tv=new Set(["x","y","z"]),tx=d.filter(t=>!tv.has(t)),tw={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:ty(4,13),y:ty(5,14)};tw.translateX=tw.x,tw.translateY=tw.y;let tS=t=>e=>e.test(t),tk=[tr,tu,th,tl,tp,tc,{test:t=>"auto"===t,parse:t=>t}],tb=t=>tk.find(tS(t)),tT=new Set,tC=!1,tA=!1;function tE(){if(tA){let t=Array.from(tT).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),n=new Map;e.forEach(t=>{let e=function(t){let e=[];return tx.forEach(n=>{let i=t.getValue(n);void 0!==i&&(e.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),e}(t);e.length&&(n.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=n.get(t);e&&e.forEach(([e,n])=>{var i;null===(i=t.getValue(e))||void 0===i||i.set(n)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}tA=!1,tC=!1,tT.forEach(t=>t.complete()),tT.clear()}function tM(){tT.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(tA=!0)})}class tP{constructor(t,e,n,i,r,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=n,this.motionValue=i,this.element=r,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(tT.add(this),tC||(tC=!0,I.read(tM),I.resolveKeyframes(tE))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:n,motionValue:i}=this;for(let r=0;rMath.round(1e5*t)/1e5,tO=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,tD=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,tI=(t,e)=>n=>!!("string"==typeof n&&tD.test(n)&&n.startsWith(t)||e&&null!=n&&Object.prototype.hasOwnProperty.call(n,e)),tN=(t,e,n)=>i=>{if("string"!=typeof i)return i;let[r,s,o,a]=i.match(tO);return{[t]:parseFloat(r),[e]:parseFloat(s),[n]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},tV=t=>ti(0,255,t),tF={...tr,transform:t=>Math.round(tV(t))},tz={test:tI("rgb","red"),parse:tN("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:i=1})=>"rgba("+tF.transform(t)+", "+tF.transform(e)+", "+tF.transform(n)+", "+tR(ts.transform(i))+")"},tB={test:tI("#"),parse:function(t){let e="",n="",i="",r="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),i=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),i=t.substring(3,4),r=t.substring(4,5),e+=e,n+=n,i+=i,r+=r),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:r?parseInt(r,16)/255:1}},transform:tz.transform},tj={test:tI("hsl","hue"),parse:tN("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:i=1})=>"hsla("+Math.round(t)+", "+th.transform(tR(e))+", "+th.transform(tR(n))+", "+tR(ts.transform(i))+")"},tL={test:t=>tz.test(t)||tB.test(t)||tj.test(t),parse:t=>tz.test(t)?tz.parse(t):tj.test(t)?tj.parse(t):tB.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?tz.transform(t):tj.transform(t)},t$=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,tU="number",tY="color",tW=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function tJ(t){let e=t.toString(),n=[],i={color:[],number:[],var:[]},r=[],s=0,o=e.replace(tW,t=>(tL.test(t)?(i.color.push(s),r.push(tY),n.push(tL.parse(t))):t.startsWith("var(")?(i.var.push(s),r.push("var"),n.push(t)):(i.number.push(s),r.push(tU),n.push(parseFloat(t))),++s,"${}")),a=o.split("${}");return{values:n,split:a,indexes:i,types:r}}function tH(t){return tJ(t).values}function tq(t){let{split:e,types:n}=tJ(t),i=e.length;return t=>{let r="";for(let s=0;s"number"==typeof t?0:t,tZ={test:function(t){var e,n;return isNaN(t)&&"string"==typeof t&&((null===(e=t.match(tO))||void 0===e?void 0:e.length)||0)+((null===(n=t.match(t$))||void 0===n?void 0:n.length)||0)>0},parse:tH,createTransformer:tq,getAnimatableNone:function(t){let e=tH(t),n=tq(t);return n(e.map(tK))}},tG=new Set(["brightness","contrast","saturate","opacity"]);function tX(t){let[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[i]=n.match(tO)||[];if(!i)return t;let r=n.replace(i,""),s=tG.has(e)?1:0;return i!==n&&(s*=100),e+"("+s+r+")"}let t_=/\b([a-z-]*)\(.*?\)/gu,tQ={...tZ,getAnimatableNone:t=>{let e=t.match(t_);return e?e.map(tX).join(" "):t}},t0={...tr,transform:Math.round},t1={borderWidth:tu,borderTopWidth:tu,borderRightWidth:tu,borderBottomWidth:tu,borderLeftWidth:tu,borderRadius:tu,radius:tu,borderTopLeftRadius:tu,borderTopRightRadius:tu,borderBottomRightRadius:tu,borderBottomLeftRadius:tu,width:tu,maxWidth:tu,height:tu,maxHeight:tu,top:tu,right:tu,bottom:tu,left:tu,padding:tu,paddingTop:tu,paddingRight:tu,paddingBottom:tu,paddingLeft:tu,margin:tu,marginTop:tu,marginRight:tu,marginBottom:tu,marginLeft:tu,backgroundPositionX:tu,backgroundPositionY:tu,rotate:tl,rotateX:tl,rotateY:tl,rotateZ:tl,scale:to,scaleX:to,scaleY:to,scaleZ:to,skew:tl,skewX:tl,skewY:tl,distance:tu,translateX:tu,translateY:tu,translateZ:tu,x:tu,y:tu,z:tu,perspective:tu,transformPerspective:tu,opacity:ts,originX:td,originY:td,originZ:tu,zIndex:t0,size:tu,fillOpacity:ts,strokeOpacity:ts,numOctaves:t0},t2={...t1,color:tL,backgroundColor:tL,outlineColor:tL,fill:tL,stroke:tL,borderColor:tL,borderTopColor:tL,borderRightColor:tL,borderBottomColor:tL,borderLeftColor:tL,filter:tQ,WebkitFilter:tQ},t5=t=>t2[t];function t3(t,e){let n=t5(t);return n!==tQ&&(n=tZ),n.getAnimatableNone?n.getAnimatableNone(e):void 0}let t9=new Set(["auto","none","0"]);class t4 extends tP{constructor(t,e,n,i,r){super(t,e,n,i,r,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:n}=this;if(!e||!e.current)return;super.readKeyframes();for(let n=0;n{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}}function t6(t){return"function"==typeof t}function t8(){i=void 0}let t7={now:()=>(void 0===i&&t7.set(V.isProcessing||b.useManualTiming?V.timestamp:performance.now()),i),set:t=>{i=t,queueMicrotask(t8)}},et=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(tZ.test(t)||"0"===t)&&!t.startsWith("url("));class ee{constructor({autoplay:t=!0,delay:e=0,type:n="keyframes",repeat:i=0,repeatDelay:r=0,repeatType:s="loop",...o}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=t7.now(),this.options={autoplay:t,delay:e,type:n,repeat:i,repeatDelay:r,repeatType:s,...o},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(tM(),tE()),this._resolved}onKeyframesResolved(t,e){this.resolvedAt=t7.now(),this.hasAttemptedResolve=!0;let{name:n,type:i,velocity:r,delay:s,onComplete:o,onUpdate:a,isGenerator:l}=this.options;if(!l&&!function(t,e,n,i){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],o=et(r,e),a=et(s,e);return(0,Z.K)(o===a,`You are trying to animate ${e} from "${r}" to "${s}". ${r} is not an animatable value - to enable this animation set ${r} to a value animatable to ${s} via the \`style\` property.`),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let n=0;n{this.resolveFinishedPromise=t})}}function en(t,e,n){var i,r;let s=Math.max(e-5,0);return i=n-t(s),(r=e-s)?i*(1e3/r):0}function ei(t,e){return t*Math.sqrt(1-e*e)}let er=["duration","bounce"],es=["stiffness","damping","mass"];function eo(t,e){return e.some(e=>void 0!==t[e])}function ea({keyframes:t,restDelta:e,restSpeed:n,...i}){let r;let s=t[0],o=t[t.length-1],a={done:!1,value:s},{stiffness:l,damping:h,mass:u,duration:c,velocity:p,isResolvedFromDuration:d}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!eo(t,es)&&eo(t,er)){let n=function({duration:t=800,bounce:e=.25,velocity:n=0,mass:i=1}){let r,s;(0,Z.K)(t<=m(10),"Spring duration must be 10 seconds or less");let o=1-e;o=ti(.05,1,o),t=ti(.01,10,g(t)),o<1?(r=e=>{let i=e*o,r=i*t,s=ei(e,o);return .001-(i-n)/s*Math.exp(-r)},s=e=>{let i=e*o,s=i*t,a=Math.pow(o,2)*Math.pow(e,2)*t,l=ei(Math.pow(e,2),o),h=-r(e)+.001>0?-1:1;return h*((s*n+n-a)*Math.exp(-s))/l}):(r=e=>{let i=Math.exp(-e*t),r=(e-n)*t+1;return -.001+i*r},s=e=>{let i=Math.exp(-e*t),r=(n-e)*(t*t);return i*r});let a=5/t,l=function(t,e,n){let i=n;for(let n=1;n<12;n++)i-=t(i)/e(i);return i}(r,s,a);if(t=m(t),isNaN(l))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(l,2)*i;return{stiffness:e,damping:2*o*Math.sqrt(i*e),duration:t}}}(t);(e={...e,...n,mass:1}).isResolvedFromDuration=!0}return e}({...i,velocity:-g(i.velocity||0)}),f=p||0,y=h/(2*Math.sqrt(l*u)),v=o-s,x=g(Math.sqrt(l/u)),w=5>Math.abs(v);if(n||(n=w?.01:2),e||(e=w?.005:.5),y<1){let t=ei(x,y);r=e=>{let n=Math.exp(-y*x*e);return o-n*((f+y*x*v)/t*Math.sin(t*e)+v*Math.cos(t*e))}}else if(1===y)r=t=>o-Math.exp(-x*t)*(v+(f+x*v)*t);else{let t=x*Math.sqrt(y*y-1);r=e=>{let n=Math.exp(-y*x*e),i=Math.min(t*e,300);return o-n*((f+y*x*v)*Math.sinh(i)+t*v*Math.cosh(i))/t}}return{calculatedDuration:d&&c||null,next:t=>{let i=r(t);if(d)a.done=t>=c;else{let s=0;y<1&&(s=0===t?m(f):en(r,t,i));let l=Math.abs(s)<=n,h=Math.abs(o-i)<=e;a.done=l&&h}return a.value=a.done?o:i,a}}}function el({keyframes:t,velocity:e=0,power:n=.8,timeConstant:i=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:h=.5,restSpeed:u}){let c,p;let d=t[0],f={done:!1,value:d},m=t=>void 0!==a&&tl,g=t=>void 0===a?l:void 0===l?a:Math.abs(a-t)-y*Math.exp(-t/i),S=t=>x+w(t),k=t=>{let e=w(t),n=S(t);f.done=Math.abs(e)<=h,f.value=f.done?x:n},b=t=>{m(f.value)&&(c=t,p=ea({keyframes:[f.value,g(f.value)],velocity:en(S,t,f.value),damping:r,stiffness:s,restDelta:h,restSpeed:u}))};return b(0),{calculatedDuration:null,next:t=>{let e=!1;return(p||void 0!==c||(e=!0,k(t),b(t)),void 0!==c&&t>=c)?p.next(t-c):(e||k(t),f)}}}let eh=B(.42,0,1,1),eu=B(0,0,.58,1),ec=B(.42,0,.58,1),ep=t=>Array.isArray(t)&&"number"!=typeof t[0],ed=t=>Array.isArray(t)&&"number"==typeof t[0],ef={linear:R.Z,easeIn:eh,easeInOut:ec,easeOut:eu,circIn:J,circInOut:q,circOut:H,backIn:U,backInOut:Y,backOut:$,anticipate:W},em=t=>{if(ed(t)){(0,Z.k)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,n,i,r]=t;return B(e,n,i,r)}return"string"==typeof t?((0,Z.k)(void 0!==ef[t],`Invalid easing type '${t}'`),ef[t]):t},eg=(t,e)=>n=>e(t(n)),ey=(...t)=>t.reduce(eg),ev=(t,e,n)=>{let i=e-t;return 0===i?1:(n-t)/i},ex=(t,e,n)=>t+(e-t)*n;function ew(t,e,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?t+(e-t)*6*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function eS(t,e){return n=>n>0?e:t}let ek=(t,e,n)=>{let i=t*t,r=n*(e*e-i)+i;return r<0?0:Math.sqrt(r)},eb=[tB,tz,tj],eT=t=>eb.find(e=>e.test(t));function eC(t){let e=eT(t);if((0,Z.K)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let n=e.parse(t);return e===tj&&(n=function({hue:t,saturation:e,lightness:n,alpha:i}){t/=360,n/=100;let r=0,s=0,o=0;if(e/=100){let i=n<.5?n*(1+e):n+e-n*e,a=2*n-i;r=ew(a,i,t+1/3),s=ew(a,i,t),o=ew(a,i,t-1/3)}else r=s=o=n;return{red:Math.round(255*r),green:Math.round(255*s),blue:Math.round(255*o),alpha:i}}(n)),n}let eA=(t,e)=>{let n=eC(t),i=eC(e);if(!n||!i)return eS(t,e);let r={...n};return t=>(r.red=ek(n.red,i.red,t),r.green=ek(n.green,i.green,t),r.blue=ek(n.blue,i.blue,t),r.alpha=ex(n.alpha,i.alpha,t),tz.transform(r))},eE=new Set(["none","hidden"]);function eM(t,e){return n=>ex(t,e,n)}function eP(t){return"number"==typeof t?eM:"string"==typeof t?tt(t)?eS:tL.test(t)?eA:eD:Array.isArray(t)?eR:"object"==typeof t?tL.test(t)?eA:eO:eS}function eR(t,e){let n=[...t],i=n.length,r=t.map((t,n)=>eP(t)(t,e[n]));return t=>{for(let e=0;e{for(let e in i)n[e]=i[e](t);return n}}let eD=(t,e)=>{let n=tZ.createTransformer(e),i=tJ(t),r=tJ(e),s=i.indexes.var.length===r.indexes.var.length&&i.indexes.color.length===r.indexes.color.length&&i.indexes.number.length>=r.indexes.number.length;return s?eE.has(t)&&!r.values.length||eE.has(e)&&!i.values.length?eE.has(t)?n=>n<=0?t:e:n=>n>=1?e:t:ey(eR(function(t,e){var n;let i=[],r={color:0,var:0,number:0};for(let s=0;se*t),a=function(t,e,{clamp:n=!0,ease:i,mixer:r}={}){let s=t.length;if((0,Z.k)(s===e.length,"Both input and output ranges must be the same length"),1===s)return()=>e[0];if(2===s&&t[0]===t[1])return()=>e[1];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());let o=function(t,e,n){let i=[],r=n||eI,s=t.length-1;for(let n=0;n{let n=0;if(a>1)for(;nl(ti(t[0],t[s-1],e)):l}(o,e,{ease:Array.isArray(r)?r:e.map(()=>r||ec).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(s.value=a(e),s.done=e>=t,s)}}let eV=t=>{let e=({timestamp:e})=>t(e);return{start:()=>I.update(e,!0),stop:()=>N(e),now:()=>V.isProcessing?V.timestamp:t7.now()}},eF={decay:el,inertia:el,tween:eN,keyframes:eN,spring:ea},ez=t=>t/100;class eB extends ee{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:t}=this.options;t&&t()};let{name:e,motionValue:n,element:i,keyframes:r}=this.options,s=(null==i?void 0:i.KeyframeResolver)||tP;this.resolver=new s(r,(t,e)=>this.onKeyframesResolved(t,e),e,n,i),this.resolver.scheduleResolve()}initPlayback(t){let e,n;let{type:i="keyframes",repeat:r=0,repeatDelay:s=0,repeatType:o,velocity:a=0}=this.options,l=t6(i)?i:eF[i]||eN;l!==eN&&"number"!=typeof t[0]&&(e=ey(ez,eI(t[0],t[1])),t=[0,100]);let h=l({...this.options,keyframes:t});"mirror"===o&&(n=l({...this.options,keyframes:[...t].reverse(),velocity:-a})),null===h.calculatedDuration&&(h.calculatedDuration=function(t){let e=0,n=t.next(e);for(;!n.done&&e<2e4;)e+=50,n=t.next(e);return e>=2e4?1/0:e}(h));let{calculatedDuration:u}=h,c=u+s;return{generator:h,mirroredGenerator:n,mapPercentToKeyframes:e,calculatedDuration:u,resolvedDuration:c,totalDuration:c*(r+1)-s}}onPostResolved(){let{autoplay:t=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&t?this.state=this.pendingPlayState:this.pause()}tick(t,e=!1){let{resolved:n}=this;if(!n){let{keyframes:t}=this.options;return{done:!0,value:t[t.length-1]}}let{finalKeyframe:i,generator:r,mirroredGenerator:s,mapPercentToKeyframes:o,keyframes:a,calculatedDuration:l,totalDuration:h,resolvedDuration:u}=n;if(null===this.startTime)return r.next(0);let{delay:c,repeat:p,repeatType:d,repeatDelay:f,onUpdate:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-h/this.speed,this.startTime)),e?this.currentTime=t:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;let g=this.currentTime-c*(this.speed>=0?1:-1),y=this.speed>=0?g<0:g>h;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=h);let v=this.currentTime,x=r;if(p){let t=Math.min(this.currentTime,h)/u,e=Math.floor(t),n=t%1;!n&&t>=1&&(n=1),1===n&&e--,e=Math.min(e,p+1);let i=!!(e%2);i&&("reverse"===d?(n=1-n,f&&(n-=f/u)):"mirror"===d&&(x=s)),v=ti(0,1,n)*u}let w=y?{done:!1,value:a[0]}:x.next(v);o&&(w.value=o(w.value));let{done:S}=w;y||null===l||(S=this.speed>=0?this.currentTime>=h:this.currentTime<=0);let k=null===this.holdTime&&("finished"===this.state||"running"===this.state&&S);return k&&void 0!==i&&(w.value=A(a,this.options,i)),m&&m(w.value),k&&this.finish(),w}get duration(){let{resolved:t}=this;return t?g(t.calculatedDuration):0}get time(){return g(this.currentTime)}set time(t){t=m(t),this.currentTime=t,null!==this.holdTime||0===this.speed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=g(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=eV,onPlay:e,startTime:n}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),e&&e();let i=this.driver.now();null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=i):this.startTime=null!=n?n:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!==(t=this.currentTime)&&void 0!==t?t:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:t}=this.options;t&&t()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}let ej=new Set(["opacity","clipPath","filter","transform"]),eL=(t,e)=>{let n="",i=Math.max(Math.round(e/10),2);for(let e=0;e(void 0===e&&(e=t()),e)}let eU={linearEasing:void 0},eY=function(t,e){let n=e$(t);return()=>{var t;return null!==(t=eU[e])&&void 0!==t?t:n()}}(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),eW=([t,e,n,i])=>`cubic-bezier(${t}, ${e}, ${n}, ${i})`,eJ={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:eW([0,.65,.55,1]),circOut:eW([.55,0,1,.45]),backIn:eW([.31,.01,.66,-.59]),backOut:eW([.33,1.53,.69,.99])};function eH(t,e){t.timeline=e,t.onfinish=null}let eq=e$(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),eK={anticipate:W,backInOut:Y,circInOut:q};class eZ extends ee{constructor(t){super(t);let{name:e,motionValue:n,element:i,keyframes:r}=this.options;this.resolver=new t4(r,(t,e)=>this.onKeyframesResolved(t,e),e,n,i),this.resolver.scheduleResolve()}initPlayback(t,e){var n,i;let{duration:r=300,times:s,ease:o,type:a,motionValue:l,name:h,startTime:u}=this.options;if(!(null===(n=l.owner)||void 0===n?void 0:n.current))return!1;if("string"==typeof o&&eY()&&o in eK&&(o=eK[o]),t6((i=this.options).type)||"spring"===i.type||!function t(e){return!!("function"==typeof e&&eY()||!e||"string"==typeof e&&(e in eJ||eY())||ed(e)||Array.isArray(e)&&e.every(t))}(i.ease)){let{onComplete:e,onUpdate:n,motionValue:i,element:l,...h}=this.options,u=function(t,e){let n=new eB({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0}),i={done:!1,value:t[0]},r=[],s=0;for(;!i.done&&s<2e4;)r.push((i=n.sample(s)).value),s+=10;return{times:void 0,keyframes:r,duration:s-10,ease:"linear"}}(t,h);1===(t=u.keyframes).length&&(t[1]=t[0]),r=u.duration,s=u.times,o=u.ease,a="keyframes"}let c=function(t,e,n,{delay:i=0,duration:r=300,repeat:s=0,repeatType:o="loop",ease:a,times:l}={}){let h={[e]:n};l&&(h.offset=l);let u=function t(e,n){if(e)return"function"==typeof e&&eY()?eL(e,n):ed(e)?eW(e):Array.isArray(e)?e.map(e=>t(e,n)||eJ.easeOut):eJ[e]}(a,r);return Array.isArray(u)&&(h.easing=u),t.animate(h,{delay:i,duration:r,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"})}(l.owner.current,h,t,{...this.options,duration:r,times:s,ease:o});return c.startTime=null!=u?u:this.calcStartTime(),this.pendingTimeline?(eH(c,this.pendingTimeline),this.pendingTimeline=void 0):c.onfinish=()=>{let{onComplete:n}=this.options;l.set(A(t,this.options,e)),n&&n(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:r,times:s,type:a,ease:o,keyframes:t}}get duration(){let{resolved:t}=this;if(!t)return 0;let{duration:e}=t;return g(e)}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:e}=t;return g(e.currentTime||0)}set time(t){let{resolved:e}=this;if(!e)return;let{animation:n}=e;n.currentTime=m(t)}get speed(){let{resolved:t}=this;if(!t)return 1;let{animation:e}=t;return e.playbackRate}set speed(t){let{resolved:e}=this;if(!e)return;let{animation:n}=e;n.playbackRate=t}get state(){let{resolved:t}=this;if(!t)return"idle";let{animation:e}=t;return e.playState}get startTime(){let{resolved:t}=this;if(!t)return null;let{animation:e}=t;return e.startTime}attachTimeline(t){if(this._resolved){let{resolved:e}=this;if(!e)return R.Z;let{animation:n}=e;eH(n,t)}else this.pendingTimeline=t;return R.Z}play(){if(this.isStopped)return;let{resolved:t}=this;if(!t)return;let{animation:e}=t;"finished"===e.playState&&this.updateFinishedPromise(),e.play()}pause(){let{resolved:t}=this;if(!t)return;let{animation:e}=t;e.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:t}=this;if(!t)return;let{animation:e,keyframes:n,duration:i,type:r,ease:s,times:o}=t;if("idle"===e.playState||"finished"===e.playState)return;if(this.time){let{motionValue:t,onUpdate:e,onComplete:a,element:l,...h}=this.options,u=new eB({...h,keyframes:n,duration:i,type:r,ease:s,times:o,isGenerator:!0}),c=m(this.time);t.setWithVelocity(u.sample(c-10).value,u.sample(c).value,10)}let{onStop:a}=this.options;a&&a(),this.cancel()}complete(){let{resolved:t}=this;t&&t.animation.finish()}cancel(){let{resolved:t}=this;t&&t.animation.cancel()}static supports(t){let{motionValue:e,name:n,repeatDelay:i,repeatType:r,damping:s,type:o}=t;return eq()&&n&&ej.has(n)&&e&&e.owner&&e.owner.current instanceof HTMLElement&&!e.owner.getProps().onUpdate&&!i&&"mirror"!==r&&0!==s&&"inertia"!==o}}let eG=e$(()=>void 0!==window.ScrollTimeline);class eX{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}then(t,e){return Promise.all(this.animations).then(t).catch(e)}getAll(t){return this.animations[0][t]}setAll(t,e){for(let n=0;neG()&&n.attachTimeline?n.attachTimeline(t):e(n));return()=>{n.forEach((t,e)=>{t&&t(),this.animations[e].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let e=0;ee[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}let e_=(t,e,n,i={},r,s)=>o=>{let a=k(i,t)||{},l=a.delay||i.delay||0,{elapsed:h=0}=i;h-=m(l);let u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-h,onUpdate:t=>{e.set(t),a.onUpdate&&a.onUpdate(t)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:s?void 0:r};!function({when:t,delay:e,delayChildren:n,staggerChildren:i,staggerDirection:r,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:h,...u}){return!!Object.keys(u).length}(a)&&(u={...u,...S(t,u)}),u.duration&&(u.duration=m(u.duration)),u.repeatDelay&&(u.repeatDelay=m(u.repeatDelay)),void 0!==u.from&&(u.keyframes[0]=u.from);let c=!1;if(!1!==u.type&&(0!==u.duration||u.repeatDelay)||(u.duration=0,0!==u.delay||(c=!0)),(T.current||b.skipAnimations)&&(c=!0,u.duration=0,u.delay=0),c&&!s&&void 0!==e.get()){let t=A(u.keyframes,a);if(void 0!==t)return I.update(()=>{u.onUpdate(t),u.onComplete()}),new eX([])}return!s&&eZ.supports(u)?new eZ(u):new eB(u)},eQ=t=>!!(t&&"object"==typeof t&&t.mix&&t.toValue),e0=t=>s(t)?t[t.length-1]||0:t;function e1(t,e){-1===t.indexOf(e)&&t.push(e)}function e2(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}class e5{constructor(){this.subscriptions=[]}add(t){return e1(this.subscriptions,t),()=>e2(this.subscriptions,t)}notify(t,e,n){let i=this.subscriptions.length;if(i){if(1===i)this.subscriptions[0](t,e,n);else for(let r=0;r!isNaN(parseFloat(t)),e9={current:void 0};class e4{constructor(t,e={}){this.version="11.11.9",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=>{let n=t7.now();this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=t7.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=e3(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new e5);let n=this.events[t].add(e);return"change"===t?()=>{n(),I.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,n){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return e9.current&&e9.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var t;let e=t7.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let n=Math.min(this.updatedAt-this.prevUpdatedAt,30);return t=parseFloat(this.current)-parseFloat(this.prevFrameValue),n?t*(1e3/n):0}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function e6(t,e){return new e4(t,e)}let e8=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),e7="data-"+e8("framerAppearId"),nt=t=>!!(t&&t.getVelocity);function ne(t,e){if(!t.applyWillChange)return;let n=t.getValue("willChange");if(nt(n)&&n.add)return n.add(e)}function nn(t,e,{delay:n=0,transitionOverride:i,type:r}={}){var s;let{transition:o=t.getDefaultTransition(),transitionEnd:a,...l}=e;i&&(o=i);let h=[],c=r&&t.animationState&&t.animationState.getState()[r];for(let e in l){let i=t.getValue(e,null!==(s=t.latestValues[e])&&void 0!==s?s:null),r=l[e];if(void 0===r||c&&function({protectedKeys:t,needsAnimating:e},n){let i=t.hasOwnProperty(n)&&!0!==e[n];return e[n]=!1,i}(c,e))continue;let a={delay:n,...k(o||{},e)},u=!1;if(window.MotionHandoffAnimation){let n=t.props[e7];if(n){let t=window.MotionHandoffAnimation(n,e,I);null!==t&&(a.startTime=t,u=!0)}}ne(t,e),i.start(e_(e,i,r,t.shouldReduceMotion&&f.has(e)?{type:!1}:a,t,u));let p=i.animation;p&&h.push(p)}return a&&Promise.all(h).then(()=>{I.update(()=>{a&&function(t,e){let n=u(t,e),{transitionEnd:i={},transition:r={},...s}=n||{};for(let e in s={...s,...i}){let n=e0(s[e]);t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,e6(n))}}(t,a)})}),h}function ni(t,e,n={}){var i;let r=u(t,e,"exit"===n.type?null===(i=t.presenceContext)||void 0===i?void 0:i.custom:void 0),{transition:s=t.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(s=n.transitionOverride);let o=r?()=>Promise.all(nn(t,r,n)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(i=0)=>{let{delayChildren:r=0,staggerChildren:o,staggerDirection:a}=s;return function(t,e,n=0,i=0,r=1,s){let o=[],a=(t.variantChildren.size-1)*i,l=1===r?(t=0)=>t*i:(t=0)=>a-t*i;return Array.from(t.variantChildren).sort(nr).forEach((t,i)=>{t.notify("AnimationStart",e),o.push(ni(t,e,{...s,delay:n+l(i)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(o)}(t,e,r+i,o,a,n)}:()=>Promise.resolve(),{when:l}=s;if(!l)return Promise.all([o(),a(n.delay)]);{let[t,e]="beforeChildren"===l?[o,a]:[a,o];return t().then(()=>e())}}function nr(t,e){return t.sortNodePosition(e)}let ns=p.length,no=[...c].reverse(),na=c.length;function nl(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function nh(){return{animate:nl(!0),whileInView:nl(),whileHover:nl(),whileTap:nl(),whileDrag:nl(),whileFocus:nl(),exit:nl()}}class nu{constructor(t){this.isMounted=!1,this.node=t}update(){}}let nc=0,np=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function nd(t,e="page"){return{point:{x:t[`${e}X`],y:t[`${e}Y`]}}}let nf=t=>e=>np(e)&&t(e,nd(e));function nm(t,e,n,i={passive:!0}){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n)}function ng(t,e,n,i){return nm(t,e,nf(n),i)}let ny=(t,e)=>Math.abs(t-e);class nv{constructor(t,e,{transformPagePoint:n,contextWindow:i,dragSnapToOrigin:r=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let t=nS(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,n=function(t,e){let n=ny(t.x,e.x),i=ny(t.y,e.y);return Math.sqrt(n**2+i**2)}(t.offset,{x:0,y:0})>=3;if(!e&&!n)return;let{point:i}=t,{timestamp:r}=V;this.history.push({...i,timestamp:r});let{onStart:s,onMove:o}=this.handlers;e||(s&&s(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=nx(e,this.transformPagePoint),I.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:n,onSessionEnd:i,resumeAnimation:r}=this.handlers;if(this.dragSnapToOrigin&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=nS("pointercancel"===t.type?this.lastMoveEventInfo:nx(e,this.transformPagePoint),this.history);this.startEvent&&n&&n(t,s),i&&i(t,s)},!np(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=n,this.contextWindow=i||window;let s=nd(t),o=nx(s,this.transformPagePoint),{point:a}=o,{timestamp:l}=V;this.history=[{...a,timestamp:l}];let{onSessionStart:h}=e;h&&h(t,nS(o,this.history)),this.removeListeners=ey(ng(this.contextWindow,"pointermove",this.handlePointerMove),ng(this.contextWindow,"pointerup",this.handlePointerUp),ng(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),N(this.updatePoint)}}function nx(t,e){return e?{point:e(t.point)}:t}function nw(t,e){return{x:t.x-e.x,y:t.y-e.y}}function nS({point:t},e){return{point:t,delta:nw(t,nk(e)),offset:nw(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,i=null,r=nk(t);for(;n>=0&&(i=t[n],!(r.timestamp-i.timestamp>m(.1)));)n--;if(!i)return{x:0,y:0};let s=g(r.timestamp-i.timestamp);if(0===s)return{x:0,y:0};let o={x:(r.x-i.x)/s,y:(r.y-i.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,0)}}function nk(t){return t[t.length-1]}function nb(t){let e=null;return()=>null===e&&(e=t,()=>{e=null})}let nT=nb("dragHorizontal"),nC=nb("dragVertical");function nA(t){let e=!1;if("y"===t)e=nC();else if("x"===t)e=nT();else{let t=nT(),n=nC();t&&n?e=()=>{t(),n()}:(t&&t(),n&&n())}return e}function nE(){let t=nA(!0);return!t||(t(),!1)}function nM(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function nP(t){return t.max-t.min}function nR(t,e,n,i=.5){t.origin=i,t.originPoint=ex(e.min,e.max,t.origin),t.scale=nP(n)/nP(e),t.translate=ex(n.min,n.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function nO(t,e,n,i){nR(t.x,e.x,n.x,i?i.originX:void 0),nR(t.y,e.y,n.y,i?i.originY:void 0)}function nD(t,e,n){t.min=n.min+e.min,t.max=t.min+nP(e)}function nI(t,e,n){t.min=e.min-n.min,t.max=t.min+nP(e)}function nN(t,e,n){nI(t.x,e.x,n.x),nI(t.y,e.y,n.y)}function nV(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function nF(t,e){let n=e.min-t.min,i=e.max-t.max;return e.max-e.min({translate:0,scale:1,origin:0,originPoint:0}),nL=()=>({x:nj(),y:nj()}),n$=()=>({min:0,max:0}),nU=()=>({x:n$(),y:n$()});function nY(t){return[t("x"),t("y")]}function nW({top:t,left:e,right:n,bottom:i}){return{x:{min:e,max:n},y:{min:t,max:i}}}function nJ(t){return void 0===t||1===t}function nH({scale:t,scaleX:e,scaleY:n}){return!nJ(t)||!nJ(e)||!nJ(n)}function nq(t){return nH(t)||nK(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function nK(t){var e,n;return(e=t.x)&&"0%"!==e||(n=t.y)&&"0%"!==n}function nZ(t,e,n,i,r){return void 0!==r&&(t=i+r*(t-i)),i+n*(t-i)+e}function nG(t,e=0,n=1,i,r){t.min=nZ(t.min,e,n,i,r),t.max=nZ(t.max,e,n,i,r)}function nX(t,{x:e,y:n}){nG(t.x,e.translate,e.scale,e.originPoint),nG(t.y,n.translate,n.scale,n.originPoint)}function n_(t,e){t.min=t.min+e,t.max=t.max+e}function nQ(t,e,n,i,r=.5){let s=ex(t.min,t.max,r);nG(t,e,n,s,i)}function n0(t,e){nQ(t.x,e.x,e.scaleX,e.scale,e.originX),nQ(t.y,e.y,e.scaleY,e.scale,e.originY)}function n1(t,e){return nW(function(t,e){if(!e)return t;let n=e({x:t.left,y:t.top}),i=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}(t.getBoundingClientRect(),e))}let n2=({current:t})=>t?t.ownerDocument.defaultView:null,n5=new WeakMap;class n3{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=nU(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let{dragSnapToOrigin:i}=this.getProps();this.panSession=new nv(t,{onSessionStart:t=>{let{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(nd(t,"page").point)},onStart:(t,e)=>{let{drag:n,dragPropagation:i,onDragStart:r}=this.getProps();if(n&&!i&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=nA(n),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),nY(t=>{let e=this.getAxisMotionValue(t).get()||0;if(th.test(e)){let{projection:n}=this.visualElement;if(n&&n.layout){let i=n.layout.layoutBox[t];if(i){let t=nP(i);e=t*(parseFloat(e)/100)}}}this.originPoint[t]=e}),r&&I.postRender(()=>r(t,e)),ne(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(t,e)=>{let{dragPropagation:n,dragDirectionLock:i,onDirectionLock:r,onDrag:s}=this.getProps();if(!n&&!this.openGlobalLock)return;let{offset:o}=e;if(i&&null===this.currentDirection){this.currentDirection=function(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}(o),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&s(t,e)},onSessionEnd:(t,e)=>this.stop(t,e),resumeAnimation:()=>nY(t=>{var e;return"paused"===this.getAnimationState(t)&&(null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:i,contextWindow:n2(this.visualElement)})}stop(t,e){let n=this.isDragging;if(this.cancel(),!n)return;let{velocity:i}=e;this.startAnimation(i);let{onDragEnd:r}=this.getProps();r&&I.postRender(()=>r(t,e))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,n){let{drag:i}=this.getProps();if(!n||!n9(t,i,this.currentDirection))return;let r=this.getAxisMotionValue(t),s=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:n},i){return void 0!==e&&tn&&(t=i?ex(n,t,i.max):Math.min(t,n)),t}(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){var t;let{dragConstraints:e,dragElastic:n}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout,r=this.constraints;e&&nM(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&i?this.constraints=function(t,{top:e,left:n,bottom:i,right:r}){return{x:nV(t.x,n,r),y:nV(t.y,e,i)}}(i.layoutBox,e):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:nz(t,"left","right"),y:nz(t,"top","bottom")}}(n),r!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&nY(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let n={};return void 0!==e.min&&(n.min=e.min-t.min),void 0!==e.max&&(n.max=e.max-t.min),n}(i.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!nM(e))return!1;let i=e.current;(0,Z.k)(null!==i,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let s=function(t,e,n){let i=n1(t,n),{scroll:r}=e;return r&&(n_(i.x,r.offset.x),n_(i.y,r.offset.y)),i}(i,r.root,this.visualElement.getTransformPagePoint()),o={x:nF((t=r.layout.layoutBox).x,s.x),y:nF(t.y,s.y)};if(n){let t=n(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=nW(t))}return o}startAnimation(t){let{drag:e,dragMomentum:n,dragElastic:i,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{},l=nY(o=>{if(!n9(o,e,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let h={type:"inertia",velocity:n?t[o]:0,bounceStiffness:i?200:1e6,bounceDamping:i?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(o,h)});return Promise.all(l).then(o)}startAxisValueAnimation(t,e){let n=this.getAxisMotionValue(t);return ne(this.visualElement,t),n.start(e_(t,n,0,e,this.visualElement,!1))}stopAnimation(){nY(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){nY(t=>{var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.pause()})}getAnimationState(t){var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,n=this.visualElement.getProps(),i=n[e];return i||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){nY(e=>{let{drag:n}=this.getProps();if(!n9(e,n,this.currentDirection))return;let{projection:i}=this.visualElement,r=this.getAxisMotionValue(e);if(i&&i.layout){let{min:n,max:s}=i.layout.layoutBox[e];r.set(t[e]-ex(n,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:n}=this.visualElement;if(!nM(e)||!n||!this.constraints)return;this.stopAnimation();let i={x:0,y:0};nY(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let n=e.get();i[t]=function(t,e){let n=.5,i=nP(t),r=nP(e);return r>i?n=ev(e.min,e.max-i,t.min):i>r&&(n=ev(t.min,t.max-r,e.min)),ti(0,1,n)}({min:n,max:n},this.constraints[t])}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),nY(e=>{if(!n9(e,t,null))return;let n=this.getAxisMotionValue(e),{min:r,max:s}=this.constraints[e];n.set(ex(r,s,i[e]))})}addListeners(){if(!this.visualElement.current)return;n5.set(this.visualElement,this);let t=this.visualElement.current,e=ng(t,"pointerdown",t=>{let{drag:e,dragListener:n=!0}=this.getProps();e&&n&&this.start(t)}),n=()=>{let{dragConstraints:t}=this.getProps();nM(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,r=i.addEventListener("measure",n);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),I.read(n);let s=nm(window,"resize",()=>this.scalePositionWithinConstraints()),o=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(nY(e=>{let n=this.getAxisMotionValue(e);n&&(this.originPoint[e]+=t[e].translate,n.set(n.get()+t[e].translate))}),this.visualElement.render())});return()=>{s(),e(),r(),o&&o()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:r=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:n,dragPropagation:i,dragConstraints:r,dragElastic:s,dragMomentum:o}}}function n9(t,e,n){return(!0===e||e===t)&&(null===n||n===t)}let n4=t=>(e,n)=>{t&&I.postRender(()=>t(e,n))};var n6=n(36164),n8=n(3546),n7=n(5934),it=n(17463);let ie=(0,n8.createContext)({}),ii={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function ir(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let is={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!tu.test(t))return t;t=parseFloat(t)}let n=ir(t,e.target.x),i=ir(t,e.target.y);return`${n}% ${i}%`}},io={},{schedule:ia,cancel:il}=D(queueMicrotask,!1);class ih extends n8.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:n,layoutId:i}=this.props,{projection:r}=t;Object.assign(io,ic),r&&(e.group&&e.group.add(r),n&&n.register&&i&&n.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),ii.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:n,drag:i,isPresent:r}=this.props,s=n.projection;return s&&(s.isPresent=r,i||t.layoutDependency!==e||void 0===e?s.willUpdate():this.safeToRemove(),t.isPresent===r||(r?s.promote():s.relegate()||I.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),ia.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:n}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(i),n&&n.deregister&&n.deregister(i))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function iu(t){let[e,n]=function(){let t=(0,n8.useContext)(n7.O);if(null===t)return[!0,null];let{isPresent:e,onExitComplete:n,register:i}=t,r=(0,n8.useId)();(0,n8.useEffect)(()=>i(r),[]);let s=(0,n8.useCallback)(()=>n&&n(r),[r,n]);return!e&&n?[!1,s]:[!0]}(),i=(0,n8.useContext)(it.p);return(0,n6.jsx)(ih,{...t,layoutGroup:i,switchLayoutGroup:(0,n8.useContext)(ie),isPresent:e,safeToRemove:n})}let ic={borderRadius:{...is,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:is,borderTopRightRadius:is,borderBottomLeftRadius:is,borderBottomRightRadius:is,boxShadow:{correct:(t,{treeScale:e,projectionDelta:n})=>{let i=tZ.parse(t);if(i.length>5)return t;let r=tZ.createTransformer(t),s="number"!=typeof i[0]?1:0,o=n.x.scale*e.x,a=n.y.scale*e.y;i[0+s]/=o,i[1+s]/=a;let l=ex(o,a,.5);return"number"==typeof i[2+s]&&(i[2+s]/=l),"number"==typeof i[3+s]&&(i[3+s]/=l),r(i)}}},ip=["TopLeft","TopRight","BottomLeft","BottomRight"],id=ip.length,im=t=>"string"==typeof t?parseFloat(t):t,ig=t=>"number"==typeof t||tu.test(t);function iy(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let iv=iw(0,.5,H),ix=iw(.5,.95,R.Z);function iw(t,e,n){return i=>ie?1:n(ev(t,e,i))}function iS(t,e){t.min=e.min,t.max=e.max}function ik(t,e){iS(t.x,e.x),iS(t.y,e.y)}function ib(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function iT(t,e,n,i,r){return t-=e,t=i+1/n*(t-i),void 0!==r&&(t=i+1/r*(t-i)),t}function iC(t,e,[n,i,r],s,o){!function(t,e=0,n=1,i=.5,r,s=t,o=t){if(th.test(e)){e=parseFloat(e);let t=ex(o.min,o.max,e/100);e=t-o.min}if("number"!=typeof e)return;let a=ex(s.min,s.max,i);t===s&&(a-=e),t.min=iT(t.min,e,n,a,r),t.max=iT(t.max,e,n,a,r)}(t,e[n],e[i],e[r],e.scale,s,o)}let iA=["x","scaleX","originX"],iE=["y","scaleY","originY"];function iM(t,e,n,i){iC(t.x,e,iA,n?n.x:void 0,i?i.x:void 0),iC(t.y,e,iE,n?n.y:void 0,i?i.y:void 0)}function iP(t){return 0===t.translate&&1===t.scale}function iR(t){return iP(t.x)&&iP(t.y)}function iO(t,e){return t.min===e.min&&t.max===e.max}function iD(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function iI(t,e){return iD(t.x,e.x)&&iD(t.y,e.y)}function iN(t){return nP(t.x)/nP(t.y)}function iV(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class iF{constructor(){this.members=[]}add(t){e1(this.members,t),t.scheduleRender()}remove(t){if(e2(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e;let n=this.members.findIndex(e=>t===e);if(0===n)return!1;for(let t=n;t>=0;t--){let n=this.members[t];if(!1!==n.isPresent){e=n;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,e&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:i}=t.options;!1===i&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:n}=t;e.onExitComplete&&e.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let iz=(t,e)=>t.depth-e.depth;class iB{constructor(){this.children=[],this.isDirty=!1}add(t){e1(this.children,t),this.isDirty=!0}remove(t){e2(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(iz),this.isDirty=!1,this.children.forEach(t)}}function ij(t){let e=nt(t)?t.get():t;return eQ(e)?e.toValue():e}let iL={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},i$="undefined"!=typeof window&&void 0!==window.MotionDebug,iU=["","X","Y","Z"],iY={visibility:"hidden"},iW=0;function iJ(t,e,n,i){let{latestValues:r}=e;r[t]&&(n[t]=r[t],e.setStaticValue(t,0),i&&(i[t]=0))}function iH({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:i,resetTransform:r}){return class{constructor(t={},n=null==e?void 0:e()){this.id=iW++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,i$&&(iL.totalNodes=iL.resolvedTargetDeltas=iL.recalculatedProjection=0),this.nodes.forEach(iZ),this.nodes.forEach(i2),this.nodes.forEach(i5),this.nodes.forEach(iG),i$&&window.MotionDebug.record(iL)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let t=0;tthis.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(t,e){let n=t7.now(),i=({timestamp:r})=>{let s=r-n;s>=e&&(N(i),t(s-e))};return I.read(i,!0),()=>N(i)}(i,250),ii.hasAnimatedSinceResize&&(ii.hasAnimatedSinceResize=!1,this.nodes.forEach(i1))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&s&&(i||r)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:n,layout:i})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let r=this.options.transition||s.getDefaultTransition()||i7,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!iI(this.targetLayout,i)||n,h=!e&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||h||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,h);let e={...k(r,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||i1(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,N(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(i3),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:n}=e.options;if(!n)return;let i=n.props[e7];if(window.MotionHasOptimisedAnimation(i,"transform")){let{layout:t,layoutId:n}=e.options;window.MotionCancelOptimisedAnimation(i,"transform",I,!(t||n))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&t(r)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,n),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=nU());let{target:l}=e;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(ib(this.prevProjectionDelta.x,this.projectionDelta.x),ib(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),nO(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===o&&this.treeScale.y===a&&iV(this.projectionDelta.x,this.prevProjectionDelta.x)&&iV(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),i$&&iL.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){var e;if(null===(e=this.options.visualElement)||void 0===e||e.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=nL(),this.projectionDelta=nL(),this.projectionDeltaWithTransform=nL()}setAnimationOrigin(t,e=!1){let n;let i=this.snapshot,r=i?i.latestValues:{},s={...this.latestValues},o=nL();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=nU(),l=i?i.source:void 0,h=this.layout?this.layout.source:void 0,u=l!==h,c=this.getStack(),p=!c||c.members.length<=1,d=!!(u&&!p&&!0===this.options.crossfade&&!this.path.some(i8));this.animationProgress=0,this.mixTargetDelta=e=>{let i=e/1e3;if(i4(o.x,t.x,i),i4(o.y,t.y,i),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var l,h,c,f;nN(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),c=this.relativeTarget,f=this.relativeTargetOrigin,i6(c.x,f.x,a.x,i),i6(c.y,f.y,a.y,i),n&&(l=this.relativeTarget,h=n,iO(l.x,h.x)&&iO(l.y,h.y))&&(this.isProjectionDirty=!1),n||(n=nU()),ik(n,this.relativeTarget)}u&&(this.animationValues=s,function(t,e,n,i,r,s){r?(t.opacity=ex(0,void 0!==n.opacity?n.opacity:1,iv(i)),t.opacityExit=ex(void 0!==e.opacity?e.opacity:1,0,ix(i))):s&&(t.opacity=ex(void 0!==e.opacity?e.opacity:1,void 0!==n.opacity?n.opacity:1,i));for(let r=0;r{ii.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e,n){let i=nt(t)?t:e6(t);return i.start(e_("",i,1e3,n)),i.animation}(0,0,{...t,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:n,layout:i,latestValues:r}=t;if(e&&n&&i){if(this!==t&&this.layout&&i&&ri(this.options.animationType,this.layout.layoutBox,i.layoutBox)){n=this.target||nU();let e=nP(this.layout.layoutBox.x);n.x.min=t.target.x.min,n.x.max=n.x.min+e;let i=nP(this.layout.layoutBox.y);n.y.min=t.target.y.min,n.y.max=n.y.min+i}ik(e,n),n0(e,r),nO(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new iF);let n=this.sharedNodes.get(t);n.add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){var t;let{layoutId:e}=this.options;return e&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;let{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:n}={}){let i=this.getStack();i&&i.promote(this,n),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:n}=t;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(e=!0),!e)return;let i={};n.z&&iJ("z",t,i,this.animationValues);for(let e=0;e{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(i_),this.root.sharedNodes.clear()}}}function iq(t){t.updateLayout()}function iK(t){var e;let n=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:i}=t.layout,{animationType:r}=t.options,s=n.source!==t.layout.source;"size"===r?nY(t=>{let i=s?n.measuredBox[t]:n.layoutBox[t],r=nP(i);i.min=e[t].min,i.max=i.min+r}):ri(r,n.layoutBox,e)&&nY(i=>{let r=s?n.measuredBox[i]:n.layoutBox[i],o=nP(e[i]);r.max=r.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[i].max=t.relativeTarget[i].min+o)});let o=nL();nO(o,e,n.layoutBox);let a=nL();s?nO(a,t.applyTransform(i,!0),n.measuredBox):nO(a,e,n.layoutBox);let l=!iR(o),h=!1;if(!t.resumeFrom){let i=t.getClosestProjectingParent();if(i&&!i.resumeFrom){let{snapshot:r,layout:s}=i;if(r&&s){let o=nU();nN(o,n.layoutBox,r.layoutBox);let a=nU();nN(a,e,s.layoutBox),iI(o,a)||(h=!0),i.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=i)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:n,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeTargetChanged:h})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function iZ(t){i$&&iL.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function iG(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function iX(t){t.clearSnapshot()}function i_(t){t.clearMeasurements()}function iQ(t){t.isLayoutDirty=!1}function i0(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function i1(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function i2(t){t.resolveTargetDelta()}function i5(t){t.calcProjection()}function i3(t){t.resetSkewAndRotation()}function i9(t){t.removeLeadSnapshot()}function i4(t,e,n){t.translate=ex(e.translate,0,n),t.scale=ex(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function i6(t,e,n,i){t.min=ex(e.min,n.min,i),t.max=ex(e.max,n.max,i)}function i8(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let i7={duration:.45,ease:[.4,0,.1,1]},rt=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),re=rt("applewebkit/")&&!rt("chrome/")?Math.round:R.Z;function rn(t){t.min=re(t.min),t.max=re(t.max)}function ri(t,e,n){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(iN(e)-iN(n)))}function rr(t){var e;return t!==t.root&&(null===(e=t.scroll)||void 0===e?void 0:e.wasRoot)}let rs=iH({attachResizeListener:(t,e)=>nm(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ro={current:void 0},ra=iH({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!ro.current){let t=new rs({});t.mount(window),t.setOptions({layoutScroll:!0}),ro.current=t}return ro.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function rl(t,e){let n=e?"pointerenter":"pointerleave",i=e?"onHoverStart":"onHoverEnd";return ng(t.current,n,(n,r)=>{if("touch"===n.pointerType||nE())return;let s=t.getProps();t.animationState&&s.whileHover&&t.animationState.setActive("whileHover",e);let o=s[i];o&&I.postRender(()=>o(n,r))},{passive:!t.getProps()[i]})}let rh=(t,e)=>!!e&&(t===e||rh(t,e.parentElement));function ru(t,e){if(!e)return;let n=new PointerEvent("pointer"+t);e(n,nd(n))}let rc=new WeakMap,rp=new WeakMap,rd=t=>{let e=rc.get(t.target);e&&e(t)},rf=t=>{t.forEach(rd)},rm={some:0,all:1};var rg=n(63566);let ry=(0,n8.createContext)({});var rv=n(10604);let rx=(0,n8.createContext)({strict:!1});function rw(t){return r(t.animate)||p.some(e=>a(t[e]))}function rS(t){return!!(rw(t)||t.variants)}function rk(t){return Array.isArray(t)?t.join(" "):t}let rb={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},rT={};for(let t in rb)rT[t]={isEnabled:e=>rb[t].some(t=>!!e[t])};var rC=n(80926);let rA=Symbol.for("motionComponentSymbol"),rE=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function rM(t){if("string"!=typeof t||t.includes("-"));else if(rE.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}function rP(t,{style:e,vars:n},i,r){for(let s in Object.assign(t.style,e,r&&r.getProjectionStyles(i)),n)t.style.setProperty(s,n[s])}let rR=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function rO(t,e,n,i){for(let n in rP(t,e,void 0,i),e.attrs)t.setAttribute(rR.has(n)?n:e8(n),e.attrs[n])}function rD(t,{layout:e,layoutId:n}){return f.has(t)||t.startsWith("origin")||(e||void 0!==n)&&(!!io[t]||"opacity"===t)}function rI(t,e,n){var i;let{style:r}=t,s={};for(let o in r)(nt(r[o])||e.style&&nt(e.style[o])||rD(o,t)||(null===(i=null==n?void 0:n.getValue(o))||void 0===i?void 0:i.liveStyle)!==void 0)&&(s[o]=r[o]);return n&&r&&"string"==typeof r.willChange&&(n.applyWillChange=!1),s}function rN(t,e,n){let i=rI(t,e,n);for(let n in t)if(nt(t[n])||nt(e[n])){let e=-1!==d.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n;i[e]=t[n]}return i}var rV=n(78118);let rF=t=>(e,n)=>{let i=(0,n8.useContext)(ry),s=(0,n8.useContext)(n7.O),o=()=>(function({applyWillChange:t=!1,scrapeMotionValuesFromProps:e,createRenderState:n,onMount:i},s,o,a,l){let h={latestValues:function(t,e,n,i,s){var o;let a={},l=new Set,h=i&&(null===(o=t.style)||void 0===o?void 0:o.willChange)===void 0,u=s(t,{});for(let t in u)a[t]=ij(u[t]);let{initial:c,animate:p}=t,d=rw(t),m=rS(t);e&&m&&!d&&!1!==t.inherit&&(void 0===c&&(c=e.initial),void 0===p&&(p=e.animate));let g=!!n&&!1===n.initial;g=g||!1===c;let y=g?p:c;return y&&"boolean"!=typeof y&&!r(y)&&rz(t,y,(t,e)=>{for(let e in t){let n=t[e];if(Array.isArray(n)){let t=g?n.length-1:0;n=n[t]}null!==n&&(a[e]=n)}for(let t in e)a[t]=e[t]}),h&&(p&&!1!==c&&!r(p)&&rz(t,p,t=>{for(let e in t){let t=f.has(e)?"transform":ej.has(e)?e8(e):void 0;t&&l.add(t)}}),l.size&&(a.willChange=Array.from(l).join(","))),a}(s,o,a,!l&&t,e),renderState:n()};return i&&(h.mount=t=>i(s,t,h)),h})(t,e,i,s,n);return n?o():(0,rV.h)(o)};function rz(t,e,n){let i=Array.isArray(e)?e:[e];for(let e=0;e({style:{},transform:{},transformOrigin:{},vars:{}}),rj=()=>({...rB(),attrs:{}}),rL=(t,e)=>e&&"number"==typeof t?e.transform(t):t,r$={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},rU=d.length;function rY(t,e,n){let{style:i,vars:r,transformOrigin:s}=t,o=!1,a=!1;for(let t in e){let n=e[t];if(f.has(t)){o=!0;continue}if(_(t)){r[t]=n;continue}{let e=rL(n,t1[t]);t.startsWith("origin")?(a=!0,s[t]=e):i[t]=e}}if(!e.transform&&(o||n?i.transform=function(t,e,n){let i="",r=!0;for(let s=0;s"string"==typeof t&&"svg"===t.toLowerCase(),rZ={useVisualState:rF({scrapeMotionValuesFromProps:rN,createRenderState:rj,onMount:(t,e,{renderState:n,latestValues:i})=>{I.read(()=>{try{n.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(t){n.dimensions={x:0,y:0,width:0,height:0}}}),I.render(()=>{rq(n,i,rK(e.tagName),t.transformTemplate),rO(e,n)})}})},rG={useVisualState:rF({applyWillChange:!0,scrapeMotionValuesFromProps:rI,createRenderState:rB})};function rX(t,e,n){for(let i in e)nt(e[i])||rD(i,n)||(t[i]=e[i])}function r_(t,e){let n={},i=function(t,e){let n=t.style||{},i={};return rX(i,n,t),Object.assign(i,function({transformTemplate:t},e){return(0,n8.useMemo)(()=>{let n=rB();return rY(n,e,t),Object.assign({},n.vars,n.style)},[e])}(t,e)),i}(t,e);return t.drag&&!1!==t.dragListener&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=i,n}let rQ=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function r0(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||rQ.has(t)}let r1=t=>!r0(t);try{(E=require("@emotion/is-prop-valid").default)&&(r1=t=>t.startsWith("on")?!r0(t):E(t))}catch(t){}function r2(t,e,n,i){let r=(0,n8.useMemo)(()=>{let n=rj();return rq(n,e,rK(i),t.transformTemplate),{...n.attrs,style:{...n.style}}},[e]);if(t.style){let e={};rX(e,t.style,t),r.style={...e,...r.style}}return r}let r5={current:null},r3={current:!1},r9=new WeakMap,r4=[...tk,tL,tZ],r6=t=>r4.find(tS(t)),r8=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class r7{scrapeMotionValuesFromProps(t,e,n){return{}}constructor({parent:t,props:e,presenceContext:n,reducedMotionConfig:i,blockInitialAnimation:r,visualState:s},o={}){this.applyWillChange=!1,this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=tP,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=t7.now();this.renderScheduledAtthis.bindToMotionValue(e,t)),r3.current||function(){if(r3.current=!0,rC.j){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>r5.current=t.matches;t.addListener(e),e()}else r5.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||r5.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in r9.delete(this.current),this.projection&&this.projection.unmount(),N(this.notifyUpdate),N(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}bindToMotionValue(t,e){let n;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let i=f.has(t),r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&I.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0)}),s=e.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(n=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),s(),n&&n(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in rT){let e=rT[t];if(!e)continue;let{isEnabled:n,Feature:i}=e;if(!this.features[t]&&i&&n(this.props)&&(this.features[t]=new i(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):nU()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;ee.variantChildren.delete(t)}addValue(t,e){let n=this.values.get(t);e!==n&&(n&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);return void 0===n&&void 0!==e&&(n=e6(null===e?void 0:e,{owner:this}),this.addValue(t,n)),n}readValue(t,e){var n;let i=void 0===this.latestValues[t]&&this.current?null!==(n=this.getBaseTargetFromProps(this.props,t))&&void 0!==n?n:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=i&&("string"==typeof i&&(G(i)||K(i))?i=parseFloat(i):!r6(i)&&tZ.test(e)&&(i=t3(t,e)),this.setBaseTarget(t,nt(i)?i.get():i)),nt(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let n;let{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let r=h(this.props,i,null===(e=this.presenceContext)||void 0===e?void 0:e.custom);r&&(n=r[t])}if(i&&void 0!==n)return n;let r=this.getBaseTargetFromProps(this.props,t);return void 0===r||nt(r)?void 0!==this.initialValues[t]&&void 0===n?void 0:this.baseTarget[t]:r}on(t,e){return this.events[t]||(this.events[t]=new e5),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}class st extends r7{constructor(){super(...arguments),this.KeyframeResolver=t4}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:n}){delete e[t],delete n[t]}}class se extends st{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0,this.renderInstance=rP}readValueFromInstance(t,e){if(f.has(e)){let t=t5(e);return t&&t.default||0}{let n=window.getComputedStyle(t),i=(_(e)?n.getPropertyValue(e):n[e])||0;return"string"==typeof i?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:e}){return n1(t,e)}build(t,e,n){rY(t,e,n.transformTemplate)}scrapeMotionValuesFromProps(t,e,n){return rI(t,e,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;nt(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}class sn extends st{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=nU}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(f.has(e)){let t=t5(e);return t&&t.default||0}return e=rR.has(e)?e:e8(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,n){return rN(t,e,n)}build(t,e,n){rq(t,e,this.isSVGTag,n.transformTemplate)}renderInstance(t,e,n,i){rO(t,e,n,i)}mount(t){this.isSVGTag=rK(t.tagName),super.mount(t)}}let si=(M={animation:{Feature:class extends nu{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:n})=>(function(t,e,n={}){let i;if(t.notify("AnimationStart",e),Array.isArray(e)){let r=e.map(e=>ni(t,e,n));i=Promise.all(r)}else if("string"==typeof e)i=ni(t,e,n);else{let r="function"==typeof e?u(t,e,n.custom):e;i=Promise.all(nn(t,r,n))}return i.then(()=>{t.notify("AnimationComplete",e)})})(t,e,n))),n=nh(),i=!0,l=e=>(n,i)=>{var r;let s=u(t,i,"exit"===e?null===(r=t.presenceContext)||void 0===r?void 0:r.custom:void 0);if(s){let{transition:t,transitionEnd:e,...i}=s;n={...n,...i,...e}}return n};function h(h){let{props:u}=t,c=function t(e){if(!e)return;if(!e.isControllingVariants){let n=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(n.initial=e.props.initial),n}let n={};for(let t=0;tg&&w,C=!1,A=Array.isArray(x)?x:[x],E=A.reduce(l(p),{});!1===S&&(E={});let{prevResolvedValues:M={}}=v,P={...M,...E},R=e=>{T=!0,f.has(e)&&(C=!0,f.delete(e)),v.needsAnimating[e]=!0;let n=t.getValue(e);n&&(n.liveStyle=!1)};for(let t in P){let e=E[t],n=M[t];if(!m.hasOwnProperty(t))(s(e)&&s(n)?o(e,n):e===n)?void 0!==e&&f.has(t)?R(t):v.protectedKeys[t]=!0:null!=e?R(t):f.add(t)}v.prevProp=x,v.prevResolvedValues=E,v.isActive&&(m={...m,...E}),i&&t.blockInitialAnimation&&(T=!1);let O=k&&b,D=!O||C;T&&D&&d.push(...A.map(t=>({animation:t,options:{type:p}})))}if(f.size){let e={};f.forEach(n=>{let i=t.getBaseTarget(n),r=t.getValue(n);r&&(r.liveStyle=!0),e[n]=null!=i?i:null}),d.push({animation:e})}let v=!!d.length;return i&&(!1===u.initial||u.initial===u.animate)&&!t.manuallyAnimateOnMount&&(v=!1),i=!1,v?e(d):Promise.resolve()}return{animateChanges:h,setActive:function(e,i){var r;if(n[e].isActive===i)return Promise.resolve();null===(r=t.variantChildren)||void 0===r||r.forEach(t=>{var n;return null===(n=t.animationState)||void 0===n?void 0:n.setActive(e,i)}),n[e].isActive=i;let s=h(e);for(let t in n)n[t].protectedKeys={};return s},setAnimateFunction:function(n){e=n(t)},getState:()=>n,reset:()=>{n=nh(),i=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();r(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),null===(t=this.unmountControls)||void 0===t||t.call(this)}}},exit:{Feature:class extends nu{constructor(){super(...arguments),this.id=nc++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;let i=this.node.animationState.setActive("exit",!t);e&&!t&&i.then(()=>e(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}},inView:{Feature:class extends nu{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:n,amount:i="some",once:r}=t,s={root:e?e.current:void 0,rootMargin:n,threshold:"number"==typeof i?i:rm[i]};return function(t,e,n){let i=function({root:t,...e}){let n=t||document;rp.has(n)||rp.set(n,{});let i=rp.get(n),r=JSON.stringify(e);return i[r]||(i[r]=new IntersectionObserver(rf,{root:t,...e})),i[r]}(e);return rc.set(t,n),i.observe(t),()=>{rc.delete(t),i.unobserve(t)}}(this.node.current,s,t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,r&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:n,onViewportLeave:i}=this.node.getProps(),s=e?n:i;s&&s(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node,n=["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}(t,e));n&&this.startObserver()}unmount(){}}},tap:{Feature:class extends nu{constructor(){super(...arguments),this.removeStartListeners=R.Z,this.removeEndListeners=R.Z,this.removeAccessibleListeners=R.Z,this.startPointerPress=(t,e)=>{if(this.isPressing)return;this.removeEndListeners();let n=this.node.getProps(),i=ng(window,"pointerup",(t,e)=>{if(!this.checkPressEnd())return;let{onTap:n,onTapCancel:i,globalTapTarget:r}=this.node.getProps(),s=r||rh(this.node.current,t.target)?n:i;s&&I.update(()=>s(t,e))},{passive:!(n.onTap||n.onPointerUp)}),r=ng(window,"pointercancel",(t,e)=>this.cancelPress(t,e),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=ey(i,r),this.startPress(t,e)},this.startAccessiblePress=()=>{let t=nm(this.node.current,"keydown",t=>{"Enter"!==t.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=nm(this.node.current,"keyup",t=>{"Enter"===t.key&&this.checkPressEnd()&&ru("up",(t,e)=>{let{onTap:n}=this.node.getProps();n&&I.postRender(()=>n(t,e))})}),ru("down",(t,e)=>{this.startPress(t,e)}))}),e=nm(this.node.current,"blur",()=>{this.isPressing&&ru("cancel",(t,e)=>this.cancelPress(t,e))});this.removeAccessibleListeners=ey(t,e)}}startPress(t,e){this.isPressing=!0;let{onTapStart:n,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&I.postRender(()=>n(t,e))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;let t=this.node.getProps();return t.whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!nE()}cancelPress(t,e){if(!this.checkPressEnd())return;let{onTapCancel:n}=this.node.getProps();n&&I.postRender(()=>n(t,e))}mount(){let t=this.node.getProps(),e=ng(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),n=nm(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=ey(e,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends nu{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=ey(nm(this.node.current,"focus",()=>this.onFocus()),nm(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends nu{mount(){this.unmount=ey(rl(this.node,!0),rl(this.node,!1))}unmount(){}}},pan:{Feature:class extends nu{constructor(){super(...arguments),this.removePointerDownListener=R.Z}onPointerDown(t){this.session=new nv(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:n2(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:n,onPanEnd:i}=this.node.getProps();return{onSessionStart:n4(t),onStart:n4(e),onMove:n,onEnd:(t,e)=>{delete this.session,i&&I.postRender(()=>i(t,e))}}}mount(){this.removePointerDownListener=ng(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends nu{constructor(t){super(t),this.removeGroupControls=R.Z,this.removeListeners=R.Z,this.controls=new n3(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||R.Z}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:ra,MeasureLayout:iu},layout:{ProjectionNode:ra,MeasureLayout:iu}},P=(t,e)=>rM(t)?new sn(e):new se(e,{allowProjection:t!==n8.Fragment}),function(t,{forwardMotionProps:e}={forwardMotionProps:!1}){let n=rM(t)?rZ:rG,i={...n,preloadedFeatures:M,useRender:function(t=!1){return(e,n,i,{latestValues:r},s)=>{let o=rM(e)?r2:r_,a=o(n,r,s,e),l=function(t,e,n){let i={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&(r1(r)||!0===n&&r0(r)||!e&&!r0(r)||t.draggable&&r.startsWith("onDrag"))&&(i[r]=t[r]);return i}(n,"string"==typeof e,t),h=e!==n8.Fragment?{...l,...a,ref:i}:{},{children:u}=n,c=(0,n8.useMemo)(()=>nt(u)?u.get():u,[u]);return(0,n8.createElement)(e,{...h,children:c})}}(e),createVisualElement:P,Component:t};return function({preloadedFeatures:t,createVisualElement:e,useRender:n,useVisualState:i,Component:r}){t&&function(t){for(let e in t)rT[e]={...rT[e],...t[e]}}(t);let s=(0,n8.forwardRef)(function(t,s){var o;let l;let h={...(0,n8.useContext)(rg._),...t,layoutId:function({layoutId:t}){let e=(0,n8.useContext)(it.p).id;return e&&void 0!==t?e+"-"+t:t}(t)},{isStatic:u}=h,c=function(t){let{initial:e,animate:n}=function(t,e){if(rw(t)){let{initial:e,animate:n}=t;return{initial:!1===e||a(e)?e:void 0,animate:a(n)?n:void 0}}return!1!==t.inherit?e:{}}(t,(0,n8.useContext)(ry));return(0,n8.useMemo)(()=>({initial:e,animate:n}),[rk(e),rk(n)])}(t),p=i(t,u);if(!u&&rC.j){(0,n8.useContext)(rx).strict;let t=function(t){let{drag:e,layout:n}=rT;if(!e&&!n)return{};let i={...e,...n};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==n?void 0:n.isEnabled(t))?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}(h);l=t.MeasureLayout,c.visualElement=function(t,e,n,i,r){var s,o;let{visualElement:a}=(0,n8.useContext)(ry),l=(0,n8.useContext)(rx),h=(0,n8.useContext)(n7.O),u=(0,n8.useContext)(rg._).reducedMotion,c=(0,n8.useRef)();i=i||l.renderer,!c.current&&i&&(c.current=i(t,{visualState:e,parent:a,props:n,presenceContext:h,blockInitialAnimation:!!h&&!1===h.initial,reducedMotionConfig:u}));let p=c.current,d=(0,n8.useContext)(ie);p&&!p.projection&&r&&("html"===p.type||"svg"===p.type)&&function(t,e,n,i){let{layoutId:r,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:h}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:r,layout:s,alwaysMeasureLayout:!!o||a&&nM(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:i,layoutScroll:l,layoutRoot:h})}(c.current,n,r,d),(0,n8.useInsertionEffect)(()=>{p&&p.update(n,h)});let f=n[e7],m=(0,n8.useRef)(!!f&&!(null===(s=window.MotionHandoffIsComplete)||void 0===s?void 0:s.call(window,f))&&(null===(o=window.MotionHasOptimisedAnimation)||void 0===o?void 0:o.call(window,f)));return(0,rv.L)(()=>{p&&(window.MotionIsMounted=!0,p.updateFeatures(),ia.render(p.render),m.current&&p.animationState&&p.animationState.animateChanges())}),(0,n8.useEffect)(()=>{p&&(!m.current&&p.animationState&&p.animationState.animateChanges(),m.current&&(queueMicrotask(()=>{var t;null===(t=window.MotionHandoffMarkAsComplete)||void 0===t||t.call(window,f)}),m.current=!1))}),p}(r,p,h,e,t.ProjectionNode)}return(0,n6.jsxs)(ry.Provider,{value:c,children:[l&&c.visualElement?(0,n6.jsx)(l,{visualElement:c.visualElement,...h}):null,n(r,t,(o=c.visualElement,(0,n8.useCallback)(t=>{t&&p.mount&&p.mount(t),o&&(t?o.mount(t):o.unmount()),s&&("function"==typeof s?s(t):nM(s)&&(s.current=t))},[o])),p,u,c.visualElement)]})});return s[rA]=r,s}(i)}),sr=function(t){if("undefined"==typeof Proxy)return t;let e=new Map;return new Proxy((...e)=>t(...e),{get:(n,i)=>"create"===i?t:(e.has(i)||e.set(i,t(i)),e.get(i))})}(si)},59700:function(t,e,n){n.d(e,{K:function(){return r},k:function(){return s}});var i=n(58559);let r=i.Z,s=i.Z},80926:function(t,e,n){n.d(e,{j:function(){return i}});let i="undefined"!=typeof window},58559:function(t,e,n){n.d(e,{Z:function(){return i}});let i=t=>t},78118:function(t,e,n){n.d(e,{h:function(){return r}});var i=n(3546);function r(t){let e=(0,i.useRef)(null);return null===e.current&&(e.current=t()),e.current}},10604:function(t,e,n){n.d(e,{L:function(){return s}});var i=n(3546),r=n(80926);let s=r.j?i.useLayoutEffect:i.useEffect},1683:function(t,e,n){n.d(e,{Ig:function(){return S},MI:function(){return w},N0:function(){return M},NE:function(){return a},QK:function(){return b},U9:function(){return O},X0:function(){return E},Y_:function(){return y},_M:function(){return f},al:function(){return h},cR:function(){return c},mD:function(){return A},nw:function(){return D},o:function(){return v},rr:function(){return u},uJ:function(){return N},uo:function(){return C},xb:function(){return k},ym:function(){return I}});var i,r=n(70484),s=n(17824),o=n(10155);let a=(t,e)=>!t.selection.empty&&(e&&e(t.tr.deleteSelection().scrollIntoView()),!0);function l(t,e){let{$cursor:n}=t.selection;return n&&(e?e.endOfTextblock("backward",t):!(n.parentOffset>0))?n:null}let h=(t,e,n)=>{let i=l(t,n);if(!i)return!1;let a=m(i);if(!a){let n=i.blockRange(),s=n&&(0,r.k9)(n);return null!=s&&(e&&e(t.tr.lift(n,s).scrollIntoView()),!0)}let h=a.nodeBefore;if(P(t,a,e,-1))return!0;if(0==i.parent.content.size&&(d(h,"end")||o.qv.isSelectable(h)))for(let n=i.depth;;n--){let l=(0,r.dR)(t.doc,i.before(n),i.after(n),s.p2.empty);if(l&&l.slice.size1)break}return!!h.isAtom&&a.depth==i.depth-1&&(e&&e(t.tr.delete(a.pos-h.nodeSize,a.pos).scrollIntoView()),!0)},u=(t,e,n)=>{let i=l(t,n);if(!i)return!1;let r=m(i);return!!r&&p(t,r,e)},c=(t,e,n)=>{let i=g(t,n);if(!i)return!1;let r=x(i);return!!r&&p(t,r,e)};function p(t,e,n){let i=e.nodeBefore,a=e.pos-1;for(;!i.isTextblock;a--){if(i.type.spec.isolating)return!1;let t=i.lastChild;if(!t)return!1;i=t}let l=e.nodeAfter,h=e.pos+1;for(;!l.isTextblock;h++){if(l.type.spec.isolating)return!1;let t=l.firstChild;if(!t)return!1;l=t}let u=(0,r.dR)(t.doc,a,h,s.p2.empty);if(!u||u.from!=a||u instanceof r.Pu&&u.slice.size>=h-a)return!1;if(n){let e=t.tr.step(u);e.setSelection(o.Bs.create(e.doc,a)),n(e.scrollIntoView())}return!0}function d(t,e,n=!1){for(let i=t;i;i="start"==e?i.firstChild:i.lastChild){if(i.isTextblock)return!0;if(n&&1!=i.childCount)break}return!1}let f=(t,e,n)=>{let{$head:i,empty:r}=t.selection,s=i;if(!r)return!1;if(i.parent.isTextblock){if(n?!n.endOfTextblock("backward",t):i.parentOffset>0)return!1;s=m(i)}let a=s&&s.nodeBefore;return!!(a&&o.qv.isSelectable(a))&&(e&&e(t.tr.setSelection(o.qv.create(t.doc,s.pos-a.nodeSize)).scrollIntoView()),!0)};function m(t){if(!t.parent.type.spec.isolating)for(let e=t.depth-1;e>=0;e--){if(t.index(e)>0)return t.doc.resolve(t.before(e+1));if(t.node(e).type.spec.isolating)break}return null}function g(t,e){let{$cursor:n}=t.selection;return n&&(e?e.endOfTextblock("forward",t):!(n.parentOffset{let i=g(t,n);if(!i)return!1;let a=x(i);if(!a)return!1;let l=a.nodeAfter;if(P(t,a,e,1))return!0;if(0==i.parent.content.size&&(d(l,"start")||o.qv.isSelectable(l))){let n=(0,r.dR)(t.doc,i.before(),i.after(),s.p2.empty);if(n&&n.slice.size{let{$head:i,empty:r}=t.selection,s=i;if(!r)return!1;if(i.parent.isTextblock){if(n?!n.endOfTextblock("forward",t):i.parentOffset=0;e--){let n=t.node(e);if(t.index(e)+1{let n=t.selection,i=n instanceof o.qv,s;if(i){if(n.node.isTextblock||!(0,r.Mn)(t.doc,n.from))return!1;s=n.from}else if(null==(s=(0,r.GJ)(t.doc,n.from,-1)))return!1;if(e){let n=t.tr.join(s);i&&n.setSelection(o.qv.create(n.doc,s-t.doc.resolve(s).nodeBefore.nodeSize)),e(n.scrollIntoView())}return!0},S=(t,e)=>{let n=t.selection,i;if(n instanceof o.qv){if(n.node.isTextblock||!(0,r.Mn)(t.doc,n.to))return!1;i=n.to}else if(null==(i=(0,r.GJ)(t.doc,n.to,1)))return!1;return e&&e(t.tr.join(i).scrollIntoView()),!0},k=(t,e)=>{let{$from:n,$to:i}=t.selection,s=n.blockRange(i),o=s&&(0,r.k9)(s);return null!=o&&(e&&e(t.tr.lift(s,o).scrollIntoView()),!0)},b=(t,e)=>{let{$head:n,$anchor:i}=t.selection;return!!(n.parent.type.spec.code&&n.sameParent(i))&&(e&&e(t.tr.insertText("\n").scrollIntoView()),!0)};function T(t){for(let e=0;e{let{$head:n,$anchor:i}=t.selection;if(!n.parent.type.spec.code||!n.sameParent(i))return!1;let r=n.node(-1),s=n.indexAfter(-1),a=T(r.contentMatchAt(s));if(!a||!r.canReplaceWith(s,s,a))return!1;if(e){let i=n.after(),r=t.tr.replaceWith(i,i,a.createAndFill());r.setSelection(o.Y1.near(r.doc.resolve(i),1)),e(r.scrollIntoView())}return!0},A=(t,e)=>{let n=t.selection,{$from:i,$to:r}=n;if(n instanceof o.C1||i.parent.inlineContent||r.parent.inlineContent)return!1;let s=T(r.parent.contentMatchAt(r.indexAfter()));if(!s||!s.isTextblock)return!1;if(e){let n=(!i.parentOffset&&r.index(){let{$cursor:n}=t.selection;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){let i=n.before();if((0,r.Ax)(t.doc,i))return e&&e(t.tr.split(i).scrollIntoView()),!0}let i=n.blockRange(),s=i&&(0,r.k9)(i);return null!=s&&(e&&e(t.tr.lift(i,s).scrollIntoView()),!0)},M=(t,e)=>{let{$from:n,to:i}=t.selection,r,s=n.sharedDepth(i);return 0!=s&&(r=n.before(s),e&&e(t.tr.setSelection(o.qv.create(t.doc,r))),!0)};function P(t,e,n,i){let a,l,h,u=e.nodeBefore,c=e.nodeAfter,p,f,m=u.type.spec.isolating||c.type.spec.isolating;if(!m&&(a=e.nodeBefore,l=e.nodeAfter,h=e.index(),a&&l&&a.type.compatibleContent(l.type)&&(!a.content.size&&e.parent.canReplace(h-1,h)?(n&&n(t.tr.delete(e.pos-a.nodeSize,e.pos).scrollIntoView()),!0):!!(e.parent.canReplace(h,h+1)&&(l.isTextblock||(0,r.Mn)(t.doc,e.pos)))&&(n&&n(t.tr.clearIncompatible(e.pos,a.type,a.contentMatchAt(a.childCount)).join(e.pos).scrollIntoView()),!0))))return!0;let g=!m&&e.parent.canReplace(e.index(),e.index()+1);if(g&&(p=(f=u.contentMatchAt(u.childCount)).findWrapping(c.type))&&f.matchType(p[0]||c.type).validEnd){if(n){let i=e.pos+c.nodeSize,o=s.HY.empty;for(let t=p.length-1;t>=0;t--)o=s.HY.from(p[t].create(null,o));o=s.HY.from(u.copy(o));let a=t.tr.step(new r.FC(e.pos-1,i,e.pos,i,new s.p2(o,1,0),p.length,!0)),l=i+2*p.length;(0,r.Mn)(a.doc,l)&&a.join(l),n(a.scrollIntoView())}return!0}let y=c.type.spec.isolating||i>0&&m?null:o.Y1.findFrom(e,1),v=y&&y.$from.blockRange(y.$to),x=v&&(0,r.k9)(v);if(null!=x&&x>=e.depth)return n&&n(t.tr.lift(v,x).scrollIntoView()),!0;if(g&&d(c,"start",!0)&&d(u,"end")){let i=u,o=[];for(;o.push(i),!i.isTextblock;)i=i.lastChild;let a=c,l=1;for(;!a.isTextblock;a=a.firstChild)l++;if(i.canReplace(i.childCount,i.childCount,a.content)){if(n){let i=s.HY.empty;for(let t=o.length-1;t>=0;t--)i=s.HY.from(o[t].copy(i));n(t.tr.step(new r.FC(e.pos-o.length,e.pos+c.nodeSize,e.pos+l,e.pos+c.nodeSize-l,new s.p2(i,o.length,0),0,!0)).scrollIntoView())}return!0}}return!1}function R(t){return function(e,n){let i=e.selection,r=t<0?i.$from:i.$to,s=r.depth;for(;r.node(s).isInline;){if(!s)return!1;s--}return!!r.node(s).isTextblock&&(n&&n(e.tr.setSelection(o.Bs.create(e.doc,t<0?r.start(s):r.end(s)))),!0)}}let O=R(-1),D=R(1);function I(t,e=null){return function(n,i){let{$from:s,$to:o}=n.selection,a=s.blockRange(o),l=a&&(0,r.nd)(a,t,e);return!!l&&(i&&i(n.tr.wrap(a,l).scrollIntoView()),!0)}}function N(t,e=null){return function(n,i){let r=!1;for(let i=0;i{if(r)return!1;if(!(!i.isTextblock||i.hasMarkup(t,e))){if(i.type==t)r=!0;else{let e=n.doc.resolve(s),i=e.index();r=e.parent.canReplaceWith(i,i+1,t)}}})}if(!r)return!1;if(i){let r=n.tr;for(let i=0;i{let{$from:n,$to:s}=t.selection;if(t.selection instanceof o.qv&&t.selection.node.isBlock)return!!(n.parentOffset&&(0,r.Ax)(t.doc,n.pos))&&(e&&e(t.tr.split(n.pos).scrollIntoView()),!0);if(!n.parent.isBlock)return!1;if(e){let a=s.parentOffset==s.parent.content.size,l=t.tr;(t.selection instanceof o.Bs||t.selection instanceof o.C1)&&l.deleteSelection();let h=0==n.depth?null:T(n.node(-1).contentMatchAt(n.indexAfter(-1))),u=i&&i(s.parent,a,n),c=u?[u]:a&&h?[{type:h}]:void 0,p=(0,r.Ax)(l.doc,l.mapping.map(n.pos),1,c);if(!c&&!p&&(0,r.Ax)(l.doc,l.mapping.map(n.pos),1,h?[{type:h}]:void 0)&&(h&&(c=[{type:h}]),p=!0),p&&(l.split(l.mapping.map(n.pos),1,c),!a&&!n.parentOffset&&n.parent.type!=h)){let t=l.mapping.map(n.before()),e=l.doc.resolve(t);h&&n.node(-1).canReplaceWith(e.index(),e.index()+1,h)&&l.setNodeMarkup(l.mapping.map(n.before()),h)}e(l.scrollIntoView())}return!0}),"Mod-Enter":C,Backspace:F,"Mod-Backspace":F,"Shift-Backspace":F,Delete:z,"Mod-Delete":z,"Mod-a":(t,e)=>(e&&e(t.tr.setSelection(new o.C1(t.doc))),!0)},j={"Ctrl-h":B.Backspace,"Alt-Backspace":B["Mod-Backspace"],"Ctrl-d":B.Delete,"Ctrl-Alt-Backspace":B["Mod-Delete"],"Alt-Delete":B["Mod-Delete"],"Alt-d":B["Mod-Delete"],"Ctrl-a":O,"Ctrl-e":D};for(let t in B)j[t]=B[t];"undefined"!=typeof navigator?/Mac|iP(hone|[oa]d)/.test(navigator.platform):"undefined"!=typeof os&&os.platform&&os.platform()},98668:function(t,e,n){n.d(e,{h:function(){return a}});var i=n(21987),r=n(10155);let s="undefined"!=typeof navigator&&/Mac|iP(hone|[oa]d)/.test(navigator.platform);function o(t,e,n=!0){return e.altKey&&(t="Alt-"+t),e.ctrlKey&&(t="Ctrl-"+t),e.metaKey&&(t="Meta-"+t),n&&e.shiftKey&&(t="Shift-"+t),t}function a(t){let e;return new r.Sy({props:{handleKeyDown:(e=function(t){let e=Object.create(null);for(let n in t)e[function(t){let e,n,i,r,o=t.split(/-(?!$)/),a=o[o.length-1];"Space"==a&&(a=" ");for(let t=0;t127)&&(s=i.ue[n.keyCode])&&s!=r){let i=e[o(s,n)];if(i&&i(t.state,t.dispatch,t))return!0}}return!1})}})}},17824:function(t,e,n){function i(t){this.content=t}n.d(e,{aw:function(){return L},PW:function(){return Z},HY:function(){return r},vc:function(){return l},ZU:function(){return z},NB:function(){return b},Ts:function(){return S},e4:function(){return h},V_:function(){return B},p2:function(){return u}}),i.prototype={constructor:i,find:function(t){for(var e=0;e>1}},i.from=function(t){if(t instanceof i)return t;var e=[];if(t)for(var n in t)e.push(n,t[n]);return new i(e)};class r{constructor(t,e){if(this.content=t,this.size=e||0,null==e)for(let e=0;et&&!1!==n(a,i+o,r||null,s)&&a.content.size){let r=o+1;a.nodesBetween(Math.max(0,t-r),Math.min(a.content.size,e-r),n,i+r)}o=l}}descendants(t){this.nodesBetween(0,this.size,t)}textBetween(t,e,n,i){let r="",s=!0;return this.nodesBetween(t,e,(o,a)=>{let l=o.isText?o.text.slice(Math.max(t,a)-a,e-a):o.isLeaf?i?"function"==typeof i?i(o):i:o.type.spec.leafText?o.type.spec.leafText(o):"":"";o.isBlock&&(o.isLeaf&&l||o.isTextblock)&&n&&(s?s=!1:r+=n),r+=l},0),r}append(t){if(!t.size)return this;if(!this.size)return t;let e=this.lastChild,n=t.firstChild,i=this.content.slice(),s=0;for(e.isText&&e.sameMarkup(n)&&(i[i.length-1]=e.withText(e.text+n.text),s=1);st)for(let r=0,s=0;st&&((se)&&(o=o.isText?o.cut(Math.max(0,t-s),Math.min(o.text.length,e-s)):o.cut(Math.max(0,t-s-1),Math.min(o.content.size,e-s-1))),n.push(o),i+=o.nodeSize),s=a}return new r(n,i)}cutByIndex(t,e){return t==e?r.empty:0==t&&e==this.content.length?this:new r(this.content.slice(t,e))}replaceChild(t,e){let n=this.content[t];if(n==e)return this;let i=this.content.slice(),s=this.size+e.nodeSize-n.nodeSize;return i[t]=e,new r(i,s)}addToStart(t){return new r([t].concat(this.content),this.size+t.nodeSize)}addToEnd(t){return new r(this.content.concat(t),this.size+t.nodeSize)}eq(t){if(this.content.length!=t.content.length)return!1;for(let e=0;ethis.size||t<0)throw RangeError(`Position ${t} outside of fragment (${this})`);for(let n=0,i=0;;n++){let r=i+this.child(n).nodeSize;if(r>=t){if(r==t||e>0)return o(n+1,r);return o(n,i)}i=r}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(t=>t.toJSON()):null}static fromJSON(t,e){if(!e)return r.empty;if(!Array.isArray(e))throw RangeError("Invalid input for Fragment.fromJSON");return new r(e.map(t.nodeFromJSON))}static fromArray(t){if(!t.length)return r.empty;let e,n=0;for(let i=0;ithis.type.rank&&(e||(e=t.slice(0,i)),e.push(this),n=!0),e&&e.push(r)}}return e||(e=t.slice()),n||e.push(this),e}removeFromSet(t){for(let e=0;et.type.rank-e.type.rank),e}}l.none=[];class h extends Error{}class u{constructor(t,e,n){this.content=t,this.openStart=e,this.openEnd=n}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(t,e){let n=function t(e,n,i,r){let{index:s,offset:o}=e.findIndex(n),a=e.maybeChild(s);if(o==n||a.isText)return r&&!r.canReplace(s,s,i)?null:e.cut(0,n).append(i).append(e.cut(n));let l=t(a.content,n-o-1,i);return l&&e.replaceChild(s,a.copy(l))}(this.content,t+this.openStart,e);return n&&new u(n,this.openStart,this.openEnd)}removeBetween(t,e){return new u(function t(e,n,i){let{index:r,offset:s}=e.findIndex(n),o=e.maybeChild(r),{index:a,offset:l}=e.findIndex(i);if(s==n||o.isText){if(l!=i&&!e.child(a).isText)throw RangeError("Removing non-flat range");return e.cut(0,n).append(e.cut(i))}if(r!=a)throw RangeError("Removing non-flat range");return e.replaceChild(r,o.copy(t(o.content,n-s-1,i-s-1)))}(this.content,t+this.openStart,e+this.openStart),this.openStart,this.openEnd)}eq(t){return this.content.eq(t.content)&&this.openStart==t.openStart&&this.openEnd==t.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let t={content:this.content.toJSON()};return this.openStart>0&&(t.openStart=this.openStart),this.openEnd>0&&(t.openEnd=this.openEnd),t}static fromJSON(t,e){if(!e)return u.empty;let n=e.openStart||0,i=e.openEnd||0;if("number"!=typeof n||"number"!=typeof i)throw RangeError("Invalid input for Slice.fromJSON");return new u(r.fromJSON(t,e.content),n,i)}static maxOpen(t,e=!0){let n=0,i=0;for(let i=t.firstChild;i&&!i.isLeaf&&(e||!i.type.spec.isolating);i=i.firstChild)n++;for(let n=t.lastChild;n&&!n.isLeaf&&(e||!n.type.spec.isolating);n=n.lastChild)i++;return new u(t,n,i)}}function c(t,e){if(!e.type.compatibleContent(t.type))throw new h("Cannot join "+e.type.name+" onto "+t.type.name)}function p(t,e,n){let i=t.node(n);return c(i,e.node(n)),i}function d(t,e){let n=e.length-1;n>=0&&t.isText&&t.sameMarkup(e[n])?e[n]=t.withText(e[n].text+t.text):e.push(t)}function f(t,e,n,i){let r=(e||t).node(n),s=0,o=e?e.index(n):r.childCount;t&&(s=t.index(n),t.depth>n?s++:t.textOffset&&(d(t.nodeAfter,i),s++));for(let t=s;tn&&d(m(p(t,e,n+1),g(t,e,n+1)),i),f(e,null,n,i),new r(i)}u.empty=new u(r.empty,0,0);class y{constructor(t,e,n){this.pos=t,this.path=e,this.parentOffset=n,this.depth=e.length/3-1}resolveDepth(t){return null==t?this.depth:t<0?this.depth+t:t}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(t){return this.path[3*this.resolveDepth(t)]}index(t){return this.path[3*this.resolveDepth(t)+1]}indexAfter(t){return t=this.resolveDepth(t),this.index(t)+(t!=this.depth||this.textOffset?1:0)}start(t){return 0==(t=this.resolveDepth(t))?0:this.path[3*t-1]+1}end(t){return t=this.resolveDepth(t),this.start(t)+this.node(t).content.size}before(t){if(!(t=this.resolveDepth(t)))throw RangeError("There is no position before the top-level node");return t==this.depth+1?this.pos:this.path[3*t-1]}after(t){if(!(t=this.resolveDepth(t)))throw RangeError("There is no position after the top-level node");return t==this.depth+1?this.pos:this.path[3*t-1]+this.path[3*t].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let t=this.parent,e=this.index(this.depth);if(e==t.childCount)return null;let n=this.pos-this.path[this.path.length-1],i=t.child(e);return n?t.child(e).cut(n):i}get nodeBefore(){let t=this.index(this.depth),e=this.pos-this.path[this.path.length-1];return e?this.parent.child(t).cut(0,e):0==t?null:this.parent.child(t-1)}posAtIndex(t,e){e=this.resolveDepth(e);let n=this.path[3*e],i=0==e?0:this.path[3*e-1]+1;for(let e=0;e0;e--)if(this.start(e)<=t&&this.end(e)>=t)return e;return 0}blockRange(t=this,e){if(t.pos=0;n--)if(t.pos<=this.end(n)&&(!e||e(this.node(n))))return new S(this,t,n);return null}sameParent(t){return this.pos-this.parentOffset==t.pos-t.parentOffset}max(t){return t.pos>this.pos?t:this}min(t){return t.pos=0&&e<=t.content.size))throw RangeError("Position "+e+" out of range");let n=[],i=0,r=e;for(let e=t;;){let{index:t,offset:s}=e.content.findIndex(r),o=r-s;if(n.push(e,t,i+s),!o||(e=e.child(t)).isText)break;r=o-1,i+=s+1}return new y(e,n,r)}static resolveCached(t,e){let n=w.get(t);if(n)for(let t=0;tt.depth)throw new h("Inserted content deeper than insertion position");if(t.depth-n.openStart!=e.depth-n.openEnd)throw new h("Inconsistent open depths");return function t(e,n,i,s){let o=e.index(s),a=e.node(s);if(o==n.index(s)&&s=0;t--)i=e.node(t).copy(r.from(i));return{start:i.resolveNoCache(t.openStart+n),end:i.resolveNoCache(i.content.size-t.openEnd-n)}}(i,e);return m(a,function t(e,n,i,s,o){let a=e.depth>o&&p(e,n,o+1),l=s.depth>o&&p(i,s,o+1),h=[];return f(null,e,o,h),a&&l&&n.index(o)==i.index(o)?(c(a,l),d(m(a,t(e,n,i,s,o+1)),h)):(a&&d(m(a,g(e,n,o+1)),h),f(n,i,o,h),l&&d(m(l,g(i,s,o+1)),h)),f(s,null,o,h),new r(h)}(e,t,o,n,s))}{let t=e.parent,r=t.content;return m(t,r.cut(0,e.parentOffset).append(i.content).append(r.cut(n.parentOffset)))}}(t,e,n,0)}(this.resolve(t),this.resolve(e),n)}nodeAt(t){for(let e=this;;){let{index:n,offset:i}=e.content.findIndex(t);if(!(e=e.maybeChild(n)))return null;if(i==t||e.isText)return e;t-=i+1}}childAfter(t){let{index:e,offset:n}=this.content.findIndex(t);return{node:this.content.maybeChild(e),index:e,offset:n}}childBefore(t){if(0==t)return{node:null,index:0,offset:0};let{index:e,offset:n}=this.content.findIndex(t);if(nt&&this.nodesBetween(t,e,t=>(n.isInSet(t.marks)&&(i=!0),!i)),i}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let t=this.type.name;return this.content.size&&(t+="("+this.content.toStringInner()+")"),C(this.marks,t)}contentMatchAt(t){let e=this.type.contentMatch.matchFragment(this.content,0,t);if(!e)throw Error("Called contentMatchAt on a node with invalid content");return e}canReplace(t,e,n=r.empty,i=0,s=n.childCount){let o=this.contentMatchAt(t).matchFragment(n,i,s),a=o&&o.matchFragment(this.content,e);if(!a||!a.validEnd)return!1;for(let t=i;tt.type.name)}`);this.content.forEach(t=>t.check())}toJSON(){let t={type:this.type.name};for(let e in this.attrs){t.attrs=this.attrs;break}return this.content.size&&(t.content=this.content.toJSON()),this.marks.length&&(t.marks=this.marks.map(t=>t.toJSON())),t}static fromJSON(t,e){let n;if(!e)throw RangeError("Invalid input for Node.fromJSON");if(e.marks){if(!Array.isArray(e.marks))throw RangeError("Invalid mark data for Node.fromJSON");n=e.marks.map(t.markFromJSON)}if("text"==e.type){if("string"!=typeof e.text)throw RangeError("Invalid text node in JSON");return t.text(e.text,n)}let i=r.fromJSON(t,e.content),s=t.nodeType(e.type).create(e.attrs,i,n);return s.type.checkAttrs(s.attrs),s}}b.prototype.text=void 0;class T extends b{constructor(t,e,n,i){if(super(t,e,null,i),!n)throw RangeError("Empty text nodes are not allowed");this.text=n}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):C(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(t,e){return this.text.slice(t,e)}get nodeSize(){return this.text.length}mark(t){return t==this.marks?this:new T(this.type,this.attrs,this.text,t)}withText(t){return t==this.text?this:new T(this.type,this.attrs,t,this.marks)}cut(t=0,e=this.text.length){return 0==t&&e==this.text.length?this:this.withText(this.text.slice(t,e))}eq(t){return this.sameMarkup(t)&&this.text==t.text}toJSON(){let t=super.toJSON();return t.text=this.text,t}}function C(t,e){for(let n=t.length-1;n>=0;n--)e=t[n].type.name+"("+e+")";return e}class A{constructor(t){this.validEnd=t,this.next=[],this.wrapCache=[]}static parse(t,e){var n;let i,r=new E(t,e);if(null==r.next)return A.empty;let s=function t(e){let n=[];do n.push(function(e){let n=[];do n.push(function(e){let n=function(e){if(e.eat("(")){let n=t(e);return e.eat(")")||e.err("Missing closing paren"),n}if(/\W/.test(e.next))e.err("Unexpected token '"+e.next+"'");else{let t=(function(t,e){let n=t.nodeTypes,i=n[e];if(i)return[i];let r=[];for(let t in n){let i=n[t];i.groups.indexOf(e)>-1&&r.push(i)}return 0==r.length&&t.err("No node type or group '"+e+"' found"),r})(e,e.next).map(t=>(null==e.inline?e.inline=t.isInline:e.inline!=t.isInline&&e.err("Mixing inline and block content"),{type:"name",value:t}));return e.pos++,1==t.length?t[0]:{type:"choice",exprs:t}}}(e);for(;;)if(e.eat("+"))n={type:"plus",expr:n};else if(e.eat("*"))n={type:"star",expr:n};else if(e.eat("?"))n={type:"opt",expr:n};else if(e.eat("{"))n=function(t,e){let n=M(t),i=n;return t.eat(",")&&(i="}"!=t.next?M(t):-1),t.eat("}")||t.err("Unclosed braced range"),{type:"range",min:n,max:i,expr:e}}(e,n);else break;return n}(e));while(e.next&&")"!=e.next&&"|"!=e.next);return 1==n.length?n[0]:{type:"seq",exprs:n}}(e));while(e.eat("|"));return 1==n.length?n[0]:{type:"choice",exprs:n}}(r);r.next&&r.err("Unexpected trailing text");let o=(n=function(t){let e=[[]];return r(function t(e,s){if("choice"==e.type)return e.exprs.reduce((e,n)=>e.concat(t(n,s)),[]);if("seq"==e.type)for(let i=0;;i++){let o=t(e.exprs[i],s);if(i==e.exprs.length-1)return o;r(o,s=n())}else if("star"==e.type){let o=n();return i(s,o),r(t(e.expr,o),o),[i(o)]}else if("plus"==e.type){let o=n();return r(t(e.expr,s),o),r(t(e.expr,o),o),[i(o)]}else if("opt"==e.type)return[i(s)].concat(t(e.expr,s));else if("range"==e.type){let o=s;for(let i=0;it.to=e)}}(s),i=Object.create(null),function t(e){let r=[];e.forEach(t=>{n[t].forEach(({term:t,to:e})=>{let i;if(t){for(let e=0;e{i||r.push([t,i=[]]),-1==i.indexOf(e)&&i.push(e)})}})});let s=i[e.join(",")]=new A(e.indexOf(n.length-1)>-1);for(let e=0;et.createAndFill()));for(let t=0;t=this.next.length)throw RangeError(`There's no ${t}th edge in this content match`);return this.next[t]}toString(){let t=[];return!function e(n){t.push(n);for(let i=0;i{let i=n+(e.validEnd?"*":" ")+" ";for(let n=0;n"+t.indexOf(e.next[n].next);return i}).join("\n")}}A.empty=new A(!0);class E{constructor(t,e){this.string=t,this.nodeTypes=e,this.inline=null,this.pos=0,this.tokens=t.split(/\s*(?=\b|\W|$)/),""==this.tokens[this.tokens.length-1]&&this.tokens.pop(),""==this.tokens[0]&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(t){return this.next==t&&(this.pos++||!0)}err(t){throw SyntaxError(t+" (in content expression '"+this.string+"')")}}function M(t){/\D/.test(t.next)&&t.err("Expected number, got '"+t.next+"'");let e=Number(t.next);return t.pos++,e}function P(t,e){return e-t}function R(t,e){let n=[];return function e(i){let r=t[i];if(1==r.length&&!r[0].term)return e(r[0].to);n.push(i);for(let t=0;t-1}allowsMarks(t){if(null==this.markSet)return!0;for(let e=0;en[t]=new V(t,e,i));let i=e.spec.topNode||"doc";if(!n[i])throw RangeError("Schema is missing its top node type ('"+i+"')");if(!n.text)throw RangeError("Every schema needs a 'text' type");for(let t in n.text.attrs)throw RangeError("The text node type should not have attributes");return n}}class F{constructor(t,e,n){let i;this.hasDefault=Object.prototype.hasOwnProperty.call(n,"default"),this.default=n.default,this.validate="string"==typeof n.validate?(i=n.validate.split("|"),n=>{let r=null===n?"null":typeof n;if(0>i.indexOf(r))throw RangeError(`Expected value of type ${i} for attribute ${e} on type ${t}, got ${r}`)}):n.validate}get isRequired(){return!this.hasDefault}}class z{constructor(t,e,n,i){this.name=t,this.rank=e,this.schema=n,this.spec=i,this.attrs=N(t,i.attrs),this.excluded=null;let r=O(this.attrs);this.instance=r?new l(this,r):null}create(t=null){return!t&&this.instance?this.instance:new l(this,D(this.attrs,t))}static compile(t,e){let n=Object.create(null),i=0;return t.forEach((t,r)=>n[t]=new z(t,i++,e,r)),n}removeFromSet(t){for(var e=0;e-1}}class B{constructor(t){this.linebreakReplacement=null,this.cached=Object.create(null);let e=this.spec={};for(let n in t)e[n]=t[n];e.nodes=i.from(t.nodes),e.marks=i.from(t.marks||{}),this.nodes=V.compile(this.spec.nodes,this),this.marks=z.compile(this.spec.marks,this);let n=Object.create(null);for(let t in this.nodes){if(t in this.marks)throw RangeError(t+" can not be both a node and a mark");let e=this.nodes[t],i=e.spec.content||"",r=e.spec.marks;if(e.contentMatch=n[i]||(n[i]=A.parse(i,this.nodes)),e.inlineContent=e.contentMatch.inlineContent,e.spec.linebreakReplacement){if(this.linebreakReplacement)throw RangeError("Multiple linebreak nodes defined");if(!e.isInline||!e.isLeaf)throw RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=e}e.markSet="_"==r?null:r?j(this,r.split(" ")):""!=r&&e.inlineContent?null:[]}for(let t in this.marks){let e=this.marks[t],n=e.spec.excludes;e.excluded=null==n?[e]:""==n?[]:j(this,n.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(t,e=null,n,i){if("string"==typeof t)t=this.nodeType(t);else if(t instanceof V){if(t.schema!=this)throw RangeError("Node type from different schema used ("+t.name+")")}else throw RangeError("Invalid node type: "+t);return t.createChecked(e,n,i)}text(t,e){let n=this.nodes.text;return new T(n,n.defaultAttrs,t,l.setFrom(e))}mark(t,e){return"string"==typeof t&&(t=this.marks[t]),t.create(e)}nodeFromJSON(t){return b.fromJSON(this,t)}markFromJSON(t){return l.fromJSON(this,t)}nodeType(t){let e=this.nodes[t];if(!e)throw RangeError("Unknown node type: "+t);return e}}function j(t,e){let n=[];for(let i=0;i-1)&&n.push(o=i)}if(!o)throw SyntaxError("Unknown mark type: '"+e[i]+"'")}return n}class L{constructor(t,e){this.schema=t,this.rules=e,this.tags=[],this.styles=[];let n=this.matchedStyles=[];e.forEach(t=>{if(null!=t.tag)this.tags.push(t);else if(null!=t.style){let e=/[^=]*/.exec(t.style)[0];0>n.indexOf(e)&&n.push(e),this.styles.push(t)}}),this.normalizeLists=!this.tags.some(e=>{if(!/^(ul|ol)\b/.test(e.tag)||!e.node)return!1;let n=t.nodes[e.node];return n.contentMatch.matchType(n)})}parse(t,e={}){let n=new H(this,e,!1);return n.addAll(t,l.none,e.from,e.to),n.finish()}parseSlice(t,e={}){let n=new H(this,e,!0);return n.addAll(t,l.none,e.from,e.to),u.maxOpen(n.finish())}matchTag(t,e,n){for(let r=n?this.tags.indexOf(n)+1:0;rt.length)||61==s.charCodeAt(t.length)&&s.slice(t.length+1)==e)){if(i.getAttrs){let t=i.getAttrs(e);if(!1===t)continue;i.attrs=t||void 0}return i}}}static schemaRules(t){let e=[];function n(t){let n=null==t.priority?50:t.priority,i=0;for(;i{n(t=q(t)),t.mark||t.ignore||t.clearMark||(t.mark=e)})}for(let e in t.nodes){let i=t.nodes[e].spec.parseDOM;i&&i.forEach(t=>{n(t=q(t)),t.node||t.ignore||t.mark||(t.node=e)})}return e}static fromSchema(t){return t.cached.domParser||(t.cached.domParser=new L(t,L.schemaRules(t)))}}let $={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},U={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},Y={ol:!0,ul:!0};function W(t,e,n){return null!=e?(e?1:0)|("full"===e?2:0):t&&"pre"==t.whitespace?3:-5&n}class J{constructor(t,e,n,i,r,s){this.type=t,this.attrs=e,this.marks=n,this.solid=i,this.options=s,this.content=[],this.activeMarks=l.none,this.match=r||(4&s?null:t.contentMatch)}findWrapping(t){if(!this.match){if(!this.type)return[];let e=this.type.contentMatch.fillBefore(r.from(t));if(e)this.match=this.type.contentMatch.matchFragment(e);else{let e=this.type.contentMatch,n;return(n=e.findWrapping(t.type))?(this.match=e,n):null}}return this.match.findWrapping(t.type)}finish(t){if(!(1&this.options)){let t=this.content[this.content.length-1],e;t&&t.isText&&(e=/[ \t\r\n\u000c]+$/.exec(t.text))&&(t.text.length==e[0].length?this.content.pop():this.content[this.content.length-1]=t.withText(t.text.slice(0,t.text.length-e[0].length)))}let e=r.from(this.content);return!t&&this.match&&(e=e.append(this.match.fillBefore(r.empty,!0))),this.type?this.type.create(this.attrs,e,this.marks):e}inlineContext(t){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:t.parentNode&&!$.hasOwnProperty(t.parentNode.nodeName.toLowerCase())}}class H{constructor(t,e,n){this.parser=t,this.options=e,this.isOpen=n,this.open=0;let i=e.topNode,r,s=W(null,e.preserveWhitespace,0)|(n?4:0);r=i?new J(i.type,i.attrs,l.none,!0,e.topMatch||i.type.contentMatch,s):n?new J(null,null,l.none,!0,null,s):new J(t.schema.topNodeType,null,l.none,!0,null,s),this.nodes=[r],this.find=e.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(t,e){3==t.nodeType?this.addTextNode(t,e):1==t.nodeType&&this.addElement(t,e)}addTextNode(t,e){let n=t.nodeValue,i=this.top;if(2&i.options||i.inlineContext(t)||/[^ \t\r\n\u000c]/.test(n)){if(1&i.options)n=2&i.options?n.replace(/\r\n?/g,"\n"):n.replace(/\r?\n|\r/g," ");else if(n=n.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(n)&&this.open==this.nodes.length-1){let e=i.content[i.content.length-1],r=t.previousSibling;(!e||r&&"BR"==r.nodeName||e.isText&&/[ \t\r\n\u000c]$/.test(e.text))&&(n=n.slice(1))}n&&this.insertNode(this.parser.schema.text(n),e),this.findInText(t)}else this.findInside(t)}addElement(t,e,n){let i=t.nodeName.toLowerCase(),r;Y.hasOwnProperty(i)&&this.parser.normalizeLists&&function(t){for(let e=t.firstChild,n=null;e;e=e.nextSibling){let t=1==e.nodeType?e.nodeName.toLowerCase():null;t&&Y.hasOwnProperty(t)&&n?(n.appendChild(e),e=n):"li"==t?n=e:t&&(n=null)}}(t);let s=this.options.ruleFromNode&&this.options.ruleFromNode(t)||(r=this.parser.matchTag(t,this,n));if(s?s.ignore:U.hasOwnProperty(i))this.findInside(t),this.ignoreFallback(t,e);else if(!s||s.skip||s.closeParent){s&&s.closeParent?this.open=Math.max(0,this.open-1):s&&s.skip.nodeType&&(t=s.skip);let n,r=this.top,o=this.needsBlock;if($.hasOwnProperty(i))r.content.length&&r.content[0].isInline&&this.open&&(this.open--,r=this.top),n=!0,r.type||(this.needsBlock=!0);else if(!t.firstChild){this.leafFallback(t,e);return}let a=s&&s.skip?e:this.readStyles(t,e);a&&this.addAll(t,a),n&&this.sync(r),this.needsBlock=o}else{let n=this.readStyles(t,e);n&&this.addElementByRule(t,s,n,!1===s.consuming?r:void 0)}}leafFallback(t,e){"BR"==t.nodeName&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(t.ownerDocument.createTextNode("\n"),e)}ignoreFallback(t,e){"BR"!=t.nodeName||this.top.type&&this.top.type.inlineContent||this.findPlace(this.parser.schema.text("-"),e)}readStyles(t,e){let n=t.style;if(n&&n.length)for(let t=0;t!n.clearMark(t)):e.concat(this.parser.schema.marks[n.mark].create(n.attrs)),!1===n.consuming)t=n;else break}}return e}addElementByRule(t,e,n,i){let r,s;if(e.node){if((s=this.parser.schema.nodes[e.node]).isLeaf)this.insertNode(s.create(e.attrs),n)||this.leafFallback(t,n);else{let t=this.enter(s,e.attrs||null,n,e.preserveWhitespace);t&&(r=!0,n=t)}}else{let t=this.parser.schema.marks[e.mark];n=n.concat(t.create(e.attrs))}let o=this.top;if(s&&s.isLeaf)this.findInside(t);else if(i)this.addElement(t,n,i);else if(e.getContent)this.findInside(t),e.getContent(t,this.parser.schema).forEach(t=>this.insertNode(t,n));else{let i=t;"string"==typeof e.contentElement?i=t.querySelector(e.contentElement):"function"==typeof e.contentElement?i=e.contentElement(t):e.contentElement&&(i=e.contentElement),this.findAround(t,i,!0),this.addAll(i,n)}r&&this.sync(o)&&this.open--}addAll(t,e,n,i){let r=n||0;for(let s=n?t.childNodes[n]:t.firstChild,o=null==i?null:t.childNodes[i];s!=o;s=s.nextSibling,++r)this.findAtPoint(t,r),this.addDOM(s,e);this.findAtPoint(t,r)}findPlace(t,e){let n,i;for(let e=this.open;e>=0;e--){let r=this.nodes[e],s=r.findWrapping(t);if(s&&(!n||n.length>s.length)&&(n=s,i=r,!s.length)||r.solid)break}if(!n)return null;this.sync(i);for(let t=0;t(s.type?!s.type.allowsMarkType(e.type):!K(e.type,t))||(a=e.addToSet(a),!1)),this.nodes.push(new J(t,e,a,i,null,o)),this.open++,n}closeExtra(t=!1){let e=this.nodes.length-1;if(e>this.open){for(;e>this.open;e--)this.nodes[e-1].content.push(this.nodes[e].finish(t));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(this.isOpen||this.options.topOpen)}sync(t){for(let e=this.open;e>=0;e--)if(this.nodes[e]==t)return this.open=e,!0;return!1}get currentPos(){this.closeExtra();let t=0;for(let e=this.open;e>=0;e--){let n=this.nodes[e].content;for(let e=n.length-1;e>=0;e--)t+=n[e].nodeSize;e&&t++}return t}findAtPoint(t,e){if(this.find)for(let n=0;n-1)return t.split(/\s*\|\s*/).some(this.matchesContext,this);let e=t.split("/"),n=this.options.context,i=!this.isOpen&&(!n||n.parent.type==this.nodes[0].type),r=-(n?n.depth+1:0)+(i?0:1),s=(t,o)=>{for(;t>=0;t--){let a=e[t];if(""==a){if(t==e.length-1||0==t)continue;for(;o>=r;o--)if(s(t-1,o))return!0;return!1}{let t=o>0||0==o&&i?this.nodes[o].type:n&&o>=r?n.node(o-r).type:null;if(!t||t.name!=a&&-1==t.groups.indexOf(a))return!1;o--}}return!0};return s(e.length-1,this.open)}textblockFromContext(){let t=this.options.context;if(t)for(let e=t.depth;e>=0;e--){let n=t.node(e).contentMatchAt(t.indexAfter(e)).defaultType;if(n&&n.isTextblock&&n.defaultAttrs)return n}for(let t in this.parser.schema.nodes){let e=this.parser.schema.nodes[t];if(e.isTextblock&&e.defaultAttrs)return e}}}function q(t){let e={};for(let n in t)e[n]=t[n];return e}function K(t,e){let n=e.schema.nodes;for(let i in n){let r=n[i];if(!r.allowsMarkType(t))continue;let s=[],o=t=>{s.push(t);for(let n=0;ns.indexOf(r)&&o(r))return!0}};if(o(r.contentMatch))return!0}}class Z{constructor(t,e){this.nodes=t,this.marks=e}serializeFragment(t,e={},n){n||(n=X(e).createDocumentFragment());let i=n,r=[];return t.forEach(t=>{if(r.length||t.marks.length){let n=0,s=0;for(;n=0;i--){let r=this.serializeMark(t.marks[i],t.isInline,e);r&&((r.contentDOM||r.dom).appendChild(n),n=r.dom)}return n}serializeMark(t,e,n={}){let i=this.marks[t.type.name];return i&&Q(X(n),i(t,e),null,t.attrs)}static renderSpec(t,e,n=null,i){return Q(t,e,n,i)}static fromSchema(t){return t.cached.domSerializer||(t.cached.domSerializer=new Z(this.nodesFromSchema(t),this.marksFromSchema(t)))}static nodesFromSchema(t){let e=G(t.nodes);return e.text||(e.text=t=>t.text),e}static marksFromSchema(t){return G(t.marks)}}function G(t){let e={};for(let n in t){let i=t[n].spec.toDOM;i&&(e[n]=i)}return e}function X(t){return t.document||window.document}let _=new WeakMap;function Q(t,e,n,i){let r,s,o;if("string"==typeof e)return{dom:t.createTextNode(e)};if(null!=e.nodeType)return{dom:e};if(e.dom&&null!=e.dom.nodeType)return e;let a=e[0],l;if("string"!=typeof a)throw RangeError("Invalid array passed to renderSpec");if(i&&(void 0===(s=_.get(i))&&_.set(i,(o=null,function t(e){if(e&&"object"==typeof e){if(Array.isArray(e)){if("string"==typeof e[0])o||(o=[]),o.push(e);else for(let n=0;n-1)throw RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");let h=a.indexOf(" ");h>0&&(n=a.slice(0,h),a=a.slice(h+1));let u=n?t.createElementNS(n,a):t.createElement(a),c=e[1],p=1;if(c&&"object"==typeof c&&null==c.nodeType&&!Array.isArray(c)){for(let t in p=2,c)if(null!=c[t]){let e=t.indexOf(" ");e>0?u.setAttributeNS(t.slice(0,e),t.slice(e+1),c[t]):u.setAttribute(t,c[t])}}for(let s=p;sp)throw RangeError("Content hole must be the only child of its parent node");return{dom:u,contentDOM:u}}{let{dom:e,contentDOM:s}=Q(t,o,n,i);if(u.appendChild(e),s){if(r)throw RangeError("Multiple content holes");r=s}}}return{dom:u,contentDOM:r}}},68205:function(t,e,n){n.d(e,{IB:function(){return o},KI:function(){return s},bw:function(){return a}});var i=n(70484),r=n(17824);function s(t,e=null){return function(n,s){let{$from:o,$to:a}=n.selection,l=o.blockRange(a),h=!1,u=l;if(!l)return!1;if(l.depth>=2&&o.node(l.depth-1).type.compatibleContent(t)&&0==l.startIndex){if(0==o.index(l.depth-1))return!1;let t=n.doc.resolve(l.start-2);u=new r.Ts(t,t,l.depth),l.endIndex=0;t--)a=r.HY.from(n[t].type.create(n[t].attrs,a));t.step(new i.FC(e.start-(s?2:0),e.end,e.start,e.end,new r.p2(a,0,0),n.length,!0));let l=0;for(let t=0;te.childCount>0&&e.firstChild.type==t);return!!a&&(!n||(s.node(a.depth-1).type==t?function(t,e,n,s){let o=t.tr,a=s.end,l=s.$to.end(s.depth);ai;e--)t-=o.child(e).nodeSize,s.delete(t-1,t+1);let a=s.doc.resolve(n.start),l=a.nodeAfter;if(s.mapping.map(n.end)!=n.start+a.nodeAfter.nodeSize)return!1;let h=0==n.startIndex,u=n.endIndex==o.childCount,c=a.node(-1),p=a.index(-1);if(!c.canReplace(p+(h?0:1),p+1,l.content.append(u?r.HY.empty:r.HY.from(o))))return!1;let d=a.pos,f=d+l.nodeSize;return s.step(new i.FC(d-(h?1:0),f+(u?1:0),d+1,f-1,new r.p2((h?r.HY.empty:r.HY.from(o.copy(r.HY.empty))).append(u?r.HY.empty:r.HY.from(o.copy(r.HY.empty))),h?0:1,u?0:1),h?0:1)),e(s.scrollIntoView()),!0}(e,n,a)))}}function a(t){return function(e,n){let{$from:s,$to:o}=e.selection,a=s.blockRange(o,e=>e.childCount>0&&e.firstChild.type==t);if(!a)return!1;let l=a.startIndex;if(0==l)return!1;let h=a.parent,u=h.child(l-1);if(u.type!=t)return!1;if(n){let s=u.lastChild&&u.lastChild.type==h.type,o=r.HY.from(s?t.create():null),l=new r.p2(r.HY.from(t.create(null,r.HY.from(h.type.create(null,o)))),s?3:1,0),c=a.start,p=a.end;n(e.tr.step(new i.FC(c-(s?3:1),p,c,p,l,1,!0)).scrollIntoView())}return!0}}},10155:function(t,e,n){n.d(e,{Bs:function(){return u},C1:function(){return f},H$:function(){return E},Sy:function(){return T},Y1:function(){return o},qv:function(){return p},yy:function(){return b}});var i=n(17824),r=n(70484);let s=Object.create(null);class o{constructor(t,e,n){this.$anchor=t,this.$head=e,this.ranges=n||[new a(t.min(e),t.max(e))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let t=this.ranges;for(let e=0;e=0;i--){let r=e<0?g(t.node(0),t.node(i),t.before(i+1),t.index(i),e,n):g(t.node(0),t.node(i),t.after(i+1),t.index(i)+1,e,n);if(r)return r}return null}static near(t,e=1){return this.findFrom(t,e)||this.findFrom(t,-e)||new f(t.node(0))}static atStart(t){return g(t,t,0,0,1)||new f(t)}static atEnd(t){return g(t,t,t.content.size,t.childCount,-1)||new f(t)}static fromJSON(t,e){if(!e||!e.type)throw RangeError("Invalid input for Selection.fromJSON");let n=s[e.type];if(!n)throw RangeError(`No selection type ${e.type} defined`);return n.fromJSON(t,e)}static jsonID(t,e){if(t in s)throw RangeError("Duplicate use of selection JSON ID "+t);return s[t]=e,e.prototype.jsonID=t,e}getBookmark(){return u.between(this.$anchor,this.$head).getBookmark()}}o.prototype.visible=!0;class a{constructor(t,e){this.$from=t,this.$to=e}}let l=!1;function h(t){l||t.parent.inlineContent||(l=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+t.parent.type.name+")"))}class u extends o{constructor(t,e=t){h(t),h(e),super(t,e)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(t,e){let n=t.resolve(e.map(this.head));if(!n.parent.inlineContent)return o.near(n);let i=t.resolve(e.map(this.anchor));return new u(i.parent.inlineContent?i:n,n)}replace(t,e=i.p2.empty){if(super.replace(t,e),e==i.p2.empty){let e=this.$from.marksAcross(this.$to);e&&t.ensureMarks(e)}}eq(t){return t instanceof u&&t.anchor==this.anchor&&t.head==this.head}getBookmark(){return new c(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(t,e){if("number"!=typeof e.anchor||"number"!=typeof e.head)throw RangeError("Invalid input for TextSelection.fromJSON");return new u(t.resolve(e.anchor),t.resolve(e.head))}static create(t,e,n=e){let i=t.resolve(e);return new this(i,n==e?i:t.resolve(n))}static between(t,e,n){let i=t.pos-e.pos;if((!n||i)&&(n=i>=0?1:-1),!e.parent.inlineContent){let t=o.findFrom(e,n,!0)||o.findFrom(e,-n,!0);if(!t)return o.near(e,n);e=t.$head}return t.parent.inlineContent||(0==i?t=e:(t=(o.findFrom(t,-n,!0)||o.findFrom(t,n,!0)).$anchor).posnew f(t)};function g(t,e,n,i,r,s=!1){if(e.inlineContent)return u.create(t,n);for(let o=i-(r>0?0:1);r>0?o=0;o+=r){let i=e.child(o);if(i.isAtom){if(!s&&p.isSelectable(i))return p.create(t,n-(r<0?i.nodeSize:0))}else{let e=g(t,i,n+r,r<0?i.childCount:0,r,s);if(e)return e}n+=i.nodeSize*r}return null}function y(t,e,n){let i,s=t.steps.length-1;if(s{null==i&&(i=r)}),t.setSelection(o.near(t.doc.resolve(i),n)))}class v extends r.wx{constructor(t){super(t.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=t.selection,this.storedMarks=t.storedMarks}get selection(){return this.curSelectionFor0}setStoredMarks(t){return this.storedMarks=t,this.updated|=2,this}ensureMarks(t){return i.vc.sameSet(this.storedMarks||this.selection.$from.marks(),t)||this.setStoredMarks(t),this}addStoredMark(t){return this.ensureMarks(t.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(t){return this.ensureMarks(t.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(2&this.updated)>0}addStep(t,e){super.addStep(t,e),this.updated=-3&this.updated,this.storedMarks=null}setTime(t){return this.time=t,this}replaceSelection(t){return this.selection.replace(this,t),this}replaceSelectionWith(t,e=!0){let n=this.selection;return e&&(t=t.mark(this.storedMarks||(n.empty?n.$from.marks():n.$from.marksAcross(n.$to)||i.vc.none))),n.replaceWith(this,t),this}deleteSelection(){return this.selection.replace(this),this}insertText(t,e,n){let i=this.doc.type.schema;if(null==e)return t?this.replaceSelectionWith(i.text(t),!0):this.deleteSelection();{if(null==n&&(n=e),n=null==n?e:n,!t)return this.deleteRange(e,n);let r=this.storedMarks;if(!r){let t=this.doc.resolve(e);r=n==e?t.marks():t.marksAcross(this.doc.resolve(n))}return this.replaceRangeWith(e,n,i.text(t,r)),this.selection.empty||this.setSelection(o.near(this.selection.$to)),this}}setMeta(t,e){return this.meta["string"==typeof t?t:t.key]=e,this}getMeta(t){return this.meta["string"==typeof t?t:t.key]}get isGeneric(){for(let t in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=4,this}get scrolledIntoView(){return(4&this.updated)>0}}function x(t,e){return e&&t?t.bind(e):t}class w{constructor(t,e,n){this.name=t,this.init=x(e.init,n),this.apply=x(e.apply,n)}}let S=[new w("doc",{init:t=>t.doc||t.schema.topNodeType.createAndFill(),apply:t=>t.doc}),new w("selection",{init:(t,e)=>t.selection||o.atStart(e.doc),apply:t=>t.selection}),new w("storedMarks",{init:t=>t.storedMarks||null,apply:(t,e,n,i)=>i.selection.$cursor?t.storedMarks:null}),new w("scrollToSelection",{init:()=>0,apply:(t,e)=>t.scrolledIntoView?e+1:e})];class k{constructor(t,e){this.schema=t,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=S.slice(),e&&e.forEach(t=>{if(this.pluginsByKey[t.key])throw RangeError("Adding different instances of a keyed plugin ("+t.key+")");this.plugins.push(t),this.pluginsByKey[t.key]=t,t.spec.state&&this.fields.push(new w(t.key,t.spec.state,t))})}}class b{constructor(t){this.config=t}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(t){return this.applyTransaction(t).state}filterTransaction(t,e=-1){for(let n=0;nt.toJSON())),t&&"object"==typeof t)for(let n in t){if("doc"==n||"selection"==n)throw RangeError("The JSON fields `doc` and `selection` are reserved");let i=t[n],r=i.spec.state;r&&r.toJSON&&(e[n]=r.toJSON.call(i,this[i.key]))}return e}static fromJSON(t,e,n){if(!e)throw RangeError("Invalid input for EditorState.fromJSON");if(!t.schema)throw RangeError("Required config field 'schema' missing");let r=new k(t.schema,t.plugins),s=new b(r);return r.fields.forEach(r=>{if("doc"==r.name)s.doc=i.NB.fromJSON(t.schema,e.doc);else if("selection"==r.name)s.selection=o.fromJSON(s.doc,e.selection);else if("storedMarks"==r.name)e.storedMarks&&(s.storedMarks=e.storedMarks.map(t.schema.markFromJSON));else{if(n)for(let i in n){let o=n[i],a=o.spec.state;if(o.key==r.name&&a&&a.fromJSON&&Object.prototype.hasOwnProperty.call(e,i)){s[r.name]=a.fromJSON.call(o,t,e[i],s);return}}s[r.name]=r.init(t,s)}}),s}}class T{constructor(t){this.spec=t,this.props={},t.props&&function t(e,n,i){for(let r in e){let s=e[r];s instanceof Function?s=s.bind(n):"handleDOMEvents"==r&&(s=t(s,n,{})),i[r]=s}return i}(t.props,this,this.props),this.key=t.key?t.key.key:A("plugin")}getState(t){return t[this.key]}}let C=Object.create(null);function A(t){return t in C?t+"$"+ ++C[t]:(C[t]=0,t+"$")}class E{constructor(t="key"){this.key=A(t)}get(t){return t.config.pluginsByKey[this.key]}getState(t){return t[this.key]}}},70484:function(t,e,n){n.d(e,{Ax:function(){return k},FC:function(){return g},GJ:function(){return C},Mn:function(){return b},Pu:function(){return m},dR:function(){return E},k9:function(){return x},nd:function(){return w},nj:function(){return A},wx:function(){return B}});var i=n(17824);class r{constructor(t,e,n){this.pos=t,this.delInfo=e,this.recover=n}get deleted(){return(8&this.delInfo)>0}get deletedBefore(){return(5&this.delInfo)>0}get deletedAfter(){return(6&this.delInfo)>0}get deletedAcross(){return(4&this.delInfo)>0}}class s{constructor(t,e=!1){if(this.ranges=t,this.inverted=e,!t.length&&s.empty)return s.empty}recover(t){let e=0,n=65535&t;if(!this.inverted)for(let t=0;tt)break;let h=this.ranges[a+s],u=this.ranges[a+o],c=l+h;if(t<=c){let s=h?t==l?-1:t==c?1:e:e,o=l+i+(s<0?0:u);if(n)return o;let p=t==(e<0?l:c)?null:a/3+(t-l)*65536,d=t==l?2:t==c?1:4;return(e<0?t!=l:t!=c)&&(d|=8),new r(o,d,p)}i+=u-h}return n?t+i:new r(t+i,0,null)}touches(t,e){let n=0,i=65535&e,r=this.inverted?2:1,s=this.inverted?1:2;for(let e=0;et)break;let a=this.ranges[e+r];if(t<=o+a&&e==3*i)return!0;n+=this.ranges[e+s]-a}return!1}forEach(t){let e=this.inverted?2:1,n=this.inverted?1:2;for(let i=0,r=0;i=0;e--){let i=t.getMirror(e);this.appendMap(t.maps[e].invert(),null!=i&&i>e?n-i-1:void 0)}}invert(){let t=new o;return t.appendMappingInverted(this),t}map(t,e=1){if(this.mirror)return this._map(t,e,!0);for(let n=this.from;nn&&et.isAtom&&e.type.allowsMarkType(this.mark.type)?t.mark(this.mark.addToSet(t.marks)):t,r),e.openStart,e.openEnd);return h.fromReplace(t,this.from,this.to,s)}invert(){return new p(this.from,this.to,this.mark)}map(t){let e=t.mapResult(this.from,1),n=t.mapResult(this.to,-1);return e.deleted&&n.deleted||e.pos>=n.pos?null:new c(e.pos,n.pos,this.mark)}merge(t){return t instanceof c&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new c(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,e){if("number"!=typeof e.from||"number"!=typeof e.to)throw RangeError("Invalid input for AddMarkStep.fromJSON");return new c(e.from,e.to,t.markFromJSON(e.mark))}}l.jsonID("addMark",c);class p extends l{constructor(t,e,n){super(),this.from=t,this.to=e,this.mark=n}apply(t){let e=t.slice(this.from,this.to),n=new i.p2(u(e.content,t=>t.mark(this.mark.removeFromSet(t.marks)),t),e.openStart,e.openEnd);return h.fromReplace(t,this.from,this.to,n)}invert(){return new c(this.from,this.to,this.mark)}map(t){let e=t.mapResult(this.from,1),n=t.mapResult(this.to,-1);return e.deleted&&n.deleted||e.pos>=n.pos?null:new p(e.pos,n.pos,this.mark)}merge(t){return t instanceof p&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new p(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,e){if("number"!=typeof e.from||"number"!=typeof e.to)throw RangeError("Invalid input for RemoveMarkStep.fromJSON");return new p(e.from,e.to,t.markFromJSON(e.mark))}}l.jsonID("removeMark",p);class d extends l{constructor(t,e){super(),this.pos=t,this.mark=e}apply(t){let e=t.nodeAt(this.pos);if(!e)return h.fail("No node at mark step's position");let n=e.type.create(e.attrs,null,this.mark.addToSet(e.marks));return h.fromReplace(t,this.pos,this.pos+1,new i.p2(i.HY.from(n),0,e.isLeaf?0:1))}invert(t){let e=t.nodeAt(this.pos);if(e){let t=this.mark.addToSet(e.marks);if(t.length==e.marks.length){for(let n=0;nn.pos?null:new g(e.pos,n.pos,i,r,this.slice,this.insert,this.structure)}toJSON(){let t={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(t.slice=this.slice.toJSON()),this.structure&&(t.structure=!0),t}static fromJSON(t,e){if("number"!=typeof e.from||"number"!=typeof e.to||"number"!=typeof e.gapFrom||"number"!=typeof e.gapTo||"number"!=typeof e.insert)throw RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new g(e.from,e.to,e.gapFrom,e.gapTo,i.p2.fromJSON(t,e.slice),e.insert,!!e.structure)}}function y(t,e,n){let i=t.resolve(e),r=n-e,s=i.depth;for(;r>0&&s>0&&i.indexAfter(s)==i.node(s).childCount;)s--,r--;if(r>0){let t=i.node(s).maybeChild(i.indexAfter(s));for(;r>0;){if(!t||t.isLeaf)return!0;t=t.firstChild,r--}}return!1}function v(t,e,n,r=n.contentMatch,s=!0){let o=t.doc.nodeAt(e),a=[],l=e+1;for(let e=0;e=0;e--)t.step(a[e])}function x(t){let e=t.parent.content.cutByIndex(t.startIndex,t.endIndex);for(let n=t.depth;;--n){let i=t.$from.node(n),r=t.$from.index(n),s=t.$to.indexAfter(n);if(ns;t--,e--){let n=r.node(t),s=r.index(t);if(n.type.spec.isolating)return!1;let o=n.content.cutByIndex(s,n.childCount),a=i&&i[e+1];a&&(o=o.replaceChild(0,a.type.create(a.attrs)));let l=i&&i[e]||n;if(!n.canReplace(s+1,n.childCount)||!l.type.validContent(o))return!1}let a=r.indexAfter(s),l=i&&i[0];return r.node(s).canReplaceWith(a,a,l?l.type:r.node(s+1).type)}function b(t,e){let n=t.resolve(e),i=n.index();return T(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(i,i+1)}function T(t,e){return!!(t&&e&&!t.isLeaf&&t.canAppend(e))}function C(t,e,n=-1){let i=t.resolve(e);for(let t=i.depth;;t--){let r,s,o=i.index(t);if(t==i.depth?(r=i.nodeBefore,s=i.nodeAfter):n>0?(r=i.node(t+1),o++,s=i.node(t).maybeChild(o)):(r=i.node(t).maybeChild(o-1),s=i.node(t+1)),r&&!r.isTextblock&&T(r,s)&&i.node(t).canReplace(o,o+1))return e;if(0==t)break;e=n<0?i.before(t):i.after(t)}}function A(t,e,n){let i=t.resolve(e);if(!n.content.size)return e;let r=n.content;for(let t=0;t=0;e--){let n=e==i.depth?0:i.pos<=(i.start(e+1)+i.end(e+1))/2?-1:1,s=i.index(e)+(n>0?1:0),o=i.node(e),a=!1;if(1==t)a=o.canReplace(s,s,r);else{let t=o.contentMatchAt(s).findWrapping(r.firstChild.type);a=t&&o.canReplaceWith(s,s,t[0])}if(a)return 0==n?i.pos:n<0?i.before(e+1):i.after(e+1)}return null}function E(t,e,n=e,r=i.p2.empty){if(e==n&&!r.size)return null;let s=t.resolve(e),o=t.resolve(n);return M(s,o,r)?new m(e,n,r):new P(s,o,r).fit()}function M(t,e,n){return!n.openStart&&!n.openEnd&&t.start()==e.start()&&t.parent.canReplace(t.index(),e.index(),n.content)}l.jsonID("replaceAround",g);class P{constructor(t,e,n){this.$from=t,this.$to=e,this.unplaced=n,this.frontier=[],this.placed=i.HY.empty;for(let e=0;e<=t.depth;e++){let n=t.node(e);this.frontier.push({type:n.type,match:n.contentMatchAt(t.indexAfter(e))})}for(let e=t.depth;e>0;e--)this.placed=i.HY.from(t.node(e).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let t=this.findFittable();t?this.placeNodes(t):this.openMore()||this.dropNode()}let t=this.mustMoveInline(),e=this.placed.size-this.depth-this.$from.depth,n=this.$from,r=this.close(t<0?this.$to:n.doc.resolve(t));if(!r)return null;let s=this.placed,o=n.depth,a=r.depth;for(;o&&a&&1==s.childCount;)s=s.firstChild.content,o--,a--;let l=new i.p2(s,o,a);return t>-1?new g(n.pos,t,this.$to.pos,this.$to.end(),l,e):l.size||n.pos!=this.$to.pos?new m(n.pos,r.pos,l):null}findFittable(){let t=this.unplaced.openStart;for(let e=this.unplaced.content,n=0,i=this.unplaced.openEnd;n1&&(i=0),r.type.spec.isolating&&i<=n){t=n;break}e=r.content}for(let e=1;e<=2;e++)for(let n=1==e?t:this.unplaced.openStart;n>=0;n--){let t=null,r=(n?(t=D(this.unplaced.content,n-1).firstChild).content:this.unplaced.content).firstChild;for(let s=this.depth;s>=0;s--){let{type:o,match:a}=this.frontier[s],l,h=null;if(1==e&&(r?a.matchType(r.type)||(h=a.fillBefore(i.HY.from(r),!1)):t&&o.compatibleContent(t.type)))return{sliceDepth:n,frontierDepth:s,parent:t,inject:h};if(2==e&&r&&(l=a.findWrapping(r.type)))return{sliceDepth:n,frontierDepth:s,parent:t,wrap:l};if(t&&a.matchType(t.type))break}}}openMore(){let{content:t,openStart:e,openEnd:n}=this.unplaced,r=D(t,e);return!!r.childCount&&!r.firstChild.isLeaf&&(this.unplaced=new i.p2(t,e+1,Math.max(n,r.size+e>=t.size-n?e+1:0)),!0)}dropNode(){let{content:t,openStart:e,openEnd:n}=this.unplaced,r=D(t,e);if(r.childCount<=1&&e>0){let s=t.size-e<=e+r.size;this.unplaced=new i.p2(R(t,e-1,1),e-1,s?e-1:n)}else this.unplaced=new i.p2(R(t,e,1),e,n)}placeNodes({sliceDepth:t,frontierDepth:e,parent:n,inject:r,wrap:s}){for(;this.depth>e;)this.closeFrontierNode();if(s)for(let t=0;t1||0==l||t.content.size)&&(c=e,u.push(function t(e,n,r){if(n<=0)return e;let s=e.content;return n>1&&(s=s.replaceChild(0,t(s.firstChild,n-1,1==s.childCount?r-1:0))),n>0&&(s=e.type.contentMatch.fillBefore(s).append(s),r<=0&&(s=s.append(e.type.contentMatch.matchFragment(s).fillBefore(i.HY.empty,!0)))),e.copy(s)}(t.mark(p.allowedMarks(t.marks)),1==h?l:0,h==a.childCount?d:-1)))}let f=h==a.childCount;f||(d=-1),this.placed=O(this.placed,e,i.HY.from(u)),this.frontier[e].match=c,f&&d<0&&n&&n.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let t=0,e=a;t1&&i==this.$to.end(--n);)++i;return i}findCloseLevel(t){t:for(let e=Math.min(this.depth,t.depth);e>=0;e--){let{match:n,type:i}=this.frontier[e],r=e=0;n--){let{match:e,type:i}=this.frontier[n],r=I(t,n,i,e,!0);if(!r||r.childCount)continue t}return{depth:e,fit:s,move:r?t.doc.resolve(t.after(e+1)):t}}}}close(t){let e=this.findCloseLevel(t);if(!e)return null;for(;this.depth>e.depth;)this.closeFrontierNode();e.fit.childCount&&(this.placed=O(this.placed,e.depth,e.fit)),t=e.move;for(let n=e.depth+1;n<=t.depth;n++){let e=t.node(n),i=e.type.contentMatch.fillBefore(e.content,!0,t.index(n));this.openFrontierNode(e.type,e.attrs,i)}return t}openFrontierNode(t,e=null,n){let r=this.frontier[this.depth];r.match=r.match.matchType(t),this.placed=O(this.placed,this.depth,i.HY.from(t.create(e,n))),this.frontier.push({type:t,match:t.contentMatch})}closeFrontierNode(){let t=this.frontier.pop().match.fillBefore(i.HY.empty,!0);t.childCount&&(this.placed=O(this.placed,this.frontier.length,t))}}function R(t,e,n){return 0==e?t.cutByIndex(n,t.childCount):t.replaceChild(0,t.firstChild.copy(R(t.firstChild.content,e-1,n)))}function O(t,e,n){return 0==e?t.append(n):t.replaceChild(t.childCount-1,t.lastChild.copy(O(t.lastChild.content,e-1,n)))}function D(t,e){for(let n=0;n=0;r--){let i=t.start(r);if(ie.pos+(e.depth-r)||t.node(r).type.spec.isolating||e.node(r).type.spec.isolating)break;(i==e.start(r)||r==t.depth&&r==e.depth&&t.parent.inlineContent&&e.parent.inlineContent&&r&&e.start(r-1)==i-1)&&n.push(r)}return n}class V extends l{constructor(t,e,n){super(),this.pos=t,this.attr=e,this.value=n}apply(t){let e=t.nodeAt(this.pos);if(!e)return h.fail("No node at attribute step's position");let n=Object.create(null);for(let t in e.attrs)n[t]=e.attrs[t];n[this.attr]=this.value;let r=e.type.create(n,null,e.marks);return h.fromReplace(t,this.pos,this.pos+1,new i.p2(i.HY.from(r),0,e.isLeaf?0:1))}getMap(){return s.empty}invert(t){return new V(this.pos,this.attr,t.nodeAt(this.pos).attrs[this.attr])}map(t){let e=t.mapResult(this.pos,1);return e.deletedAfter?null:new V(e.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(t,e){if("number"!=typeof e.pos||"string"!=typeof e.attr)throw RangeError("Invalid input for AttrStep.fromJSON");return new V(e.pos,e.attr,e.value)}}l.jsonID("attr",V);class F extends l{constructor(t,e){super(),this.attr=t,this.value=e}apply(t){let e=Object.create(null);for(let n in t.attrs)e[n]=t.attrs[n];e[this.attr]=this.value;let n=t.type.create(e,t.content,t.marks);return h.ok(n)}getMap(){return s.empty}invert(t){return new F(this.attr,t.attrs[this.attr])}map(t){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(t,e){if("string"!=typeof e.attr)throw RangeError("Invalid input for DocAttrStep.fromJSON");return new F(e.attr,e.value)}}l.jsonID("docAttr",F);let z=class extends Error{};(z=function t(e){let n=Error.call(this,e);return n.__proto__=t.prototype,n}).prototype=Object.create(Error.prototype),z.prototype.constructor=z,z.prototype.name="TransformError";class B{constructor(t){this.doc=t,this.steps=[],this.docs=[],this.mapping=new o}get before(){return this.docs.length?this.docs[0]:this.doc}step(t){let e=this.maybeStep(t);if(e.failed)throw new z(e.failed);return this}maybeStep(t){let e=t.apply(this.doc);return e.failed||this.addStep(t,e.doc),e}get docChanged(){return this.steps.length>0}addStep(t,e){this.docs.push(this.doc),this.steps.push(t),this.mapping.appendMap(t.getMap()),this.doc=e}replace(t,e=t,n=i.p2.empty){let r=E(this.doc,t,e,n);return r&&this.step(r),this}replaceWith(t,e,n){return this.replace(t,e,new i.p2(i.HY.from(n),0,0))}delete(t,e){return this.replace(t,e,i.p2.empty)}insert(t,e){return this.replaceWith(t,t,e)}replaceRange(t,e,n){return!function(t,e,n,r){if(!r.size)return t.deleteRange(e,n);let s=t.doc.resolve(e),o=t.doc.resolve(n);if(M(s,o,r))return t.step(new m(e,n,r));let a=N(s,t.doc.resolve(n));0==a[a.length-1]&&a.pop();let l=-(s.depth+1);a.unshift(l);for(let t=s.depth,e=s.pos-1;t>0;t--,e--){let n=s.node(t).type.spec;if(n.defining||n.definingAsContext||n.isolating)break;a.indexOf(t)>-1?l=t:s.before(t)==e&&a.splice(1,0,-t)}let h=a.indexOf(l),u=[],c=r.openStart;for(let t=r.content,e=0;;e++){let n=t.firstChild;if(u.push(n),e==r.openStart)break;t=n.content}for(let t=c-1;t>=0;t--){var p;let e=u[t],n=(p=e.type).spec.defining||p.spec.definingForContent;if(n&&!e.sameMarkup(s.node(Math.abs(l)-1)))c=t;else if(n||!e.type.isTextblock)break}for(let e=r.openStart;e>=0;e--){let l=(e+c+1)%(r.openStart+1),p=u[l];if(p)for(let e=0;es){let t=o.contentMatchAt(0),n=t.fillBefore(e).append(e);e=n.append(t.matchFragment(n).fillBefore(i.HY.empty,!0))}return e}(r.content,0,r.openStart,l),l,r.openEnd))}}let d=t.steps.length;for(let i=a.length-1;i>=0&&(t.replace(e,n,r),!(t.steps.length>d));i--){let t=a[i];t<0||(e=s.before(t),n=o.after(t))}}(this,t,e,n),this}replaceRangeWith(t,e,n){return!function(t,e,n,r){if(!r.isInline&&e==n&&t.doc.resolve(e).parent.content.size){let i=function(t,e,n){let i=t.resolve(e);if(i.parent.canReplaceWith(i.index(),i.index(),n))return e;if(0==i.parentOffset)for(let t=i.depth-1;t>=0;t--){let e=i.index(t);if(i.node(t).canReplaceWith(e,e,n))return i.before(t+1);if(e>0)return null}if(i.parentOffset==i.parent.content.size)for(let t=i.depth-1;t>=0;t--){let e=i.indexAfter(t);if(i.node(t).canReplaceWith(e,e,n))return i.after(t+1);if(e0&&(o||i.node(n-1).canReplace(i.index(n-1),r.indexAfter(n-1))))return t.delete(i.before(n),r.after(n))}for(let s=1;s<=i.depth&&s<=r.depth;s++)if(e-i.start(s)==i.depth-s&&n>i.end(s)&&r.end(s)-n!=r.depth-s)return t.delete(i.before(s),n);t.delete(e,n)}(this,t,e),this}lift(t,e){return!function(t,e,n){let{$from:r,$to:s,depth:o}=e,a=r.before(o+1),l=s.after(o+1),h=a,u=l,c=i.HY.empty,p=0;for(let t=o,e=!1;t>n;t--)e||r.index(t)>0?(e=!0,c=i.HY.from(r.node(t).copy(c)),p++):h--;let d=i.HY.empty,f=0;for(let t=o,e=!1;t>n;t--)e||s.after(t+1)=0;t--){if(r.size){let e=n[t].type.contentMatch.matchFragment(r);if(!e||!e.validEnd)throw RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}r=i.HY.from(n[t].type.create(n[t].attrs,r))}let s=e.start,o=e.end;t.step(new g(s,o,s,o,new i.p2(r,0,0),n.length,!0))}(this,t,e),this}setBlockType(t,e=t,n,r=null){return!function(t,e,n,r,s){if(!r.isTextblock)throw RangeError("Type given to setBlockType should be a textblock");let o=t.steps.length;t.doc.nodesBetween(e,n,(e,n)=>{var a,l;let h,u,c="function"==typeof s?s(e):s;if(e.isTextblock&&!e.hasMarkup(r,c)&&(a=t.doc,l=t.mapping.slice(o).map(n),u=(h=a.resolve(l)).index(),h.parent.canReplaceWith(u,u+1,r))){let s=null;if(r.schema.linebreakReplacement){let t="pre"==r.whitespace,e=!!r.contentMatch.matchType(r.schema.linebreakReplacement);t&&!e?s=!1:!t&&e&&(s=!0)}!1===s&&function(t,e,n,i){e.forEach((r,s)=>{if(r.type==r.type.schema.linebreakReplacement){let r=t.mapping.slice(i).map(n+1+s);t.replaceWith(r,r+1,e.type.schema.text("\n"))}})}(t,e,n,o),v(t,t.mapping.slice(o).map(n,1),r,void 0,null===s);let a=t.mapping.slice(o),l=a.map(n,1),h=a.map(n+e.nodeSize,1);return t.step(new g(l,h,l+1,h-1,new i.p2(i.HY.from(r.create(c,null,e.marks)),0,0),1,!0)),!0===s&&function(t,e,n,i){e.forEach((r,s)=>{if(r.isText){let o,a=/\r?\n|\r/g;for(;o=a.exec(r.text);){let r=t.mapping.slice(i).map(n+1+s+o.index);t.replaceWith(r,r+1,e.type.schema.linebreakReplacement.create())}}})}(t,e,n,o),!1}})}(this,t,e,n,r),this}setNodeMarkup(t,e,n=null,r){return!function(t,e,n,r,s){let o=t.doc.nodeAt(e);if(!o)throw RangeError("No node at given position");n||(n=o.type);let a=n.create(r,null,s||o.marks);if(o.isLeaf)return t.replaceWith(e,e+o.nodeSize,a);if(!n.validContent(o.content))throw RangeError("Invalid content for node type "+n.name);t.step(new g(e,e+o.nodeSize,e+1,e+o.nodeSize-1,new i.p2(i.HY.from(a),0,0),1,!0))}(this,t,e,n,r),this}setNodeAttribute(t,e,n){return this.step(new V(t,e,n)),this}setDocAttribute(t,e){return this.step(new F(t,e)),this}addNodeMark(t,e){return this.step(new d(t,e)),this}removeNodeMark(t,e){if(!(e instanceof i.vc)){let n=this.doc.nodeAt(t);if(!n)throw RangeError("No node at position "+t);if(!(e=e.isInSet(n.marks)))return this}return this.step(new f(t,e)),this}split(t,e=1,n){return!function(t,e,n=1,r){let s=t.doc.resolve(e),o=i.HY.empty,a=i.HY.empty;for(let t=s.depth,e=s.depth-n,l=n-1;t>e;t--,l--){o=i.HY.from(s.node(t).copy(o));let e=r&&r[l];a=i.HY.from(e?e.type.create(e.attrs,a):s.node(t).copy(a))}t.step(new m(e,e,new i.p2(o.append(a),n,n),!0))}(this,t,e,n),this}addMark(t,e,n){var i;let r,s,o,a;return i=this,o=[],a=[],i.doc.nodesBetween(t,e,(i,l,h)=>{if(!i.isInline)return;let u=i.marks;if(!n.isInSet(u)&&h.type.allowsMarkType(n.type)){let h=Math.max(l,t),d=Math.min(l+i.nodeSize,e),f=n.addToSet(u);for(let t=0;ti.step(t)),a.forEach(t=>i.step(t)),this}removeMark(t,e,n){var r;let s,o;return r=this,s=[],o=0,r.doc.nodesBetween(t,e,(r,a)=>{if(!r.isInline)return;o++;let l=null;if(n instanceof i.ZU){let t=r.marks,e;for(;e=n.isInSet(t);)(l||(l=[])).push(e),t=e.removeFromSet(t)}else n?n.isInSet(r.marks)&&(l=[n]):l=r.marks;if(l&&l.length){let n=Math.min(a+r.nodeSize,e);for(let e=0;er.step(new p(t.from,t.to,t.style))),this}clearIncompatible(t,e,n){return v(this,t,e,n),this}}},21987:function(t,e,n){n.d(e,{YG:function(){return h},uY:function(){return r},ue:function(){return i}});for(var i={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},r={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},s="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),o="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),a=0;a<10;a++)i[48+a]=i[96+a]=String(a);for(var a=1;a<=24;a++)i[a+111]="F"+a;for(var a=65;a<=90;a++)i[a]=String.fromCharCode(a+32),r[a]=String.fromCharCode(a);for(var l in i)r.hasOwnProperty(l)||(r[l]=i[l]);function h(t){var e=!(s&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||o&&t.shiftKey&&t.key&&1==t.key.length||"Unidentified"==t.key)&&t.key||(t.shiftKey?r:i)[t.keyCode]||t.key||"Unidentified";return"Esc"==e&&(e="Escape"),"Del"==e&&(e="Delete"),"Left"==e&&(e="ArrowLeft"),"Up"==e&&(e="ArrowUp"),"Right"==e&&(e="ArrowRight"),"Down"==e&&(e="ArrowDown"),e}}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/1565-d48794dee7ddb131.js b/ee/tabby-webserver/ui/_next/static/chunks/1565-919e08a352f58c70.js similarity index 100% rename from ee/tabby-webserver/ui/_next/static/chunks/1565-d48794dee7ddb131.js rename to ee/tabby-webserver/ui/_next/static/chunks/1565-919e08a352f58c70.js diff --git a/ee/tabby-webserver/ui/_next/static/chunks/1570-d0971b81a1773d53.js b/ee/tabby-webserver/ui/_next/static/chunks/1570-d0971b81a1773d53.js new file mode 100644 index 000000000000..54c88bd16761 --- /dev/null +++ b/ee/tabby-webserver/ui/_next/static/chunks/1570-d0971b81a1773d53.js @@ -0,0 +1,13 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1570,5083,6044],{67635:function(e,t,r){/** + * @license React + * use-sync-external-store-shim/with-selector.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var n=r(3546),o=r(94348),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=o.useSyncExternalStore,u=n.useRef,l=n.useEffect,s=n.useMemo,c=n.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,r,n,o){var d=u(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;var v=i(e,(d=s(function(){function e(e){if(!l){if(l=!0,i=e,e=n(e),void 0!==o&&f.hasValue){var t=f.value;if(o(t,e))return u=t}return u=e}if(t=u,a(i,e))return t;var r=n(e);return void 0!==o&&o(t,r)?t:(i=e,u=r)}var i,u,l=!1,s=void 0===r?null:r;return[function(){return e(t())},null===s?void 0:function(){return e(s())}]},[t,r,n,o]))[0],d[1]);return l(function(){f.hasValue=!0,f.value=v},[v]),c(v),v}},52635:function(e,t,r){e.exports=r(67635)},1333:function(e,t,r){r.d(t,{Pc:function(){return S},ck:function(){return M},fC:function(){return z}});var n=r(65122),o=r(3546),a=r(65727),i=r(85656),u=r(79869),l=r(47091),s=r(29434),c=r(72205),d=r(17957),f=r(27250),v=r(57541);let p="rovingFocusGroup.onEntryFocus",m={bubbles:!1,cancelable:!0},g="RovingFocusGroup",[b,h,w]=(0,i.B)(g),[E,S]=(0,l.b)(g,[w]),[y,I]=E(g),R=(0,o.forwardRef)((e,t)=>(0,o.createElement)(b.Provider,{scope:e.__scopeRovingFocusGroup},(0,o.createElement)(b.Slot,{scope:e.__scopeRovingFocusGroup},(0,o.createElement)(T,(0,n.Z)({},e,{ref:t}))))),T=(0,o.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:r,orientation:i,loop:l=!1,dir:s,currentTabStopId:g,defaultCurrentTabStopId:b,onCurrentTabStopIdChange:w,onEntryFocus:E,...S}=e,I=(0,o.useRef)(null),R=(0,u.e)(t,I),T=(0,v.gm)(s),[F=null,C]=(0,f.T)({prop:g,defaultProp:b,onChange:w}),[z,M]=(0,o.useState)(!1),A=(0,d.W)(E),_=h(r),V=(0,o.useRef)(!1),[Z,P]=(0,o.useState)(0);return(0,o.useEffect)(()=>{let e=I.current;if(e)return e.addEventListener(p,A),()=>e.removeEventListener(p,A)},[A]),(0,o.createElement)(y,{scope:r,orientation:i,dir:T,loop:l,currentTabStopId:F,onItemFocus:(0,o.useCallback)(e=>C(e),[C]),onItemShiftTab:(0,o.useCallback)(()=>M(!0),[]),onFocusableItemAdd:(0,o.useCallback)(()=>P(e=>e+1),[]),onFocusableItemRemove:(0,o.useCallback)(()=>P(e=>e-1),[])},(0,o.createElement)(c.WV.div,(0,n.Z)({tabIndex:z||0===Z?-1:0,"data-orientation":i},S,{ref:R,style:{outline:"none",...e.style},onMouseDown:(0,a.M)(e.onMouseDown,()=>{V.current=!0}),onFocus:(0,a.M)(e.onFocus,e=>{let t=!V.current;if(e.target===e.currentTarget&&t&&!z){let t=new CustomEvent(p,m);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=_().filter(e=>e.focusable),t=e.find(e=>e.active),r=e.find(e=>e.id===F),n=[t,r,...e].filter(Boolean),o=n.map(e=>e.ref.current);D(o)}}V.current=!1}),onBlur:(0,a.M)(e.onBlur,()=>M(!1))})))}),F=(0,o.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:i=!0,active:u=!1,tabStopId:l,...d}=e,f=(0,s.M)(),v=l||f,p=I("RovingFocusGroupItem",r),m=p.currentTabStopId===v,g=h(r),{onFocusableItemAdd:w,onFocusableItemRemove:E}=p;return(0,o.useEffect)(()=>{if(i)return w(),()=>E()},[i,w,E]),(0,o.createElement)(b.ItemSlot,{scope:r,id:v,focusable:i,active:u},(0,o.createElement)(c.WV.span,(0,n.Z)({tabIndex:m?0:-1,"data-orientation":p.orientation},d,{ref:t,onMouseDown:(0,a.M)(e.onMouseDown,e=>{i?p.onItemFocus(v):e.preventDefault()}),onFocus:(0,a.M)(e.onFocus,()=>p.onItemFocus(v)),onKeyDown:(0,a.M)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){p.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=function(e,t,r){var n;let o=(n=e.key,"rtl"!==r?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return C[o]}(e,p.orientation,p.dir);if(void 0!==t){e.preventDefault();let o=g().filter(e=>e.focusable),a=o.map(e=>e.ref.current);if("last"===t)a.reverse();else if("prev"===t||"next"===t){var r,n;"prev"===t&&a.reverse();let o=a.indexOf(e.currentTarget);a=p.loop?(r=a,n=o+1,r.map((e,t)=>r[(n+t)%r.length])):a.slice(o+1)}setTimeout(()=>D(a))}})})))}),C={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function D(e){let t=document.activeElement;for(let r of e)if(r===t||(r.focus(),document.activeElement!==t))return}let z=R,M=F},74225:function(e,t,r){r.d(t,{f:function(){return c}});var n=r(65122),o=r(3546),a=r(72205);let i="horizontal",u=["horizontal","vertical"],l=(0,o.forwardRef)((e,t)=>{let{decorative:r,orientation:u=i,...l}=e,c=s(u)?u:i;return(0,o.createElement)(a.WV.div,(0,n.Z)({"data-orientation":c},r?{role:"none"}:{"aria-orientation":"vertical"===c?c:void 0,role:"separator"},l,{ref:t}))});function s(e){return u.includes(e)}l.propTypes={orientation(e,t,r){let n=e[t],o=String(n);return n&&!s(n)?Error(`Invalid prop \`orientation\` of value \`${o}\` supplied to \`${r}\`, expected one of: + - horizontal + - vertical + +Defaulting to \`${i}\`.`):null}};let c=l},6044:function(e,t,r){r.d(t,{VY:function(){return D},aV:function(){return F},fC:function(){return T},nU:function(){return y},xz:function(){return C}});var n=r(65122),o=r(3546),a=r(65727),i=r(47091),u=r(1333),l=r(96497),s=r(72205),c=r(57541),d=r(27250),f=r(29434);let v="Tabs",[p,m]=(0,i.b)(v,[u.Pc]),g=(0,u.Pc)(),[b,h]=p(v),w=(0,o.forwardRef)((e,t)=>{let{__scopeTabs:r,value:a,onValueChange:i,defaultValue:u,orientation:l="horizontal",dir:v,activationMode:p="automatic",...m}=e,g=(0,c.gm)(v),[h,w]=(0,d.T)({prop:a,onChange:i,defaultProp:u});return(0,o.createElement)(b,{scope:r,baseId:(0,f.M)(),value:h,onValueChange:w,orientation:l,dir:g,activationMode:p},(0,o.createElement)(s.WV.div,(0,n.Z)({dir:g,"data-orientation":l},m,{ref:t})))}),E=(0,o.forwardRef)((e,t)=>{let{__scopeTabs:r,loop:a=!0,...i}=e,l=h("TabsList",r),c=g(r);return(0,o.createElement)(u.fC,(0,n.Z)({asChild:!0},c,{orientation:l.orientation,dir:l.dir,loop:a}),(0,o.createElement)(s.WV.div,(0,n.Z)({role:"tablist","aria-orientation":l.orientation},i,{ref:t})))}),S=(0,o.forwardRef)((e,t)=>{let{__scopeTabs:r,value:i,disabled:l=!1,...c}=e,d=h("TabsTrigger",r),f=g(r),v=I(d.baseId,i),p=R(d.baseId,i),m=i===d.value;return(0,o.createElement)(u.ck,(0,n.Z)({asChild:!0},f,{focusable:!l,active:m}),(0,o.createElement)(s.WV.button,(0,n.Z)({type:"button",role:"tab","aria-selected":m,"aria-controls":p,"data-state":m?"active":"inactive","data-disabled":l?"":void 0,disabled:l,id:v},c,{ref:t,onMouseDown:(0,a.M)(e.onMouseDown,e=>{l||0!==e.button||!1!==e.ctrlKey?e.preventDefault():d.onValueChange(i)}),onKeyDown:(0,a.M)(e.onKeyDown,e=>{[" ","Enter"].includes(e.key)&&d.onValueChange(i)}),onFocus:(0,a.M)(e.onFocus,()=>{let e="manual"!==d.activationMode;m||l||!e||d.onValueChange(i)})})))}),y=(0,o.forwardRef)((e,t)=>{let{__scopeTabs:r,value:a,forceMount:i,children:u,...c}=e,d=h("TabsContent",r),f=I(d.baseId,a),v=R(d.baseId,a),p=a===d.value,m=(0,o.useRef)(p);return(0,o.useEffect)(()=>{let e=requestAnimationFrame(()=>m.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,o.createElement)(l.z,{present:i||p},({present:r})=>(0,o.createElement)(s.WV.div,(0,n.Z)({"data-state":p?"active":"inactive","data-orientation":d.orientation,role:"tabpanel","aria-labelledby":f,hidden:!r,id:v,tabIndex:0},c,{ref:t,style:{...e.style,animationDuration:m.current?"0s":void 0}}),r&&u))});function I(e,t){return`${e}-trigger-${t}`}function R(e,t){return`${e}-content-${t}`}let T=w,F=E,C=S,D=y},82030:function(e,t,r){r.d(t,{Z:function(){return a}});var n=r(94219),o=r(79204),a=(0,r(43285).Z)(function(e,t){return null==e?{}:(0,n.Z)(e,t,function(t,r){return(0,o.Z)(e,r)})})},12978:function(e,t,r){var n=r(51722),o=r(19108);t.Z=function(e,t){return e&&e.length?(0,o.Z)(e,(0,n.Z)(t,2)):[]}},27257:function(e,t,r){r.d(t,{Ue:function(){return f},oR:function(){return c}});let n=e=>{let t;let r=new Set,n=(e,n)=>{let o="function"==typeof e?e(t):e;if(!Object.is(o,t)){let e=t;t=(null!=n?n:"object"!=typeof o)?o:Object.assign({},t,o),r.forEach(r=>r(t,e))}},o=()=>t,a={setState:n,getState:o,subscribe:e=>(r.add(e),()=>r.delete(e)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),r.clear()}};return t=e(n,o,a),a},o=e=>e?n(e):n;var a=r(3546),i=r(52635);let{useDebugValue:u}=a,{useSyncExternalStoreWithSelector:l}=i,s=!1;function c(e,t=e.getState,r){r&&!s&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),s=!0);let n=l(e.subscribe,e.getState,e.getServerState||e.getState,t,r);return u(n),n}let d=e=>{"function"!=typeof e&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");let t="function"==typeof e?o(e):e,r=(e,r)=>c(t,e,r);return Object.assign(r,t),r},f=e=>e?d(e):d},85654:function(e,t,r){r.d(t,{tJ:function(){return i}});let n=e=>t=>{try{let r=e(t);if(r instanceof Promise)return r;return{then:e=>n(e)(r),catch(e){return this}}}catch(e){return{then(e){return this},catch:t=>n(t)(e)}}},o=(e,t)=>(r,o,a)=>{let i,u,l={getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},s=!1,c=new Set,d=new Set;try{i=l.getStorage()}catch(e){}if(!i)return e((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${l.name}', the given storage is currently unavailable.`),r(...e)},o,a);let f=n(l.serialize),v=()=>{let e;let t=l.partialize({...o()}),r=f({state:t,version:l.version}).then(e=>i.setItem(l.name,e)).catch(t=>{e=t});if(e)throw e;return r},p=a.setState;a.setState=(e,t)=>{p(e,t),v()};let m=e((...e)=>{r(...e),v()},o,a),g=()=>{var e;if(!i)return;s=!1,c.forEach(e=>e(o()));let t=(null==(e=l.onRehydrateStorage)?void 0:e.call(l,o()))||void 0;return n(i.getItem.bind(i))(l.name).then(e=>{if(e)return l.deserialize(e)}).then(e=>{if(e){if("number"!=typeof e.version||e.version===l.version)return e.state;if(l.migrate)return l.migrate(e.state,e.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}}).then(e=>{var t;return r(u=l.merge(e,null!=(t=o())?t:m),!0),v()}).then(()=>{null==t||t(u,void 0),s=!0,d.forEach(e=>e(u))}).catch(e=>{null==t||t(void 0,e)})};return a.persist={setOptions:e=>{l={...l,...e},e.getStorage&&(i=e.getStorage())},clearStorage:()=>{null==i||i.removeItem(l.name)},getOptions:()=>l,rehydrate:()=>g(),hasHydrated:()=>s,onHydrate:e=>(c.add(e),()=>{c.delete(e)}),onFinishHydration:e=>(d.add(e),()=>{d.delete(e)})},g(),u||m},a=(e,t)=>(r,o,a)=>{let i,u={storage:function(e,t){let r;try{r=e()}catch(e){return}return{getItem:e=>{var n;let o=e=>null===e?null:JSON.parse(e,null==t?void 0:t.reviver),a=null!=(n=r.getItem(e))?n:null;return a instanceof Promise?a.then(o):o(a)},setItem:(e,n)=>r.setItem(e,JSON.stringify(n,null==t?void 0:t.replacer)),removeItem:e=>r.removeItem(e)}}(()=>localStorage),partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},l=!1,s=new Set,c=new Set,d=u.storage;if(!d)return e((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${u.name}', the given storage is currently unavailable.`),r(...e)},o,a);let f=()=>{let e=u.partialize({...o()});return d.setItem(u.name,{state:e,version:u.version})},v=a.setState;a.setState=(e,t)=>{v(e,t),f()};let p=e((...e)=>{r(...e),f()},o,a),m=()=>{var e,t;if(!d)return;l=!1,s.forEach(e=>{var t;return e(null!=(t=o())?t:p)});let a=(null==(t=u.onRehydrateStorage)?void 0:t.call(u,null!=(e=o())?e:p))||void 0;return n(d.getItem.bind(d))(u.name).then(e=>{if(e){if("number"!=typeof e.version||e.version===u.version)return e.state;if(u.migrate)return u.migrate(e.state,e.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}}).then(e=>{var t;return r(i=u.merge(e,null!=(t=o())?t:p),!0),f()}).then(()=>{null==a||a(i,void 0),i=o(),l=!0,c.forEach(e=>e(i))}).catch(e=>{null==a||a(void 0,e)})};return a.persist={setOptions:e=>{u={...u,...e},e.storage&&(d=e.storage)},clearStorage:()=>{null==d||d.removeItem(u.name)},getOptions:()=>u,rehydrate:()=>m(),hasHydrated:()=>l,onHydrate:e=>(s.add(e),()=>{s.delete(e)}),onFinishHydration:e=>(c.add(e),()=>{c.delete(e)})},u.skipHydration||m(),i||p},i=(e,t)=>"getStorage"in t||"serialize"in t||"deserialize"in t?(console.warn("[DEPRECATED] `getStorage`, `serialize` and `deserialize` options are deprecated. Use `storage` option instead."),o(e,t)):a(e,t)}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/1889-0e9adc6536876089.js b/ee/tabby-webserver/ui/_next/static/chunks/1889-0e9adc6536876089.js deleted file mode 100644 index 8827922ddbcd..000000000000 --- a/ee/tabby-webserver/ui/_next/static/chunks/1889-0e9adc6536876089.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1889],{54491:function(e,t,n){n.d(t,{u:function(){return r}});function r(e,[t,n]){return Math.min(n,Math.max(t,e))}},85656:function(e,t,n){n.d(t,{B:function(){return i}});var r=n(3546),l=n(47091),o=n(79869),a=n(74047);function i(e){let t=e+"CollectionProvider",[n,i]=(0,l.b)(t),[d,u]=n(t,{collectionRef:{current:null},itemMap:new Map}),c=e+"CollectionSlot",s=r.forwardRef((e,t)=>{let{scope:n,children:l}=e,i=u(c,n),d=(0,o.e)(t,i.collectionRef);return r.createElement(a.g7,{ref:d},l)}),p=e+"CollectionItemSlot",f="data-radix-collection-item",v=r.forwardRef((e,t)=>{let{scope:n,children:l,...i}=e,d=r.useRef(null),c=(0,o.e)(t,d),s=u(p,n);return r.useEffect(()=>(s.itemMap.set(d,{ref:d,...i}),()=>void s.itemMap.delete(d))),r.createElement(a.g7,{[f]:"",ref:c},l)});return[{Provider:e=>{let{scope:t,children:n}=e,l=r.useRef(null),o=r.useRef(new Map).current;return r.createElement(d,{scope:t,itemMap:o,collectionRef:l},n)},Slot:s,ItemSlot:v},function(t){let n=u(e+"CollectionConsumer",t),l=r.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${f}]`)),r=Array.from(n.itemMap.values()),l=r.sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current));return l},[n.collectionRef,n.itemMap]);return l},i]}},57541:function(e,t,n){n.d(t,{gm:function(){return o}});var r=n(3546);let l=(0,r.createContext)(void 0);function o(e){let t=(0,r.useContext)(l);return e||t||"ltr"}},31889:function(e,t,n){n.d(t,{VY:function(){return eL},ZA:function(){return eB},JO:function(){return eH},ck:function(){return eF},wU:function(){return ez},eT:function(){return e$},__:function(){return eK},h_:function(){return eZ},fC:function(){return eW},Z0:function(){return eU},xz:function(){return eV},B4:function(){return eA},l_:function(){return eN}});var r=n(65122),l=n(3546),o=n(30171),a=n(54491),i=n(65727),d=n(85656),u=n(79869),c=n(47091),s=n(57541),p=n(35468),f=n(12192),v=n(97742),m=n(29434),h=n(97570),g=n(95454),w=n(88734),y=n(65200),x=n(72205),b=n(17957),C=n(65292),E=n(96593);let S="Popper",[R,P]=(0,c.b)(S),[M,_]=R(S),k=(0,l.forwardRef)((e,t)=>{let{__scopePopper:n,virtualRef:o,...a}=e,i=_("PopperAnchor",n),d=(0,l.useRef)(null),c=(0,u.e)(t,d);return(0,l.useEffect)(()=>{i.onAnchorChange((null==o?void 0:o.current)||d.current)}),o?null:(0,l.createElement)(x.WV.div,(0,r.Z)({},a,{ref:c}))}),I="PopperContent",[D,T]=R(I),O=(0,l.forwardRef)((e,t)=>{var n,o,a,i,d,c,s,p;let{__scopePopper:f,side:v="bottom",sideOffset:m=0,align:y="center",alignOffset:S=0,arrowPadding:R=0,collisionBoundary:P=[],collisionPadding:M=0,sticky:k="partial",hideWhenDetached:T=!1,avoidCollisions:O=!0,onPlaced:W,...Z}=e,L=_(I,f),[N,B]=(0,l.useState)(null),K=(0,u.e)(t,e=>B(e)),[F,$]=(0,l.useState)(null),z=(0,E.t)(F),U=null!==(n=null==z?void 0:z.width)&&void 0!==n?n:0,q=null!==(o=null==z?void 0:z.height)&&void 0!==o?o:0,Y="number"==typeof M?M:{top:0,right:0,bottom:0,left:0,...M},j=Array.isArray(P)?P:[P],X=j.length>0,G={padding:Y,boundary:j.filter(V),altBoundary:X},{refs:J,floatingStyles:Q,placement:ee,isPositioned:et,middlewareData:en}=(0,h.YF)({strategy:"fixed",placement:v+("center"!==y?"-"+y:""),whileElementsMounted:g.Me,elements:{reference:L.anchor},middleware:[(0,w.cv)({mainAxis:m+q,alignmentAxis:S}),O&&(0,w.uY)({mainAxis:!0,crossAxis:!1,limiter:"partial"===k?(0,w.dr)():void 0,...G}),O&&(0,w.RR)({...G}),(0,w.dp)({...G,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:l,height:o}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${n}px`),a.setProperty("--radix-popper-available-height",`${r}px`),a.setProperty("--radix-popper-anchor-width",`${l}px`),a.setProperty("--radix-popper-anchor-height",`${o}px`)}}),F&&(0,h.x7)({element:F,padding:R}),A({arrowWidth:U,arrowHeight:q}),T&&(0,w.Cp)({strategy:"referenceHidden"})]}),[er,el]=H(ee),eo=(0,b.W)(W);(0,C.b)(()=>{et&&(null==eo||eo())},[et,eo]);let ea=null===(a=en.arrow)||void 0===a?void 0:a.x,ei=null===(i=en.arrow)||void 0===i?void 0:i.y,ed=(null===(d=en.arrow)||void 0===d?void 0:d.centerOffset)!==0,[eu,ec]=(0,l.useState)();return(0,C.b)(()=>{N&&ec(window.getComputedStyle(N).zIndex)},[N]),(0,l.createElement)("div",{ref:J.setFloating,"data-radix-popper-content-wrapper":"",style:{...Q,transform:et?Q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eu,"--radix-popper-transform-origin":[null===(c=en.transformOrigin)||void 0===c?void 0:c.x,null===(s=en.transformOrigin)||void 0===s?void 0:s.y].join(" ")},dir:e.dir},(0,l.createElement)(D,{scope:f,placedSide:er,onArrowChange:$,arrowX:ea,arrowY:ei,shouldHideArrow:ed},(0,l.createElement)(x.WV.div,(0,r.Z)({"data-side":er,"data-align":el},Z,{ref:K,style:{...Z.style,animation:et?void 0:"none",opacity:null!==(p=en.hide)&&void 0!==p&&p.referenceHidden?0:void 0}}))))}),W={top:"bottom",right:"left",bottom:"top",left:"right"};function V(e){return null!==e}let A=e=>({name:"transformOrigin",options:e,fn(t){var n,r,l,o,a;let{placement:i,rects:d,middlewareData:u}=t,c=(null===(n=u.arrow)||void 0===n?void 0:n.centerOffset)!==0,s=c?0:e.arrowWidth,p=c?0:e.arrowHeight,[f,v]=H(i),m={start:"0%",center:"50%",end:"100%"}[v],h=(null!==(r=null===(l=u.arrow)||void 0===l?void 0:l.x)&&void 0!==r?r:0)+s/2,g=(null!==(o=null===(a=u.arrow)||void 0===a?void 0:a.y)&&void 0!==o?o:0)+p/2,w="",y="";return"bottom"===f?(w=c?m:`${h}px`,y=`${-p}px`):"top"===f?(w=c?m:`${h}px`,y=`${d.floating.height+p}px`):"right"===f?(w=`${-p}px`,y=c?m:`${g}px`):"left"===f&&(w=`${d.floating.width+p}px`,y=c?m:`${g}px`),{data:{x:w,y:y}}}});function H(e){let[t,n="center"]=e.split("-");return[t,n]}let Z=e=>{let{__scopePopper:t,children:n}=e,[r,o]=(0,l.useState)(null);return(0,l.createElement)(M,{scope:t,anchor:r,onAnchorChange:o},n)};var L=n(86759),N=n(74047),B=n(27250),K=n(81544),F=n(99807),$=n(47847),z=n(8569);let U=[" ","Enter","ArrowUp","ArrowDown"],q=[" ","Enter"],Y="Select",[j,X,G]=(0,d.B)(Y),[J,Q]=(0,c.b)(Y,[G,P]),ee=P(),[et,en]=J(Y),[er,el]=J(Y),eo=(0,l.forwardRef)((e,t)=>{let{__scopeSelect:n,disabled:o=!1,...a}=e,d=ee(n),c=en("SelectTrigger",n),s=c.disabled||o,p=(0,u.e)(t,c.onTriggerChange),f=X(n),[v,m,h]=eT(e=>{let t=f().filter(e=>!e.disabled),n=t.find(e=>e.value===c.value),r=eO(t,e,n);void 0!==r&&c.onValueChange(r.value)}),g=()=>{s||(c.onOpenChange(!0),h())};return(0,l.createElement)(k,(0,r.Z)({asChild:!0},d),(0,l.createElement)(x.WV.button,(0,r.Z)({type:"button",role:"combobox","aria-controls":c.contentId,"aria-expanded":c.open,"aria-required":c.required,"aria-autocomplete":"none",dir:c.dir,"data-state":c.open?"open":"closed",disabled:s,"data-disabled":s?"":void 0,"data-placeholder":void 0===c.value?"":void 0},a,{ref:p,onClick:(0,i.M)(a.onClick,e=>{e.currentTarget.focus()}),onPointerDown:(0,i.M)(a.onPointerDown,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&(g(),c.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)},e.preventDefault())}),onKeyDown:(0,i.M)(a.onKeyDown,e=>{let t=""!==v.current,n=e.ctrlKey||e.altKey||e.metaKey;n||1!==e.key.length||m(e.key),(!t||" "!==e.key)&&U.includes(e.key)&&(g(),e.preventDefault())})})))}),ea=(0,l.forwardRef)((e,t)=>{let{__scopeSelect:n,className:o,style:a,children:i,placeholder:d,...c}=e,s=en("SelectValue",n),{onValueNodeHasChildrenChange:p}=s,f=void 0!==i,v=(0,u.e)(t,s.onValueNodeChange);return(0,C.b)(()=>{p(f)},[p,f]),(0,l.createElement)(x.WV.span,(0,r.Z)({},c,{ref:v,style:{pointerEvents:"none"}}),void 0===s.value&&void 0!==d?d:i)}),ei=(0,l.forwardRef)((e,t)=>{let{__scopeSelect:n,children:o,...a}=e;return(0,l.createElement)(x.WV.span,(0,r.Z)({"aria-hidden":!0},a,{ref:t}),o||"▼")}),ed="SelectContent",eu=(0,l.forwardRef)((e,t)=>{let n=en(ed,e.__scopeSelect),[a,i]=(0,l.useState)();return((0,C.b)(()=>{i(new DocumentFragment)},[]),n.open)?(0,l.createElement)(ep,(0,r.Z)({},e,{ref:t})):a?(0,o.createPortal)((0,l.createElement)(ec,{scope:e.__scopeSelect},(0,l.createElement)(j.Slot,{scope:e.__scopeSelect},(0,l.createElement)("div",null,e.children))),a):null}),[ec,es]=J(ed),ep=(0,l.forwardRef)((e,t)=>{let{__scopeSelect:n,position:o="item-aligned",onCloseAutoFocus:a,onEscapeKeyDown:d,onPointerDownOutside:c,side:s,sideOffset:m,align:h,alignOffset:g,arrowPadding:w,collisionBoundary:y,collisionPadding:x,sticky:b,hideWhenDetached:C,avoidCollisions:E,...S}=e,R=en(ed,n),[P,M]=(0,l.useState)(null),[_,k]=(0,l.useState)(null),I=(0,u.e)(t,e=>M(e)),[D,T]=(0,l.useState)(null),[O,W]=(0,l.useState)(null),V=X(n),[A,H]=(0,l.useState)(!1),Z=(0,l.useRef)(!1);(0,l.useEffect)(()=>{if(P)return(0,$.Ry)(P)},[P]),(0,f.EW)();let L=(0,l.useCallback)(e=>{let[t,...n]=V().map(e=>e.ref.current),[r]=n.slice(-1),l=document.activeElement;for(let n of e)if(n===l||(null==n||n.scrollIntoView({block:"nearest"}),n===t&&_&&(_.scrollTop=0),n===r&&_&&(_.scrollTop=_.scrollHeight),null==n||n.focus(),document.activeElement!==l))return},[V,_]),B=(0,l.useCallback)(()=>L([D,P]),[L,D,P]);(0,l.useEffect)(()=>{A&&B()},[A,B]);let{onOpenChange:K,triggerPointerDownPosRef:F}=R;(0,l.useEffect)(()=>{if(P){let e={x:0,y:0},t=t=>{var n,r,l,o;e={x:Math.abs(Math.round(t.pageX)-(null!==(n=null===(r=F.current)||void 0===r?void 0:r.x)&&void 0!==n?n:0)),y:Math.abs(Math.round(t.pageY)-(null!==(l=null===(o=F.current)||void 0===o?void 0:o.y)&&void 0!==l?l:0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():P.contains(n.target)||K(!1),document.removeEventListener("pointermove",t),F.current=null};return null!==F.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}},[P,K,F]),(0,l.useEffect)(()=>{let e=()=>K(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[K]);let[U,q]=eT(e=>{let t=V().filter(e=>!e.disabled),n=t.find(e=>e.ref.current===document.activeElement),r=eO(t,e,n);r&&setTimeout(()=>r.ref.current.focus())}),Y=(0,l.useCallback)((e,t,n)=>{let r=!Z.current&&!n,l=void 0!==R.value&&R.value===t;(l||r)&&(T(e),r&&(Z.current=!0))},[R.value]),j=(0,l.useCallback)(()=>null==P?void 0:P.focus(),[P]),G=(0,l.useCallback)((e,t,n)=>{let r=!Z.current&&!n,l=void 0!==R.value&&R.value===t;(l||r)&&W(e)},[R.value]),J="popper"===o?ev:ef,Q=J===ev?{side:s,sideOffset:m,align:h,alignOffset:g,arrowPadding:w,collisionBoundary:y,collisionPadding:x,sticky:b,hideWhenDetached:C,avoidCollisions:E}:{};return(0,l.createElement)(ec,{scope:n,content:P,viewport:_,onViewportChange:k,itemRefCallback:Y,selectedItem:D,onItemLeave:j,itemTextRefCallback:G,focusSelectedItem:B,selectedItemText:O,position:o,isPositioned:A,searchRef:U},(0,l.createElement)(z.Z,{as:N.g7,allowPinchZoom:!0},(0,l.createElement)(v.M,{asChild:!0,trapped:R.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,i.M)(a,e=>{var t;null===(t=R.trigger)||void 0===t||t.focus({preventScroll:!0}),e.preventDefault()})},(0,l.createElement)(p.XB,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:d,onPointerDownOutside:c,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>R.onOpenChange(!1)},(0,l.createElement)(J,(0,r.Z)({role:"listbox",id:R.contentId,"data-state":R.open?"open":"closed",dir:R.dir,onContextMenu:e=>e.preventDefault()},S,Q,{onPlaced:()=>H(!0),ref:I,style:{display:"flex",flexDirection:"column",outline:"none",...S.style},onKeyDown:(0,i.M)(S.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||q(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=V().filter(e=>!e.disabled),n=t.map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(n=n.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){let t=e.target,r=n.indexOf(t);n=n.slice(r+1)}setTimeout(()=>L(n)),e.preventDefault()}})}))))))}),ef=(0,l.forwardRef)((e,t)=>{let{__scopeSelect:n,onPlaced:o,...i}=e,d=en(ed,n),c=es(ed,n),[s,p]=(0,l.useState)(null),[f,v]=(0,l.useState)(null),m=(0,u.e)(t,e=>v(e)),h=X(n),g=(0,l.useRef)(!1),w=(0,l.useRef)(!0),{viewport:y,selectedItem:b,selectedItemText:E,focusSelectedItem:S}=c,R=(0,l.useCallback)(()=>{if(d.trigger&&d.valueNode&&s&&f&&y&&b&&E){let e=d.trigger.getBoundingClientRect(),t=f.getBoundingClientRect(),n=d.valueNode.getBoundingClientRect(),r=E.getBoundingClientRect();if("rtl"!==d.dir){let l=r.left-t.left,o=n.left-l,i=e.left-o,d=e.width+i,u=Math.max(d,t.width),c=window.innerWidth-10,p=(0,a.u)(o,[10,c-u]);s.style.minWidth=d+"px",s.style.left=p+"px"}else{let l=t.right-r.right,o=window.innerWidth-n.right-l,i=window.innerWidth-e.right-o,d=e.width+i,u=Math.max(d,t.width),c=window.innerWidth-10,p=(0,a.u)(o,[10,c-u]);s.style.minWidth=d+"px",s.style.right=p+"px"}let l=h(),i=window.innerHeight-20,u=y.scrollHeight,c=window.getComputedStyle(f),p=parseInt(c.borderTopWidth,10),v=parseInt(c.paddingTop,10),m=parseInt(c.borderBottomWidth,10),w=parseInt(c.paddingBottom,10),x=p+v+u+w+m,C=Math.min(5*b.offsetHeight,x),S=window.getComputedStyle(y),R=parseInt(S.paddingTop,10),P=parseInt(S.paddingBottom,10),M=e.top+e.height/2-10,_=b.offsetHeight/2,k=b.offsetTop+_,I=p+v+k;if(I<=M){let e=b===l[l.length-1].ref.current;s.style.bottom="0px";let t=f.clientHeight-y.offsetTop-y.offsetHeight;s.style.height=I+Math.max(i-M,_+(e?P:0)+t+m)+"px"}else{let e=b===l[0].ref.current;s.style.top="0px";let t=Math.max(M,p+y.offsetTop+(e?R:0)+_);s.style.height=t+(x-I)+"px",y.scrollTop=I-M+y.offsetTop}s.style.margin="10px 0",s.style.minHeight=C+"px",s.style.maxHeight=i+"px",null==o||o(),requestAnimationFrame(()=>g.current=!0)}},[h,d.trigger,d.valueNode,s,f,y,b,E,d.dir,o]);(0,C.b)(()=>R(),[R]);let[P,M]=(0,l.useState)();(0,C.b)(()=>{f&&M(window.getComputedStyle(f).zIndex)},[f]);let _=(0,l.useCallback)(e=>{e&&!0===w.current&&(R(),null==S||S(),w.current=!1)},[R,S]);return(0,l.createElement)(em,{scope:n,contentWrapper:s,shouldExpandOnScrollRef:g,onScrollButtonChange:_},(0,l.createElement)("div",{ref:p,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:P}},(0,l.createElement)(x.WV.div,(0,r.Z)({},i,{ref:m,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}}))))}),ev=(0,l.forwardRef)((e,t)=>{let{__scopeSelect:n,align:o="start",collisionPadding:a=10,...i}=e,d=ee(n);return(0,l.createElement)(O,(0,r.Z)({},d,i,{ref:t,align:o,collisionPadding:a,style:{boxSizing:"border-box",...i.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}}))}),[em,eh]=J(ed,{}),eg="SelectViewport",ew=(0,l.forwardRef)((e,t)=>{let{__scopeSelect:n,...o}=e,a=es(eg,n),d=eh(eg,n),c=(0,u.e)(t,a.onViewportChange),s=(0,l.useRef)(0);return(0,l.createElement)(l.Fragment,null,(0,l.createElement)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"}}),(0,l.createElement)(j.Slot,{scope:n},(0,l.createElement)(x.WV.div,(0,r.Z)({"data-radix-select-viewport":"",role:"presentation"},o,{ref:c,style:{position:"relative",flex:1,overflow:"auto",...o.style},onScroll:(0,i.M)(o.onScroll,e=>{let t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=d;if(null!=r&&r.current&&n){let e=Math.abs(s.current-t.scrollTop);if(e>0){let r=window.innerHeight-20,l=parseFloat(n.style.minHeight),o=parseFloat(n.style.height),a=Math.max(l,o);if(a0?i:0,n.style.justifyContent="flex-end")}}}s.current=t.scrollTop})}))))}),[ey,ex]=J("SelectGroup"),eb=(0,l.forwardRef)((e,t)=>{let{__scopeSelect:n,...o}=e,a=(0,m.M)();return(0,l.createElement)(ey,{scope:n,id:a},(0,l.createElement)(x.WV.div,(0,r.Z)({role:"group","aria-labelledby":a},o,{ref:t})))}),eC=(0,l.forwardRef)((e,t)=>{let{__scopeSelect:n,...o}=e,a=ex("SelectLabel",n);return(0,l.createElement)(x.WV.div,(0,r.Z)({id:a.id},o,{ref:t}))}),eE="SelectItem",[eS,eR]=J(eE),eP=(0,l.forwardRef)((e,t)=>{let{__scopeSelect:n,value:o,disabled:a=!1,textValue:d,...c}=e,s=en(eE,n),p=es(eE,n),f=s.value===o,[v,h]=(0,l.useState)(null!=d?d:""),[g,w]=(0,l.useState)(!1),y=(0,u.e)(t,e=>{var t;return null===(t=p.itemRefCallback)||void 0===t?void 0:t.call(p,e,o,a)}),b=(0,m.M)(),C=()=>{a||(s.onValueChange(o),s.onOpenChange(!1))};return(0,l.createElement)(eS,{scope:n,value:o,disabled:a,textId:b,isSelected:f,onItemTextChange:(0,l.useCallback)(e=>{h(t=>{var n;return t||(null!==(n=null==e?void 0:e.textContent)&&void 0!==n?n:"").trim()})},[])},(0,l.createElement)(j.ItemSlot,{scope:n,value:o,disabled:a,textValue:v},(0,l.createElement)(x.WV.div,(0,r.Z)({role:"option","aria-labelledby":b,"data-highlighted":g?"":void 0,"aria-selected":f&&g,"data-state":f?"checked":"unchecked","aria-disabled":a||void 0,"data-disabled":a?"":void 0,tabIndex:a?void 0:-1},c,{ref:y,onFocus:(0,i.M)(c.onFocus,()=>w(!0)),onBlur:(0,i.M)(c.onBlur,()=>w(!1)),onPointerUp:(0,i.M)(c.onPointerUp,C),onPointerMove:(0,i.M)(c.onPointerMove,e=>{if(a){var t;null===(t=p.onItemLeave)||void 0===t||t.call(p)}else e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,i.M)(c.onPointerLeave,e=>{if(e.currentTarget===document.activeElement){var t;null===(t=p.onItemLeave)||void 0===t||t.call(p)}}),onKeyDown:(0,i.M)(c.onKeyDown,e=>{var t;let n=(null===(t=p.searchRef)||void 0===t?void 0:t.current)!=="";n&&" "===e.key||(q.includes(e.key)&&C()," "===e.key&&e.preventDefault())})}))))}),eM="SelectItemText",e_=(0,l.forwardRef)((e,t)=>{let{__scopeSelect:n,className:a,style:i,...d}=e,c=en(eM,n),s=es(eM,n),p=eR(eM,n),f=el(eM,n),[v,m]=(0,l.useState)(null),h=(0,u.e)(t,e=>m(e),p.onItemTextChange,e=>{var t;return null===(t=s.itemTextRefCallback)||void 0===t?void 0:t.call(s,e,p.value,p.disabled)}),g=null==v?void 0:v.textContent,w=(0,l.useMemo)(()=>(0,l.createElement)("option",{key:p.value,value:p.value,disabled:p.disabled},g),[p.disabled,p.value,g]),{onNativeOptionAdd:y,onNativeOptionRemove:b}=f;return(0,C.b)(()=>(y(w),()=>b(w)),[y,b,w]),(0,l.createElement)(l.Fragment,null,(0,l.createElement)(x.WV.span,(0,r.Z)({id:p.textId},d,{ref:h})),p.isSelected&&c.valueNode&&!c.valueNodeHasChildren?(0,o.createPortal)(d.children,c.valueNode):null)}),ek=(0,l.forwardRef)((e,t)=>{let{__scopeSelect:n,...o}=e,a=eR("SelectItemIndicator",n);return a.isSelected?(0,l.createElement)(x.WV.span,(0,r.Z)({"aria-hidden":!0},o,{ref:t})):null}),eI=((e,t)=>{let{__scopeSelect:n,onAutoScroll:o,...a}=e,d=es("SelectScrollButton",n),u=(0,l.useRef)(null),c=X(n),s=(0,l.useCallback)(()=>{null!==u.current&&(window.clearInterval(u.current),u.current=null)},[]);return(0,l.useEffect)(()=>()=>s(),[s]),(0,C.b)(()=>{var e;let t=c().find(e=>e.ref.current===document.activeElement);null==t||null===(e=t.ref.current)||void 0===e||e.scrollIntoView({block:"nearest"})},[c]),(0,l.createElement)(x.WV.div,(0,r.Z)({"aria-hidden":!0},a,{ref:t,style:{flexShrink:0,...a.style},onPointerDown:(0,i.M)(a.onPointerDown,()=>{null===u.current&&(u.current=window.setInterval(o,50))}),onPointerMove:(0,i.M)(a.onPointerMove,()=>{var e;null===(e=d.onItemLeave)||void 0===e||e.call(d),null===u.current&&(u.current=window.setInterval(o,50))}),onPointerLeave:(0,i.M)(a.onPointerLeave,()=>{s()})}))},(0,l.forwardRef)((e,t)=>{let{__scopeSelect:n,...o}=e;return(0,l.createElement)(x.WV.div,(0,r.Z)({"aria-hidden":!0},o,{ref:t}))})),eD=(0,l.forwardRef)((e,t)=>{let{value:n,...o}=e,a=(0,l.useRef)(null),i=(0,u.e)(t,a),d=(0,K.D)(n);return(0,l.useEffect)(()=>{let e=a.current,t=window.HTMLSelectElement.prototype,r=Object.getOwnPropertyDescriptor(t,"value"),l=r.set;if(d!==n&&l){let t=new Event("change",{bubbles:!0});l.call(e,n),e.dispatchEvent(t)}},[d,n]),(0,l.createElement)(F.T,{asChild:!0},(0,l.createElement)("select",(0,r.Z)({},o,{ref:i,defaultValue:n})))});function eT(e){let t=(0,b.W)(e),n=(0,l.useRef)(""),r=(0,l.useRef)(0),o=(0,l.useCallback)(e=>{let l=n.current+e;t(l),function e(t){n.current=t,window.clearTimeout(r.current),""!==t&&(r.current=window.setTimeout(()=>e(""),1e3))}(l)},[t]),a=(0,l.useCallback)(()=>{n.current="",window.clearTimeout(r.current)},[]);return(0,l.useEffect)(()=>()=>window.clearTimeout(r.current),[]),[n,o,a]}function eO(e,t,n){var r;let l=t.length>1&&Array.from(t).every(e=>e===t[0]),o=l?t[0]:t,a=n?e.indexOf(n):-1,i=(r=Math.max(a,0),e.map((t,n)=>e[(r+n)%e.length])),d=1===o.length;d&&(i=i.filter(e=>e!==n));let u=i.find(e=>e.textValue.toLowerCase().startsWith(o.toLowerCase()));return u!==n?u:void 0}eD.displayName="BubbleSelect";let eW=e=>{let{__scopeSelect:t,children:n,open:r,defaultOpen:o,onOpenChange:a,value:i,defaultValue:d,onValueChange:u,dir:c,name:p,autoComplete:f,disabled:v,required:h}=e,g=ee(t),[w,y]=(0,l.useState)(null),[x,b]=(0,l.useState)(null),[C,E]=(0,l.useState)(!1),S=(0,s.gm)(c),[R=!1,P]=(0,B.T)({prop:r,defaultProp:o,onChange:a}),[M,_]=(0,B.T)({prop:i,defaultProp:d,onChange:u}),k=(0,l.useRef)(null),I=!w||!!w.closest("form"),[D,T]=(0,l.useState)(new Set),O=Array.from(D).map(e=>e.props.value).join(";");return(0,l.createElement)(Z,g,(0,l.createElement)(et,{required:h,scope:t,trigger:w,onTriggerChange:y,valueNode:x,onValueNodeChange:b,valueNodeHasChildren:C,onValueNodeHasChildrenChange:E,contentId:(0,m.M)(),value:M,onValueChange:_,open:R,onOpenChange:P,dir:S,triggerPointerDownPosRef:k,disabled:v},(0,l.createElement)(j.Provider,{scope:t},(0,l.createElement)(er,{scope:e.__scopeSelect,onNativeOptionAdd:(0,l.useCallback)(e=>{T(t=>new Set(t).add(e))},[]),onNativeOptionRemove:(0,l.useCallback)(e=>{T(t=>{let n=new Set(t);return n.delete(e),n})},[])},n)),I?(0,l.createElement)(eD,{key:O,"aria-hidden":!0,required:h,tabIndex:-1,name:p,autoComplete:f,value:M,onChange:e=>_(e.target.value),disabled:v},void 0===M?(0,l.createElement)("option",{value:""}):null,Array.from(D)):null))},eV=eo,eA=ea,eH=ei,eZ=e=>(0,l.createElement)(L.h,(0,r.Z)({asChild:!0},e)),eL=eu,eN=ew,eB=eb,eK=eC,eF=eP,e$=e_,ez=ek,eU=eI},81544:function(e,t,n){n.d(t,{D:function(){return l}});var r=n(3546);function l(e){let t=(0,r.useRef)({value:e,previous:e});return(0,r.useMemo)(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/1889-87c8467fcccd59fb.js b/ee/tabby-webserver/ui/_next/static/chunks/1889-87c8467fcccd59fb.js new file mode 100644 index 000000000000..c938b2be8fe0 --- /dev/null +++ b/ee/tabby-webserver/ui/_next/static/chunks/1889-87c8467fcccd59fb.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1889],{85656:function(e,t,n){n.d(t,{B:function(){return i}});var r=n(3546),l=n(47091),o=n(79869),a=n(74047);function i(e){let t=e+"CollectionProvider",[n,i]=(0,l.b)(t),[d,u]=n(t,{collectionRef:{current:null},itemMap:new Map}),c=e+"CollectionSlot",s=r.forwardRef((e,t)=>{let{scope:n,children:l}=e,i=u(c,n),d=(0,o.e)(t,i.collectionRef);return r.createElement(a.g7,{ref:d},l)}),p=e+"CollectionItemSlot",f="data-radix-collection-item",v=r.forwardRef((e,t)=>{let{scope:n,children:l,...i}=e,d=r.useRef(null),c=(0,o.e)(t,d),s=u(p,n);return r.useEffect(()=>(s.itemMap.set(d,{ref:d,...i}),()=>void s.itemMap.delete(d))),r.createElement(a.g7,{[f]:"",ref:c},l)});return[{Provider:e=>{let{scope:t,children:n}=e,l=r.useRef(null),o=r.useRef(new Map).current;return r.createElement(d,{scope:t,itemMap:o,collectionRef:l},n)},Slot:s,ItemSlot:v},function(t){let n=u(e+"CollectionConsumer",t),l=r.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${f}]`)),r=Array.from(n.itemMap.values()),l=r.sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current));return l},[n.collectionRef,n.itemMap]);return l},i]}},31889:function(e,t,n){n.d(t,{VY:function(){return eL},ZA:function(){return eB},JO:function(){return eH},ck:function(){return eF},wU:function(){return ez},eT:function(){return e$},__:function(){return eK},h_:function(){return eZ},fC:function(){return eW},Z0:function(){return eU},xz:function(){return eV},B4:function(){return eA},l_:function(){return eN}});var r=n(65122),l=n(3546),o=n(30171),a=n(54491),i=n(65727),d=n(85656),u=n(79869),c=n(47091),s=n(57541),p=n(35468),f=n(12192),v=n(97742),m=n(29434),h=n(97570),g=n(95454),w=n(88734),y=n(65200),x=n(72205),b=n(17957),E=n(65292),C=n(96593);let S="Popper",[R,P]=(0,c.b)(S),[M,_]=R(S),k=(0,l.forwardRef)((e,t)=>{let{__scopePopper:n,virtualRef:o,...a}=e,i=_("PopperAnchor",n),d=(0,l.useRef)(null),c=(0,u.e)(t,d);return(0,l.useEffect)(()=>{i.onAnchorChange((null==o?void 0:o.current)||d.current)}),o?null:(0,l.createElement)(x.WV.div,(0,r.Z)({},a,{ref:c}))}),I="PopperContent",[D,T]=R(I),O=(0,l.forwardRef)((e,t)=>{var n,o,a,i,d,c,s,p;let{__scopePopper:f,side:v="bottom",sideOffset:m=0,align:y="center",alignOffset:S=0,arrowPadding:R=0,collisionBoundary:P=[],collisionPadding:M=0,sticky:k="partial",hideWhenDetached:T=!1,avoidCollisions:O=!0,onPlaced:W,...Z}=e,L=_(I,f),[N,B]=(0,l.useState)(null),K=(0,u.e)(t,e=>B(e)),[F,$]=(0,l.useState)(null),z=(0,C.t)(F),U=null!==(n=null==z?void 0:z.width)&&void 0!==n?n:0,q=null!==(o=null==z?void 0:z.height)&&void 0!==o?o:0,Y="number"==typeof M?M:{top:0,right:0,bottom:0,left:0,...M},j=Array.isArray(P)?P:[P],X=j.length>0,G={padding:Y,boundary:j.filter(V),altBoundary:X},{refs:J,floatingStyles:Q,placement:ee,isPositioned:et,middlewareData:en}=(0,h.YF)({strategy:"fixed",placement:v+("center"!==y?"-"+y:""),whileElementsMounted:g.Me,elements:{reference:L.anchor},middleware:[(0,w.cv)({mainAxis:m+q,alignmentAxis:S}),O&&(0,w.uY)({mainAxis:!0,crossAxis:!1,limiter:"partial"===k?(0,w.dr)():void 0,...G}),O&&(0,w.RR)({...G}),(0,w.dp)({...G,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:l,height:o}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${n}px`),a.setProperty("--radix-popper-available-height",`${r}px`),a.setProperty("--radix-popper-anchor-width",`${l}px`),a.setProperty("--radix-popper-anchor-height",`${o}px`)}}),F&&(0,h.x7)({element:F,padding:R}),A({arrowWidth:U,arrowHeight:q}),T&&(0,w.Cp)({strategy:"referenceHidden"})]}),[er,el]=H(ee),eo=(0,b.W)(W);(0,E.b)(()=>{et&&(null==eo||eo())},[et,eo]);let ea=null===(a=en.arrow)||void 0===a?void 0:a.x,ei=null===(i=en.arrow)||void 0===i?void 0:i.y,ed=(null===(d=en.arrow)||void 0===d?void 0:d.centerOffset)!==0,[eu,ec]=(0,l.useState)();return(0,E.b)(()=>{N&&ec(window.getComputedStyle(N).zIndex)},[N]),(0,l.createElement)("div",{ref:J.setFloating,"data-radix-popper-content-wrapper":"",style:{...Q,transform:et?Q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eu,"--radix-popper-transform-origin":[null===(c=en.transformOrigin)||void 0===c?void 0:c.x,null===(s=en.transformOrigin)||void 0===s?void 0:s.y].join(" ")},dir:e.dir},(0,l.createElement)(D,{scope:f,placedSide:er,onArrowChange:$,arrowX:ea,arrowY:ei,shouldHideArrow:ed},(0,l.createElement)(x.WV.div,(0,r.Z)({"data-side":er,"data-align":el},Z,{ref:K,style:{...Z.style,animation:et?void 0:"none",opacity:null!==(p=en.hide)&&void 0!==p&&p.referenceHidden?0:void 0}}))))}),W={top:"bottom",right:"left",bottom:"top",left:"right"};function V(e){return null!==e}let A=e=>({name:"transformOrigin",options:e,fn(t){var n,r,l,o,a;let{placement:i,rects:d,middlewareData:u}=t,c=(null===(n=u.arrow)||void 0===n?void 0:n.centerOffset)!==0,s=c?0:e.arrowWidth,p=c?0:e.arrowHeight,[f,v]=H(i),m={start:"0%",center:"50%",end:"100%"}[v],h=(null!==(r=null===(l=u.arrow)||void 0===l?void 0:l.x)&&void 0!==r?r:0)+s/2,g=(null!==(o=null===(a=u.arrow)||void 0===a?void 0:a.y)&&void 0!==o?o:0)+p/2,w="",y="";return"bottom"===f?(w=c?m:`${h}px`,y=`${-p}px`):"top"===f?(w=c?m:`${h}px`,y=`${d.floating.height+p}px`):"right"===f?(w=`${-p}px`,y=c?m:`${g}px`):"left"===f&&(w=`${d.floating.width+p}px`,y=c?m:`${g}px`),{data:{x:w,y:y}}}});function H(e){let[t,n="center"]=e.split("-");return[t,n]}let Z=e=>{let{__scopePopper:t,children:n}=e,[r,o]=(0,l.useState)(null);return(0,l.createElement)(M,{scope:t,anchor:r,onAnchorChange:o},n)};var L=n(86759),N=n(74047),B=n(27250),K=n(81544),F=n(99807),$=n(47847),z=n(8569);let U=[" ","Enter","ArrowUp","ArrowDown"],q=[" ","Enter"],Y="Select",[j,X,G]=(0,d.B)(Y),[J,Q]=(0,c.b)(Y,[G,P]),ee=P(),[et,en]=J(Y),[er,el]=J(Y),eo=(0,l.forwardRef)((e,t)=>{let{__scopeSelect:n,disabled:o=!1,...a}=e,d=ee(n),c=en("SelectTrigger",n),s=c.disabled||o,p=(0,u.e)(t,c.onTriggerChange),f=X(n),[v,m,h]=eT(e=>{let t=f().filter(e=>!e.disabled),n=t.find(e=>e.value===c.value),r=eO(t,e,n);void 0!==r&&c.onValueChange(r.value)}),g=()=>{s||(c.onOpenChange(!0),h())};return(0,l.createElement)(k,(0,r.Z)({asChild:!0},d),(0,l.createElement)(x.WV.button,(0,r.Z)({type:"button",role:"combobox","aria-controls":c.contentId,"aria-expanded":c.open,"aria-required":c.required,"aria-autocomplete":"none",dir:c.dir,"data-state":c.open?"open":"closed",disabled:s,"data-disabled":s?"":void 0,"data-placeholder":void 0===c.value?"":void 0},a,{ref:p,onClick:(0,i.M)(a.onClick,e=>{e.currentTarget.focus()}),onPointerDown:(0,i.M)(a.onPointerDown,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&(g(),c.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)},e.preventDefault())}),onKeyDown:(0,i.M)(a.onKeyDown,e=>{let t=""!==v.current,n=e.ctrlKey||e.altKey||e.metaKey;n||1!==e.key.length||m(e.key),(!t||" "!==e.key)&&U.includes(e.key)&&(g(),e.preventDefault())})})))}),ea=(0,l.forwardRef)((e,t)=>{let{__scopeSelect:n,className:o,style:a,children:i,placeholder:d,...c}=e,s=en("SelectValue",n),{onValueNodeHasChildrenChange:p}=s,f=void 0!==i,v=(0,u.e)(t,s.onValueNodeChange);return(0,E.b)(()=>{p(f)},[p,f]),(0,l.createElement)(x.WV.span,(0,r.Z)({},c,{ref:v,style:{pointerEvents:"none"}}),void 0===s.value&&void 0!==d?d:i)}),ei=(0,l.forwardRef)((e,t)=>{let{__scopeSelect:n,children:o,...a}=e;return(0,l.createElement)(x.WV.span,(0,r.Z)({"aria-hidden":!0},a,{ref:t}),o||"▼")}),ed="SelectContent",eu=(0,l.forwardRef)((e,t)=>{let n=en(ed,e.__scopeSelect),[a,i]=(0,l.useState)();return((0,E.b)(()=>{i(new DocumentFragment)},[]),n.open)?(0,l.createElement)(ep,(0,r.Z)({},e,{ref:t})):a?(0,o.createPortal)((0,l.createElement)(ec,{scope:e.__scopeSelect},(0,l.createElement)(j.Slot,{scope:e.__scopeSelect},(0,l.createElement)("div",null,e.children))),a):null}),[ec,es]=J(ed),ep=(0,l.forwardRef)((e,t)=>{let{__scopeSelect:n,position:o="item-aligned",onCloseAutoFocus:a,onEscapeKeyDown:d,onPointerDownOutside:c,side:s,sideOffset:m,align:h,alignOffset:g,arrowPadding:w,collisionBoundary:y,collisionPadding:x,sticky:b,hideWhenDetached:E,avoidCollisions:C,...S}=e,R=en(ed,n),[P,M]=(0,l.useState)(null),[_,k]=(0,l.useState)(null),I=(0,u.e)(t,e=>M(e)),[D,T]=(0,l.useState)(null),[O,W]=(0,l.useState)(null),V=X(n),[A,H]=(0,l.useState)(!1),Z=(0,l.useRef)(!1);(0,l.useEffect)(()=>{if(P)return(0,$.Ry)(P)},[P]),(0,f.EW)();let L=(0,l.useCallback)(e=>{let[t,...n]=V().map(e=>e.ref.current),[r]=n.slice(-1),l=document.activeElement;for(let n of e)if(n===l||(null==n||n.scrollIntoView({block:"nearest"}),n===t&&_&&(_.scrollTop=0),n===r&&_&&(_.scrollTop=_.scrollHeight),null==n||n.focus(),document.activeElement!==l))return},[V,_]),B=(0,l.useCallback)(()=>L([D,P]),[L,D,P]);(0,l.useEffect)(()=>{A&&B()},[A,B]);let{onOpenChange:K,triggerPointerDownPosRef:F}=R;(0,l.useEffect)(()=>{if(P){let e={x:0,y:0},t=t=>{var n,r,l,o;e={x:Math.abs(Math.round(t.pageX)-(null!==(n=null===(r=F.current)||void 0===r?void 0:r.x)&&void 0!==n?n:0)),y:Math.abs(Math.round(t.pageY)-(null!==(l=null===(o=F.current)||void 0===o?void 0:o.y)&&void 0!==l?l:0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():P.contains(n.target)||K(!1),document.removeEventListener("pointermove",t),F.current=null};return null!==F.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}},[P,K,F]),(0,l.useEffect)(()=>{let e=()=>K(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[K]);let[U,q]=eT(e=>{let t=V().filter(e=>!e.disabled),n=t.find(e=>e.ref.current===document.activeElement),r=eO(t,e,n);r&&setTimeout(()=>r.ref.current.focus())}),Y=(0,l.useCallback)((e,t,n)=>{let r=!Z.current&&!n,l=void 0!==R.value&&R.value===t;(l||r)&&(T(e),r&&(Z.current=!0))},[R.value]),j=(0,l.useCallback)(()=>null==P?void 0:P.focus(),[P]),G=(0,l.useCallback)((e,t,n)=>{let r=!Z.current&&!n,l=void 0!==R.value&&R.value===t;(l||r)&&W(e)},[R.value]),J="popper"===o?ev:ef,Q=J===ev?{side:s,sideOffset:m,align:h,alignOffset:g,arrowPadding:w,collisionBoundary:y,collisionPadding:x,sticky:b,hideWhenDetached:E,avoidCollisions:C}:{};return(0,l.createElement)(ec,{scope:n,content:P,viewport:_,onViewportChange:k,itemRefCallback:Y,selectedItem:D,onItemLeave:j,itemTextRefCallback:G,focusSelectedItem:B,selectedItemText:O,position:o,isPositioned:A,searchRef:U},(0,l.createElement)(z.Z,{as:N.g7,allowPinchZoom:!0},(0,l.createElement)(v.M,{asChild:!0,trapped:R.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,i.M)(a,e=>{var t;null===(t=R.trigger)||void 0===t||t.focus({preventScroll:!0}),e.preventDefault()})},(0,l.createElement)(p.XB,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:d,onPointerDownOutside:c,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>R.onOpenChange(!1)},(0,l.createElement)(J,(0,r.Z)({role:"listbox",id:R.contentId,"data-state":R.open?"open":"closed",dir:R.dir,onContextMenu:e=>e.preventDefault()},S,Q,{onPlaced:()=>H(!0),ref:I,style:{display:"flex",flexDirection:"column",outline:"none",...S.style},onKeyDown:(0,i.M)(S.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||q(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=V().filter(e=>!e.disabled),n=t.map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(n=n.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){let t=e.target,r=n.indexOf(t);n=n.slice(r+1)}setTimeout(()=>L(n)),e.preventDefault()}})}))))))}),ef=(0,l.forwardRef)((e,t)=>{let{__scopeSelect:n,onPlaced:o,...i}=e,d=en(ed,n),c=es(ed,n),[s,p]=(0,l.useState)(null),[f,v]=(0,l.useState)(null),m=(0,u.e)(t,e=>v(e)),h=X(n),g=(0,l.useRef)(!1),w=(0,l.useRef)(!0),{viewport:y,selectedItem:b,selectedItemText:C,focusSelectedItem:S}=c,R=(0,l.useCallback)(()=>{if(d.trigger&&d.valueNode&&s&&f&&y&&b&&C){let e=d.trigger.getBoundingClientRect(),t=f.getBoundingClientRect(),n=d.valueNode.getBoundingClientRect(),r=C.getBoundingClientRect();if("rtl"!==d.dir){let l=r.left-t.left,o=n.left-l,i=e.left-o,d=e.width+i,u=Math.max(d,t.width),c=window.innerWidth-10,p=(0,a.u)(o,[10,c-u]);s.style.minWidth=d+"px",s.style.left=p+"px"}else{let l=t.right-r.right,o=window.innerWidth-n.right-l,i=window.innerWidth-e.right-o,d=e.width+i,u=Math.max(d,t.width),c=window.innerWidth-10,p=(0,a.u)(o,[10,c-u]);s.style.minWidth=d+"px",s.style.right=p+"px"}let l=h(),i=window.innerHeight-20,u=y.scrollHeight,c=window.getComputedStyle(f),p=parseInt(c.borderTopWidth,10),v=parseInt(c.paddingTop,10),m=parseInt(c.borderBottomWidth,10),w=parseInt(c.paddingBottom,10),x=p+v+u+w+m,E=Math.min(5*b.offsetHeight,x),S=window.getComputedStyle(y),R=parseInt(S.paddingTop,10),P=parseInt(S.paddingBottom,10),M=e.top+e.height/2-10,_=b.offsetHeight/2,k=b.offsetTop+_,I=p+v+k;if(I<=M){let e=b===l[l.length-1].ref.current;s.style.bottom="0px";let t=f.clientHeight-y.offsetTop-y.offsetHeight;s.style.height=I+Math.max(i-M,_+(e?P:0)+t+m)+"px"}else{let e=b===l[0].ref.current;s.style.top="0px";let t=Math.max(M,p+y.offsetTop+(e?R:0)+_);s.style.height=t+(x-I)+"px",y.scrollTop=I-M+y.offsetTop}s.style.margin="10px 0",s.style.minHeight=E+"px",s.style.maxHeight=i+"px",null==o||o(),requestAnimationFrame(()=>g.current=!0)}},[h,d.trigger,d.valueNode,s,f,y,b,C,d.dir,o]);(0,E.b)(()=>R(),[R]);let[P,M]=(0,l.useState)();(0,E.b)(()=>{f&&M(window.getComputedStyle(f).zIndex)},[f]);let _=(0,l.useCallback)(e=>{e&&!0===w.current&&(R(),null==S||S(),w.current=!1)},[R,S]);return(0,l.createElement)(em,{scope:n,contentWrapper:s,shouldExpandOnScrollRef:g,onScrollButtonChange:_},(0,l.createElement)("div",{ref:p,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:P}},(0,l.createElement)(x.WV.div,(0,r.Z)({},i,{ref:m,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}}))))}),ev=(0,l.forwardRef)((e,t)=>{let{__scopeSelect:n,align:o="start",collisionPadding:a=10,...i}=e,d=ee(n);return(0,l.createElement)(O,(0,r.Z)({},d,i,{ref:t,align:o,collisionPadding:a,style:{boxSizing:"border-box",...i.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}}))}),[em,eh]=J(ed,{}),eg="SelectViewport",ew=(0,l.forwardRef)((e,t)=>{let{__scopeSelect:n,...o}=e,a=es(eg,n),d=eh(eg,n),c=(0,u.e)(t,a.onViewportChange),s=(0,l.useRef)(0);return(0,l.createElement)(l.Fragment,null,(0,l.createElement)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"}}),(0,l.createElement)(j.Slot,{scope:n},(0,l.createElement)(x.WV.div,(0,r.Z)({"data-radix-select-viewport":"",role:"presentation"},o,{ref:c,style:{position:"relative",flex:1,overflow:"auto",...o.style},onScroll:(0,i.M)(o.onScroll,e=>{let t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=d;if(null!=r&&r.current&&n){let e=Math.abs(s.current-t.scrollTop);if(e>0){let r=window.innerHeight-20,l=parseFloat(n.style.minHeight),o=parseFloat(n.style.height),a=Math.max(l,o);if(a0?i:0,n.style.justifyContent="flex-end")}}}s.current=t.scrollTop})}))))}),[ey,ex]=J("SelectGroup"),eb=(0,l.forwardRef)((e,t)=>{let{__scopeSelect:n,...o}=e,a=(0,m.M)();return(0,l.createElement)(ey,{scope:n,id:a},(0,l.createElement)(x.WV.div,(0,r.Z)({role:"group","aria-labelledby":a},o,{ref:t})))}),eE=(0,l.forwardRef)((e,t)=>{let{__scopeSelect:n,...o}=e,a=ex("SelectLabel",n);return(0,l.createElement)(x.WV.div,(0,r.Z)({id:a.id},o,{ref:t}))}),eC="SelectItem",[eS,eR]=J(eC),eP=(0,l.forwardRef)((e,t)=>{let{__scopeSelect:n,value:o,disabled:a=!1,textValue:d,...c}=e,s=en(eC,n),p=es(eC,n),f=s.value===o,[v,h]=(0,l.useState)(null!=d?d:""),[g,w]=(0,l.useState)(!1),y=(0,u.e)(t,e=>{var t;return null===(t=p.itemRefCallback)||void 0===t?void 0:t.call(p,e,o,a)}),b=(0,m.M)(),E=()=>{a||(s.onValueChange(o),s.onOpenChange(!1))};return(0,l.createElement)(eS,{scope:n,value:o,disabled:a,textId:b,isSelected:f,onItemTextChange:(0,l.useCallback)(e=>{h(t=>{var n;return t||(null!==(n=null==e?void 0:e.textContent)&&void 0!==n?n:"").trim()})},[])},(0,l.createElement)(j.ItemSlot,{scope:n,value:o,disabled:a,textValue:v},(0,l.createElement)(x.WV.div,(0,r.Z)({role:"option","aria-labelledby":b,"data-highlighted":g?"":void 0,"aria-selected":f&&g,"data-state":f?"checked":"unchecked","aria-disabled":a||void 0,"data-disabled":a?"":void 0,tabIndex:a?void 0:-1},c,{ref:y,onFocus:(0,i.M)(c.onFocus,()=>w(!0)),onBlur:(0,i.M)(c.onBlur,()=>w(!1)),onPointerUp:(0,i.M)(c.onPointerUp,E),onPointerMove:(0,i.M)(c.onPointerMove,e=>{if(a){var t;null===(t=p.onItemLeave)||void 0===t||t.call(p)}else e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,i.M)(c.onPointerLeave,e=>{if(e.currentTarget===document.activeElement){var t;null===(t=p.onItemLeave)||void 0===t||t.call(p)}}),onKeyDown:(0,i.M)(c.onKeyDown,e=>{var t;let n=(null===(t=p.searchRef)||void 0===t?void 0:t.current)!=="";n&&" "===e.key||(q.includes(e.key)&&E()," "===e.key&&e.preventDefault())})}))))}),eM="SelectItemText",e_=(0,l.forwardRef)((e,t)=>{let{__scopeSelect:n,className:a,style:i,...d}=e,c=en(eM,n),s=es(eM,n),p=eR(eM,n),f=el(eM,n),[v,m]=(0,l.useState)(null),h=(0,u.e)(t,e=>m(e),p.onItemTextChange,e=>{var t;return null===(t=s.itemTextRefCallback)||void 0===t?void 0:t.call(s,e,p.value,p.disabled)}),g=null==v?void 0:v.textContent,w=(0,l.useMemo)(()=>(0,l.createElement)("option",{key:p.value,value:p.value,disabled:p.disabled},g),[p.disabled,p.value,g]),{onNativeOptionAdd:y,onNativeOptionRemove:b}=f;return(0,E.b)(()=>(y(w),()=>b(w)),[y,b,w]),(0,l.createElement)(l.Fragment,null,(0,l.createElement)(x.WV.span,(0,r.Z)({id:p.textId},d,{ref:h})),p.isSelected&&c.valueNode&&!c.valueNodeHasChildren?(0,o.createPortal)(d.children,c.valueNode):null)}),ek=(0,l.forwardRef)((e,t)=>{let{__scopeSelect:n,...o}=e,a=eR("SelectItemIndicator",n);return a.isSelected?(0,l.createElement)(x.WV.span,(0,r.Z)({"aria-hidden":!0},o,{ref:t})):null}),eI=((e,t)=>{let{__scopeSelect:n,onAutoScroll:o,...a}=e,d=es("SelectScrollButton",n),u=(0,l.useRef)(null),c=X(n),s=(0,l.useCallback)(()=>{null!==u.current&&(window.clearInterval(u.current),u.current=null)},[]);return(0,l.useEffect)(()=>()=>s(),[s]),(0,E.b)(()=>{var e;let t=c().find(e=>e.ref.current===document.activeElement);null==t||null===(e=t.ref.current)||void 0===e||e.scrollIntoView({block:"nearest"})},[c]),(0,l.createElement)(x.WV.div,(0,r.Z)({"aria-hidden":!0},a,{ref:t,style:{flexShrink:0,...a.style},onPointerDown:(0,i.M)(a.onPointerDown,()=>{null===u.current&&(u.current=window.setInterval(o,50))}),onPointerMove:(0,i.M)(a.onPointerMove,()=>{var e;null===(e=d.onItemLeave)||void 0===e||e.call(d),null===u.current&&(u.current=window.setInterval(o,50))}),onPointerLeave:(0,i.M)(a.onPointerLeave,()=>{s()})}))},(0,l.forwardRef)((e,t)=>{let{__scopeSelect:n,...o}=e;return(0,l.createElement)(x.WV.div,(0,r.Z)({"aria-hidden":!0},o,{ref:t}))})),eD=(0,l.forwardRef)((e,t)=>{let{value:n,...o}=e,a=(0,l.useRef)(null),i=(0,u.e)(t,a),d=(0,K.D)(n);return(0,l.useEffect)(()=>{let e=a.current,t=window.HTMLSelectElement.prototype,r=Object.getOwnPropertyDescriptor(t,"value"),l=r.set;if(d!==n&&l){let t=new Event("change",{bubbles:!0});l.call(e,n),e.dispatchEvent(t)}},[d,n]),(0,l.createElement)(F.T,{asChild:!0},(0,l.createElement)("select",(0,r.Z)({},o,{ref:i,defaultValue:n})))});function eT(e){let t=(0,b.W)(e),n=(0,l.useRef)(""),r=(0,l.useRef)(0),o=(0,l.useCallback)(e=>{let l=n.current+e;t(l),function e(t){n.current=t,window.clearTimeout(r.current),""!==t&&(r.current=window.setTimeout(()=>e(""),1e3))}(l)},[t]),a=(0,l.useCallback)(()=>{n.current="",window.clearTimeout(r.current)},[]);return(0,l.useEffect)(()=>()=>window.clearTimeout(r.current),[]),[n,o,a]}function eO(e,t,n){var r;let l=t.length>1&&Array.from(t).every(e=>e===t[0]),o=l?t[0]:t,a=n?e.indexOf(n):-1,i=(r=Math.max(a,0),e.map((t,n)=>e[(r+n)%e.length])),d=1===o.length;d&&(i=i.filter(e=>e!==n));let u=i.find(e=>e.textValue.toLowerCase().startsWith(o.toLowerCase()));return u!==n?u:void 0}eD.displayName="BubbleSelect";let eW=e=>{let{__scopeSelect:t,children:n,open:r,defaultOpen:o,onOpenChange:a,value:i,defaultValue:d,onValueChange:u,dir:c,name:p,autoComplete:f,disabled:v,required:h}=e,g=ee(t),[w,y]=(0,l.useState)(null),[x,b]=(0,l.useState)(null),[E,C]=(0,l.useState)(!1),S=(0,s.gm)(c),[R=!1,P]=(0,B.T)({prop:r,defaultProp:o,onChange:a}),[M,_]=(0,B.T)({prop:i,defaultProp:d,onChange:u}),k=(0,l.useRef)(null),I=!w||!!w.closest("form"),[D,T]=(0,l.useState)(new Set),O=Array.from(D).map(e=>e.props.value).join(";");return(0,l.createElement)(Z,g,(0,l.createElement)(et,{required:h,scope:t,trigger:w,onTriggerChange:y,valueNode:x,onValueNodeChange:b,valueNodeHasChildren:E,onValueNodeHasChildrenChange:C,contentId:(0,m.M)(),value:M,onValueChange:_,open:R,onOpenChange:P,dir:S,triggerPointerDownPosRef:k,disabled:v},(0,l.createElement)(j.Provider,{scope:t},(0,l.createElement)(er,{scope:e.__scopeSelect,onNativeOptionAdd:(0,l.useCallback)(e=>{T(t=>new Set(t).add(e))},[]),onNativeOptionRemove:(0,l.useCallback)(e=>{T(t=>{let n=new Set(t);return n.delete(e),n})},[])},n)),I?(0,l.createElement)(eD,{key:O,"aria-hidden":!0,required:h,tabIndex:-1,name:p,autoComplete:f,value:M,onChange:e=>_(e.target.value),disabled:v},void 0===M?(0,l.createElement)("option",{value:""}):null,Array.from(D)):null))},eV=eo,eA=ea,eH=ei,eZ=e=>(0,l.createElement)(L.h,(0,r.Z)({asChild:!0},e)),eL=eu,eN=ew,eB=eb,eK=eE,eF=eP,e$=e_,ez=ek,eU=eI},81544:function(e,t,n){n.d(t,{D:function(){return l}});var r=n(3546);function l(e){let t=(0,r.useRef)({value:e,previous:e});return(0,r.useMemo)(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/2685-29efc3a639ee7624.js b/ee/tabby-webserver/ui/_next/static/chunks/2685-29efc3a639ee7624.js new file mode 100644 index 000000000000..6ae31179f9e6 --- /dev/null +++ b/ee/tabby-webserver/ui/_next/static/chunks/2685-29efc3a639ee7624.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2685],{23057:function(e,t,n){"use strict";n.d(t,{Z:function(){return G}});var r=n(36164),o=n(3546),s=n(21808),l=n(9010),i=n(57288),a=n(29),d=n(6230);n(15812);var c=n(46836),u=n(75866),m=n(97216),h=n(48497),x=n(10155),p=n(31408),f=n(68035),v=n(16784),g=n(10345),j=n(83171);let b="mention",y=g.ZP.extend({addNodeView:()=>(0,f.fW)(j.t),renderText(e){let{node:t}=e;return"[[source:".concat(t.attrs.id,"]]")},addAttributes:()=>({id:{default:null,parseHTML:e=>e.getAttribute("data-id"),renderHTML:e=>e.id?{"data-id":e.id}:{}},label:{default:null,parseHTML:e=>e.getAttribute("data-label"),renderHTML:e=>e.label?{"data-label":e.label}:{}},kind:{default:null,parseHTML:e=>e.getAttribute("data-kind"),renderHTML:e=>e.kind?{"data-kind":e.kind}:{}}})});n(44750);var w=n(31022),k=n(45238),N=n(18500),C=n(81565);let I=(0,o.forwardRef)((e,t)=>{let{query:n,command:s,category:l}=e,{list:a,pending:d}=(0,o.useContext)(A),[c,u]=(0,o.useState)(0),m=(0,o.useMemo)(()=>{if(!(null==a?void 0:a.length))return[];let e=a.filter(e=>(0,i._q)(e.sourceKind)).map(e=>({type:"source",category:"doc",id:e.sourceId,label:e.sourceName,data:e})),t=a.filter(e=>(0,i.wO)(e.sourceKind)).map(e=>({type:"source",category:"code",id:e.sourceId,label:e.sourceName,data:e}));return"doc"===l?e:t},[l,a]),h=(0,o.useMemo)(()=>{if(!n)return m;let e=(0,k.go)(n,m,{key:e=>e.label});return e.map(e=>e.obj)},[n,m]),x=()=>{u((c+h.length-1)%h.length)},p=()=>{u((c+1)%h.length)},f=e=>{let t=h[e];t&&s({id:t.data.sourceId,label:t.label,kind:t.data.sourceKind})},v=()=>{f(c)};return(0,o.useEffect)(()=>u(0),[m]),(0,o.useImperativeHandle)(t,()=>({onKeyDown:e=>{let{event:t}=e;return"ArrowUp"===t.key?(x(),!0):"ArrowDown"===t.key?(p(),!0):"Enter"===t.key&&(v(),!0)}})),(0,r.jsx)("div",{className:"dropdown-menu max-h-[30vh] min-w-[20rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-2 text-popover-foreground shadow animate-in",children:d?(0,r.jsx)("div",{className:"px-2 py-1.5",children:(0,r.jsx)(C.IconSpinner,{})}):h.length?h.map((e,t)=>(0,r.jsx)(E,{onClick:()=>f(t),onMouseEnter:()=>u(t),title:e.label,data:e,isSelected:t===c},e.id)):(0,r.jsx)("div",{className:"px-2 py-1.5 text-sm text-muted-foreground",children:(null==m?void 0:m.length)?(0,r.jsx)("span",{children:"No matches results"}):(0,r.jsx)("span",{children:"No results"})})})});function S(e){let{kind:t}=e;switch(t){case N.ri.Doc:return(0,r.jsx)(C.IconEmojiBook,{});case N.ri.Web:return(0,r.jsx)(C.IconEmojiGlobe,{});case N.ri.Git:return(0,r.jsx)(C.IconCode,{});case N.ri.Github:return(0,r.jsx)(C.IconGitHub,{});case N.ri.Gitlab:return(0,r.jsx)(C.IconGitLab,{});default:return null}}function E(e){let{isSelected:t,data:n,...s}=e,l=(0,o.useRef)(null);return(0,o.useLayoutEffect)(()=>{if(t&&l.current){var e;null===(e=l.current)||void 0===e||e.scrollIntoView({block:"nearest",inline:"nearest"})}},[t]),(0,r.jsxs)("div",{className:(0,i.cn)("flex cursor-pointer gap-1 rounded-md px-2 py-1.5 text-sm",{"bg-accent text-accent-foreground":t}),...s,ref:l,children:[(0,r.jsx)("span",{className:"flex h-5 shrink-0 items-center",children:(0,r.jsx)(S,{kind:n.data.sourceKind})}),(0,r.jsx)("span",{className:"flex-1",children:n.label})]})}I.displayName="MetionList";let R=e=>{let t=e.getJSON(),n=[],r=0,o=e=>{var t,s;"text"===e.type?r+=(null==e?void 0:null===(t=e.text)||void 0===t?void 0:t.length)||0:"mention"===e.type&&(null==e?void 0:null===(s=e.attrs)||void 0===s?void 0:s.id)&&n.push({id:e.attrs.id,label:e.attrs.label,kind:e.attrs.kind}),e.content&&e.content.forEach(o)};return o(t),n};var M=e=>{let{disabled:t,category:n,placement:r,char:o="@",pluginKey:s}=e;return{render:()=>{let e,t;return{onStart:o=>{let s=R(o.editor);e=new f.M_(I,{props:{...o,mentions:s,category:n},editor:o.editor}),o.clientRect&&(t=(0,w.ZP)("body",{getReferenceClientRect:o.clientRect,appendTo:()=>document.body,content:e.element,showOnCreate:!0,interactive:!0,trigger:"manual",placement:r||"bottom-start",animation:"shift-away",maxWidth:"400px"}))},onUpdate(n){e.updateProps(n),n.clientRect&&t[0].setProps({getReferenceClientRect:n.clientRect})},onKeyDown(n){var r,o;return"Escape"===n.event.key?(t[0].hide(),!0):null!==(o=null===(r=e.ref)||void 0===r?void 0:r.onKeyDown(n))&&void 0!==o&&o},onExit(){t[0].destroy(),e.destroy()}}},char:o,pluginKey:s,command:e=>{var t,r,o;let{editor:s,range:l,props:a}=e;if("code"===n){!function(e,t,n){let r;let{doc:o}=e.state,s=e.state.selection.$from;o.descendants((e,t)=>!("mention"===e.type.name&&(0,i.wO)(e.attrs.kind))||(r=t,!1)),e.chain().deleteRange({from:t.from,to:t.to}).run();let l=void 0!==r,a=o.firstChild,d=l?[{type:b,attrs:n}]:[{type:b,attrs:n},{type:"text",text:" "}];if(a&&"paragraph"===a.type.name){let t=a.firstChild;if(t&&"mention"===t.type.name&&(0,i.wO)(t.attrs.kind)){let n=t.nodeSize;e.chain().deleteRange({from:1,to:1+n}).insertContentAt(1,d).focus().run()}else e.chain().insertContentAt(1,d).focus().run()}else e.chain().insertContentAt(0,d).focus().run();e.commands.focus(l?s.pos:s.pos+1)}(s,l,a);return}let d=s.view.state.selection.$to.nodeAfter,c=null==d?void 0:null===(t=d.text)||void 0===t?void 0:t.startsWith(" ");c&&(l.to+=1),s.chain().focus().insertContentAt(l,[{type:b,attrs:a},{type:"text",text:" "}]).run(),null===(o=s.view.dom.ownerDocument.defaultView)||void 0===o||null===(r=o.getSelection())||void 0===r||r.collapseToEnd()},allow:e=>{let{state:n,range:r}=e;if(t)return!1;let o=n.doc.resolve(r.from),s=n.schema.nodes[b],l=!!o.parent.type.contentMatch.matchType(s);return l}}};let T=new x.H$("mention-doc");new x.H$("mention-code");let Z=e=>p.hj.create({addKeyboardShortcuts(){return{Enter:t=>{let{editor:n}=t;return e(n),!0},"Shift-Enter":()=>this.editor.commands.first(e=>{let{commands:t}=e;return[()=>t.newlineInCode(),()=>t.createParagraphNear(),()=>t.liftEmptyBlock(),()=>t.splitBlock()]})}}}),A=o.createContext({}),P=(0,o.forwardRef)((e,t)=>{let{editable:n,content:l,contextInfo:a,fetchingContextInfo:d,submitting:x,onSubmit:p,placeholder:g,onBlur:j,onFocus:b,onUpdate:w,autoFocus:k,className:N,editorClassName:C,placement:I}=e,[S,E]=(0,o.useState)(!d),R=(0,v.d)(e=>{if(x)return;let t=e.getText({blockSeparator:s.rZ}).trim();t&&(null==p||p(e))});(0,o.useMemo)(()=>null!=a&&!!a.sources&&a.sources.some(e=>(0,i.wO)(e.sourceKind)),[null==a?void 0:a.sources]);let P=(0,o.useMemo)(()=>null!=a&&!!a.sources&&a.sources.some(e=>(0,i._q)(e.sourceKind)),[null==a?void 0:a.sources]),K=(0,f.jE)({editable:!!S&&n,immediatelyRender:!1,extensions:[c.Z,u.Z,h.Z,m.Z.configure({showOnlyWhenEditable:!1,placeholder:S?g||"Ask anything...":"Loading..."}),Z(e=>{R.current(e)}),y.configure({deleteTriggerWithBackspace:!0,HTMLAttributes:{class:"mention"},suggestion:M({category:"doc",char:"@",pluginKey:T,placement:"bottom"===I?"top-start":"bottom-start",disabled:!P})})],editorProps:{attributes:{class:(0,i.cn)("max-h-38 prose min-h-[3.5rem] max-w-none font-sans dark:prose-invert focus:outline-none prose-p:my-0",C)}},content:l,onBlur(e){null==j||j(e)},onFocus(e){null==b||b(e)},onUpdate(e){null==w||w(e)}},[S]);return((0,o.useImperativeHandle)(t,()=>({editor:K})),(0,o.useLayoutEffect)(()=>{K&&k&&K.commands.focus()},[K]),(0,o.useEffect)(()=>{d||S||E(!0)},[d]),K)?(0,r.jsx)(A.Provider,{value:{list:null==a?void 0:a.sources,pending:!!d},children:(0,r.jsx)("div",{className:(0,i.cn)("text-area-autosize max-h-36 overflow-y-auto pr-1",N),children:(0,r.jsx)(f.kg,{editor:K})})}):null});P.displayName="PromptEditor";var K=n(31458),O=n(11208),F=n(3448),z=n(62202);function H(e){let{models:t,value:n,onChange:o,isInitializing:s}=e,l=e=>{o(e)};return(0,r.jsx)(d.Z,{loading:s,fallback:(0,r.jsx)("div",{className:"w-full pl-2",children:(0,r.jsx)(F.O,{className:"h-3 w-[20%]"})}),children:!!(null==t?void 0:t.length)&&(0,r.jsxs)(z.h_,{children:[(0,r.jsx)(z.$F,{asChild:!0,children:(0,r.jsxs)(K.z,{variant:"ghost",className:"gap-2 px-1.5 py-1 text-foreground/70",children:[(0,r.jsx)(C.IconBox,{}),n]})}),(0,r.jsx)(z.AW,{side:"bottom",align:"start",className:"dropdown-menu max-h-[30vh] min-w-[20rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-2 text-popover-foreground shadow animate-in",children:(0,r.jsx)(z._x,{value:n,onValueChange:o,children:t.map(e=>{let t=e===n;return(0,r.jsxs)(z.qB,{onClick:t=>{l(e),t.stopPropagation()},value:e,className:"cursor-pointer py-2 pl-3",children:[(0,r.jsx)(C.IconCheck,{className:(0,i.cn)("mr-2 shrink-0",e===n?"opacity-100":"opacity-0")}),(0,r.jsx)("span",{className:(0,i.cn)({"font-medium":t}),children:e})]},e)})})})]})})}var L=n(36065),_=n(84942),B=n(37034);function D(e){let{repos:t,value:n,onChange:s,isInitializing:l}=e,[a,c]=(0,o.useState)(!1),u=(0,o.useRef)(null),m=e=>{s(e)},h=()=>{requestAnimationFrame(()=>{u.current&&(u.current.scrollTop=0)})},x=n?null==t?void 0:t.find(e=>e.sourceId===n):void 0,p=null==x?void 0:x.sourceName;return l||(null==t?void 0:t.length)?(0,r.jsx)(d.Z,{loading:l,fallback:(0,r.jsx)("div",{className:"w-full pl-2",children:(0,r.jsx)(F.O,{className:"h-3 w-[10rem]"})}),children:(0,r.jsxs)(_.J2,{open:a,onOpenChange:c,children:[(0,r.jsx)(_.xo,{className:"outline-none",asChild:!0,children:(0,r.jsxs)(K.z,{variant:"ghost",className:"gap-2 px-1.5 py-1 font-normal",title:p||"select codebase",children:[x?(0,r.jsx)(B.k,{kind:x.sourceKind,className:"h-3.5 w-3.5 shrink-0"}):(0,r.jsx)(C.IconFolderGit,{className:"shrink-0"}),(0,r.jsx)("div",{className:"flex flex-1 items-center gap-1.5 truncate break-all",children:(0,r.jsx)("span",{className:(0,i.cn)("truncate",{"text-muted-foreground":!p}),children:p||"Codebase"})})]})}),(0,r.jsx)(_.yk,{side:"bottom",align:"start",className:"max-h-[50vh] min-w-[20vw] max-w-[80vw] overflow-x-hidden rounded-md border bg-popover p-2 pb-0 text-popover-foreground shadow animate-in",children:(0,r.jsxs)(L.mY,{children:[(0,r.jsx)(L.sZ,{placeholder:"Search codebase...",onValueChange:()=>{h()}}),(0,r.jsxs)(L.e8,{className:"max-h-[30vh]",ref:u,children:[(0,r.jsx)(L.rb,{children:"No context found"}),(0,r.jsx)(L.fu,{children:null==t?void 0:t.map(e=>{let t=e.sourceId===n;return(0,r.jsxs)(L.di,{onSelect:()=>{m(e.sourceId),c(!1)},title:e.sourceName,children:[(0,r.jsx)(C.IconCheck,{className:(0,i.cn)("mr-1 shrink-0",e.sourceId===n?"opacity-100":"opacity-0")}),(0,r.jsxs)("div",{className:"flex flex-1 items-center gap-1 overflow-x-hidden",children:[(0,r.jsx)(B.k,{kind:e.sourceKind,className:"shrink-0"}),(0,r.jsx)("div",{className:(0,i.cn)("truncate",{"font-semibold":t}),children:e.sourceName})]})]},e.sourceId)})})]}),(0,r.jsx)(L.zz,{}),(0,r.jsx)(L.fu,{children:(0,r.jsx)(L.di,{disabled:!n,className:"flex justify-center",onSelect:()=>{s(void 0),c(!1)},children:"Clear"})})]})})]})}):null}function G(e){let{onSearch:t,modelName:n,onSelectModel:l,repoSourceId:c,onSelectRepo:u,className:m,placeholder:h,showBetaBadge:x,isLoading:p,autoFocus:f,loadingWithSpinning:v,cleanAfterSearch:g=!0,isFollowup:j,contextInfo:b,fetchingContextInfo:y,isInitializingResources:w,models:k}=e,[N,I]=(0,o.useState)(!1),[S,E]=(0,o.useState)(""),R=(0,o.useRef)(null),M=()=>{var e,t;null===(t=R.current)||void 0===t||null===(e=t.editor)||void 0===e||e.commands.focus()},T=e=>{l(e),setTimeout(()=>{M()})},Z=e=>{u(e),setTimeout(()=>{M()})},A=e=>{if(!e||p||w)return;let r=e.getText({blockSeparator:s.rZ}).trim();if(!r)return;let o=(0,i.b)(r,null==b?void 0:b.sources),l={...(0,i.G8)(o),modelName:n};if(t(r,l),g){var a,d;null===(d=R.current)||void 0===d||null===(a=d.editor)||void 0===a||a.chain().clearContent().focus().run(),E("")}},z=e=>{var t;let n=null===(t=R.current)||void 0===t?void 0:t.editor;n&&n.chain().focus().command(t=>{var n,r,o;let{tr:s,state:l}=t,{$from:i}=l.selection,a=0===i.parentOffset,d=null!==(o=null===(r=i.nodeBefore)||void 0===r?void 0:null===(n=r.text)||void 0===n?void 0:n.endsWith(" "))&&void 0!==o&&o;return a||d?s.insertText(e):s.insertText(" "+e),!0}).run()},{hasDocumentSource:L}=(0,o.useMemo)(()=>(0,i.xV)(null==b?void 0:b.sources),[null==b?void 0:b.sources]),_=(0,o.useMemo)(()=>null==b?void 0:b.sources.filter(e=>(0,i.wO)(e.sourceKind)),[null==b?void 0:b.sources]),B=!!(null==k?void 0:k.length),G=!!(null==_?void 0:_.length),q=B||G;return(0,r.jsxs)("div",{className:(0,i.cn)("relative w-full overflow-hidden rounded-xl border bg-background transition-all hover:border-ring dark:border-muted-foreground/60 dark:hover:border-muted-foreground",{"border-ring dark:border-muted-foreground":N},m),onClick:()=>{M()},children:[x&&(0,r.jsx)(W,{}),(0,r.jsxs)("div",{className:(0,i.cn)("flex items-end pr-4",{"min-h-[5.5rem]":!j,"min-h-[2.5rem]":j}),children:[(0,r.jsxs)("div",{className:"mr-1 flex-1 overflow-x-hidden pl-4",children:[(0,r.jsx)(P,{editable:!0,contextInfo:b,fetchingContextInfo:y,onSubmit:A,placeholder:h||"Ask anything...",autoFocus:f,onFocus:()=>I(!0),onBlur:()=>I(!1),onUpdate:e=>{let{editor:t}=e;return E(t.getText({blockSeparator:s.rZ}).trim())},ref:R,placement:j?"bottom":"top",className:(0,i.cn)("text-area-autosize resize-none rounded-lg !border-none bg-transparent !shadow-none !outline-none !ring-0 !ring-offset-0",{"py-3":!x,"py-4":x}),editorClassName:j&&q?"min-h-[1.75rem]":"min-h-[3.5em]"}),j&&q&&(0,r.jsxs)("div",{className:"-ml-2 mb-2 flex items-center gap-2",onClick:e=>e.stopPropagation(),children:[G&&(0,r.jsx)(D,{isInitializing:y,repos:_,value:c,onChange:Z}),G&&B&&(0,r.jsx)(O.Z,{orientation:"vertical",className:"h-5"}),B&&(0,r.jsx)(H,{isInitializing:w,models:k,value:n,onChange:T})]})]}),(0,r.jsx)("div",{className:(0,i.cn)("mb-3 flex items-center justify-between gap-2"),children:(0,r.jsxs)("div",{className:(0,i.cn)("flex items-center justify-center rounded-lg p-1 transition-all",{"bg-primary text-primary-foreground cursor-pointer":S.length>0,"!bg-muted !text-primary !cursor-default":p||0===S.length||w,"mr-1.5":!x}),onClick:()=>{var e;return A(null===(e=R.current)||void 0===e?void 0:e.editor)},children:[v&&p&&(0,r.jsx)(C.IconSpinner,{className:"h-4 w-4"}),(!v||!p)&&(0,r.jsx)(C.IconArrowRight,{className:"h-4 w-4"})]})})]}),!j&&(0,r.jsx)("div",{className:(0,i.cn)("flex items-center gap-2 border-t bg-[#F9F6EF] py-2 pl-2 pr-4 dark:border-muted-foreground/60 dark:bg-[#333333]"),onClick:e=>e.stopPropagation(),children:(0,r.jsxs)(d.Z,{loading:w||y,delay:0,fallback:(0,r.jsx)("div",{className:"flex h-8 w-[40%] items-center",children:(0,r.jsx)(F.O,{className:"h-4 w-full"})}),children:[(0,r.jsxs)(a.u,{children:[(0,r.jsx)(a.aJ,{asChild:!0,children:(0,r.jsxs)(K.z,{variant:"ghost",className:"gap-2 px-1.5 py-1 text-foreground/70",onClick:e=>z("@"),disabled:!L,children:[(0,r.jsx)(C.IconAtSign,{}),"Documents"]})}),(0,r.jsx)(a._v,{className:"max-w-md",children:"Select a document to bring into context"})]}),(0,r.jsx)(O.Z,{orientation:"vertical",className:"h-5"}),(0,r.jsx)(D,{repos:_,value:c,onChange:Z,isInitializing:y}),!!(null==k?void 0:k.length)&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(O.Z,{orientation:"vertical",className:"h-5"}),(0,r.jsx)(H,{models:k,value:n,onChange:T})]})]})})]})}function W(){let{theme:e}=(0,l.X)();return(0,r.jsxs)(a.u,{delayDuration:0,children:[(0,r.jsx)(a.aJ,{asChild:!0,children:(0,r.jsx)("span",{className:"absolute -right-8 top-1 mr-3 rotate-45 rounded-none border-none py-0.5 pl-6 pr-5 text-xs text-primary",style:{background:"dark"===e?"#333":"#e8e1d3"},children:"Beta"})}),(0,r.jsx)(a._v,{sideOffset:-8,className:"max-w-md",children:(0,r.jsx)("p",{children:"Please note that the answer engine is still in its early stages, and certain functionalities, such as finding the correct code context and the quality of summarizations, still have room for improvement. If you encounter an issue and believe it can be enhanced, consider sharing it in our Slack community!"})})]})}},31159:function(e,t,n){"use strict";n.d(t,{Vq:function(){return d}});var r=n(3546),o=n(21454),s=n(27257),l=n(3765),i=n(47241),a=n(17451);function d(){let{data:e,isLoading:t}=(0,o.ZP)("/v1beta/models",e=>(0,l.Z)(e,{errorHandler:()=>{throw Error("Fetch supported model failed.")}}),{shouldRetryOnError:!1}),n=(0,s.oR)(a.a,e=>e.selectedModel);return(0,r.useEffect)(()=>{if(!t){let t=function(e,t){if(!(null==t?void 0:t.length))return;let n=!!e&&t.includes(e);return n?e:t[0]}(n,null==e?void 0:e.chat);(0,i.Eg)(t)}},[t]),{isFetchingModels:t,selectedModel:n,models:null==e?void 0:e.chat}}},4951:function(e,t,n){"use strict";n.d(t,{Q:function(){return i}});var r=n(3546),o=n(40055),s=n(17451),l=n(70410);function i(){let[{data:e,fetching:t}]=(0,o.aM)({query:l.K5}),n=null==e?void 0:e.repositoryList,i=(0,s.a)(e=>e.selectedRepoSourceId),a=(0,r.useMemo)(()=>{if((null==n?void 0:n.length)&&i)return n.find(e=>e.sourceId===i)},[n,i]);return{repos:n,isFetchingRepositories:t,selectedRepository:a}}},37266:function(e,t,n){"use strict";n.d(t,{CR:function(){return s},F0:function(){return i},wh:function(){return a}});var r=n(27257);let o={homePage:void 0},s=(0,r.Ue)()(()=>({...o})),l=s.setState,i=e=>l(()=>({homePage:e})),a=()=>l(()=>({homePage:void 0}))},15812:function(){}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/2869-42f1f3c44cd51c36.js b/ee/tabby-webserver/ui/_next/static/chunks/2869-42f1f3c44cd51c36.js deleted file mode 100644 index eeb3cdeed494..000000000000 --- a/ee/tabby-webserver/ui/_next/static/chunks/2869-42f1f3c44cd51c36.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2869],{40030:function(e,t,r){r.d(t,{r:function(){return b}});var n=r(36164),a=r(3546),s=r(37671),o=r(2578),l=r(40055),d=r(43240),i=r(11634),c=r(70410),u=r(57288),f=r(31458),m=r(36065),p=r(81565),x=r(84942),h=r(3448),g=r(6230);let N=(0,d.BX)("\n mutation grantSourceIdReadAccess($sourceId: String!, $userGroupId: ID!) {\n grantSourceIdReadAccess(sourceId: $sourceId, userGroupId: $userGroupId)\n }\n"),v=(0,d.BX)("\n mutation revokeSourceIdReadAccess($sourceId: String!, $userGroupId: ID!) {\n revokeSourceIdReadAccess(sourceId: $sourceId, userGroupId: $userGroupId)\n }\n");function b(e){var t;let{sourceId:r,sourceName:d,className:b,editable:j,userGroups:y,fetchingUserGroups:w,...R}=e,[k,I]=(0,a.useState)(!1),[{data:Y,fetching:S}]=(0,l.aM)({query:c.hA,variables:{sourceId:r}}),_=(0,i.Db)(N),z=(0,i.Db)(v),C=null==Y?void 0:null===(t=Y.sourceIdAccessPolicies)||void 0===t?void 0:t.read,A=(null==C?void 0:C.length)||0,O=(0,a.useMemo)(()=>(null==C?void 0:C.length)?new Set(C.map(e=>e.id)):new Set,[C]),J=(e,t,r)=>{r?D(e,t):$(e,t)},D=(e,t)=>{let n="Failed to grant ".concat(t);return _({sourceId:r,userGroupId:e},{extraParams:{userGroupName:t}}).then(e=>{var t,r;if(!(null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.grantSourceIdReadAccess)){let t=(null==e?void 0:null===(r=e.error)||void 0===r?void 0:r.message)||n;o.A.error(t);return}}).catch(e=>{let t=(null==e?void 0:e.message)||n;o.A.error(t)})},$=(e,t)=>z({sourceId:r,userGroupId:e},{extraParams:{userGroupName:t}}).then(e=>{var r,n;if(!(null==e?void 0:null===(r=e.data)||void 0===r?void 0:r.revokeSourceIdReadAccess)){let r=(null==e?void 0:null===(n=e.error)||void 0===n?void 0:n.message)||"Failed to revoke '".concat(t,"'");o.A.error(r);return}}).catch(e=>{let r=(null==e?void 0:e.message)||"Failed to revoke '".concat(t,"'");o.A.error(r)}),E=0===A?"Everyone":"".concat(A," ").concat(A<=1?"group":"groups");return(0,n.jsx)(g.Z,{loading:S,fallback:(0,n.jsx)(h.O,{className:(0,u.cn)(b)}),children:(0,n.jsxs)("div",{className:(0,u.cn)("flex items-center gap-0.5",b),children:[(0,n.jsx)("span",{className:"w-[68px]",children:E}),j&&(0,n.jsxs)(x.J2,{open:k,onOpenChange:I,children:[(0,n.jsx)(x.xo,{asChild:!0,children:(0,n.jsx)(f.z,{variant:"ghost",role:"combobox",size:"icon",children:(0,n.jsx)(p.IconEdit,{})})}),(0,n.jsx)(x.yk,{align:"end",side:"top",children:(0,n.jsxs)(m.mY,{children:[(0,n.jsx)(m.sZ,{placeholder:"Search groups..."}),(0,n.jsxs)(m.e8,{className:"max-h-[30vh]",children:[(0,n.jsx)(m.rb,{children:w?(0,n.jsx)("div",{className:"flex justify-center",children:(0,n.jsx)(p.IconSpinner,{className:"h-6 w-6"})}):(null==y?void 0:y.length)?"No matches results":"No groups found"}),(0,n.jsx)(m.fu,{children:null==y?void 0:y.map(e=>{let t=O.has(e.id),r=e.members.length;return(0,n.jsxs)(m.di,{value:e.name,onSelect:()=>J(e.id,e.name,!t),children:[(0,n.jsx)("div",{className:(0,u.cn)("mr-2 flex h-4 w-4 cursor-pointer items-center justify-center rounded-sm border border-primary",t?"bg-primary text-primary-foreground":"opacity-50 [&_svg]:invisible"),children:(0,n.jsx)(s.nQG,{className:(0,u.cn)("h-4 w-4")})}),(0,n.jsxs)("span",{children:[e.name,(0,n.jsx)("span",{className:"ml-1 text-muted-foreground",children:"(".concat(r," member").concat(r>1?"s":"",")")})]})]},e.id)})})]})]})})]})]})})}},55137:function(e,t,r){r.d(t,{_:function(){return h}});var n=r(36164),a=r(3546),s=r(70652),o=r.n(s),l=r(11978),d=r(99092),i=r.n(d),c=r(57288),u=r(31458),f=r(81565),m=r(29);function p(e){let{onTrigger:t,isPending:r,jobLink:s}=e,o=(0,l.useRouter)(),[d,i]=a.useState(!1);return(0,n.jsxs)(m.u,{children:[(0,n.jsx)(m.aJ,{asChild:!0,children:(0,n.jsx)(u.z,{size:"icon",variant:"ghost",onClick:()=>{if(r){s&&o.push(s);return}let e=t();return e&&e instanceof Promise&&(i(!0),e.finally(()=>i(!1))),e},disabled:d,children:d||r?(0,n.jsx)(f.IconSpinner,{}):(0,n.jsx)(f.IconCirclePlay,{strokeWidth:1,className:"h-5 w-5"})})}),(0,n.jsx)(m._v,{children:(0,n.jsx)("p",{children:"Run"})})]})}function x(e){let{jobInfo:t,className:r}=e;return(null==t?void 0:t.lastJobRun)?(0,n.jsx)(o(),{href:"/jobs/detail?id=".concat(t.lastJobRun.id),className:(0,c.cn)("flex items-center gap-1 underline hover:text-foreground/50",r),children:i()(t.lastJobRun.createdAt).format("YYYY-MM-DD HH:mm")}):null}function h(e){var t;let{jobInfo:r,onTrigger:a,className:s}=e,o=!!(null==r?void 0:r.lastJobRun)&&null===r.lastJobRun.exitCode,l=(null==r?void 0:null===(t=r.lastJobRun)||void 0===t?void 0:t.id)?"/jobs/detail?id=".concat(r.lastJobRun.id):void 0;return(0,n.jsxs)("div",{className:(0,c.cn)("flex items-center gap-1",s),children:[(0,n.jsx)(x,{jobInfo:r,className:"hidden lg:block"}),(0,n.jsx)(p,{onTrigger:a,isPending:o,jobLink:l})]})}},14522:function(e,t,r){r.d(t,{C:function(){return a}});var n=r(43240);let a=(0,n.BX)("\n mutation triggerJobRun($command: String!) {\n triggerJobRun(command: $command)\n }\n")},6230:function(e,t,r){var n=r(36164),a=r(3546),s=r(24449),o=r(90379);t.Z=e=>{let{loading:t,fallback:r,delay:l,children:d}=e,[i,c]=a.useState(!t),[u]=(0,s.n)(i,null!=l?l:200);return(a.useEffect(()=>{t||i||c(!0)},[t]),u)?d:r||(0,n.jsx)(o.cg,{})}},90379:function(e,t,r){r.d(t,{PF:function(){return d},cg:function(){return o},tB:function(){return l}});var n=r(36164),a=r(57288),s=r(3448);let o=e=>{let{className:t,...r}=e;return(0,n.jsxs)("div",{className:(0,a.cn)("space-y-3",t),...r,children:[(0,n.jsx)(s.O,{className:"h-4 w-full"}),(0,n.jsx)(s.O,{className:"h-4 w-full"}),(0,n.jsx)(s.O,{className:"h-4 w-full"}),(0,n.jsx)(s.O,{className:"h-4 w-full"})]})},l=e=>{let{className:t,...r}=e;return(0,n.jsx)(s.O,{className:(0,a.cn)("h-4 w-full",t),...r})},d=e=>{let{className:t,...r}=e;return(0,n.jsxs)("div",{className:(0,a.cn)("flex flex-col gap-3",t),...r,children:[(0,n.jsx)(s.O,{className:"h-4 w-[20%]"}),(0,n.jsx)(s.O,{className:"h-4 w-full"}),(0,n.jsx)(s.O,{className:"h-4 w-[20%]"}),(0,n.jsx)(s.O,{className:"h-4 w-full"})]})}},36065:function(e,t,r){r.d(t,{di:function(){return p},e8:function(){return c},fu:function(){return f},mY:function(){return d},rb:function(){return u},sZ:function(){return i},zz:function(){return m}});var n=r(36164),a=r(3546),s=r(53241),o=r(93170),l=r(57288);r(30220);let d=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.mY,{ref:t,className:(0,l.cn)("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",r),...a})});d.displayName=s.mY.displayName;let i=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsxs)("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,n.jsx)(o.Z,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),(0,n.jsx)(s.mY.Input,{ref:t,className:(0,l.cn)("flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",r),...a})]})});i.displayName=s.mY.Input.displayName;let c=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.mY.List,{ref:t,className:(0,l.cn)("max-h-[300px] overflow-y-auto overflow-x-hidden",r),...a})});c.displayName=s.mY.List.displayName;let u=a.forwardRef((e,t)=>(0,n.jsx)(s.mY.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));u.displayName=s.mY.Empty.displayName;let f=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.mY.Group,{ref:t,className:(0,l.cn)("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",r),...a})});f.displayName=s.mY.Group.displayName;let m=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.mY.Separator,{ref:t,className:(0,l.cn)("-mx-1 h-px bg-border",r),...a})});m.displayName=s.mY.Separator.displayName;let p=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.mY.Item,{ref:t,className:(0,l.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-disabled:pointer-events-none aria-disabled:opacity-50 aria-selected:bg-accent aria-selected:text-accent-foreground",r),...a})});p.displayName=s.mY.Item.displayName},30220:function(e,t,r){r.d(t,{$N:function(){return x},Be:function(){return h},Vq:function(){return d},cN:function(){return p},cZ:function(){return f},fK:function(){return m},hg:function(){return i}});var n=r(36164),a=r(3546),s=r(4318),o=r(1663),l=r(57288);let d=s.fC,i=s.xz,c=s.h_;s.x8;let u=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.aV,{ref:t,className:(0,l.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",r),...a})});u.displayName=s.aV.displayName;let f=a.forwardRef((e,t)=>{let{className:r,children:a,...d}=e;return(0,n.jsxs)(c,{children:[(0,n.jsx)(u,{}),(0,n.jsxs)(s.VY,{ref:t,className:(0,l.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",r),...d,children:[a,(0,n.jsxs)(s.x8,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,n.jsx)(o.Z,{className:"h-4 w-4"}),(0,n.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});f.displayName=s.VY.displayName;let m=e=>{let{className:t,...r}=e;return(0,n.jsx)("div",{className:(0,l.cn)("flex flex-col space-y-1.5 text-center sm:text-left",t),...r})};m.displayName="DialogHeader";let p=e=>{let{className:t,...r}=e;return(0,n.jsx)("div",{className:(0,l.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...r})};p.displayName="DialogFooter";let x=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.Dx,{ref:t,className:(0,l.cn)("text-lg font-semibold leading-none tracking-tight",r),...a})});x.displayName=s.Dx.displayName;let h=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.dk,{ref:t,className:(0,l.cn)("text-sm text-muted-foreground",r),...a})});h.displayName=s.dk.displayName},84942:function(e,t,r){r.d(t,{J2:function(){return l},i9:function(){return c},tW:function(){return u},xo:function(){return d},xp:function(){return i},yk:function(){return f}});var n=r(36164),a=r(3546),s=r(83299),o=r(57288);let l=s.fC,d=s.xz,i=s.x8,c=s.h_,u=s.ee,f=a.forwardRef((e,t)=>{let{className:r,sideOffset:a=4,...l}=e;return(0,n.jsx)(s.VY,{ref:t,sideOffset:a,className:(0,o.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow animate-in data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r),...l})});f.displayName=s.VY.displayName},3448:function(e,t,r){r.d(t,{O:function(){return s}});var n=r(36164),a=r(57288);function s(e){let{className:t,...r}=e;return(0,n.jsx)("div",{className:(0,a.cn)("h-4 animate-pulse rounded-md bg-border",t),...r})}},99047:function(e,t,r){r.d(t,{RM:function(){return d},SC:function(){return c},iA:function(){return o},pj:function(){return f},ss:function(){return u},xD:function(){return l}});var n=r(36164),a=r(3546),s=r(57288);let o=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("table",{ref:t,className:(0,s.cn)("w-full caption-bottom text-sm",r),...a})});o.displayName="Table";let l=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("thead",{ref:t,className:(0,s.cn)("[&_tr]:border-b",r),...a})});l.displayName="TableHeader";let d=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("tbody",{ref:t,className:(0,s.cn)("[&_tr:last-child]:border-0",r),...a})});d.displayName="TableBody";let i=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("tfoot",{ref:t,className:(0,s.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",r),...a})});i.displayName="TableFooter";let c=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("tr",{ref:t,className:(0,s.cn)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",r),...a})});c.displayName="TableRow";let u=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("th",{ref:t,className:(0,s.cn)("h-12 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",r),...a})});u.displayName="TableHead";let f=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("td",{ref:t,className:(0,s.cn)("p-2 align-middle [&:has([role=checkbox])]:pr-0",r),...a})});f.displayName="TableCell";let m=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("caption",{ref:t,className:(0,s.cn)("mt-4 text-sm text-muted-foreground",r),...a})});m.displayName="TableCaption"},29:function(e,t,r){r.d(t,{_v:function(){return c},aJ:function(){return i},pn:function(){return l},u:function(){return d}});var n=r(36164),a=r(3546),s=r(44421),o=r(57288);let l=s.zt,d=s.fC,i=s.xz;s.h_;let c=a.forwardRef((e,t)=>{let{className:r,sideOffset:a=4,...l}=e;return(0,n.jsx)(s.VY,{ref:t,sideOffset:a,className:(0,o.cn)("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-xs font-medium text-popover-foreground shadow-md animate-in fade-in-50 data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-1 data-[side=right]:slide-in-from-left-1 data-[side=top]:slide-in-from-bottom-1",r),...l})});c.displayName=s.VY.displayName},24449:function(e,t,r){r.d(t,{S:function(){return l},n:function(){return d}});var n=r(3546),a=r(45391),s=r(16784);let o=e=>{let t=(0,s.d)(e);n.useEffect(()=>()=>{t.current()},[])};function l(e,t,r){let l=(0,s.d)(e),d=n.useMemo(()=>(0,a.Z)(function(){for(var e=arguments.length,t=Array(e),r=0;r{var e;null==r||null===(e=r.onUnmount)||void 0===e||e.call(r,d),d.cancel()}),{run:d,cancel:d.cancel,flush:d.flush}}function d(e,t,r){let[a,s]=n.useState(e),{run:o}=l(()=>{s(e)},t,r);return n.useEffect(()=>{o()},[e]),[a,s]}},16784:function(e,t,r){r.d(t,{d:function(){return a}});var n=r(3546);function a(e){let t=n.useRef(e);return t.current=e,t}}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/3236-d3ba703104704f82.js b/ee/tabby-webserver/ui/_next/static/chunks/3236-d3ba703104704f82.js new file mode 100644 index 000000000000..4e8b421d4f35 --- /dev/null +++ b/ee/tabby-webserver/ui/_next/static/chunks/3236-d3ba703104704f82.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3236],{72657:function(e,n,t){"use strict";t.d(n,{K:function(){return o}});var s=t(36164);t(3546);var a=t(12624),l=t(57288),r=t(31458),i=t(81565);function o(e){let{className:n,container:t,offset:o,...c}=e,d=(0,a.e)(o||0,t);return(0,s.jsxs)(r.z,{variant:"outline",size:"icon",className:(0,l.cn)("absolute right-4 top-1 z-10 bg-background transition-opacity duration-300 sm:right-8 md:top-2",d?"opacity-0":"opacity-100",n),onClick:()=>{t?t.scrollTo({top:t.scrollHeight,behavior:"smooth"}):window.scrollTo({top:document.body.offsetHeight,behavior:"smooth"})},...c,children:[(0,s.jsx)(i.IconArrowDown,{}),(0,s.jsx)("span",{className:"sr-only",children:"Scroll to bottom"})]})}},3236:function(e,n,t){"use strict";t.d(n,{e:function(){return eF},p:function(){return eR}});var s=t(36164),a=t(3546),l=t(1853),r=t(78613),i=t(82157),o=t(72940),c=t(70783),d=t(40055),u=t(21808),m=t(24449),f=t(16784),x=t(64566),p=t(63484),h=t(17451),v=t(70410),g=t(57288),b=t(54767),j=t(94755),y=t(28445),N=t(84837),w=t(2578),C=t(28312),k=t(47241),A=t(11634),I=t(63795),S=t(31458),M=t(81565),L=t(72657),E=t(45391),D=t(34021),R=t(21454),F=t(3765),z=t(84942),_=t(29),T=t(24685),O=t(74630),P=t(16234),Z=t(23455),U=t(82394);let B=a.createContext({}),q=z.xp,H=a.forwardRef((e,n)=>(0,s.jsx)(z.tW,{...e,ref:n}));H.displayName="SearchableSelectAnchor";let J=a.forwardRef((e,n)=>{let{getInputProps:t}=a.useContext(B),{onKeyDown:l,onChange:r,onInput:i,onBlur:o,onClick:c,...d}=e;return(0,s.jsx)(Z.Z,{...t((0,P.Z)({onKeyDown:l,onChange:r,onInput:i,onBlur:o,onClick:c,ref:n},O.Z)),...d})});J.displayName="SearchableSelectTextarea";let V=a.forwardRef((e,n)=>{let{getInputProps:t}=a.useContext(B),{onKeyDown:l,onChange:r,onInput:i,onBlur:o,onClick:c,...d}=e;return(0,s.jsx)(U.I,{...t((0,P.Z)({onKeyDown:l,onChange:r,onInput:i,onBlur:o,onClick:c,ref:n},O.Z)),...d})});V.displayName="SearchableSelectInput";let G=a.forwardRef((e,n)=>{let{children:t,style:l,popupMatchAnchorWidth:r,...i}=e,{getMenuProps:o,anchorRef:c}=a.useContext(B),d=a.useRef(void 0);return a.useLayoutEffect(()=>{if(r){let e=c.current;if(e){let n=e.getBoundingClientRect();d.current=n.width}}},[]),(0,s.jsx)(z.i9,{children:(0,s.jsx)(z.yk,{align:"start",onOpenAutoFocus:e=>e.preventDefault(),style:{width:d.current,...l},...o({ref:n},{suppressRefError:!0}),...i,children:t})})});G.displayName="SearchableSelectContent";let Y=a.forwardRef((e,n)=>{let{item:t,index:l,className:r,children:i,disabled:o,...c}=e,{highlightedIndex:d,selectedItem:u,getItemProps:m}=a.useContext(B),f=d===l,x=u===t;return(0,s.jsx)(q,{asChild:!0,children:(0,s.jsx)("div",{className:(0,g.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none",f&&"bg-accent text-accent-foreground",x&&"font-bold",o&&"pointer-events-none opacity-50",r),...m({item:t,index:l,onMouseLeave:e=>e.preventDefault(),onMouseOut:e=>e.preventDefault()}),...c,children:"function"==typeof i?i({highlighted:f,selected:x}):i})},t.id)});function W(e){let{options:n,onSelect:t,children:l,open:r,onOpenChange:i,stayOpenOnInputClick:o}=e,c=a.useRef(null),d=a.useCallback((e,n)=>{let{type:t,changes:s}=n;switch(t){case T.Kb.stateChangeTypes.MenuMouseLeave:return{...s,highlightedIndex:e.highlightedIndex};case T.Kb.stateChangeTypes.InputClick:let a=!!o||s.isOpen;return{...s,isOpen:a};default:return s}},[o]),u=(0,T.Kb)({items:null!=n?n:[],defaultIsOpen:r,onSelectedItemChange(e){let{selectedItem:n}=e;n&&(null==t||t(n),null==i||i(!1))},onIsOpenChange:e=>{let{isOpen:n}=e;null==i||i(!!n)},stateReducer:d}),{setHighlightedIndex:m,highlightedIndex:f}=u,x=(0,O.Z)(r)?u.isOpen:u.isOpen&&r;a.useEffect(()=>{x&&(null==n?void 0:n.length)&&-1===f&&m(0)},[x,n]);let p=a.useMemo(()=>({...u,open:x,anchorRef:c}),[u,x,c]);return(0,s.jsx)(B.Provider,{value:p,children:(0,s.jsx)(z.J2,{open:x,children:"function"==typeof l?l(p):l})})}Y.displayName="SearchableSelectOption";let K=a.forwardRef(function(e,n){let{onSubmit:t,input:l,setInput:r,isLoading:i,chatInputRef:o,isInitializing:c}=e,{formRef:d,onKeyDown:u}=function(){let e=(0,a.useRef)(null);return{formRef:e,onKeyDown:n=>{if("Enter"===n.key&&!n.shiftKey&&!n.nativeEvent.isComposing){var t;null===(t=e.current)||void 0===t||t.requestSubmit(),n.preventDefault()}}}}(),[m,f]=a.useState(null),[x,p]=a.useState(!1),h=a.useRef(),v=a.useRef(),[b,j]=a.useState([]),[y,N]=a.useState({}),{data:w}=(0,R.ZP)(m,F.Z,{revalidateOnFocus:!1,dedupingInterval:0,errorRetryCount:0});a.useEffect(()=>{var e;let n=null!==(e=null==w?void 0:w.hits)&&void 0!==e?e:[];j(n),p(!!(null==n?void 0:n.length))},[null==w?void 0:w.hits]),a.useImperativeHandle(n,()=>({focus:()=>{var e;return null===(e=o.current)||void 0===e?void 0:e.focus()}})),a.useEffect(()=>{l&&o.current&&o.current!==document.activeElement&&o.current.focus()},[l,o]),a.useLayoutEffect(()=>{var e,n,t;(null===(e=v.current)||void 0===e?void 0:e.length)&&(null===(t=o.current)||void 0===t||null===(n=t.setSelectionRange)||void 0===n||n.call(t,v.current[0],v.current[1]),v.current=void 0)},[o]),a.useMemo(()=>(0,E.Z)(e=>{var n,t,s,a;let l=null!==(s=null===(n=e.target)||void 0===n?void 0:n.value)&&void 0!==s?s:"",r=null!==(a=null===(t=e.target)||void 0===t?void 0:t.selectionEnd)&&void 0!==a?a:0,i=Q(l,r),o=null==i?void 0:i[1];if(o){let e=encodeURIComponent("name:".concat(o," AND kind:function")),n="/v1beta/search?q=".concat(e);f(n)}else j([]),p(!1)},200),[]);let C=async e=>{if(e.preventDefault(),!(null==l?void 0:l.trim())||i||c)return;let n=l;Object.keys(y).forEach(e=>{var t,s,a;let l=y[e];(null==l?void 0:l.doc)&&(n=n.replaceAll(e,"\n```".concat(null!==(s=null===(t=l.doc)||void 0===t?void 0:t.language)&&void 0!==s?s:"","\n").concat(null!==(a=l.doc.body)&&void 0!==a?a:"","\n","```","\n")))}),r(""),await t(n)},k=(e,n)=>{"Enter"===e.key&&n?e.preventDefault():n&&["ArrowRight","ArrowLeft","Home","End"].includes(e.key)?(j([]),p(!1)):(n||(e.preventDownshiftDefault=!0),u(e))};return(0,s.jsx)("form",{onSubmit:C,ref:d,children:(0,s.jsx)(W,{options:b,onSelect:e=>{var n,t,s;let a=null!==(n=h.current)&&void 0!==n?n:0,i=Q(l,a);if(i){N({...y,["@".concat(null===(t=e.doc)||void 0===t?void 0:t.name)]:e});let n="@".concat(null==e?void 0:null===(s=e.doc)||void 0===s?void 0:s.name," "),o=l.substring(0,a).replace(new RegExp(i[0]),""),c=o.length+n.length;v.current=[c,c],r(o+n+l.slice(a))}j([]),p(!1)},open:x,onOpenChange:e=>{e&&(null==b?void 0:b.length)?p(e):(p(!1),j([]))},children:e=>{var n,t,a,d;let{open:u,highlightedIndex:m}=e,f=null==b?void 0:b[m];return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(H,{children:(0,s.jsxs)("div",{className:"relative flex max-h-60 w-full grow flex-col overflow-hidden bg-background px-8 sm:rounded-md sm:border sm:px-12",children:[(0,s.jsx)("span",{className:(0,g.cn)((0,S.d)({size:"sm",variant:"ghost"}),"absolute left-0 top-4 h-8 w-8 rounded-full bg-background p-0 hover:bg-background sm:left-4"),children:(0,s.jsx)(M.IconEdit,{})}),(0,s.jsx)(J,{tabIndex:0,rows:1,placeholder:"Ask a question.",spellCheck:!1,className:"min-h-[60px] w-full resize-none bg-transparent py-[1.3rem] pr-4 focus-within:outline-none sm:pl-4",value:l,ref:o,onChange:e=>{(0,D.Z)(e,"target.value")?(h.current=e.target.selectionEnd,r(e.target.value)):h.current=void 0},onKeyDown:e=>k(e,u)}),(0,s.jsx)("div",{className:"absolute right-0 top-4 sm:right-4",children:(0,s.jsxs)(_.u,{children:[(0,s.jsx)(_.aJ,{asChild:!0,children:(0,s.jsxs)(S.z,{type:"submit",size:"icon",disabled:c||i||""===l,children:[(0,s.jsx)(M.IconArrowElbow,{}),(0,s.jsx)("span",{className:"sr-only",children:"Send message"})]})}),(0,s.jsx)(_._v,{children:"Send message"})]})})]})}),(0,s.jsx)(G,{align:"start",side:"top",onOpenAutoFocus:e=>e.preventDefault(),className:"w-[60vw] md:w-[430px]",children:(0,s.jsxs)(z.J2,{open:u&&!!f,children:[(0,s.jsx)(z.tW,{asChild:!0,children:(0,s.jsx)("div",{className:"max-h-[300px] overflow-y-scroll",children:u&&!!(null==b?void 0:b.length)&&b.map((e,n)=>{var t,a,l;return(0,s.jsx)(Y,{item:e,index:n,children:(0,s.jsxs)("div",{className:"flex w-full items-center justify-between gap-8 overflow-x-hidden",children:[(0,s.jsxs)("div",{className:"flex items-center gap-1",children:[(0,s.jsx)(X,{kind:null==e?void 0:null===(t=e.doc)||void 0===t?void 0:t.kind}),(0,s.jsxs)("div",{className:"max-w-[200px] truncate",children:[null==e?void 0:null===(a=e.doc)||void 0===a?void 0:a.name,"(...)"]})]}),(0,s.jsx)("div",{className:"flex-1 truncate text-right text-sm text-muted-foreground",children:null==e?void 0:null===(l=e.doc)||void 0===l?void 0:l.body})]})},null==e?void 0:e.id)})})}),(0,s.jsx)(z.yk,{asChild:!0,align:"start",side:"right",alignOffset:-4,onOpenAutoFocus:e=>e.preventDefault(),onKeyDownCapture:e=>e.preventDefault(),className:"rounded-none",collisionPadding:{bottom:120},children:(0,s.jsxs)("div",{className:"flex max-h-[70vh] w-[20vw] flex-col overflow-y-auto px-2 md:w-[240px] lg:w-[340px]",children:[(0,s.jsxs)("div",{className:"mb-2",children:[(null==f?void 0:null===(n=f.doc)||void 0===n?void 0:n.kind)?"(".concat(null==f?void 0:null===(t=f.doc)||void 0===t?void 0:t.kind,") "):"",null==f?void 0:null===(a=f.doc)||void 0===a?void 0:a.name]}),(0,s.jsx)("div",{className:"flex-1 whitespace-pre-wrap break-all text-muted-foreground",children:null==f?void 0:null===(d=f.doc)||void 0===d?void 0:d.body})]})})]})})]})}})})});function Q(e,n){let t=e.substring(0,n),s=/@(\w+)$/.exec(t);return s}function X(e){let{kind:n,...t}=e;return(0,s.jsx)(M.IconSymbolFunction,{...t})}function $(e){let{href:n,children:t}=e;return(0,s.jsxs)("a",{href:n,target:"_blank",className:"inline-flex flex-1 justify-center gap-1 leading-4 hover:underline",children:[(0,s.jsx)("span",{children:t}),(0,s.jsx)("svg",{"aria-hidden":"true",height:"7",viewBox:"0 0 6 6",width:"7",className:"opacity-70",children:(0,s.jsx)("path",{d:"M1.25215 5.54731L0.622742 4.9179L3.78169 1.75597H1.3834L1.38936 0.890915H5.27615V4.78069H4.40513L4.41109 2.38538L1.25215 5.54731Z",fill:"currentColor"})})]})}function ee(e){let{className:n,...t}=e;return(0,s.jsxs)("p",{className:(0,g.cn)("px-2 text-center text-xs leading-normal text-muted-foreground",n),...t,children:[(0,s.jsx)($,{href:"https://tabby.tabbyml.com",children:"Tabby"}),", an opensource, self-hosted AI coding assistant ."]})}var en=t(36065),et=t(3448),es=t(6230),ea=t(37034);function el(e){let{repos:n,value:t,onChange:l,isInitializing:r}=e,[i,o]=(0,a.useState)(!1),c=(0,a.useRef)(null),d=e=>{l(e)},u=()=>{requestAnimationFrame(()=>{c.current&&(c.current.scrollTop=0)})},m=t?null==n?void 0:n.find(e=>e.sourceId===t):void 0,f=null==m?void 0:m.sourceName;return r||(null==n?void 0:n.length)?(0,s.jsx)(es.Z,{loading:r,fallback:(0,s.jsx)("div",{className:"w-full pl-2",children:(0,s.jsx)(et.O,{className:"h-3 w-[10rem]"})}),children:(0,s.jsxs)(z.J2,{open:i,onOpenChange:o,children:[(0,s.jsxs)(I.C,{variant:"outline",className:(0,g.cn)("h-7 items-center gap-1 overflow-hidden break-all rounded-md px-0 text-sm font-semibold hover:bg-muted/50",{"border-dashed text-muted-foreground italic line-through":!m}),children:[(0,s.jsx)(z.xo,{className:"outline-none",asChild:!0,children:(0,s.jsxs)("div",{className:(0,g.cn)("flex flex-1 cursor-pointer items-center gap-1.5 overflow-hidden pl-2.5",{"min-w-[10rem]":!m}),children:[m?(0,s.jsx)(ea.k,{kind:m.sourceKind,className:"h-3.5 w-3.5 shrink-0"}):(0,s.jsx)(M.IconFolderGit,{className:"shrink-0"}),(0,s.jsx)("div",{className:"flex flex-1 items-center gap-1.5 truncate break-all",children:(0,s.jsx)("span",{className:(0,g.cn)("truncate",{"text-muted-foreground":!f}),children:f||"Workspace"})}),!t&&(0,s.jsx)("div",{className:"flex h-7 w-7 shrink-0 items-center justify-center text-foreground",children:(0,s.jsx)(M.IconChevronUpDown,{})})]})}),!!t&&(0,s.jsx)(S.z,{type:"button",size:"icon",variant:"ghost",className:"h-7 w-7 shrink-0 rounded-l-none bg-background",onClick:e=>{e.stopPropagation(),l(void 0)},children:(0,s.jsx)(M.IconRemove,{})})]}),(0,s.jsx)(z.yk,{side:"top",align:"start",className:"dropdown-menu w-[80vw] overflow-x-hidden rounded-md border bg-popover p-2 text-popover-foreground shadow animate-in",children:(0,s.jsxs)(en.mY,{children:[(0,s.jsx)(en.sZ,{placeholder:"Search context...",onValueChange:()=>{u()}}),(0,s.jsxs)(en.e8,{className:"max-h-[30vh]",ref:c,children:[(0,s.jsx)(en.rb,{children:"No context found"}),(0,s.jsx)(en.fu,{children:null==n?void 0:n.map(e=>{let n=e.sourceId===t;return(0,s.jsxs)(en.di,{onSelect:()=>{d(e.sourceId),o(!1)},title:e.sourceName,children:[(0,s.jsx)(M.IconCheck,{className:(0,g.cn)("mr-1 shrink-0",e.sourceId===t?"opacity-100":"opacity-0")}),(0,s.jsxs)("div",{className:"flex flex-1 items-center gap-1 overflow-x-hidden",children:[(0,s.jsx)(ea.k,{kind:e.sourceKind,className:"shrink-0"}),(0,s.jsx)("div",{className:(0,g.cn)("truncate font-medium",{"font-semibold":n}),children:e.sourceName})]})]},e.sourceId)})})]})]})})]})}):null}let er=a.forwardRef(function(e,n){var t;let{stop:r,reload:i,input:o,setInput:c,className:d,onSubmit:m,chatMaxWidthClass:f,chatInputRef:x}=e,p=a.useRef(null),{threadId:E,container:D,onClearMessages:R,qaPairs:F,isLoading:z,relevantContext:T,removeRelevantContext:O,activeSelection:P,onCopyContent:Z,selectedRepoId:U,setSelectedRepoId:B,repos:q,initialized:H}=a.useContext(eR),J=(0,h.a)(e=>e.enableActiveSelection),[V,G]=(0,a.useState)(!1),{width:Y}=(0,j.iP)(),W="number"==typeof Y&&Y<376,Q=(0,a.useMemo)(()=>{var e;if(!E)return"";let n=null===(e=F[0])||void 0===e?void 0:e.user.message;if(!n)return E;let t=(0,g.i8)([],n,{maxLength:u.$I}),s=(0,b.Z)(t),a=(0,l.Z)([s,E]).join("-");return a},[null===(t=F[0])||void 0===t?void 0:t.user.message,E]),X=(0,A.Db)(v.md,{onError(e){w.A.error(e.message)}}),{isCopied:$,copyToClipboard:en}=(0,C.m)({timeout:2e3,onCopyContent:Z}),et=async()=>{if(E&&!$&&!V)try{var e,n;G(!0);let t=await X({threadId:E});if(null==t?void 0:null===(e=t.data)||void 0===e?void 0:e.setThreadPersisted){let e=new URL(window.location.origin);e.pathname="/search/".concat(Q),en(e.toString())}else w.A.error((null==t?void 0:null===(n=t.error)||void 0===n?void 0:n.message)||"Failed to share")}catch(e){}finally{G(!1)}};return a.useImperativeHandle(n,()=>({focus:()=>{var e;null===(e=p.current)||void 0===e||e.focus()}}),[]),(0,s.jsxs)("div",{className:d,children:[(0,s.jsx)(L.K,{container:D}),(0,s.jsxs)("div",{className:"mx-auto md:px-4 ".concat(f),children:[(0,s.jsxs)("div",{className:(0,g.cn)("flex h-10 items-center justify-center",W?"gap-3":"gap-2"),children:[z?(0,s.jsxs)(_.u,{children:[(0,s.jsx)(_.aJ,{asChild:!0,children:(0,s.jsxs)(S.z,{variant:"outline",onClick:()=>r(),className:"gap-2 bg-background",children:[(0,s.jsx)(M.IconStop,{}),!W&&"Stop generating"]})}),(0,s.jsx)(_._v,{hidden:!W,children:"Stop generating"})]}):(null==F?void 0:F.length)>0&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(_.u,{children:[(0,s.jsx)(_.aJ,{asChild:!0,children:(0,s.jsxs)(S.z,{variant:"outline",onClick:()=>i(),className:"gap-2 bg-background",children:[(0,s.jsx)(M.IconRefresh,{}),!W&&"Regenerate"]})}),(0,s.jsx)(_._v,{hidden:!W,children:"Regenerate"})]}),(0,s.jsxs)(_.u,{children:[(0,s.jsx)(_.aJ,{asChild:!0,children:(0,s.jsxs)(S.z,{variant:"outline",className:"gap-2 bg-background",onClick:et,children:[$?(0,s.jsx)(M.IconCheck,{}):(0,s.jsx)(M.IconShare,{}),!W&&"Share"]})}),(0,s.jsx)(_._v,{hidden:!W,children:"Share"})]})]}),(null==F?void 0:F.length)>0&&(0,s.jsxs)(_.u,{children:[(0,s.jsx)(_.aJ,{asChild:!0,children:(0,s.jsxs)(S.z,{variant:"outline",onClick:R,className:"gap-2 bg-background",children:[(0,s.jsx)(M.IconTrash,{}),!W&&"Clear"]})}),(0,s.jsx)(_._v,{hidden:!W,children:"Clear"})]})]}),(0,s.jsxs)("div",{className:"border-t bg-background px-4 py-2 shadow-lg sm:space-y-4 sm:rounded-t-xl sm:border md:py-4",children:[(0,s.jsx)("div",{className:"flex flex-wrap gap-2",children:(0,s.jsxs)(y.M,{presenceAffectsLayout:!0,children:[(0,s.jsx)(el,{value:U,onChange:e=>{B(e),setTimeout(()=>{var e;null===(e=x.current)||void 0===e||e.focus()})},repos:q,isInitializing:!H}),P?(0,s.jsx)(N.E.div,{initial:{opacity:0,scale:.9,y:-5},animate:{opacity:1,scale:1,y:0},transition:{ease:"easeInOut",duration:.1},exit:{opacity:0,scale:.9,y:5},children:(0,s.jsxs)(I.C,{variant:"outline",className:(0,g.cn)("inline-flex h-7 flex-nowrap items-center gap-1.5 overflow-hidden rounded-md pr-0 text-sm font-semibold",{"border-dashed !text-muted-foreground italic line-through":!J}),children:[(0,s.jsx)(M.IconFileText,{}),(0,s.jsx)(ei,{context:P,className:"flex-1 truncate"}),(0,s.jsx)("span",{className:"shrink-0 text-muted-foreground",children:"Current file"}),(0,s.jsx)(S.z,{size:"icon",variant:"ghost",className:"h-7 w-7 shrink-0 rounded-l-none",onClick:e=>{(0,k.qs)(!J)},children:J?(0,s.jsx)(M.IconEye,{}):(0,s.jsx)(M.IconEyeOff,{})})]})},"active-selection"):null,T.map((e,n)=>{var t,a;let l="".concat(e.git_url,"_").concat(e.filepath,"_").concat(null===(t=e.range)||void 0===t?void 0:t.start,"_").concat(null===(a=e.range)||void 0===a?void 0:a.end);return(0,s.jsx)(N.E.div,{initial:{opacity:0,scale:.9,y:-5},animate:{opacity:1,scale:1,y:0},transition:{ease:"easeInOut",duration:.1},exit:{opacity:0,scale:.9,y:5},layout:!0,children:(0,s.jsxs)(I.C,{variant:"outline",className:"inline-flex h-7 flex-nowrap items-center gap-1 overflow-hidden rounded-md pr-0 text-sm font-semibold",children:[(0,s.jsx)(ei,{context:e}),(0,s.jsx)(S.z,{size:"icon",variant:"ghost",className:"h-7 w-7 shrink-0 rounded-l-none",onClick:O.bind(null,n),children:(0,s.jsx)(M.IconRemove,{})})]})},l)})]})}),(0,s.jsx)(K,{ref:p,onSubmit:m,input:o,setInput:c,isLoading:z,chatInputRef:x,isInitializing:!H}),(0,s.jsx)(ee,{className:"hidden sm:block"})]})]})]})});function ei(e){let{context:n,className:t}=e,a=n.range?n.range.start===n.range.end?":".concat(n.range.start):":".concat(n.range.start,"-").concat(n.range.end):"";return(0,s.jsxs)("span",{className:(0,g.cn)("truncate",t),children:[(0,g.UA)(n.filepath),!!n.range&&(0,s.jsx)("span",{className:"text-muted-foreground",children:a})]})}var eo=t(76297),ec=t(12624);function ed(e){let{trackVisibility:n}=e,{container:t}=a.useContext(eR),l=(0,ec.e)(100,t),{ref:r,entry:i,inView:o}=(0,eo.YD)({trackVisibility:n,delay:100,rootMargin:"0px 0px -150px 0px",root:t});return a.useEffect(()=>{l&&n&&!o&&(null==i||i.target.scrollIntoView({block:"start"}))},[o,i,l,n]),(0,s.jsx)("div",{ref:r,className:"h-px w-full"})}let eu=[{heading:"Convert list of string to numbers",message:"How to convert a list of string to numbers in python"},{heading:"How to parse email address",message:"How to parse email address with regex"}];function em(e){let{setInput:n,chatMaxWidthClass:t,welcomeMessage:a}=e;return(0,s.jsx)("div",{className:"mx-auto px-4 ".concat(t),children:(0,s.jsxs)("div",{className:"rounded-lg border bg-background p-8",children:[(0,s.jsx)("h1",{className:"mb-2 text-lg font-semibold",children:a||"Welcome"}),(0,s.jsx)("p",{className:"leading-normal text-muted-foreground",children:"You can start a conversation here or try the following examples:"}),(0,s.jsx)("div",{className:"mt-4 flex flex-col items-start space-y-2",children:eu.map((e,t)=>(0,s.jsxs)(S.z,{variant:"link",className:"h-auto p-0 text-base",onClick:()=>n(e.message),children:[(0,s.jsx)(M.IconArrowRight,{className:"mr-2 text-muted-foreground"}),(0,s.jsx)("p",{className:"text-left",children:e.heading})]},t))})]})})}var ef=t(42891),ex=t.n(ef),ep=t(23342),eh=t(94909),ev=t(74038),eg=t(98454),eb=t(48537),ej=t(54646),ey=t(11208),eN=t(52569),ew=t(90168);function eC(e){let{messages:n,chatMaxWidthClass:t}=e,{isLoading:l}=a.useContext(eR);return(0,s.jsx)("div",{className:"relative mx-auto px-4 ".concat(t),children:null==n?void 0:n.map((e,t)=>{let r=t===n.length-1;return(0,s.jsxs)(a.Fragment,{children:[(0,s.jsx)(ek,{isLoading:!!r&&l,message:e,isLastItem:r}),!r&&(0,s.jsx)(ey.Z,{className:"my-4 md:my-8"})]},e.user.id)})})}function ek(e){let{message:n,isLoading:t,isLastItem:a}=e,{user:l,assistant:r}=n;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(eA,{message:l}),!!r&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(ey.Z,{className:"my-4 md:my-8"}),(0,s.jsx)(eS,{message:r,userMessage:l,isLoading:t,userMessageId:l.id,enableRegenerating:a})]})]})}function eA(e){var n,t,l,r,i;let{message:o}=e,[{data:c}]=(0,eg.P)(),d=o.selectContext,{openInEditor:u,supportsOnApplyInEditorV2:m}=a.useContext(eR),f=a.useMemo(()=>{var e,n;if(!(null==d?void 0:d.content))return"";let t=(null==d?void 0:d.filepath)&&null!==(e=(0,p.U$)(null==d?void 0:d.filepath)[0])&&void 0!==e?e:"";return"\n```".concat(t,"\n").concat(null!==(n=null==d?void 0:d.content)&&void 0!==n?n:"","\n","```","\n")},[d]),x=null;if(f&&o.selectContext){let{range:e,filepath:n}=o.selectContext;x={filepath:n,isMultiLine:!!e&&!(0,O.Z)(null==e?void 0:e.start)&&!(0,O.Z)(null==e?void 0:e.end)&&e.start{let e=o.selectContext;u((0,g.Uw)(e))},children:[(0,s.jsx)(M.IconFile,{className:"h-3 w-3"}),(0,s.jsxs)("p",{className:"flex-1 truncate pr-1",children:[(0,s.jsx)("span",{children:x.filepath}),(null===(t=o.selectContext)||void 0===t?void 0:null===(n=t.range)||void 0===n?void 0:n.start)&&(0,s.jsxs)("span",{children:[":",null===(l=o.selectContext)||void 0===l?void 0:l.range.start]}),x.isMultiLine&&(0,s.jsxs)("span",{children:["-",null===(i=o.selectContext)||void 0===i?void 0:null===(r=i.range)||void 0===r?void 0:r.end]})]})]})]}),!(null==c?void 0:c.me.name)&&(0,s.jsx)("div",{className:"editor-bg absolute right-0 top-0 -mt-0.5 block opacity-0 transition-opacity group-hover:opacity-100 md:hidden",children:(0,s.jsx)(eI,{...e})})]})]})}function eI(e){let{message:n}=e,{handleMessageAction:t,isLoading:l}=a.useContext(eR);return(0,s.jsxs)(eD,{children:[!l&&(0,s.jsxs)(S.z,{variant:"ghost",size:"icon",onClick:e=>t(n.id,"edit"),children:[(0,s.jsx)(M.IconEdit,{}),(0,s.jsx)("span",{className:"sr-only",children:"Edit message"})]}),!l&&(0,s.jsxs)(S.z,{variant:"ghost",size:"icon",onClick:e=>t(n.id,"delete"),children:[(0,s.jsx)(M.IconTrash,{}),(0,s.jsx)("span",{className:"sr-only",children:"Delete message"})]})]})}function eS(e){let{message:n,userMessage:t,isLoading:r,userMessageId:o,enableRegenerating:d,...u}=e,{onApplyInEditor:m,onCopyContent:f,onLookupSymbol:x,openInEditor:h,openExternal:v,supportsOnApplyInEditorV2:b}=a.useContext(eR),[j,y]=a.useState(void 0),N=a.useMemo(()=>{var e,t,s;return null!==(s=null==n?void 0:null===(e=n.relevant_code)||void 0===e?void 0:e.map(e=>({kind:"file",range:(0,g.OV)(e),filepath:e.filepath,content:e.content,git_url:e.gitUrl,commit:null!==(t=e.commit)&&void 0!==t?t:void 0})))&&void 0!==s?s:[]},[null==n?void 0:n.relevant_code]),w=a.useMemo(()=>{var e;return(0,c.Z)((0,l.Z)([t.activeContext,...null!==(e=null==t?void 0:t.relevantContext)&&void 0!==e?e:[]]),i.Z)},[t.activeContext,t.relevantContext]),C=(0,a.useMemo)(()=>{var e,n;let t=null!==(n=null==w?void 0:w.map(n=>({content:n.content,filepath:n.filepath,gitUrl:n.git_url,startLine:n.range?n.range.start:void 0,language:(0,p.U$)(null!==(e=n.filepath)&&void 0!==e?e:"")[0],isClient:!0})))&&void 0!==n?n:[];return t},[w]),k=(0,a.useMemo)(()=>{var e,n;let t=null!==(n=null==N?void 0:N.map(n=>{var t;return{content:n.content,filepath:n.filepath,gitUrl:n.git_url,startLine:null===(t=n.range)||void 0===t?void 0:t.start,language:(0,p.U$)(null!==(e=n.filepath)&&void 0!==e?e:"")[0],isClient:!1}}))&&void 0!==n?n:[];return(0,l.Z)([...t])},[N]),A=!!m,I=(e,n)=>{if(n||!A)h((0,g.Uw)(e));else{let n=(0,g.XX)(window.location.href,e);v(n)}};return(0,s.jsxs)("div",{className:(0,g.cn)("group relative mb-4 flex flex-col items-start gap-y-2 md:-ml-4 md:flex-row"),...u,children:[(0,s.jsxs)("div",{className:"flex min-h-[2rem] w-full items-center justify-between md:w-auto",children:[(0,s.jsxs)("div",{className:"flex items-center gap-x-2",children:[(0,s.jsx)("div",{className:"shrink-0 select-none rounded-full border bg-background shadow",children:(0,s.jsx)(eE,{className:"h-6 w-6 md:h-8 md:w-8"})}),(0,s.jsx)("p",{className:"block text-xs font-bold md:hidden",children:"Tabby"})]}),(0,s.jsx)("div",{className:"block opacity-0 transition-opacity group-hover:opacity-100 md:hidden",children:(0,s.jsx)(eM,{message:n,userMessageId:o,enableRegenerating:d,attachmentCode:k})})]}),(0,s.jsxs)("div",{className:"w-full flex-1 space-y-2 overflow-hidden px-1 md:ml-4",children:[(0,s.jsx)(ew.q,{contexts:N,clientContexts:w,onContextClick:I,showExternalLink:A,isInEditor:A,showClientCodeIcon:!A,highlightIndex:j,triggerClassname:"md:pt-0"}),!r||(null==n?void 0:n.message)?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(ej.J,{message:n.message,onApplyInEditor:m,onCopyContent:f,attachmentClientCode:C,attachmentCode:k,onCodeCitationClick:e=>{let n={git_url:e.gitUrl,content:e.content,filepath:e.filepath,kind:"file",range:(0,g.OV)(e)};I(n,e.isClient)},onCodeCitationMouseEnter:e=>{y(e-1-0)},onCodeCitationMouseLeave:e=>{y(void 0)},canWrapLongLines:!r,onLookupSymbol:x,openInEditor:h,supportsOnApplyInEditorV2:b,activeSelection:t.activeContext}),!!n.error&&(0,s.jsx)(ej.m,{error:n.error})]}):(0,s.jsx)(eL,{}),(0,s.jsx)("div",{className:"hidden md:block",children:(0,s.jsx)(eM,{message:n,userMessageId:o,enableRegenerating:d,attachmentCode:k})})]})]})}function eM(e){let{handleMessageAction:n,isLoading:t,onCopyContent:r}=a.useContext(eR),{message:i,userMessageId:o,enableRegenerating:c,attachmentCode:d}=e,u=(0,a.useMemo)(()=>(function(e,n){var t;if(!n||(0,eh.Z)(n))return e;let s=e.replace(ev.H,e=>{let n=null==e?void 0:e.match(/\d+/);return"[".concat(n,"]")}).trim(),a=null!==(t=n.map((e,n)=>{let t=(0,g.tf)(e),s=(0,l.Z)([e.filepath,t]).join(":");return"[".concat(n+1,"] ").concat(s)}).join("\n"))&&void 0!==t?t:"";return"".concat(s,"\n\nCitations:\n").concat(a)})(i.message,d),[i.message,d]);return(0,s.jsxs)(eD,{children:[!t&&c&&(0,s.jsxs)(S.z,{variant:"ghost",size:"icon",onClick:e=>n(o,"regenerate"),children:[(0,s.jsx)(M.IconRefresh,{}),(0,s.jsx)("span",{className:"sr-only",children:"Regenerate message"})]}),(0,s.jsx)(eb.q,{value:u,onCopyContent:r})]})}function eL(){return(0,s.jsxs)("div",{className:"space-y-2 py-2 md:px-1 md:py-0",children:[(0,s.jsx)(et.O,{className:"h-3 w-full"}),(0,s.jsx)(et.O,{className:"h-3 w-full"})]})}function eE(e){let{className:n}=e;return(0,s.jsx)(ex(),{style:{backgroundColor:"#E8E2D2"},className:(0,g.cn)("rounded-full p-0.5",n),src:ep.Z,alt:"tabby"})}function eD(e){let{className:n,...t}=e;return(0,s.jsx)("div",{className:(0,g.cn)("flex items-center justify-end transition-opacity group-hover:opacity-100 md:absolute md:-right-[4rem] md:-top-2 md:opacity-0",n),...t})}let eR=a.createContext({}),eF=a.forwardRef(function(e,n){let{className:t,chatId:b,initialMessages:j,onLoaded:y,onThreadUpdates:N,container:w,docQuery:C,generateRelevantQuestions:k,maxWidth:A,welcomeMessage:I,promptFormClassname:S,onCopyContent:M,onApplyInEditor:L,onLookupSymbol:E,openInEditor:D,openExternal:R,chatInputRef:F,supportsOnApplyInEditorV2:z,readWorkspaceGitRepositories:_}=e,[T,O]=a.useState(!1),[P,Z]=a.useState(),U=a.useRef(!1),[B,q]=a.useState(null!=j?j:[]),[H,J]=a.useState(""),[V,G]=a.useState([]),[Y,W]=a.useState(null),[K,Q]=a.useState(),X=(0,h.a)(e=>e.enableActiveSelection),$=a.useRef(null),[{data:ee,fetching:en}]=(0,d.aM)({query:v.K5}),et=null==ee?void 0:ee.repositoryList,{sendUserMessage:es,isLoading:ea,error:el,answer:ei,stop:eo,regenerate:ec,deleteThreadMessagePair:eu}=(0,x.x)({threadId:P}),ef=async e=>{var n;if(!P)return;eo();let t=B.find(n=>n.user.id===e);if(!(null==t?void 0:t.user)||!t.assistant)return;let s=B.filter(n=>n.user.id!==e);q(s),eu(P,null==t?void 0:t.user.id,null==t?void 0:null===(n=t.assistant)||void 0===n?void 0:n.id)},ex=async e=>{if(!P)return;let n=(0,r.Z)(B,n=>n.user.id===e);if(n>-1){let e=B[n];if(!e.assistant)return;let t=(0,g.x0)(),s=(0,g.x0)();q([...B.slice(0,n),{user:{...e.user,id:t},assistant:{id:s,message:"",error:void 0}}]);let[a,l]=eb(e.user);return ec({threadId:P,userMessageId:e.user.id,assistantMessageId:e.assistant.id,userMessage:a,threadRunOptions:l})}},ep=async e=>{var n,t;if(!P)return;let s=B.find(n=>n.user.id===e);if(!(null==s?void 0:s.user)||!s.assistant)return;let a=s.user,l=[];(null===(n=a.relevantContext)||void 0===n?void 0:n.length)&&(l=l.concat(a.relevantContext)),G((0,c.Z)(l,i.Z));let r=B.filter(n=>n.user.id!==e);q(r),J(a.message),a.activeContext&&D((0,g.Uw)(a.activeContext)),eu(P,null==s?void 0:s.user.id,null==s?void 0:null===(t=s.assistant)||void 0===t?void 0:t.id)},eh=async()=>{if(!(null==B?void 0:B.length))return;let e=B[B.length-1].user.id;return ex(e)},ev=()=>{eo(!0),q([]),Z(void 0)};a.useEffect(()=>{if(!(null==B?void 0:B.length)||!ei)return;let e=B[B.length-1];ei.threadId&&!P&&Z(ei.threadId),q(n=>{var t,s;let a=n[n.length-1].assistant,l={...a,id:ei.assistantMessageId||(null==a?void 0:a.id)||(0,g.x0)(),message:ei.content,error:void 0,relevant_code:null!==(s=null===(t=ei.attachmentsCode)||void 0===t?void 0:t.map(e=>e.code))&&void 0!==s?s:[]};return[...n.slice(0,n.length-1),{user:{...e.user,id:(null==ei?void 0:ei.userMessageId)||e.user.id},assistant:l}]})},[ei,ea]);let eg=(0,m.S)(()=>{w?w.scrollTo({top:w.scrollHeight,behavior:"smooth"}):window.scrollTo({top:document.body.offsetHeight,behavior:"smooth"})},100);a.useLayoutEffect(()=>{ea&&eg.run()},[ea]),a.useEffect(()=>{el&&(null==B?void 0:B.length)&&q(e=>{var n,t,s;let a=e[e.length-1];return[...e.slice(0,e.length-1),{...a,assistant:{...a.assistant,id:(null===(n=a.assistant)||void 0===n?void 0:n.id)||(0,g.x0)(),message:null!==(s=null===(t=a.assistant)||void 0===t?void 0:t.message)&&void 0!==s?s:"",error:el?"401"===el.message?"Unauthorized":(0,o.Z)(el.graphQLErrors,e=>{var n;return(null===(n=e.extensions)||void 0===n?void 0:n.code)===u.ir})?"The thread has expired, please click 'Clear' and try again.":el.message||"Failed to fetch":"Failed to fetch"}}]}),(null==el?void 0:el.message)!=="Thread not found"||(null==B?void 0:B.length)||ev()},[el]);let eb=e=>{var n;let t=X&&!!e.activeContext,s=(0,c.Z)((0,l.Z)([e.selectContext,t&&e.activeContext,...(null==e?void 0:e.relevantContext)||[]]),i.Z),a=s.map(e=>{var n;return{content:e.content,filepath:e.filepath,startLine:null===(n=e.range)||void 0===n?void 0:n.start}}),r=e.message,o=K?{content:r,sourceId:K,filepath:null==a?void 0:null===(n=a[0])||void 0===n?void 0:n.filepath}:null;return[{content:r,attachments:{code:a}},{docQuery:C?{content:r,searchPublic:!1}:null,generateRelevantQuestions:!!k,codeQuery:o}]},ej=(0,f.d)(async e=>{var n,t,s,a,l;if(ea)return;let r="",i=null==e?void 0:null===(n=e.selectContext)||void 0===n?void 0:n.content;if(i){let n=(null==e?void 0:null===(t=e.selectContext)||void 0===t?void 0:t.filepath)&&null!==(a=(0,p.U$)(null==e?void 0:null===(s=e.selectContext)||void 0===s?void 0:s.filepath)[0])&&void 0!==a?a:"";r="\n```".concat(n,"\n").concat(null!=i?i:"","\n","```","\n")}let o={...e,message:e.message+r,id:null!==(l=e.id)&&void 0!==l?l:(0,g.x0)(),selectContext:e.selectContext,activeContext:X&&Y?Y:void 0},c=[...B,{user:o,assistant:{id:(0,g.x0)(),message:"",error:void 0}}];q(c),es(...eb(o))}),ey=e=>{var n;return null===(n=ej.current)||void 0===n?void 0:n.call(ej,e)},eN=(0,f.d)(async e=>{let n=(0,g.QZ)(e);ey({message:n,selectContext:null!=Y?Y:void 0})}),ew=async e=>{var n;return null===(n=eN.current)||void 0===n?void 0:n.call(eN,e)},ek=async e=>{ey({message:e,relevantContext:V}),G([])},eA=(0,f.d)(e=>{G(n=>n.some(n=>(0,i.Z)(n,e))?n:n.concat([e]))}),eI=e=>{var n;let t=(0,g.VU)(e);null===(n=eA.current)||void 0===n||n.call(eA,t)};a.useEffect(()=>{U.current&&(null==N||N(B))},[B]);let eS=(0,m.S)(e=>{W(e)},300),eM=e=>{let n=e?(0,g.VU)(e):null;eS.run(n)},eL=()=>_?_():[];a.useEffect(()=>{let e=async()=>{let e=await eL();if((null==e?void 0:e.length)&&(null==et?void 0:et.length)){let n=e[0].url,t=(0,g.Ch)(et.map(e=>({url:e.gitUrl,sourceId:e.sourceId})),n);t&&Q(t.sourceId)}O(!0)};en||T||e()},[en]),a.useEffect(()=>{T&&(null==y||y())},[T]),a.useImperativeHandle(n,()=>({executeCommand:ew,stop:eo,isLoading:ea,addRelevantContext:eI,focus:()=>{var e;return null===(e=$.current)||void 0===e?void 0:e.focus()},updateActiveSelection:eM}),[]);let eE=A?"max-w-".concat(A):"max-w-2xl";return(0,s.jsx)(eR.Provider,{value:{threadId:P,isLoading:ea,qaPairs:B,handleMessageAction:(e,n)=>{switch(n){case"delete":ef(e);break;case"regenerate":ex(e);break;case"edit":ep(e)}},onClearMessages:ev,container:w,onCopyContent:M,onApplyInEditor:L,onLookupSymbol:E,openInEditor:D,openExternal:R,relevantContext:V,removeRelevantContext:e=>{let n=[...V];n.splice(e,1),G(n)},chatInputRef:F,activeSelection:Y,supportsOnApplyInEditorV2:z,selectedRepoId:K,setSelectedRepoId:Q,repos:et,fetchingRepos:en,initialized:T},children:(0,s.jsx)("div",{className:"flex justify-center overflow-x-hidden",children:(0,s.jsxs)("div",{className:"w-full px-4 md:pl-10 md:pr-[3.75rem] ".concat(eE),children:[(0,s.jsxs)("div",{className:(0,g.cn)("pb-[200px] pt-4 md:pt-10",t),children:[(null==B?void 0:B.length)?(0,s.jsx)(eC,{messages:B,chatMaxWidthClass:eE}):(0,s.jsx)(em,{setInput:J,chatMaxWidthClass:eE,welcomeMessage:I}),(0,s.jsx)(ed,{trackVisibility:ea})]}),(0,s.jsx)(er,{onSubmit:ek,className:(0,g.cn)("fixed inset-x-0 bottom-0",S),id:b,stop:()=>{eo()},reload:eh,input:H,setInput:J,chatMaxWidthClass:eE,ref:$,chatInputRef:F})]})})})})},90168:function(e,n,t){"use strict";t.d(n,{q:function(){return p}});var s=t(36164),a=t(3546),l=t(74630),r=t(57288),i=t(29),o=t(43739),c=t(14079);let d=o.fC,u=a.forwardRef((e,n)=>{let{className:t,...a}=e;return(0,s.jsx)(o.ck,{ref:n,className:(0,r.cn)("border-b",t),...a})});u.displayName="AccordionItem";let m=a.forwardRef((e,n)=>{let{className:t,children:a,...l}=e;return(0,s.jsxs)(o.xz,{ref:n,className:(0,r.cn)("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",t),...l,children:[a,(0,s.jsx)(c.Z,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})});m.displayName=o.xz.displayName;let f=a.forwardRef((e,n)=>{let{className:t,children:a,...l}=e;return(0,s.jsx)(o.VY,{ref:n,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...l,children:(0,s.jsx)("div",{className:(0,r.cn)("pb-4 pt-0",t),children:a})})});f.displayName=o.VY.displayName;var x=t(81565);let p=(0,a.forwardRef)((e,n)=>{var t,l;let{contexts:i,clientContexts:o,className:c,triggerClassname:x,onContextClick:p,enableTooltip:v,onTooltipClick:g,highlightIndex:b,showExternalLink:j,showClientCodeIcon:y,isInEditor:N}=e,w=((null==o?void 0:o.length)||0)+i.length,C=null!==(t=null==i?void 0:i.length)&&void 0!==t?t:0,k=null!==(l=null==o?void 0:o.length)&&void 0!==l?l:0,A=C+k,[I,S]=(0,a.useState)(A<=5?"references":void 0);return((0,a.useEffect)(()=>{A<=5?S("references"):S(void 0)},[A]),0===w)?null:(0,s.jsx)(d,{type:"single",collapsible:!0,className:(0,r.cn)("bg-transparent text-foreground",c),ref:n,value:I,onValueChange:S,children:(0,s.jsxs)(u,{value:"references",className:"my-0 border-0",children:[(0,s.jsx)(m,{className:(0,r.cn)("my-0 py-2 font-semibold",x),children:(0,s.jsx)("span",{className:"mr-2",children:"Read ".concat(w," file").concat(w>1?"s":"")})}),(0,s.jsxs)(f,{className:"space-y-2",children:[null==o?void 0:o.map((e,n)=>(0,s.jsx)(h,{context:e,onContextClick:e=>null==p?void 0:p(e,!0),isHighlighted:b===n,clickable:N||!!e.git_url,showClientCodeIcon:y},"user-".concat(n))),i.map((e,n)=>(0,s.jsx)(h,{context:e,onContextClick:e=>null==p?void 0:p(e,!1),enableTooltip:v,onTooltipClick:g,showExternalLinkIcon:j,isHighlighted:b===n+((null==o?void 0:o.length)||0)},"assistant-".concat(n)))]})]})})});function h(e){var n,t,o,c,d,u,m;let{context:f,clickable:p=!0,onContextClick:h,enableTooltip:v,onTooltipClick:g,showExternalLinkIcon:b,showClientCodeIcon:j,isHighlighted:y}=e,[N,w]=(0,a.useState)(!1),C=f.range&&!(0,l.Z)(null===(n=f.range)||void 0===n?void 0:n.start)&&!(0,l.Z)(null===(t=f.range)||void 0===t?void 0:t.end)&&f.range.start{v&&I&&w(e)},delayDuration:0,children:[(0,s.jsx)(i.aJ,{asChild:!0,children:(0,s.jsx)("div",{className:(0,r.cn)("rounded-md border p-2",{"cursor-pointer hover:bg-accent":p,"cursor-default pointer-events-auto":!p,"bg-accent transition-all":y}),onClick:e=>p&&(null==h?void 0:h(f)),children:(0,s.jsxs)("div",{className:"flex items-center gap-1 overflow-hidden",children:[(0,s.jsx)(x.IconFile,{className:"shrink-0"}),(0,s.jsxs)("div",{className:"flex-1 truncate",title:f.filepath,children:[(0,s.jsx)("span",{children:(0,r.UA)(f.filepath)}),f.range?(0,s.jsxs)(s.Fragment,{children:[(null===(c=f.range)||void 0===c?void 0:c.start)&&(0,s.jsxs)("span",{className:"text-muted-foreground",children:[":",f.range.start]}),C&&(0,s.jsxs)("span",{className:"text-muted-foreground",children:["-",f.range.end]})]}):null,(0,s.jsx)("span",{className:"ml-2 text-xs text-muted-foreground",children:A})]}),j&&(0,s.jsx)(x.IconFileSearch2,{className:"shrink-0 text-muted-foreground"}),b&&(0,s.jsx)(x.IconExternalLink,{className:"shrink-0 text-muted-foreground"})]})})}),(0,s.jsx)(i._v,{align:"start",onClick:g,className:"cursor-pointer p-2",children:(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"mb-2 font-semibold",children:"Scores"}),(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsxs)("div",{className:"flex",children:[(0,s.jsx)("span",{className:"w-20",children:"rrf:"}),null!==(d=null==I?void 0:I.rrf)&&void 0!==d?d:"-"]}),(0,s.jsxs)("div",{className:"flex",children:[(0,s.jsx)("span",{className:"w-20",children:"bm25:"}),null!==(u=null==I?void 0:I.bm25)&&void 0!==u?u:"-"]}),(0,s.jsxs)("div",{className:"flex",children:[(0,s.jsx)("span",{className:"w-20",children:"embedding:"}),null!==(m=null==I?void 0:I.embedding)&&void 0!==m?m:"-"]})]})]})})]})}p.displayName="CodeReferences"},73033:function(e,n,t){"use strict";t.d(n,{s:function(){return r}});var s=t(36164),a=t(3546),l=t(52991);let r=(0,a.memo)(e=>(0,s.jsx)(l.D,{linkTarget:"_blank",...e}),(e,n)=>e.children===n.children&&e.className===n.className)},83171:function(e,n,t){"use strict";t.d(n,{p:function(){return o},t:function(){return c}});var s=t(36164);t(3546);var a=t(68035),l=t(18500),r=t(57288),i=t(81565);function o(e){let{kind:n,label:t,className:l}=e;return(0,s.jsxs)(a.T5,{as:"span",className:(0,r.cn)("source-mention rounded-sm px-1",l),children:[(0,s.jsx)(d,{kind:n,className:"self-center"}),(0,s.jsx)("span",{className:"whitespace-nowrap",children:t})]})}function c(e){let{kind:n,label:t,id:a}=e.node.attrs;return(0,s.jsx)(o,{kind:n,label:t,id:a})}function d(e){let{kind:n,...t}=e;switch(n){case l.ri.Doc:return(0,s.jsx)(i.IconEmojiBook,{...t});case l.ri.Web:return(0,s.jsx)(i.IconEmojiGlobe,{...t});case l.ri.Git:return(0,s.jsx)(i.IconCode,{...t});case l.ri.Github:return(0,s.jsx)(i.IconGitHub,{...t});case l.ri.Gitlab:return(0,s.jsx)(i.IconGitLab,{...t});default:return null}}},64219:function(e,n,t){"use strict";t.d(n,{Z:function(){return x}});var s=t(36164),a=t(62226),l=t.n(a),r=t(6797),i=t.n(r),o=t(66686),c=t(57288),d=t(89811),u=t(63795),m=t(81565),f=t(52569);function x(e){let{relevantDocument:n}=e,t=n?new URL(n.link):null,a=(null==n?void 0:n.__typename)==="MessageAttachmentIssueDoc",l=(null==n?void 0:n.__typename)==="MessageAttachmentPullDoc",r="MessageAttachmentWebDoc"===n.__typename?void 0:n.author;return(0,s.jsx)("div",{className:"prose max-w-none break-words dark:prose-invert prose-p:leading-relaxed prose-pre:mt-1 prose-pre:p-0",children:(0,s.jsxs)("div",{className:"flex w-full flex-col gap-y-1 text-sm",children:[(0,s.jsxs)("div",{className:"m-0 flex items-center space-x-1 text-xs leading-none text-muted-foreground",children:[(0,s.jsx)(d.V,{hostname:t.hostname,className:"m-0 mr-1 leading-none"}),(0,s.jsx)("p",{className:"m-0 leading-none",children:t.hostname})]}),(0,s.jsx)("p",{className:"m-0 cursor-pointer font-bold leading-none transition-opacity hover:opacity-70",onClick:()=>window.open(n.link),children:n.title}),(0,s.jsxs)("div",{className:"mb-2 w-auto",children:[a&&(0,s.jsx)(h,{closed:n.closed,user:r}),l&&(0,s.jsx)(p,{merged:n.merged,user:r})]}),(0,s.jsx)("p",{className:"m-0 line-clamp-4 leading-none",children:b((0,c.L5)(n))})]})})}function p(e){let{merged:n,user:t}=e;return(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)(g,{merged:n}),(0,s.jsx)("div",{className:"flex flex-1 items-center gap-1.5",children:!!t&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(f.Yt,{user:t,className:"not-prose h-5 w-5 shrink-0"}),(0,s.jsx)("span",{className:"font-semibold text-muted-foreground",children:t.name||t.email})]})})]})}function h(e){let{closed:n,user:t}=e;return(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)(v,{closed:n}),(0,s.jsx)("div",{className:"flex flex-1 items-center gap-1.5",children:!!t&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(f.Yt,{user:t,className:"not-prose h-5 w-5 shrink-0"}),(0,s.jsx)("span",{className:"font-semibold text-muted-foreground",children:t.name||t.email})]})})]})}function v(e){let{closed:n}=e;return(0,s.jsxs)(u.C,{variant:n?"default":"secondary",className:"shrink-0 gap-1 py-1 text-xs",children:[n?(0,s.jsx)(m.IconCheckCircled,{className:"h-3.5 w-3.5"}):(0,s.jsx)(m.IconCircleDot,{className:"h-3.5 w-3.5"}),n?"Closed":"Open"]})}function g(e){let{merged:n}=e;return(0,s.jsxs)(u.C,{variant:n?"default":"secondary",className:"shrink-0 gap-1 py-1 text-xs",children:[n?(0,s.jsx)(m.IconGitMerge,{className:"h-3.5 w-3.5"}):(0,s.jsx)(m.IconGitPullRequest,{className:"h-3.5 w-3.5"}),n?"Merged":"Open"]})}let b=e=>{let n=l().sanitize(e,{ALLOWED_TAGS:[],ALLOWED_ATTR:[]}),t=o.TU.parse(n),s=i().decode(t),a=s.replace(/<\/?[^>]+(>|$)/g,"");return a}},54646:function(e,n,t){"use strict";t.d(n,{m:function(){return I},J:function(){return A}});var s=t(36164),a=t(3546),l=t(1853),r=t(74630),i=t(36982),o=t(93668),c=t(57288),d=t(90615),u=t(73033);t(80804);var m=t(74038),f=t(83171),x=t(3448),p=t(94744),h=t(37064),v=t(83008),g=t(28312),b=t(31458),j=t(81565),y=t(29);let N=(0,a.memo)(e=>{let{language:n,value:t,onCopyContent:l,onApplyInEditor:r,canWrapLongLines:i,supportsOnApplyInEditorV2:o}=e,[c,d]=(0,a.useState)(!1),{isCopied:u,copyToClipboard:m}=(0,g.m)({timeout:2e3,onCopyContent:l});return(0,s.jsxs)("div",{className:"codeblock relative w-full bg-zinc-950 font-sans",children:[(0,s.jsxs)("div",{className:"flex w-full items-center justify-between bg-zinc-800 px-6 py-2 pr-4 text-zinc-100",children:[(0,s.jsx)("span",{className:"text-xs lowercase",children:n}),(0,s.jsxs)("div",{className:"flex items-center space-x-1",children:[i&&(0,s.jsxs)(y.u,{children:[(0,s.jsx)(y.aJ,{asChild:!0,children:(0,s.jsx)(b.z,{size:"icon",variant:"ghost",className:"text-xs hover:bg-[#3C382F] hover:text-[#F4F4F5] focus-visible:ring-1 focus-visible:ring-slate-700 focus-visible:ring-offset-0",onClick:()=>d(!c),children:c?(0,s.jsx)(j.IconAlignJustify,{}):(0,s.jsx)(j.IconWrapText,{})})}),(0,s.jsx)(y._v,{children:(0,s.jsx)("p",{className:"m-0",children:"Toggle word wrap"})})]}),o&&r&&(0,s.jsxs)(y.u,{children:[(0,s.jsx)(y.aJ,{asChild:!0,children:(0,s.jsxs)(b.z,{variant:"ghost",size:"icon",className:"text-xs hover:bg-[#3C382F] hover:text-[#F4F4F5] focus-visible:ring-1 focus-visible:ring-slate-700 focus-visible:ring-offset-0",onClick:()=>r(t,{languageId:n,smart:!0}),children:[(0,s.jsx)(j.IconSmartApplyInEditor,{}),(0,s.jsx)("span",{className:"sr-only",children:"Smart Apply in Editor"})]})}),(0,s.jsx)(y._v,{children:(0,s.jsx)("p",{className:"m-0",children:"Smart Apply in Editor"})})]}),r&&(0,s.jsxs)(y.u,{children:[(0,s.jsx)(y.aJ,{asChild:!0,children:(0,s.jsxs)(b.z,{variant:"ghost",size:"icon",className:"text-xs hover:bg-[#3C382F] hover:text-[#F4F4F5] focus-visible:ring-1 focus-visible:ring-slate-700 focus-visible:ring-offset-0",onClick:()=>r(t,void 0),children:[(0,s.jsx)(j.IconApplyInEditor,{}),(0,s.jsx)("span",{className:"sr-only",children:"Apply in Editor"})]})}),(0,s.jsx)(y._v,{children:(0,s.jsx)("p",{className:"m-0",children:"Apply in Editor"})})]}),(0,s.jsxs)(y.u,{children:[(0,s.jsx)(y.aJ,{asChild:!0,children:(0,s.jsxs)(b.z,{variant:"ghost",size:"icon",className:"text-xs hover:bg-[#3C382F] hover:text-[#F4F4F5] focus-visible:ring-1 focus-visible:ring-slate-700 focus-visible:ring-offset-0",onClick:()=>{u||m(t)},children:[u?(0,s.jsx)(j.IconCheck,{}):(0,s.jsx)(j.IconCopy,{}),(0,s.jsx)("span",{className:"sr-only",children:"Copy"})]})}),(0,s.jsx)(y._v,{children:(0,s.jsx)("p",{className:"m-0",children:"Copy"})})]})]})]}),(0,s.jsx)(p.Z,{language:"toml"===n?"bash":n,style:v.RY,PreTag:"div",showLineNumbers:!0,wrapLongLines:c,customStyle:{margin:0,width:"100%",background:"transparent",padding:"1.5rem 1rem"},codeTagProps:{style:{fontSize:"0.9rem",fontFamily:"var(--font-mono)"}},renderer:e=>{let{rows:n,stylesheet:t,useInlineStyles:s}=e;return n.map((e,n)=>{let a=e.children,l=null==a?void 0:a.shift();return l&&(e.children=[l,{children:a,properties:{className:[]},tagName:"span",type:"element"}]),(0,h.ZP)({node:e,stylesheet:t,useInlineStyles:s,key:n})})},children:t})]})});N.displayName="CodeBlock";let w=(0,a.createContext)({});function C(e){var n;let{inline:t,className:l,children:r,...i}=e,{lookupSymbol:o,openInEditor:d,canWrapLongLines:u,onApplyInEditor:m,onCopyContent:f,supportsOnApplyInEditorV2:x,symbolPositionMap:p}=(0,a.useContext)(w),h=null===(n=r[0])||void 0===n?void 0:n.toString(),v=h?p.get(h):void 0;if((0,a.useEffect)(()=>{t&&o&&h&&o(h)},[t,h,o]),r.length){if("▍"===r[0])return(0,s.jsx)("span",{className:"mt-1 animate-pulse cursor-default",children:"▍"});r[0]=r[0].replace("`▍`","▍")}if(t){let e=!!(null==v?void 0:v.target);return(0,s.jsxs)("code",{className:(0,c.cn)("group/symbol",l,{symbol:!!o,"bg-muted leading-5 py-0.5":!!o&&!e,"space-x-1 cursor-pointer hover:bg-muted/50 border whitespace-nowrap align-middle py-0.5":e}),onClick:()=>{e&&d&&(null==v?void 0:v.target)&&d(v.target)},...i,children:[e&&(0,s.jsx)(j.IconSquareChevronRight,{className:"relative -top-px inline-block h-3.5 w-3.5 text-primary"}),(0,s.jsx)("span",{className:(0,c.cn)("whitespace-normal",{"group-hover/symbol:text-primary":e}),children:r})]})}let g=/language-(\w+)/.exec(l||"");return(0,s.jsx)(N,{language:g&&g[1]||"",value:String(r).replace(/\n$/,""),onApplyInEditor:m,onCopyContent:f,canWrapLongLines:u,supportsOnApplyInEditorV2:x})}var k=t(64219);function A(e){let{message:n,headline:t=!1,attachmentDocs:d,attachmentClientCode:f,attachmentCode:x,onApplyInEditor:p,onCopyContent:h,contextInfo:v,fetchingContextInfo:g,className:b,canWrapLongLines:j,onLookupSymbol:y,openInEditor:N,supportsOnApplyInEditorV2:k,activeSelection:A,...I}=e,[L,E]=(0,a.useState)(new Map),D=(0,a.useMemo)(()=>{var e,n,t;let s=null!==(e=null==d?void 0:d.map(e=>({type:"doc",data:e})))&&void 0!==e?e:[],a=null!==(n=null==f?void 0:f.map(e=>({type:"code",data:e})))&&void 0!==n?n:[],r=null!==(t=null==x?void 0:x.map(e=>({type:"code",data:e})))&&void 0!==t?t:[];return(0,l.Z)([...s,...a,...r])},[d,f,x]),R=e=>{let n;let a=[],l=0,i=e=>{e&&a.push(e)},o=(t,r,o)=>{for(;null!==(n=t.exec(e));)i(e.slice(l,n.index)),a.push((0,s.jsx)(r,{...o(n)},n.index)),l=n.index+n[0].length};return o(m.H,S,e=>{let n=parseInt(e[1],10),t=(0,r.Z)(n)?void 0:null==D?void 0:D[n-1],s=null==t?void 0:t.type,a=t&&!(0,r.Z)(n);return{citationIndex:n,showcitation:a,citationType:s,citationSource:t}}),o(m.z,M,e=>{let n=e[1];return{sourceId:n,className:t?"text-[1rem] font-semibold":void 0}}),i(e.slice(l)),a},F=async e=>{if(!y||L.has(e))return;E(n=>new Map(n.set(e,void 0)));let n=[];if(A&&(null==A?void 0:A.range)){let e;e=A.git_url.length>1&&!A.filepath.includes(":")?{kind:"git",filepath:A.filepath,gitUrl:A.git_url}:{kind:"uri",uri:A.filepath},n.push({filepath:e,location:{start:A.range.start,end:A.range.end}})}let t=await y(e,n);E(n=>new Map(n.set(e,t)))};return(0,s.jsx)(w.Provider,{value:{onCopyContent:h,onApplyInEditor:p,onCodeCitationClick:I.onCodeCitationClick,onCodeCitationMouseEnter:I.onCodeCitationMouseEnter,onCodeCitationMouseLeave:I.onCodeCitationMouseLeave,contextInfo:v,fetchingContextInfo:!!g,canWrapLongLines:!!j,supportsOnApplyInEditorV2:k,activeSelection:A,symbolPositionMap:L,lookupSymbol:y?F:void 0,openInEditor:N},children:(0,s.jsx)(u.s,{className:(0,c.cn)("message-markdown prose max-w-none break-words dark:prose-invert prose-p:leading-relaxed prose-pre:mt-1 prose-pre:p-0",{"cursor-default":!!p},b),remarkPlugins:[i.Z,o.Z],components:{p(e){let{children:n}=e;return(0,s.jsx)("p",{className:"mb-2 last:mb-0",children:n.map((e,n)=>"string"==typeof e?R(e):(0,s.jsx)("span",{children:e},n))})},li(e){let{children:n}=e;return n&&n.length?(0,s.jsx)("li",{children:n.map((e,n)=>"string"==typeof e?R(e):(0,s.jsx)("span",{children:e},n))}):(0,s.jsx)("li",{children:n})},code(e){let{node:n,inline:t,className:a,children:l,...r}=e;return(0,s.jsx)(C,{node:n,inline:t,className:a,...r,children:l})}},children:n})})}function I(e){let{error:n="Failed to fetch"}=e,t=(0,a.useMemo)(()=>"```\n"+JSON.stringify({error:!0,message:n},null,2)+"\n```",[n]);return(0,s.jsx)(u.s,{className:"prose-full-width prose break-words text-sm dark:prose-invert prose-p:leading-relaxed prose-pre:mt-1 prose-pre:p-0",remarkPlugins:[i.Z,o.Z],components:{code(e){let{node:n,inline:t,className:a,children:l,...r}=e;return(0,s.jsx)("div",{...r,className:(0,c.cn)(a,"bg-zinc-950 p-2"),children:l})}},children:t})}function S(e){let{citationIndex:n,showcitation:t,citationType:a,citationSource:l}=e;return(0,s.jsx)("div",{className:"inline",children:t&&(0,s.jsx)(s.Fragment,{children:"doc"===a?(0,s.jsx)(L,{relevantDocument:l.data,citationIndex:n}):"code"===a?(0,s.jsx)(E,{relevantCode:l.data,citationIndex:n}):null})})}function M(e){var n;let{sourceId:t,className:l}=e,{contextInfo:r,fetchingContextInfo:i}=(0,a.useContext)(w);if(!t)return null;let o=null==r?void 0:null===(n=r.sources)||void 0===n?void 0:n.find(e=>e.sourceId===t);return o?(0,s.jsx)("span",{className:"node-mention",children:(0,s.jsx)("span",{children:i?(0,s.jsx)(x.O,{className:"w-16"}):(0,s.jsx)(f.p,{id:o.sourceId,label:o.sourceName,kind:o.sourceKind,className:l})})}):null}function L(e){let{relevantDocument:n,citationIndex:t}=e;return(0,s.jsxs)(d.zs,{openDelay:100,closeDelay:100,children:[(0,s.jsx)(d.Yi,{children:(0,s.jsx)("span",{className:"relative -top-2 mr-0.5 inline-block h-4 w-4 cursor-pointer rounded-full bg-muted text-center text-xs font-medium",onClick:()=>window.open(n.link),children:t})}),(0,s.jsx)(d.bZ,{className:"w-96 bg-background text-sm text-foreground dark:border-muted-foreground/60",children:(0,s.jsx)(k.Z,{relevantDocument:n})})]})}function E(e){let{relevantCode:n,citationIndex:t}=e,{onCodeCitationClick:l,onCodeCitationMouseEnter:r,onCodeCitationMouseLeave:i}=(0,a.useContext)(w);return(0,s.jsx)("span",{className:"relative -top-2 mr-0.5 inline-block h-4 w-4 cursor-pointer rounded-full bg-muted text-center text-xs font-medium",onClick:()=>{null==l||l(n)},onMouseEnter:()=>{null==r||r(t)},onMouseLeave:()=>{null==i||i(t)},children:t})}},89811:function(e,n,t){"use strict";t.d(n,{V:function(){return c}});var s=t(36164),a=t(3546),l=t(42891),r=t.n(l),i={src:"/_next/static/media/default-favicon.a2df8fbb.png",height:16,width:16,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAABAElEQVR42mOAAqaMgrXeIYlL2jwjF7WZey7wBolB5eyZotNX1PdMO/Br466r/89dfvx/w7aLv6LSlteDFem5zPPesPXir20Hbv7ftPfGrz9///969urL/xkLj/0KjlvqzZCct6rt9r3X/w+cvP/r8fOP/0Hg/uN3vzbsvPq/rmVzG0Nk+oq2J8/f///89devOw/f/n/7/uv/T19+/Dpx7uH/3NK1bQwMarO8tu66/Auk89qd17/mrzn/682H7//3H7rxi4FhsheDDYMhU0DC0vqde6/+On/lyf/5q878X7Tq9M+E7JX1cJ/4MpgzMajO9ApNXtoWl7mszc5nvhdMEgB1uZJfA01kRAAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8},o=t(57288);function c(e){let{hostname:n,className:t}=e,[l,c]=(0,a.useState)(!1);return(0,s.jsxs)("div",{className:"relative h-3.5 w-3.5 shrink-0",children:[(0,s.jsx)(r(),{src:i,alt:n,width:14,height:14,className:(0,o.cn)("absolute left-0 top-0 z-0 h-3.5 w-3.5 rounded-full leading-none",t)}),(0,s.jsx)(r(),{src:"https://s2.googleusercontent.com/s2/favicons?sz=128&domain_url=".concat(n),alt:n,width:14,height:14,className:(0,o.cn)("relative z-10 h-3.5 w-3.5 rounded-full bg-card leading-none",t,{"opacity-0":!l}),onLoad:()=>{c(!0)}})]})}},37034:function(e,n,t){"use strict";t.d(n,{k:function(){return r}});var s=t(36164),a=t(18500),l=t(81565);function r(e){let{kind:n,gitIcon:t,...r}=e;switch(n){case a.ri.Doc:return(0,s.jsx)(l.IconEmojiBook,{...r});case a.ri.Web:return(0,s.jsx)(l.IconEmojiGlobe,{...r});case a.ri.Github:return(0,s.jsx)(l.IconGitHub,{...r});case a.ri.Gitlab:return(0,s.jsx)(l.IconGitLab,{...r});case a.ri.Git:return t||(0,s.jsx)(l.IconCode,{...r});default:return null}}},63795:function(e,n,t){"use strict";t.d(n,{C:function(){return i}});var s=t(36164);t(3546);var a=t(14375),l=t(57288);let r=(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",successful:"border-transparent bg-successful text-successful-foreground hover:bg-successful/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function i(e){let{className:n,variant:t,...a}=e;return(0,s.jsx)("div",{className:(0,l.cn)(r({variant:t}),n),...a})}},36065:function(e,n,t){"use strict";t.d(n,{di:function(){return x},e8:function(){return d},fu:function(){return m},mY:function(){return o},rb:function(){return u},sZ:function(){return c},zz:function(){return f}});var s=t(36164),a=t(3546),l=t(53241),r=t(93170),i=t(57288);t(30220);let o=a.forwardRef((e,n)=>{let{className:t,...a}=e;return(0,s.jsx)(l.mY,{ref:n,className:(0,i.cn)("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",t),...a})});o.displayName=l.mY.displayName;let c=a.forwardRef((e,n)=>{let{className:t,...a}=e;return(0,s.jsxs)("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,s.jsx)(r.Z,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),(0,s.jsx)(l.mY.Input,{ref:n,className:(0,i.cn)("flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",t),...a})]})});c.displayName=l.mY.Input.displayName;let d=a.forwardRef((e,n)=>{let{className:t,...a}=e;return(0,s.jsx)(l.mY.List,{ref:n,className:(0,i.cn)("max-h-[300px] overflow-y-auto overflow-x-hidden",t),...a})});d.displayName=l.mY.List.displayName;let u=a.forwardRef((e,n)=>(0,s.jsx)(l.mY.Empty,{ref:n,className:"py-6 text-center text-sm",...e}));u.displayName=l.mY.Empty.displayName;let m=a.forwardRef((e,n)=>{let{className:t,...a}=e;return(0,s.jsx)(l.mY.Group,{ref:n,className:(0,i.cn)("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",t),...a})});m.displayName=l.mY.Group.displayName;let f=a.forwardRef((e,n)=>{let{className:t,...a}=e;return(0,s.jsx)(l.mY.Separator,{ref:n,className:(0,i.cn)("-mx-1 h-px bg-border",t),...a})});f.displayName=l.mY.Separator.displayName;let x=a.forwardRef((e,n)=>{let{className:t,...a}=e;return(0,s.jsx)(l.mY.Item,{ref:n,className:(0,i.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-disabled:pointer-events-none aria-disabled:opacity-50 aria-selected:bg-accent aria-selected:text-accent-foreground",t),...a})});x.displayName=l.mY.Item.displayName},30220:function(e,n,t){"use strict";t.d(n,{$N:function(){return p},Be:function(){return h},Vq:function(){return o},cN:function(){return x},cZ:function(){return m},fK:function(){return f},hg:function(){return c}});var s=t(36164),a=t(3546),l=t(4318),r=t(1663),i=t(57288);let o=l.fC,c=l.xz,d=l.h_;l.x8;let u=a.forwardRef((e,n)=>{let{className:t,...a}=e;return(0,s.jsx)(l.aV,{ref:n,className:(0,i.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...a})});u.displayName=l.aV.displayName;let m=a.forwardRef((e,n)=>{let{className:t,children:a,...o}=e;return(0,s.jsxs)(d,{children:[(0,s.jsx)(u,{}),(0,s.jsxs)(l.VY,{ref:n,className:(0,i.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",t),...o,children:[a,(0,s.jsxs)(l.x8,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,s.jsx)(r.Z,{className:"h-4 w-4"}),(0,s.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});m.displayName=l.VY.displayName;let f=e=>{let{className:n,...t}=e;return(0,s.jsx)("div",{className:(0,i.cn)("flex flex-col space-y-1.5 text-center sm:text-left",n),...t})};f.displayName="DialogHeader";let x=e=>{let{className:n,...t}=e;return(0,s.jsx)("div",{className:(0,i.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",n),...t})};x.displayName="DialogFooter";let p=a.forwardRef((e,n)=>{let{className:t,...a}=e;return(0,s.jsx)(l.Dx,{ref:n,className:(0,i.cn)("text-lg font-semibold leading-none tracking-tight",t),...a})});p.displayName=l.Dx.displayName;let h=a.forwardRef((e,n)=>{let{className:t,...a}=e;return(0,s.jsx)(l.dk,{ref:n,className:(0,i.cn)("text-sm text-muted-foreground",t),...a})});h.displayName=l.dk.displayName},90615:function(e,n,t){"use strict";t.d(n,{Yi:function(){return o},bZ:function(){return c},zs:function(){return i}});var s=t(36164),a=t(3546),l=t(38421),r=t(57288);let i=l.fC,o=l.xz;l.h_;let c=a.forwardRef((e,n)=>{let{className:t,align:a="center",sideOffset:i=4,...o}=e;return(0,s.jsx)(l.VY,{ref:n,align:a,sideOffset:i,className:(0,r.cn)("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...o})});c.displayName=l.VY.displayName},84942:function(e,n,t){"use strict";t.d(n,{J2:function(){return i},i9:function(){return d},tW:function(){return u},xo:function(){return o},xp:function(){return c},yk:function(){return m}});var s=t(36164),a=t(3546),l=t(83299),r=t(57288);let i=l.fC,o=l.xz,c=l.x8,d=l.h_,u=l.ee,m=a.forwardRef((e,n)=>{let{className:t,sideOffset:a=4,...i}=e;return(0,s.jsx)(l.VY,{ref:n,sideOffset:a,className:(0,r.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow animate-in data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...i})});m.displayName=l.VY.displayName},21808:function(e,n,t){"use strict";t.d(n,{$6:function(){return l},$I:function(){return r},L8:function(){return a},ir:function(){return i},o0:function(){return s},rZ:function(){return o}});let s="name@yourcompany.com",a=20,l={DEMO_AUTO_LOGIN:"_tabby_demo_autologin"},r=48,i="NOT_FOUND",o="\n"},12624:function(e,n,t){"use strict";t.d(n,{e:function(){return l}});var s=t(3546),a=t(62940);function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1?arguments[1]:void 0,[t,l]=s.useState(!1);return s.useEffect(()=>{if(n)return;let t=(0,a.Z)(()=>{l(window.innerHeight+window.scrollY>=document.body.offsetHeight-e)},100,{leading:!0});return window.addEventListener("scroll",t,{passive:!0}),window.addEventListener("resize",t,{passive:!0}),t(),()=>{window.removeEventListener("scroll",t),window.removeEventListener("resize",t)}},[e,n]),s.useEffect(()=>{if(!n)return;let t=(0,a.Z)(()=>{let{scrollTop:t,clientHeight:s,scrollHeight:a}=n;l(t+s>=a-e)},100,{leading:!0});return n.addEventListener("scroll",t,{passive:!0}),n.addEventListener("resize",t,{passive:!0}),t(),()=>{n.removeEventListener("scroll",t),n.removeEventListener("resize",t)}},[e,n]),t}},64566:function(e,n,t){"use strict";t.d(n,{x:function(){return u}});var s=t(3546),a=t(43240),l=t(11634),r=t(16784);let i=(0,a.BX)("\n subscription CreateThreadAndRun($input: CreateThreadAndRunInput!) {\n createThreadAndRun(input: $input) {\n __typename\n ... on ThreadCreated {\n id\n }\n ... on ThreadUserMessageCreated {\n id\n }\n ... on ThreadAssistantMessageCreated {\n id\n }\n ... on ThreadRelevantQuestions {\n questions\n }\n ... on ThreadAssistantMessageAttachmentsCode {\n codeSourceId\n hits {\n code {\n gitUrl\n commit\n filepath\n language\n content\n startLine\n }\n scores {\n rrf\n bm25\n embedding\n }\n }\n }\n ... on ThreadAssistantMessageAttachmentsDoc {\n hits {\n doc {\n __typename\n ... on MessageAttachmentWebDoc {\n title\n link\n content\n }\n ... on MessageAttachmentIssueDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n closed\n }\n ... on MessageAttachmentPullDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n merged\n }\n }\n score\n }\n }\n ... on ThreadAssistantMessageContentDelta {\n delta\n }\n ... on ThreadAssistantMessageCompleted {\n id\n }\n }\n }\n"),o=(0,a.BX)("\n subscription CreateThreadRun($input: CreateThreadRunInput!) {\n createThreadRun(input: $input) {\n __typename\n ... on ThreadCreated {\n id\n }\n ... on ThreadUserMessageCreated {\n id\n }\n ... on ThreadAssistantMessageCreated {\n id\n }\n ... on ThreadRelevantQuestions {\n questions\n }\n ... on ThreadAssistantMessageAttachmentsCode {\n codeSourceId\n hits {\n code {\n gitUrl\n commit\n filepath\n language\n content\n startLine\n }\n scores {\n rrf\n bm25\n embedding\n }\n }\n }\n ... on ThreadAssistantMessageAttachmentsDoc {\n hits {\n doc {\n __typename\n ... on MessageAttachmentWebDoc {\n title\n link\n content\n }\n ... on MessageAttachmentIssueDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n closed\n }\n ... on MessageAttachmentPullDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n merged\n }\n }\n score\n }\n }\n ... on ThreadAssistantMessageContentDelta {\n delta\n }\n ... on ThreadAssistantMessageCompleted {\n id\n }\n }\n }\n"),c=(0,a.BX)("\n mutation DeleteThreadMessagePair(\n $threadId: ID!\n $userMessageId: ID!\n $assistantMessageId: ID!\n ) {\n deleteThreadMessagePair(\n threadId: $threadId\n userMessageId: $userMessageId\n assistantMessageId: $assistantMessageId\n )\n }\n"),d=()=>({content:"",completed:!1});function u(e){let{threadId:n,onAssistantMessageCompleted:t}=e,[a,u]=s.useState(n),m=s.useRef(),[f,x]=s.useState(!1),[p,h]=s.useState(d()),[v,g]=s.useState(),b=(e,n)=>{let t={...e};switch(n.__typename){case"ThreadCreated":t.threadId=n.id;break;case"ThreadUserMessageCreated":t.userMessageId=n.id;break;case"ThreadAssistantMessageCreated":t.assistantMessageId=n.id;break;case"ThreadRelevantQuestions":t.relevantQuestions=n.questions;break;case"ThreadAssistantMessageAttachmentsCode":t.attachmentsCode=n.hits,t.codeSourceId=n.codeSourceId;break;case"ThreadAssistantMessageAttachmentsDoc":t.attachmentsDoc=n.hits;break;case"ThreadAssistantMessageContentDelta":t.content+=n.delta;break;case"ThreadAssistantMessageCompleted":t.completed=!0;break;default:throw Error("Unknown event "+JSON.stringify(t))}return t},j=(0,r.d)(e=>{var n;null===(n=m.current)||void 0===n||n.call(m),m.current=void 0,x(!1),!e&&a&&(null==t||t(p))});s.useEffect(()=>{n!==a&&u(n)},[n]);let y=(e,n)=>{let{unsubscribe:t}=l.Lp.subscription(i,{input:{thread:{userMessage:e},options:n}}).subscribe(e=>{var n;if(null==e?void 0:e.error){x(!1),g(e.error),t();return}let s=null===(n=e.data)||void 0===n?void 0:n.createThreadAndRun;s&&((null==s?void 0:s.__typename)==="ThreadAssistantMessageCompleted"&&j.current(),(null==s?void 0:s.__typename)==="ThreadCreated"&&s.id!==a&&u(s.id),h(e=>b(e,s)))});return t},N=(e,n)=>{if(!a)return;let{unsubscribe:t}=l.Lp.subscription(o,{input:{threadId:a,additionalUserMessage:e,options:n}}).subscribe(e=>{var n;if(null==e?void 0:e.error){x(!1),g(e.error),t();return}let s=null===(n=e.data)||void 0===n?void 0:n.createThreadRun;s&&("ThreadAssistantMessageCompleted"===s.__typename&&j.current(),h(e=>b(e,s)))});return t},w=(0,l.Db)(c),C=(e,n)=>{f||(x(!0),g(void 0),h(d()),a?m.current=N(e,n):m.current=y(e,n))},k=(e,n,t)=>w({threadId:e,userMessageId:n,assistantMessageId:t}).then(e=>{var n;if(!(null==e?void 0:null===(n=e.data)||void 0===n?void 0:n.deleteThreadMessagePair)){if(null==e?void 0:e.error)throw e.error;throw Error("Failed to fetch")}});return{isLoading:f,answer:p,error:v,sendUserMessage:C,stop:j.current,regenerate:e=>a?(x(!0),g(void 0),h(d()),k(e.threadId,e.userMessageId,e.assistantMessageId).then(()=>{C(e.userMessage,e.threadRunOptions)}).catch(e=>{let n=e instanceof Error?e:Error("Failed to fetch");g(n),x(!1)})):Promise.resolve(void 0),deleteThreadMessagePair:k}}},63484:function(e,n,t){"use strict";t.d(n,{U$:function(){return d},t:function(){return u}});var s=t(14283),a=t.n(s),l=t(34021),r=t(74630),i=t(18500),o=JSON.parse('{"Mercury":"#ff2b2b","TypeScript":"#2b7489","PureBasic":"#5a6986","Objective-C++":"#6866fb","Self":"#0579aa","edn":"#db5855","NewLisp":"#87AED7","Jupyter Notebook":"#DA5B0B","Rebol":"#358a5b","Frege":"#00cafe","Dart":"#00B4AB","AspectJ":"#a957b0","Shell":"#89e051","Web Ontology Language":"#9cc9dd","xBase":"#403a40","Eiffel":"#946d57","Nix":"#7e7eff","RAML":"#77d9fb","MTML":"#b7e1f4","Racket":"#22228f","Elixir":"#6e4a7e","SAS":"#B34936","Agda":"#315665","wisp":"#7582D1","D":"#ba595e","Kotlin":"#F18E33","Opal":"#f7ede0","Crystal":"#776791","Objective-C":"#438eff","ColdFusion CFC":"#ed2cd6","Oz":"#fab738","Mirah":"#c7a938","Objective-J":"#ff0c5a","Gosu":"#82937f","FreeMarker":"#0050b2","Ruby":"#701516","Component Pascal":"#b0ce4e","Arc":"#aa2afe","Brainfuck":"#2F2530","Nit":"#009917","APL":"#5A8164","Go":"#375eab","Visual Basic":"#945db7","PHP":"#4F5D95","Cirru":"#ccccff","SQF":"#3F3F3F","Glyph":"#e4cc98","Java":"#b07219","MAXScript":"#00a6a6","Scala":"#DC322F","Makefile":"#427819","ColdFusion":"#ed2cd6","Perl":"#0298c3","Lua":"#000080","Vue":"#2c3e50","Verilog":"#b2b7f8","Factor":"#636746","Haxe":"#df7900","Pure Data":"#91de79","Forth":"#341708","Red":"#ee0000","Hy":"#7790B2","Volt":"#1F1F1F","LSL":"#3d9970","eC":"#913960","CoffeeScript":"#244776","HTML":"#e44b23","Lex":"#DBCA00","API Blueprint":"#2ACCA8","Swift":"#ffac45","C":"#555555","AutoHotkey":"#6594b9","Isabelle":"#FEFE00","Metal":"#8f14e9","Clarion":"#db901e","JSONiq":"#40d47e","Boo":"#d4bec1","AutoIt":"#1C3552","Clojure":"#db5855","Rust":"#dea584","Prolog":"#74283c","SourcePawn":"#5c7611","AMPL":"#E6EFBB","FORTRAN":"#4d41b1","ANTLR":"#9DC3FF","Harbour":"#0e60e3","Tcl":"#e4cc98","BlitzMax":"#cd6400","PigLatin":"#fcd7de","Lasso":"#999999","ECL":"#8a1267","VHDL":"#adb2cb","Elm":"#60B5CC","Propeller Spin":"#7fa2a7","X10":"#4B6BEF","IDL":"#a3522f","ATS":"#1ac620","Ada":"#02f88c","Unity3D Asset":"#ab69a1","Nu":"#c9df40","LFE":"#004200","SuperCollider":"#46390b","Oxygene":"#cdd0e3","ASP":"#6a40fd","Assembly":"#6E4C13","Gnuplot":"#f0a9f0","JFlex":"#DBCA00","NetLinx":"#0aa0ff","Turing":"#45f715","Vala":"#fbe5cd","Processing":"#0096D8","Arduino":"#bd79d1","FLUX":"#88ccff","NetLogo":"#ff6375","CSharp":"#178600","CSS":"#563d7c","Emacs Lisp":"#c065db","Stan":"#b2011d","SaltStack":"#646464","QML":"#44a51c","Pike":"#005390","LOLCODE":"#cc9900","ooc":"#b0b77e","Handlebars":"#01a9d6","J":"#9EEDFF","Mask":"#f97732","EmberScript":"#FFF4F3","TeX":"#3D6117","Nemerle":"#3d3c6e","KRL":"#28431f","Ren\'Py":"#ff7f7f","Unified Parallel C":"#4e3617","Golo":"#88562A","Fancy":"#7b9db4","OCaml":"#3be133","Shen":"#120F14","Pascal":"#b0ce4e","F#":"#b845fc","Puppet":"#302B6D","ActionScript":"#882B0F","Diff":"#88dddd","Ragel in Ruby Host":"#9d5200","Fantom":"#dbded5","Zephir":"#118f9e","Click":"#E4E6F3","Smalltalk":"#596706","DM":"#447265","Ioke":"#078193","PogoScript":"#d80074","LiveScript":"#499886","JavaScript":"#f1e05a","VimL":"#199f4b","PureScript":"#1D222D","ABAP":"#E8274B","Matlab":"#bb92ac","Slash":"#007eff","R":"#198ce7","Erlang":"#B83998","Pan":"#cc0000","LookML":"#652B81","Eagle":"#814C05","Scheme":"#1e4aec","PLSQL":"#dad8d8","Python":"#3572A5","Max":"#c4a79c","Common Lisp":"#3fb68b","Latte":"#A8FF97","XQuery":"#5232e7","Omgrofl":"#cabbff","XC":"#99DA07","Nimrod":"#37775b","SystemVerilog":"#DAE1C2","Chapel":"#8dc63f","Groovy":"#e69f56","Dylan":"#6c616e","E":"#ccce35","Parrot":"#f3ca0a","Grammatical Framework":"#79aa7a","Game Maker Language":"#8fb200","Papyrus":"#6600cc","NetLinx+ERB":"#747faa","Clean":"#3F85AF","Alloy":"#64C800","Squirrel":"#800000","PAWN":"#dbb284","UnrealScript":"#a54c4d","Standard ML":"#dc566d","Slim":"#ff8f77","Perl6":"#0000fb","Julia":"#a270ba","Haskell":"#29b544","NCL":"#28431f","Io":"#a9188d","Rouge":"#cc0088","cpp":"#f34b7d","AGS Script":"#B9D9FF","Dogescript":"#cca760","nesC":"#94B0C7"}'),c={abap:{filenames:[],extnames:["abap"]},actionscript:{filenames:[],extnames:["as"]},ada:{filenames:[],extnames:["ada","adb","ads"]},apacheconf:{filenames:[".htaccess","apache2.conf","httpd.conf"],extnames:["apacheconf","vhost"]},apl:{filenames:[],extnames:["apl","dyalog"]},applescript:{filenames:[],extnames:["applescript","scpt"]},arff:{filenames:[],extnames:["arff"]},asciidoc:{filenames:[],extnames:["asciidoc","adoc","asc"]},asm6502:{filenames:[],extnames:["asm"]},autohotkey:{filenames:[],extnames:["ahk","ahkl"]},autoit:{filenames:[],extnames:["au3"]},bash:{filenames:[".bash_history",".bash_logout",".bash_profile",".bashrc",".cshrc",".login",".profile",".zlogin",".zlogout",".zprofile",".zshenv",".zshrc","9fs","PKGBUILD","bash_logout","bash_profile","bashrc","cshrc","gradlew","login","man","profile","zlogin","zlogout","zprofile","zshenv","zshrc"],extnames:["sh","bash","bats","cgi","command","fcgi","ksh","tmux","tool","zsh"]},basic:{filenames:[],extnames:["vb","bas","cls","frm","frx","vba","vbhtml","vbs"]},batch:{filenames:[],extnames:["bat","cmd"]},bison:{filenames:[],extnames:["bison"]},brainfuck:{filenames:[],extnames:["b","bf"]},bro:{filenames:[],extnames:["bro"]},c:{filenames:[],extnames:["c","cats","h","idc"]},csharp:{filenames:[],extnames:["cs","cake","cshtml","csx"]},cpp:{filenames:[],extnames:["cpp","c++","cc","cp","cxx","h","h++","hh","hpp","hxx","inc","inl","ino","ipp","re","tcc","tpp"]},coffeescript:{filenames:["Cakefile"],extnames:["coffee","_coffee","cake","cjsx","iced"]},clojure:{filenames:["riemann.config"],extnames:["clj","boot","cl2","cljc","cljs","cljs.hl","cljscm","cljx","hic"]},crystal:{filenames:[],extnames:["cr"]},css:{filenames:[],extnames:["css"]},d:{filenames:[],extnames:["d","di"]},dart:{filenames:[],extnames:["dart"]},diff:{filenames:[],extnames:["diff","patch"]},django:{filenames:[],extnames:["jinja","jinja2","mustache","njk"]},dockerfile:{filenames:["Dockerfile"],extnames:["dockerfile"]},eiffel:{filenames:[],extnames:["e"]},elixir:{filenames:["mix.lock"],extnames:["ex","exs"]},elm:{filenames:[],extnames:["elm"]},erb:{filenames:[],extnames:["erb"]},erlang:{filenames:["Emakefile","rebar.config","rebar.config.lock","rebar.lock"],extnames:["erl","app.src","es","escript","hrl","xrl","yrl"]},fsharp:{filenames:[],extnames:["fs","fsi","fsx"]},fortran:{filenames:[],extnames:["f90","f","f03","f08","f77","f95","for","fpp"]},gedcom:{filenames:[],extnames:["ged"]},gherkin:{filenames:[],extnames:["feature"]},glsl:{filenames:[],extnames:["glsl","fp","frag","frg","fs","fsh","fshader","geo","geom","glslv","gshader","shader","tesc","tese","vert","vrx","vsh","vshader"]},go:{filenames:[],extnames:["go"]},graphql:{filenames:[],extnames:["graphql","gql"]},groovy:{filenames:["Jenkinsfile"],extnames:["groovy","grt","gtpl","gvy"]},haml:{filenames:[],extnames:["haml"]},handlebars:{filenames:[],extnames:["handlebars","hbs"]},haskell:{filenames:[],extnames:["hs","hsc"]},haxe:{filenames:[],extnames:["hx","hxsl"]},http:{filenames:[],extnames:["http"]},icon:{filenames:[],extnames:["icn"]},inform7:{filenames:[],extnames:["ni","i7x"]},ini:{filenames:[".editorconfig",".gitconfig"],extnames:["ini","cfg","lektorproject","prefs","pro","properties"]},io:{filenames:[],extnames:["io"]},j:{filenames:[],extnames:["ijs"]},java:{filenames:[],extnames:["java"]},javascript:{filenames:["Jakefile"],extnames:["js","_js","cjs","bones","es","es6","frag","gs","jake","jsb","jscad","jsfl","jsm","jss","mjs","njs","pac","sjs","ssjs","xsjs","xsjslib"]},jolie:{filenames:[],extnames:["ol","iol"]},json:{filenames:[".arcconfig",".htmlhintrc",".tern-config",".tern-project","composer.lock","mcmod.info"],extnames:["json","avsc","geojson","gltf","JSON-tmLanguage","jsonl","tfstate","topojson","webapp","webmanifest","yy","yyp"]},julia:{filenames:[],extnames:["jl"]},keyman:{filenames:[],extnames:["kmn"]},kotlin:{filenames:[],extnames:["kt","ktm","kts"]},latex:{filenames:[],extnames:["tex","aux","bbx","bib","cbx","cls","dtx","ins","lbx","ltx","mkii","mkiv","mkvi","sty","toc"]},less:{filenames:[],extnames:["less"]},liquid:{filenames:[],extnames:["liquid"]},lisp:{filenames:[],extnames:["lisp","asd","cl","l","lsp","ny","podsl","sexp"]},livescript:{filenames:["Slakefile"],extnames:["ls","_ls"]},lolcode:{filenames:[],extnames:["lol"]},lua:{filenames:[],extnames:["lua","fcgi","nse","p8","pd_lua","rbxs","wlua"]},cmake:{filenames:["BSDmakefile","GNUmakefile","Kbuild","Makefile","Makefile.am","Makefile.boot","Makefile.frag","Makefile.in","Makefile.inc","Makefile.wat","makefile","makefile.sco","mkfile"],extnames:["mak","d","make","mk","mkfile"]},markdown:{filenames:["contents.lr","LICENSE"],extnames:["md","markdown","mdown","mdwn","mkd","mkdn","mkdown","ronn","workbook"]},markup:{filenames:[],extnames:["apib","blade","chem","ecr","eex","ejs","html","htm","ipynb","kit","latte","marko","mask","mtml","phtml","pic","raml","rhtml","vue","xht","xhtml"]},matlab:{filenames:[],extnames:["matlab","m"]},mel:{filenames:[],extnames:["mel"]},mizar:{filenames:[],extnames:["miz","voc"]},monkey:{filenames:[],extnames:["monkey","monkey2"]},n4js:{filenames:[],extnames:["n4jsd"]},nasm:{filenames:[],extnames:["nasm"]},nginx:{filenames:["nginx.conf"],extnames:["nginxconf","vhost"]},nim:{filenames:[],extnames:["nim","nimrod"]},nix:{filenames:[],extnames:["nix"]},nsis:{filenames:[],extnames:["nsi","nsh"]},objectivec:{filenames:[],extnames:["m","h"]},ocaml:{filenames:[],extnames:["ml","eliom","eliomi","ml4","mli","mll","mly"]},opencl:{filenames:[],extnames:["opencl","cl"]},oz:{filenames:[],extnames:["oz"]},pascal:{filenames:[],extnames:["pas","dfm","dpr","inc","lpr","pascal","pp"]},perl:{filenames:["Makefile.PL","Rexfile","ack","cpanfile"],extnames:["pl","al","cgi","fcgi","perl","ph","plx","pm","psgi","t"]},php:{filenames:[".php",".php_cs",".php_cs.dist","Phakefile"],extnames:["php","aw","ctp","fcgi","inc","php3","php4","php5","phps","phpt"]},plsql:{filenames:[],extnames:["pls","bdy","ddl","fnc","pck","pkb","pks","plb","plsql","prc","spc","tpb","tps","trg","vw"]},powershell:{filenames:[],extnames:["ps1","psd1","psm1"]},processing:{filenames:[],extnames:["pde"]},prolog:{filenames:[],extnames:["pl","pro","prolog","yap"]},properties:{filenames:[],extnames:["properties"]},protobuf:{filenames:[],extnames:["proto"]},pug:{filenames:[],extnames:["jade","pug"]},puppet:{filenames:["Modulefile"],extnames:["pp"]},pure:{filenames:[],extnames:["pure"]},python:{filenames:[".gclient","BUCK","BUILD","BUILD.bazel","SConscript","SConstruct","Snakefile","WORKSPACE","wscript"],extnames:["py","bzl","cgi","fcgi","gyp","gypi","lmi","py3","pyde","pyi","pyp","pyt","pyw","rpy","spec","tac","wsgi","xpy"]},q:{filenames:[],extnames:["q"]},qore:{filenames:[],extnames:["q","qm","qtest"]},r:{filenames:[".Rprofile","expr-dist"],extnames:["r","rd","rsx"]},jsx:{filenames:[],extnames:["jsx"]},toml:{filenames:[],extnames:["toml"]},tsx:{filenames:[],extnames:["tsx"]},renpy:{filenames:[],extnames:["rpy"]},reason:{filenames:[],extnames:["re","rei"]},rest:{filenames:[],extnames:["rst","rest"]},rip:{filenames:[],extnames:["rip"]},ruby:{filenames:[".irbrc",".pryrc","Appraisals","Berksfile","Brewfile","Buildfile","Capfile","Dangerfile","Deliverfile","Fastfile","Gemfile","Gemfile.lock","Guardfile","Jarfile","Mavenfile","Podfile","Puppetfile","Rakefile","Snapfile","Thorfile","Vagrantfile","buildfile"],extnames:["rb","builder","eye","fcgi","gemspec","god","jbuilder","mspec","pluginspec","podspec","rabl","rake","rbuild","rbw","rbx","ru","ruby","spec","thor","watchr"]},rust:{filenames:[],extnames:["rs"]},sas:{filenames:[],extnames:["sas"]},sass:{filenames:[],extnames:["sass"]},scss:{filenames:[],extnames:["scss"]},scala:{filenames:[],extnames:["scala","kojo","sbt","sc"]},scheme:{filenames:[],extnames:["scm","sch","sld","sls","sps","ss"]},smalltalk:{filenames:[],extnames:["st","cs"]},smarty:{filenames:[],extnames:["tpl"]},sql:{filenames:[],extnames:["sql","cql","ddl","inc","mysql","prc","tab","udf","viw"]},soy:{filenames:[],extnames:["soy"]},stylus:{filenames:[],extnames:["styl"]},swift:{filenames:[],extnames:["swift"]},tcl:{filenames:["owh","starfield"],extnames:["tcl","adp","tm"]},textile:{filenames:[],extnames:["textile"]},tt2:{filenames:[],extnames:["pm"]},twig:{filenames:[],extnames:["twig"]},typescript:{filenames:[],extnames:["ts"]},velocity:{filenames:[],extnames:["vm"]},verilog:{filenames:[],extnames:["v","veo"]},vhdl:{filenames:[],extnames:["vhdl","vhd","vhf","vhi","vho","vhs","vht","vhw"]},vim:{filenames:[".gvimrc",".nvimrc",".vimrc","_vimrc","gvimrc","nvimrc","vimrc"],extnames:["vim"]},"visual-basic":{filenames:[],extnames:["vb","bas","cls","frm","frx","vba","vbhtml","vbs"]},wasm:{filenames:[],extnames:["wast","wat"]},xojo:{filenames:[],extnames:["xojo_code","xojo_menu","xojo_report","xojo_script","xojo_toolbar","xojo_window"]},xquery:{filenames:[],extnames:["xquery","xq","xql","xqm","xqy"]},yaml:{filenames:[".clang-format",".clang-tidy",".gemrc","glide.lock"],extnames:["yml","mir","reek","rviz","sublime-syntax","syntax","yaml","yaml-tmlanguage"]}};Object.entries(o).reduce((e,n)=>{let[t,s]=n;return{...e,[t.toLocaleLowerCase()]:s}},{});let d=e=>{let n={},t={};for(let[e,s]of Object.entries(c)){for(let t of s.filenames)(0,l.Z)(n,t)||(n[t]=[]),n[t].push(e);for(let n of s.extnames)(0,l.Z)(t,n)||(t[n]=[]),t[n].push(e)}return[].concat(n[a().basename(e)],t[a().extname(e).substring(1)]).filter(Boolean)},u=(e,n)=>{let t=()=>(0,r.Z)(n)?"Other":n;if(!e)return t();let s=Object.values(i.SQ).map(e=>e.toLocaleLowerCase()).indexOf(e.toLocaleLowerCase());if(-1===s)return t();let a=Object.keys(i.SQ)[s];return({csharp:"C#",cpp:"C++",javascript:"JavaScript",typescript:"TypeScript"})[a.toLocaleLowerCase()]||a}},47241:function(e,n,t){"use strict";t.d(n,{Eg:function(){return l},UP:function(){return o},qs:function(){return i},xt:function(){return r}});var s=t(17451);let a=s.a.setState,l=e=>{a(()=>({selectedModel:e}))},r=e=>{a(()=>({selectedRepoSourceId:e}))},i=e=>{a(()=>({enableActiveSelection:e}))},o=e=>{a(()=>({pendingUserMessage:e}))}},17451:function(e,n,t){"use strict";t.d(n,{a:function(){return o}});var s=t(27257),a=t(85654),l=t(57288);let r=["activeChatId","pendingUserMessage"],i={activeChatId:(0,l.x0)(),selectedModel:void 0,selectedRepoSourceId:void 0,enableActiveSelection:!0,pendingUserMessage:void 0},o=(0,s.Ue)()((0,a.tJ)(()=>({...i}),{name:"tabby-chat-storage",partialize:e=>Object.fromEntries(Object.entries(e).filter(e=>{let[n]=e;return!r.includes(n)})),version:1}))},80804:function(){},23342:function(e,n){"use strict";n.Z={src:"/_next/static/media/tabby.16ac81a9.png",height:175,width:175,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAA50lEQVR42mMAgUWTGw3KsqO9QOypZeG6NekBuQzI4NCmmaZtFam/K6PtHzYlOH5ysDX7n5QYboJQsKrfd1JN6v+ldXH/F+fa/fWyNf4fEebXBlcwsSbNeWV/+f9FE+t+za2K+xNjLfPf293u6v///xkZQGDDwr7gfetm/d8xr+VPkpXgnzR3nf/xAY6vt6yfK84AUrV5+US9HWtnnVgyrfm/tiTD/9JAo//5Ea5nGUDAkoGBCUQHWEiZysuI7LcwN7wb6WV1IT7YzR7uhh3Lepg+AU2av2AiT0pCuDKDayAvSLwsM4oJAH4LXl0Gpb0HAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8}}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/3240-1cfeb7c523eca69e.js b/ee/tabby-webserver/ui/_next/static/chunks/3240-1cfeb7c523eca69e.js new file mode 100644 index 000000000000..dd6f721a6b5b --- /dev/null +++ b/ee/tabby-webserver/ui/_next/static/chunks/3240-1cfeb7c523eca69e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3240],{75561:function(n,e,t){t.d(e,{B:function(){return i}});var s=t(18500);let r={"\n query ListUserEvents(\n $after: String\n $before: String\n $first: Int\n $last: Int\n $start: DateTime!\n $end: DateTime!\n $users: [ID!]\n ) {\n userEvents(\n after: $after\n before: $before\n first: $first\n last: $last\n start: $start\n end: $end\n users: $users\n ) {\n edges {\n node {\n id\n userId\n createdAt\n kind\n payload\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":s.UQ,"\n mutation uploadUserAvatarBase64($id: ID!, $avatarBase64: String!) {\n uploadUserAvatarBase64(id: $id, avatarBase64: $avatarBase64)\n }\n":s.eI,"\n mutation UpdateUserName($id: ID!, $name: String!) {\n updateUserName(id: $id, name: $name)\n }\n":s.DQ,"\n mutation PasswordChange($input: PasswordChangeInput!) {\n passwordChange(input: $input)\n }\n":s.oZ,"\n mutation updateEmailSetting($input: EmailSettingInput!) {\n updateEmailSetting(input: $input)\n }\n":s.gl,"\n mutation deleteEmailSetting {\n deleteEmailSetting\n }\n":s.wZ,"\n mutation SendTestEmail($to: String!) {\n sendTestEmail(to: $to)\n }\n":s.nI,"\n query emailSetting {\n emailSetting {\n smtpUsername\n smtpServer\n fromAddress\n encryption\n authMethod\n smtpPort\n }\n }\n":s.k6,"\n mutation UpdateIntegration($input: UpdateIntegrationInput!) {\n updateIntegration(input: $input)\n }\n":s.fc,"\n mutation DeleteIntegration($id: ID!, $kind: IntegrationKind!) {\n deleteIntegration(id: $id, kind: $kind)\n }\n":s.AU,"\n mutation UpdateIntegratedRepositoryActive($id: ID!, $active: Boolean!) {\n updateIntegratedRepositoryActive(id: $id, active: $active)\n }\n":s.o7,"\n mutation CreateIntegration($input: CreateIntegrationInput!) {\n createIntegration(input: $input)\n }\n":s.fY,"\n mutation grantSourceIdReadAccess($sourceId: String!, $userGroupId: ID!) {\n grantSourceIdReadAccess(sourceId: $sourceId, userGroupId: $userGroupId)\n }\n":s.Yr,"\n mutation revokeSourceIdReadAccess($sourceId: String!, $userGroupId: ID!) {\n revokeSourceIdReadAccess(sourceId: $sourceId, userGroupId: $userGroupId)\n }\n":s.z,"\n mutation CreateCustomDocument($input: CreateCustomDocumentInput!) {\n createCustomDocument(input: $input)\n }\n":s.Gf,"\n query CustomWebDocuments(\n $ids: [ID!]\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n customWebDocuments(\n ids: $ids\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n url\n name\n id\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":s.wx,"\n mutation DeleteCustomDocument($id: ID!) {\n deleteCustomDocument(id: $id)\n }\n":s.c3,"\n query PresetWebDocuments(\n $ids: [ID!]\n $after: String\n $before: String\n $first: Int\n $last: Int\n $isActive: Boolean\n ) {\n presetWebDocuments(\n ids: $ids\n after: $after\n before: $before\n first: $first\n last: $last\n isActive: $isActive\n ) {\n edges {\n node {\n id\n name\n isActive\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":s.z1,"\n mutation SetPresetDocumentActive($input: SetPresetDocumentActiveInput!) {\n setPresetDocumentActive(input: $input)\n }\n":s.h_,"\n mutation deleteGitRepository($id: ID!) {\n deleteGitRepository(id: $id)\n }\n":s.TS,"\n mutation createGitRepository($name: String!, $gitUrl: String!) {\n createGitRepository(name: $name, gitUrl: $gitUrl)\n }\n":s.ad,"\n mutation triggerJobRun($command: String!) {\n triggerJobRun(command: $command)\n }\n":s.uk,"\n mutation updateOauthCredential($input: UpdateOAuthCredentialInput!) {\n updateOauthCredential(input: $input)\n }\n":s.m,"\n mutation deleteOauthCredential($provider: OAuthProvider!) {\n deleteOauthCredential(provider: $provider)\n }\n":s.ZH,"\n query OAuthCallbackUrl($provider: OAuthProvider!) {\n oauthCallbackUrl(provider: $provider)\n }\n":s.L$,"\n query OAuthCredential($provider: OAuthProvider!) {\n oauthCredential(provider: $provider) {\n provider\n clientId\n createdAt\n updatedAt\n }\n }\n":s.Fd,"\n mutation updateNetworkSettingMutation($input: NetworkSettingInput!) {\n updateNetworkSetting(input: $input)\n }\n":s.rN,"\n mutation updateSecuritySetting($input: SecuritySettingInput!) {\n updateSecuritySetting(input: $input)\n }\n":s.Nl,"\n query SecuritySetting {\n securitySetting {\n allowedRegisterDomainList\n disableClientSideTelemetry\n }\n }\n":s.rU,"\n mutation UploadLicense($license: String!) {\n uploadLicense(license: $license)\n }\n":s.Yo,"\n mutation ResetLicense {\n resetLicense\n }\n":s.d0,"\n mutation CreateInvitation($email: String!) {\n createInvitation(email: $email)\n }\n":s.ib,"\n mutation DeleteInvitation($id: ID!) {\n deleteInvitation(id: $id)\n }\n":s.YM,"\n mutation updateUserRole($id: ID!, $isAdmin: Boolean!) {\n updateUserRole(id: $id, isAdmin: $isAdmin)\n }\n":s.XF,"\n mutation UpdateUserActive($id: ID!, $active: Boolean!) {\n updateUserActive(id: $id, active: $active)\n }\n":s.dv,"\n mutation generateResetPasswordUrl($userId: ID!) {\n generateResetPasswordUrl(userId: $userId)\n }\n":s.nh,"\n mutation createUserGroup($input: CreateUserGroupInput!) {\n createUserGroup(input: $input)\n }\n":s.e8,"\n mutation DeleteUserGroupMembership($userGroupId: ID!, $userId: ID!) {\n deleteUserGroupMembership(userGroupId: $userGroupId, userId: $userId)\n }\n":s.zD,"\n mutation UpsertUserGroupMembership($input: UpsertUserGroupMembershipInput!) {\n upsertUserGroupMembership(input: $input)\n }\n":s.uI,"\n mutation DeleteUserGroup($id: ID!) {\n deleteUserGroup(id: $id)\n }\n":s.hQ,"\n query GetRegistrationToken {\n registrationToken\n }\n":s.bh,"\n mutation ResetRegistrationToken {\n resetRegistrationToken\n }\n":s.wW,"\n query TestModelConnection($backend: ModelHealthBackend!) {\n testModelConnection(backend: $backend) {\n latencyMs\n }\n }\n":s.rE,"\n query GetDiskUsageStats {\n diskUsageStats {\n events {\n filepath\n sizeKb\n }\n indexedRepositories {\n filepath\n sizeKb\n }\n database {\n filepath\n sizeKb\n }\n models {\n filepath\n sizeKb\n }\n }\n }\n":s.xX,"\n query ListThreads(\n $ids: [ID!]\n $isEphemeral: Boolean\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n threads(\n ids: $ids\n isEphemeral: $isEphemeral\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n userId\n createdAt\n updatedAt\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":s.qk,"\n mutation passwordReset($input: PasswordResetInput!) {\n passwordReset(input: $input)\n }\n":s.vK,"\n mutation requestPasswordResetEmail($input: RequestPasswordResetEmailInput!) {\n requestPasswordResetEmail(input: $input)\n }\n":s.i8,"\n mutation requestInvitationEmail($input: RequestInvitationInput!) {\n requestInvitationEmail(input: $input) {\n email\n code\n }\n }\n":s.S_,"\n mutation tokenAuth($email: String!, $password: String!) {\n tokenAuth(email: $email, password: $password) {\n accessToken\n refreshToken\n }\n }\n":s.UO,"\n mutation register(\n $name: String!\n $email: String!\n $password1: String!\n $password2: String!\n $invitationCode: String\n ) {\n register(\n name: $name\n email: $email\n password1: $password1\n password2: $password2\n invitationCode: $invitationCode\n ) {\n accessToken\n refreshToken\n }\n }\n":s.YR,"\n query RepositoryGrep(\n $id: ID!\n $kind: RepositoryKind!\n $rev: String\n $query: String!\n ) {\n repositoryGrep(kind: $kind, id: $id, rev: $rev, query: $query) {\n files {\n path\n lines {\n line {\n text\n base64\n }\n byteOffset\n lineNumber\n subMatches {\n bytesStart\n bytesEnd\n }\n }\n }\n elapsedMs\n }\n }\n":s.lq,"\n mutation DeleteThread($id: ID!) {\n deleteThread(id: $id)\n }\n":s.xW,"\n mutation UpdateThreadMessage($input: UpdateMessageInput!) {\n updateThreadMessage(input: $input)\n }\n":s.Tj,"\n mutation markNotificationsRead($notificationId: ID) {\n markNotificationsRead(notificationId: $notificationId)\n }\n":s.yR,"\n mutation ResetUserAuthToken {\n resetUserAuthToken\n }\n":s.qq,"\n query GetLicenseInfo {\n license {\n type\n status\n seats\n seatsUsed\n issuedAt\n expiresAt\n }\n }\n":s.eZ,"\n query MeQuery {\n me {\n id\n authToken\n email\n isAdmin\n isOwner\n isPasswordSet\n name\n }\n }\n":s.fk,"\n query NetworkSetting {\n networkSetting {\n externalUrl\n }\n }\n":s.m2,"\n query GetServerInfo {\n serverInfo {\n isAdminInitialized\n isEmailConfigured\n isChatEnabled\n allowSelfSignup\n isDemoMode\n }\n }\n":s.a,"\n subscription CreateThreadAndRun($input: CreateThreadAndRunInput!) {\n createThreadAndRun(input: $input) {\n __typename\n ... on ThreadCreated {\n id\n }\n ... on ThreadUserMessageCreated {\n id\n }\n ... on ThreadAssistantMessageCreated {\n id\n }\n ... on ThreadRelevantQuestions {\n questions\n }\n ... on ThreadAssistantMessageAttachmentsCode {\n codeSourceId\n hits {\n code {\n gitUrl\n commit\n filepath\n language\n content\n startLine\n }\n scores {\n rrf\n bm25\n embedding\n }\n }\n }\n ... on ThreadAssistantMessageAttachmentsDoc {\n hits {\n doc {\n __typename\n ... on MessageAttachmentWebDoc {\n title\n link\n content\n }\n ... on MessageAttachmentIssueDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n closed\n }\n ... on MessageAttachmentPullDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n merged\n }\n }\n score\n }\n }\n ... on ThreadAssistantMessageContentDelta {\n delta\n }\n ... on ThreadAssistantMessageCompleted {\n id\n }\n }\n }\n":s.VL,"\n subscription CreateThreadRun($input: CreateThreadRunInput!) {\n createThreadRun(input: $input) {\n __typename\n ... on ThreadCreated {\n id\n }\n ... on ThreadUserMessageCreated {\n id\n }\n ... on ThreadAssistantMessageCreated {\n id\n }\n ... on ThreadRelevantQuestions {\n questions\n }\n ... on ThreadAssistantMessageAttachmentsCode {\n codeSourceId\n hits {\n code {\n gitUrl\n commit\n filepath\n language\n content\n startLine\n }\n scores {\n rrf\n bm25\n embedding\n }\n }\n }\n ... on ThreadAssistantMessageAttachmentsDoc {\n hits {\n doc {\n __typename\n ... on MessageAttachmentWebDoc {\n title\n link\n content\n }\n ... on MessageAttachmentIssueDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n closed\n }\n ... on MessageAttachmentPullDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n merged\n }\n }\n score\n }\n }\n ... on ThreadAssistantMessageContentDelta {\n delta\n }\n ... on ThreadAssistantMessageCompleted {\n id\n }\n }\n }\n":s.uM,"\n mutation DeleteThreadMessagePair(\n $threadId: ID!\n $userMessageId: ID!\n $assistantMessageId: ID!\n ) {\n deleteThreadMessagePair(\n threadId: $threadId\n userMessageId: $userMessageId\n assistantMessageId: $assistantMessageId\n )\n }\n":s.ou,"\n mutation refreshToken($refreshToken: String!) {\n refreshToken(refreshToken: $refreshToken) {\n accessToken\n refreshToken\n }\n }\n":s.FR,"\n mutation LogoutAllSessions {\n logoutAllSessions\n }\n":s.Il,"\n query ListInvitations(\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n invitations(after: $after, before: $before, first: $first, last: $last) {\n edges {\n node {\n id\n email\n code\n createdAt\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":s.Xx,"\n query gitRepositories(\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n gitRepositories(\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n name\n gitUrl\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":s.Mi,"\n query ListJobRuns(\n $ids: [ID!]\n $jobs: [String!]\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n jobRuns(\n ids: $ids\n jobs: $jobs\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n job\n createdAt\n startedAt\n finishedAt\n exitCode\n stdout\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":s.$S,"\n query GetJobRunStats($jobs: [String!]) {\n jobRunStats(jobs: $jobs) {\n success\n failed\n pending\n }\n }\n":s.np,"\n query ListJobs {\n jobs\n }\n":s.Ax,"\n query ListUsers($after: String, $before: String, $first: Int, $last: Int) {\n users(after: $after, before: $before, first: $first, last: $last) {\n edges {\n node {\n id\n email\n isAdmin\n isOwner\n createdAt\n active\n name\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":s.by,"\n query DailyStatsInPastYear($users: [ID!]) {\n dailyStatsInPastYear(users: $users) {\n start\n end\n completions\n selects\n views\n }\n }\n":s.Wd,"\n query DailyStats(\n $start: DateTime!\n $end: DateTime!\n $users: [ID!]\n $languages: [Language!]\n ) {\n dailyStats(start: $start, end: $end, users: $users, languages: $languages) {\n start\n end\n completions\n selects\n views\n language\n }\n }\n":s.Sm,"\n query ListIntegrations(\n $ids: [ID!]\n $kind: IntegrationKind\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n integrations(\n ids: $ids\n kind: $kind\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n displayName\n status\n apiBase\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":s.KZ,"\n query ListIntegratedRepositories(\n $ids: [ID!]\n $kind: IntegrationKind\n $active: Boolean\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n integratedRepositories(\n ids: $ids\n kind: $kind\n active: $active\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n displayName\n gitUrl\n active\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n startedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":s.qt,"\n query RepositoryList {\n repositoryList {\n id\n name\n kind\n gitUrl\n refs {\n name\n commit\n }\n }\n }\n":s.HC,"\n query RepositorySearch(\n $kind: RepositoryKind!\n $id: ID!\n $rev: String\n $pattern: String!\n ) {\n repositorySearch(kind: $kind, id: $id, rev: $rev, pattern: $pattern) {\n type\n path\n indices\n }\n }\n":s.BH,"\n query ContextInfo {\n contextInfo {\n sources {\n id\n sourceKind\n sourceId\n sourceName\n }\n }\n }\n":s.w4,"\n query UserGroups {\n userGroups {\n id\n name\n createdAt\n updatedAt\n members {\n user {\n id\n email\n name\n createdAt\n }\n isGroupAdmin\n createdAt\n updatedAt\n }\n }\n }\n":s.hx,"\n query sourceIdAccessPolicies($sourceId: String!) {\n sourceIdAccessPolicies(sourceId: $sourceId) {\n sourceId\n read {\n id\n name\n }\n }\n }\n":s.NL,"\n query ListThreadMessages(\n $threadId: ID!\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n threadMessages(\n threadId: $threadId\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n threadId\n codeSourceId\n role\n content\n attachment {\n code {\n gitUrl\n commit\n filepath\n language\n content\n startLine\n }\n clientCode {\n filepath\n content\n startLine\n }\n doc {\n __typename\n ... on MessageAttachmentWebDoc {\n title\n link\n content\n }\n ... on MessageAttachmentIssueDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n closed\n }\n ... on MessageAttachmentPullDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n merged\n }\n }\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":s.f7,"\n mutation SetThreadPersisted($threadId: ID!) {\n setThreadPersisted(threadId: $threadId)\n }\n":s.qu,"\n query Notifications {\n notifications {\n id\n content\n read\n createdAt\n }\n }\n":s.Qw,"\n query RepositorySourceList {\n repositoryList {\n id\n name\n kind\n gitUrl\n sourceId\n sourceName\n sourceKind\n }\n }\n":s.mO};function i(n){var e;return null!==(e=r[n])&&void 0!==e?e:{}}},43240:function(n,e,t){t.d(e,{BX:function(){return s.B}});var s=t(75561)}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/3240-c6d05ccd35c26d69.js b/ee/tabby-webserver/ui/_next/static/chunks/3240-c6d05ccd35c26d69.js deleted file mode 100644 index 817d32887f2b..000000000000 --- a/ee/tabby-webserver/ui/_next/static/chunks/3240-c6d05ccd35c26d69.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3240],{75561:function(n,e,t){t.d(e,{B:function(){return i}});var s=t(18500);let r={"\n query ListUserEvents(\n $after: String\n $before: String\n $first: Int\n $last: Int\n $start: DateTime!\n $end: DateTime!\n $users: [ID!]\n ) {\n userEvents(\n after: $after\n before: $before\n first: $first\n last: $last\n start: $start\n end: $end\n users: $users\n ) {\n edges {\n node {\n id\n userId\n createdAt\n kind\n payload\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":s.UQ,"\n mutation uploadUserAvatarBase64($id: ID!, $avatarBase64: String!) {\n uploadUserAvatarBase64(id: $id, avatarBase64: $avatarBase64)\n }\n":s.eI,"\n mutation UpdateUserName($id: ID!, $name: String!) {\n updateUserName(id: $id, name: $name)\n }\n":s.DQ,"\n mutation PasswordChange($input: PasswordChangeInput!) {\n passwordChange(input: $input)\n }\n":s.oZ,"\n mutation updateEmailSetting($input: EmailSettingInput!) {\n updateEmailSetting(input: $input)\n }\n":s.gl,"\n mutation deleteEmailSetting {\n deleteEmailSetting\n }\n":s.wZ,"\n mutation SendTestEmail($to: String!) {\n sendTestEmail(to: $to)\n }\n":s.nI,"\n query emailSetting {\n emailSetting {\n smtpUsername\n smtpServer\n fromAddress\n encryption\n authMethod\n smtpPort\n }\n }\n":s.k6,"\n mutation UpdateIntegration($input: UpdateIntegrationInput!) {\n updateIntegration(input: $input)\n }\n":s.fc,"\n mutation DeleteIntegration($id: ID!, $kind: IntegrationKind!) {\n deleteIntegration(id: $id, kind: $kind)\n }\n":s.AU,"\n mutation UpdateIntegratedRepositoryActive($id: ID!, $active: Boolean!) {\n updateIntegratedRepositoryActive(id: $id, active: $active)\n }\n":s.o7,"\n mutation CreateIntegration($input: CreateIntegrationInput!) {\n createIntegration(input: $input)\n }\n":s.fY,"\n mutation grantSourceIdReadAccess($sourceId: String!, $userGroupId: ID!) {\n grantSourceIdReadAccess(sourceId: $sourceId, userGroupId: $userGroupId)\n }\n":s.Yr,"\n mutation revokeSourceIdReadAccess($sourceId: String!, $userGroupId: ID!) {\n revokeSourceIdReadAccess(sourceId: $sourceId, userGroupId: $userGroupId)\n }\n":s.z,"\n mutation CreateCustomDocument($input: CreateCustomDocumentInput!) {\n createCustomDocument(input: $input)\n }\n":s.Gf,"\n query CustomWebDocuments(\n $ids: [ID!]\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n customWebDocuments(\n ids: $ids\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n url\n name\n id\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":s.wx,"\n mutation DeleteCustomDocument($id: ID!) {\n deleteCustomDocument(id: $id)\n }\n":s.c3,"\n query PresetWebDocuments(\n $ids: [ID!]\n $after: String\n $before: String\n $first: Int\n $last: Int\n $isActive: Boolean\n ) {\n presetWebDocuments(\n ids: $ids\n after: $after\n before: $before\n first: $first\n last: $last\n isActive: $isActive\n ) {\n edges {\n node {\n id\n name\n isActive\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":s.z1,"\n mutation SetPresetDocumentActive($input: SetPresetDocumentActiveInput!) {\n setPresetDocumentActive(input: $input)\n }\n":s.h_,"\n mutation deleteGitRepository($id: ID!) {\n deleteGitRepository(id: $id)\n }\n":s.TS,"\n mutation createGitRepository($name: String!, $gitUrl: String!) {\n createGitRepository(name: $name, gitUrl: $gitUrl)\n }\n":s.ad,"\n mutation triggerJobRun($command: String!) {\n triggerJobRun(command: $command)\n }\n":s.uk,"\n mutation updateOauthCredential($input: UpdateOAuthCredentialInput!) {\n updateOauthCredential(input: $input)\n }\n":s.m,"\n mutation deleteOauthCredential($provider: OAuthProvider!) {\n deleteOauthCredential(provider: $provider)\n }\n":s.ZH,"\n query OAuthCallbackUrl($provider: OAuthProvider!) {\n oauthCallbackUrl(provider: $provider)\n }\n":s.L$,"\n query OAuthCredential($provider: OAuthProvider!) {\n oauthCredential(provider: $provider) {\n provider\n clientId\n createdAt\n updatedAt\n }\n }\n":s.Fd,"\n mutation updateNetworkSettingMutation($input: NetworkSettingInput!) {\n updateNetworkSetting(input: $input)\n }\n":s.rN,"\n mutation updateSecuritySetting($input: SecuritySettingInput!) {\n updateSecuritySetting(input: $input)\n }\n":s.Nl,"\n query SecuritySetting {\n securitySetting {\n allowedRegisterDomainList\n disableClientSideTelemetry\n }\n }\n":s.rU,"\n mutation UploadLicense($license: String!) {\n uploadLicense(license: $license)\n }\n":s.Yo,"\n mutation ResetLicense {\n resetLicense\n }\n":s.d0,"\n mutation CreateInvitation($email: String!) {\n createInvitation(email: $email)\n }\n":s.ib,"\n mutation DeleteInvitation($id: ID!) {\n deleteInvitation(id: $id)\n }\n":s.YM,"\n mutation updateUserRole($id: ID!, $isAdmin: Boolean!) {\n updateUserRole(id: $id, isAdmin: $isAdmin)\n }\n":s.XF,"\n mutation UpdateUserActive($id: ID!, $active: Boolean!) {\n updateUserActive(id: $id, active: $active)\n }\n":s.dv,"\n mutation generateResetPasswordUrl($userId: ID!) {\n generateResetPasswordUrl(userId: $userId)\n }\n":s.nh,"\n mutation createUserGroup($input: CreateUserGroupInput!) {\n createUserGroup(input: $input)\n }\n":s.e8,"\n mutation DeleteUserGroupMembership($userGroupId: ID!, $userId: ID!) {\n deleteUserGroupMembership(userGroupId: $userGroupId, userId: $userId)\n }\n":s.zD,"\n mutation UpsertUserGroupMembership($input: UpsertUserGroupMembershipInput!) {\n upsertUserGroupMembership(input: $input)\n }\n":s.uI,"\n mutation DeleteUserGroup($id: ID!) {\n deleteUserGroup(id: $id)\n }\n":s.hQ,"\n query GetRegistrationToken {\n registrationToken\n }\n":s.bh,"\n mutation ResetRegistrationToken {\n resetRegistrationToken\n }\n":s.wW,"\n query TestModelConnection($backend: ModelHealthBackend!) {\n testModelConnection(backend: $backend) {\n latencyMs\n }\n }\n":s.rE,"\n query GetDiskUsageStats {\n diskUsageStats {\n events {\n filepath\n sizeKb\n }\n indexedRepositories {\n filepath\n sizeKb\n }\n database {\n filepath\n sizeKb\n }\n models {\n filepath\n sizeKb\n }\n }\n }\n":s.xX,"\n query ListThreads(\n $ids: [ID!]\n $isEphemeral: Boolean\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n threads(\n ids: $ids\n isEphemeral: $isEphemeral\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n userId\n createdAt\n updatedAt\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":s.qk,"\n mutation passwordReset($input: PasswordResetInput!) {\n passwordReset(input: $input)\n }\n":s.vK,"\n mutation requestPasswordResetEmail($input: RequestPasswordResetEmailInput!) {\n requestPasswordResetEmail(input: $input)\n }\n":s.i8,"\n mutation requestInvitationEmail($input: RequestInvitationInput!) {\n requestInvitationEmail(input: $input) {\n email\n code\n }\n }\n":s.S_,"\n mutation tokenAuth($email: String!, $password: String!) {\n tokenAuth(email: $email, password: $password) {\n accessToken\n refreshToken\n }\n }\n":s.UO,"\n mutation register(\n $name: String!\n $email: String!\n $password1: String!\n $password2: String!\n $invitationCode: String\n ) {\n register(\n name: $name\n email: $email\n password1: $password1\n password2: $password2\n invitationCode: $invitationCode\n ) {\n accessToken\n refreshToken\n }\n }\n":s.YR,"\n query RepositoryGrep(\n $id: ID!\n $kind: RepositoryKind!\n $rev: String\n $query: String!\n ) {\n repositoryGrep(kind: $kind, id: $id, rev: $rev, query: $query) {\n files {\n path\n lines {\n line {\n text\n base64\n }\n byteOffset\n lineNumber\n subMatches {\n bytesStart\n bytesEnd\n }\n }\n }\n elapsedMs\n }\n }\n":s.lq,"\n mutation DeleteThread($id: ID!) {\n deleteThread(id: $id)\n }\n":s.xW,"\n mutation UpdateThreadMessage($input: UpdateMessageInput!) {\n updateThreadMessage(input: $input)\n }\n":s.Tj,"\n query RepositorySourceList {\n repositoryList {\n id\n name\n kind\n gitUrl\n sourceId\n sourceName\n sourceKind\n }\n }\n":s.mO,"\n mutation markNotificationsRead($notificationId: ID) {\n markNotificationsRead(notificationId: $notificationId)\n }\n":s.yR,"\n mutation ResetUserAuthToken {\n resetUserAuthToken\n }\n":s.qq,"\n query GetLicenseInfo {\n license {\n type\n status\n seats\n seatsUsed\n issuedAt\n expiresAt\n }\n }\n":s.eZ,"\n query MeQuery {\n me {\n id\n authToken\n email\n isAdmin\n isOwner\n isPasswordSet\n name\n }\n }\n":s.fk,"\n query NetworkSetting {\n networkSetting {\n externalUrl\n }\n }\n":s.m2,"\n query GetServerInfo {\n serverInfo {\n isAdminInitialized\n isEmailConfigured\n isChatEnabled\n allowSelfSignup\n isDemoMode\n }\n }\n":s.a,"\n subscription CreateThreadAndRun($input: CreateThreadAndRunInput!) {\n createThreadAndRun(input: $input) {\n __typename\n ... on ThreadCreated {\n id\n }\n ... on ThreadUserMessageCreated {\n id\n }\n ... on ThreadAssistantMessageCreated {\n id\n }\n ... on ThreadRelevantQuestions {\n questions\n }\n ... on ThreadAssistantMessageAttachmentsCode {\n hits {\n code {\n gitUrl\n filepath\n language\n content\n startLine\n }\n scores {\n rrf\n bm25\n embedding\n }\n }\n }\n ... on ThreadAssistantMessageAttachmentsDoc {\n hits {\n doc {\n __typename\n ... on MessageAttachmentWebDoc {\n title\n link\n content\n }\n ... on MessageAttachmentIssueDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n closed\n }\n ... on MessageAttachmentPullDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n merged\n }\n }\n score\n }\n }\n ... on ThreadAssistantMessageContentDelta {\n delta\n }\n ... on ThreadAssistantMessageCompleted {\n id\n }\n }\n }\n":s.VL,"\n subscription CreateThreadRun($input: CreateThreadRunInput!) {\n createThreadRun(input: $input) {\n __typename\n ... on ThreadCreated {\n id\n }\n ... on ThreadUserMessageCreated {\n id\n }\n ... on ThreadAssistantMessageCreated {\n id\n }\n ... on ThreadRelevantQuestions {\n questions\n }\n ... on ThreadAssistantMessageAttachmentsCode {\n hits {\n code {\n gitUrl\n filepath\n language\n content\n startLine\n }\n scores {\n rrf\n bm25\n embedding\n }\n }\n }\n ... on ThreadAssistantMessageAttachmentsDoc {\n hits {\n doc {\n __typename\n ... on MessageAttachmentWebDoc {\n title\n link\n content\n }\n ... on MessageAttachmentIssueDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n closed\n }\n ... on MessageAttachmentPullDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n merged\n }\n }\n score\n }\n }\n ... on ThreadAssistantMessageContentDelta {\n delta\n }\n ... on ThreadAssistantMessageCompleted {\n id\n }\n }\n }\n":s.uM,"\n mutation DeleteThreadMessagePair(\n $threadId: ID!\n $userMessageId: ID!\n $assistantMessageId: ID!\n ) {\n deleteThreadMessagePair(\n threadId: $threadId\n userMessageId: $userMessageId\n assistantMessageId: $assistantMessageId\n )\n }\n":s.ou,"\n mutation refreshToken($refreshToken: String!) {\n refreshToken(refreshToken: $refreshToken) {\n accessToken\n refreshToken\n }\n }\n":s.FR,"\n mutation LogoutAllSessions {\n logoutAllSessions\n }\n":s.Il,"\n query ListInvitations(\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n invitations(after: $after, before: $before, first: $first, last: $last) {\n edges {\n node {\n id\n email\n code\n createdAt\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":s.Xx,"\n query gitRepositories(\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n gitRepositories(\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n name\n gitUrl\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":s.Mi,"\n query ListJobRuns(\n $ids: [ID!]\n $jobs: [String!]\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n jobRuns(\n ids: $ids\n jobs: $jobs\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n job\n createdAt\n startedAt\n finishedAt\n exitCode\n stdout\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":s.$S,"\n query GetJobRunStats($jobs: [String!]) {\n jobRunStats(jobs: $jobs) {\n success\n failed\n pending\n }\n }\n":s.np,"\n query ListJobs {\n jobs\n }\n":s.Ax,"\n query ListUsers($after: String, $before: String, $first: Int, $last: Int) {\n users(after: $after, before: $before, first: $first, last: $last) {\n edges {\n node {\n id\n email\n isAdmin\n isOwner\n createdAt\n active\n name\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":s.by,"\n query DailyStatsInPastYear($users: [ID!]) {\n dailyStatsInPastYear(users: $users) {\n start\n end\n completions\n selects\n views\n }\n }\n":s.Wd,"\n query DailyStats(\n $start: DateTime!\n $end: DateTime!\n $users: [ID!]\n $languages: [Language!]\n ) {\n dailyStats(start: $start, end: $end, users: $users, languages: $languages) {\n start\n end\n completions\n selects\n views\n language\n }\n }\n":s.Sm,"\n query ListIntegrations(\n $ids: [ID!]\n $kind: IntegrationKind\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n integrations(\n ids: $ids\n kind: $kind\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n displayName\n status\n apiBase\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":s.KZ,"\n query ListIntegratedRepositories(\n $ids: [ID!]\n $kind: IntegrationKind\n $active: Boolean\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n integratedRepositories(\n ids: $ids\n kind: $kind\n active: $active\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n displayName\n gitUrl\n active\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n startedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":s.qt,"\n query RepositoryList {\n repositoryList {\n id\n name\n kind\n gitUrl\n refs {\n name\n commit\n }\n }\n }\n":s.HC,"\n query RepositorySearch(\n $kind: RepositoryKind!\n $id: ID!\n $rev: String\n $pattern: String!\n ) {\n repositorySearch(kind: $kind, id: $id, rev: $rev, pattern: $pattern) {\n type\n path\n indices\n }\n }\n":s.BH,"\n query ContextInfo {\n contextInfo {\n sources {\n id\n sourceKind\n sourceId\n sourceName\n }\n }\n }\n":s.w4,"\n query UserGroups {\n userGroups {\n id\n name\n createdAt\n updatedAt\n members {\n user {\n id\n email\n name\n createdAt\n }\n isGroupAdmin\n createdAt\n updatedAt\n }\n }\n }\n":s.hx,"\n query sourceIdAccessPolicies($sourceId: String!) {\n sourceIdAccessPolicies(sourceId: $sourceId) {\n sourceId\n read {\n id\n name\n }\n }\n }\n":s.NL,"\n query ListThreadMessages(\n $threadId: ID!\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n threadMessages(\n threadId: $threadId\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n threadId\n role\n content\n attachment {\n code {\n gitUrl\n filepath\n language\n content\n startLine\n }\n clientCode {\n filepath\n content\n startLine\n }\n doc {\n __typename\n ... on MessageAttachmentWebDoc {\n title\n link\n content\n }\n ... on MessageAttachmentIssueDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n closed\n }\n ... on MessageAttachmentPullDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n merged\n }\n }\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":s.f7,"\n mutation SetThreadPersisted($threadId: ID!) {\n setThreadPersisted(threadId: $threadId)\n }\n":s.qu,"\n query Notifications {\n notifications {\n id\n content\n read\n createdAt\n }\n }\n":s.Qw};function i(n){var e;return null!==(e=r[n])&&void 0!==e?e:{}}},43240:function(n,e,t){t.d(e,{BX:function(){return s.B}});var s=t(75561)}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/325-25e95b2d2fc15237.js b/ee/tabby-webserver/ui/_next/static/chunks/325-f70715e63c3f0b29.js similarity index 100% rename from ee/tabby-webserver/ui/_next/static/chunks/325-25e95b2d2fc15237.js rename to ee/tabby-webserver/ui/_next/static/chunks/325-f70715e63c3f0b29.js diff --git a/ee/tabby-webserver/ui/_next/static/chunks/3817-85a2be99c9309ba6.js b/ee/tabby-webserver/ui/_next/static/chunks/3817-85a2be99c9309ba6.js new file mode 100644 index 000000000000..69743a1717b0 --- /dev/null +++ b/ee/tabby-webserver/ui/_next/static/chunks/3817-85a2be99c9309ba6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3817],{35646:function(e,t,n){n.d(t,{q:function(){return d}});let r=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,o=e=>{if("string"!=typeof e)throw TypeError("Invalid argument expected string");let t=e.match(r);if(!t)throw Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},a=e=>"*"===e||"x"===e||"X"===e,i=e=>{let t=parseInt(e,10);return isNaN(t)?e:t},l=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],c=(e,t)=>{if(a(e)||a(t))return 0;let[n,r]=l(i(e),i(t));return n>r?1:n{for(let n=0;n{let n=o(e),r=o(t),a=n.pop(),i=r.pop(),l=u(n,r);return 0!==l?l:a&&i?u(a.split("."),i.split(".")):a||i?a?-1:1:0},d=(e,t,n)=>{p(n);let r=s(e,t);return f[n].includes(r)},f={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1],"!=":[-1,1]},m=Object.keys(f),p=e=>{if("string"!=typeof e)throw TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(-1===m.indexOf(e))throw Error(`Invalid operator, expected one of ${m.join("|")}`)}},28242:function(e,t,n){n.d(t,{F:function(){return u},f:function(){return s}});var r=n(3546);let o=["light","dark"],a="(prefers-color-scheme: dark)",i="undefined"==typeof window,l=(0,r.createContext)(void 0),c={setTheme:e=>{},themes:[]},u=()=>{var e;return null!==(e=(0,r.useContext)(l))&&void 0!==e?e:c},s=e=>(0,r.useContext)(l)?r.createElement(r.Fragment,null,e.children):r.createElement(f,e),d=["light","dark"],f=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:n=!0,enableColorScheme:i=!0,storageKey:c="theme",themes:u=d,defaultTheme:s=n?"system":"light",attribute:f="data-theme",value:y,children:b,nonce:g})=>{let[C,E]=(0,r.useState)(()=>p(c,s)),[w,S]=(0,r.useState)(()=>p(c)),x=y?Object.values(y):u,R=(0,r.useCallback)(e=>{let r=e;if(!r)return;"system"===e&&n&&(r=v());let a=y?y[r]:r,l=t?h():null,c=document.documentElement;if("class"===f?(c.classList.remove(...x),a&&c.classList.add(a)):a?c.setAttribute(f,a):c.removeAttribute(f),i){let e=o.includes(s)?s:null,t=o.includes(r)?r:e;c.style.colorScheme=t}null==l||l()},[]),T=(0,r.useCallback)(e=>{E(e);try{localStorage.setItem(c,e)}catch(e){}},[e]),$=(0,r.useCallback)(t=>{let r=v(t);S(r),"system"===C&&n&&!e&&R("system")},[C,e]);(0,r.useEffect)(()=>{let e=window.matchMedia(a);return e.addListener($),$(e),()=>e.removeListener($)},[$]),(0,r.useEffect)(()=>{let e=e=>{e.key===c&&T(e.newValue||s)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[T]),(0,r.useEffect)(()=>{R(null!=e?e:C)},[e,C]);let O=(0,r.useMemo)(()=>({theme:C,setTheme:T,forcedTheme:e,resolvedTheme:"system"===C?w:C,themes:n?[...u,"system"]:u,systemTheme:n?w:void 0}),[C,T,e,w,n,u]);return r.createElement(l.Provider,{value:O},r.createElement(m,{forcedTheme:e,disableTransitionOnChange:t,enableSystem:n,enableColorScheme:i,storageKey:c,themes:u,defaultTheme:s,attribute:f,value:y,children:b,attrs:x,nonce:g}),b)},m=(0,r.memo)(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:i,enableColorScheme:l,defaultTheme:c,value:u,attrs:s,nonce:d})=>{let f="system"===c,m="class"===n?`var d=document.documentElement,c=d.classList;c.remove(${s.map(e=>`'${e}'`).join(",")});`:`var d=document.documentElement,n='${n}',s='setAttribute';`,p=l?o.includes(c)&&c?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${c}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",h=(e,t=!1,r=!0)=>{let a=u?u[e]:e,i=t?e+"|| ''":`'${a}'`,c="";return l&&r&&!t&&o.includes(e)&&(c+=`d.style.colorScheme = '${e}';`),"class"===n?c+=t||a?`c.add(${i})`:"null":a&&(c+=`d[s](n,${i})`),c},v=e?`!function(){${m}${h(e)}}()`:i?`!function(){try{${m}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${f})){var t='${a}',m=window.matchMedia(t);if(m.media!==t||m.matches){${h("dark")}}else{${h("light")}}}else if(e){${u?`var x=${JSON.stringify(u)};`:""}${h(u?"x[e]":"e",!0)}}${f?"":"else{"+h(c,!1,!1)+"}"}${p}}catch(e){}}()`:`!function(){try{${m}var e=localStorage.getItem('${t}');if(e){${u?`var x=${JSON.stringify(u)};`:""}${h(u?"x[e]":"e",!0)}}else{${h(c,!1,!1)};}${p}}catch(t){}}();`;return r.createElement("script",{nonce:d,dangerouslySetInnerHTML:{__html:v}})},()=>!0),p=(e,t)=>{let n;if(!i){try{n=localStorage.getItem(e)||void 0}catch(e){}return n||t}},h=()=>{let e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(e)},1)}},v=e=>(e||(e=window.matchMedia(a)),e.matches?"dark":"light")},17989:function(e,t,n){n.d(t,{Fw:function(){return E},VY:function(){return T},fC:function(){return x},p_:function(){return h},wy:function(){return g},xz:function(){return R}});var r=n(65122),o=n(3546),a=n(65727),i=n(47091),l=n(27250),c=n(65292),u=n(79869),s=n(72205),d=n(96497),f=n(29434);let m="Collapsible",[p,h]=(0,i.b)(m),[v,y]=p(m),b=(0,o.forwardRef)((e,t)=>{let{__scopeCollapsible:n,open:a,defaultOpen:i,disabled:c,onOpenChange:u,...d}=e,[m=!1,p]=(0,l.T)({prop:a,defaultProp:i,onChange:u});return(0,o.createElement)(v,{scope:n,disabled:c,contentId:(0,f.M)(),open:m,onOpenToggle:(0,o.useCallback)(()=>p(e=>!e),[p])},(0,o.createElement)(s.WV.div,(0,r.Z)({"data-state":S(m),"data-disabled":c?"":void 0},d,{ref:t})))}),g=(0,o.forwardRef)((e,t)=>{let{__scopeCollapsible:n,...i}=e,l=y("CollapsibleTrigger",n);return(0,o.createElement)(s.WV.button,(0,r.Z)({type:"button","aria-controls":l.contentId,"aria-expanded":l.open||!1,"data-state":S(l.open),"data-disabled":l.disabled?"":void 0,disabled:l.disabled},i,{ref:t,onClick:(0,a.M)(e.onClick,l.onOpenToggle)}))}),C="CollapsibleContent",E=(0,o.forwardRef)((e,t)=>{let{forceMount:n,...a}=e,i=y(C,e.__scopeCollapsible);return(0,o.createElement)(d.z,{present:n||i.open},({present:e})=>(0,o.createElement)(w,(0,r.Z)({},a,{ref:t,present:e})))}),w=(0,o.forwardRef)((e,t)=>{let{__scopeCollapsible:n,present:a,children:i,...l}=e,d=y(C,n),[f,m]=(0,o.useState)(a),p=(0,o.useRef)(null),h=(0,u.e)(t,p),v=(0,o.useRef)(0),b=v.current,g=(0,o.useRef)(0),E=g.current,w=d.open||f,x=(0,o.useRef)(w),R=(0,o.useRef)();return(0,o.useEffect)(()=>{let e=requestAnimationFrame(()=>x.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,c.b)(()=>{let e=p.current;if(e){R.current=R.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();v.current=t.height,g.current=t.width,x.current||(e.style.transitionDuration=R.current.transitionDuration,e.style.animationName=R.current.animationName),m(a)}},[d.open,a]),(0,o.createElement)(s.WV.div,(0,r.Z)({"data-state":S(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!w},l,{ref:h,style:{"--radix-collapsible-content-height":b?`${b}px`:void 0,"--radix-collapsible-content-width":E?`${E}px`:void 0,...e.style}}),w&&i)});function S(e){return e?"open":"closed"}let x=b,R=g,T=E},85656:function(e,t,n){n.d(t,{B:function(){return l}});var r=n(3546),o=n(47091),a=n(79869),i=n(74047);function l(e){let t=e+"CollectionProvider",[n,l]=(0,o.b)(t),[c,u]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=e+"CollectionSlot",d=r.forwardRef((e,t)=>{let{scope:n,children:o}=e,l=u(s,n),c=(0,a.e)(t,l.collectionRef);return r.createElement(i.g7,{ref:c},o)}),f=e+"CollectionItemSlot",m="data-radix-collection-item",p=r.forwardRef((e,t)=>{let{scope:n,children:o,...l}=e,c=r.useRef(null),s=(0,a.e)(t,c),d=u(f,n);return r.useEffect(()=>(d.itemMap.set(c,{ref:c,...l}),()=>void d.itemMap.delete(c))),r.createElement(i.g7,{[m]:"",ref:s},o)});return[{Provider:e=>{let{scope:t,children:n}=e,o=r.useRef(null),a=r.useRef(new Map).current;return r.createElement(c,{scope:t,itemMap:a,collectionRef:o},n)},Slot:d,ItemSlot:p},function(t){let n=u(e+"CollectionConsumer",t),o=r.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${m}]`)),r=Array.from(n.itemMap.values()),o=r.sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current));return o},[n.collectionRef,n.itemMap]);return o},l]}},38421:function(e,t,n){let r;n.d(t,{E:function(){return R},VY:function(){return P},fC:function(){return _},h_:function(){return D},xz:function(){return k}});var o=n(65122),a=n(3546),i=n(65727),l=n(47091),c=n(27250),u=n(79869),s=n(39810),d=n(48907),f=n(96497),m=n(72205),p=n(71404);let h="HoverCard",[v,y]=(0,l.b)(h,[s.D7]),b=(0,s.D7)(),[g,C]=v(h),E=(0,a.forwardRef)((e,t)=>{let{__scopeHoverCard:n,...r}=e,l=C("HoverCardTrigger",n),c=b(n);return(0,a.createElement)(s.ee,(0,o.Z)({asChild:!0},c),(0,a.createElement)(m.WV.a,(0,o.Z)({"data-state":l.open?"open":"closed"},r,{ref:t,onPointerEnter:(0,i.M)(e.onPointerEnter,M(l.onOpen)),onPointerLeave:(0,i.M)(e.onPointerLeave,M(l.onClose)),onFocus:(0,i.M)(e.onFocus,l.onOpen),onBlur:(0,i.M)(e.onBlur,l.onClose),onTouchStart:(0,i.M)(e.onTouchStart,e=>e.preventDefault())})))}),w="HoverCardPortal",[S,x]=v(w,{forceMount:void 0}),R=e=>{let{__scopeHoverCard:t,forceMount:n,children:r,container:o}=e,i=C(w,t);return(0,a.createElement)(S,{scope:t,forceMount:n},(0,a.createElement)(f.z,{present:n||i.open},(0,a.createElement)(d.h,{asChild:!0,container:o},r)))},T="HoverCardContent",$=(0,a.forwardRef)((e,t)=>{let n=x(T,e.__scopeHoverCard),{forceMount:r=n.forceMount,...l}=e,c=C(T,e.__scopeHoverCard);return(0,a.createElement)(f.z,{present:r||c.open},(0,a.createElement)(O,(0,o.Z)({"data-state":c.open?"open":"closed"},l,{onPointerEnter:(0,i.M)(e.onPointerEnter,M(c.onOpen)),onPointerLeave:(0,i.M)(e.onPointerLeave,M(c.onClose)),ref:t})))}),O=(0,a.forwardRef)((e,t)=>{let{__scopeHoverCard:n,onEscapeKeyDown:l,onPointerDownOutside:c,onFocusOutside:d,onInteractOutside:f,...m}=e,h=C(T,n),v=b(n),y=(0,a.useRef)(null),g=(0,u.e)(t,y),[E,w]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{if(E){let e=document.body;return r=e.style.userSelect||e.style.webkitUserSelect,e.style.userSelect="none",e.style.webkitUserSelect="none",()=>{e.style.userSelect=r,e.style.webkitUserSelect=r}}},[E]),(0,a.useEffect)(()=>{if(y.current){let e=()=>{w(!1),h.isPointerDownOnContentRef.current=!1,setTimeout(()=>{var e;let t=(null===(e=document.getSelection())||void 0===e?void 0:e.toString())!=="";t&&(h.hasSelectionRef.current=!0)})};return document.addEventListener("pointerup",e),()=>{document.removeEventListener("pointerup",e),h.hasSelectionRef.current=!1,h.isPointerDownOnContentRef.current=!1}}},[h.isPointerDownOnContentRef,h.hasSelectionRef]),(0,a.useEffect)(()=>{if(y.current){let e=function(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});for(;n.nextNode();)t.push(n.currentNode);return t}(y.current);e.forEach(e=>e.setAttribute("tabindex","-1"))}}),(0,a.createElement)(p.XB,{asChild:!0,disableOutsidePointerEvents:!1,onInteractOutside:f,onEscapeKeyDown:l,onPointerDownOutside:c,onFocusOutside:(0,i.M)(d,e=>{e.preventDefault()}),onDismiss:h.onDismiss},(0,a.createElement)(s.VY,(0,o.Z)({},v,m,{onPointerDown:(0,i.M)(m.onPointerDown,e=>{e.currentTarget.contains(e.target)&&w(!0),h.hasSelectionRef.current=!1,h.isPointerDownOnContentRef.current=!0}),ref:g,style:{...m.style,userSelect:E?"text":void 0,WebkitUserSelect:E?"text":void 0,"--radix-hover-card-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-hover-card-content-available-width":"var(--radix-popper-available-width)","--radix-hover-card-content-available-height":"var(--radix-popper-available-height)","--radix-hover-card-trigger-width":"var(--radix-popper-anchor-width)","--radix-hover-card-trigger-height":"var(--radix-popper-anchor-height)"}})))});function M(e){return t=>"touch"===t.pointerType?void 0:e()}let _=e=>{let{__scopeHoverCard:t,children:n,open:r,defaultOpen:o,onOpenChange:i,openDelay:l=700,closeDelay:u=300}=e,d=b(t),f=(0,a.useRef)(0),m=(0,a.useRef)(0),p=(0,a.useRef)(!1),h=(0,a.useRef)(!1),[v=!1,y]=(0,c.T)({prop:r,defaultProp:o,onChange:i}),C=(0,a.useCallback)(()=>{clearTimeout(m.current),f.current=window.setTimeout(()=>y(!0),l)},[l,y]),E=(0,a.useCallback)(()=>{clearTimeout(f.current),p.current||h.current||(m.current=window.setTimeout(()=>y(!1),u))},[u,y]),w=(0,a.useCallback)(()=>y(!1),[y]);return(0,a.useEffect)(()=>()=>{clearTimeout(f.current),clearTimeout(m.current)},[]),(0,a.createElement)(g,{scope:t,open:v,onOpenChange:y,onOpen:C,onClose:E,onDismiss:w,hasSelectionRef:p,isPointerDownOnContentRef:h},(0,a.createElement)(s.fC,d,n))},k=E,D=R,P=$},90893:function(e,t,n){n.d(t,{f:function(){return l}});var r=n(65122),o=n(3546),a=n(72205);let i=(0,o.forwardRef)((e,t)=>(0,o.createElement)(a.WV.label,(0,r.Z)({},e,{ref:t,onMouseDown:t=>{var n;null===(n=e.onMouseDown)||void 0===n||n.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault()}}))),l=i},18216:function(e,t,n){var r=n(6670),o=/^\s+/;t.Z=function(e){return e?e.slice(0,(0,r.Z)(e)+1).replace(o,""):e}},6670:function(e,t){var n=/\s/;t.Z=function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}},96786:function(e,t){t.Z=function(e){return null!=e&&"object"==typeof e}},55357:function(e,t,n){var r=n(17996),o=n(96786);t.Z=function(e){return"symbol"==typeof e||(0,o.Z)(e)&&"[object Symbol]"==(0,r.Z)(e)}},26165:function(e,t,n){var r=n(18216),o=n(84639),a=n(55357),i=0/0,l=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,s=parseInt;t.Z=function(e){if("number"==typeof e)return e;if((0,a.Z)(e))return i;if((0,o.Z)(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=(0,o.Z)(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=(0,r.Z)(e);var n=c.test(e);return n||u.test(e)?s(e.slice(2),n?2:8):l.test(e)?i:+e}}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/4017-6405fb85f2a2e5c8.js b/ee/tabby-webserver/ui/_next/static/chunks/4017-2467b12c98927470.js similarity index 61% rename from ee/tabby-webserver/ui/_next/static/chunks/4017-6405fb85f2a2e5c8.js rename to ee/tabby-webserver/ui/_next/static/chunks/4017-2467b12c98927470.js index 4ca80c55efd2..8317ae367490 100644 --- a/ee/tabby-webserver/ui/_next/static/chunks/4017-6405fb85f2a2e5c8.js +++ b/ee/tabby-webserver/ui/_next/static/chunks/4017-2467b12c98927470.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4017],{22119:function(e,n,t){t.d(n,{Z:function(){return v}});var r,a,s=t(36164),o=t(3546),i=t(99092),d=t.n(i),l=t(57288),u=t(31458),c=t(35167),f=t(70730),m=t(94070);function h(e){let{className:n,classNames:t,showOutsideDays:r=!0,...a}=e;return(0,s.jsx)(m._W,{showOutsideDays:r,className:(0,l.cn)("p-3",n),classNames:{months:"flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",month:"space-y-4",caption:"flex justify-center pt-1 relative items-center",caption_label:"text-sm font-medium",nav:"space-x-1 flex items-center",nav_button:(0,l.cn)((0,u.d)({variant:"outline"}),"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"),nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-y-1",head_row:"flex",head_cell:"text-muted-foreground rounded-md w-9 font-normal text-[0.8rem]",row:"flex w-full mt-2",cell:"h-9 w-9 text-center text-sm p-0 relative [&:has([aria-selected].day-range-end)]:rounded-r-md [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected])]:bg-accent first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md focus-within:relative focus-within:z-20",day:(0,l.cn)((0,u.d)({variant:"ghost"}),"h-9 w-9 p-0 font-normal aria-selected:opacity-100"),day_range_end:"day-range-end",day_selected:"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",day_today:"bg-accent text-accent-foreground",day_outside:"day-outside text-muted-foreground opacity-50 aria-selected:bg-accent/50 aria-selected:text-muted-foreground aria-selected:opacity-30",day_disabled:"text-muted-foreground opacity-50",day_range_middle:"aria-selected:bg-accent aria-selected:text-accent-foreground",day_hidden:"invisible",...t},components:{IconLeft:e=>{let{...n}=e;return(0,s.jsx)(c.Z,{className:"h-4 w-4"})},IconRight:e=>{let{...n}=e;return(0,s.jsx)(f.Z,{className:"h-4 w-4"})}},...a})}h.displayName="Calendar";var g=t(79972),p=t(81565),x=t(54594),y=t(11208);(r=a||(a={})).TODAY="today",r.YESTERDAY="yesterday",r.CUSTOM_DATE="custom_date",r.CUSTOM_RANGE="custom_range";let b=e=>({number:parseInt(e,10)||-1,unit:e[e.length-1]||"h"});function v(e){let{options:n,onSelect:t,defaultValue:r,hasToday:i,hasYesterday:c,className:f}=e;r=r||n[0].value;let m=b(r),[v,$]=o.useState({from:d()().add(m.number,m.unit).toDate(),to:d()().toDate()}),[j,N]=o.useState(!1),[w,I]=o.useState(r),[C,S]=o.useState(!1),[D,A]=o.useState({from:d()().add(m.number,m.unit).toDate(),to:d()().toDate()}),[_,k]=o.useState(!1),[R,P]=o.useState(d()().toDate()),O=e=>{t&&t(e),$(e)};return(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsxs)(x.Ph,{value:w,onValueChange:e=>{switch(e){case a.TODAY:O({from:d()().startOf("day").toDate(),to:d()().toDate()});break;case a.YESTERDAY:O({from:d()().subtract(1,"d").startOf("day").toDate(),to:d()().subtract(1,"d").endOf("day").toDate()});break;default:{let{unit:n,number:t}=b(e),r=d()().add(t,n);["h","s","ms"].includes(n)||(r=r.startOf("day")),O({from:r.toDate(),to:d()().toDate()})}}I(e)},open:j,onOpenChange:e=>{e||C||_||N(!1)},children:[(0,s.jsx)(x.i4,{className:(0,l.cn)("w-[240px]",f),onClick:()=>N(!j),children:(0,s.jsx)(x.ki,{placeholder:"Date range"})}),(0,s.jsxs)(x.Bw,{align:"end",children:[i&&(0,s.jsx)(x.Ql,{value:a.TODAY,children:"Today"}),c&&(0,s.jsx)(x.Ql,{value:a.YESTERDAY,children:"Yesterday"}),n.map(e=>(0,s.jsx)(x.Ql,{value:e.value,children:e.label},e.value)),(0,s.jsxs)(x.Ql,{value:a.CUSTOM_DATE,className:"hidden",children:[d()(null==v?void 0:v.from).format("ll")," - Now"]}),(0,s.jsxs)(x.Ql,{value:a.CUSTOM_RANGE,className:"hidden",children:[d()(null==v?void 0:v.from).format("ll"),(null==v?void 0:v.to)?" - ".concat(d()(v.to).format("ll")):""]}),(0,s.jsx)(x.U$,{}),(0,s.jsxs)("div",{className:"relative cursor-default py-1.5 pl-8 text-sm hover:bg-accent hover:text-accent-foreground",onClick:()=>k(!0),children:[w===a.CUSTOM_DATE&&(0,s.jsx)("div",{className:"absolute inset-y-0 left-2 flex items-center",children:(0,s.jsx)(p.IconCheck,{})}),"Custom date until now"]}),(0,s.jsxs)("div",{className:"relative cursor-default py-1.5 pl-8 text-sm hover:bg-accent hover:text-accent-foreground",onClick:()=>S(!0),children:[w===a.CUSTOM_RANGE&&(0,s.jsx)("div",{className:"absolute inset-y-0 left-2 flex items-center",children:(0,s.jsx)(p.IconCheck,{})}),"Custom date range"]})]})]}),(0,s.jsx)(g.Zb,{className:(0,l.cn)("absolute right-0 mt-1",{"opacity-0 z-0 pointer-events-none":!_,"opacity-100 pointer-events-auto":_}),style:_&&{zIndex:99}||{},children:(0,s.jsxs)(g.aY,{className:"w-auto pb-0",children:[(0,s.jsx)(h,{initialFocus:!0,mode:"single",selected:R,onSelect:P,disabled:e=>e>new Date}),(0,s.jsx)(y.Z,{}),(0,s.jsxs)("div",{className:"flex items-center justify-end gap-x-3 py-4",children:[(0,s.jsx)(u.z,{variant:"ghost",onClick:()=>k(!1),children:"Cancel"}),(0,s.jsx)(u.z,{onClick:()=>{N(!1),k(!1),I(a.CUSTOM_DATE),O({from:d()(R).startOf("day").toDate(),to:d()().toDate()})},children:"Apply"})]})]})}),(0,s.jsx)(g.Zb,{className:(0,l.cn)("absolute right-0 mt-1",{"opacity-0 z-0 pointer-events-none":!C,"opacity-100 pointer-events-auto":C}),style:C&&{zIndex:99}||{},children:(0,s.jsxs)(g.aY,{className:"w-auto pb-0",children:[(0,s.jsx)(h,{initialFocus:!0,mode:"range",defaultMonth:d()(null==D?void 0:D.from).subtract(1,"month").toDate(),selected:D,onSelect:A,numberOfMonths:2,disabled:e=>e>new Date}),(0,s.jsx)(y.Z,{}),(0,s.jsxs)("div",{className:"flex items-center justify-end gap-x-3 py-4",children:[(0,s.jsx)(u.z,{variant:"ghost",onClick:()=>S(!1),children:"Cancel"}),(0,s.jsx)(u.z,{onClick:()=>{N(!1),S(!1),I(a.CUSTOM_RANGE),O({from:null==D?void 0:D.from,to:d()(null==D?void 0:D.to).endOf("day").toDate()})},children:"Apply"})]})]})})]})}},6230:function(e,n,t){var r=t(36164),a=t(3546),s=t(24449),o=t(90379);n.Z=e=>{let{loading:n,fallback:t,delay:i,children:d}=e,[l,u]=a.useState(!n),[c]=(0,s.n)(l,null!=i?i:200);return(a.useEffect(()=>{n||l||u(!0)},[n]),c)?d:t||(0,r.jsx)(o.cg,{})}},90379:function(e,n,t){t.d(n,{PF:function(){return d},cg:function(){return o},tB:function(){return i}});var r=t(36164),a=t(57288),s=t(3448);let o=e=>{let{className:n,...t}=e;return(0,r.jsxs)("div",{className:(0,a.cn)("space-y-3",n),...t,children:[(0,r.jsx)(s.O,{className:"h-4 w-full"}),(0,r.jsx)(s.O,{className:"h-4 w-full"}),(0,r.jsx)(s.O,{className:"h-4 w-full"}),(0,r.jsx)(s.O,{className:"h-4 w-full"})]})},i=e=>{let{className:n,...t}=e;return(0,r.jsx)(s.O,{className:(0,a.cn)("h-4 w-full",n),...t})},d=e=>{let{className:n,...t}=e;return(0,r.jsxs)("div",{className:(0,a.cn)("flex flex-col gap-3",n),...t,children:[(0,r.jsx)(s.O,{className:"h-4 w-[20%]"}),(0,r.jsx)(s.O,{className:"h-4 w-full"}),(0,r.jsx)(s.O,{className:"h-4 w-[20%]"}),(0,r.jsx)(s.O,{className:"h-4 w-full"})]})}},31458:function(e,n,t){t.d(n,{d:function(){return d},z:function(){return l}});var r=t(36164),a=t(3546),s=t(74047),o=t(14375),i=t(57288);let d=(0,o.j)("inline-flex items-center justify-center rounded-md text-sm font-medium shadow ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-md hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90","hover-destructive":"shadow-none hover:bg-destructive/90 hover:text-destructive-foreground",outline:"border border-input hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"shadow-none hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 shadow-none hover:underline"},size:{default:"h-8 px-4 py-2",sm:"h-8 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-8 w-8 p-0"}},defaultVariants:{variant:"default",size:"default"}}),l=a.forwardRef((e,n)=>{let{className:t,variant:a,size:o,asChild:l=!1,...u}=e,c=l?s.g7:"button";return(0,r.jsx)(c,{className:(0,i.cn)(d({variant:a,size:o,className:t})),ref:n,...u})});l.displayName="Button"},79972:function(e,n,t){t.d(n,{Ol:function(){return i},Zb:function(){return o},aY:function(){return u},eW:function(){return c},ll:function(){return d}});var r=t(36164),a=t(3546),s=t(57288);let o=a.forwardRef((e,n)=>{let{className:t,...a}=e;return(0,r.jsx)("div",{ref:n,className:(0,s.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",t),...a})});o.displayName="Card";let i=a.forwardRef((e,n)=>{let{className:t,...a}=e;return(0,r.jsx)("div",{ref:n,className:(0,s.cn)("flex flex-col space-y-1.5 p-6",t),...a})});i.displayName="CardHeader";let d=a.forwardRef((e,n)=>{let{className:t,...a}=e;return(0,r.jsx)("h3",{ref:n,className:(0,s.cn)("text-2xl font-semibold leading-none tracking-tight",t),...a})});d.displayName="CardTitle";let l=a.forwardRef((e,n)=>{let{className:t,...a}=e;return(0,r.jsx)("p",{ref:n,className:(0,s.cn)("text-sm text-muted-foreground",t),...a})});l.displayName="CardDescription";let u=a.forwardRef((e,n)=>{let{className:t,...a}=e;return(0,r.jsx)("div",{ref:n,className:(0,s.cn)("p-6 pt-0",t),...a})});u.displayName="CardContent";let c=a.forwardRef((e,n)=>{let{className:t,...a}=e;return(0,r.jsx)("div",{ref:n,className:(0,s.cn)("flex items-center p-6 pt-0",t),...a})});c.displayName="CardFooter"},54594:function(e,n,t){t.d(n,{Bw:function(){return f},DI:function(){return l},Ph:function(){return d},Ql:function(){return h},U$:function(){return g},i4:function(){return c},ki:function(){return u}});var r=t(36164),a=t(3546),s=t(31889),o=t(57288),i=t(81565);let d=s.fC,l=s.ZA,u=s.B4,c=a.forwardRef((e,n)=>{let{className:t,children:a,...d}=e;return(0,r.jsxs)(s.xz,{ref:n,className:(0,o.cn)("flex h-9 w-full items-center justify-between rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),...d,children:[a,(0,r.jsx)(s.JO,{asChild:!0,children:(0,r.jsx)(i.IconChevronUpDown,{className:"opacity-50"})})]})});c.displayName=s.xz.displayName;let f=a.forwardRef((e,n)=>{let{className:t,children:a,position:i="popper",...d}=e;return(0,r.jsx)(s.h_,{children:(0,r.jsx)(s.VY,{ref:n,className:(0,o.cn)("relative z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md animate-in fade-in-80","popper"===i&&"translate-y-1",t),position:i,...d,children:(0,r.jsx)(s.l_,{className:(0,o.cn)("p-1","popper"===i&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:a})})})});f.displayName=s.VY.displayName;let m=a.forwardRef((e,n)=>{let{className:t,...a}=e;return(0,r.jsx)(s.__,{ref:n,className:(0,o.cn)("py-1.5 pl-8 pr-2 text-sm font-semibold",t),...a})});m.displayName=s.__.displayName;let h=a.forwardRef((e,n)=>{let{className:t,children:a,isPlaceHolder:d,...l}=e;return(0,r.jsxs)(s.ck,{ref:n,className:(0,o.cn)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...l,children:[!d&&(0,r.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,r.jsx)(s.wU,{children:(0,r.jsx)(i.IconCheck,{className:"h-4 w-4"})})}),(0,r.jsx)(s.eT,{children:a})]})});h.displayName=s.ck.displayName;let g=a.forwardRef((e,n)=>{let{className:t,...a}=e;return(0,r.jsx)(s.Z0,{ref:n,className:(0,o.cn)("-mx-1 my-1 h-px bg-muted",t),...a})});g.displayName=s.Z0.displayName},11208:function(e,n,t){t.d(n,{Z:function(){return i}});var r=t(36164),a=t(3546),s=t(74225),o=t(57288);let i=a.forwardRef((e,n)=>{let{className:t,orientation:a="horizontal",decorative:i=!0,...d}=e;return(0,r.jsx)(s.f,{ref:n,decorative:i,orientation:a,className:(0,o.cn)("shrink-0 bg-border","horizontal"===a?"h-[1px] w-full":"h-full w-[1px]",t),...d})});i.displayName=s.f.displayName},3448:function(e,n,t){t.d(n,{O:function(){return s}});var r=t(36164),a=t(57288);function s(e){let{className:n,...t}=e;return(0,r.jsx)("div",{className:(0,a.cn)("h-4 animate-pulse rounded-md bg-border",n),...t})}},36758:function(e,n,t){t.d(n,{d:function(){return o}});var r=t(3546),a=t(40055),s=t(70410);function o(){let[{data:e,fetching:n,error:t}]=(0,a.aM)({query:s.TH}),o=(0,r.useMemo)(()=>{var n;return null!==(n=null==e?void 0:e.users.edges.map(e=>e.node))&&void 0!==n?n:[]},[null==e?void 0:e.users]);return[o,n,t]}},9010:function(e,n,t){t.d(n,{X:function(){return a}});var r=t(28242);function a(){let{theme:e,systemTheme:n,setTheme:t}=(0,r.F)();return{theme:e&&"system"!==e?e:n||"light",setTheme:t,systemTheme:n}}},24449:function(e,n,t){t.d(n,{S:function(){return i},n:function(){return d}});var r=t(3546),a=t(45391),s=t(16784);let o=e=>{let n=(0,s.d)(e);r.useEffect(()=>()=>{n.current()},[])};function i(e,n,t){let i=(0,s.d)(e),d=r.useMemo(()=>(0,a.Z)(function(){for(var e=arguments.length,n=Array(e),t=0;t{var e;null==t||null===(e=t.onUnmount)||void 0===e||e.call(t,d),d.cancel()}),{run:d,cancel:d.cancel,flush:d.flush}}function d(e,n,t){let[a,s]=r.useState(e),{run:o}=i(()=>{s(e)},n,t);return r.useEffect(()=>{o()},[e]),[a,s]}},16784:function(e,n,t){t.d(n,{d:function(){return a}});var r=t(3546);function a(e){let n=r.useRef(e);return n.current=e,n}},70410:function(e,n,t){t.d(n,{Cl:function(){return c},D7:function(){return g},DQ:function(){return d},GG:function(){return o},Gx:function(){return p},S1:function(){return s},TH:function(){return l},XL:function(){return b},Y6:function(){return u},g0:function(){return j},gI:function(){return x},hA:function(){return y},kb:function(){return f},lE:function(){return a},md:function(){return $},r4:function(){return v},ts:function(){return m},yB:function(){return i},zz:function(){return h}});var r=t(43240);let a=(0,r.BX)("\n query ListInvitations(\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n invitations(after: $after, before: $before, first: $first, last: $last) {\n edges {\n node {\n id\n email\n code\n createdAt\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),s=(0,r.BX)("\n query gitRepositories(\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n gitRepositories(\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n name\n gitUrl\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),o=(0,r.BX)("\n query ListJobRuns(\n $ids: [ID!]\n $jobs: [String!]\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n jobRuns(\n ids: $ids\n jobs: $jobs\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n job\n createdAt\n startedAt\n finishedAt\n exitCode\n stdout\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),i=(0,r.BX)("\n query GetJobRunStats($jobs: [String!]) {\n jobRunStats(jobs: $jobs) {\n success\n failed\n pending\n }\n }\n"),d=(0,r.BX)("\n query ListJobs {\n jobs\n }\n"),l=(0,r.BX)("\n query ListUsers($after: String, $before: String, $first: Int, $last: Int) {\n users(after: $after, before: $before, first: $first, last: $last) {\n edges {\n node {\n id\n email\n isAdmin\n isOwner\n createdAt\n active\n name\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),u=(0,r.BX)("\n query DailyStatsInPastYear($users: [ID!]) {\n dailyStatsInPastYear(users: $users) {\n start\n end\n completions\n selects\n views\n }\n }\n"),c=(0,r.BX)("\n query DailyStats(\n $start: DateTime!\n $end: DateTime!\n $users: [ID!]\n $languages: [Language!]\n ) {\n dailyStats(start: $start, end: $end, users: $users, languages: $languages) {\n start\n end\n completions\n selects\n views\n language\n }\n }\n"),f=(0,r.BX)("\n query ListIntegrations(\n $ids: [ID!]\n $kind: IntegrationKind\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n integrations(\n ids: $ids\n kind: $kind\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n displayName\n status\n apiBase\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),m=(0,r.BX)("\n query ListIntegratedRepositories(\n $ids: [ID!]\n $kind: IntegrationKind\n $active: Boolean\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n integratedRepositories(\n ids: $ids\n kind: $kind\n active: $active\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n displayName\n gitUrl\n active\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n startedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),h=(0,r.BX)("\n query RepositoryList {\n repositoryList {\n id\n name\n kind\n gitUrl\n refs {\n name\n commit\n }\n }\n }\n"),g=(0,r.BX)("\n query RepositorySearch(\n $kind: RepositoryKind!\n $id: ID!\n $rev: String\n $pattern: String!\n ) {\n repositorySearch(kind: $kind, id: $id, rev: $rev, pattern: $pattern) {\n type\n path\n indices\n }\n }\n"),p=(0,r.BX)("\n query ContextInfo {\n contextInfo {\n sources {\n id\n sourceKind\n sourceId\n sourceName\n }\n }\n }\n"),x=(0,r.BX)("\n query UserGroups {\n userGroups {\n id\n name\n createdAt\n updatedAt\n members {\n user {\n id\n email\n name\n createdAt\n }\n isGroupAdmin\n createdAt\n updatedAt\n }\n }\n }\n"),y=(0,r.BX)("\n query sourceIdAccessPolicies($sourceId: String!) {\n sourceIdAccessPolicies(sourceId: $sourceId) {\n sourceId\n read {\n id\n name\n }\n }\n }\n"),b=(0,r.BX)("\n query ListThreads(\n $ids: [ID!]\n $isEphemeral: Boolean\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n threads(\n ids: $ids\n isEphemeral: $isEphemeral\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n userId\n createdAt\n updatedAt\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),v=(0,r.BX)("\n query ListThreadMessages(\n $threadId: ID!\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n threadMessages(\n threadId: $threadId\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n threadId\n role\n content\n attachment {\n code {\n gitUrl\n filepath\n language\n content\n startLine\n }\n clientCode {\n filepath\n content\n startLine\n }\n doc {\n __typename\n ... on MessageAttachmentWebDoc {\n title\n link\n content\n }\n ... on MessageAttachmentIssueDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n closed\n }\n ... on MessageAttachmentPullDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n merged\n }\n }\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),$=(0,r.BX)("\n mutation SetThreadPersisted($threadId: ID!) {\n setThreadPersisted(threadId: $threadId)\n }\n"),j=(0,r.BX)("\n query Notifications {\n notifications {\n id\n content\n read\n createdAt\n }\n }\n")}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4017],{22119:function(e,n,t){t.d(n,{Z:function(){return v}});var r,a,s=t(36164),o=t(3546),i=t(99092),d=t.n(i),l=t(57288),u=t(31458),c=t(35167),f=t(70730),m=t(94070);function h(e){let{className:n,classNames:t,showOutsideDays:r=!0,...a}=e;return(0,s.jsx)(m._W,{showOutsideDays:r,className:(0,l.cn)("p-3",n),classNames:{months:"flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",month:"space-y-4",caption:"flex justify-center pt-1 relative items-center",caption_label:"text-sm font-medium",nav:"space-x-1 flex items-center",nav_button:(0,l.cn)((0,u.d)({variant:"outline"}),"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"),nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-y-1",head_row:"flex",head_cell:"text-muted-foreground rounded-md w-9 font-normal text-[0.8rem]",row:"flex w-full mt-2",cell:"h-9 w-9 text-center text-sm p-0 relative [&:has([aria-selected].day-range-end)]:rounded-r-md [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected])]:bg-accent first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md focus-within:relative focus-within:z-20",day:(0,l.cn)((0,u.d)({variant:"ghost"}),"h-9 w-9 p-0 font-normal aria-selected:opacity-100"),day_range_end:"day-range-end",day_selected:"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",day_today:"bg-accent text-accent-foreground",day_outside:"day-outside text-muted-foreground opacity-50 aria-selected:bg-accent/50 aria-selected:text-muted-foreground aria-selected:opacity-30",day_disabled:"text-muted-foreground opacity-50",day_range_middle:"aria-selected:bg-accent aria-selected:text-accent-foreground",day_hidden:"invisible",...t},components:{IconLeft:e=>{let{...n}=e;return(0,s.jsx)(c.Z,{className:"h-4 w-4"})},IconRight:e=>{let{...n}=e;return(0,s.jsx)(f.Z,{className:"h-4 w-4"})}},...a})}h.displayName="Calendar";var g=t(79972),p=t(81565),x=t(54594),y=t(11208);(r=a||(a={})).TODAY="today",r.YESTERDAY="yesterday",r.CUSTOM_DATE="custom_date",r.CUSTOM_RANGE="custom_range";let b=e=>({number:parseInt(e,10)||-1,unit:e[e.length-1]||"h"});function v(e){let{options:n,onSelect:t,defaultValue:r,hasToday:i,hasYesterday:c,className:f}=e;r=r||n[0].value;let m=b(r),[v,$]=o.useState({from:d()().add(m.number,m.unit).toDate(),to:d()().toDate()}),[j,N]=o.useState(!1),[w,I]=o.useState(r),[C,S]=o.useState(!1),[D,A]=o.useState({from:d()().add(m.number,m.unit).toDate(),to:d()().toDate()}),[k,_]=o.useState(!1),[R,P]=o.useState(d()().toDate()),O=e=>{t&&t(e),$(e)};return(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsxs)(x.Ph,{value:w,onValueChange:e=>{switch(e){case a.TODAY:O({from:d()().startOf("day").toDate(),to:d()().toDate()});break;case a.YESTERDAY:O({from:d()().subtract(1,"d").startOf("day").toDate(),to:d()().subtract(1,"d").endOf("day").toDate()});break;default:{let{unit:n,number:t}=b(e),r=d()().add(t,n);["h","s","ms"].includes(n)||(r=r.startOf("day")),O({from:r.toDate(),to:d()().toDate()})}}I(e)},open:j,onOpenChange:e=>{e||C||k||N(!1)},children:[(0,s.jsx)(x.i4,{className:(0,l.cn)("w-[240px]",f),onClick:()=>N(!j),children:(0,s.jsx)(x.ki,{placeholder:"Date range"})}),(0,s.jsxs)(x.Bw,{align:"end",children:[i&&(0,s.jsx)(x.Ql,{value:a.TODAY,children:"Today"}),c&&(0,s.jsx)(x.Ql,{value:a.YESTERDAY,children:"Yesterday"}),n.map(e=>(0,s.jsx)(x.Ql,{value:e.value,children:e.label},e.value)),(0,s.jsxs)(x.Ql,{value:a.CUSTOM_DATE,className:"hidden",children:[d()(null==v?void 0:v.from).format("ll")," - Now"]}),(0,s.jsxs)(x.Ql,{value:a.CUSTOM_RANGE,className:"hidden",children:[d()(null==v?void 0:v.from).format("ll"),(null==v?void 0:v.to)?" - ".concat(d()(v.to).format("ll")):""]}),(0,s.jsx)(x.U$,{}),(0,s.jsxs)("div",{className:"relative cursor-default py-1.5 pl-8 text-sm hover:bg-accent hover:text-accent-foreground",onClick:()=>_(!0),children:[w===a.CUSTOM_DATE&&(0,s.jsx)("div",{className:"absolute inset-y-0 left-2 flex items-center",children:(0,s.jsx)(p.IconCheck,{})}),"Custom date until now"]}),(0,s.jsxs)("div",{className:"relative cursor-default py-1.5 pl-8 text-sm hover:bg-accent hover:text-accent-foreground",onClick:()=>S(!0),children:[w===a.CUSTOM_RANGE&&(0,s.jsx)("div",{className:"absolute inset-y-0 left-2 flex items-center",children:(0,s.jsx)(p.IconCheck,{})}),"Custom date range"]})]})]}),(0,s.jsx)(g.Zb,{className:(0,l.cn)("absolute right-0 mt-1",{"opacity-0 z-0 pointer-events-none":!k,"opacity-100 pointer-events-auto":k}),style:k&&{zIndex:99}||{},children:(0,s.jsxs)(g.aY,{className:"w-auto pb-0",children:[(0,s.jsx)(h,{initialFocus:!0,mode:"single",selected:R,onSelect:P,disabled:e=>e>new Date}),(0,s.jsx)(y.Z,{}),(0,s.jsxs)("div",{className:"flex items-center justify-end gap-x-3 py-4",children:[(0,s.jsx)(u.z,{variant:"ghost",onClick:()=>_(!1),children:"Cancel"}),(0,s.jsx)(u.z,{onClick:()=>{N(!1),_(!1),I(a.CUSTOM_DATE),O({from:d()(R).startOf("day").toDate(),to:d()().toDate()})},children:"Apply"})]})]})}),(0,s.jsx)(g.Zb,{className:(0,l.cn)("absolute right-0 mt-1",{"opacity-0 z-0 pointer-events-none":!C,"opacity-100 pointer-events-auto":C}),style:C&&{zIndex:99}||{},children:(0,s.jsxs)(g.aY,{className:"w-auto pb-0",children:[(0,s.jsx)(h,{initialFocus:!0,mode:"range",defaultMonth:d()(null==D?void 0:D.from).subtract(1,"month").toDate(),selected:D,onSelect:A,numberOfMonths:2,disabled:e=>e>new Date}),(0,s.jsx)(y.Z,{}),(0,s.jsxs)("div",{className:"flex items-center justify-end gap-x-3 py-4",children:[(0,s.jsx)(u.z,{variant:"ghost",onClick:()=>S(!1),children:"Cancel"}),(0,s.jsx)(u.z,{onClick:()=>{N(!1),S(!1),I(a.CUSTOM_RANGE),O({from:null==D?void 0:D.from,to:d()(null==D?void 0:D.to).endOf("day").toDate()})},children:"Apply"})]})]})})]})}},6230:function(e,n,t){var r=t(36164),a=t(3546),s=t(24449),o=t(90379);n.Z=e=>{let{loading:n,fallback:t,delay:i,children:d}=e,[l,u]=a.useState(!n),[c]=(0,s.n)(l,null!=i?i:200);return(a.useEffect(()=>{n||l||u(!0)},[n]),c)?d:t||(0,r.jsx)(o.cg,{})}},90379:function(e,n,t){t.d(n,{PF:function(){return d},cg:function(){return o},tB:function(){return i}});var r=t(36164),a=t(57288),s=t(3448);let o=e=>{let{className:n,...t}=e;return(0,r.jsxs)("div",{className:(0,a.cn)("space-y-3",n),...t,children:[(0,r.jsx)(s.O,{className:"h-4 w-full"}),(0,r.jsx)(s.O,{className:"h-4 w-full"}),(0,r.jsx)(s.O,{className:"h-4 w-full"}),(0,r.jsx)(s.O,{className:"h-4 w-full"})]})},i=e=>{let{className:n,...t}=e;return(0,r.jsx)(s.O,{className:(0,a.cn)("h-4 w-full",n),...t})},d=e=>{let{className:n,...t}=e;return(0,r.jsxs)("div",{className:(0,a.cn)("flex flex-col gap-3",n),...t,children:[(0,r.jsx)(s.O,{className:"h-4 w-[20%]"}),(0,r.jsx)(s.O,{className:"h-4 w-full"}),(0,r.jsx)(s.O,{className:"h-4 w-[20%]"}),(0,r.jsx)(s.O,{className:"h-4 w-full"})]})}},31458:function(e,n,t){t.d(n,{d:function(){return d},z:function(){return l}});var r=t(36164),a=t(3546),s=t(74047),o=t(14375),i=t(57288);let d=(0,o.j)("inline-flex items-center justify-center rounded-md text-sm font-medium shadow ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-md hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90","hover-destructive":"shadow-none hover:bg-destructive/90 hover:text-destructive-foreground",outline:"border border-input hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"shadow-none hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 shadow-none hover:underline"},size:{default:"h-8 px-4 py-2",sm:"h-8 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-8 w-8 p-0"}},defaultVariants:{variant:"default",size:"default"}}),l=a.forwardRef((e,n)=>{let{className:t,variant:a,size:o,asChild:l=!1,...u}=e,c=l?s.g7:"button";return(0,r.jsx)(c,{className:(0,i.cn)(d({variant:a,size:o,className:t})),ref:n,...u})});l.displayName="Button"},79972:function(e,n,t){t.d(n,{Ol:function(){return i},Zb:function(){return o},aY:function(){return u},eW:function(){return c},ll:function(){return d}});var r=t(36164),a=t(3546),s=t(57288);let o=a.forwardRef((e,n)=>{let{className:t,...a}=e;return(0,r.jsx)("div",{ref:n,className:(0,s.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",t),...a})});o.displayName="Card";let i=a.forwardRef((e,n)=>{let{className:t,...a}=e;return(0,r.jsx)("div",{ref:n,className:(0,s.cn)("flex flex-col space-y-1.5 p-6",t),...a})});i.displayName="CardHeader";let d=a.forwardRef((e,n)=>{let{className:t,...a}=e;return(0,r.jsx)("h3",{ref:n,className:(0,s.cn)("text-2xl font-semibold leading-none tracking-tight",t),...a})});d.displayName="CardTitle";let l=a.forwardRef((e,n)=>{let{className:t,...a}=e;return(0,r.jsx)("p",{ref:n,className:(0,s.cn)("text-sm text-muted-foreground",t),...a})});l.displayName="CardDescription";let u=a.forwardRef((e,n)=>{let{className:t,...a}=e;return(0,r.jsx)("div",{ref:n,className:(0,s.cn)("p-6 pt-0",t),...a})});u.displayName="CardContent";let c=a.forwardRef((e,n)=>{let{className:t,...a}=e;return(0,r.jsx)("div",{ref:n,className:(0,s.cn)("flex items-center p-6 pt-0",t),...a})});c.displayName="CardFooter"},54594:function(e,n,t){t.d(n,{Bw:function(){return f},DI:function(){return l},Ph:function(){return d},Ql:function(){return h},U$:function(){return g},i4:function(){return c},ki:function(){return u}});var r=t(36164),a=t(3546),s=t(31889),o=t(57288),i=t(81565);let d=s.fC,l=s.ZA,u=s.B4,c=a.forwardRef((e,n)=>{let{className:t,children:a,...d}=e;return(0,r.jsxs)(s.xz,{ref:n,className:(0,o.cn)("flex h-9 w-full items-center justify-between rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),...d,children:[a,(0,r.jsx)(s.JO,{asChild:!0,children:(0,r.jsx)(i.IconChevronUpDown,{className:"opacity-50"})})]})});c.displayName=s.xz.displayName;let f=a.forwardRef((e,n)=>{let{className:t,children:a,position:i="popper",...d}=e;return(0,r.jsx)(s.h_,{children:(0,r.jsx)(s.VY,{ref:n,className:(0,o.cn)("relative z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md animate-in fade-in-80","popper"===i&&"translate-y-1",t),position:i,...d,children:(0,r.jsx)(s.l_,{className:(0,o.cn)("p-1","popper"===i&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:a})})})});f.displayName=s.VY.displayName;let m=a.forwardRef((e,n)=>{let{className:t,...a}=e;return(0,r.jsx)(s.__,{ref:n,className:(0,o.cn)("py-1.5 pl-8 pr-2 text-sm font-semibold",t),...a})});m.displayName=s.__.displayName;let h=a.forwardRef((e,n)=>{let{className:t,children:a,isPlaceHolder:d,...l}=e;return(0,r.jsxs)(s.ck,{ref:n,className:(0,o.cn)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...l,children:[!d&&(0,r.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,r.jsx)(s.wU,{children:(0,r.jsx)(i.IconCheck,{className:"h-4 w-4"})})}),(0,r.jsx)(s.eT,{children:a})]})});h.displayName=s.ck.displayName;let g=a.forwardRef((e,n)=>{let{className:t,...a}=e;return(0,r.jsx)(s.Z0,{ref:n,className:(0,o.cn)("-mx-1 my-1 h-px bg-muted",t),...a})});g.displayName=s.Z0.displayName},11208:function(e,n,t){t.d(n,{Z:function(){return i}});var r=t(36164),a=t(3546),s=t(74225),o=t(57288);let i=a.forwardRef((e,n)=>{let{className:t,orientation:a="horizontal",decorative:i=!0,...d}=e;return(0,r.jsx)(s.f,{ref:n,decorative:i,orientation:a,className:(0,o.cn)("shrink-0 bg-border","horizontal"===a?"h-[1px] w-full":"h-full w-[1px]",t),...d})});i.displayName=s.f.displayName},3448:function(e,n,t){t.d(n,{O:function(){return s}});var r=t(36164),a=t(57288);function s(e){let{className:n,...t}=e;return(0,r.jsx)("div",{className:(0,a.cn)("h-4 animate-pulse rounded-md bg-border",n),...t})}},36758:function(e,n,t){t.d(n,{d:function(){return o}});var r=t(3546),a=t(40055),s=t(70410);function o(){let[{data:e,fetching:n,error:t}]=(0,a.aM)({query:s.TH}),o=(0,r.useMemo)(()=>{var n;return null!==(n=null==e?void 0:e.users.edges.map(e=>e.node))&&void 0!==n?n:[]},[null==e?void 0:e.users]);return[o,n,t]}},9010:function(e,n,t){t.d(n,{X:function(){return a}});var r=t(28242);function a(){let{theme:e,systemTheme:n,setTheme:t}=(0,r.F)();return{theme:e&&"system"!==e?e:n||"light",setTheme:t,systemTheme:n}}},24449:function(e,n,t){t.d(n,{S:function(){return i},n:function(){return d}});var r=t(3546),a=t(45391),s=t(16784);let o=e=>{let n=(0,s.d)(e);r.useEffect(()=>()=>{n.current()},[])};function i(e,n,t){let i=(0,s.d)(e),d=r.useMemo(()=>(0,a.Z)(function(){for(var e=arguments.length,n=Array(e),t=0;t{var e;null==t||null===(e=t.onUnmount)||void 0===e||e.call(t,d),d.cancel()}),{run:d,cancel:d.cancel,flush:d.flush}}function d(e,n,t){let[a,s]=r.useState(e),{run:o}=i(()=>{s(e)},n,t);return r.useEffect(()=>{o()},[e]),[a,s]}},16784:function(e,n,t){t.d(n,{d:function(){return a}});var r=t(3546);function a(e){let n=r.useRef(e);return n.current=e,n}},70410:function(e,n,t){t.d(n,{Cl:function(){return c},D7:function(){return g},DQ:function(){return d},GG:function(){return o},Gx:function(){return p},K5:function(){return N},S1:function(){return s},TH:function(){return l},XL:function(){return b},Y6:function(){return u},g0:function(){return j},gI:function(){return x},hA:function(){return y},kb:function(){return f},lE:function(){return a},md:function(){return $},r4:function(){return v},ts:function(){return m},yB:function(){return i},zz:function(){return h}});var r=t(43240);let a=(0,r.BX)("\n query ListInvitations(\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n invitations(after: $after, before: $before, first: $first, last: $last) {\n edges {\n node {\n id\n email\n code\n createdAt\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),s=(0,r.BX)("\n query gitRepositories(\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n gitRepositories(\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n name\n gitUrl\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),o=(0,r.BX)("\n query ListJobRuns(\n $ids: [ID!]\n $jobs: [String!]\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n jobRuns(\n ids: $ids\n jobs: $jobs\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n job\n createdAt\n startedAt\n finishedAt\n exitCode\n stdout\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),i=(0,r.BX)("\n query GetJobRunStats($jobs: [String!]) {\n jobRunStats(jobs: $jobs) {\n success\n failed\n pending\n }\n }\n"),d=(0,r.BX)("\n query ListJobs {\n jobs\n }\n"),l=(0,r.BX)("\n query ListUsers($after: String, $before: String, $first: Int, $last: Int) {\n users(after: $after, before: $before, first: $first, last: $last) {\n edges {\n node {\n id\n email\n isAdmin\n isOwner\n createdAt\n active\n name\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),u=(0,r.BX)("\n query DailyStatsInPastYear($users: [ID!]) {\n dailyStatsInPastYear(users: $users) {\n start\n end\n completions\n selects\n views\n }\n }\n"),c=(0,r.BX)("\n query DailyStats(\n $start: DateTime!\n $end: DateTime!\n $users: [ID!]\n $languages: [Language!]\n ) {\n dailyStats(start: $start, end: $end, users: $users, languages: $languages) {\n start\n end\n completions\n selects\n views\n language\n }\n }\n"),f=(0,r.BX)("\n query ListIntegrations(\n $ids: [ID!]\n $kind: IntegrationKind\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n integrations(\n ids: $ids\n kind: $kind\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n displayName\n status\n apiBase\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),m=(0,r.BX)("\n query ListIntegratedRepositories(\n $ids: [ID!]\n $kind: IntegrationKind\n $active: Boolean\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n integratedRepositories(\n ids: $ids\n kind: $kind\n active: $active\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n displayName\n gitUrl\n active\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n startedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),h=(0,r.BX)("\n query RepositoryList {\n repositoryList {\n id\n name\n kind\n gitUrl\n refs {\n name\n commit\n }\n }\n }\n"),g=(0,r.BX)("\n query RepositorySearch(\n $kind: RepositoryKind!\n $id: ID!\n $rev: String\n $pattern: String!\n ) {\n repositorySearch(kind: $kind, id: $id, rev: $rev, pattern: $pattern) {\n type\n path\n indices\n }\n }\n"),p=(0,r.BX)("\n query ContextInfo {\n contextInfo {\n sources {\n id\n sourceKind\n sourceId\n sourceName\n }\n }\n }\n"),x=(0,r.BX)("\n query UserGroups {\n userGroups {\n id\n name\n createdAt\n updatedAt\n members {\n user {\n id\n email\n name\n createdAt\n }\n isGroupAdmin\n createdAt\n updatedAt\n }\n }\n }\n"),y=(0,r.BX)("\n query sourceIdAccessPolicies($sourceId: String!) {\n sourceIdAccessPolicies(sourceId: $sourceId) {\n sourceId\n read {\n id\n name\n }\n }\n }\n"),b=(0,r.BX)("\n query ListThreads(\n $ids: [ID!]\n $isEphemeral: Boolean\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n threads(\n ids: $ids\n isEphemeral: $isEphemeral\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n userId\n createdAt\n updatedAt\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),v=(0,r.BX)("\n query ListThreadMessages(\n $threadId: ID!\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n threadMessages(\n threadId: $threadId\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n threadId\n codeSourceId\n role\n content\n attachment {\n code {\n gitUrl\n commit\n filepath\n language\n content\n startLine\n }\n clientCode {\n filepath\n content\n startLine\n }\n doc {\n __typename\n ... on MessageAttachmentWebDoc {\n title\n link\n content\n }\n ... on MessageAttachmentIssueDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n closed\n }\n ... on MessageAttachmentPullDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n merged\n }\n }\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),$=(0,r.BX)("\n mutation SetThreadPersisted($threadId: ID!) {\n setThreadPersisted(threadId: $threadId)\n }\n"),j=(0,r.BX)("\n query Notifications {\n notifications {\n id\n content\n read\n createdAt\n }\n }\n"),N=(0,r.BX)("\n query RepositorySourceList {\n repositoryList {\n id\n name\n kind\n gitUrl\n sourceId\n sourceName\n sourceKind\n }\n }\n")}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/445-4bd82386581332fc.js b/ee/tabby-webserver/ui/_next/static/chunks/445-4bd82386581332fc.js deleted file mode 100644 index beaa245c8a0f..000000000000 --- a/ee/tabby-webserver/ui/_next/static/chunks/445-4bd82386581332fc.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[445],{72657:function(e,n,t){"use strict";t.d(n,{K:function(){return o}});var s=t(36164);t(3546);var a=t(12624),l=t(57288),r=t(31458),i=t(81565);function o(e){let{className:n,container:t,offset:o,...c}=e,d=(0,a.e)(o||0,t);return(0,s.jsxs)(r.z,{variant:"outline",size:"icon",className:(0,l.cn)("absolute right-4 top-1 z-10 bg-background transition-opacity duration-300 sm:right-8 md:top-2",d?"opacity-0":"opacity-100",n),onClick:()=>{t?t.scrollTo({top:t.scrollHeight,behavior:"smooth"}):window.scrollTo({top:document.body.offsetHeight,behavior:"smooth"})},...c,children:[(0,s.jsx)(i.IconArrowDown,{}),(0,s.jsx)("span",{className:"sr-only",children:"Scroll to bottom"})]})}},50445:function(e,n,t){"use strict";t.d(n,{e:function(){return eT},p:function(){return e_}});var s=t(36164),a=t(3546),l=t(1853),r=t(78613),i=t(82157),o=t(72940),c=t(70783),d=t(40055),u=t(21808),m=t(43240),f=t(24449),x=t(16784),p=t(64566),h=t(63484),g=t(17451),v=t(57288),b=t(54767),j=t(94755),y=t(28445),N=t(84837),w=t(2578),C=t(28312),k=t(47241),A=t(11634),I=t(70410),S=t(63795),L=t(31458),E=t(81565),M=t(72657),D=t(45391),R=t(34021),z=t(21454),F=t(3765),_=t(84942),T=t(29),O=t(24685),P=t(74630),Z=t(16234),B=t(23455),U=t(82394);let q=a.createContext({}),H=_.xp,J=a.forwardRef((e,n)=>(0,s.jsx)(_.tW,{...e,ref:n}));J.displayName="SearchableSelectAnchor";let G=a.forwardRef((e,n)=>{let{getInputProps:t}=a.useContext(q),{onKeyDown:l,onChange:r,onInput:i,onBlur:o,onClick:c,...d}=e;return(0,s.jsx)(B.Z,{...t((0,Z.Z)({onKeyDown:l,onChange:r,onInput:i,onBlur:o,onClick:c,ref:n},P.Z)),...d})});G.displayName="SearchableSelectTextarea";let V=a.forwardRef((e,n)=>{let{getInputProps:t}=a.useContext(q),{onKeyDown:l,onChange:r,onInput:i,onBlur:o,onClick:c,...d}=e;return(0,s.jsx)(U.I,{...t((0,Z.Z)({onKeyDown:l,onChange:r,onInput:i,onBlur:o,onClick:c,ref:n},P.Z)),...d})});V.displayName="SearchableSelectInput";let Y=a.forwardRef((e,n)=>{let{children:t,style:l,popupMatchAnchorWidth:r,...i}=e,{getMenuProps:o,anchorRef:c}=a.useContext(q),d=a.useRef(void 0);return a.useLayoutEffect(()=>{if(r){let e=c.current;if(e){let n=e.getBoundingClientRect();d.current=n.width}}},[]),(0,s.jsx)(_.i9,{children:(0,s.jsx)(_.yk,{align:"start",onOpenAutoFocus:e=>e.preventDefault(),style:{width:d.current,...l},...o({ref:n},{suppressRefError:!0}),...i,children:t})})});Y.displayName="SearchableSelectContent";let W=a.forwardRef((e,n)=>{let{item:t,index:l,className:r,children:i,disabled:o,...c}=e,{highlightedIndex:d,selectedItem:u,getItemProps:m}=a.useContext(q),f=d===l,x=u===t;return(0,s.jsx)(H,{asChild:!0,children:(0,s.jsx)("div",{className:(0,v.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none",f&&"bg-accent text-accent-foreground",x&&"font-bold",o&&"pointer-events-none opacity-50",r),...m({item:t,index:l,onMouseLeave:e=>e.preventDefault(),onMouseOut:e=>e.preventDefault()}),...c,children:"function"==typeof i?i({highlighted:f,selected:x}):i})},t.id)});function K(e){let{options:n,onSelect:t,children:l,open:r,onOpenChange:i,stayOpenOnInputClick:o}=e,c=a.useRef(null),d=a.useCallback((e,n)=>{let{type:t,changes:s}=n;switch(t){case O.Kb.stateChangeTypes.MenuMouseLeave:return{...s,highlightedIndex:e.highlightedIndex};case O.Kb.stateChangeTypes.InputClick:let a=!!o||s.isOpen;return{...s,isOpen:a};default:return s}},[o]),u=(0,O.Kb)({items:null!=n?n:[],defaultIsOpen:r,onSelectedItemChange(e){let{selectedItem:n}=e;n&&(null==t||t(n),null==i||i(!1))},onIsOpenChange:e=>{let{isOpen:n}=e;null==i||i(!!n)},stateReducer:d}),{setHighlightedIndex:m,highlightedIndex:f}=u,x=(0,P.Z)(r)?u.isOpen:u.isOpen&&r;a.useEffect(()=>{x&&(null==n?void 0:n.length)&&-1===f&&m(0)},[x,n]);let p=a.useMemo(()=>({...u,open:x,anchorRef:c}),[u,x,c]);return(0,s.jsx)(q.Provider,{value:p,children:(0,s.jsx)(_.J2,{open:x,children:"function"==typeof l?l(p):l})})}W.displayName="SearchableSelectOption";let Q=a.forwardRef(function(e,n){let{onSubmit:t,input:l,setInput:r,isLoading:i,chatInputRef:o,isInitializing:c}=e,{formRef:d,onKeyDown:u}=function(){let e=(0,a.useRef)(null);return{formRef:e,onKeyDown:n=>{if("Enter"===n.key&&!n.shiftKey&&!n.nativeEvent.isComposing){var t;null===(t=e.current)||void 0===t||t.requestSubmit(),n.preventDefault()}}}}(),[m,f]=a.useState(null),[x,p]=a.useState(!1),h=a.useRef(),g=a.useRef(),[b,j]=a.useState([]),[y,N]=a.useState({}),{data:w}=(0,z.ZP)(m,F.Z,{revalidateOnFocus:!1,dedupingInterval:0,errorRetryCount:0});a.useEffect(()=>{var e;let n=null!==(e=null==w?void 0:w.hits)&&void 0!==e?e:[];j(n),p(!!(null==n?void 0:n.length))},[null==w?void 0:w.hits]),a.useImperativeHandle(n,()=>({focus:()=>{var e;return null===(e=o.current)||void 0===e?void 0:e.focus()}})),a.useEffect(()=>{l&&o.current&&o.current!==document.activeElement&&o.current.focus()},[l,o]),a.useLayoutEffect(()=>{var e,n,t;(null===(e=g.current)||void 0===e?void 0:e.length)&&(null===(t=o.current)||void 0===t||null===(n=t.setSelectionRange)||void 0===n||n.call(t,g.current[0],g.current[1]),g.current=void 0)},[o]),a.useMemo(()=>(0,D.Z)(e=>{var n,t,s,a;let l=null!==(s=null===(n=e.target)||void 0===n?void 0:n.value)&&void 0!==s?s:"",r=null!==(a=null===(t=e.target)||void 0===t?void 0:t.selectionEnd)&&void 0!==a?a:0,i=X(l,r),o=null==i?void 0:i[1];if(o){let e=encodeURIComponent("name:".concat(o," AND kind:function")),n="/v1beta/search?q=".concat(e);f(n)}else j([]),p(!1)},200),[]);let C=async e=>{if(e.preventDefault(),!(null==l?void 0:l.trim())||i||c)return;let n=l;Object.keys(y).forEach(e=>{var t,s,a;let l=y[e];(null==l?void 0:l.doc)&&(n=n.replaceAll(e,"\n```".concat(null!==(s=null===(t=l.doc)||void 0===t?void 0:t.language)&&void 0!==s?s:"","\n").concat(null!==(a=l.doc.body)&&void 0!==a?a:"","\n","```","\n")))}),r(""),await t(n)},k=(e,n)=>{"Enter"===e.key&&n?e.preventDefault():n&&["ArrowRight","ArrowLeft","Home","End"].includes(e.key)?(j([]),p(!1)):(n||(e.preventDownshiftDefault=!0),u(e))};return(0,s.jsx)("form",{onSubmit:C,ref:d,children:(0,s.jsx)(K,{options:b,onSelect:e=>{var n,t,s;let a=null!==(n=h.current)&&void 0!==n?n:0,i=X(l,a);if(i){N({...y,["@".concat(null===(t=e.doc)||void 0===t?void 0:t.name)]:e});let n="@".concat(null==e?void 0:null===(s=e.doc)||void 0===s?void 0:s.name," "),o=l.substring(0,a).replace(new RegExp(i[0]),""),c=o.length+n.length;g.current=[c,c],r(o+n+l.slice(a))}j([]),p(!1)},open:x,onOpenChange:e=>{e&&(null==b?void 0:b.length)?p(e):(p(!1),j([]))},children:e=>{var n,t,a,d;let{open:u,highlightedIndex:m}=e,f=null==b?void 0:b[m];return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(J,{children:(0,s.jsxs)("div",{className:"relative flex max-h-60 w-full grow flex-col overflow-hidden bg-background px-8 sm:rounded-md sm:border sm:px-12",children:[(0,s.jsx)("span",{className:(0,v.cn)((0,L.d)({size:"sm",variant:"ghost"}),"absolute left-0 top-4 h-8 w-8 rounded-full bg-background p-0 hover:bg-background sm:left-4"),children:(0,s.jsx)(E.IconEdit,{})}),(0,s.jsx)(G,{tabIndex:0,rows:1,placeholder:"Ask a question.",spellCheck:!1,className:"min-h-[60px] w-full resize-none bg-transparent py-[1.3rem] pr-4 focus-within:outline-none sm:pl-4",value:l,ref:o,onChange:e=>{(0,R.Z)(e,"target.value")?(h.current=e.target.selectionEnd,r(e.target.value)):h.current=void 0},onKeyDown:e=>k(e,u)}),(0,s.jsx)("div",{className:"absolute right-0 top-4 sm:right-4",children:(0,s.jsxs)(T.u,{children:[(0,s.jsx)(T.aJ,{asChild:!0,children:(0,s.jsxs)(L.z,{type:"submit",size:"icon",disabled:c||i||""===l,children:[(0,s.jsx)(E.IconArrowElbow,{}),(0,s.jsx)("span",{className:"sr-only",children:"Send message"})]})}),(0,s.jsx)(T._v,{children:"Send message"})]})})]})}),(0,s.jsx)(Y,{align:"start",side:"top",onOpenAutoFocus:e=>e.preventDefault(),className:"w-[60vw] md:w-[430px]",children:(0,s.jsxs)(_.J2,{open:u&&!!f,children:[(0,s.jsx)(_.tW,{asChild:!0,children:(0,s.jsx)("div",{className:"max-h-[300px] overflow-y-scroll",children:u&&!!(null==b?void 0:b.length)&&b.map((e,n)=>{var t,a,l;return(0,s.jsx)(W,{item:e,index:n,children:(0,s.jsxs)("div",{className:"flex w-full items-center justify-between gap-8 overflow-x-hidden",children:[(0,s.jsxs)("div",{className:"flex items-center gap-1",children:[(0,s.jsx)($,{kind:null==e?void 0:null===(t=e.doc)||void 0===t?void 0:t.kind}),(0,s.jsxs)("div",{className:"max-w-[200px] truncate",children:[null==e?void 0:null===(a=e.doc)||void 0===a?void 0:a.name,"(...)"]})]}),(0,s.jsx)("div",{className:"flex-1 truncate text-right text-sm text-muted-foreground",children:null==e?void 0:null===(l=e.doc)||void 0===l?void 0:l.body})]})},null==e?void 0:e.id)})})}),(0,s.jsx)(_.yk,{asChild:!0,align:"start",side:"right",alignOffset:-4,onOpenAutoFocus:e=>e.preventDefault(),onKeyDownCapture:e=>e.preventDefault(),className:"rounded-none",collisionPadding:{bottom:120},children:(0,s.jsxs)("div",{className:"flex max-h-[70vh] w-[20vw] flex-col overflow-y-auto px-2 md:w-[240px] lg:w-[340px]",children:[(0,s.jsxs)("div",{className:"mb-2",children:[(null==f?void 0:null===(n=f.doc)||void 0===n?void 0:n.kind)?"(".concat(null==f?void 0:null===(t=f.doc)||void 0===t?void 0:t.kind,") "):"",null==f?void 0:null===(a=f.doc)||void 0===a?void 0:a.name]}),(0,s.jsx)("div",{className:"flex-1 whitespace-pre-wrap break-all text-muted-foreground",children:null==f?void 0:null===(d=f.doc)||void 0===d?void 0:d.body})]})})]})})]})}})})});function X(e,n){let t=e.substring(0,n),s=/@(\w+)$/.exec(t);return s}function $(e){let{kind:n,...t}=e;return(0,s.jsx)(E.IconSymbolFunction,{...t})}function ee(e){let{href:n,children:t}=e;return(0,s.jsxs)("a",{href:n,target:"_blank",className:"inline-flex flex-1 justify-center gap-1 leading-4 hover:underline",children:[(0,s.jsx)("span",{children:t}),(0,s.jsx)("svg",{"aria-hidden":"true",height:"7",viewBox:"0 0 6 6",width:"7",className:"opacity-70",children:(0,s.jsx)("path",{d:"M1.25215 5.54731L0.622742 4.9179L3.78169 1.75597H1.3834L1.38936 0.890915H5.27615V4.78069H4.40513L4.41109 2.38538L1.25215 5.54731Z",fill:"currentColor"})})]})}function en(e){let{className:n,...t}=e;return(0,s.jsxs)("p",{className:(0,v.cn)("px-2 text-center text-xs leading-normal text-muted-foreground",n),...t,children:[(0,s.jsx)(ee,{href:"https://tabby.tabbyml.com",children:"Tabby"}),", an opensource, self-hosted AI coding assistant ."]})}var et=t(36065),es=t(3448),ea=t(6230),el=t(18500);function er(e){let{kind:n,gitIcon:t,...a}=e;switch(n){case el.ri.Doc:return(0,s.jsx)(E.IconEmojiBook,{...a});case el.ri.Web:return(0,s.jsx)(E.IconEmojiGlobe,{...a});case el.ri.Github:return(0,s.jsx)(E.IconGitHub,{...a});case el.ri.Gitlab:return(0,s.jsx)(E.IconGitLab,{...a});case el.ri.Git:return t||(0,s.jsx)(E.IconCode,{...a});default:return null}}function ei(e){let{repos:n,value:t,onChange:l,isInitializing:r}=e,[i,o]=(0,a.useState)(!1),c=(0,a.useRef)(null),d=e=>{l(e)},u=()=>{requestAnimationFrame(()=>{c.current&&(c.current.scrollTop=0)})},m=t?null==n?void 0:n.find(e=>e.sourceId===t):void 0,f=null==m?void 0:m.sourceName;return r||(null==n?void 0:n.length)?(0,s.jsx)(ea.Z,{loading:r,fallback:(0,s.jsx)("div",{className:"w-full pl-2",children:(0,s.jsx)(es.O,{className:"h-3 w-[10rem]"})}),children:(0,s.jsxs)(_.J2,{open:i,onOpenChange:o,children:[(0,s.jsxs)(S.C,{variant:"outline",className:(0,v.cn)("h-7 items-center gap-1 overflow-hidden break-all rounded-md px-0 text-sm font-semibold hover:bg-muted/50",{"border-dashed text-muted-foreground italic line-through":!m}),children:[(0,s.jsx)(_.xo,{className:"outline-none",asChild:!0,children:(0,s.jsxs)("div",{className:(0,v.cn)("flex flex-1 cursor-pointer items-center gap-1.5 overflow-hidden pl-2.5",{"min-w-[10rem]":!m}),children:[m?(0,s.jsx)(er,{kind:m.sourceKind,className:"h-3.5 w-3.5 shrink-0"}):(0,s.jsx)(E.IconFolderGit,{className:"shrink-0"}),(0,s.jsx)("div",{className:"flex flex-1 items-center gap-1.5 truncate break-all",children:(0,s.jsx)("span",{className:(0,v.cn)("truncate",{"text-muted-foreground":!f}),children:f||"Workspace"})}),!t&&(0,s.jsx)("div",{className:"flex h-7 w-7 shrink-0 items-center justify-center text-foreground",children:(0,s.jsx)(E.IconChevronUpDown,{})})]})}),!!t&&(0,s.jsx)(L.z,{type:"button",size:"icon",variant:"ghost",className:"h-7 w-7 shrink-0 rounded-l-none bg-background",onClick:e=>{e.stopPropagation(),l(void 0)},children:(0,s.jsx)(E.IconRemove,{})})]}),(0,s.jsx)(_.yk,{side:"top",align:"start",className:"dropdown-menu w-[80vw] overflow-x-hidden rounded-md border bg-popover p-2 text-popover-foreground shadow animate-in",children:(0,s.jsxs)(et.mY,{children:[(0,s.jsx)(et.sZ,{placeholder:"Search context...",onValueChange:()=>{u()}}),(0,s.jsxs)(et.e8,{className:"max-h-[30vh]",ref:c,children:[(0,s.jsx)(et.rb,{children:"No context found"}),(0,s.jsx)(et.fu,{children:null==n?void 0:n.map(e=>{let n=e.sourceId===t;return(0,s.jsxs)(et.di,{onSelect:()=>{d(e.sourceId),o(!1)},title:e.sourceName,children:[(0,s.jsx)(E.IconCheck,{className:(0,v.cn)("mr-1 shrink-0",e.sourceId===t?"opacity-100":"opacity-0")}),(0,s.jsxs)("div",{className:"flex flex-1 items-center gap-1 overflow-x-hidden",children:[(0,s.jsx)(er,{kind:e.sourceKind,className:"shrink-0"}),(0,s.jsx)("div",{className:(0,v.cn)("truncate font-medium",{"font-semibold":n}),children:e.sourceName})]})]},e.sourceId)})})]})]})})]})}):null}let eo=a.forwardRef(function(e,n){var t;let{stop:r,reload:i,input:o,setInput:c,className:d,onSubmit:m,chatMaxWidthClass:f,chatInputRef:x}=e,p=a.useRef(null),{threadId:h,container:D,onClearMessages:R,qaPairs:z,isLoading:F,relevantContext:_,removeRelevantContext:O,activeSelection:P,onCopyContent:Z,selectedRepoId:B,setSelectedRepoId:U,repos:q,initialized:H}=a.useContext(e_),J=(0,g.a)(e=>e.enableActiveSelection),[G,V]=(0,a.useState)(!1),{width:Y}=(0,j.iP)(),W="number"==typeof Y&&Y<376,K=(0,a.useMemo)(()=>{var e;if(!h)return"";let n=null===(e=z[0])||void 0===e?void 0:e.user.message;if(!n)return h;let t=(0,v.i8)([],n,{maxLength:u.$I}),s=(0,b.Z)(t),a=(0,l.Z)([s,h]).join("-");return a},[null===(t=z[0])||void 0===t?void 0:t.user.message,h]),X=(0,A.Db)(I.md,{onError(e){w.A.error(e.message)}}),{isCopied:$,copyToClipboard:ee}=(0,C.m)({timeout:2e3,onCopyContent:Z}),et=async()=>{if(h&&!$&&!G)try{var e,n;V(!0);let t=await X({threadId:h});if(null==t?void 0:null===(e=t.data)||void 0===e?void 0:e.setThreadPersisted){let e=new URL(window.location.origin);e.pathname="/search/".concat(K),ee(e.toString())}else w.A.error((null==t?void 0:null===(n=t.error)||void 0===n?void 0:n.message)||"Failed to share")}catch(e){}finally{V(!1)}};return a.useImperativeHandle(n,()=>({focus:()=>{var e;null===(e=p.current)||void 0===e||e.focus()}}),[]),(0,s.jsxs)("div",{className:d,children:[(0,s.jsx)(M.K,{container:D}),(0,s.jsxs)("div",{className:"mx-auto md:px-4 ".concat(f),children:[(0,s.jsxs)("div",{className:(0,v.cn)("flex h-10 items-center justify-center",W?"gap-3":"gap-2"),children:[F?(0,s.jsxs)(T.u,{children:[(0,s.jsx)(T.aJ,{asChild:!0,children:(0,s.jsxs)(L.z,{variant:"outline",onClick:()=>r(),className:"gap-2 bg-background",children:[(0,s.jsx)(E.IconStop,{}),!W&&"Stop generating"]})}),(0,s.jsx)(T._v,{hidden:!W,children:"Stop generating"})]}):(null==z?void 0:z.length)>0&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(T.u,{children:[(0,s.jsx)(T.aJ,{asChild:!0,children:(0,s.jsxs)(L.z,{variant:"outline",onClick:()=>i(),className:"gap-2 bg-background",children:[(0,s.jsx)(E.IconRefresh,{}),!W&&"Regenerate"]})}),(0,s.jsx)(T._v,{hidden:!W,children:"Regenerate"})]}),(0,s.jsxs)(T.u,{children:[(0,s.jsx)(T.aJ,{asChild:!0,children:(0,s.jsxs)(L.z,{variant:"outline",className:"gap-2 bg-background",onClick:et,children:[$?(0,s.jsx)(E.IconCheck,{}):(0,s.jsx)(E.IconShare,{}),!W&&"Share"]})}),(0,s.jsx)(T._v,{hidden:!W,children:"Share"})]})]}),(null==z?void 0:z.length)>0&&(0,s.jsxs)(T.u,{children:[(0,s.jsx)(T.aJ,{asChild:!0,children:(0,s.jsxs)(L.z,{variant:"outline",onClick:R,className:"gap-2 bg-background",children:[(0,s.jsx)(E.IconTrash,{}),!W&&"Clear"]})}),(0,s.jsx)(T._v,{hidden:!W,children:"Clear"})]})]}),(0,s.jsxs)("div",{className:"border-t bg-background px-4 py-2 shadow-lg sm:space-y-4 sm:rounded-t-xl sm:border md:py-4",children:[(0,s.jsx)("div",{className:"flex flex-wrap gap-2",children:(0,s.jsxs)(y.M,{presenceAffectsLayout:!0,children:[(0,s.jsx)(ei,{value:B,onChange:e=>{U(e),setTimeout(()=>{var e;null===(e=x.current)||void 0===e||e.focus()})},repos:q,isInitializing:!H}),P?(0,s.jsx)(N.E.div,{initial:{opacity:0,scale:.9,y:-5},animate:{opacity:1,scale:1,y:0},transition:{ease:"easeInOut",duration:.1},exit:{opacity:0,scale:.9,y:5},children:(0,s.jsxs)(S.C,{variant:"outline",className:(0,v.cn)("inline-flex h-7 flex-nowrap items-center gap-1.5 overflow-hidden rounded-md pr-0 text-sm font-semibold",{"border-dashed !text-muted-foreground italic line-through":!J}),children:[(0,s.jsx)(E.IconFileText,{}),(0,s.jsx)(ec,{context:P,className:"flex-1 truncate"}),(0,s.jsx)("span",{className:"shrink-0 text-muted-foreground",children:"Current file"}),(0,s.jsx)(L.z,{size:"icon",variant:"ghost",className:"h-7 w-7 shrink-0 rounded-l-none",onClick:e=>{(0,k.qs)(!J)},children:J?(0,s.jsx)(E.IconEye,{}):(0,s.jsx)(E.IconEyeOff,{})})]})},"active-selection"):null,_.map((e,n)=>(0,s.jsx)(N.E.div,{initial:{opacity:0,scale:.9,y:-5},animate:{opacity:1,scale:1,y:0},transition:{ease:"easeInOut",duration:.1},exit:{opacity:0,scale:.9,y:5},layout:!0,children:(0,s.jsxs)(S.C,{variant:"outline",className:"inline-flex h-7 flex-nowrap items-center gap-1 overflow-hidden rounded-md pr-0 text-sm font-semibold",children:[(0,s.jsx)(ec,{context:e}),(0,s.jsx)(L.z,{size:"icon",variant:"ghost",className:"h-7 w-7 shrink-0 rounded-l-none",onClick:O.bind(null,n),children:(0,s.jsx)(E.IconRemove,{})})]})},e.filepath+e.range.start+e.range.end))]})}),(0,s.jsx)(Q,{ref:p,onSubmit:m,input:o,setInput:c,isLoading:F,chatInputRef:x,isInitializing:!H}),(0,s.jsx)(en,{className:"hidden sm:block"})]})]})]})});function ec(e){let{context:n,className:t}=e,[a]=n.filepath.split("/").slice(-1),l=n.range.start===n.range.end?":".concat(n.range.start):":".concat(n.range.start,"-").concat(n.range.end);return(0,s.jsxs)("span",{className:(0,v.cn)("truncate",t),children:[a,(0,s.jsx)("span",{className:"text-muted-foreground",children:l})]})}var ed=t(76297),eu=t(12624);function em(e){let{trackVisibility:n}=e,{container:t}=a.useContext(e_),l=(0,eu.e)(100,t),{ref:r,entry:i,inView:o}=(0,ed.YD)({trackVisibility:n,delay:100,rootMargin:"0px 0px -150px 0px",root:t});return a.useEffect(()=>{l&&n&&!o&&(null==i||i.target.scrollIntoView({block:"start"}))},[o,i,l,n]),(0,s.jsx)("div",{ref:r,className:"h-px w-full"})}let ef=[{heading:"Convert list of string to numbers",message:"How to convert a list of string to numbers in python"},{heading:"How to parse email address",message:"How to parse email address with regex"}];function ex(e){let{setInput:n,chatMaxWidthClass:t,welcomeMessage:a}=e;return(0,s.jsx)("div",{className:"mx-auto px-4 ".concat(t),children:(0,s.jsxs)("div",{className:"rounded-lg border bg-background p-8",children:[(0,s.jsx)("h1",{className:"mb-2 text-lg font-semibold",children:a||"Welcome"}),(0,s.jsx)("p",{className:"leading-normal text-muted-foreground",children:"You can start a conversation here or try the following examples:"}),(0,s.jsx)("div",{className:"mt-4 flex flex-col items-start space-y-2",children:ef.map((e,t)=>(0,s.jsxs)(L.z,{variant:"link",className:"h-auto p-0 text-base",onClick:()=>n(e.message),children:[(0,s.jsx)(E.IconArrowRight,{className:"mr-2 text-muted-foreground"}),(0,s.jsx)("p",{className:"text-left",children:e.heading})]},t))})]})})}var ep=t(42891),eh=t.n(ep),eg=t(23342),ev=t(94909),eb=t(74038),ej=t(98454),ey=t(48537),eN=t(54646),ew=t(11208),eC=t(52569),ek=t(90168);function eA(e){let{messages:n,chatMaxWidthClass:t}=e,{isLoading:l}=a.useContext(e_);return(0,s.jsx)("div",{className:"relative mx-auto px-4 ".concat(t),children:null==n?void 0:n.map((e,t)=>{let r=t===n.length-1;return(0,s.jsxs)(a.Fragment,{children:[(0,s.jsx)(eI,{isLoading:!!r&&l,message:e,isLastItem:r}),!r&&(0,s.jsx)(ew.Z,{className:"my-4 md:my-8"})]},e.user.id)})})}function eI(e){let{message:n,isLoading:t,isLastItem:a}=e,{user:l,assistant:r}=n;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(eS,{message:l}),!!r&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(ew.Z,{className:"my-4 md:my-8"}),(0,s.jsx)(eE,{message:r,userMessage:l,isLoading:t,userMessageId:l.id,enableRegenerating:a})]})]})}function eS(e){var n,t,l,r;let{message:i}=e,[{data:o}]=(0,ej.P)(),c=i.selectContext,{onNavigateToContext:d,supportsOnApplyInEditorV2:u}=a.useContext(e_),m=a.useMemo(()=>{var e,n;if(!(null==c?void 0:c.content))return"";let t=(null==c?void 0:c.filepath)&&null!==(e=(0,h.U$)(null==c?void 0:c.filepath)[0])&&void 0!==e?e:"";return"\n```".concat(t,"\n").concat(null!==(n=null==c?void 0:c.content)&&void 0!==n?n:"","\n","```","\n")},[c]),f=null;if(m&&i.selectContext){let{range:e,filepath:n}=i.selectContext;f={filepath:n,isMultiLine:!(0,P.Z)(null==e?void 0:e.start)&&!(0,P.Z)(null==e?void 0:e.end)&&e.startnull==d?void 0:d(i.selectContext,{openInEditor:!0}),children:[(0,s.jsx)(E.IconFile,{className:"h-3 w-3"}),(0,s.jsxs)("p",{className:"flex-1 truncate pr-1",children:[(0,s.jsx)("span",{children:f.filepath}),(null===(t=i.selectContext)||void 0===t?void 0:null===(n=t.range)||void 0===n?void 0:n.start)&&(0,s.jsxs)("span",{children:[":",null===(l=i.selectContext)||void 0===l?void 0:l.range.start]}),f.isMultiLine&&(0,s.jsxs)("span",{children:["-",null===(r=i.selectContext)||void 0===r?void 0:r.range.end]})]})]})]}),!(null==o?void 0:o.me.name)&&(0,s.jsx)("div",{className:"editor-bg absolute right-0 top-0 -mt-0.5 block opacity-0 transition-opacity group-hover:opacity-100 md:hidden",children:(0,s.jsx)(eL,{...e})})]})]})}function eL(e){let{message:n}=e,{handleMessageAction:t,isLoading:l}=a.useContext(e_);return(0,s.jsxs)(ez,{children:[!l&&(0,s.jsxs)(L.z,{variant:"ghost",size:"icon",onClick:e=>t(n.id,"edit"),children:[(0,s.jsx)(E.IconEdit,{}),(0,s.jsx)("span",{className:"sr-only",children:"Edit message"})]}),!l&&(0,s.jsxs)(L.z,{variant:"ghost",size:"icon",onClick:e=>t(n.id,"delete"),children:[(0,s.jsx)(E.IconTrash,{}),(0,s.jsx)("span",{className:"sr-only",children:"Delete message"})]})]})}function eE(e){let{message:n,userMessage:t,isLoading:r,userMessageId:o,enableRegenerating:d,...u}=e,{onNavigateToContext:m,onApplyInEditor:f,onCopyContent:x,onLookupSymbol:p,openInEditor:g,supportsOnApplyInEditorV2:b}=a.useContext(e_),[j,y]=a.useState(void 0),N=a.useMemo(()=>{var e,t;return null!==(t=null==n?void 0:null===(e=n.relevant_code)||void 0===e?void 0:e.map(e=>{let{startLine:n,endLine:t}=(0,v.OV)(e);return{kind:"file",range:{start:n,end:t},filepath:e.filepath,content:e.content,git_url:e.gitUrl}}))&&void 0!==t?t:[]},[null==n?void 0:n.relevant_code]),w=a.useMemo(()=>{var e;return(0,c.Z)((0,l.Z)([t.activeContext,...null!==(e=null==t?void 0:t.relevantContext)&&void 0!==e?e:[]]),i.Z)},[t.activeContext,t.relevantContext]),C=(0,a.useMemo)(()=>{var e,n;let t=null!==(n=null==w?void 0:w.map(n=>({content:n.content,filepath:n.filepath,gitUrl:n.git_url,startLine:n.range.start,language:(0,h.U$)(null!==(e=n.filepath)&&void 0!==e?e:"")[0],isClient:!0})))&&void 0!==n?n:[];return t},[w]),k=(0,a.useMemo)(()=>{var e,n;let t=null!==(n=null==N?void 0:N.map(n=>({content:n.content,filepath:n.filepath,gitUrl:n.git_url,startLine:n.range.start,language:(0,h.U$)(null!==(e=n.filepath)&&void 0!==e?e:"")[0],isClient:!1})))&&void 0!==n?n:[];return(0,l.Z)([...t])},[N]);return(0,s.jsxs)("div",{className:(0,v.cn)("group relative mb-4 flex flex-col items-start gap-y-2 md:-ml-4 md:flex-row"),...u,children:[(0,s.jsxs)("div",{className:"flex min-h-[2rem] w-full items-center justify-between md:w-auto",children:[(0,s.jsxs)("div",{className:"flex items-center gap-x-2",children:[(0,s.jsx)("div",{className:"shrink-0 select-none rounded-full border bg-background shadow",children:(0,s.jsx)(eR,{className:"h-6 w-6 md:h-8 md:w-8"})}),(0,s.jsx)("p",{className:"block text-xs font-bold md:hidden",children:"Tabby"})]}),(0,s.jsx)("div",{className:"block opacity-0 transition-opacity group-hover:opacity-100 md:hidden",children:(0,s.jsx)(eM,{message:n,userMessageId:o,enableRegenerating:d,attachmentCode:k})})]}),(0,s.jsxs)("div",{className:"w-full flex-1 space-y-2 overflow-hidden px-1 md:ml-4",children:[(0,s.jsx)(ek.q,{contexts:N,clientContexts:w,onContextClick:(e,n)=>{null==m||m(e,{openInEditor:n})},showExternalLink:!!f,isInEditor:!!f,showClientCodeIcon:!f,highlightIndex:j,triggerClassname:"md:pt-0"}),!r||(null==n?void 0:n.message)?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(eN.J,{message:n.message,onApplyInEditor:f,onCopyContent:x,attachmentClientCode:C,attachmentCode:k,onCodeCitationClick:e=>{let{startLine:n,endLine:t}=(0,v.OV)(e),s={git_url:e.gitUrl,content:e.content,filepath:e.filepath,kind:"file",range:{start:n,end:t}};null==m||m(s,{openInEditor:e.isClient})},onCodeCitationMouseEnter:e=>{y(e-1-0)},onCodeCitationMouseLeave:e=>{y(void 0)},canWrapLongLines:!r,onLookupSymbol:p,openInEditor:g,supportsOnApplyInEditorV2:b,activeSelection:t.activeContext}),!!n.error&&(0,s.jsx)(eN.m,{error:n.error})]}):(0,s.jsx)(eD,{}),(0,s.jsx)("div",{className:"hidden md:block",children:(0,s.jsx)(eM,{message:n,userMessageId:o,enableRegenerating:d,attachmentCode:k})})]})]})}function eM(e){let{handleMessageAction:n,isLoading:t,onCopyContent:r}=a.useContext(e_),{message:i,userMessageId:o,enableRegenerating:c,attachmentCode:d}=e,u=(0,a.useMemo)(()=>(function(e,n){var t;if(!n||(0,ev.Z)(n))return e;let s=e.replace(eb.H,e=>{let n=null==e?void 0:e.match(/\d+/);return"[".concat(n,"]")}).trim(),a=null!==(t=n.map((e,n)=>{let t=(0,v.tf)(e),s=(0,l.Z)([e.filepath,t]).join(":");return"[".concat(n+1,"] ").concat(s)}).join("\n"))&&void 0!==t?t:"";return"".concat(s,"\n\nCitations:\n").concat(a)})(i.message,d),[i.message,d]);return(0,s.jsxs)(ez,{children:[!t&&c&&(0,s.jsxs)(L.z,{variant:"ghost",size:"icon",onClick:e=>n(o,"regenerate"),children:[(0,s.jsx)(E.IconRefresh,{}),(0,s.jsx)("span",{className:"sr-only",children:"Regenerate message"})]}),(0,s.jsx)(ey.q,{value:u,onCopyContent:r})]})}function eD(){return(0,s.jsxs)("div",{className:"space-y-2 py-2 md:px-1 md:py-0",children:[(0,s.jsx)(es.O,{className:"h-3 w-full"}),(0,s.jsx)(es.O,{className:"h-3 w-full"})]})}function eR(e){let{className:n}=e;return(0,s.jsx)(eh(),{style:{backgroundColor:"#E8E2D2"},className:(0,v.cn)("rounded-full p-0.5",n),src:eg.Z,alt:"tabby"})}function ez(e){let{className:n,...t}=e;return(0,s.jsx)("div",{className:(0,v.cn)("flex items-center justify-end transition-opacity group-hover:opacity-100 md:absolute md:-right-[4rem] md:-top-2 md:opacity-0",n),...t})}let eF=(0,m.BX)("\n query RepositorySourceList {\n repositoryList {\n id\n name\n kind\n gitUrl\n sourceId\n sourceName\n sourceKind\n }\n }\n"),e_=a.createContext({}),eT=a.forwardRef(function(e,n){let{className:t,chatId:m,initialMessages:b,onLoaded:j,onThreadUpdates:y,onNavigateToContext:N,container:w,docQuery:C,generateRelevantQuestions:k,maxWidth:A,welcomeMessage:I,promptFormClassname:S,onCopyContent:L,onSubmitMessage:E,onApplyInEditor:M,onLookupSymbol:D,openInEditor:R,chatInputRef:z,supportsOnApplyInEditorV2:F,readWorkspaceGitRepositories:_}=e,[T,O]=a.useState(!1),[P,Z]=a.useState(),B=a.useRef(!1),[U,q]=a.useState(null!=b?b:[]),[H,J]=a.useState(""),[G,V]=a.useState([]),[Y,W]=a.useState(null),[K,Q]=a.useState(),X=(0,g.a)(e=>e.enableActiveSelection),$=a.useRef(null),[{data:ee,fetching:en}]=(0,d.aM)({query:eF}),et=null==ee?void 0:ee.repositoryList,{sendUserMessage:es,isLoading:ea,error:el,answer:er,stop:ei,regenerate:ec,deleteThreadMessagePair:ed}=(0,p.x)({threadId:P}),eu=async e=>{var n;if(!P)return;ei();let t=U.find(n=>n.user.id===e);if(!(null==t?void 0:t.user)||!t.assistant)return;let s=U.filter(n=>n.user.id!==e);q(s),ed(P,null==t?void 0:t.user.id,null==t?void 0:null===(n=t.assistant)||void 0===n?void 0:n.id)},ef=async e=>{if(!P)return;let n=(0,r.Z)(U,n=>n.user.id===e);if(n>-1){let e=U[n];if(!e.assistant)return;let t=(0,v.x0)(),s=(0,v.x0)();q([...U.slice(0,n),{user:{...e.user,id:t},assistant:{id:s,message:"",error:void 0}}]);let[a,l]=eb(e.user);return ec({threadId:P,userMessageId:e.user.id,assistantMessageId:e.assistant.id,userMessage:a,threadRunOptions:l})}},ep=async e=>{var n,t;if(!P)return;let s=U.find(n=>n.user.id===e);if(!(null==s?void 0:s.user)||!s.assistant)return;let a=s.user,l=[];(null===(n=a.relevantContext)||void 0===n?void 0:n.length)&&(l=l.concat(a.relevantContext)),V((0,c.Z)(l,i.Z));let r=U.filter(n=>n.user.id!==e);q(r),J(a.message),a.activeContext&&N(a.activeContext,{openInEditor:!0}),ed(P,null==s?void 0:s.user.id,null==s?void 0:null===(t=s.assistant)||void 0===t?void 0:t.id)},eh=async()=>{if(!(null==U?void 0:U.length))return;let e=U[U.length-1].user.id;return ef(e)},eg=()=>{ei(!0),q([]),Z(void 0)};a.useEffect(()=>{if(!(null==U?void 0:U.length)||!er)return;let e=U[U.length-1];er.threadId&&!P&&Z(er.threadId),q(n=>{var t,s;let a=n[n.length-1].assistant,l={...a,id:er.assistantMessageId||(null==a?void 0:a.id)||(0,v.x0)(),message:er.content,error:void 0,relevant_code:null!==(s=null===(t=er.attachmentsCode)||void 0===t?void 0:t.map(e=>e.code))&&void 0!==s?s:[]};return[...n.slice(0,n.length-1),{user:{...e.user,id:(null==er?void 0:er.userMessageId)||e.user.id},assistant:l}]})},[er,ea]);let ev=(0,f.S)(()=>{w?w.scrollTo({top:w.scrollHeight,behavior:"smooth"}):window.scrollTo({top:document.body.offsetHeight,behavior:"smooth"})},100);a.useLayoutEffect(()=>{ea&&ev.run()},[ea]),a.useEffect(()=>{el&&(null==U?void 0:U.length)&&q(e=>{var n,t,s;let a=e[e.length-1];return[...e.slice(0,e.length-1),{...a,assistant:{...a.assistant,id:(null===(n=a.assistant)||void 0===n?void 0:n.id)||(0,v.x0)(),message:null!==(s=null===(t=a.assistant)||void 0===t?void 0:t.message)&&void 0!==s?s:"",error:el?"401"===el.message?"Unauthorized":(0,o.Z)(el.graphQLErrors,e=>{var n;return(null===(n=e.extensions)||void 0===n?void 0:n.code)===u.ir})?"The thread has expired, please click 'Clear' and try again.":el.message||"Failed to fetch":"Failed to fetch"}}]}),(null==el?void 0:el.message)!=="Thread not found"||(null==U?void 0:U.length)||eg()},[el]);let eb=e=>{let n=e.message,t=X&&!!e.activeContext,s=(0,c.Z)((0,l.Z)([e.selectContext,t&&e.activeContext,...(null==e?void 0:e.relevantContext)||[]]),i.Z),a=s.map(e=>({content:e.content,filepath:e.filepath,startLine:e.range.start}));return[{content:n,attachments:{code:a}},{docQuery:C?{content:n,searchPublic:!1}:null,generateRelevantQuestions:!!k,codeQuery:K?{content:n,sourceId:K}:null}]},ej=(0,x.d)(async e=>{var n,t,s,a,l;if(ea)return;let r="",i=null==e?void 0:null===(n=e.selectContext)||void 0===n?void 0:n.content;if(i){let n=(null==e?void 0:null===(t=e.selectContext)||void 0===t?void 0:t.filepath)&&null!==(a=(0,h.U$)(null==e?void 0:null===(s=e.selectContext)||void 0===s?void 0:s.filepath)[0])&&void 0!==a?a:"";r="\n```".concat(n,"\n").concat(null!=i?i:"","\n","```","\n")}let o=Y||e.activeContext,c={...e,message:e.message+r,id:null!==(l=e.id)&&void 0!==l?l:(0,v.x0)(),selectContext:e.selectContext,activeContext:X&&o?o:void 0},d=[...U,{user:c,assistant:{id:(0,v.x0)(),message:"",error:void 0}}];q(d),es(...eb(c))}),ey=e=>{var n;return null===(n=ej.current)||void 0===n?void 0:n.call(ej,e)},eN=async e=>{E?E(e,G):ey({message:e,relevantContext:G}),V([])},ew=(0,x.d)(e=>{V(n=>n.some(n=>(0,i.Z)(n,e))?n:n.concat([e]))}),eC=e=>{var n;null===(n=ew.current)||void 0===n||n.call(ew,e)};a.useEffect(()=>{B.current&&(null==y||y(U))},[U]);let ek=(0,f.S)(e=>{W(e)},300),eI=e=>{ek.run(e)},eS=()=>_?_():[];a.useEffect(()=>{let e=async()=>{let e=await eS();if((null==e?void 0:e.length)&&(null==et?void 0:et.length)){let n=e[0].url,t=(0,v.Ch)(et.map(e=>({url:e.gitUrl,sourceId:e.sourceId})),n);t&&Q(t.sourceId)}O(!0)};en||T||e()},[en]),a.useEffect(()=>{T&&(null==j||j())},[T]),a.useImperativeHandle(n,()=>({sendUserChat:ey,stop:ei,isLoading:ea,addRelevantContext:eC,focus:()=>{var e;return null===(e=$.current)||void 0===e?void 0:e.focus()},updateActiveSelection:eI}),[]);let eL=A?"max-w-".concat(A):"max-w-2xl";return(0,s.jsx)(e_.Provider,{value:{threadId:P,isLoading:ea,qaPairs:U,onNavigateToContext:N,handleMessageAction:(e,n)=>{switch(n){case"delete":eu(e);break;case"regenerate":ef(e);break;case"edit":ep(e)}},onClearMessages:eg,container:w,onCopyContent:L,onApplyInEditor:M,onLookupSymbol:D,openInEditor:R,relevantContext:G,removeRelevantContext:e=>{let n=[...G];n.splice(e,1),V(n)},chatInputRef:z,activeSelection:Y,supportsOnApplyInEditorV2:F,selectedRepoId:K,setSelectedRepoId:Q,repos:et,fetchingRepos:en,initialized:T},children:(0,s.jsx)("div",{className:"flex justify-center overflow-x-hidden",children:(0,s.jsxs)("div",{className:"w-full px-4 md:pl-10 md:pr-[3.75rem] ".concat(eL),children:[(0,s.jsxs)("div",{className:(0,v.cn)("pb-[200px] pt-4 md:pt-10",t),children:[(null==U?void 0:U.length)?(0,s.jsx)(eA,{messages:U,chatMaxWidthClass:eL}):(0,s.jsx)(ex,{setInput:J,chatMaxWidthClass:eL,welcomeMessage:I}),(0,s.jsx)(em,{trackVisibility:ea})]}),(0,s.jsx)(eo,{onSubmit:eN,className:(0,v.cn)("fixed inset-x-0 bottom-0",S),id:m,stop:()=>{ei()},reload:eh,input:H,setInput:J,chatMaxWidthClass:eL,ref:$,chatInputRef:z})]})})})})},90168:function(e,n,t){"use strict";t.d(n,{q:function(){return p}});var s=t(36164),a=t(3546),l=t(74630),r=t(57288),i=t(29),o=t(43739),c=t(14079);let d=o.fC,u=a.forwardRef((e,n)=>{let{className:t,...a}=e;return(0,s.jsx)(o.ck,{ref:n,className:(0,r.cn)("border-b",t),...a})});u.displayName="AccordionItem";let m=a.forwardRef((e,n)=>{let{className:t,children:a,...l}=e;return(0,s.jsxs)(o.xz,{ref:n,className:(0,r.cn)("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",t),...l,children:[a,(0,s.jsx)(c.Z,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})});m.displayName=o.xz.displayName;let f=a.forwardRef((e,n)=>{let{className:t,children:a,...l}=e;return(0,s.jsx)(o.VY,{ref:n,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...l,children:(0,s.jsx)("div",{className:(0,r.cn)("pb-4 pt-0",t),children:a})})});f.displayName=o.VY.displayName;var x=t(81565);let p=(0,a.forwardRef)((e,n)=>{var t,l;let{contexts:i,clientContexts:o,className:c,triggerClassname:x,onContextClick:p,enableTooltip:g,onTooltipClick:v,highlightIndex:b,showExternalLink:j,showClientCodeIcon:y,isInEditor:N}=e,w=((null==o?void 0:o.length)||0)+i.length,C=null!==(t=null==i?void 0:i.length)&&void 0!==t?t:0,k=null!==(l=null==o?void 0:o.length)&&void 0!==l?l:0,A=C+k,[I,S]=(0,a.useState)(A<=5?"references":void 0);return((0,a.useEffect)(()=>{A<=5?S("references"):S(void 0)},[A]),0===w)?null:(0,s.jsx)(d,{type:"single",collapsible:!0,className:(0,r.cn)("bg-transparent text-foreground",c),ref:n,value:I,onValueChange:S,children:(0,s.jsxs)(u,{value:"references",className:"my-0 border-0",children:[(0,s.jsx)(m,{className:(0,r.cn)("my-0 py-2 font-semibold",x),children:(0,s.jsx)("span",{className:"mr-2",children:"Read ".concat(w," file").concat(w>1?"s":"")})}),(0,s.jsxs)(f,{className:"space-y-2",children:[null==o?void 0:o.map((e,n)=>(0,s.jsx)(h,{context:e,onContextClick:e=>null==p?void 0:p(e,!0),isHighlighted:b===n,clickable:N||!!e.git_url,showClientCodeIcon:y},"user-".concat(n))),i.map((e,n)=>(0,s.jsx)(h,{context:e,onContextClick:e=>null==p?void 0:p(e,!1),enableTooltip:g,onTooltipClick:v,showExternalLinkIcon:j,isHighlighted:b===n+((null==o?void 0:o.length)||0)},"assistant-".concat(n)))]})]})})});function h(e){var n,t,o,c,d,u,m;let{context:f,clickable:p=!0,onContextClick:h,enableTooltip:g,onTooltipClick:v,showExternalLinkIcon:b,showClientCodeIcon:j,isHighlighted:y}=e,[N,w]=(0,a.useState)(!1),C=!(0,l.Z)(null===(n=f.range)||void 0===n?void 0:n.start)&&!(0,l.Z)(null===(t=f.range)||void 0===t?void 0:t.end)&&f.range.start{g&&S&&w(e)},delayDuration:0,children:[(0,s.jsx)(i.aJ,{asChild:!0,children:(0,s.jsx)("div",{className:(0,r.cn)("rounded-md border p-2",{"cursor-pointer hover:bg-accent":p,"cursor-default pointer-events-auto":!p,"bg-accent transition-all":y}),onClick:e=>p&&(null==h?void 0:h(f)),children:(0,s.jsxs)("div",{className:"flex items-center gap-1 overflow-hidden",children:[(0,s.jsx)(x.IconFile,{className:"shrink-0"}),(0,s.jsxs)("div",{className:"flex-1 truncate",title:f.filepath,children:[(0,s.jsx)("span",{children:A}),(null===(c=f.range)||void 0===c?void 0:c.start)&&(0,s.jsxs)("span",{className:"text-muted-foreground",children:[":",f.range.start]}),C&&(0,s.jsxs)("span",{className:"text-muted-foreground",children:["-",f.range.end]}),(0,s.jsx)("span",{className:"ml-2 text-xs text-muted-foreground",children:I})]}),j&&(0,s.jsx)(x.IconFileSearch2,{className:"shrink-0 text-muted-foreground"}),b&&(0,s.jsx)(x.IconExternalLink,{className:"shrink-0 text-muted-foreground"})]})})}),(0,s.jsx)(i._v,{align:"start",onClick:v,className:"cursor-pointer p-2",children:(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"mb-2 font-semibold",children:"Scores"}),(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsxs)("div",{className:"flex",children:[(0,s.jsx)("span",{className:"w-20",children:"rrf:"}),null!==(d=null==S?void 0:S.rrf)&&void 0!==d?d:"-"]}),(0,s.jsxs)("div",{className:"flex",children:[(0,s.jsx)("span",{className:"w-20",children:"bm25:"}),null!==(u=null==S?void 0:S.bm25)&&void 0!==u?u:"-"]}),(0,s.jsxs)("div",{className:"flex",children:[(0,s.jsx)("span",{className:"w-20",children:"embedding:"}),null!==(m=null==S?void 0:S.embedding)&&void 0!==m?m:"-"]})]})]})})]})}p.displayName="CodeReferences"},73033:function(e,n,t){"use strict";t.d(n,{s:function(){return r}});var s=t(36164),a=t(3546),l=t(52991);let r=(0,a.memo)(e=>(0,s.jsx)(l.D,{linkTarget:"_blank",...e}),(e,n)=>e.children===n.children&&e.className===n.className)},83171:function(e,n,t){"use strict";t.d(n,{p:function(){return o},t:function(){return c}});var s=t(36164);t(3546);var a=t(68035),l=t(18500),r=t(57288),i=t(81565);function o(e){let{kind:n,label:t,className:l}=e;return(0,s.jsxs)(a.T5,{as:"span",className:(0,r.cn)("source-mention rounded-sm px-1",l),children:[(0,s.jsx)(d,{kind:n,className:"self-center"}),(0,s.jsx)("span",{className:"whitespace-nowrap",children:t})]})}function c(e){let{kind:n,label:t,id:a}=e.node.attrs;return(0,s.jsx)(o,{kind:n,label:t,id:a})}function d(e){let{kind:n,...t}=e;switch(n){case l.ri.Doc:return(0,s.jsx)(i.IconEmojiBook,{...t});case l.ri.Web:return(0,s.jsx)(i.IconEmojiGlobe,{...t});case l.ri.Git:return(0,s.jsx)(i.IconCode,{...t});case l.ri.Github:return(0,s.jsx)(i.IconGitHub,{...t});case l.ri.Gitlab:return(0,s.jsx)(i.IconGitLab,{...t});default:return null}}},64219:function(e,n,t){"use strict";t.d(n,{Z:function(){return x}});var s=t(36164),a=t(62226),l=t.n(a),r=t(6797),i=t.n(r),o=t(66686),c=t(57288),d=t(89811),u=t(63795),m=t(81565),f=t(52569);function x(e){let{relevantDocument:n}=e,t=n?new URL(n.link):null,a=(null==n?void 0:n.__typename)==="MessageAttachmentIssueDoc",l=(null==n?void 0:n.__typename)==="MessageAttachmentPullDoc",r="MessageAttachmentWebDoc"===n.__typename?void 0:n.author;return(0,s.jsx)("div",{className:"prose max-w-none break-words dark:prose-invert prose-p:leading-relaxed prose-pre:mt-1 prose-pre:p-0",children:(0,s.jsxs)("div",{className:"flex w-full flex-col gap-y-1 text-sm",children:[(0,s.jsxs)("div",{className:"m-0 flex items-center space-x-1 text-xs leading-none text-muted-foreground",children:[(0,s.jsx)(d.V,{hostname:t.hostname,className:"m-0 mr-1 leading-none"}),(0,s.jsx)("p",{className:"m-0 leading-none",children:t.hostname})]}),(0,s.jsx)("p",{className:"m-0 cursor-pointer font-bold leading-none transition-opacity hover:opacity-70",onClick:()=>window.open(n.link),children:n.title}),(0,s.jsxs)("div",{className:"mb-2 w-auto",children:[a&&(0,s.jsx)(h,{closed:n.closed,user:r}),l&&(0,s.jsx)(p,{merged:n.merged,user:r})]}),(0,s.jsx)("p",{className:"m-0 line-clamp-4 leading-none",children:b((0,c.L5)(n))})]})})}function p(e){let{merged:n,user:t}=e;return(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)(v,{merged:n}),(0,s.jsx)("div",{className:"flex flex-1 items-center gap-1.5",children:!!t&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(f.Yt,{user:t,className:"not-prose h-5 w-5 shrink-0"}),(0,s.jsx)("span",{className:"font-semibold text-muted-foreground",children:t.name||t.email})]})})]})}function h(e){let{closed:n,user:t}=e;return(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)(g,{closed:n}),(0,s.jsx)("div",{className:"flex flex-1 items-center gap-1.5",children:!!t&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(f.Yt,{user:t,className:"not-prose h-5 w-5 shrink-0"}),(0,s.jsx)("span",{className:"font-semibold text-muted-foreground",children:t.name||t.email})]})})]})}function g(e){let{closed:n}=e;return(0,s.jsxs)(u.C,{variant:n?"default":"secondary",className:"shrink-0 gap-1 py-1 text-xs",children:[n?(0,s.jsx)(m.IconCheckCircled,{className:"h-3.5 w-3.5"}):(0,s.jsx)(m.IconCircleDot,{className:"h-3.5 w-3.5"}),n?"Closed":"Open"]})}function v(e){let{merged:n}=e;return(0,s.jsxs)(u.C,{variant:n?"default":"secondary",className:"shrink-0 gap-1 py-1 text-xs",children:[n?(0,s.jsx)(m.IconGitMerge,{className:"h-3.5 w-3.5"}):(0,s.jsx)(m.IconGitPullRequest,{className:"h-3.5 w-3.5"}),n?"Merged":"Open"]})}let b=e=>{let n=l().sanitize(e,{ALLOWED_TAGS:[],ALLOWED_ATTR:[]}),t=o.TU.parse(n),s=i().decode(t),a=s.replace(/<\/?[^>]+(>|$)/g,"");return a}},54646:function(e,n,t){"use strict";t.d(n,{m:function(){return I},J:function(){return A}});var s=t(36164),a=t(3546),l=t(1853),r=t(74630),i=t(36982),o=t(93668),c=t(57288),d=t(90615),u=t(73033);t(80804);var m=t(74038),f=t(83171),x=t(3448),p=t(94744),h=t(37064),g=t(83008),v=t(28312),b=t(31458),j=t(81565),y=t(29);let N=(0,a.memo)(e=>{let{language:n,value:t,onCopyContent:l,onApplyInEditor:r,canWrapLongLines:i,supportsOnApplyInEditorV2:o}=e,[c,d]=(0,a.useState)(!1),{isCopied:u,copyToClipboard:m}=(0,v.m)({timeout:2e3,onCopyContent:l});return(0,s.jsxs)("div",{className:"codeblock relative w-full bg-zinc-950 font-sans",children:[(0,s.jsxs)("div",{className:"flex w-full items-center justify-between bg-zinc-800 px-6 py-2 pr-4 text-zinc-100",children:[(0,s.jsx)("span",{className:"text-xs lowercase",children:n}),(0,s.jsxs)("div",{className:"flex items-center space-x-1",children:[i&&(0,s.jsxs)(y.u,{children:[(0,s.jsx)(y.aJ,{asChild:!0,children:(0,s.jsx)(b.z,{size:"icon",variant:"ghost",className:"text-xs hover:bg-[#3C382F] hover:text-[#F4F4F5] focus-visible:ring-1 focus-visible:ring-slate-700 focus-visible:ring-offset-0",onClick:()=>d(!c),children:c?(0,s.jsx)(j.IconAlignJustify,{}):(0,s.jsx)(j.IconWrapText,{})})}),(0,s.jsx)(y._v,{children:(0,s.jsx)("p",{className:"m-0",children:"Toggle word wrap"})})]}),o&&r&&(0,s.jsxs)(y.u,{children:[(0,s.jsx)(y.aJ,{asChild:!0,children:(0,s.jsxs)(b.z,{variant:"ghost",size:"icon",className:"text-xs hover:bg-[#3C382F] hover:text-[#F4F4F5] focus-visible:ring-1 focus-visible:ring-slate-700 focus-visible:ring-offset-0",onClick:()=>r(t,{languageId:n,smart:!0}),children:[(0,s.jsx)(j.IconSmartApplyInEditor,{}),(0,s.jsx)("span",{className:"sr-only",children:"Smart Apply in Editor"})]})}),(0,s.jsx)(y._v,{children:(0,s.jsx)("p",{className:"m-0",children:"Smart Apply in Editor"})})]}),r&&(0,s.jsxs)(y.u,{children:[(0,s.jsx)(y.aJ,{asChild:!0,children:(0,s.jsxs)(b.z,{variant:"ghost",size:"icon",className:"text-xs hover:bg-[#3C382F] hover:text-[#F4F4F5] focus-visible:ring-1 focus-visible:ring-slate-700 focus-visible:ring-offset-0",onClick:()=>r(t,void 0),children:[(0,s.jsx)(j.IconApplyInEditor,{}),(0,s.jsx)("span",{className:"sr-only",children:"Apply in Editor"})]})}),(0,s.jsx)(y._v,{children:(0,s.jsx)("p",{className:"m-0",children:"Apply in Editor"})})]}),(0,s.jsxs)(y.u,{children:[(0,s.jsx)(y.aJ,{asChild:!0,children:(0,s.jsxs)(b.z,{variant:"ghost",size:"icon",className:"text-xs hover:bg-[#3C382F] hover:text-[#F4F4F5] focus-visible:ring-1 focus-visible:ring-slate-700 focus-visible:ring-offset-0",onClick:()=>{u||m(t)},children:[u?(0,s.jsx)(j.IconCheck,{}):(0,s.jsx)(j.IconCopy,{}),(0,s.jsx)("span",{className:"sr-only",children:"Copy"})]})}),(0,s.jsx)(y._v,{children:(0,s.jsx)("p",{className:"m-0",children:"Copy"})})]})]})]}),(0,s.jsx)(p.Z,{language:"toml"===n?"bash":n,style:g.RY,PreTag:"div",showLineNumbers:!0,wrapLongLines:c,customStyle:{margin:0,width:"100%",background:"transparent",padding:"1.5rem 1rem"},codeTagProps:{style:{fontSize:"0.9rem",fontFamily:"var(--font-mono)"}},renderer:e=>{let{rows:n,stylesheet:t,useInlineStyles:s}=e;return n.map((e,n)=>{let a=e.children,l=null==a?void 0:a.shift();return l&&(e.children=[l,{children:a,properties:{className:[]},tagName:"span",type:"element"}]),(0,h.ZP)({node:e,stylesheet:t,useInlineStyles:s,key:n})})},children:t})]})});N.displayName="CodeBlock";let w=(0,a.createContext)({});function C(e){var n;let{inline:t,className:l,children:r,...i}=e,{lookupSymbol:o,openInEditor:d,canWrapLongLines:u,onApplyInEditor:m,onCopyContent:f,supportsOnApplyInEditorV2:x,symbolPositionMap:p}=(0,a.useContext)(w),h=null===(n=r[0])||void 0===n?void 0:n.toString(),g=h?p.get(h):void 0;if((0,a.useEffect)(()=>{t&&o&&h&&o(h)},[t,h,o]),r.length){if("▍"===r[0])return(0,s.jsx)("span",{className:"mt-1 animate-pulse cursor-default",children:"▍"});r[0]=r[0].replace("`▍`","▍")}if(t){let e=!!(null==g?void 0:g.target);return(0,s.jsxs)("code",{className:(0,c.cn)("group/symbol",l,{symbol:!!o,"bg-muted leading-5 py-0.5":!!o&&!e,"space-x-1 cursor-pointer hover:bg-muted/50 border whitespace-nowrap align-middle py-0.5":e}),onClick:()=>{e&&d&&(null==g?void 0:g.target)&&d(g.target)},...i,children:[e&&(0,s.jsx)(j.IconSquareChevronRight,{className:"relative -top-px inline-block h-3.5 w-3.5 text-primary"}),(0,s.jsx)("span",{className:(0,c.cn)("whitespace-normal",{"group-hover/symbol:text-primary":e}),children:r})]})}let v=/language-(\w+)/.exec(l||"");return(0,s.jsx)(N,{language:v&&v[1]||"",value:String(r).replace(/\n$/,""),onApplyInEditor:m,onCopyContent:f,canWrapLongLines:u,supportsOnApplyInEditorV2:x})}var k=t(64219);function A(e){let{message:n,headline:t=!1,attachmentDocs:d,attachmentClientCode:f,attachmentCode:x,onApplyInEditor:p,onCopyContent:h,contextInfo:g,fetchingContextInfo:v,className:b,canWrapLongLines:j,onLookupSymbol:y,openInEditor:N,supportsOnApplyInEditorV2:k,activeSelection:A,...I}=e,[E,M]=(0,a.useState)(new Map),D=(0,a.useMemo)(()=>{var e,n,t;let s=null!==(e=null==d?void 0:d.map(e=>({type:"doc",data:e})))&&void 0!==e?e:[],a=null!==(n=null==f?void 0:f.map(e=>({type:"code",data:e})))&&void 0!==n?n:[],r=null!==(t=null==x?void 0:x.map(e=>({type:"code",data:e})))&&void 0!==t?t:[];return(0,l.Z)([...s,...a,...r])},[d,f,x]),R=e=>{let n;let a=[],l=0,i=e=>{e&&a.push(e)},o=(t,r,o)=>{for(;null!==(n=t.exec(e));)i(e.slice(l,n.index)),a.push((0,s.jsx)(r,{...o(n)},n.index)),l=n.index+n[0].length};return o(m.H,S,e=>{let n=parseInt(e[1],10),t=(0,r.Z)(n)?void 0:null==D?void 0:D[n-1],s=null==t?void 0:t.type,a=t&&!(0,r.Z)(n);return{citationIndex:n,showcitation:a,citationType:s,citationSource:t}}),o(m.z,L,e=>{let n=e[1];return{sourceId:n,className:t?"text-[1rem] font-semibold":void 0}}),i(e.slice(l)),a},z=async e=>{if(!y||E.has(e))return;M(n=>new Map(n.set(e,void 0)));let n=[];if(A){let e;e=A.git_url.length>1&&!A.filepath.includes(":")?{kind:"git",filepath:A.filepath,gitUrl:A.git_url}:{kind:"uri",uri:A.filepath},n.push({filepath:e,location:{start:A.range.start,end:A.range.end}})}let t=await y(e,n);M(n=>new Map(n.set(e,t)))};return(0,s.jsx)(w.Provider,{value:{onCopyContent:h,onApplyInEditor:p,onCodeCitationClick:I.onCodeCitationClick,onCodeCitationMouseEnter:I.onCodeCitationMouseEnter,onCodeCitationMouseLeave:I.onCodeCitationMouseLeave,contextInfo:g,fetchingContextInfo:!!v,canWrapLongLines:!!j,supportsOnApplyInEditorV2:k,activeSelection:A,symbolPositionMap:E,lookupSymbol:y?z:void 0,openInEditor:N},children:(0,s.jsx)(u.s,{className:(0,c.cn)("message-markdown prose max-w-none break-words dark:prose-invert prose-p:leading-relaxed prose-pre:mt-1 prose-pre:p-0",{"cursor-default":!!p},b),remarkPlugins:[i.Z,o.Z],components:{p(e){let{children:n}=e;return(0,s.jsx)("p",{className:"mb-2 last:mb-0",children:n.map((e,n)=>"string"==typeof e?R(e):(0,s.jsx)("span",{children:e},n))})},li(e){let{children:n}=e;return n&&n.length?(0,s.jsx)("li",{children:n.map((e,n)=>"string"==typeof e?R(e):(0,s.jsx)("span",{children:e},n))}):(0,s.jsx)("li",{children:n})},code(e){let{node:n,inline:t,className:a,children:l,...r}=e;return(0,s.jsx)(C,{node:n,inline:t,className:a,...r,children:l})}},children:n})})}function I(e){let{error:n="Failed to fetch"}=e,t=(0,a.useMemo)(()=>"```\n"+JSON.stringify({error:!0,message:n},null,2)+"\n```",[n]);return(0,s.jsx)(u.s,{className:"prose-full-width prose break-words text-sm dark:prose-invert prose-p:leading-relaxed prose-pre:mt-1 prose-pre:p-0",remarkPlugins:[i.Z,o.Z],components:{code(e){let{node:n,inline:t,className:a,children:l,...r}=e;return(0,s.jsx)("div",{...r,className:(0,c.cn)(a,"bg-zinc-950 p-2"),children:l})}},children:t})}function S(e){let{citationIndex:n,showcitation:t,citationType:a,citationSource:l}=e;return(0,s.jsx)("div",{className:"inline",children:t&&(0,s.jsx)(s.Fragment,{children:"doc"===a?(0,s.jsx)(E,{relevantDocument:l.data,citationIndex:n}):"code"===a?(0,s.jsx)(M,{relevantCode:l.data,citationIndex:n}):null})})}function L(e){var n;let{sourceId:t,className:l}=e,{contextInfo:r,fetchingContextInfo:i}=(0,a.useContext)(w);if(!t)return null;let o=null==r?void 0:null===(n=r.sources)||void 0===n?void 0:n.find(e=>e.sourceId===t);return o?(0,s.jsx)("span",{className:"node-mention",children:(0,s.jsx)("span",{children:i?(0,s.jsx)(x.O,{className:"w-16"}):(0,s.jsx)(f.p,{id:o.sourceId,label:o.sourceName,kind:o.sourceKind,className:l})})}):null}function E(e){let{relevantDocument:n,citationIndex:t}=e;return(0,s.jsxs)(d.zs,{openDelay:100,closeDelay:100,children:[(0,s.jsx)(d.Yi,{children:(0,s.jsx)("span",{className:"relative -top-2 mr-0.5 inline-block h-4 w-4 cursor-pointer rounded-full bg-muted text-center text-xs font-medium",onClick:()=>window.open(n.link),children:t})}),(0,s.jsx)(d.bZ,{className:"w-96 bg-background text-sm text-foreground dark:border-muted-foreground/60",children:(0,s.jsx)(k.Z,{relevantDocument:n})})]})}function M(e){let{relevantCode:n,citationIndex:t}=e,{onCodeCitationClick:l,onCodeCitationMouseEnter:r,onCodeCitationMouseLeave:i}=(0,a.useContext)(w);return(0,s.jsx)("span",{className:"relative -top-2 mr-0.5 inline-block h-4 w-4 cursor-pointer rounded-full bg-muted text-center text-xs font-medium",onClick:()=>{null==l||l(n)},onMouseEnter:()=>{null==r||r(t)},onMouseLeave:()=>{null==i||i(t)},children:t})}},89811:function(e,n,t){"use strict";t.d(n,{V:function(){return c}});var s=t(36164),a=t(3546),l=t(42891),r=t.n(l),i={src:"/_next/static/media/default-favicon.a2df8fbb.png",height:16,width:16,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAABAElEQVR42mOAAqaMgrXeIYlL2jwjF7WZey7wBolB5eyZotNX1PdMO/Br466r/89dfvx/w7aLv6LSlteDFem5zPPesPXir20Hbv7ftPfGrz9///969urL/xkLj/0KjlvqzZCct6rt9r3X/w+cvP/r8fOP/0Hg/uN3vzbsvPq/rmVzG0Nk+oq2J8/f///89devOw/f/n/7/uv/T19+/Dpx7uH/3NK1bQwMarO8tu66/Auk89qd17/mrzn/682H7//3H7rxi4FhsheDDYMhU0DC0vqde6/+On/lyf/5q878X7Tq9M+E7JX1cJ/4MpgzMajO9ApNXtoWl7mszc5nvhdMEgB1uZJfA01kRAAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8},o=t(57288);function c(e){let{hostname:n,className:t}=e,[l,c]=(0,a.useState)(!1);return(0,s.jsxs)("div",{className:"relative h-3.5 w-3.5 shrink-0",children:[(0,s.jsx)(r(),{src:i,alt:n,width:14,height:14,className:(0,o.cn)("absolute left-0 top-0 z-0 h-3.5 w-3.5 rounded-full leading-none",t)}),(0,s.jsx)(r(),{src:"https://s2.googleusercontent.com/s2/favicons?sz=128&domain_url=".concat(n),alt:n,width:14,height:14,className:(0,o.cn)("relative z-10 h-3.5 w-3.5 rounded-full bg-card leading-none",t,{"opacity-0":!l}),onLoad:()=>{c(!0)}})]})}},63795:function(e,n,t){"use strict";t.d(n,{C:function(){return i}});var s=t(36164);t(3546);var a=t(14375),l=t(57288);let r=(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",successful:"border-transparent bg-successful text-successful-foreground hover:bg-successful/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function i(e){let{className:n,variant:t,...a}=e;return(0,s.jsx)("div",{className:(0,l.cn)(r({variant:t}),n),...a})}},36065:function(e,n,t){"use strict";t.d(n,{di:function(){return x},e8:function(){return d},fu:function(){return m},mY:function(){return o},rb:function(){return u},sZ:function(){return c},zz:function(){return f}});var s=t(36164),a=t(3546),l=t(53241),r=t(93170),i=t(57288);t(30220);let o=a.forwardRef((e,n)=>{let{className:t,...a}=e;return(0,s.jsx)(l.mY,{ref:n,className:(0,i.cn)("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",t),...a})});o.displayName=l.mY.displayName;let c=a.forwardRef((e,n)=>{let{className:t,...a}=e;return(0,s.jsxs)("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,s.jsx)(r.Z,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),(0,s.jsx)(l.mY.Input,{ref:n,className:(0,i.cn)("flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",t),...a})]})});c.displayName=l.mY.Input.displayName;let d=a.forwardRef((e,n)=>{let{className:t,...a}=e;return(0,s.jsx)(l.mY.List,{ref:n,className:(0,i.cn)("max-h-[300px] overflow-y-auto overflow-x-hidden",t),...a})});d.displayName=l.mY.List.displayName;let u=a.forwardRef((e,n)=>(0,s.jsx)(l.mY.Empty,{ref:n,className:"py-6 text-center text-sm",...e}));u.displayName=l.mY.Empty.displayName;let m=a.forwardRef((e,n)=>{let{className:t,...a}=e;return(0,s.jsx)(l.mY.Group,{ref:n,className:(0,i.cn)("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",t),...a})});m.displayName=l.mY.Group.displayName;let f=a.forwardRef((e,n)=>{let{className:t,...a}=e;return(0,s.jsx)(l.mY.Separator,{ref:n,className:(0,i.cn)("-mx-1 h-px bg-border",t),...a})});f.displayName=l.mY.Separator.displayName;let x=a.forwardRef((e,n)=>{let{className:t,...a}=e;return(0,s.jsx)(l.mY.Item,{ref:n,className:(0,i.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-disabled:pointer-events-none aria-disabled:opacity-50 aria-selected:bg-accent aria-selected:text-accent-foreground",t),...a})});x.displayName=l.mY.Item.displayName},30220:function(e,n,t){"use strict";t.d(n,{$N:function(){return p},Be:function(){return h},Vq:function(){return o},cN:function(){return x},cZ:function(){return m},fK:function(){return f},hg:function(){return c}});var s=t(36164),a=t(3546),l=t(4318),r=t(1663),i=t(57288);let o=l.fC,c=l.xz,d=l.h_;l.x8;let u=a.forwardRef((e,n)=>{let{className:t,...a}=e;return(0,s.jsx)(l.aV,{ref:n,className:(0,i.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...a})});u.displayName=l.aV.displayName;let m=a.forwardRef((e,n)=>{let{className:t,children:a,...o}=e;return(0,s.jsxs)(d,{children:[(0,s.jsx)(u,{}),(0,s.jsxs)(l.VY,{ref:n,className:(0,i.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",t),...o,children:[a,(0,s.jsxs)(l.x8,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,s.jsx)(r.Z,{className:"h-4 w-4"}),(0,s.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});m.displayName=l.VY.displayName;let f=e=>{let{className:n,...t}=e;return(0,s.jsx)("div",{className:(0,i.cn)("flex flex-col space-y-1.5 text-center sm:text-left",n),...t})};f.displayName="DialogHeader";let x=e=>{let{className:n,...t}=e;return(0,s.jsx)("div",{className:(0,i.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",n),...t})};x.displayName="DialogFooter";let p=a.forwardRef((e,n)=>{let{className:t,...a}=e;return(0,s.jsx)(l.Dx,{ref:n,className:(0,i.cn)("text-lg font-semibold leading-none tracking-tight",t),...a})});p.displayName=l.Dx.displayName;let h=a.forwardRef((e,n)=>{let{className:t,...a}=e;return(0,s.jsx)(l.dk,{ref:n,className:(0,i.cn)("text-sm text-muted-foreground",t),...a})});h.displayName=l.dk.displayName},90615:function(e,n,t){"use strict";t.d(n,{Yi:function(){return o},bZ:function(){return c},zs:function(){return i}});var s=t(36164),a=t(3546),l=t(38421),r=t(57288);let i=l.fC,o=l.xz;l.h_;let c=a.forwardRef((e,n)=>{let{className:t,align:a="center",sideOffset:i=4,...o}=e;return(0,s.jsx)(l.VY,{ref:n,align:a,sideOffset:i,className:(0,r.cn)("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...o})});c.displayName=l.VY.displayName},84942:function(e,n,t){"use strict";t.d(n,{J2:function(){return i},i9:function(){return d},tW:function(){return u},xo:function(){return o},xp:function(){return c},yk:function(){return m}});var s=t(36164),a=t(3546),l=t(83299),r=t(57288);let i=l.fC,o=l.xz,c=l.x8,d=l.h_,u=l.ee,m=a.forwardRef((e,n)=>{let{className:t,sideOffset:a=4,...i}=e;return(0,s.jsx)(l.VY,{ref:n,sideOffset:a,className:(0,r.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow animate-in data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...i})});m.displayName=l.VY.displayName},21808:function(e,n,t){"use strict";t.d(n,{$6:function(){return l},$I:function(){return r},L8:function(){return a},ir:function(){return i},o0:function(){return s},rZ:function(){return o}});let s="name@yourcompany.com",a=20,l={DEMO_AUTO_LOGIN:"_tabby_demo_autologin",SEARCH_INITIAL_MSG:"_tabby_search_initial_msg",SEARCH_INITIAL_CONTEXTS:"_tabby_search_initial_contexts"},r=48,i="NOT_FOUND",o="\n"},12624:function(e,n,t){"use strict";t.d(n,{e:function(){return l}});var s=t(3546),a=t(62940);function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1?arguments[1]:void 0,[t,l]=s.useState(!1);return s.useEffect(()=>{if(n)return;let t=(0,a.Z)(()=>{l(window.innerHeight+window.scrollY>=document.body.offsetHeight-e)},100,{leading:!0});return window.addEventListener("scroll",t,{passive:!0}),window.addEventListener("resize",t,{passive:!0}),t(),()=>{window.removeEventListener("scroll",t),window.removeEventListener("resize",t)}},[e,n]),s.useEffect(()=>{if(!n)return;let t=(0,a.Z)(()=>{let{scrollTop:t,clientHeight:s,scrollHeight:a}=n;l(t+s>=a-e)},100,{leading:!0});return n.addEventListener("scroll",t,{passive:!0}),n.addEventListener("resize",t,{passive:!0}),t(),()=>{n.removeEventListener("scroll",t),n.removeEventListener("resize",t)}},[e,n]),t}},64566:function(e,n,t){"use strict";t.d(n,{x:function(){return u}});var s=t(3546),a=t(43240),l=t(11634),r=t(16784);let i=(0,a.BX)("\n subscription CreateThreadAndRun($input: CreateThreadAndRunInput!) {\n createThreadAndRun(input: $input) {\n __typename\n ... on ThreadCreated {\n id\n }\n ... on ThreadUserMessageCreated {\n id\n }\n ... on ThreadAssistantMessageCreated {\n id\n }\n ... on ThreadRelevantQuestions {\n questions\n }\n ... on ThreadAssistantMessageAttachmentsCode {\n hits {\n code {\n gitUrl\n filepath\n language\n content\n startLine\n }\n scores {\n rrf\n bm25\n embedding\n }\n }\n }\n ... on ThreadAssistantMessageAttachmentsDoc {\n hits {\n doc {\n __typename\n ... on MessageAttachmentWebDoc {\n title\n link\n content\n }\n ... on MessageAttachmentIssueDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n closed\n }\n ... on MessageAttachmentPullDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n merged\n }\n }\n score\n }\n }\n ... on ThreadAssistantMessageContentDelta {\n delta\n }\n ... on ThreadAssistantMessageCompleted {\n id\n }\n }\n }\n"),o=(0,a.BX)("\n subscription CreateThreadRun($input: CreateThreadRunInput!) {\n createThreadRun(input: $input) {\n __typename\n ... on ThreadCreated {\n id\n }\n ... on ThreadUserMessageCreated {\n id\n }\n ... on ThreadAssistantMessageCreated {\n id\n }\n ... on ThreadRelevantQuestions {\n questions\n }\n ... on ThreadAssistantMessageAttachmentsCode {\n hits {\n code {\n gitUrl\n filepath\n language\n content\n startLine\n }\n scores {\n rrf\n bm25\n embedding\n }\n }\n }\n ... on ThreadAssistantMessageAttachmentsDoc {\n hits {\n doc {\n __typename\n ... on MessageAttachmentWebDoc {\n title\n link\n content\n }\n ... on MessageAttachmentIssueDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n closed\n }\n ... on MessageAttachmentPullDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n merged\n }\n }\n score\n }\n }\n ... on ThreadAssistantMessageContentDelta {\n delta\n }\n ... on ThreadAssistantMessageCompleted {\n id\n }\n }\n }\n"),c=(0,a.BX)("\n mutation DeleteThreadMessagePair(\n $threadId: ID!\n $userMessageId: ID!\n $assistantMessageId: ID!\n ) {\n deleteThreadMessagePair(\n threadId: $threadId\n userMessageId: $userMessageId\n assistantMessageId: $assistantMessageId\n )\n }\n"),d=()=>({content:"",completed:!1});function u(e){let{threadId:n,onAssistantMessageCompleted:t}=e,[a,u]=s.useState(n),m=s.useRef(),[f,x]=s.useState(!1),[p,h]=s.useState(d()),[g,v]=s.useState(),b=(e,n)=>{let t={...e};switch(n.__typename){case"ThreadCreated":t.threadId=n.id;break;case"ThreadUserMessageCreated":t.userMessageId=n.id;break;case"ThreadAssistantMessageCreated":t.assistantMessageId=n.id;break;case"ThreadRelevantQuestions":t.relevantQuestions=n.questions;break;case"ThreadAssistantMessageAttachmentsCode":t.attachmentsCode=n.hits;break;case"ThreadAssistantMessageAttachmentsDoc":t.attachmentsDoc=n.hits;break;case"ThreadAssistantMessageContentDelta":t.content+=n.delta;break;case"ThreadAssistantMessageCompleted":t.completed=!0;break;default:throw Error("Unknown event "+JSON.stringify(t))}return t},j=(0,r.d)(e=>{var n;null===(n=m.current)||void 0===n||n.call(m),m.current=void 0,x(!1),!e&&a&&(null==t||t(p))});s.useEffect(()=>{n!==a&&u(n)},[n]);let y=(e,n)=>{let{unsubscribe:t}=l.Lp.subscription(i,{input:{thread:{userMessage:e},options:n}}).subscribe(e=>{var n;if(null==e?void 0:e.error){x(!1),v(e.error),t();return}let s=null===(n=e.data)||void 0===n?void 0:n.createThreadAndRun;s&&((null==s?void 0:s.__typename)==="ThreadAssistantMessageCompleted"&&j.current(),(null==s?void 0:s.__typename)==="ThreadCreated"&&s.id!==a&&u(s.id),h(e=>b(e,s)))});return t},N=(e,n)=>{if(!a)return;let{unsubscribe:t}=l.Lp.subscription(o,{input:{threadId:a,additionalUserMessage:e,options:n}}).subscribe(e=>{var n;if(null==e?void 0:e.error){x(!1),v(e.error),t();return}let s=null===(n=e.data)||void 0===n?void 0:n.createThreadRun;s&&("ThreadAssistantMessageCompleted"===s.__typename&&j.current(),h(e=>b(e,s)))});return t},w=(0,l.Db)(c),C=(e,n)=>{f||(x(!0),v(void 0),h(d()),a?m.current=N(e,n):m.current=y(e,n))},k=(e,n,t)=>w({threadId:e,userMessageId:n,assistantMessageId:t}).then(e=>{var n;if(!(null==e?void 0:null===(n=e.data)||void 0===n?void 0:n.deleteThreadMessagePair)){if(null==e?void 0:e.error)throw e.error;throw Error("Failed to fetch")}});return{isLoading:f,answer:p,error:g,sendUserMessage:C,stop:j.current,regenerate:e=>a?(x(!0),v(void 0),h(d()),k(e.threadId,e.userMessageId,e.assistantMessageId).then(()=>{C(e.userMessage,e.threadRunOptions)}).catch(e=>{let n=e instanceof Error?e:Error("Failed to fetch");v(n),x(!1)})):Promise.resolve(void 0),deleteThreadMessagePair:k}}},63484:function(e,n,t){"use strict";t.d(n,{U$:function(){return d},t:function(){return u}});var s=t(14283),a=t.n(s),l=t(34021),r=t(74630),i=t(18500),o=JSON.parse('{"Mercury":"#ff2b2b","TypeScript":"#2b7489","PureBasic":"#5a6986","Objective-C++":"#6866fb","Self":"#0579aa","edn":"#db5855","NewLisp":"#87AED7","Jupyter Notebook":"#DA5B0B","Rebol":"#358a5b","Frege":"#00cafe","Dart":"#00B4AB","AspectJ":"#a957b0","Shell":"#89e051","Web Ontology Language":"#9cc9dd","xBase":"#403a40","Eiffel":"#946d57","Nix":"#7e7eff","RAML":"#77d9fb","MTML":"#b7e1f4","Racket":"#22228f","Elixir":"#6e4a7e","SAS":"#B34936","Agda":"#315665","wisp":"#7582D1","D":"#ba595e","Kotlin":"#F18E33","Opal":"#f7ede0","Crystal":"#776791","Objective-C":"#438eff","ColdFusion CFC":"#ed2cd6","Oz":"#fab738","Mirah":"#c7a938","Objective-J":"#ff0c5a","Gosu":"#82937f","FreeMarker":"#0050b2","Ruby":"#701516","Component Pascal":"#b0ce4e","Arc":"#aa2afe","Brainfuck":"#2F2530","Nit":"#009917","APL":"#5A8164","Go":"#375eab","Visual Basic":"#945db7","PHP":"#4F5D95","Cirru":"#ccccff","SQF":"#3F3F3F","Glyph":"#e4cc98","Java":"#b07219","MAXScript":"#00a6a6","Scala":"#DC322F","Makefile":"#427819","ColdFusion":"#ed2cd6","Perl":"#0298c3","Lua":"#000080","Vue":"#2c3e50","Verilog":"#b2b7f8","Factor":"#636746","Haxe":"#df7900","Pure Data":"#91de79","Forth":"#341708","Red":"#ee0000","Hy":"#7790B2","Volt":"#1F1F1F","LSL":"#3d9970","eC":"#913960","CoffeeScript":"#244776","HTML":"#e44b23","Lex":"#DBCA00","API Blueprint":"#2ACCA8","Swift":"#ffac45","C":"#555555","AutoHotkey":"#6594b9","Isabelle":"#FEFE00","Metal":"#8f14e9","Clarion":"#db901e","JSONiq":"#40d47e","Boo":"#d4bec1","AutoIt":"#1C3552","Clojure":"#db5855","Rust":"#dea584","Prolog":"#74283c","SourcePawn":"#5c7611","AMPL":"#E6EFBB","FORTRAN":"#4d41b1","ANTLR":"#9DC3FF","Harbour":"#0e60e3","Tcl":"#e4cc98","BlitzMax":"#cd6400","PigLatin":"#fcd7de","Lasso":"#999999","ECL":"#8a1267","VHDL":"#adb2cb","Elm":"#60B5CC","Propeller Spin":"#7fa2a7","X10":"#4B6BEF","IDL":"#a3522f","ATS":"#1ac620","Ada":"#02f88c","Unity3D Asset":"#ab69a1","Nu":"#c9df40","LFE":"#004200","SuperCollider":"#46390b","Oxygene":"#cdd0e3","ASP":"#6a40fd","Assembly":"#6E4C13","Gnuplot":"#f0a9f0","JFlex":"#DBCA00","NetLinx":"#0aa0ff","Turing":"#45f715","Vala":"#fbe5cd","Processing":"#0096D8","Arduino":"#bd79d1","FLUX":"#88ccff","NetLogo":"#ff6375","CSharp":"#178600","CSS":"#563d7c","Emacs Lisp":"#c065db","Stan":"#b2011d","SaltStack":"#646464","QML":"#44a51c","Pike":"#005390","LOLCODE":"#cc9900","ooc":"#b0b77e","Handlebars":"#01a9d6","J":"#9EEDFF","Mask":"#f97732","EmberScript":"#FFF4F3","TeX":"#3D6117","Nemerle":"#3d3c6e","KRL":"#28431f","Ren\'Py":"#ff7f7f","Unified Parallel C":"#4e3617","Golo":"#88562A","Fancy":"#7b9db4","OCaml":"#3be133","Shen":"#120F14","Pascal":"#b0ce4e","F#":"#b845fc","Puppet":"#302B6D","ActionScript":"#882B0F","Diff":"#88dddd","Ragel in Ruby Host":"#9d5200","Fantom":"#dbded5","Zephir":"#118f9e","Click":"#E4E6F3","Smalltalk":"#596706","DM":"#447265","Ioke":"#078193","PogoScript":"#d80074","LiveScript":"#499886","JavaScript":"#f1e05a","VimL":"#199f4b","PureScript":"#1D222D","ABAP":"#E8274B","Matlab":"#bb92ac","Slash":"#007eff","R":"#198ce7","Erlang":"#B83998","Pan":"#cc0000","LookML":"#652B81","Eagle":"#814C05","Scheme":"#1e4aec","PLSQL":"#dad8d8","Python":"#3572A5","Max":"#c4a79c","Common Lisp":"#3fb68b","Latte":"#A8FF97","XQuery":"#5232e7","Omgrofl":"#cabbff","XC":"#99DA07","Nimrod":"#37775b","SystemVerilog":"#DAE1C2","Chapel":"#8dc63f","Groovy":"#e69f56","Dylan":"#6c616e","E":"#ccce35","Parrot":"#f3ca0a","Grammatical Framework":"#79aa7a","Game Maker Language":"#8fb200","Papyrus":"#6600cc","NetLinx+ERB":"#747faa","Clean":"#3F85AF","Alloy":"#64C800","Squirrel":"#800000","PAWN":"#dbb284","UnrealScript":"#a54c4d","Standard ML":"#dc566d","Slim":"#ff8f77","Perl6":"#0000fb","Julia":"#a270ba","Haskell":"#29b544","NCL":"#28431f","Io":"#a9188d","Rouge":"#cc0088","cpp":"#f34b7d","AGS Script":"#B9D9FF","Dogescript":"#cca760","nesC":"#94B0C7"}'),c={abap:{filenames:[],extnames:["abap"]},actionscript:{filenames:[],extnames:["as"]},ada:{filenames:[],extnames:["ada","adb","ads"]},apacheconf:{filenames:[".htaccess","apache2.conf","httpd.conf"],extnames:["apacheconf","vhost"]},apl:{filenames:[],extnames:["apl","dyalog"]},applescript:{filenames:[],extnames:["applescript","scpt"]},arff:{filenames:[],extnames:["arff"]},asciidoc:{filenames:[],extnames:["asciidoc","adoc","asc"]},asm6502:{filenames:[],extnames:["asm"]},autohotkey:{filenames:[],extnames:["ahk","ahkl"]},autoit:{filenames:[],extnames:["au3"]},bash:{filenames:[".bash_history",".bash_logout",".bash_profile",".bashrc",".cshrc",".login",".profile",".zlogin",".zlogout",".zprofile",".zshenv",".zshrc","9fs","PKGBUILD","bash_logout","bash_profile","bashrc","cshrc","gradlew","login","man","profile","zlogin","zlogout","zprofile","zshenv","zshrc"],extnames:["sh","bash","bats","cgi","command","fcgi","ksh","tmux","tool","zsh"]},basic:{filenames:[],extnames:["vb","bas","cls","frm","frx","vba","vbhtml","vbs"]},batch:{filenames:[],extnames:["bat","cmd"]},bison:{filenames:[],extnames:["bison"]},brainfuck:{filenames:[],extnames:["b","bf"]},bro:{filenames:[],extnames:["bro"]},c:{filenames:[],extnames:["c","cats","h","idc"]},csharp:{filenames:[],extnames:["cs","cake","cshtml","csx"]},cpp:{filenames:[],extnames:["cpp","c++","cc","cp","cxx","h","h++","hh","hpp","hxx","inc","inl","ino","ipp","re","tcc","tpp"]},coffeescript:{filenames:["Cakefile"],extnames:["coffee","_coffee","cake","cjsx","iced"]},clojure:{filenames:["riemann.config"],extnames:["clj","boot","cl2","cljc","cljs","cljs.hl","cljscm","cljx","hic"]},crystal:{filenames:[],extnames:["cr"]},css:{filenames:[],extnames:["css"]},d:{filenames:[],extnames:["d","di"]},dart:{filenames:[],extnames:["dart"]},diff:{filenames:[],extnames:["diff","patch"]},django:{filenames:[],extnames:["jinja","jinja2","mustache","njk"]},dockerfile:{filenames:["Dockerfile"],extnames:["dockerfile"]},eiffel:{filenames:[],extnames:["e"]},elixir:{filenames:["mix.lock"],extnames:["ex","exs"]},elm:{filenames:[],extnames:["elm"]},erb:{filenames:[],extnames:["erb"]},erlang:{filenames:["Emakefile","rebar.config","rebar.config.lock","rebar.lock"],extnames:["erl","app.src","es","escript","hrl","xrl","yrl"]},fsharp:{filenames:[],extnames:["fs","fsi","fsx"]},fortran:{filenames:[],extnames:["f90","f","f03","f08","f77","f95","for","fpp"]},gedcom:{filenames:[],extnames:["ged"]},gherkin:{filenames:[],extnames:["feature"]},glsl:{filenames:[],extnames:["glsl","fp","frag","frg","fs","fsh","fshader","geo","geom","glslv","gshader","shader","tesc","tese","vert","vrx","vsh","vshader"]},go:{filenames:[],extnames:["go"]},graphql:{filenames:[],extnames:["graphql","gql"]},groovy:{filenames:["Jenkinsfile"],extnames:["groovy","grt","gtpl","gvy"]},haml:{filenames:[],extnames:["haml"]},handlebars:{filenames:[],extnames:["handlebars","hbs"]},haskell:{filenames:[],extnames:["hs","hsc"]},haxe:{filenames:[],extnames:["hx","hxsl"]},http:{filenames:[],extnames:["http"]},icon:{filenames:[],extnames:["icn"]},inform7:{filenames:[],extnames:["ni","i7x"]},ini:{filenames:[".editorconfig",".gitconfig"],extnames:["ini","cfg","lektorproject","prefs","pro","properties"]},io:{filenames:[],extnames:["io"]},j:{filenames:[],extnames:["ijs"]},java:{filenames:[],extnames:["java"]},javascript:{filenames:["Jakefile"],extnames:["js","_js","cjs","bones","es","es6","frag","gs","jake","jsb","jscad","jsfl","jsm","jss","mjs","njs","pac","sjs","ssjs","xsjs","xsjslib"]},jolie:{filenames:[],extnames:["ol","iol"]},json:{filenames:[".arcconfig",".htmlhintrc",".tern-config",".tern-project","composer.lock","mcmod.info"],extnames:["json","avsc","geojson","gltf","JSON-tmLanguage","jsonl","tfstate","topojson","webapp","webmanifest","yy","yyp"]},julia:{filenames:[],extnames:["jl"]},keyman:{filenames:[],extnames:["kmn"]},kotlin:{filenames:[],extnames:["kt","ktm","kts"]},latex:{filenames:[],extnames:["tex","aux","bbx","bib","cbx","cls","dtx","ins","lbx","ltx","mkii","mkiv","mkvi","sty","toc"]},less:{filenames:[],extnames:["less"]},liquid:{filenames:[],extnames:["liquid"]},lisp:{filenames:[],extnames:["lisp","asd","cl","l","lsp","ny","podsl","sexp"]},livescript:{filenames:["Slakefile"],extnames:["ls","_ls"]},lolcode:{filenames:[],extnames:["lol"]},lua:{filenames:[],extnames:["lua","fcgi","nse","p8","pd_lua","rbxs","wlua"]},cmake:{filenames:["BSDmakefile","GNUmakefile","Kbuild","Makefile","Makefile.am","Makefile.boot","Makefile.frag","Makefile.in","Makefile.inc","Makefile.wat","makefile","makefile.sco","mkfile"],extnames:["mak","d","make","mk","mkfile"]},markdown:{filenames:["contents.lr","LICENSE"],extnames:["md","markdown","mdown","mdwn","mkd","mkdn","mkdown","ronn","workbook"]},markup:{filenames:[],extnames:["apib","blade","chem","ecr","eex","ejs","html","htm","ipynb","kit","latte","marko","mask","mtml","phtml","pic","raml","rhtml","vue","xht","xhtml"]},matlab:{filenames:[],extnames:["matlab","m"]},mel:{filenames:[],extnames:["mel"]},mizar:{filenames:[],extnames:["miz","voc"]},monkey:{filenames:[],extnames:["monkey","monkey2"]},n4js:{filenames:[],extnames:["n4jsd"]},nasm:{filenames:[],extnames:["nasm"]},nginx:{filenames:["nginx.conf"],extnames:["nginxconf","vhost"]},nim:{filenames:[],extnames:["nim","nimrod"]},nix:{filenames:[],extnames:["nix"]},nsis:{filenames:[],extnames:["nsi","nsh"]},objectivec:{filenames:[],extnames:["m","h"]},ocaml:{filenames:[],extnames:["ml","eliom","eliomi","ml4","mli","mll","mly"]},opencl:{filenames:[],extnames:["opencl","cl"]},oz:{filenames:[],extnames:["oz"]},pascal:{filenames:[],extnames:["pas","dfm","dpr","inc","lpr","pascal","pp"]},perl:{filenames:["Makefile.PL","Rexfile","ack","cpanfile"],extnames:["pl","al","cgi","fcgi","perl","ph","plx","pm","psgi","t"]},php:{filenames:[".php",".php_cs",".php_cs.dist","Phakefile"],extnames:["php","aw","ctp","fcgi","inc","php3","php4","php5","phps","phpt"]},plsql:{filenames:[],extnames:["pls","bdy","ddl","fnc","pck","pkb","pks","plb","plsql","prc","spc","tpb","tps","trg","vw"]},powershell:{filenames:[],extnames:["ps1","psd1","psm1"]},processing:{filenames:[],extnames:["pde"]},prolog:{filenames:[],extnames:["pl","pro","prolog","yap"]},properties:{filenames:[],extnames:["properties"]},protobuf:{filenames:[],extnames:["proto"]},pug:{filenames:[],extnames:["jade","pug"]},puppet:{filenames:["Modulefile"],extnames:["pp"]},pure:{filenames:[],extnames:["pure"]},python:{filenames:[".gclient","BUCK","BUILD","BUILD.bazel","SConscript","SConstruct","Snakefile","WORKSPACE","wscript"],extnames:["py","bzl","cgi","fcgi","gyp","gypi","lmi","py3","pyde","pyi","pyp","pyt","pyw","rpy","spec","tac","wsgi","xpy"]},q:{filenames:[],extnames:["q"]},qore:{filenames:[],extnames:["q","qm","qtest"]},r:{filenames:[".Rprofile","expr-dist"],extnames:["r","rd","rsx"]},jsx:{filenames:[],extnames:["jsx"]},toml:{filenames:[],extnames:["toml"]},tsx:{filenames:[],extnames:["tsx"]},renpy:{filenames:[],extnames:["rpy"]},reason:{filenames:[],extnames:["re","rei"]},rest:{filenames:[],extnames:["rst","rest"]},rip:{filenames:[],extnames:["rip"]},ruby:{filenames:[".irbrc",".pryrc","Appraisals","Berksfile","Brewfile","Buildfile","Capfile","Dangerfile","Deliverfile","Fastfile","Gemfile","Gemfile.lock","Guardfile","Jarfile","Mavenfile","Podfile","Puppetfile","Rakefile","Snapfile","Thorfile","Vagrantfile","buildfile"],extnames:["rb","builder","eye","fcgi","gemspec","god","jbuilder","mspec","pluginspec","podspec","rabl","rake","rbuild","rbw","rbx","ru","ruby","spec","thor","watchr"]},rust:{filenames:[],extnames:["rs"]},sas:{filenames:[],extnames:["sas"]},sass:{filenames:[],extnames:["sass"]},scss:{filenames:[],extnames:["scss"]},scala:{filenames:[],extnames:["scala","kojo","sbt","sc"]},scheme:{filenames:[],extnames:["scm","sch","sld","sls","sps","ss"]},smalltalk:{filenames:[],extnames:["st","cs"]},smarty:{filenames:[],extnames:["tpl"]},sql:{filenames:[],extnames:["sql","cql","ddl","inc","mysql","prc","tab","udf","viw"]},soy:{filenames:[],extnames:["soy"]},stylus:{filenames:[],extnames:["styl"]},swift:{filenames:[],extnames:["swift"]},tcl:{filenames:["owh","starfield"],extnames:["tcl","adp","tm"]},textile:{filenames:[],extnames:["textile"]},tt2:{filenames:[],extnames:["pm"]},twig:{filenames:[],extnames:["twig"]},typescript:{filenames:[],extnames:["ts"]},velocity:{filenames:[],extnames:["vm"]},verilog:{filenames:[],extnames:["v","veo"]},vhdl:{filenames:[],extnames:["vhdl","vhd","vhf","vhi","vho","vhs","vht","vhw"]},vim:{filenames:[".gvimrc",".nvimrc",".vimrc","_vimrc","gvimrc","nvimrc","vimrc"],extnames:["vim"]},"visual-basic":{filenames:[],extnames:["vb","bas","cls","frm","frx","vba","vbhtml","vbs"]},wasm:{filenames:[],extnames:["wast","wat"]},xojo:{filenames:[],extnames:["xojo_code","xojo_menu","xojo_report","xojo_script","xojo_toolbar","xojo_window"]},xquery:{filenames:[],extnames:["xquery","xq","xql","xqm","xqy"]},yaml:{filenames:[".clang-format",".clang-tidy",".gemrc","glide.lock"],extnames:["yml","mir","reek","rviz","sublime-syntax","syntax","yaml","yaml-tmlanguage"]}};Object.entries(o).reduce((e,n)=>{let[t,s]=n;return{...e,[t.toLocaleLowerCase()]:s}},{});let d=e=>{let n={},t={};for(let[e,s]of Object.entries(c)){for(let t of s.filenames)(0,l.Z)(n,t)||(n[t]=[]),n[t].push(e);for(let n of s.extnames)(0,l.Z)(t,n)||(t[n]=[]),t[n].push(e)}return[].concat(n[a().basename(e)],t[a().extname(e).substring(1)]).filter(Boolean)},u=(e,n)=>{let t=()=>(0,r.Z)(n)?"Other":n;if(!e)return t();let s=Object.values(i.SQ).map(e=>e.toLocaleLowerCase()).indexOf(e.toLocaleLowerCase());if(-1===s)return t();let a=Object.keys(i.SQ)[s];return({csharp:"C#",cpp:"C++",javascript:"JavaScript",typescript:"TypeScript"})[a.toLocaleLowerCase()]||a}},47241:function(e,n,t){"use strict";t.d(n,{Eg:function(){return l},qs:function(){return r}});var s=t(17451);let a=s.a.setState,l=e=>{a(()=>({selectedModel:e}))},r=e=>{a(()=>({enableActiveSelection:e}))}},17451:function(e,n,t){"use strict";t.d(n,{a:function(){return o}});var s=t(27257),a=t(85654),l=t(57288);let r=["activeChatId"],i={activeChatId:(0,l.x0)(),selectedModel:void 0,enableActiveSelection:!0},o=(0,s.Ue)()((0,a.tJ)(()=>({...i}),{name:"tabby-chat-storage",partialize:e=>Object.fromEntries(Object.entries(e).filter(e=>{let[n]=e;return!r.includes(n)})),version:1}))},80804:function(){},23342:function(e,n){"use strict";n.Z={src:"/_next/static/media/tabby.16ac81a9.png",height:175,width:175,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAA50lEQVR42mMAgUWTGw3KsqO9QOypZeG6NekBuQzI4NCmmaZtFam/K6PtHzYlOH5ysDX7n5QYboJQsKrfd1JN6v+ldXH/F+fa/fWyNf4fEebXBlcwsSbNeWV/+f9FE+t+za2K+xNjLfPf293u6v///xkZQGDDwr7gfetm/d8xr+VPkpXgnzR3nf/xAY6vt6yfK84AUrV5+US9HWtnnVgyrfm/tiTD/9JAo//5Ea5nGUDAkoGBCUQHWEiZysuI7LcwN7wb6WV1IT7YzR7uhh3Lepg+AU2av2AiT0pCuDKDayAvSLwsM4oJAH4LXl0Gpb0HAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8}}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/4553-c01da5706224f2a4.js b/ee/tabby-webserver/ui/_next/static/chunks/4553-c01da5706224f2a4.js new file mode 100644 index 000000000000..a5e12fba5faf --- /dev/null +++ b/ee/tabby-webserver/ui/_next/static/chunks/4553-c01da5706224f2a4.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4553],{70652:function(e,r,t){e.exports=t(54007)},54491:function(e,r,t){"use strict";function o(e,[r,t]){return Math.min(t,Math.max(r,e))}t.d(r,{u:function(){return o}})},50778:function(e,r,t){"use strict";t.d(r,{Ns:function(){return $},fC:function(){return B},gb:function(){return C},l_:function(){return q},q4:function(){return x}});var o=t(65122),n=t(3546),l=t(72205),i=t(96497),a=t(47091),c=t(79869),s=t(17957),u=t(57541),d=t(65292),f=t(54491),p=t(65727);let h="ScrollArea",[w,v]=(0,a.b)(h),[b,m]=w(h),g=(0,n.forwardRef)((e,r)=>{let{__scopeScrollArea:t,type:i="hover",dir:a,scrollHideDelay:s=600,...d}=e,[f,p]=(0,n.useState)(null),[h,w]=(0,n.useState)(null),[v,m]=(0,n.useState)(null),[g,E]=(0,n.useState)(null),[S,C]=(0,n.useState)(null),[T,y]=(0,n.useState)(0),[R,_]=(0,n.useState)(0),[P,L]=(0,n.useState)(!1),[D,A]=(0,n.useState)(!1),z=(0,c.e)(r,e=>p(e)),W=(0,u.gm)(a);return(0,n.createElement)(b,{scope:t,type:i,dir:W,scrollHideDelay:s,scrollArea:f,viewport:h,onViewportChange:w,content:v,onContentChange:m,scrollbarX:g,onScrollbarXChange:E,scrollbarXEnabled:P,onScrollbarXEnabledChange:L,scrollbarY:S,onScrollbarYChange:C,scrollbarYEnabled:D,onScrollbarYEnabledChange:A,onCornerWidthChange:y,onCornerHeightChange:_},(0,n.createElement)(l.WV.div,(0,o.Z)({dir:W},d,{ref:z,style:{position:"relative","--radix-scroll-area-corner-width":T+"px","--radix-scroll-area-corner-height":R+"px",...e.style}})))}),E=(0,n.forwardRef)((e,r)=>{let{__scopeScrollArea:t,children:i,...a}=e,s=m("ScrollAreaViewport",t),u=(0,n.useRef)(null),d=(0,c.e)(r,u,s.onViewportChange);return(0,n.createElement)(n.Fragment,null,(0,n.createElement)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"}}),(0,n.createElement)(l.WV.div,(0,o.Z)({"data-radix-scroll-area-viewport":""},a,{ref:d,style:{overflowX:s.scrollbarXEnabled?"scroll":"hidden",overflowY:s.scrollbarYEnabled?"scroll":"hidden",...e.style}}),(0,n.createElement)("div",{ref:s.onContentChange,style:{minWidth:"100%",display:"table"}},i)))}),S="ScrollAreaScrollbar",C=(0,n.forwardRef)((e,r)=>{let{forceMount:t,...l}=e,i=m(S,e.__scopeScrollArea),{onScrollbarXEnabledChange:a,onScrollbarYEnabledChange:c}=i,s="horizontal"===e.orientation;return(0,n.useEffect)(()=>(s?a(!0):c(!0),()=>{s?a(!1):c(!1)}),[s,a,c]),"hover"===i.type?(0,n.createElement)(T,(0,o.Z)({},l,{ref:r,forceMount:t})):"scroll"===i.type?(0,n.createElement)(y,(0,o.Z)({},l,{ref:r,forceMount:t})):"auto"===i.type?(0,n.createElement)(R,(0,o.Z)({},l,{ref:r,forceMount:t})):"always"===i.type?(0,n.createElement)(_,(0,o.Z)({},l,{ref:r})):null}),T=(0,n.forwardRef)((e,r)=>{let{forceMount:t,...l}=e,a=m(S,e.__scopeScrollArea),[c,s]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let e=a.scrollArea,r=0;if(e){let t=()=>{window.clearTimeout(r),s(!0)},o=()=>{r=window.setTimeout(()=>s(!1),a.scrollHideDelay)};return e.addEventListener("pointerenter",t),e.addEventListener("pointerleave",o),()=>{window.clearTimeout(r),e.removeEventListener("pointerenter",t),e.removeEventListener("pointerleave",o)}}},[a.scrollArea,a.scrollHideDelay]),(0,n.createElement)(i.z,{present:t||c},(0,n.createElement)(R,(0,o.Z)({"data-state":c?"visible":"hidden"},l,{ref:r})))}),y=(0,n.forwardRef)((e,r)=>{var t;let{forceMount:l,...a}=e,c=m(S,e.__scopeScrollArea),s="horizontal"===e.orientation,u=V(()=>f("SCROLL_END"),100),[d,f]=(t={hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}},(0,n.useReducer)((e,r)=>{let o=t[e][r];return null!=o?o:e},"hidden"));return(0,n.useEffect)(()=>{if("idle"===d){let e=window.setTimeout(()=>f("HIDE"),c.scrollHideDelay);return()=>window.clearTimeout(e)}},[d,c.scrollHideDelay,f]),(0,n.useEffect)(()=>{let e=c.viewport,r=s?"scrollLeft":"scrollTop";if(e){let t=e[r],o=()=>{let o=e[r],n=t!==o;n&&(f("SCROLL"),u()),t=o};return e.addEventListener("scroll",o),()=>e.removeEventListener("scroll",o)}},[c.viewport,s,f,u]),(0,n.createElement)(i.z,{present:l||"hidden"!==d},(0,n.createElement)(_,(0,o.Z)({"data-state":"hidden"===d?"hidden":"visible"},a,{ref:r,onPointerEnter:(0,p.M)(e.onPointerEnter,()=>f("POINTER_ENTER")),onPointerLeave:(0,p.M)(e.onPointerLeave,()=>f("POINTER_LEAVE"))})))}),R=(0,n.forwardRef)((e,r)=>{let t=m(S,e.__scopeScrollArea),{forceMount:l,...a}=e,[c,s]=(0,n.useState)(!1),u="horizontal"===e.orientation,d=V(()=>{if(t.viewport){let e=t.viewport.offsetWidth{let{orientation:t="vertical",...l}=e,i=m(S,e.__scopeScrollArea),a=(0,n.useRef)(null),c=(0,n.useRef)(0),[s,u]=(0,n.useState)({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=Y(s.viewport,s.content),f={...l,sizes:s,onSizesChange:u,hasThumb:!!(d>0&&d<1),onThumbChange:e=>a.current=e,onThumbPointerUp:()=>c.current=0,onThumbPointerDown:e=>c.current=e};function p(e,r){return function(e,r,t,o="ltr"){let n=I(t),l=r||n/2,i=t.scrollbar.paddingStart+l,a=t.scrollbar.size-t.scrollbar.paddingEnd-(n-l),c=t.content-t.viewport,s=U([i,a],"ltr"===o?[0,c]:[-1*c,0]);return s(e)}(e,c.current,s,r)}return"horizontal"===t?(0,n.createElement)(P,(0,o.Z)({},f,{ref:r,onThumbPositionChange:()=>{if(i.viewport&&a.current){let e=i.viewport.scrollLeft,r=O(e,s,i.dir);a.current.style.transform=`translate3d(${r}px, 0, 0)`}},onWheelScroll:e=>{i.viewport&&(i.viewport.scrollLeft=e)},onDragScroll:e=>{i.viewport&&(i.viewport.scrollLeft=p(e,i.dir))}})):"vertical"===t?(0,n.createElement)(L,(0,o.Z)({},f,{ref:r,onThumbPositionChange:()=>{if(i.viewport&&a.current){let e=i.viewport.scrollTop,r=O(e,s);a.current.style.transform=`translate3d(0, ${r}px, 0)`}},onWheelScroll:e=>{i.viewport&&(i.viewport.scrollTop=e)},onDragScroll:e=>{i.viewport&&(i.viewport.scrollTop=p(e))}})):null}),P=(0,n.forwardRef)((e,r)=>{let{sizes:t,onSizesChange:l,...i}=e,a=m(S,e.__scopeScrollArea),[s,u]=(0,n.useState)(),d=(0,n.useRef)(null),f=(0,c.e)(r,d,a.onScrollbarXChange);return(0,n.useEffect)(()=>{d.current&&u(getComputedStyle(d.current))},[d]),(0,n.createElement)(z,(0,o.Z)({"data-orientation":"horizontal"},i,{ref:f,sizes:t,style:{bottom:0,left:"rtl"===a.dir?"var(--radix-scroll-area-corner-width)":0,right:"ltr"===a.dir?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":I(t)+"px",...e.style},onThumbPointerDown:r=>e.onThumbPointerDown(r.x),onDragScroll:r=>e.onDragScroll(r.x),onWheelScroll:(r,t)=>{if(a.viewport){let o=a.viewport.scrollLeft+r.deltaX;e.onWheelScroll(o),o>0&&o{d.current&&a.viewport&&s&&l({content:a.viewport.scrollWidth,viewport:a.viewport.offsetWidth,scrollbar:{size:d.current.clientWidth,paddingStart:X(s.paddingLeft),paddingEnd:X(s.paddingRight)}})}}))}),L=(0,n.forwardRef)((e,r)=>{let{sizes:t,onSizesChange:l,...i}=e,a=m(S,e.__scopeScrollArea),[s,u]=(0,n.useState)(),d=(0,n.useRef)(null),f=(0,c.e)(r,d,a.onScrollbarYChange);return(0,n.useEffect)(()=>{d.current&&u(getComputedStyle(d.current))},[d]),(0,n.createElement)(z,(0,o.Z)({"data-orientation":"vertical"},i,{ref:f,sizes:t,style:{top:0,right:"ltr"===a.dir?0:void 0,left:"rtl"===a.dir?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":I(t)+"px",...e.style},onThumbPointerDown:r=>e.onThumbPointerDown(r.y),onDragScroll:r=>e.onDragScroll(r.y),onWheelScroll:(r,t)=>{if(a.viewport){let o=a.viewport.scrollTop+r.deltaY;e.onWheelScroll(o),o>0&&o{d.current&&a.viewport&&s&&l({content:a.viewport.scrollHeight,viewport:a.viewport.offsetHeight,scrollbar:{size:d.current.clientHeight,paddingStart:X(s.paddingTop),paddingEnd:X(s.paddingBottom)}})}}))}),[D,A]=w(S),z=(0,n.forwardRef)((e,r)=>{let{__scopeScrollArea:t,sizes:i,hasThumb:a,onThumbChange:u,onThumbPointerUp:d,onThumbPointerDown:f,onThumbPositionChange:h,onDragScroll:w,onWheelScroll:v,onResize:b,...g}=e,E=m(S,t),[C,T]=(0,n.useState)(null),y=(0,c.e)(r,e=>T(e)),R=(0,n.useRef)(null),_=(0,n.useRef)(""),P=E.viewport,L=i.content-i.viewport,A=(0,s.W)(v),z=(0,s.W)(h),W=V(b,10);function x(e){if(R.current){let r=e.clientX-R.current.left,t=e.clientY-R.current.top;w({x:r,y:t})}}return(0,n.useEffect)(()=>{let e=e=>{let r=e.target,t=null==C?void 0:C.contains(r);t&&A(e,L)};return document.addEventListener("wheel",e,{passive:!1}),()=>document.removeEventListener("wheel",e,{passive:!1})},[P,C,L,A]),(0,n.useEffect)(z,[i,z]),F(C,W),F(E.content,W),(0,n.createElement)(D,{scope:t,scrollbar:C,hasThumb:a,onThumbChange:(0,s.W)(u),onThumbPointerUp:(0,s.W)(d),onThumbPositionChange:z,onThumbPointerDown:(0,s.W)(f)},(0,n.createElement)(l.WV.div,(0,o.Z)({},g,{ref:y,style:{position:"absolute",...g.style},onPointerDown:(0,p.M)(e.onPointerDown,e=>{if(0===e.button){let r=e.target;r.setPointerCapture(e.pointerId),R.current=C.getBoundingClientRect(),_.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",E.viewport&&(E.viewport.style.scrollBehavior="auto"),x(e)}}),onPointerMove:(0,p.M)(e.onPointerMove,x),onPointerUp:(0,p.M)(e.onPointerUp,e=>{let r=e.target;r.hasPointerCapture(e.pointerId)&&r.releasePointerCapture(e.pointerId),document.body.style.webkitUserSelect=_.current,E.viewport&&(E.viewport.style.scrollBehavior=""),R.current=null})})))}),W="ScrollAreaThumb",x=(0,n.forwardRef)((e,r)=>{let{forceMount:t,...l}=e,a=A(W,e.__scopeScrollArea);return(0,n.createElement)(i.z,{present:t||a.hasThumb},(0,n.createElement)(M,(0,o.Z)({ref:r},l)))}),M=(0,n.forwardRef)((e,r)=>{let{__scopeScrollArea:t,style:i,...a}=e,s=m(W,t),u=A(W,t),{onThumbPositionChange:d}=u,f=(0,c.e)(r,e=>u.onThumbChange(e)),h=(0,n.useRef)(),w=V(()=>{h.current&&(h.current(),h.current=void 0)},100);return(0,n.useEffect)(()=>{let e=s.viewport;if(e){let r=()=>{if(w(),!h.current){let r=k(e,d);h.current=r,d()}};return d(),e.addEventListener("scroll",r),()=>e.removeEventListener("scroll",r)}},[s.viewport,w,d]),(0,n.createElement)(l.WV.div,(0,o.Z)({"data-state":u.hasThumb?"visible":"hidden"},a,{ref:f,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...i},onPointerDownCapture:(0,p.M)(e.onPointerDownCapture,e=>{let r=e.target,t=r.getBoundingClientRect(),o=e.clientX-t.left,n=e.clientY-t.top;u.onThumbPointerDown({x:o,y:n})}),onPointerUp:(0,p.M)(e.onPointerUp,u.onThumbPointerUp)}))}),Z="ScrollAreaCorner",H=(0,n.forwardRef)((e,r)=>{let t=m(Z,e.__scopeScrollArea),l=!!(t.scrollbarX&&t.scrollbarY),i="scroll"!==t.type&&l;return i?(0,n.createElement)(N,(0,o.Z)({},e,{ref:r})):null}),N=(0,n.forwardRef)((e,r)=>{let{__scopeScrollArea:t,...i}=e,a=m(Z,t),[c,s]=(0,n.useState)(0),[u,d]=(0,n.useState)(0);return F(a.scrollbarX,()=>{var e;let r=(null===(e=a.scrollbarX)||void 0===e?void 0:e.offsetHeight)||0;a.onCornerHeightChange(r),d(r)}),F(a.scrollbarY,()=>{var e;let r=(null===(e=a.scrollbarY)||void 0===e?void 0:e.offsetWidth)||0;a.onCornerWidthChange(r),s(r)}),c&&u?(0,n.createElement)(l.WV.div,(0,o.Z)({},i,{ref:r,style:{width:c,height:u,position:"absolute",right:"ltr"===a.dir?0:void 0,left:"rtl"===a.dir?0:void 0,bottom:0,...e.style}})):null});function X(e){return e?parseInt(e,10):0}function Y(e,r){let t=e/r;return isNaN(t)?0:t}function I(e){let r=Y(e.viewport,e.content),t=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,o=(e.scrollbar.size-t)*r;return Math.max(o,18)}function O(e,r,t="ltr"){let o=I(r),n=r.scrollbar.paddingStart+r.scrollbar.paddingEnd,l=r.scrollbar.size-n,i=r.content-r.viewport,a="ltr"===t?[0,i]:[-1*i,0],c=(0,f.u)(e,a),s=U([0,i],[0,l-o]);return s(c)}function U(e,r){return t=>{if(e[0]===e[1]||r[0]===r[1])return r[0];let o=(r[1]-r[0])/(e[1]-e[0]);return r[0]+o*(t-e[0])}}let k=(e,r=()=>{})=>{let t={left:e.scrollLeft,top:e.scrollTop},o=0;return!function n(){let l={left:e.scrollLeft,top:e.scrollTop},i=t.left!==l.left,a=t.top!==l.top;(i||a)&&r(),t=l,o=window.requestAnimationFrame(n)}(),()=>window.cancelAnimationFrame(o)};function V(e,r){let t=(0,s.W)(e),o=(0,n.useRef)(0);return(0,n.useEffect)(()=>()=>window.clearTimeout(o.current),[]),(0,n.useCallback)(()=>{window.clearTimeout(o.current),o.current=window.setTimeout(t,r)},[t,r])}function F(e,r){let t=(0,s.W)(r);(0,d.b)(()=>{let r=0;if(e){let o=new ResizeObserver(()=>{cancelAnimationFrame(r),r=window.requestAnimationFrame(t)});return o.observe(e),()=>{window.cancelAnimationFrame(r),o.unobserve(e)}}},[e,t])}let B=g,q=E,$=H}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/4553-fa293c4e48acfb94.js b/ee/tabby-webserver/ui/_next/static/chunks/4553-fa293c4e48acfb94.js deleted file mode 100644 index 754fad3983a3..000000000000 --- a/ee/tabby-webserver/ui/_next/static/chunks/4553-fa293c4e48acfb94.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4553],{70652:function(e,r,t){e.exports=t(54007)},50778:function(e,r,t){"use strict";t.d(r,{Ns:function(){return $},fC:function(){return B},gb:function(){return C},l_:function(){return q},q4:function(){return x}});var o=t(65122),n=t(3546),l=t(72205),i=t(96497),a=t(47091),c=t(79869),s=t(17957),u=t(57541),d=t(65292),f=t(54491),p=t(65727);let h="ScrollArea",[w,v]=(0,a.b)(h),[b,m]=w(h),g=(0,n.forwardRef)((e,r)=>{let{__scopeScrollArea:t,type:i="hover",dir:a,scrollHideDelay:s=600,...d}=e,[f,p]=(0,n.useState)(null),[h,w]=(0,n.useState)(null),[v,m]=(0,n.useState)(null),[g,E]=(0,n.useState)(null),[S,C]=(0,n.useState)(null),[T,y]=(0,n.useState)(0),[R,_]=(0,n.useState)(0),[P,L]=(0,n.useState)(!1),[D,A]=(0,n.useState)(!1),z=(0,c.e)(r,e=>p(e)),W=(0,u.gm)(a);return(0,n.createElement)(b,{scope:t,type:i,dir:W,scrollHideDelay:s,scrollArea:f,viewport:h,onViewportChange:w,content:v,onContentChange:m,scrollbarX:g,onScrollbarXChange:E,scrollbarXEnabled:P,onScrollbarXEnabledChange:L,scrollbarY:S,onScrollbarYChange:C,scrollbarYEnabled:D,onScrollbarYEnabledChange:A,onCornerWidthChange:y,onCornerHeightChange:_},(0,n.createElement)(l.WV.div,(0,o.Z)({dir:W},d,{ref:z,style:{position:"relative","--radix-scroll-area-corner-width":T+"px","--radix-scroll-area-corner-height":R+"px",...e.style}})))}),E=(0,n.forwardRef)((e,r)=>{let{__scopeScrollArea:t,children:i,...a}=e,s=m("ScrollAreaViewport",t),u=(0,n.useRef)(null),d=(0,c.e)(r,u,s.onViewportChange);return(0,n.createElement)(n.Fragment,null,(0,n.createElement)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"}}),(0,n.createElement)(l.WV.div,(0,o.Z)({"data-radix-scroll-area-viewport":""},a,{ref:d,style:{overflowX:s.scrollbarXEnabled?"scroll":"hidden",overflowY:s.scrollbarYEnabled?"scroll":"hidden",...e.style}}),(0,n.createElement)("div",{ref:s.onContentChange,style:{minWidth:"100%",display:"table"}},i)))}),S="ScrollAreaScrollbar",C=(0,n.forwardRef)((e,r)=>{let{forceMount:t,...l}=e,i=m(S,e.__scopeScrollArea),{onScrollbarXEnabledChange:a,onScrollbarYEnabledChange:c}=i,s="horizontal"===e.orientation;return(0,n.useEffect)(()=>(s?a(!0):c(!0),()=>{s?a(!1):c(!1)}),[s,a,c]),"hover"===i.type?(0,n.createElement)(T,(0,o.Z)({},l,{ref:r,forceMount:t})):"scroll"===i.type?(0,n.createElement)(y,(0,o.Z)({},l,{ref:r,forceMount:t})):"auto"===i.type?(0,n.createElement)(R,(0,o.Z)({},l,{ref:r,forceMount:t})):"always"===i.type?(0,n.createElement)(_,(0,o.Z)({},l,{ref:r})):null}),T=(0,n.forwardRef)((e,r)=>{let{forceMount:t,...l}=e,a=m(S,e.__scopeScrollArea),[c,s]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let e=a.scrollArea,r=0;if(e){let t=()=>{window.clearTimeout(r),s(!0)},o=()=>{r=window.setTimeout(()=>s(!1),a.scrollHideDelay)};return e.addEventListener("pointerenter",t),e.addEventListener("pointerleave",o),()=>{window.clearTimeout(r),e.removeEventListener("pointerenter",t),e.removeEventListener("pointerleave",o)}}},[a.scrollArea,a.scrollHideDelay]),(0,n.createElement)(i.z,{present:t||c},(0,n.createElement)(R,(0,o.Z)({"data-state":c?"visible":"hidden"},l,{ref:r})))}),y=(0,n.forwardRef)((e,r)=>{var t;let{forceMount:l,...a}=e,c=m(S,e.__scopeScrollArea),s="horizontal"===e.orientation,u=V(()=>f("SCROLL_END"),100),[d,f]=(t={hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}},(0,n.useReducer)((e,r)=>{let o=t[e][r];return null!=o?o:e},"hidden"));return(0,n.useEffect)(()=>{if("idle"===d){let e=window.setTimeout(()=>f("HIDE"),c.scrollHideDelay);return()=>window.clearTimeout(e)}},[d,c.scrollHideDelay,f]),(0,n.useEffect)(()=>{let e=c.viewport,r=s?"scrollLeft":"scrollTop";if(e){let t=e[r],o=()=>{let o=e[r],n=t!==o;n&&(f("SCROLL"),u()),t=o};return e.addEventListener("scroll",o),()=>e.removeEventListener("scroll",o)}},[c.viewport,s,f,u]),(0,n.createElement)(i.z,{present:l||"hidden"!==d},(0,n.createElement)(_,(0,o.Z)({"data-state":"hidden"===d?"hidden":"visible"},a,{ref:r,onPointerEnter:(0,p.M)(e.onPointerEnter,()=>f("POINTER_ENTER")),onPointerLeave:(0,p.M)(e.onPointerLeave,()=>f("POINTER_LEAVE"))})))}),R=(0,n.forwardRef)((e,r)=>{let t=m(S,e.__scopeScrollArea),{forceMount:l,...a}=e,[c,s]=(0,n.useState)(!1),u="horizontal"===e.orientation,d=V(()=>{if(t.viewport){let e=t.viewport.offsetWidth{let{orientation:t="vertical",...l}=e,i=m(S,e.__scopeScrollArea),a=(0,n.useRef)(null),c=(0,n.useRef)(0),[s,u]=(0,n.useState)({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=Y(s.viewport,s.content),f={...l,sizes:s,onSizesChange:u,hasThumb:!!(d>0&&d<1),onThumbChange:e=>a.current=e,onThumbPointerUp:()=>c.current=0,onThumbPointerDown:e=>c.current=e};function p(e,r){return function(e,r,t,o="ltr"){let n=I(t),l=r||n/2,i=t.scrollbar.paddingStart+l,a=t.scrollbar.size-t.scrollbar.paddingEnd-(n-l),c=t.content-t.viewport,s=U([i,a],"ltr"===o?[0,c]:[-1*c,0]);return s(e)}(e,c.current,s,r)}return"horizontal"===t?(0,n.createElement)(P,(0,o.Z)({},f,{ref:r,onThumbPositionChange:()=>{if(i.viewport&&a.current){let e=i.viewport.scrollLeft,r=O(e,s,i.dir);a.current.style.transform=`translate3d(${r}px, 0, 0)`}},onWheelScroll:e=>{i.viewport&&(i.viewport.scrollLeft=e)},onDragScroll:e=>{i.viewport&&(i.viewport.scrollLeft=p(e,i.dir))}})):"vertical"===t?(0,n.createElement)(L,(0,o.Z)({},f,{ref:r,onThumbPositionChange:()=>{if(i.viewport&&a.current){let e=i.viewport.scrollTop,r=O(e,s);a.current.style.transform=`translate3d(0, ${r}px, 0)`}},onWheelScroll:e=>{i.viewport&&(i.viewport.scrollTop=e)},onDragScroll:e=>{i.viewport&&(i.viewport.scrollTop=p(e))}})):null}),P=(0,n.forwardRef)((e,r)=>{let{sizes:t,onSizesChange:l,...i}=e,a=m(S,e.__scopeScrollArea),[s,u]=(0,n.useState)(),d=(0,n.useRef)(null),f=(0,c.e)(r,d,a.onScrollbarXChange);return(0,n.useEffect)(()=>{d.current&&u(getComputedStyle(d.current))},[d]),(0,n.createElement)(z,(0,o.Z)({"data-orientation":"horizontal"},i,{ref:f,sizes:t,style:{bottom:0,left:"rtl"===a.dir?"var(--radix-scroll-area-corner-width)":0,right:"ltr"===a.dir?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":I(t)+"px",...e.style},onThumbPointerDown:r=>e.onThumbPointerDown(r.x),onDragScroll:r=>e.onDragScroll(r.x),onWheelScroll:(r,t)=>{if(a.viewport){let o=a.viewport.scrollLeft+r.deltaX;e.onWheelScroll(o),o>0&&o{d.current&&a.viewport&&s&&l({content:a.viewport.scrollWidth,viewport:a.viewport.offsetWidth,scrollbar:{size:d.current.clientWidth,paddingStart:X(s.paddingLeft),paddingEnd:X(s.paddingRight)}})}}))}),L=(0,n.forwardRef)((e,r)=>{let{sizes:t,onSizesChange:l,...i}=e,a=m(S,e.__scopeScrollArea),[s,u]=(0,n.useState)(),d=(0,n.useRef)(null),f=(0,c.e)(r,d,a.onScrollbarYChange);return(0,n.useEffect)(()=>{d.current&&u(getComputedStyle(d.current))},[d]),(0,n.createElement)(z,(0,o.Z)({"data-orientation":"vertical"},i,{ref:f,sizes:t,style:{top:0,right:"ltr"===a.dir?0:void 0,left:"rtl"===a.dir?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":I(t)+"px",...e.style},onThumbPointerDown:r=>e.onThumbPointerDown(r.y),onDragScroll:r=>e.onDragScroll(r.y),onWheelScroll:(r,t)=>{if(a.viewport){let o=a.viewport.scrollTop+r.deltaY;e.onWheelScroll(o),o>0&&o{d.current&&a.viewport&&s&&l({content:a.viewport.scrollHeight,viewport:a.viewport.offsetHeight,scrollbar:{size:d.current.clientHeight,paddingStart:X(s.paddingTop),paddingEnd:X(s.paddingBottom)}})}}))}),[D,A]=w(S),z=(0,n.forwardRef)((e,r)=>{let{__scopeScrollArea:t,sizes:i,hasThumb:a,onThumbChange:u,onThumbPointerUp:d,onThumbPointerDown:f,onThumbPositionChange:h,onDragScroll:w,onWheelScroll:v,onResize:b,...g}=e,E=m(S,t),[C,T]=(0,n.useState)(null),y=(0,c.e)(r,e=>T(e)),R=(0,n.useRef)(null),_=(0,n.useRef)(""),P=E.viewport,L=i.content-i.viewport,A=(0,s.W)(v),z=(0,s.W)(h),W=V(b,10);function x(e){if(R.current){let r=e.clientX-R.current.left,t=e.clientY-R.current.top;w({x:r,y:t})}}return(0,n.useEffect)(()=>{let e=e=>{let r=e.target,t=null==C?void 0:C.contains(r);t&&A(e,L)};return document.addEventListener("wheel",e,{passive:!1}),()=>document.removeEventListener("wheel",e,{passive:!1})},[P,C,L,A]),(0,n.useEffect)(z,[i,z]),F(C,W),F(E.content,W),(0,n.createElement)(D,{scope:t,scrollbar:C,hasThumb:a,onThumbChange:(0,s.W)(u),onThumbPointerUp:(0,s.W)(d),onThumbPositionChange:z,onThumbPointerDown:(0,s.W)(f)},(0,n.createElement)(l.WV.div,(0,o.Z)({},g,{ref:y,style:{position:"absolute",...g.style},onPointerDown:(0,p.M)(e.onPointerDown,e=>{if(0===e.button){let r=e.target;r.setPointerCapture(e.pointerId),R.current=C.getBoundingClientRect(),_.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",E.viewport&&(E.viewport.style.scrollBehavior="auto"),x(e)}}),onPointerMove:(0,p.M)(e.onPointerMove,x),onPointerUp:(0,p.M)(e.onPointerUp,e=>{let r=e.target;r.hasPointerCapture(e.pointerId)&&r.releasePointerCapture(e.pointerId),document.body.style.webkitUserSelect=_.current,E.viewport&&(E.viewport.style.scrollBehavior=""),R.current=null})})))}),W="ScrollAreaThumb",x=(0,n.forwardRef)((e,r)=>{let{forceMount:t,...l}=e,a=A(W,e.__scopeScrollArea);return(0,n.createElement)(i.z,{present:t||a.hasThumb},(0,n.createElement)(M,(0,o.Z)({ref:r},l)))}),M=(0,n.forwardRef)((e,r)=>{let{__scopeScrollArea:t,style:i,...a}=e,s=m(W,t),u=A(W,t),{onThumbPositionChange:d}=u,f=(0,c.e)(r,e=>u.onThumbChange(e)),h=(0,n.useRef)(),w=V(()=>{h.current&&(h.current(),h.current=void 0)},100);return(0,n.useEffect)(()=>{let e=s.viewport;if(e){let r=()=>{if(w(),!h.current){let r=k(e,d);h.current=r,d()}};return d(),e.addEventListener("scroll",r),()=>e.removeEventListener("scroll",r)}},[s.viewport,w,d]),(0,n.createElement)(l.WV.div,(0,o.Z)({"data-state":u.hasThumb?"visible":"hidden"},a,{ref:f,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...i},onPointerDownCapture:(0,p.M)(e.onPointerDownCapture,e=>{let r=e.target,t=r.getBoundingClientRect(),o=e.clientX-t.left,n=e.clientY-t.top;u.onThumbPointerDown({x:o,y:n})}),onPointerUp:(0,p.M)(e.onPointerUp,u.onThumbPointerUp)}))}),Z="ScrollAreaCorner",H=(0,n.forwardRef)((e,r)=>{let t=m(Z,e.__scopeScrollArea),l=!!(t.scrollbarX&&t.scrollbarY),i="scroll"!==t.type&&l;return i?(0,n.createElement)(N,(0,o.Z)({},e,{ref:r})):null}),N=(0,n.forwardRef)((e,r)=>{let{__scopeScrollArea:t,...i}=e,a=m(Z,t),[c,s]=(0,n.useState)(0),[u,d]=(0,n.useState)(0);return F(a.scrollbarX,()=>{var e;let r=(null===(e=a.scrollbarX)||void 0===e?void 0:e.offsetHeight)||0;a.onCornerHeightChange(r),d(r)}),F(a.scrollbarY,()=>{var e;let r=(null===(e=a.scrollbarY)||void 0===e?void 0:e.offsetWidth)||0;a.onCornerWidthChange(r),s(r)}),c&&u?(0,n.createElement)(l.WV.div,(0,o.Z)({},i,{ref:r,style:{width:c,height:u,position:"absolute",right:"ltr"===a.dir?0:void 0,left:"rtl"===a.dir?0:void 0,bottom:0,...e.style}})):null});function X(e){return e?parseInt(e,10):0}function Y(e,r){let t=e/r;return isNaN(t)?0:t}function I(e){let r=Y(e.viewport,e.content),t=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,o=(e.scrollbar.size-t)*r;return Math.max(o,18)}function O(e,r,t="ltr"){let o=I(r),n=r.scrollbar.paddingStart+r.scrollbar.paddingEnd,l=r.scrollbar.size-n,i=r.content-r.viewport,a="ltr"===t?[0,i]:[-1*i,0],c=(0,f.u)(e,a),s=U([0,i],[0,l-o]);return s(c)}function U(e,r){return t=>{if(e[0]===e[1]||r[0]===r[1])return r[0];let o=(r[1]-r[0])/(e[1]-e[0]);return r[0]+o*(t-e[0])}}let k=(e,r=()=>{})=>{let t={left:e.scrollLeft,top:e.scrollTop},o=0;return!function n(){let l={left:e.scrollLeft,top:e.scrollTop},i=t.left!==l.left,a=t.top!==l.top;(i||a)&&r(),t=l,o=window.requestAnimationFrame(n)}(),()=>window.cancelAnimationFrame(o)};function V(e,r){let t=(0,s.W)(e),o=(0,n.useRef)(0);return(0,n.useEffect)(()=>()=>window.clearTimeout(o.current),[]),(0,n.useCallback)(()=>{window.clearTimeout(o.current),o.current=window.setTimeout(t,r)},[t,r])}function F(e,r){let t=(0,s.W)(r);(0,d.b)(()=>{let r=0;if(e){let o=new ResizeObserver(()=>{cancelAnimationFrame(r),r=window.requestAnimationFrame(t)});return o.observe(e),()=>{window.cancelAnimationFrame(r),o.unobserve(e)}}},[e,t])}let B=g,q=E,$=H}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/4595-31f4c3bb94430a80.js b/ee/tabby-webserver/ui/_next/static/chunks/4595-31f4c3bb94430a80.js deleted file mode 100644 index f1b0d3fe93eb..000000000000 --- a/ee/tabby-webserver/ui/_next/static/chunks/4595-31f4c3bb94430a80.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4595],{99807:function(n,r,t){t.d(r,{T:function(){return i},f:function(){return c}});var e=t(65122),u=t(3546),o=t(72205);let i=(0,u.forwardRef)((n,r)=>(0,u.createElement)(o.WV.span,(0,e.Z)({},n,{ref:r,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...n.style}}))),c=i},64143:function(n,r){r.Z=function(n,r){for(var t=-1,e=null==n?0:n.length,u=Array(e);++t0&&e(a)?t>1?n(a,t-1,e,u,i):(0,o.Z)(i,a):u||(i[i.length]=a)}return i},v=function(n,r,t){switch(t.length){case 0:return n.call(r);case 1:return n.call(r,t[0]);case 2:return n.call(r,t[0],t[1]);case 3:return n.call(r,t[0],t[1],t[2])}return n.apply(r,t)},p=Math.max,s=t(27015),h=t(11403),y=s.Z?function(n,r){return(0,s.Z)(n,"toString",{configurable:!0,enumerable:!1,value:function(){return r},writable:!0})}:h.Z,b=Date.now,d=(e=0,u=0,function(){var n=b(),r=16-(n-u);if(u=n,r>0){if(++e>=800)return arguments[0]}else e=0;return y.apply(void 0,arguments)}),g=function(n){var r;return d((r=p((r=void 0,n.length-1),0),function(){for(var t,e=arguments,u=-1,o=p(e.length-r,0),i=Array(o);++u-1&&n%1==0&&n-1&&n%1==0&&n<=9007199254740991}},55357:function(n,r,t){var e=t(17996),u=t(96786);r.Z=function(n){return"symbol"==typeof n||(0,u.Z)(n)&&"[object Symbol]"==(0,e.Z)(n)}},82030:function(n,r,t){t.d(r,{Z:function(){return o}});var e=t(94219),u=t(79204),o=(0,t(43285).Z)(function(n,r){return null==n?{}:(0,e.Z)(n,r,function(r,t){return(0,u.Z)(n,t)})})},26165:function(n,r,t){var e=t(18216),u=t(84639),o=t(55357),i=0/0,c=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,a=/^0o[0-7]+$/i,l=parseInt;r.Z=function(n){if("number"==typeof n)return n;if((0,o.Z)(n))return i;if((0,u.Z)(n)){var r="function"==typeof n.valueOf?n.valueOf():n;n=(0,u.Z)(r)?r+"":r}if("string"!=typeof n)return 0===n?n:+n;n=(0,e.Z)(n);var t=f.test(n);return t||a.test(n)?l(n.slice(2),t?2:8):c.test(n)?i:+n}},53294:function(n,r,t){var e=t(4109);r.Z=function(n){return null==n?"":(0,e.Z)(n)}}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/4656-a8e1392ecf65ea7a.js b/ee/tabby-webserver/ui/_next/static/chunks/4656-66c7782026bb7bef.js similarity index 59% rename from ee/tabby-webserver/ui/_next/static/chunks/4656-a8e1392ecf65ea7a.js rename to ee/tabby-webserver/ui/_next/static/chunks/4656-66c7782026bb7bef.js index ae13969645b9..a67873f29823 100644 --- a/ee/tabby-webserver/ui/_next/static/chunks/4656-a8e1392ecf65ea7a.js +++ b/ee/tabby-webserver/ui/_next/static/chunks/4656-66c7782026bb7bef.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4656],{31458:function(e,n,r){r.d(n,{d:function(){return u},z:function(){return d}});var t=r(36164),i=r(3546),s=r(74047),o=r(14375),a=r(57288);let u=(0,o.j)("inline-flex items-center justify-center rounded-md text-sm font-medium shadow ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-md hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90","hover-destructive":"shadow-none hover:bg-destructive/90 hover:text-destructive-foreground",outline:"border border-input hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"shadow-none hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 shadow-none hover:underline"},size:{default:"h-8 px-4 py-2",sm:"h-8 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-8 w-8 p-0"}},defaultVariants:{variant:"default",size:"default"}}),d=i.forwardRef((e,n)=>{let{className:r,variant:i,size:o,asChild:d=!1,...l}=e,c=d?s.g7:"button";return(0,t.jsx)(c,{className:(0,a.cn)(u({variant:i,size:o,className:r})),ref:n,...l})});d.displayName="Button"},80605:function(e,n,r){r.d(n,{UA:function(){return f},Uw:function(){return l},c7:function(){return d},jJ:function(){return c},vN:function(){return a},xG:function(){return u}});var t=r(40055),i=r(43240);let s=(0,i.BX)("\n query GetServerInfo {\n serverInfo {\n isAdminInitialized\n isEmailConfigured\n isChatEnabled\n allowSelfSignup\n isDemoMode\n }\n }\n"),o=()=>{let[{data:e}]=(0,t.aM)({query:s});return null==e?void 0:e.serverInfo},a=()=>{let[{fetching:e}]=(0,t.aM)({query:s});return e},u=()=>{var e;return null===(e=o())||void 0===e?void 0:e.isChatEnabled},d=()=>{var e;return null===(e=o())||void 0===e?void 0:e.isAdminInitialized},l=()=>{var e;return null===(e=o())||void 0===e?void 0:e.isEmailConfigured},c=()=>{var e;return null===(e=o())||void 0===e?void 0:e.allowSelfSignup},f=()=>{var e;return null===(e=o())||void 0===e?void 0:e.isDemoMode}},91302:function(e,n,r){r.d(n,{Dp:function(){return p},Ho:function(){return y},QJ:function(){return k},av:function(){return P},kP:function(){return S},zq:function(){return $}});var t,i,s=r(36164),o=r(3546),a=r(11978),u=r(24426),d=r.n(u),l=r(43240),c=r(80605),f=r(11634),v=r(66794);function g(e,n){var r,t;let s=function(e,n){switch(n.type){case i.SignIn:case i.Refresh:return{status:"authenticated",data:n.data};case i.SignOut:return{status:"unauthenticated",data:void 0}}}(0,n);return e.status==s.status&&(r=e.data,t=s.data,(null==r?void 0:r.accessToken)===(null==t?void 0:t.accessToken)&&(null==r?void 0:r.refreshToken)===(null==t?void 0:t.refreshToken))?e:s}(t=i||(i={}))[t.SignIn=0]="SignIn",t[t.SignOut=1]="SignOut",t[t.Refresh=2]="Refresh";let h=o.createContext({}),p=(0,l.BX)("\n mutation refreshToken($refreshToken: String!) {\n refreshToken(refreshToken: $refreshToken) {\n accessToken\n refreshToken\n }\n }\n"),m=(0,l.BX)("\n mutation LogoutAllSessions {\n logoutAllSessions\n }\n"),y=e=>{let{children:n}=e,[r,t]=o.useState(!1),[a]=d()(v.nd,void 0),[u,l]=o.useReducer(g,{status:"loading",data:void 0});o.useEffect(()=>{(null==a?void 0:a.accessToken)&&(null==a?void 0:a.refreshToken)?l({type:i.SignIn,data:a}):l({type:i.SignOut}),t(!0)},[]),o.useEffect(()=>{!r||((null==a?void 0:a.accessToken)&&(null==a?void 0:a.refreshToken)?l({type:i.Refresh,data:a}):(null==a?void 0:a.accessToken)||(null==a?void 0:a.refreshToken)||l({type:i.SignOut}))},[a]);let c=o.useMemo(()=>{var e;return(null==u?void 0:u.status)=="authenticated"?{data:{accessToken:u.data.accessToken},status:u.status}:{status:null!==(e=null==u?void 0:u.status)&&void 0!==e?e:"loading",data:null}},[u]);return(0,s.jsx)(h.Provider,{value:{authState:u,dispatch:l,session:c},children:n})};class b extends Error{constructor(){super("AuthProvider is missing. Please add the AuthProvider at root level")}}function I(){let e=o.useContext(h);if(!e)throw new b;return e}function $(){let{dispatch:e}=I(),[n,r]=d()(v.nd,void 0);return async n=>(r({accessToken:n.accessToken,refreshToken:n.refreshToken}),e({type:i.SignIn,data:n}),!0)}function k(){let e=(0,f.Db)(m),{dispatch:n}=I(),[r,t]=d()(v.nd,void 0);return async()=>{await e(),t(void 0),n({type:i.SignOut})}}function S(){let{session:e}=I();return e}let A=["/auth/signin","/auth/signup","/auth/reset-password"];function P(){let e=(0,c.c7)(),n=(0,a.useRouter)(),r=(0,a.usePathname)(),t=(0,a.useSearchParams)(),{data:i,status:s}=S();return o.useEffect(()=>{if("loading"===s||"authenticated"===s||void 0===e)return;let i="/auth/signup"===r&&"true"===t.get("isAdmin");if(!i&&!e)return n.replace("/auth/signup?isAdmin=true");A.includes(r)||n.replace("/auth/signin")},[e,s]),i}},11634:function(e,n,r){r.d(n,{Db:function(){return g},Lp:function(){return p},zG:function(){return h}});var t=r(22365),i=r(28552),s=r(81013),o=r(17522),a=r(79716),u=r(74630),d=r(40055),l=r(44745),c=r(91302),f=r(70410),v=r(66794);function g(e,n){let[r,t]=(0,d.Db)(e),i=(null==n?void 0:n.form)?h(n.form):void 0,s=async(e,r)=>{let s;try{if(null==(s=await t(e,r))?void 0:s.error)i&&i(s.error),(null==n?void 0:n.onError)&&n.onError(s.error);else if(!(0,u.Z)(null==s?void 0:s.data)){var o;null==n||null===(o=n.onCompleted)||void 0===o||o.call(n,s.data)}}catch(e){(null==n?void 0:n.onError)&&n.onError(e);return}return s};return s}function h(e){return n=>{let{graphQLErrors:r=[]}=n;for(let n of r)if(n.extensions&&n.extensions["validation-errors"]){let r=n.extensions["validation-errors"];for(let n of r.errors)e.setError(n.path,n)}else(null==n?void 0:n.originalError)?e.setError("root",n.originalError):(null==n?void 0:n.message)&&e.setError("root",{message:n.message})}}let p=new l.KU({url:"/graphql",requestPolicy:"cache-and-network",exchanges:[(0,i.HG)({keys:{CompletionStats:()=>null,ServerInfo:()=>null,RepositorySearch:()=>null,RepositoryList:()=>null,RepositoryGrep:()=>null,GrepLine:()=>null,GrepFile:()=>null,GrepTextOrBase64:()=>null,GrepSubMatch:()=>null,GitReference:()=>null,MessageAttachment:()=>null,MessageAttachmentCode:()=>null,MessageAttachmentDoc:()=>null,NetworkSetting:()=>null,ContextInfo:()=>null},resolvers:{Query:{invitations:(0,s.N)(),gitRepositories:(0,s.N)(),webCrawlerUrls:(0,s.N)(),integrations:(0,s.N)(),threads:(0,s.N)()}},updates:{Mutation:{deleteInvitation(e,n,r,t){e.deleteInvitation&&r.inspectFields("Query").filter(e=>"invitations"===e.fieldName).forEach(e=>{r.updateQuery({query:f.lE,variables:e.arguments},e=>{var r;return(null==e?void 0:null===(r=e.invitations)||void 0===r?void 0:r.edges)&&(e.invitations.edges=e.invitations.edges.filter(e=>e.node.id!==n.id)),e})})},deleteGitRepository(e,n,r,t){e.deleteGitRepository&&r.inspectFields("Query").filter(e=>"gitRepositories"===e.fieldName).forEach(e=>{r.updateQuery({query:f.S1,variables:e.arguments},e=>{var r;return(null==e?void 0:null===(r=e.gitRepositories)||void 0===r?void 0:r.edges)&&(e.gitRepositories.edges=e.gitRepositories.edges.filter(e=>e.node.id!==n.id)),e})})},deleteIntegration(e,n,r,t){e.deleteIntegration&&r.inspectFields("Query").filter(e=>"integrations"===e.fieldName).forEach(e=>{r.updateQuery({query:f.kb,variables:e.arguments},e=>((null==e?void 0:e.integrations)&&(e.integrations.edges=e.integrations.edges.filter(e=>e.node.id!==n.id)),e))})},createIntegration(e,n,r){let t="Query";r.inspectFields(t).filter(e=>{var r,t,i;return"integrations"===e.fieldName&&!!(null===(r=e.arguments)||void 0===r?void 0:r.kind)&&(null===(t=e.arguments)||void 0===t?void 0:t.kind)===(null==n?void 0:null===(i=n.input)||void 0===i?void 0:i.kind)}).forEach(e=>{r.invalidate(t,e.fieldName,e.arguments)})},upsertUserGroupMembership(e,n,r,t){let{userGroupId:i,userId:s,isGroupAdmin:o}=n.input,{user:a,isInsert:u}=t.variables.extraParams||{};e.upsertUserGroupMembership&&r.updateQuery({query:f.gI},e=>((null==e?void 0:e.userGroups)&&(e.userGroups=e.userGroups.map(e=>{if(e.id!==i)return e;let n=[...e.members];if(u){let e=new Date().toISOString();n.push({user:{...a,__typename:"UserSecured"},isGroupAdmin:o,createdAt:e,updatedAt:e,__typename:"UserGroupMembership"})}else n=n.map(e=>e.user.id!==s?e:{...e,isGroupAdmin:o});return{...e,members:n}})),e))},deleteUserGroupMembership(e,n,r,t){let{userGroupId:i,userId:s}=n;e.deleteUserGroupMembership&&r.updateQuery({query:f.gI},e=>((null==e?void 0:e.userGroups)&&(e.userGroups=e.userGroups.map(e=>{if(e.id!==i)return e;let n=[...e.members].filter(e=>e.user.id!==s);return{...e,members:n}})),e))},grantSourceIdReadAccess(e,n,r,t){if(e.grantSourceIdReadAccess){let{sourceId:e}=n;r.inspectFields("Query").filter(n=>{var r;return"sourceIdAccessPolicies"===n.fieldName&&(null===(r=n.arguments)||void 0===r?void 0:r.sourceId)===e}).forEach(e=>{r.updateQuery({query:f.hA,variables:e.arguments},e=>{var r;if(null==e?void 0:null===(r=e.sourceIdAccessPolicies)||void 0===r?void 0:r.read){let{userGroupName:r}=t.variables.extraParams||{};e.sourceIdAccessPolicies.read=[...e.sourceIdAccessPolicies.read,{__typename:"UserGroup",id:n.userGroupId,name:r}]}return e})})}},revokeSourceIdReadAccess(e,n,r,t){if(e.revokeSourceIdReadAccess){let{userGroupId:e,sourceId:t}=n;r.inspectFields("Query").filter(e=>{var n;return"sourceIdAccessPolicies"===e.fieldName&&(null===(n=e.arguments)||void 0===n?void 0:n.sourceId)===t}).forEach(n=>{r.updateQuery({query:f.hA,variables:n.arguments},n=>{var r,i;return(null==n?void 0:null===(r=n.sourceIdAccessPolicies)||void 0===r?void 0:r.sourceId)===t&&(null==n?void 0:null===(i=n.sourceIdAccessPolicies)||void 0===i?void 0:i.read)&&(n.sourceIdAccessPolicies.read=n.sourceIdAccessPolicies.read.filter(n=>n.id!==e)),n})})}},deleteThread(e,n,r,t){e.deleteThread&&r.inspectFields("Query").filter(e=>{var n;return"threads"===e.fieldName&&!(null===(n=e.arguments)||void 0===n?void 0:n.ids)}).forEach(e=>{r.updateQuery({query:f.XL,variables:e.arguments},e=>((null==e?void 0:e.threads)&&(e.threads.edges=e.threads.edges.filter(e=>e.node.id!==n.id)),e))})},setThreadPersisted(e,n,r,t){if(e.setThreadPersisted){let e="Query";r.inspectFields(e).filter(e=>{var n,r;return"threads"===e.fieldName&&!(null===(n=e.arguments)||void 0===n?void 0:n.ids)&&!!(null===(r=e.arguments)||void 0===r?void 0:r.before)}).forEach(n=>{r.invalidate(e,n.fieldName,n.arguments)})}},markNotificationsRead(e,n,r){e.markNotificationsRead&&r.inspectFields("Query").filter(e=>"notifications"===e.fieldName).forEach(e=>{r.updateQuery({query:f.g0,variables:e.arguments},e=>{if(null==e?void 0:e.notifications){let r=!n.notificationId;e.notifications=e.notifications.map(e=>r?{...e,read:!0}:e.id===n.notificationId?{...e,read:!0}:e)}return e})})}}},optimistic:{upsertUserGroupMembership:()=>!0,deleteUserGroupMembership:()=>!0,grantSourceIdReadAccess:()=>!0,revokeSourceIdReadAccess:()=>!0}}),(0,t.M)(async e=>{let n=(0,v.bW)(),r=null==n?void 0:n.accessToken,t=null==n?void 0:n.refreshToken;return{addAuthToOperation(n){let i=(0,v.bW)(),s=(0,v.jW)();if(r=null==i?void 0:i.accessToken,t=null==i?void 0:i.refreshToken,r)return e.appendHeaders(n,{Authorization:"Bearer ".concat(r)});if(s){let r={Authorization:"Bearer ".concat(s.authorization),...s.headers};return e.appendHeaders(n,r)}return n},didAuthError(e,n){let r=e.graphQLErrors.some(e=>{var n;return(null==e?void 0:null===(n=e.extensions)||void 0===n?void 0:n.code)==="UNAUTHORIZED"});return r&&v.gN.clearAccessToken(),r},willAuthError(e){let n=(0,v.bW)(),i=(0,v.jW)();if(r=null==n?void 0:n.accessToken,t=null==n?void 0:n.refreshToken,"query"===e.kind&&e.query.definitions.some(e=>{var n;return"OperationDefinition"===e.kind&&(null===(n=e.name)||void 0===n?void 0:n.value)&&["GetServerInfo"].includes(e.name.value)})||"mutation"===e.kind&&e.query.definitions.some(e=>{var n;return"OperationDefinition"===e.kind&&(null===(n=e.name)||void 0===n?void 0:n.value)&&["tokenAuth","register"].includes(e.name.value)})||t&&"mutation"===e.kind&&e.query.definitions.some(e=>{var n;return"OperationDefinition"===e.kind&&(null==e?void 0:null===(n=e.name)||void 0===n?void 0:n.value)==="refreshToken"}))return!1;if(r)try{let{exp:e}=(0,a.o)(r);return(0,v.pw)(e)}catch(e){return!0}else if(i)return!(null==i?void 0:i.authorization);else return v.gN.clearAccessToken(),!0},refreshAuth:async()=>v.gN.refreshToken(async()=>{var n;let r=null===(n=(0,v.bW)())||void 0===n?void 0:n.refreshToken;if(r)return e.mutate(c.Dp,{refreshToken:r}).then(e=>{var n;return null==e?void 0:null===(n=e.data)||void 0===n?void 0:n.refreshToken})})}}),(0,l.Dk)({onError(e){e.message.startsWith("[GraphQL]")&&(e.message=e.message.replace("[GraphQL]","").trim())}}),l.Ek,(0,l.pV)({forwardSubscription(e,n){var r,t,i;let s=null!==(i=null===(t=n.context.fetchOptions)||void 0===t?void 0:null===(r=t.headers)||void 0===r?void 0:r.Authorization)&&void 0!==i?i:"",a=window.location.protocol,u=window.location.host,d=(0,o.eI)({url:"".concat("https:"===a?"wss:":"ws:","//").concat(u,"/subscriptions"),connectionParams:{authorization:s}}),l={...e,query:e.query||""};return{subscribe(e){let n=d.subscribe(l,e);return{unsubscribe:n}}}}})]})},70410:function(e,n,r){r.d(n,{Cl:function(){return c},D7:function(){return h},DQ:function(){return u},GG:function(){return o},Gx:function(){return p},S1:function(){return s},TH:function(){return d},XL:function(){return b},Y6:function(){return l},g0:function(){return k},gI:function(){return m},hA:function(){return y},kb:function(){return f},lE:function(){return i},md:function(){return $},r4:function(){return I},ts:function(){return v},yB:function(){return a},zz:function(){return g}});var t=r(43240);let i=(0,t.BX)("\n query ListInvitations(\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n invitations(after: $after, before: $before, first: $first, last: $last) {\n edges {\n node {\n id\n email\n code\n createdAt\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),s=(0,t.BX)("\n query gitRepositories(\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n gitRepositories(\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n name\n gitUrl\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),o=(0,t.BX)("\n query ListJobRuns(\n $ids: [ID!]\n $jobs: [String!]\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n jobRuns(\n ids: $ids\n jobs: $jobs\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n job\n createdAt\n startedAt\n finishedAt\n exitCode\n stdout\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),a=(0,t.BX)("\n query GetJobRunStats($jobs: [String!]) {\n jobRunStats(jobs: $jobs) {\n success\n failed\n pending\n }\n }\n"),u=(0,t.BX)("\n query ListJobs {\n jobs\n }\n"),d=(0,t.BX)("\n query ListUsers($after: String, $before: String, $first: Int, $last: Int) {\n users(after: $after, before: $before, first: $first, last: $last) {\n edges {\n node {\n id\n email\n isAdmin\n isOwner\n createdAt\n active\n name\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),l=(0,t.BX)("\n query DailyStatsInPastYear($users: [ID!]) {\n dailyStatsInPastYear(users: $users) {\n start\n end\n completions\n selects\n views\n }\n }\n"),c=(0,t.BX)("\n query DailyStats(\n $start: DateTime!\n $end: DateTime!\n $users: [ID!]\n $languages: [Language!]\n ) {\n dailyStats(start: $start, end: $end, users: $users, languages: $languages) {\n start\n end\n completions\n selects\n views\n language\n }\n }\n"),f=(0,t.BX)("\n query ListIntegrations(\n $ids: [ID!]\n $kind: IntegrationKind\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n integrations(\n ids: $ids\n kind: $kind\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n displayName\n status\n apiBase\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),v=(0,t.BX)("\n query ListIntegratedRepositories(\n $ids: [ID!]\n $kind: IntegrationKind\n $active: Boolean\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n integratedRepositories(\n ids: $ids\n kind: $kind\n active: $active\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n displayName\n gitUrl\n active\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n startedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),g=(0,t.BX)("\n query RepositoryList {\n repositoryList {\n id\n name\n kind\n gitUrl\n refs {\n name\n commit\n }\n }\n }\n"),h=(0,t.BX)("\n query RepositorySearch(\n $kind: RepositoryKind!\n $id: ID!\n $rev: String\n $pattern: String!\n ) {\n repositorySearch(kind: $kind, id: $id, rev: $rev, pattern: $pattern) {\n type\n path\n indices\n }\n }\n"),p=(0,t.BX)("\n query ContextInfo {\n contextInfo {\n sources {\n id\n sourceKind\n sourceId\n sourceName\n }\n }\n }\n"),m=(0,t.BX)("\n query UserGroups {\n userGroups {\n id\n name\n createdAt\n updatedAt\n members {\n user {\n id\n email\n name\n createdAt\n }\n isGroupAdmin\n createdAt\n updatedAt\n }\n }\n }\n"),y=(0,t.BX)("\n query sourceIdAccessPolicies($sourceId: String!) {\n sourceIdAccessPolicies(sourceId: $sourceId) {\n sourceId\n read {\n id\n name\n }\n }\n }\n"),b=(0,t.BX)("\n query ListThreads(\n $ids: [ID!]\n $isEphemeral: Boolean\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n threads(\n ids: $ids\n isEphemeral: $isEphemeral\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n userId\n createdAt\n updatedAt\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),I=(0,t.BX)("\n query ListThreadMessages(\n $threadId: ID!\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n threadMessages(\n threadId: $threadId\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n threadId\n role\n content\n attachment {\n code {\n gitUrl\n filepath\n language\n content\n startLine\n }\n clientCode {\n filepath\n content\n startLine\n }\n doc {\n __typename\n ... on MessageAttachmentWebDoc {\n title\n link\n content\n }\n ... on MessageAttachmentIssueDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n closed\n }\n ... on MessageAttachmentPullDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n merged\n }\n }\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),$=(0,t.BX)("\n mutation SetThreadPersisted($threadId: ID!) {\n setThreadPersisted(threadId: $threadId)\n }\n"),k=(0,t.BX)("\n query Notifications {\n notifications {\n id\n content\n read\n createdAt\n }\n }\n")},66794:function(e,n,r){r.d(n,{bW:function(){return u},gN:function(){return h},jW:function(){return v},nd:function(){return o},pw:function(){return c},zr:function(){return g}});var t=r(79716),i=r(74630),s=r(57288);let o="_tabby_auth",a="_tabby_chat_sdk_fetcher_options",u=()=>{if((0,s.S_)()){let e=localStorage.getItem(o);if(e)try{return JSON.parse(e)}catch(e){}}},d=e=>{localStorage.setItem(o,JSON.stringify(e))},l=()=>{localStorage.removeItem(o),window.dispatchEvent(new StorageEvent("storage",{storageArea:window.localStorage,url:window.location.href,key:o}))},c=e=>!!(0,i.Z)(e)||Date.now()>1e3*e,f=e=>!(0,i.Z)(e)&&Date.now()-1e3*e<6e4,v=()=>{try{let e=sessionStorage.getItem(a);if(!e)return;return JSON.parse(e)}catch(e){return}},g=e=>{if(e)try{sessionStorage.setItem(a,JSON.stringify(e))}catch(e){sessionStorage.removeItem(a)}},h=new class{clearAccessToken(){let e=u();e&&d({...e,accessToken:""})}async refreshToken(e){try{var n;if(void 0===(null===(n=navigator)||void 0===n?void 0:n.locks))throw console.error("The Web Locks API is not supported in your browser. Please upgrade to a newer browser version."),Error();await navigator.locks.request("_tabby_auth_lock",async()=>{let n;let r=u(),i=null==r?void 0:r.accessToken,s=null==r?void 0:r.refreshToken;if(i){let{iat:s}=(0,t.o)(i);n=f(s)?r:await e()}else s&&(n=await e());n?d(n):l()})}catch(e){l()}}}}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4656],{31458:function(e,n,r){r.d(n,{d:function(){return u},z:function(){return d}});var t=r(36164),i=r(3546),s=r(74047),o=r(14375),a=r(57288);let u=(0,o.j)("inline-flex items-center justify-center rounded-md text-sm font-medium shadow ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-md hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90","hover-destructive":"shadow-none hover:bg-destructive/90 hover:text-destructive-foreground",outline:"border border-input hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"shadow-none hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 shadow-none hover:underline"},size:{default:"h-8 px-4 py-2",sm:"h-8 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-8 w-8 p-0"}},defaultVariants:{variant:"default",size:"default"}}),d=i.forwardRef((e,n)=>{let{className:r,variant:i,size:o,asChild:d=!1,...l}=e,c=d?s.g7:"button";return(0,t.jsx)(c,{className:(0,a.cn)(u({variant:i,size:o,className:r})),ref:n,...l})});d.displayName="Button"},80605:function(e,n,r){r.d(n,{UA:function(){return f},Uw:function(){return l},c7:function(){return d},jJ:function(){return c},vN:function(){return a},xG:function(){return u}});var t=r(40055),i=r(43240);let s=(0,i.BX)("\n query GetServerInfo {\n serverInfo {\n isAdminInitialized\n isEmailConfigured\n isChatEnabled\n allowSelfSignup\n isDemoMode\n }\n }\n"),o=()=>{let[{data:e}]=(0,t.aM)({query:s});return null==e?void 0:e.serverInfo},a=()=>{let[{fetching:e}]=(0,t.aM)({query:s});return e},u=()=>{var e;return null===(e=o())||void 0===e?void 0:e.isChatEnabled},d=()=>{var e;return null===(e=o())||void 0===e?void 0:e.isAdminInitialized},l=()=>{var e;return null===(e=o())||void 0===e?void 0:e.isEmailConfigured},c=()=>{var e;return null===(e=o())||void 0===e?void 0:e.allowSelfSignup},f=()=>{var e;return null===(e=o())||void 0===e?void 0:e.isDemoMode}},91302:function(e,n,r){r.d(n,{Dp:function(){return p},Ho:function(){return y},QJ:function(){return k},av:function(){return P},kP:function(){return S},zq:function(){return $}});var t,i,s=r(36164),o=r(3546),a=r(11978),u=r(24426),d=r.n(u),l=r(43240),c=r(80605),f=r(11634),v=r(66794);function g(e,n){var r,t;let s=function(e,n){switch(n.type){case i.SignIn:case i.Refresh:return{status:"authenticated",data:n.data};case i.SignOut:return{status:"unauthenticated",data:void 0}}}(0,n);return e.status==s.status&&(r=e.data,t=s.data,(null==r?void 0:r.accessToken)===(null==t?void 0:t.accessToken)&&(null==r?void 0:r.refreshToken)===(null==t?void 0:t.refreshToken))?e:s}(t=i||(i={}))[t.SignIn=0]="SignIn",t[t.SignOut=1]="SignOut",t[t.Refresh=2]="Refresh";let h=o.createContext({}),p=(0,l.BX)("\n mutation refreshToken($refreshToken: String!) {\n refreshToken(refreshToken: $refreshToken) {\n accessToken\n refreshToken\n }\n }\n"),m=(0,l.BX)("\n mutation LogoutAllSessions {\n logoutAllSessions\n }\n"),y=e=>{let{children:n}=e,[r,t]=o.useState(!1),[a]=d()(v.nd,void 0),[u,l]=o.useReducer(g,{status:"loading",data:void 0});o.useEffect(()=>{(null==a?void 0:a.accessToken)&&(null==a?void 0:a.refreshToken)?l({type:i.SignIn,data:a}):l({type:i.SignOut}),t(!0)},[]),o.useEffect(()=>{!r||((null==a?void 0:a.accessToken)&&(null==a?void 0:a.refreshToken)?l({type:i.Refresh,data:a}):(null==a?void 0:a.accessToken)||(null==a?void 0:a.refreshToken)||l({type:i.SignOut}))},[a]);let c=o.useMemo(()=>{var e;return(null==u?void 0:u.status)=="authenticated"?{data:{accessToken:u.data.accessToken},status:u.status}:{status:null!==(e=null==u?void 0:u.status)&&void 0!==e?e:"loading",data:null}},[u]);return(0,s.jsx)(h.Provider,{value:{authState:u,dispatch:l,session:c},children:n})};class b extends Error{constructor(){super("AuthProvider is missing. Please add the AuthProvider at root level")}}function I(){let e=o.useContext(h);if(!e)throw new b;return e}function $(){let{dispatch:e}=I(),[n,r]=d()(v.nd,void 0);return async n=>(r({accessToken:n.accessToken,refreshToken:n.refreshToken}),e({type:i.SignIn,data:n}),!0)}function k(){let e=(0,f.Db)(m),{dispatch:n}=I(),[r,t]=d()(v.nd,void 0);return async()=>{await e(),t(void 0),n({type:i.SignOut})}}function S(){let{session:e}=I();return e}let A=["/auth/signin","/auth/signup","/auth/reset-password"];function P(){let e=(0,c.c7)(),n=(0,a.useRouter)(),r=(0,a.usePathname)(),t=(0,a.useSearchParams)(),{data:i,status:s}=S();return o.useEffect(()=>{if("loading"===s||"authenticated"===s||void 0===e)return;let i="/auth/signup"===r&&"true"===t.get("isAdmin");if(!i&&!e)return n.replace("/auth/signup?isAdmin=true");A.includes(r)||n.replace("/auth/signin")},[e,s]),i}},11634:function(e,n,r){r.d(n,{Db:function(){return g},Lp:function(){return p},zG:function(){return h}});var t=r(22365),i=r(28552),s=r(81013),o=r(17522),a=r(79716),u=r(74630),d=r(40055),l=r(44745),c=r(91302),f=r(70410),v=r(66794);function g(e,n){let[r,t]=(0,d.Db)(e),i=(null==n?void 0:n.form)?h(n.form):void 0,s=async(e,r)=>{let s;try{if(null==(s=await t(e,r))?void 0:s.error)i&&i(s.error),(null==n?void 0:n.onError)&&n.onError(s.error);else if(!(0,u.Z)(null==s?void 0:s.data)){var o;null==n||null===(o=n.onCompleted)||void 0===o||o.call(n,s.data)}}catch(e){(null==n?void 0:n.onError)&&n.onError(e);return}return s};return s}function h(e){return n=>{let{graphQLErrors:r=[]}=n;for(let n of r)if(n.extensions&&n.extensions["validation-errors"]){let r=n.extensions["validation-errors"];for(let n of r.errors)e.setError(n.path,n)}else(null==n?void 0:n.originalError)?e.setError("root",n.originalError):(null==n?void 0:n.message)&&e.setError("root",{message:n.message})}}let p=new l.KU({url:"/graphql",requestPolicy:"cache-and-network",exchanges:[(0,i.HG)({keys:{CompletionStats:()=>null,ServerInfo:()=>null,RepositorySearch:()=>null,RepositoryList:()=>null,RepositoryGrep:()=>null,GrepLine:()=>null,GrepFile:()=>null,GrepTextOrBase64:()=>null,GrepSubMatch:()=>null,GitReference:()=>null,MessageAttachment:()=>null,MessageAttachmentCode:()=>null,MessageAttachmentDoc:()=>null,NetworkSetting:()=>null,ContextInfo:()=>null},resolvers:{Query:{invitations:(0,s.N)(),gitRepositories:(0,s.N)(),webCrawlerUrls:(0,s.N)(),integrations:(0,s.N)(),threads:(0,s.N)()}},updates:{Mutation:{deleteInvitation(e,n,r,t){e.deleteInvitation&&r.inspectFields("Query").filter(e=>"invitations"===e.fieldName).forEach(e=>{r.updateQuery({query:f.lE,variables:e.arguments},e=>{var r;return(null==e?void 0:null===(r=e.invitations)||void 0===r?void 0:r.edges)&&(e.invitations.edges=e.invitations.edges.filter(e=>e.node.id!==n.id)),e})})},deleteGitRepository(e,n,r,t){e.deleteGitRepository&&r.inspectFields("Query").filter(e=>"gitRepositories"===e.fieldName).forEach(e=>{r.updateQuery({query:f.S1,variables:e.arguments},e=>{var r;return(null==e?void 0:null===(r=e.gitRepositories)||void 0===r?void 0:r.edges)&&(e.gitRepositories.edges=e.gitRepositories.edges.filter(e=>e.node.id!==n.id)),e})})},deleteIntegration(e,n,r,t){e.deleteIntegration&&r.inspectFields("Query").filter(e=>"integrations"===e.fieldName).forEach(e=>{r.updateQuery({query:f.kb,variables:e.arguments},e=>((null==e?void 0:e.integrations)&&(e.integrations.edges=e.integrations.edges.filter(e=>e.node.id!==n.id)),e))})},createIntegration(e,n,r){let t="Query";r.inspectFields(t).filter(e=>{var r,t,i;return"integrations"===e.fieldName&&!!(null===(r=e.arguments)||void 0===r?void 0:r.kind)&&(null===(t=e.arguments)||void 0===t?void 0:t.kind)===(null==n?void 0:null===(i=n.input)||void 0===i?void 0:i.kind)}).forEach(e=>{r.invalidate(t,e.fieldName,e.arguments)})},upsertUserGroupMembership(e,n,r,t){let{userGroupId:i,userId:s,isGroupAdmin:o}=n.input,{user:a,isInsert:u}=t.variables.extraParams||{};e.upsertUserGroupMembership&&r.updateQuery({query:f.gI},e=>((null==e?void 0:e.userGroups)&&(e.userGroups=e.userGroups.map(e=>{if(e.id!==i)return e;let n=[...e.members];if(u){let e=new Date().toISOString();n.push({user:{...a,__typename:"UserSecured"},isGroupAdmin:o,createdAt:e,updatedAt:e,__typename:"UserGroupMembership"})}else n=n.map(e=>e.user.id!==s?e:{...e,isGroupAdmin:o});return{...e,members:n}})),e))},deleteUserGroupMembership(e,n,r,t){let{userGroupId:i,userId:s}=n;e.deleteUserGroupMembership&&r.updateQuery({query:f.gI},e=>((null==e?void 0:e.userGroups)&&(e.userGroups=e.userGroups.map(e=>{if(e.id!==i)return e;let n=[...e.members].filter(e=>e.user.id!==s);return{...e,members:n}})),e))},grantSourceIdReadAccess(e,n,r,t){if(e.grantSourceIdReadAccess){let{sourceId:e}=n;r.inspectFields("Query").filter(n=>{var r;return"sourceIdAccessPolicies"===n.fieldName&&(null===(r=n.arguments)||void 0===r?void 0:r.sourceId)===e}).forEach(e=>{r.updateQuery({query:f.hA,variables:e.arguments},e=>{var r;if(null==e?void 0:null===(r=e.sourceIdAccessPolicies)||void 0===r?void 0:r.read){let{userGroupName:r}=t.variables.extraParams||{};e.sourceIdAccessPolicies.read=[...e.sourceIdAccessPolicies.read,{__typename:"UserGroup",id:n.userGroupId,name:r}]}return e})})}},revokeSourceIdReadAccess(e,n,r,t){if(e.revokeSourceIdReadAccess){let{userGroupId:e,sourceId:t}=n;r.inspectFields("Query").filter(e=>{var n;return"sourceIdAccessPolicies"===e.fieldName&&(null===(n=e.arguments)||void 0===n?void 0:n.sourceId)===t}).forEach(n=>{r.updateQuery({query:f.hA,variables:n.arguments},n=>{var r,i;return(null==n?void 0:null===(r=n.sourceIdAccessPolicies)||void 0===r?void 0:r.sourceId)===t&&(null==n?void 0:null===(i=n.sourceIdAccessPolicies)||void 0===i?void 0:i.read)&&(n.sourceIdAccessPolicies.read=n.sourceIdAccessPolicies.read.filter(n=>n.id!==e)),n})})}},deleteThread(e,n,r,t){e.deleteThread&&r.inspectFields("Query").filter(e=>{var n;return"threads"===e.fieldName&&!(null===(n=e.arguments)||void 0===n?void 0:n.ids)}).forEach(e=>{r.updateQuery({query:f.XL,variables:e.arguments},e=>((null==e?void 0:e.threads)&&(e.threads.edges=e.threads.edges.filter(e=>e.node.id!==n.id)),e))})},setThreadPersisted(e,n,r,t){if(e.setThreadPersisted){let e="Query";r.inspectFields(e).filter(e=>{var n,r;return"threads"===e.fieldName&&!(null===(n=e.arguments)||void 0===n?void 0:n.ids)&&!!(null===(r=e.arguments)||void 0===r?void 0:r.before)}).forEach(n=>{r.invalidate(e,n.fieldName,n.arguments)})}},markNotificationsRead(e,n,r){e.markNotificationsRead&&r.inspectFields("Query").filter(e=>"notifications"===e.fieldName).forEach(e=>{r.updateQuery({query:f.g0,variables:e.arguments},e=>{if(null==e?void 0:e.notifications){let r=!n.notificationId;e.notifications=e.notifications.map(e=>r?{...e,read:!0}:e.id===n.notificationId?{...e,read:!0}:e)}return e})})}}},optimistic:{upsertUserGroupMembership:()=>!0,deleteUserGroupMembership:()=>!0,grantSourceIdReadAccess:()=>!0,revokeSourceIdReadAccess:()=>!0}}),(0,t.M)(async e=>{let n=(0,v.bW)(),r=null==n?void 0:n.accessToken,t=null==n?void 0:n.refreshToken;return{addAuthToOperation(n){let i=(0,v.bW)(),s=(0,v.jW)();if(r=null==i?void 0:i.accessToken,t=null==i?void 0:i.refreshToken,r)return e.appendHeaders(n,{Authorization:"Bearer ".concat(r)});if(s){let r={Authorization:"Bearer ".concat(s.authorization),...s.headers};return e.appendHeaders(n,r)}return n},didAuthError(e,n){let r=e.graphQLErrors.some(e=>{var n;return(null==e?void 0:null===(n=e.extensions)||void 0===n?void 0:n.code)==="UNAUTHORIZED"});return r&&v.gN.clearAccessToken(),r},willAuthError(e){let n=(0,v.bW)(),i=(0,v.jW)();if(r=null==n?void 0:n.accessToken,t=null==n?void 0:n.refreshToken,"query"===e.kind&&e.query.definitions.some(e=>{var n;return"OperationDefinition"===e.kind&&(null===(n=e.name)||void 0===n?void 0:n.value)&&["GetServerInfo"].includes(e.name.value)})||"mutation"===e.kind&&e.query.definitions.some(e=>{var n;return"OperationDefinition"===e.kind&&(null===(n=e.name)||void 0===n?void 0:n.value)&&["tokenAuth","register"].includes(e.name.value)})||t&&"mutation"===e.kind&&e.query.definitions.some(e=>{var n;return"OperationDefinition"===e.kind&&(null==e?void 0:null===(n=e.name)||void 0===n?void 0:n.value)==="refreshToken"}))return!1;if(r)try{let{exp:e}=(0,a.o)(r);return(0,v.pw)(e)}catch(e){return!0}else if(i)return!(null==i?void 0:i.authorization);else return v.gN.clearAccessToken(),!0},refreshAuth:async()=>v.gN.refreshToken(async()=>{var n;let r=null===(n=(0,v.bW)())||void 0===n?void 0:n.refreshToken;if(r)return e.mutate(c.Dp,{refreshToken:r}).then(e=>{var n;return null==e?void 0:null===(n=e.data)||void 0===n?void 0:n.refreshToken})})}}),(0,l.Dk)({onError(e){e.message.startsWith("[GraphQL]")&&(e.message=e.message.replace("[GraphQL]","").trim())}}),l.Ek,(0,l.pV)({forwardSubscription(e,n){var r,t,i;let s=null!==(i=null===(t=n.context.fetchOptions)||void 0===t?void 0:null===(r=t.headers)||void 0===r?void 0:r.Authorization)&&void 0!==i?i:"",a=window.location.protocol,u=window.location.host,d=(0,o.eI)({url:"".concat("https:"===a?"wss:":"ws:","//").concat(u,"/subscriptions"),connectionParams:{authorization:s}}),l={...e,query:e.query||""};return{subscribe(e){let n=d.subscribe(l,e);return{unsubscribe:n}}}}})]})},70410:function(e,n,r){r.d(n,{Cl:function(){return c},D7:function(){return h},DQ:function(){return u},GG:function(){return o},Gx:function(){return p},K5:function(){return S},S1:function(){return s},TH:function(){return d},XL:function(){return b},Y6:function(){return l},g0:function(){return k},gI:function(){return m},hA:function(){return y},kb:function(){return f},lE:function(){return i},md:function(){return $},r4:function(){return I},ts:function(){return v},yB:function(){return a},zz:function(){return g}});var t=r(43240);let i=(0,t.BX)("\n query ListInvitations(\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n invitations(after: $after, before: $before, first: $first, last: $last) {\n edges {\n node {\n id\n email\n code\n createdAt\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),s=(0,t.BX)("\n query gitRepositories(\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n gitRepositories(\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n name\n gitUrl\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),o=(0,t.BX)("\n query ListJobRuns(\n $ids: [ID!]\n $jobs: [String!]\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n jobRuns(\n ids: $ids\n jobs: $jobs\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n job\n createdAt\n startedAt\n finishedAt\n exitCode\n stdout\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),a=(0,t.BX)("\n query GetJobRunStats($jobs: [String!]) {\n jobRunStats(jobs: $jobs) {\n success\n failed\n pending\n }\n }\n"),u=(0,t.BX)("\n query ListJobs {\n jobs\n }\n"),d=(0,t.BX)("\n query ListUsers($after: String, $before: String, $first: Int, $last: Int) {\n users(after: $after, before: $before, first: $first, last: $last) {\n edges {\n node {\n id\n email\n isAdmin\n isOwner\n createdAt\n active\n name\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),l=(0,t.BX)("\n query DailyStatsInPastYear($users: [ID!]) {\n dailyStatsInPastYear(users: $users) {\n start\n end\n completions\n selects\n views\n }\n }\n"),c=(0,t.BX)("\n query DailyStats(\n $start: DateTime!\n $end: DateTime!\n $users: [ID!]\n $languages: [Language!]\n ) {\n dailyStats(start: $start, end: $end, users: $users, languages: $languages) {\n start\n end\n completions\n selects\n views\n language\n }\n }\n"),f=(0,t.BX)("\n query ListIntegrations(\n $ids: [ID!]\n $kind: IntegrationKind\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n integrations(\n ids: $ids\n kind: $kind\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n displayName\n status\n apiBase\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),v=(0,t.BX)("\n query ListIntegratedRepositories(\n $ids: [ID!]\n $kind: IntegrationKind\n $active: Boolean\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n integratedRepositories(\n ids: $ids\n kind: $kind\n active: $active\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n displayName\n gitUrl\n active\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n startedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),g=(0,t.BX)("\n query RepositoryList {\n repositoryList {\n id\n name\n kind\n gitUrl\n refs {\n name\n commit\n }\n }\n }\n"),h=(0,t.BX)("\n query RepositorySearch(\n $kind: RepositoryKind!\n $id: ID!\n $rev: String\n $pattern: String!\n ) {\n repositorySearch(kind: $kind, id: $id, rev: $rev, pattern: $pattern) {\n type\n path\n indices\n }\n }\n"),p=(0,t.BX)("\n query ContextInfo {\n contextInfo {\n sources {\n id\n sourceKind\n sourceId\n sourceName\n }\n }\n }\n"),m=(0,t.BX)("\n query UserGroups {\n userGroups {\n id\n name\n createdAt\n updatedAt\n members {\n user {\n id\n email\n name\n createdAt\n }\n isGroupAdmin\n createdAt\n updatedAt\n }\n }\n }\n"),y=(0,t.BX)("\n query sourceIdAccessPolicies($sourceId: String!) {\n sourceIdAccessPolicies(sourceId: $sourceId) {\n sourceId\n read {\n id\n name\n }\n }\n }\n"),b=(0,t.BX)("\n query ListThreads(\n $ids: [ID!]\n $isEphemeral: Boolean\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n threads(\n ids: $ids\n isEphemeral: $isEphemeral\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n userId\n createdAt\n updatedAt\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),I=(0,t.BX)("\n query ListThreadMessages(\n $threadId: ID!\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n threadMessages(\n threadId: $threadId\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n threadId\n codeSourceId\n role\n content\n attachment {\n code {\n gitUrl\n commit\n filepath\n language\n content\n startLine\n }\n clientCode {\n filepath\n content\n startLine\n }\n doc {\n __typename\n ... on MessageAttachmentWebDoc {\n title\n link\n content\n }\n ... on MessageAttachmentIssueDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n closed\n }\n ... on MessageAttachmentPullDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n merged\n }\n }\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),$=(0,t.BX)("\n mutation SetThreadPersisted($threadId: ID!) {\n setThreadPersisted(threadId: $threadId)\n }\n"),k=(0,t.BX)("\n query Notifications {\n notifications {\n id\n content\n read\n createdAt\n }\n }\n"),S=(0,t.BX)("\n query RepositorySourceList {\n repositoryList {\n id\n name\n kind\n gitUrl\n sourceId\n sourceName\n sourceKind\n }\n }\n")},66794:function(e,n,r){r.d(n,{bW:function(){return u},gN:function(){return h},jW:function(){return v},nd:function(){return o},pw:function(){return c},zr:function(){return g}});var t=r(79716),i=r(74630),s=r(57288);let o="_tabby_auth",a="_tabby_chat_sdk_fetcher_options",u=()=>{if((0,s.S_)()){let e=localStorage.getItem(o);if(e)try{return JSON.parse(e)}catch(e){}}},d=e=>{localStorage.setItem(o,JSON.stringify(e))},l=()=>{localStorage.removeItem(o),window.dispatchEvent(new StorageEvent("storage",{storageArea:window.localStorage,url:window.location.href,key:o}))},c=e=>!!(0,i.Z)(e)||Date.now()>1e3*e,f=e=>!(0,i.Z)(e)&&Date.now()-1e3*e<6e4,v=()=>{try{let e=sessionStorage.getItem(a);if(!e)return;return JSON.parse(e)}catch(e){return}},g=e=>{if(e)try{sessionStorage.setItem(a,JSON.stringify(e))}catch(e){sessionStorage.removeItem(a)}},h=new class{clearAccessToken(){let e=u();e&&d({...e,accessToken:""})}async refreshToken(e){try{var n;if(void 0===(null===(n=navigator)||void 0===n?void 0:n.locks))throw console.error("The Web Locks API is not supported in your browser. Please upgrade to a newer browser version."),Error();await navigator.locks.request("_tabby_auth_lock",async()=>{let n;let r=u(),i=null==r?void 0:r.accessToken,s=null==r?void 0:r.refreshToken;if(i){let{iat:s}=(0,t.o)(i);n=f(s)?r:await e()}else s&&(n=await e());n?d(n):l()})}catch(e){l()}}}}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/4731-f09b618f36d3589b.js b/ee/tabby-webserver/ui/_next/static/chunks/4731-f09b618f36d3589b.js new file mode 100644 index 000000000000..f8d1ffa507c5 --- /dev/null +++ b/ee/tabby-webserver/ui/_next/static/chunks/4731-f09b618f36d3589b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4731],{40030:function(e,t,r){r.d(t,{r:function(){return b}});var n=r(36164),a=r(3546),s=r(37671),l=r(2578),o=r(40055),d=r(43240),i=r(11634),c=r(70410),u=r(57288),f=r(31458),m=r(36065),p=r(81565),x=r(84942),h=r(3448),g=r(6230);let N=(0,d.BX)("\n mutation grantSourceIdReadAccess($sourceId: String!, $userGroupId: ID!) {\n grantSourceIdReadAccess(sourceId: $sourceId, userGroupId: $userGroupId)\n }\n"),v=(0,d.BX)("\n mutation revokeSourceIdReadAccess($sourceId: String!, $userGroupId: ID!) {\n revokeSourceIdReadAccess(sourceId: $sourceId, userGroupId: $userGroupId)\n }\n");function b(e){var t;let{sourceId:r,sourceName:d,className:b,editable:j,userGroups:y,fetchingUserGroups:w,...R}=e,[k,I]=(0,a.useState)(!1),[{data:Y,fetching:S}]=(0,o.aM)({query:c.hA,variables:{sourceId:r}}),_=(0,i.Db)(N),C=(0,i.Db)(v),z=null==Y?void 0:null===(t=Y.sourceIdAccessPolicies)||void 0===t?void 0:t.read,A=(null==z?void 0:z.length)||0,O=(0,a.useMemo)(()=>(null==z?void 0:z.length)?new Set(z.map(e=>e.id)):new Set,[z]),J=(e,t,r)=>{r?D(e,t):$(e,t)},D=(e,t)=>{let n="Failed to grant ".concat(t);return _({sourceId:r,userGroupId:e},{extraParams:{userGroupName:t}}).then(e=>{var t,r;if(!(null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.grantSourceIdReadAccess)){let t=(null==e?void 0:null===(r=e.error)||void 0===r?void 0:r.message)||n;l.A.error(t);return}}).catch(e=>{let t=(null==e?void 0:e.message)||n;l.A.error(t)})},$=(e,t)=>C({sourceId:r,userGroupId:e},{extraParams:{userGroupName:t}}).then(e=>{var r,n;if(!(null==e?void 0:null===(r=e.data)||void 0===r?void 0:r.revokeSourceIdReadAccess)){let r=(null==e?void 0:null===(n=e.error)||void 0===n?void 0:n.message)||"Failed to revoke '".concat(t,"'");l.A.error(r);return}}).catch(e=>{let r=(null==e?void 0:e.message)||"Failed to revoke '".concat(t,"'");l.A.error(r)}),E=0===A?"Everyone":"".concat(A," ").concat(A<=1?"group":"groups");return(0,n.jsx)(g.Z,{loading:S,fallback:(0,n.jsx)(h.O,{className:(0,u.cn)(b)}),children:(0,n.jsxs)("div",{className:(0,u.cn)("flex items-center gap-0.5",b),children:[(0,n.jsx)("span",{className:"w-[68px]",children:E}),j&&(0,n.jsxs)(x.J2,{open:k,onOpenChange:I,children:[(0,n.jsx)(x.xo,{asChild:!0,children:(0,n.jsx)(f.z,{variant:"ghost",role:"combobox",size:"icon",children:(0,n.jsx)(p.IconEdit,{})})}),(0,n.jsx)(x.yk,{align:"end",side:"top",children:(0,n.jsxs)(m.mY,{children:[(0,n.jsx)(m.sZ,{placeholder:"Search groups..."}),(0,n.jsxs)(m.e8,{className:"max-h-[30vh]",children:[(0,n.jsx)(m.rb,{children:w?(0,n.jsx)("div",{className:"flex justify-center",children:(0,n.jsx)(p.IconSpinner,{className:"h-6 w-6"})}):(null==y?void 0:y.length)?"No matches results":"No groups found"}),(0,n.jsx)(m.fu,{children:null==y?void 0:y.map(e=>{let t=O.has(e.id),r=e.members.length;return(0,n.jsxs)(m.di,{value:e.name,onSelect:()=>J(e.id,e.name,!t),children:[(0,n.jsx)("div",{className:(0,u.cn)("mr-2 flex h-4 w-4 cursor-pointer items-center justify-center rounded-sm border border-primary",t?"bg-primary text-primary-foreground":"opacity-50 [&_svg]:invisible"),children:(0,n.jsx)(s.nQG,{className:(0,u.cn)("h-4 w-4")})}),(0,n.jsxs)("span",{children:[e.name,(0,n.jsx)("span",{className:"ml-1 text-muted-foreground",children:"(".concat(r," member").concat(r>1?"s":"",")")})]})]},e.id)})})]})]})})]})]})})}},55137:function(e,t,r){r.d(t,{_:function(){return h}});var n=r(36164),a=r(3546),s=r(70652),l=r.n(s),o=r(11978),d=r(99092),i=r.n(d),c=r(57288),u=r(31458),f=r(81565),m=r(29);function p(e){let{onTrigger:t,isPending:r,jobLink:s}=e,l=(0,o.useRouter)(),[d,i]=a.useState(!1);return(0,n.jsxs)(m.u,{children:[(0,n.jsx)(m.aJ,{asChild:!0,children:(0,n.jsx)(u.z,{size:"icon",variant:"ghost",onClick:()=>{if(r){s&&l.push(s);return}let e=t();return e&&e instanceof Promise&&(i(!0),e.finally(()=>i(!1))),e},disabled:d,children:d||r?(0,n.jsx)(f.IconSpinner,{}):(0,n.jsx)(f.IconCirclePlay,{strokeWidth:1,className:"h-5 w-5"})})}),(0,n.jsx)(m._v,{children:(0,n.jsx)("p",{children:"Run"})})]})}function x(e){let{jobInfo:t,className:r}=e;return(null==t?void 0:t.lastJobRun)?(0,n.jsx)(l(),{href:"/jobs/detail?id=".concat(t.lastJobRun.id),className:(0,c.cn)("flex items-center gap-1 underline hover:text-foreground/50",r),children:i()(t.lastJobRun.createdAt).format("YYYY-MM-DD HH:mm")}):null}function h(e){var t;let{jobInfo:r,onTrigger:a,className:s}=e,l=!!(null==r?void 0:r.lastJobRun)&&null===r.lastJobRun.exitCode,o=(null==r?void 0:null===(t=r.lastJobRun)||void 0===t?void 0:t.id)?"/jobs/detail?id=".concat(r.lastJobRun.id):void 0;return(0,n.jsxs)("div",{className:(0,c.cn)("flex items-center gap-1",s),children:[(0,n.jsx)(x,{jobInfo:r,className:"hidden lg:block lg:w-32"}),(0,n.jsx)(p,{onTrigger:a,isPending:l,jobLink:o})]})}},14522:function(e,t,r){r.d(t,{C:function(){return a}});var n=r(43240);let a=(0,n.BX)("\n mutation triggerJobRun($command: String!) {\n triggerJobRun(command: $command)\n }\n")},6230:function(e,t,r){var n=r(36164),a=r(3546),s=r(24449),l=r(90379);t.Z=e=>{let{loading:t,fallback:r,delay:o,children:d}=e,[i,c]=a.useState(!t),[u]=(0,s.n)(i,null!=o?o:200);return(a.useEffect(()=>{t||i||c(!0)},[t]),u)?d:r||(0,n.jsx)(l.cg,{})}},90379:function(e,t,r){r.d(t,{PF:function(){return d},cg:function(){return l},tB:function(){return o}});var n=r(36164),a=r(57288),s=r(3448);let l=e=>{let{className:t,...r}=e;return(0,n.jsxs)("div",{className:(0,a.cn)("space-y-3",t),...r,children:[(0,n.jsx)(s.O,{className:"h-4 w-full"}),(0,n.jsx)(s.O,{className:"h-4 w-full"}),(0,n.jsx)(s.O,{className:"h-4 w-full"}),(0,n.jsx)(s.O,{className:"h-4 w-full"})]})},o=e=>{let{className:t,...r}=e;return(0,n.jsx)(s.O,{className:(0,a.cn)("h-4 w-full",t),...r})},d=e=>{let{className:t,...r}=e;return(0,n.jsxs)("div",{className:(0,a.cn)("flex flex-col gap-3",t),...r,children:[(0,n.jsx)(s.O,{className:"h-4 w-[20%]"}),(0,n.jsx)(s.O,{className:"h-4 w-full"}),(0,n.jsx)(s.O,{className:"h-4 w-[20%]"}),(0,n.jsx)(s.O,{className:"h-4 w-full"})]})}},36065:function(e,t,r){r.d(t,{di:function(){return p},e8:function(){return c},fu:function(){return f},mY:function(){return d},rb:function(){return u},sZ:function(){return i},zz:function(){return m}});var n=r(36164),a=r(3546),s=r(53241),l=r(93170),o=r(57288);r(30220);let d=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.mY,{ref:t,className:(0,o.cn)("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",r),...a})});d.displayName=s.mY.displayName;let i=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsxs)("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,n.jsx)(l.Z,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),(0,n.jsx)(s.mY.Input,{ref:t,className:(0,o.cn)("flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",r),...a})]})});i.displayName=s.mY.Input.displayName;let c=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.mY.List,{ref:t,className:(0,o.cn)("max-h-[300px] overflow-y-auto overflow-x-hidden",r),...a})});c.displayName=s.mY.List.displayName;let u=a.forwardRef((e,t)=>(0,n.jsx)(s.mY.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));u.displayName=s.mY.Empty.displayName;let f=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.mY.Group,{ref:t,className:(0,o.cn)("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",r),...a})});f.displayName=s.mY.Group.displayName;let m=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.mY.Separator,{ref:t,className:(0,o.cn)("-mx-1 h-px bg-border",r),...a})});m.displayName=s.mY.Separator.displayName;let p=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.mY.Item,{ref:t,className:(0,o.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-disabled:pointer-events-none aria-disabled:opacity-50 aria-selected:bg-accent aria-selected:text-accent-foreground",r),...a})});p.displayName=s.mY.Item.displayName},30220:function(e,t,r){r.d(t,{$N:function(){return x},Be:function(){return h},Vq:function(){return d},cN:function(){return p},cZ:function(){return f},fK:function(){return m},hg:function(){return i}});var n=r(36164),a=r(3546),s=r(4318),l=r(1663),o=r(57288);let d=s.fC,i=s.xz,c=s.h_;s.x8;let u=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.aV,{ref:t,className:(0,o.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",r),...a})});u.displayName=s.aV.displayName;let f=a.forwardRef((e,t)=>{let{className:r,children:a,...d}=e;return(0,n.jsxs)(c,{children:[(0,n.jsx)(u,{}),(0,n.jsxs)(s.VY,{ref:t,className:(0,o.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",r),...d,children:[a,(0,n.jsxs)(s.x8,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,n.jsx)(l.Z,{className:"h-4 w-4"}),(0,n.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});f.displayName=s.VY.displayName;let m=e=>{let{className:t,...r}=e;return(0,n.jsx)("div",{className:(0,o.cn)("flex flex-col space-y-1.5 text-center sm:text-left",t),...r})};m.displayName="DialogHeader";let p=e=>{let{className:t,...r}=e;return(0,n.jsx)("div",{className:(0,o.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...r})};p.displayName="DialogFooter";let x=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.Dx,{ref:t,className:(0,o.cn)("text-lg font-semibold leading-none tracking-tight",r),...a})});x.displayName=s.Dx.displayName;let h=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.dk,{ref:t,className:(0,o.cn)("text-sm text-muted-foreground",r),...a})});h.displayName=s.dk.displayName},84942:function(e,t,r){r.d(t,{J2:function(){return o},i9:function(){return c},tW:function(){return u},xo:function(){return d},xp:function(){return i},yk:function(){return f}});var n=r(36164),a=r(3546),s=r(83299),l=r(57288);let o=s.fC,d=s.xz,i=s.x8,c=s.h_,u=s.ee,f=a.forwardRef((e,t)=>{let{className:r,sideOffset:a=4,...o}=e;return(0,n.jsx)(s.VY,{ref:t,sideOffset:a,className:(0,l.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow animate-in data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r),...o})});f.displayName=s.VY.displayName},57830:function(e,t,r){r.r(t),r.d(t,{ScrollArea:function(){return o},ScrollBar:function(){return d}});var n=r(36164),a=r(3546),s=r(50778),l=r(57288);let o=a.forwardRef((e,t)=>{let{className:r,children:a,...o}=e;return(0,n.jsxs)(s.fC,{className:(0,l.cn)("relative overflow-hidden",r),...o,children:[(0,n.jsx)(s.l_,{ref:t,className:"h-full w-full rounded-[inherit] [&>div]:!block",children:a}),(0,n.jsx)(d,{}),(0,n.jsx)(s.Ns,{})]})});o.displayName=s.fC.displayName;let d=a.forwardRef((e,t)=>{let{className:r,orientation:a="vertical",...o}=e;return(0,n.jsx)(s.gb,{ref:t,orientation:a,className:(0,l.cn)("flex touch-none select-none transition-colors","vertical"===a&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===a&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",r),...o,children:(0,n.jsx)(s.q4,{className:"relative flex-1 rounded-full bg-border"})})});d.displayName=s.gb.displayName},3448:function(e,t,r){r.d(t,{O:function(){return s}});var n=r(36164),a=r(57288);function s(e){let{className:t,...r}=e;return(0,n.jsx)("div",{className:(0,a.cn)("h-4 animate-pulse rounded-md bg-border",t),...r})}},99047:function(e,t,r){r.d(t,{RM:function(){return d},SC:function(){return c},iA:function(){return l},pj:function(){return f},ss:function(){return u},xD:function(){return o}});var n=r(36164),a=r(3546),s=r(57288);let l=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("table",{ref:t,className:(0,s.cn)("w-full caption-bottom text-sm",r),...a})});l.displayName="Table";let o=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("thead",{ref:t,className:(0,s.cn)("[&_tr]:border-b",r),...a})});o.displayName="TableHeader";let d=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("tbody",{ref:t,className:(0,s.cn)("[&_tr:last-child]:border-0",r),...a})});d.displayName="TableBody";let i=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("tfoot",{ref:t,className:(0,s.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",r),...a})});i.displayName="TableFooter";let c=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("tr",{ref:t,className:(0,s.cn)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",r),...a})});c.displayName="TableRow";let u=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("th",{ref:t,className:(0,s.cn)("h-12 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",r),...a})});u.displayName="TableHead";let f=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("td",{ref:t,className:(0,s.cn)("p-2 align-middle [&:has([role=checkbox])]:pr-0",r),...a})});f.displayName="TableCell";let m=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("caption",{ref:t,className:(0,s.cn)("mt-4 text-sm text-muted-foreground",r),...a})});m.displayName="TableCaption"},29:function(e,t,r){r.d(t,{_v:function(){return c},aJ:function(){return i},pn:function(){return o},u:function(){return d}});var n=r(36164),a=r(3546),s=r(44421),l=r(57288);let o=s.zt,d=s.fC,i=s.xz;s.h_;let c=a.forwardRef((e,t)=>{let{className:r,sideOffset:a=4,...o}=e;return(0,n.jsx)(s.VY,{ref:t,sideOffset:a,className:(0,l.cn)("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-xs font-medium text-popover-foreground shadow-md animate-in fade-in-50 data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-1 data-[side=right]:slide-in-from-left-1 data-[side=top]:slide-in-from-bottom-1",r),...o})});c.displayName=s.VY.displayName},24449:function(e,t,r){r.d(t,{S:function(){return o},n:function(){return d}});var n=r(3546),a=r(45391),s=r(16784);let l=e=>{let t=(0,s.d)(e);n.useEffect(()=>()=>{t.current()},[])};function o(e,t,r){let o=(0,s.d)(e),d=n.useMemo(()=>(0,a.Z)(function(){for(var e=arguments.length,t=Array(e),r=0;r{var e;null==r||null===(e=r.onUnmount)||void 0===e||e.call(r,d),d.cancel()}),{run:d,cancel:d.cancel,flush:d.flush}}function d(e,t,r){let[a,s]=n.useState(e),{run:l}=o(()=>{s(e)},t,r);return n.useEffect(()=>{l()},[e]),[a,s]}},16784:function(e,t,r){r.d(t,{d:function(){return a}});var n=r(3546);function a(e){let t=n.useRef(e);return t.current=e,t}}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/6265-12d9f173707c0c8e.js b/ee/tabby-webserver/ui/_next/static/chunks/4916-e1035a37c0e37e65.js similarity index 83% rename from ee/tabby-webserver/ui/_next/static/chunks/6265-12d9f173707c0c8e.js rename to ee/tabby-webserver/ui/_next/static/chunks/4916-e1035a37c0e37e65.js index e5c5ae85c03c..fa7166e8de7f 100644 --- a/ee/tabby-webserver/ui/_next/static/chunks/6265-12d9f173707c0c8e.js +++ b/ee/tabby-webserver/ui/_next/static/chunks/4916-e1035a37c0e37e65.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6265],{45238:function(e,t){var n,r;void 0!==(r="function"==typeof(n=e=>{"use strict";var t,n,r,o,i=(e,t="",n="")=>{for(var r="function"==typeof t?t:void 0,o=e.target,i=o.length,a=e.indexes,s="",c=0,u=0,l=!1,p=[],f=0;f{"number"==typeof e?e=""+e:"string"!=typeof e&&(e="");var t=y(e);return u(e,{_targetLower:t._lower,_targetLowerCodes:t.lowerCodes,_bitflags:t.bitflags})};class s{get indexes(){return this._indexes.slice(0,this._indexes.len).sort((e,t)=>e-t)}set indexes(e){return this._indexes=e}highlight(e,t){return i(this,e,t)}get score(){return l(this._score)}set score(e){this._score=p(e)}}class c extends Array{get score(){return l(this._score)}set score(e){this._score=p(e)}}var u=(e,t)=>{let n=new s;return n.target=e,n.obj=t.obj??B,n._score=t._score??D,n._indexes=t._indexes??[],n._targetLower=t._targetLower??"",n._targetLowerCodes=t._targetLowerCodes??B,n._nextBeginningIndexes=t._nextBeginningIndexes??B,n._bitflags=t._bitflags??0,n},l=e=>e===D?0:e>1?e:Math.E**-(((-e+1)**.04307-1)*2),p=e=>0===e?D:e>1?e:1-Math.pow(-(Math.log(e)/2)+1,1/.04307),f=e=>{"number"==typeof e?e=""+e:"string"!=typeof e&&(e="");var t=y(e=e.trim()),n=[];if(t.containsSpace){var r=e.split(/\s+/);r=[...new Set(r)];for(var o=0;o{if(e.length>999)return a(e);var t=w.get(e);return void 0!==t||(t=a(e),w.set(e,t)),t},v=e=>{if(e.length>999)return f(e);var t=O.get(e);return void 0!==t||(t=f(e),O.set(e,t)),t},h=(e,t)=>{var n=[];n.total=e.length;var r=t?.limit||S;if(t?.key)for(var o=0;o=r)break}}else if(t?.keys)for(var o=0;o=0;--p){var a=C(i,t.keys[p]);if(!a){l[p]=P;continue}j(a)||(a=d(a)),a._score=D,a._indexes.len=0,l[p]=a}if(l.obj=i,l._score=D,n.push(l),n.length>=r)break}else for(var o=0;o=r))break}return n},m=(e,t,n=!1,r=!1)=>{if(!1===n&&e.containsSpace)return g(e,t,r);for(var o=e._lower,i=e.lowerCodes,a=i[0],c=t._targetLowerCodes,u=i.length,l=c.length,p=0,f=0,d=0;;){var v=a===c[f];if(v){if(_[d++]=f,++p===u)break;a=i[p]}if(++f>=l)return B}var p=0,h=!1,m=0,y=t._nextBeginningIndexes;y===B&&(y=t._nextBeginningIndexes=x(t.target));var b=0;if((f=0===_[0]?0:y[_[0]-1])!==l)for(;;)if(f>=l){if(p<=0||++b>200)break;--p,f=y[E[--m]]}else{var v=i[p]===c[f];if(v){if(E[m++]=f,++p===u){h=!0;break}++f}else f=y[f]}var w=u<=1?-1:t._targetLower.indexOf(o,_[0]),O=!!~w,T=!!O&&(0===w||t._nextBeginningIndexes[w-1]===w);if(O&&!T){for(var A=0;A{for(var t=0,n=0,r=1;r24&&(t*=(o-24)*10)}else t*=1e3;return t-=(l-u)/2,O&&(t/=1+u*u*1),T&&(t/=1+u*u*1),t-=(l-u)/2};if(h){if(T){for(var A=0;A{for(var r=new Set,o=0,i=B,a=0,s=e.spaceSearches,c=s.length,u=0,l=()=>{for(let e=u-1;e>=0;e--)t._nextBeginningIndexes[T[2*e+0]]=T[2*e+1]},p=!1,f=0;f=0&&g===t._nextBeginningIndexes[e];e--)t._nextBeginningIndexes[e]=h,T[2*u+0]=e,T[2*u+1]=g,u++}}o+=i._score/c,L[f]=i._score/c,i._indexes[0]o){if(n)for(var f=0;f{for(var t=e.length,n=e.toLowerCase(),r=[],o=0,i=!1,a=0;a=97&&s<=122?s-97:s>=48&&s<=57?26:s<=127?30:31)}return{lowerCodes:r,bitflags:o,containsSpace:i,_lower:n}},b=e=>{for(var t=e.length,n=[],r=0,o=!1,i=!1,a=0;a=65&&s<=90,u=c||s>=97&&s<=122||s>=48&&s<=57,l=c&&!o||!i||!u;o=c,i=u,l&&(n[r++]=a)}return n},x=e=>{for(var t=e.length,n=b(e),r=[],o=n[0],i=0,a=0;aa?r[a]=o:(o=n[++i],r[a]=void 0===o?t:o);return r},w=new Map,O=new Map,_=[],E=[],T=[],A=[],L=[],k=[],M=[],C=(e,t)=>{var n=e[t];if(void 0!==n)return n;if("function"==typeof t)return t(e);var r=t;Array.isArray(t)||(r=t.split("."));for(var o=r.length,i=-1;e&&++i"object"==typeof e&&"number"==typeof e._bitflags,S=1/0,D=-1/0,H=[];H.total=0;var B=null,P=a(""),I=(t=[],n=0,r={},o=e=>{for(var r=0,o=t[r],i=1;i>1]=t[r],i=1+(r<<1)}for(var s=r-1>>1;r>0&&o._score>1)t[r]=t[s];t[r]=o},r.add=e=>{var r=n;t[n++]=e;for(var o=r-1>>1;r>0&&e._score>1)t[r]=t[o];t[r]=e},r.poll=e=>{if(0!==n){var r=t[0];return t[0]=t[--n],o(),r}},r.peek=e=>{if(0!==n)return t[0]},r.replaceTop=e=>{t[0]=e,o()},r);return{single:(e,t)=>{if(!e||!t)return B;var n=v(e);j(t)||(t=d(t));var r=n.bitflags;return(r&t._bitflags)!==r?B:m(n,t)},go:(e,t,n)=>{if(!e)return n?.all?h(t,n):H;var r=v(e),o=r.bitflags,i=r.containsSpace,a=p(n?.threshold||0),s=n?.limit||S,u=0,l=0,f=t.length;function g(e){uI.peek()._score&&I.replaceTop(e))}if(n?.key)for(var y=n.key,b=0;b-1e3&&A[e]>D){var N=(A[e]+L[e])/4;N>A[e]&&(A[e]=N)}L[e]>A[e]&&(A[e]=L[e])}}if(i){for(let e=0;e-1e3&&V>D){var N=(V+O._score)/4;N>V&&(V=N)}O._score>V&&(V=O._score)}}if($.obj=x,$._score=V,n?.scoreFn){if(!(V=n.scoreFn($)))continue;V=p(V),$._score=V}V=0;--b)q[b]=I.poll();return q.total=u+l,q},prepare:a,cleanup:()=>{w.clear(),O.clear()}}})?n.apply(t,[]):n)&&(e.exports=r)},44750:function(){},31022:function(e,t,n){"use strict";function r(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function o(e){var t=r(e).Element;return e instanceof t||e instanceof Element}function i(e){var t=r(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function a(e){if("undefined"==typeof ShadowRoot)return!1;var t=r(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}n.d(t,{ZP:function(){return eX}});var s,c,u,l,p,f=Math.max,d=Math.min,v=Math.round;function h(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function m(){return!/^((?!chrome|android).)*safari/i.test(h())}function g(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var a=e.getBoundingClientRect(),s=1,c=1;t&&i(e)&&(s=e.offsetWidth>0&&v(a.width)/e.offsetWidth||1,c=e.offsetHeight>0&&v(a.height)/e.offsetHeight||1);var u=(o(e)?r(e):window).visualViewport,l=!m()&&n,p=(a.left+(l&&u?u.offsetLeft:0))/s,f=(a.top+(l&&u?u.offsetTop:0))/c,d=a.width/s,h=a.height/c;return{width:d,height:h,top:f,right:p+d,bottom:f+h,left:p,x:p,y:f}}function y(e){var t=r(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function b(e){return e?(e.nodeName||"").toLowerCase():null}function x(e){return((o(e)?e.ownerDocument:e.document)||window.document).documentElement}function w(e){return g(x(e)).left+y(e).scrollLeft}function O(e){return r(e).getComputedStyle(e)}function _(e){var t=O(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function E(e){var t=g(e),n=e.offsetWidth,r=e.offsetHeight;return 1>=Math.abs(t.width-n)&&(n=t.width),1>=Math.abs(t.height-r)&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function T(e){return"html"===b(e)?e:e.assignedSlot||e.parentNode||(a(e)?e.host:null)||x(e)}function A(e,t){void 0===t&&(t=[]);var n,o=function e(t){return["html","body","#document"].indexOf(b(t))>=0?t.ownerDocument.body:i(t)&&_(t)?t:e(T(t))}(e),a=o===(null==(n=e.ownerDocument)?void 0:n.body),s=r(o),c=a?[s].concat(s.visualViewport||[],_(o)?o:[]):o,u=t.concat(c);return a?u:u.concat(A(T(c)))}function L(e){return i(e)&&"fixed"!==O(e).position?e.offsetParent:null}function k(e){for(var t=r(e),n=L(e);n&&["table","td","th"].indexOf(b(n))>=0&&"static"===O(n).position;)n=L(n);return n&&("html"===b(n)||"body"===b(n)&&"static"===O(n).position)?t:n||function(e){var t=/firefox/i.test(h());if(/Trident/i.test(h())&&i(e)&&"fixed"===O(e).position)return null;var n=T(e);for(a(n)&&(n=n.host);i(n)&&0>["html","body"].indexOf(b(n));){var r=O(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var M="bottom",C="right",j="left",S="auto",D=["top",M,C,j],H="start",B="viewport",P="popper",I=D.reduce(function(e,t){return e.concat([t+"-"+H,t+"-end"])},[]),W=[].concat(D,[S]).reduce(function(e,t){return e.concat([t,t+"-"+H,t+"-end"])},[]),N=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],R={placement:"bottom",modifiers:[],strategy:"absolute"};function $(){for(var e=arguments.length,t=Array(e),n=0;n=0?"x":"y"}function z(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?q(o):null,a=o?U(o):null,s=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(i){case"top":t={x:s,y:n.y-r.height};break;case M:t={x:s,y:n.y+n.height};break;case C:t={x:n.x+n.width,y:c};break;case j:t={x:n.x-r.width,y:c};break;default:t={x:n.x,y:n.y}}var u=i?F(i):null;if(null!=u){var l="y"===u?"height":"width";switch(a){case H:t[u]=t[u]-(n[l]/2-r[l]/2);break;case"end":t[u]=t[u]+(n[l]/2-r[l]/2)}}return t}var Z={top:"auto",right:"auto",bottom:"auto",left:"auto"};function K(e){var t,n,o,i,a,s,c,u=e.popper,l=e.popperRect,p=e.placement,f=e.variation,d=e.offsets,h=e.position,m=e.gpuAcceleration,g=e.adaptive,y=e.roundOffsets,b=e.isFixed,w=d.x,_=void 0===w?0:w,E=d.y,T=void 0===E?0:E,A="function"==typeof y?y({x:_,y:T}):{x:_,y:T};_=A.x,T=A.y;var L=d.hasOwnProperty("x"),S=d.hasOwnProperty("y"),D=j,H="top",B=window;if(g){var P=k(u),I="clientHeight",W="clientWidth";P===r(u)&&"static"!==O(P=x(u)).position&&"absolute"===h&&(I="scrollHeight",W="scrollWidth"),("top"===p||(p===j||p===C)&&"end"===f)&&(H=M,T-=(b&&P===B&&B.visualViewport?B.visualViewport.height:P[I])-l.height,T*=m?1:-1),(p===j||("top"===p||p===M)&&"end"===f)&&(D=C,_-=(b&&P===B&&B.visualViewport?B.visualViewport.width:P[W])-l.width,_*=m?1:-1)}var N=Object.assign({position:h},g&&Z),R=!0===y?(t={x:_,y:T},n=r(u),o=t.x,i=t.y,{x:v(o*(a=n.devicePixelRatio||1))/a||0,y:v(i*a)/a||0}):{x:_,y:T};return(_=R.x,T=R.y,m)?Object.assign({},N,((c={})[H]=S?"0":"",c[D]=L?"0":"",c.transform=1>=(B.devicePixelRatio||1)?"translate("+_+"px, "+T+"px)":"translate3d("+_+"px, "+T+"px, 0)",c)):Object.assign({},N,((s={})[H]=S?T+"px":"",s[D]=L?_+"px":"",s.transform="",s))}var X={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];i(o)&&b(o)&&(Object.assign(o.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});i(r)&&b(r)&&(Object.assign(r.style,a),Object.keys(o).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]},Y={left:"right",right:"left",bottom:"top",top:"bottom"};function J(e){return e.replace(/left|right|bottom|top/g,function(e){return Y[e]})}var G={start:"end",end:"start"};function Q(e){return e.replace(/start|end/g,function(e){return G[e]})}function ee(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&a(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function et(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function en(e,t,n){var i,a,s,c,u,l,p,d,v,h;return t===B?et(function(e,t){var n=r(e),o=x(e),i=n.visualViewport,a=o.clientWidth,s=o.clientHeight,c=0,u=0;if(i){a=i.width,s=i.height;var l=m();(l||!l&&"fixed"===t)&&(c=i.offsetLeft,u=i.offsetTop)}return{width:a,height:s,x:c+w(e),y:u}}(e,n)):o(t)?((i=g(t,!1,"fixed"===n)).top=i.top+t.clientTop,i.left=i.left+t.clientLeft,i.bottom=i.top+t.clientHeight,i.right=i.left+t.clientWidth,i.width=t.clientWidth,i.height=t.clientHeight,i.x=i.left,i.y=i.top,i):et((a=x(e),c=x(a),u=y(a),l=null==(s=a.ownerDocument)?void 0:s.body,p=f(c.scrollWidth,c.clientWidth,l?l.scrollWidth:0,l?l.clientWidth:0),d=f(c.scrollHeight,c.clientHeight,l?l.scrollHeight:0,l?l.clientHeight:0),v=-u.scrollLeft+w(a),h=-u.scrollTop,"rtl"===O(l||c).direction&&(v+=f(c.clientWidth,l?l.clientWidth:0)-p),{width:p,height:d,x:v,y:h}))}function er(){return{top:0,right:0,bottom:0,left:0}}function eo(e){return Object.assign({},er(),e)}function ei(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function ea(e,t){void 0===t&&(t={});var n,r,a,s,c,u,l,p=t,v=p.placement,h=void 0===v?e.placement:v,m=p.strategy,y=void 0===m?e.strategy:m,w=p.boundary,_=p.rootBoundary,E=p.elementContext,L=void 0===E?P:E,j=p.altBoundary,S=p.padding,H=void 0===S?0:S,I=eo("number"!=typeof H?H:ei(H,D)),W=e.rects.popper,N=e.elements[void 0!==j&&j?L===P?"reference":P:L],R=(n=o(N)?N:N.contextElement||x(e.elements.popper),u=(c=[].concat("clippingParents"===(r=void 0===w?"clippingParents":w)?(a=A(T(n)),o(s=["absolute","fixed"].indexOf(O(n).position)>=0&&i(n)?k(n):n)?a.filter(function(e){return o(e)&&ee(e,s)&&"body"!==b(e)}):[]):[].concat(r),[void 0===_?B:_]))[0],(l=c.reduce(function(e,t){var r=en(n,t,y);return e.top=f(r.top,e.top),e.right=d(r.right,e.right),e.bottom=d(r.bottom,e.bottom),e.left=f(r.left,e.left),e},en(n,u,y))).width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l),$=g(e.elements.reference),V=z({reference:$,element:W,strategy:"absolute",placement:h}),q=et(Object.assign({},W,V)),U=L===P?q:$,F={top:R.top-U.top+I.top,bottom:U.bottom-R.bottom+I.bottom,left:R.left-U.left+I.left,right:U.right-R.right+I.right},Z=e.modifiersData.offset;if(L===P&&Z){var K=Z[h];Object.keys(F).forEach(function(e){var t=[C,M].indexOf(e)>=0?1:-1,n=["top",M].indexOf(e)>=0?"y":"x";F[e]+=K[n]*t})}return F}function es(e,t,n){return f(e,d(t,n))}function ec(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function eu(e){return["top",C,M,j].some(function(t){return e[t]>=0})}var el=(u=void 0===(c=(s={defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,o=e.options,i=o.scroll,a=void 0===i||i,s=o.resize,c=void 0===s||s,u=r(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&l.forEach(function(e){e.addEventListener("scroll",n.update,V)}),c&&u.addEventListener("resize",n.update,V),function(){a&&l.forEach(function(e){e.removeEventListener("scroll",n.update,V)}),c&&u.removeEventListener("resize",n.update,V)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=z({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=n.adaptive,i=n.roundOffsets,a=void 0===i||i,s={placement:q(t.placement),variation:U(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:void 0===r||r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,K(Object.assign({},s,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:void 0===o||o,roundOffsets:a})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,K(Object.assign({},s,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},X,{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=W.reduce(function(e,n){var r,o,a,s,c,u;return e[n]=(r=t.rects,a=[j,"top"].indexOf(o=q(n))>=0?-1:1,c=(s="function"==typeof i?i(Object.assign({},r,{placement:n})):i)[0],u=s[1],c=c||0,u=(u||0)*a,[j,C].indexOf(o)>=0?{x:u,y:c}:{x:c,y:u}),e},{}),s=a[t.placement],c=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,c=n.fallbackPlacements,u=n.padding,l=n.boundary,p=n.rootBoundary,f=n.altBoundary,d=n.flipVariations,v=void 0===d||d,h=n.allowedAutoPlacements,m=t.options.placement,g=q(m)===m,y=c||(g||!v?[J(m)]:function(e){if(q(e)===S)return[];var t=J(e);return[Q(e),t,Q(t)]}(m)),b=[m].concat(y).reduce(function(e,n){var r,o,i,a,s,c,f,d,m,g,y,b;return e.concat(q(n)===S?(o=(r={placement:n,boundary:l,rootBoundary:p,padding:u,flipVariations:v,allowedAutoPlacements:h}).placement,i=r.boundary,a=r.rootBoundary,s=r.padding,c=r.flipVariations,d=void 0===(f=r.allowedAutoPlacements)?W:f,0===(y=(g=(m=U(o))?c?I:I.filter(function(e){return U(e)===m}):D).filter(function(e){return d.indexOf(e)>=0})).length&&(y=g),Object.keys(b=y.reduce(function(e,n){return e[n]=ea(t,{placement:n,boundary:i,rootBoundary:a,padding:s})[q(n)],e},{})).sort(function(e,t){return b[e]-b[t]})):n)},[]),x=t.rects.reference,w=t.rects.popper,O=new Map,_=!0,E=b[0],T=0;T=0,P=B?"width":"height",N=ea(t,{placement:A,boundary:l,rootBoundary:p,altBoundary:f,padding:u}),R=B?k?C:j:k?M:"top";x[P]>w[P]&&(R=J(R));var $=J(R),V=[];if(i&&V.push(N[L]<=0),s&&V.push(N[R]<=0,N[$]<=0),V.every(function(e){return e})){E=A,_=!1;break}O.set(A,V)}if(_)for(var F=v?3:1,z=function(e){var t=b.find(function(t){var n=O.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return E=t,"break"},Z=F;Z>0&&"break"!==z(Z);Z--);t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=n.altAxis,a=n.boundary,s=n.rootBoundary,c=n.altBoundary,u=n.padding,l=n.tether,p=void 0===l||l,v=n.tetherOffset,h=void 0===v?0:v,m=ea(t,{boundary:a,rootBoundary:s,padding:u,altBoundary:c}),g=q(t.placement),y=U(t.placement),b=!y,x=F(g),w="x"===x?"y":"x",O=t.modifiersData.popperOffsets,_=t.rects.reference,T=t.rects.popper,A="function"==typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,L="number"==typeof A?{mainAxis:A,altAxis:A}:Object.assign({mainAxis:0,altAxis:0},A),S=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,D={x:0,y:0};if(O){if(void 0===o||o){var B,P="y"===x?"top":j,I="y"===x?M:C,W="y"===x?"height":"width",N=O[x],R=N+m[P],$=N-m[I],V=p?-T[W]/2:0,z=y===H?_[W]:T[W],Z=y===H?-T[W]:-_[W],K=t.elements.arrow,X=p&&K?E(K):{width:0,height:0},Y=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:er(),J=Y[P],G=Y[I],Q=es(0,_[W],X[W]),ee=b?_[W]/2-V-Q-J-L.mainAxis:z-Q-J-L.mainAxis,et=b?-_[W]/2+V+Q+G+L.mainAxis:Z+Q+G+L.mainAxis,en=t.elements.arrow&&k(t.elements.arrow),eo=en?"y"===x?en.clientTop||0:en.clientLeft||0:0,ei=null!=(B=null==S?void 0:S[x])?B:0,ec=N+ee-ei-eo,eu=N+et-ei,el=es(p?d(R,ec):R,N,p?f($,eu):$);O[x]=el,D[x]=el-N}if(void 0!==i&&i){var ep,ef,ed="x"===x?"top":j,ev="x"===x?M:C,eh=O[w],em="y"===w?"height":"width",eg=eh+m[ed],ey=eh-m[ev],eb=-1!==["top",j].indexOf(g),ex=null!=(ef=null==S?void 0:S[w])?ef:0,ew=eb?eg:eh-_[em]-T[em]-ex+L.altAxis,eO=eb?eh+_[em]+T[em]-ex-L.altAxis:ey,e_=p&&eb?(ep=es(ew,eh,eO))>eO?eO:ep:es(p?ew:eg,eh,p?eO:ey);O[w]=e_,D[w]=e_-eh}t.modifiersData[r]=D}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n,r=e.state,o=e.name,i=e.options,a=r.elements.arrow,s=r.modifiersData.popperOffsets,c=q(r.placement),u=F(c),l=[j,C].indexOf(c)>=0?"height":"width";if(a&&s){var p=eo("number"!=typeof(t="function"==typeof(t=i.padding)?t(Object.assign({},r.rects,{placement:r.placement})):t)?t:ei(t,D)),f=E(a),d="y"===u?"top":j,v="y"===u?M:C,h=r.rects.reference[l]+r.rects.reference[u]-s[u]-r.rects.popper[l],m=s[u]-r.rects.reference[u],g=k(a),y=g?"y"===u?g.clientHeight||0:g.clientWidth||0:0,b=p[d],x=y-f[l]-p[v],w=y/2-f[l]/2+(h/2-m/2),O=es(b,w,x);r.modifiersData[o]=((n={})[u]=O,n.centerOffset=O-w,n)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&ee(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=ea(t,{elementContext:"reference"}),s=ea(t,{altBoundary:!0}),c=ec(a,r),u=ec(s,o,i),l=eu(c),p=eu(u);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:l,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":p})}}]}).defaultModifiers)?[]:c,p=void 0===(l=s.defaultOptions)?R:l,function(e,t,n){void 0===n&&(n=p);var a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},R,p),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],l=!1,f={state:s,setOptions:function(n){var r,i,a,l,v,h="function"==typeof n?n(s.options):n;d(),s.options=Object.assign({},p,s.options,h),s.scrollParents={reference:o(e)?A(e):e.contextElement?A(e.contextElement):[],popper:A(t)};var m=(i=Object.keys(r=[].concat(u,s.options.modifiers).reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{})).map(function(e){return r[e]}),a=new Map,l=new Set,v=[],i.forEach(function(e){a.set(e.name,e)}),i.forEach(function(e){l.has(e.name)||function e(t){l.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!l.has(t)){var n=a.get(t);n&&e(n)}}),v.push(t)}(e)}),N.reduce(function(e,t){return e.concat(v.filter(function(e){return e.phase===t}))},[]));return s.orderedModifiers=m.filter(function(e){return e.enabled}),s.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=e.effect;if("function"==typeof r){var o=r({state:s,name:t,instance:f,options:void 0===n?{}:n});c.push(o||function(){})}}),f.update()},forceUpdate:function(){if(!l){var e,t,n,o,a,c,u,p,d,h,m,O,T=s.elements,A=T.reference,L=T.popper;if($(A,L)){s.rects={reference:(t=k(L),n="fixed"===s.options.strategy,o=i(t),p=i(t)&&(c=v((a=t.getBoundingClientRect()).width)/t.offsetWidth||1,u=v(a.height)/t.offsetHeight||1,1!==c||1!==u),d=x(t),h=g(A,p,n),m={scrollLeft:0,scrollTop:0},O={x:0,y:0},(o||!o&&!n)&&(("body"!==b(t)||_(d))&&(m=(e=t)!==r(e)&&i(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:y(e)),i(t)?(O=g(t,!0),O.x+=t.clientLeft,O.y+=t.clientTop):d&&(O.x=w(d))),{x:h.left+m.scrollLeft-O.x,y:h.top+m.scrollTop-O.y,width:h.width,height:h.height}),popper:E(L)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(function(e){return s.modifiersData[e.name]=Object.assign({},e.data)});for(var M=0;M-1}function ey(e,t){return"function"==typeof e?e.apply(void 0,t):e}function eb(e,t){var n;return 0===t?e:function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)}}function ex(e){return[].concat(e)}function ew(e,t){-1===e.indexOf(t)&&e.push(t)}function eO(e){return[].slice.call(e)}function e_(e){return Object.keys(e).reduce(function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t},{})}function eE(){return document.createElement("div")}function eT(e){return["Element","Fragment"].some(function(t){return eg(e,t)})}function eA(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+"ms")})}function eL(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function ek(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(t){e[r](t,n)})}function eM(e,t){for(var n,r=t;r;){if(e.contains(r))return!0;r=null==r.getRootNode?void 0:null==(n=r.getRootNode())?void 0:n.host}return!1}var eC={isTouch:!1},ej=0;function eS(){!eC.isTouch&&(eC.isTouch=!0,window.performance&&document.addEventListener("mousemove",eD))}function eD(){var e=performance.now();e-ej<20&&(eC.isTouch=!1,document.removeEventListener("mousemove",eD)),ej=e}function eH(){var e=document.activeElement;if(e&&e._tippy&&e._tippy.reference===e){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var eB=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto,eP=Object.assign({appendTo:eh,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),eI=Object.keys(eP);function eW(e){var t=(e.plugins||[]).reduce(function(t,n){var r,o=n.name,i=n.defaultValue;return o&&(t[o]=void 0!==e[o]?e[o]:null!=(r=eP[o])?r:i),t},{});return Object.assign({},e,t)}function eN(e,t){var n,r=Object.assign({},t,{content:ey(t.content,[e])},t.ignoreAttributes?{}:((n=t.plugins)?Object.keys(eW(Object.assign({},eP,{plugins:n}))):eI).reduce(function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t},{}));return r.aria=Object.assign({},eP.aria,r.aria),r.aria={expanded:"auto"===r.aria.expanded?t.interactive:r.aria.expanded,content:"auto"===r.aria.content?t.interactive?null:"describedby":r.aria.content},r}function eR(e,t){e.innerHTML=t}function e$(e){var t=eE();return!0===e?t.className=ef:(t.className=ed,eT(e)?t.appendChild(e):eR(t,e)),t}function eV(e,t){eT(t.content)?(eR(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?eR(e,t.content):e.textContent=t.content)}function eq(e){var t=e.firstElementChild,n=eO(t.children);return{box:t,content:n.find(function(e){return e.classList.contains(ep)}),arrow:n.find(function(e){return e.classList.contains(ef)||e.classList.contains(ed)}),backdrop:n.find(function(e){return e.classList.contains("tippy-backdrop")})}}function eU(e){var t=eE(),n=eE();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=eE();function o(n,r){var o=eq(t),i=o.box,a=o.content,s=o.arrow;r.theme?i.setAttribute("data-theme",r.theme):i.removeAttribute("data-theme"),"string"==typeof r.animation?i.setAttribute("data-animation",r.animation):i.removeAttribute("data-animation"),r.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?i.setAttribute("role",r.role):i.removeAttribute("role"),(n.content!==r.content||n.allowHTML!==r.allowHTML)&&eV(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(i.removeChild(s),i.appendChild(e$(r.arrow))):i.appendChild(e$(r.arrow)):s&&i.removeChild(s)}return r.className=ep,r.setAttribute("data-state","hidden"),eV(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props),{popper:t,onUpdate:o}}eU.$$tippy=!0;var eF=1,ez=[],eZ=[];function eK(e,t){void 0===t&&(t={});var n=eP.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",eS,ev),window.addEventListener("blur",eH);var r=Object.assign({},t,{plugins:n}),o=(eT(e)?[e]:eg(e,"NodeList")?eO(e):Array.isArray(e)?e:eO(document.querySelectorAll(e))).reduce(function(e,t){var n=t&&function(e,t){var n,r,o,i,a,s,c,u,l=eN(e,Object.assign({},eP,eW(e_(t)))),p=!1,f=!1,d=!1,v=!1,h=[],m=eb(F,l.interactiveDebounce),g=eF++,y=(n=l.plugins).filter(function(e,t){return n.indexOf(e)===t}),b={id:g,reference:e,popper:eE(),popperInstance:null,props:l,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:y,clearDelayTimeouts:function(){clearTimeout(r),clearTimeout(o),cancelAnimationFrame(i)},setProps:function(t){if(!b.state.isDestroyed){j("onBeforeUpdate",[b,t]),q();var n=b.props,r=eN(e,Object.assign({},n,e_(t),{ignoreAttributes:!0}));b.props=r,V(),n.interactiveDebounce!==r.interactiveDebounce&&(H(),m=eb(F,r.interactiveDebounce)),n.triggerTarget&&!r.triggerTarget?ex(n.triggerTarget).forEach(function(e){e.removeAttribute("aria-expanded")}):r.triggerTarget&&e.removeAttribute("aria-expanded"),D(),C(),O&&O(n,r),b.popperInstance&&(X(),J().forEach(function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})),j("onAfterUpdate",[b,t])}},setContent:function(e){b.setProps({content:e})},show:function(){var t,n,r,o=b.state.isVisible,i=b.state.isDestroyed,a=!b.state.isEnabled,s=eC.isTouch&&!b.props.touch,l=em(b.props.duration,0,eP.duration);if(!(o||i||a||s||(u||e).hasAttribute("disabled"))&&(j("onShow",[b],!1),!1!==b.props.onShow(b))){if(b.state.isVisible=!0,L()&&(w.style.visibility="visible"),C(),W(),b.state.isMounted||(w.style.transition="none"),L()){var p=eq(w);eA([p.box,p.content],0)}c=function(){var e;if(b.state.isVisible&&!v){if(v=!0,w.offsetHeight,w.style.transition=b.props.moveTransition,L()&&b.props.animation){var t=eq(w),n=t.box,r=t.content;eA([n,r],l),eL([n,r],"visible")}S(),D(),ew(eZ,b),null==(e=b.popperInstance)||e.forceUpdate(),j("onMount",[b]),b.props.animation&&L()&&R(l,function(){b.state.isShown=!0,j("onShown",[b])})}},n=b.props.appendTo,r=u||e,(t=b.props.interactive&&n===eh||"parent"===n?r.parentNode:ey(n,[r])).contains(w)||t.appendChild(w),b.state.isMounted=!0,X()}},hide:function(){var e,t=!b.state.isVisible,n=b.state.isDestroyed,r=!b.state.isEnabled,o=em(b.props.duration,1,eP.duration);if(!t&&!n&&!r&&(j("onHide",[b],!1),!1!==b.props.onHide(b))){if(b.state.isVisible=!1,b.state.isShown=!1,v=!1,p=!1,L()&&(w.style.visibility="hidden"),H(),N(),C(!0),L()){var i=eq(w),a=i.box,s=i.content;b.props.animation&&(eA([a,s],o),eL([a,s],"hidden"))}(S(),D(),b.props.animation)?L()&&(e=b.unmount,R(o,function(){!b.state.isVisible&&w.parentNode&&w.parentNode.contains(w)&&e()})):b.unmount()}},hideWithInteractivity:function(e){k().addEventListener("mousemove",m),ew(ez,m),m(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){b.state.isVisible&&b.hide(),b.state.isMounted&&(Y(),J().forEach(function(e){e._tippy.unmount()}),w.parentNode&&w.parentNode.removeChild(w),eZ=eZ.filter(function(e){return e!==b}),b.state.isMounted=!1,j("onHidden",[b]))},destroy:function(){b.state.isDestroyed||(b.clearDelayTimeouts(),b.unmount(),q(),delete e._tippy,b.state.isDestroyed=!0,j("onDestroy",[b]))}};if(!l.render)return b;var x=l.render(b),w=x.popper,O=x.onUpdate;w.setAttribute("data-tippy-root",""),w.id="tippy-"+b.id,b.popper=w,e._tippy=b,w._tippy=b;var _=y.map(function(e){return e.fn(b)}),E=e.hasAttribute("aria-expanded");return V(),D(),C(),j("onCreate",[b]),l.showOnCreate&&G(),w.addEventListener("mouseenter",function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()}),w.addEventListener("mouseleave",function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&k().addEventListener("mousemove",m)}),b;function T(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function A(){return"hold"===T()[0]}function L(){var e;return!!(null!=(e=b.props.render)&&e.$$tippy)}function k(){var t,n,r=(u||e).parentNode;return r&&null!=(n=ex(r)[0])&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function M(e){return b.state.isMounted&&!b.state.isVisible||eC.isTouch||a&&"focus"===a.type?0:em(b.props.delay,e?0:1,eP.delay)}function C(e){void 0===e&&(e=!1),w.style.pointerEvents=b.props.interactive&&!e?"":"none",w.style.zIndex=""+b.props.zIndex}function j(e,t,n){if(void 0===n&&(n=!0),_.forEach(function(n){n[e]&&n[e].apply(n,t)}),n){var r;(r=b.props)[e].apply(r,t)}}function S(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,r=w.id;ex(b.props.triggerTarget||e).forEach(function(e){var t=e.getAttribute(n);if(b.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var o=t&&t.replace(r,"").trim();o?e.setAttribute(n,o):e.removeAttribute(n)}})}}function D(){!E&&b.props.aria.expanded&&ex(b.props.triggerTarget||e).forEach(function(t){b.props.interactive?t.setAttribute("aria-expanded",b.state.isVisible&&t===(u||e)?"true":"false"):t.removeAttribute("aria-expanded")})}function H(){k().removeEventListener("mousemove",m),ez=ez.filter(function(e){return e!==m})}function B(t){if(!eC.isTouch||!d&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!(b.props.interactive&&eM(w,n))){if(ex(b.props.triggerTarget||e).some(function(e){return eM(e,n)})){if(eC.isTouch||b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else j("onClickOutside",[b,t]);!0!==b.props.hideOnClick||(b.clearDelayTimeouts(),b.hide(),f=!0,setTimeout(function(){f=!1}),b.state.isMounted||N())}}}function P(){d=!0}function I(){d=!1}function W(){var e=k();e.addEventListener("mousedown",B,!0),e.addEventListener("touchend",B,ev),e.addEventListener("touchstart",I,ev),e.addEventListener("touchmove",P,ev)}function N(){var e=k();e.removeEventListener("mousedown",B,!0),e.removeEventListener("touchend",B,ev),e.removeEventListener("touchstart",I,ev),e.removeEventListener("touchmove",P,ev)}function R(e,t){var n=eq(w).box;function r(e){e.target===n&&(ek(n,"remove",r),t())}if(0===e)return t();ek(n,"remove",s),ek(n,"add",r),s=r}function $(t,n,r){void 0===r&&(r=!1),ex(b.props.triggerTarget||e).forEach(function(e){e.addEventListener(t,n,r),h.push({node:e,eventType:t,handler:n,options:r})})}function V(){A()&&($("touchstart",U,{passive:!0}),$("touchend",z,{passive:!0})),b.props.trigger.split(/\s+/).filter(Boolean).forEach(function(e){if("manual"!==e)switch($(e,U),e){case"mouseenter":$("mouseleave",z);break;case"focus":$(eB?"focusout":"blur",Z);break;case"focusin":$("focusout",Z)}})}function q(){h.forEach(function(e){var t=e.node,n=e.eventType,r=e.handler,o=e.options;t.removeEventListener(n,r,o)}),h=[]}function U(e){var t,n=!1;if(!(!b.state.isEnabled||K(e))&&!f){var r=(null==(t=a)?void 0:t.type)==="focus";a=e,u=e.currentTarget,D(),!b.state.isVisible&&eg(e,"MouseEvent")&&ez.forEach(function(t){return t(e)}),"click"===e.type&&(0>b.props.trigger.indexOf("mouseenter")||p)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:G(e),"click"===e.type&&(p=!n),n&&!r&&Q(e)}}function F(t){var n,r,o,i=t.target,a=(u||e).contains(i)||w.contains(i);("mousemove"!==t.type||!a)&&(n=J().concat(w).map(function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:l}:null}).filter(Boolean),r=t.clientX,o=t.clientY,n.every(function(e){var t=e.popperRect,n=e.popperState,i=e.props.interactiveBorder,a=n.placement.split("-")[0],s=n.modifiersData.offset;if(!s)return!0;var c="bottom"===a?s.top.y:0,u="top"===a?s.bottom.y:0,l="right"===a?s.left.x:0,p="left"===a?s.right.x:0,f=t.top-o+c>i,d=o-t.bottom-u>i,v=t.left-r+l>i,h=r-t.right-p>i;return f||d||v||h})&&(H(),Q(t)))}function z(e){if(!(K(e)||b.props.trigger.indexOf("click")>=0&&p)){if(b.props.interactive){b.hideWithInteractivity(e);return}Q(e)}}function Z(t){0>b.props.trigger.indexOf("focusin")&&t.target!==(u||e)||b.props.interactive&&t.relatedTarget&&w.contains(t.relatedTarget)||Q(t)}function K(e){return!!eC.isTouch&&A()!==e.type.indexOf("touch")>=0}function X(){Y();var t=b.props,n=t.popperOptions,r=t.placement,o=t.offset,i=t.getReferenceClientRect,a=t.moveTransition,s=L()?eq(w).arrow:null,l=i?{getBoundingClientRect:i,contextElement:i.contextElement||u||e}:e,p=[{name:"offset",options:{offset:o}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(L()){var n=eq(w).box;["placement","reference-hidden","escaped"].forEach(function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)}),t.attributes.popper={}}}}];L()&&s&&p.push({name:"arrow",options:{element:s,padding:3}}),p.push.apply(p,(null==n?void 0:n.modifiers)||[]),b.popperInstance=el(l,w,Object.assign({},n,{placement:r,onFirstUpdate:c,modifiers:p}))}function Y(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function J(){return eO(w.querySelectorAll("[data-tippy-root]"))}function G(e){b.clearDelayTimeouts(),e&&j("onTrigger",[b,e]),W();var t=M(!0),n=T(),o=n[0],i=n[1];eC.isTouch&&"hold"===o&&i&&(t=i),t?r=setTimeout(function(){b.show()},t):b.show()}function Q(e){if(b.clearDelayTimeouts(),j("onUntrigger",[b,e]),!b.state.isVisible){N();return}if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0)||!p){var t=M(!1);t?o=setTimeout(function(){b.state.isVisible&&b.hide()},t):i=requestAnimationFrame(function(){b.hide()})}}}(t,r);return n&&e.push(n),e},[]);return eT(e)?o[0]:o}eK.defaultProps=eP,eK.setDefaultProps=function(e){Object.keys(e).forEach(function(t){eP[t]=e[t]})},eK.currentInput=eC,Object.assign({},X,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}}),eK.setDefaultProps({render:eU});var eX=eK},54491:function(e,t,n){"use strict";function r(e,[t,n]){return Math.min(n,Math.max(t,e))}n.d(t,{u:function(){return r}})},46836:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(31408);let o=r.NB.create({name:"doc",topNode:!0,content:"block+"})},10345:function(e,t,n){"use strict";n.d(t,{ZP:function(){return c}});var r=n(31408),o=n(10155),i=n(21142);let a=new o.H$("suggestion"),s=new o.H$("mention"),c=r.NB.create({name:"mention",addOptions(){return{HTMLAttributes:{},renderText({options:e,node:t}){var n;return`${e.suggestion.char}${null!==(n=t.attrs.label)&&void 0!==n?n:t.attrs.id}`},deleteTriggerWithBackspace:!1,renderHTML({options:e,node:t}){var n;return["span",(0,r.P1)(this.HTMLAttributes,e.HTMLAttributes),`${e.suggestion.char}${null!==(n=t.attrs.label)&&void 0!==n?n:t.attrs.id}`]},suggestion:{char:"@",pluginKey:s,command:({editor:e,range:t,props:n})=>{var r,o;let i=e.view.state.selection.$to.nodeAfter,a=null===(r=null==i?void 0:i.text)||void 0===r?void 0:r.startsWith(" ");a&&(t.to+=1),e.chain().focus().insertContentAt(t,[{type:this.name,attrs:n},{type:"text",text:" "}]).run(),null===(o=window.getSelection())||void 0===o||o.collapseToEnd()},allow:({state:e,range:t})=>{let n=e.doc.resolve(t.from),r=e.schema.nodes[this.name],o=!!n.parent.type.contentMatch.matchType(r);return o}}}},group:"inline",inline:!0,selectable:!1,atom:!0,addAttributes:()=>({id:{default:null,parseHTML:e=>e.getAttribute("data-id"),renderHTML:e=>e.id?{"data-id":e.id}:{}},label:{default:null,parseHTML:e=>e.getAttribute("data-label"),renderHTML:e=>e.label?{"data-label":e.label}:{}}}),parseHTML(){return[{tag:`span[data-type="${this.name}"]`}]},renderHTML({node:e,HTMLAttributes:t}){if(void 0!==this.options.renderLabel)return console.warn("renderLabel is deprecated use renderText and renderHTML instead"),["span",(0,r.P1)({"data-type":this.name},this.options.HTMLAttributes,t),this.options.renderLabel({options:this.options,node:e})];let n={...this.options};n.HTMLAttributes=(0,r.P1)({"data-type":this.name},this.options.HTMLAttributes,t);let o=this.options.renderHTML({options:n,node:e});return"string"==typeof o?["span",(0,r.P1)({"data-type":this.name},this.options.HTMLAttributes,t),o]:o},renderText({node:e}){return void 0!==this.options.renderLabel?(console.warn("renderLabel is deprecated use renderText and renderHTML instead"),this.options.renderLabel({options:this.options,node:e})):this.options.renderText({options:this.options,node:e})},addKeyboardShortcuts(){return{Backspace:()=>this.editor.commands.command(({tr:e,state:t})=>{let n=!1,{selection:r}=t,{empty:o,anchor:i}=r;return!!o&&(t.doc.nodesBetween(i-1,i,(t,r)=>{if(t.type.name===this.name)return n=!0,e.insertText(this.options.deleteTriggerWithBackspace?"":this.options.suggestion.char||"",r,r+t.nodeSize),!1}),n)})}},addProseMirrorPlugins(){return[function({pluginKey:e=a,editor:t,char:n="@",allowSpaces:s=!1,allowedPrefixes:c=[" "],startOfLine:u=!1,decorationTag:l="span",decorationClass:p="suggestion",command:f=()=>null,items:d=()=>[],render:v=()=>({}),allow:h=()=>!0,findSuggestionMatch:m=function(e){var t;let{char:n,allowSpaces:o,allowedPrefixes:i,startOfLine:a,$position:s}=e,c=(0,r.Ov)(n),u=RegExp(`\\s${c}$`),l=a?"^":"",p=o?RegExp(`${l}${c}.*?(?=\\s${c}|$)`,"gm"):RegExp(`${l}(?:^)?${c}[^\\s${c}]*`,"gm"),f=(null===(t=s.nodeBefore)||void 0===t?void 0:t.isText)&&s.nodeBefore.text;if(!f)return null;let d=s.pos-f.length,v=Array.from(f.matchAll(p)).pop();if(!v||void 0===v.input||void 0===v.index)return null;let h=v.input.slice(Math.max(0,v.index-1),v.index),m=RegExp(`^[${null==i?void 0:i.join("")}\0]?$`).test(h);if(null!==i&&!m)return null;let g=d+v.index,y=g+v[0].length;return(o&&u.test(f.slice(y-1,y+1))&&(v[0]+=" ",y+=1),g=s.pos)?{range:{from:g,to:y},query:v[0].slice(n.length),text:v[0]}:null}}){let g;let y=null==v?void 0:v(),b=new o.Sy({key:e,view(){return{update:async(e,n)=>{var r,o,i,a,s,c,u;let l=null===(r=this.key)||void 0===r?void 0:r.getState(n),p=null===(o=this.key)||void 0===o?void 0:o.getState(e.state),v=l.active&&p.active&&l.range.from!==p.range.from,h=!l.active&&p.active,m=l.active&&!p.active,b=!h&&!m&&l.query!==p.query,x=h||v&&b,w=b||v,O=m||v&&b;if(!x&&!w&&!O)return;let _=O&&!x?l:p,E=e.dom.querySelector(`[data-decoration-id="${_.decorationId}"]`);g={editor:t,range:_.range,query:_.query,text:_.text,items:[],command:e=>f({editor:t,range:_.range,props:e}),decorationNode:E,clientRect:E?()=>{var n;let{decorationId:r}=null===(n=this.key)||void 0===n?void 0:n.getState(t.state),o=e.dom.querySelector(`[data-decoration-id="${r}"]`);return(null==o?void 0:o.getBoundingClientRect())||null}:null},x&&(null===(i=null==y?void 0:y.onBeforeStart)||void 0===i||i.call(y,g)),w&&(null===(a=null==y?void 0:y.onBeforeUpdate)||void 0===a||a.call(y,g)),(w||x)&&(g.items=await d({editor:t,query:_.query})),O&&(null===(s=null==y?void 0:y.onExit)||void 0===s||s.call(y,g)),w&&(null===(c=null==y?void 0:y.onUpdate)||void 0===c||c.call(y,g)),x&&(null===(u=null==y?void 0:y.onStart)||void 0===u||u.call(y,g))},destroy:()=>{var e;g&&(null===(e=null==y?void 0:y.onExit)||void 0===e||e.call(y,g))}}},state:{init:()=>({active:!1,range:{from:0,to:0},query:null,text:null,composing:!1}),apply(e,r,o,i){let{isEditable:a}=t,{composing:l}=t.view,{selection:p}=e,{empty:f,from:d}=p,v={...r};if(v.composing=l,a&&(f||t.view.composing)){(dr.range.to)&&!l&&!r.composing&&(v.active=!1);let e=m({char:n,allowSpaces:s,allowedPrefixes:c,startOfLine:u,$position:p.$from}),o=`id_${Math.floor(4294967295*Math.random())}`;e&&h({editor:t,state:i,range:e.range,isActive:r.active})?(v.active=!0,v.decorationId=r.decorationId?r.decorationId:o,v.range=e.range,v.query=e.query,v.text=e.text):v.active=!1}else v.active=!1;return v.active||(v.decorationId=null,v.range={from:0,to:0},v.query=null,v.text=null),v}},props:{handleKeyDown(e,t){var n;let{active:r,range:o}=b.getState(e.state);return!!r&&((null===(n=null==y?void 0:y.onKeyDown)||void 0===n?void 0:n.call(y,{view:e,event:t,range:o}))||!1)},decorations(e){let{active:t,range:n,decorationId:r}=b.getState(e);return t?i.EH.create(e.doc,[i.p.inline(n.from,n.to,{nodeName:l,class:p,"data-decoration-id":r})]):null}}});return b}({editor:this.editor,...this.options.suggestion})]}})},75866:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(31408);let o=r.NB.create({name:"paragraph",priority:1e3,addOptions:()=>({HTMLAttributes:{}}),group:"block",content:"inline*",parseHTML:()=>[{tag:"p"}],renderHTML({HTMLAttributes:e}){return["p",(0,r.P1)(this.options.HTMLAttributes,e),0]},addCommands(){return{setParagraph:()=>({commands:e})=>e.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}})},97216:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(31408),o=n(10155),i=n(21142);let a=r.hj.create({name:"placeholder",addOptions:()=>({emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",placeholder:"Write something …",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}),addProseMirrorPlugins(){return[new o.Sy({key:new o.H$("placeholder"),props:{decorations:({doc:e,selection:t})=>{let n=this.editor.isEditable||!this.options.showOnlyWhenEditable,{anchor:o}=t,a=[];if(!n)return null;let s=this.editor.isEmpty;return e.descendants((e,t)=>{let n=o>=t&&o<=t+e.nodeSize,c=!e.isLeaf&&(0,r.bR)(e);if((n||!this.options.showOnlyCurrent)&&c){let r=[this.options.emptyNodeClass];s&&r.push(this.options.emptyEditorClass);let o=i.p.node(t,t+e.nodeSize,{class:r.join(" "),"data-placeholder":"function"==typeof this.options.placeholder?this.options.placeholder({editor:this.editor,node:e,pos:t,hasAnchor:n}):this.options.placeholder});a.push(o)}return this.options.includeChildren}),i.EH.create(e,a)}}})]}})},48497:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(31408);let o=r.NB.create({name:"text",group:"inline"})}}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4916],{45238:function(e,t){var n,r;void 0!==(r="function"==typeof(n=e=>{"use strict";var t,n,r,o,i=(e,t="",n="")=>{for(var r="function"==typeof t?t:void 0,o=e.target,i=o.length,a=e.indexes,s="",c=0,u=0,l=!1,p=[],f=0;f{"number"==typeof e?e=""+e:"string"!=typeof e&&(e="");var t=y(e);return u(e,{_targetLower:t._lower,_targetLowerCodes:t.lowerCodes,_bitflags:t.bitflags})};class s{get indexes(){return this._indexes.slice(0,this._indexes.len).sort((e,t)=>e-t)}set indexes(e){return this._indexes=e}highlight(e,t){return i(this,e,t)}get score(){return l(this._score)}set score(e){this._score=p(e)}}class c extends Array{get score(){return l(this._score)}set score(e){this._score=p(e)}}var u=(e,t)=>{let n=new s;return n.target=e,n.obj=t.obj??B,n._score=t._score??D,n._indexes=t._indexes??[],n._targetLower=t._targetLower??"",n._targetLowerCodes=t._targetLowerCodes??B,n._nextBeginningIndexes=t._nextBeginningIndexes??B,n._bitflags=t._bitflags??0,n},l=e=>e===D?0:e>1?e:Math.E**-(((-e+1)**.04307-1)*2),p=e=>0===e?D:e>1?e:1-Math.pow(-(Math.log(e)/2)+1,1/.04307),f=e=>{"number"==typeof e?e=""+e:"string"!=typeof e&&(e="");var t=y(e=e.trim()),n=[];if(t.containsSpace){var r=e.split(/\s+/);r=[...new Set(r)];for(var o=0;o{if(e.length>999)return a(e);var t=w.get(e);return void 0!==t||(t=a(e),w.set(e,t)),t},v=e=>{if(e.length>999)return f(e);var t=O.get(e);return void 0!==t||(t=f(e),O.set(e,t)),t},h=(e,t)=>{var n=[];n.total=e.length;var r=t?.limit||S;if(t?.key)for(var o=0;o=r)break}}else if(t?.keys)for(var o=0;o=0;--p){var a=C(i,t.keys[p]);if(!a){l[p]=P;continue}j(a)||(a=d(a)),a._score=D,a._indexes.len=0,l[p]=a}if(l.obj=i,l._score=D,n.push(l),n.length>=r)break}else for(var o=0;o=r))break}return n},m=(e,t,n=!1,r=!1)=>{if(!1===n&&e.containsSpace)return g(e,t,r);for(var o=e._lower,i=e.lowerCodes,a=i[0],c=t._targetLowerCodes,u=i.length,l=c.length,p=0,f=0,d=0;;){var v=a===c[f];if(v){if(_[d++]=f,++p===u)break;a=i[p]}if(++f>=l)return B}var p=0,h=!1,m=0,y=t._nextBeginningIndexes;y===B&&(y=t._nextBeginningIndexes=x(t.target));var b=0;if((f=0===_[0]?0:y[_[0]-1])!==l)for(;;)if(f>=l){if(p<=0||++b>200)break;--p,f=y[E[--m]]}else{var v=i[p]===c[f];if(v){if(E[m++]=f,++p===u){h=!0;break}++f}else f=y[f]}var w=u<=1?-1:t._targetLower.indexOf(o,_[0]),O=!!~w,T=!!O&&(0===w||t._nextBeginningIndexes[w-1]===w);if(O&&!T){for(var A=0;A{for(var t=0,n=0,r=1;r24&&(t*=(o-24)*10)}else t*=1e3;return t-=(l-u)/2,O&&(t/=1+u*u*1),T&&(t/=1+u*u*1),t-=(l-u)/2};if(h){if(T){for(var A=0;A{for(var r=new Set,o=0,i=B,a=0,s=e.spaceSearches,c=s.length,u=0,l=()=>{for(let e=u-1;e>=0;e--)t._nextBeginningIndexes[T[2*e+0]]=T[2*e+1]},p=!1,f=0;f=0&&g===t._nextBeginningIndexes[e];e--)t._nextBeginningIndexes[e]=h,T[2*u+0]=e,T[2*u+1]=g,u++}}o+=i._score/c,L[f]=i._score/c,i._indexes[0]o){if(n)for(var f=0;f{for(var t=e.length,n=e.toLowerCase(),r=[],o=0,i=!1,a=0;a=97&&s<=122?s-97:s>=48&&s<=57?26:s<=127?30:31)}return{lowerCodes:r,bitflags:o,containsSpace:i,_lower:n}},b=e=>{for(var t=e.length,n=[],r=0,o=!1,i=!1,a=0;a=65&&s<=90,u=c||s>=97&&s<=122||s>=48&&s<=57,l=c&&!o||!i||!u;o=c,i=u,l&&(n[r++]=a)}return n},x=e=>{for(var t=e.length,n=b(e),r=[],o=n[0],i=0,a=0;aa?r[a]=o:(o=n[++i],r[a]=void 0===o?t:o);return r},w=new Map,O=new Map,_=[],E=[],T=[],A=[],L=[],k=[],M=[],C=(e,t)=>{var n=e[t];if(void 0!==n)return n;if("function"==typeof t)return t(e);var r=t;Array.isArray(t)||(r=t.split("."));for(var o=r.length,i=-1;e&&++i"object"==typeof e&&"number"==typeof e._bitflags,S=1/0,D=-1/0,H=[];H.total=0;var B=null,P=a(""),I=(t=[],n=0,r={},o=e=>{for(var r=0,o=t[r],i=1;i>1]=t[r],i=1+(r<<1)}for(var s=r-1>>1;r>0&&o._score>1)t[r]=t[s];t[r]=o},r.add=e=>{var r=n;t[n++]=e;for(var o=r-1>>1;r>0&&e._score>1)t[r]=t[o];t[r]=e},r.poll=e=>{if(0!==n){var r=t[0];return t[0]=t[--n],o(),r}},r.peek=e=>{if(0!==n)return t[0]},r.replaceTop=e=>{t[0]=e,o()},r);return{single:(e,t)=>{if(!e||!t)return B;var n=v(e);j(t)||(t=d(t));var r=n.bitflags;return(r&t._bitflags)!==r?B:m(n,t)},go:(e,t,n)=>{if(!e)return n?.all?h(t,n):H;var r=v(e),o=r.bitflags,i=r.containsSpace,a=p(n?.threshold||0),s=n?.limit||S,u=0,l=0,f=t.length;function g(e){uI.peek()._score&&I.replaceTop(e))}if(n?.key)for(var y=n.key,b=0;b-1e3&&A[e]>D){var N=(A[e]+L[e])/4;N>A[e]&&(A[e]=N)}L[e]>A[e]&&(A[e]=L[e])}}if(i){for(let e=0;e-1e3&&V>D){var N=(V+O._score)/4;N>V&&(V=N)}O._score>V&&(V=O._score)}}if($.obj=x,$._score=V,n?.scoreFn){if(!(V=n.scoreFn($)))continue;V=p(V),$._score=V}V=0;--b)q[b]=I.poll();return q.total=u+l,q},prepare:a,cleanup:()=>{w.clear(),O.clear()}}})?n.apply(t,[]):n)&&(e.exports=r)},44750:function(){},31022:function(e,t,n){"use strict";function r(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function o(e){var t=r(e).Element;return e instanceof t||e instanceof Element}function i(e){var t=r(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function a(e){if("undefined"==typeof ShadowRoot)return!1;var t=r(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}n.d(t,{ZP:function(){return eX}});var s,c,u,l,p,f=Math.max,d=Math.min,v=Math.round;function h(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function m(){return!/^((?!chrome|android).)*safari/i.test(h())}function g(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var a=e.getBoundingClientRect(),s=1,c=1;t&&i(e)&&(s=e.offsetWidth>0&&v(a.width)/e.offsetWidth||1,c=e.offsetHeight>0&&v(a.height)/e.offsetHeight||1);var u=(o(e)?r(e):window).visualViewport,l=!m()&&n,p=(a.left+(l&&u?u.offsetLeft:0))/s,f=(a.top+(l&&u?u.offsetTop:0))/c,d=a.width/s,h=a.height/c;return{width:d,height:h,top:f,right:p+d,bottom:f+h,left:p,x:p,y:f}}function y(e){var t=r(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function b(e){return e?(e.nodeName||"").toLowerCase():null}function x(e){return((o(e)?e.ownerDocument:e.document)||window.document).documentElement}function w(e){return g(x(e)).left+y(e).scrollLeft}function O(e){return r(e).getComputedStyle(e)}function _(e){var t=O(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function E(e){var t=g(e),n=e.offsetWidth,r=e.offsetHeight;return 1>=Math.abs(t.width-n)&&(n=t.width),1>=Math.abs(t.height-r)&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function T(e){return"html"===b(e)?e:e.assignedSlot||e.parentNode||(a(e)?e.host:null)||x(e)}function A(e,t){void 0===t&&(t=[]);var n,o=function e(t){return["html","body","#document"].indexOf(b(t))>=0?t.ownerDocument.body:i(t)&&_(t)?t:e(T(t))}(e),a=o===(null==(n=e.ownerDocument)?void 0:n.body),s=r(o),c=a?[s].concat(s.visualViewport||[],_(o)?o:[]):o,u=t.concat(c);return a?u:u.concat(A(T(c)))}function L(e){return i(e)&&"fixed"!==O(e).position?e.offsetParent:null}function k(e){for(var t=r(e),n=L(e);n&&["table","td","th"].indexOf(b(n))>=0&&"static"===O(n).position;)n=L(n);return n&&("html"===b(n)||"body"===b(n)&&"static"===O(n).position)?t:n||function(e){var t=/firefox/i.test(h());if(/Trident/i.test(h())&&i(e)&&"fixed"===O(e).position)return null;var n=T(e);for(a(n)&&(n=n.host);i(n)&&0>["html","body"].indexOf(b(n));){var r=O(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var M="bottom",C="right",j="left",S="auto",D=["top",M,C,j],H="start",B="viewport",P="popper",I=D.reduce(function(e,t){return e.concat([t+"-"+H,t+"-end"])},[]),W=[].concat(D,[S]).reduce(function(e,t){return e.concat([t,t+"-"+H,t+"-end"])},[]),N=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],R={placement:"bottom",modifiers:[],strategy:"absolute"};function $(){for(var e=arguments.length,t=Array(e),n=0;n=0?"x":"y"}function z(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?q(o):null,a=o?U(o):null,s=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(i){case"top":t={x:s,y:n.y-r.height};break;case M:t={x:s,y:n.y+n.height};break;case C:t={x:n.x+n.width,y:c};break;case j:t={x:n.x-r.width,y:c};break;default:t={x:n.x,y:n.y}}var u=i?F(i):null;if(null!=u){var l="y"===u?"height":"width";switch(a){case H:t[u]=t[u]-(n[l]/2-r[l]/2);break;case"end":t[u]=t[u]+(n[l]/2-r[l]/2)}}return t}var Z={top:"auto",right:"auto",bottom:"auto",left:"auto"};function K(e){var t,n,o,i,a,s,c,u=e.popper,l=e.popperRect,p=e.placement,f=e.variation,d=e.offsets,h=e.position,m=e.gpuAcceleration,g=e.adaptive,y=e.roundOffsets,b=e.isFixed,w=d.x,_=void 0===w?0:w,E=d.y,T=void 0===E?0:E,A="function"==typeof y?y({x:_,y:T}):{x:_,y:T};_=A.x,T=A.y;var L=d.hasOwnProperty("x"),S=d.hasOwnProperty("y"),D=j,H="top",B=window;if(g){var P=k(u),I="clientHeight",W="clientWidth";P===r(u)&&"static"!==O(P=x(u)).position&&"absolute"===h&&(I="scrollHeight",W="scrollWidth"),("top"===p||(p===j||p===C)&&"end"===f)&&(H=M,T-=(b&&P===B&&B.visualViewport?B.visualViewport.height:P[I])-l.height,T*=m?1:-1),(p===j||("top"===p||p===M)&&"end"===f)&&(D=C,_-=(b&&P===B&&B.visualViewport?B.visualViewport.width:P[W])-l.width,_*=m?1:-1)}var N=Object.assign({position:h},g&&Z),R=!0===y?(t={x:_,y:T},n=r(u),o=t.x,i=t.y,{x:v(o*(a=n.devicePixelRatio||1))/a||0,y:v(i*a)/a||0}):{x:_,y:T};return(_=R.x,T=R.y,m)?Object.assign({},N,((c={})[H]=S?"0":"",c[D]=L?"0":"",c.transform=1>=(B.devicePixelRatio||1)?"translate("+_+"px, "+T+"px)":"translate3d("+_+"px, "+T+"px, 0)",c)):Object.assign({},N,((s={})[H]=S?T+"px":"",s[D]=L?_+"px":"",s.transform="",s))}var X={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];i(o)&&b(o)&&(Object.assign(o.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});i(r)&&b(r)&&(Object.assign(r.style,a),Object.keys(o).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]},Y={left:"right",right:"left",bottom:"top",top:"bottom"};function J(e){return e.replace(/left|right|bottom|top/g,function(e){return Y[e]})}var G={start:"end",end:"start"};function Q(e){return e.replace(/start|end/g,function(e){return G[e]})}function ee(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&a(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function et(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function en(e,t,n){var i,a,s,c,u,l,p,d,v,h;return t===B?et(function(e,t){var n=r(e),o=x(e),i=n.visualViewport,a=o.clientWidth,s=o.clientHeight,c=0,u=0;if(i){a=i.width,s=i.height;var l=m();(l||!l&&"fixed"===t)&&(c=i.offsetLeft,u=i.offsetTop)}return{width:a,height:s,x:c+w(e),y:u}}(e,n)):o(t)?((i=g(t,!1,"fixed"===n)).top=i.top+t.clientTop,i.left=i.left+t.clientLeft,i.bottom=i.top+t.clientHeight,i.right=i.left+t.clientWidth,i.width=t.clientWidth,i.height=t.clientHeight,i.x=i.left,i.y=i.top,i):et((a=x(e),c=x(a),u=y(a),l=null==(s=a.ownerDocument)?void 0:s.body,p=f(c.scrollWidth,c.clientWidth,l?l.scrollWidth:0,l?l.clientWidth:0),d=f(c.scrollHeight,c.clientHeight,l?l.scrollHeight:0,l?l.clientHeight:0),v=-u.scrollLeft+w(a),h=-u.scrollTop,"rtl"===O(l||c).direction&&(v+=f(c.clientWidth,l?l.clientWidth:0)-p),{width:p,height:d,x:v,y:h}))}function er(){return{top:0,right:0,bottom:0,left:0}}function eo(e){return Object.assign({},er(),e)}function ei(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function ea(e,t){void 0===t&&(t={});var n,r,a,s,c,u,l,p=t,v=p.placement,h=void 0===v?e.placement:v,m=p.strategy,y=void 0===m?e.strategy:m,w=p.boundary,_=p.rootBoundary,E=p.elementContext,L=void 0===E?P:E,j=p.altBoundary,S=p.padding,H=void 0===S?0:S,I=eo("number"!=typeof H?H:ei(H,D)),W=e.rects.popper,N=e.elements[void 0!==j&&j?L===P?"reference":P:L],R=(n=o(N)?N:N.contextElement||x(e.elements.popper),u=(c=[].concat("clippingParents"===(r=void 0===w?"clippingParents":w)?(a=A(T(n)),o(s=["absolute","fixed"].indexOf(O(n).position)>=0&&i(n)?k(n):n)?a.filter(function(e){return o(e)&&ee(e,s)&&"body"!==b(e)}):[]):[].concat(r),[void 0===_?B:_]))[0],(l=c.reduce(function(e,t){var r=en(n,t,y);return e.top=f(r.top,e.top),e.right=d(r.right,e.right),e.bottom=d(r.bottom,e.bottom),e.left=f(r.left,e.left),e},en(n,u,y))).width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l),$=g(e.elements.reference),V=z({reference:$,element:W,strategy:"absolute",placement:h}),q=et(Object.assign({},W,V)),U=L===P?q:$,F={top:R.top-U.top+I.top,bottom:U.bottom-R.bottom+I.bottom,left:R.left-U.left+I.left,right:U.right-R.right+I.right},Z=e.modifiersData.offset;if(L===P&&Z){var K=Z[h];Object.keys(F).forEach(function(e){var t=[C,M].indexOf(e)>=0?1:-1,n=["top",M].indexOf(e)>=0?"y":"x";F[e]+=K[n]*t})}return F}function es(e,t,n){return f(e,d(t,n))}function ec(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function eu(e){return["top",C,M,j].some(function(t){return e[t]>=0})}var el=(u=void 0===(c=(s={defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,o=e.options,i=o.scroll,a=void 0===i||i,s=o.resize,c=void 0===s||s,u=r(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&l.forEach(function(e){e.addEventListener("scroll",n.update,V)}),c&&u.addEventListener("resize",n.update,V),function(){a&&l.forEach(function(e){e.removeEventListener("scroll",n.update,V)}),c&&u.removeEventListener("resize",n.update,V)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=z({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=n.adaptive,i=n.roundOffsets,a=void 0===i||i,s={placement:q(t.placement),variation:U(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:void 0===r||r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,K(Object.assign({},s,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:void 0===o||o,roundOffsets:a})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,K(Object.assign({},s,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},X,{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=W.reduce(function(e,n){var r,o,a,s,c,u;return e[n]=(r=t.rects,a=[j,"top"].indexOf(o=q(n))>=0?-1:1,c=(s="function"==typeof i?i(Object.assign({},r,{placement:n})):i)[0],u=s[1],c=c||0,u=(u||0)*a,[j,C].indexOf(o)>=0?{x:u,y:c}:{x:c,y:u}),e},{}),s=a[t.placement],c=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,c=n.fallbackPlacements,u=n.padding,l=n.boundary,p=n.rootBoundary,f=n.altBoundary,d=n.flipVariations,v=void 0===d||d,h=n.allowedAutoPlacements,m=t.options.placement,g=q(m)===m,y=c||(g||!v?[J(m)]:function(e){if(q(e)===S)return[];var t=J(e);return[Q(e),t,Q(t)]}(m)),b=[m].concat(y).reduce(function(e,n){var r,o,i,a,s,c,f,d,m,g,y,b;return e.concat(q(n)===S?(o=(r={placement:n,boundary:l,rootBoundary:p,padding:u,flipVariations:v,allowedAutoPlacements:h}).placement,i=r.boundary,a=r.rootBoundary,s=r.padding,c=r.flipVariations,d=void 0===(f=r.allowedAutoPlacements)?W:f,0===(y=(g=(m=U(o))?c?I:I.filter(function(e){return U(e)===m}):D).filter(function(e){return d.indexOf(e)>=0})).length&&(y=g),Object.keys(b=y.reduce(function(e,n){return e[n]=ea(t,{placement:n,boundary:i,rootBoundary:a,padding:s})[q(n)],e},{})).sort(function(e,t){return b[e]-b[t]})):n)},[]),x=t.rects.reference,w=t.rects.popper,O=new Map,_=!0,E=b[0],T=0;T=0,P=B?"width":"height",N=ea(t,{placement:A,boundary:l,rootBoundary:p,altBoundary:f,padding:u}),R=B?k?C:j:k?M:"top";x[P]>w[P]&&(R=J(R));var $=J(R),V=[];if(i&&V.push(N[L]<=0),s&&V.push(N[R]<=0,N[$]<=0),V.every(function(e){return e})){E=A,_=!1;break}O.set(A,V)}if(_)for(var F=v?3:1,z=function(e){var t=b.find(function(t){var n=O.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return E=t,"break"},Z=F;Z>0&&"break"!==z(Z);Z--);t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=n.altAxis,a=n.boundary,s=n.rootBoundary,c=n.altBoundary,u=n.padding,l=n.tether,p=void 0===l||l,v=n.tetherOffset,h=void 0===v?0:v,m=ea(t,{boundary:a,rootBoundary:s,padding:u,altBoundary:c}),g=q(t.placement),y=U(t.placement),b=!y,x=F(g),w="x"===x?"y":"x",O=t.modifiersData.popperOffsets,_=t.rects.reference,T=t.rects.popper,A="function"==typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,L="number"==typeof A?{mainAxis:A,altAxis:A}:Object.assign({mainAxis:0,altAxis:0},A),S=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,D={x:0,y:0};if(O){if(void 0===o||o){var B,P="y"===x?"top":j,I="y"===x?M:C,W="y"===x?"height":"width",N=O[x],R=N+m[P],$=N-m[I],V=p?-T[W]/2:0,z=y===H?_[W]:T[W],Z=y===H?-T[W]:-_[W],K=t.elements.arrow,X=p&&K?E(K):{width:0,height:0},Y=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:er(),J=Y[P],G=Y[I],Q=es(0,_[W],X[W]),ee=b?_[W]/2-V-Q-J-L.mainAxis:z-Q-J-L.mainAxis,et=b?-_[W]/2+V+Q+G+L.mainAxis:Z+Q+G+L.mainAxis,en=t.elements.arrow&&k(t.elements.arrow),eo=en?"y"===x?en.clientTop||0:en.clientLeft||0:0,ei=null!=(B=null==S?void 0:S[x])?B:0,ec=N+ee-ei-eo,eu=N+et-ei,el=es(p?d(R,ec):R,N,p?f($,eu):$);O[x]=el,D[x]=el-N}if(void 0!==i&&i){var ep,ef,ed="x"===x?"top":j,ev="x"===x?M:C,eh=O[w],em="y"===w?"height":"width",eg=eh+m[ed],ey=eh-m[ev],eb=-1!==["top",j].indexOf(g),ex=null!=(ef=null==S?void 0:S[w])?ef:0,ew=eb?eg:eh-_[em]-T[em]-ex+L.altAxis,eO=eb?eh+_[em]+T[em]-ex-L.altAxis:ey,e_=p&&eb?(ep=es(ew,eh,eO))>eO?eO:ep:es(p?ew:eg,eh,p?eO:ey);O[w]=e_,D[w]=e_-eh}t.modifiersData[r]=D}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n,r=e.state,o=e.name,i=e.options,a=r.elements.arrow,s=r.modifiersData.popperOffsets,c=q(r.placement),u=F(c),l=[j,C].indexOf(c)>=0?"height":"width";if(a&&s){var p=eo("number"!=typeof(t="function"==typeof(t=i.padding)?t(Object.assign({},r.rects,{placement:r.placement})):t)?t:ei(t,D)),f=E(a),d="y"===u?"top":j,v="y"===u?M:C,h=r.rects.reference[l]+r.rects.reference[u]-s[u]-r.rects.popper[l],m=s[u]-r.rects.reference[u],g=k(a),y=g?"y"===u?g.clientHeight||0:g.clientWidth||0:0,b=p[d],x=y-f[l]-p[v],w=y/2-f[l]/2+(h/2-m/2),O=es(b,w,x);r.modifiersData[o]=((n={})[u]=O,n.centerOffset=O-w,n)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&ee(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=ea(t,{elementContext:"reference"}),s=ea(t,{altBoundary:!0}),c=ec(a,r),u=ec(s,o,i),l=eu(c),p=eu(u);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:l,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":p})}}]}).defaultModifiers)?[]:c,p=void 0===(l=s.defaultOptions)?R:l,function(e,t,n){void 0===n&&(n=p);var a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},R,p),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],l=!1,f={state:s,setOptions:function(n){var r,i,a,l,v,h="function"==typeof n?n(s.options):n;d(),s.options=Object.assign({},p,s.options,h),s.scrollParents={reference:o(e)?A(e):e.contextElement?A(e.contextElement):[],popper:A(t)};var m=(i=Object.keys(r=[].concat(u,s.options.modifiers).reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{})).map(function(e){return r[e]}),a=new Map,l=new Set,v=[],i.forEach(function(e){a.set(e.name,e)}),i.forEach(function(e){l.has(e.name)||function e(t){l.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!l.has(t)){var n=a.get(t);n&&e(n)}}),v.push(t)}(e)}),N.reduce(function(e,t){return e.concat(v.filter(function(e){return e.phase===t}))},[]));return s.orderedModifiers=m.filter(function(e){return e.enabled}),s.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=e.effect;if("function"==typeof r){var o=r({state:s,name:t,instance:f,options:void 0===n?{}:n});c.push(o||function(){})}}),f.update()},forceUpdate:function(){if(!l){var e,t,n,o,a,c,u,p,d,h,m,O,T=s.elements,A=T.reference,L=T.popper;if($(A,L)){s.rects={reference:(t=k(L),n="fixed"===s.options.strategy,o=i(t),p=i(t)&&(c=v((a=t.getBoundingClientRect()).width)/t.offsetWidth||1,u=v(a.height)/t.offsetHeight||1,1!==c||1!==u),d=x(t),h=g(A,p,n),m={scrollLeft:0,scrollTop:0},O={x:0,y:0},(o||!o&&!n)&&(("body"!==b(t)||_(d))&&(m=(e=t)!==r(e)&&i(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:y(e)),i(t)?(O=g(t,!0),O.x+=t.clientLeft,O.y+=t.clientTop):d&&(O.x=w(d))),{x:h.left+m.scrollLeft-O.x,y:h.top+m.scrollTop-O.y,width:h.width,height:h.height}),popper:E(L)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(function(e){return s.modifiersData[e.name]=Object.assign({},e.data)});for(var M=0;M-1}function ey(e,t){return"function"==typeof e?e.apply(void 0,t):e}function eb(e,t){var n;return 0===t?e:function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)}}function ex(e){return[].concat(e)}function ew(e,t){-1===e.indexOf(t)&&e.push(t)}function eO(e){return[].slice.call(e)}function e_(e){return Object.keys(e).reduce(function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t},{})}function eE(){return document.createElement("div")}function eT(e){return["Element","Fragment"].some(function(t){return eg(e,t)})}function eA(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+"ms")})}function eL(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function ek(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(t){e[r](t,n)})}function eM(e,t){for(var n,r=t;r;){if(e.contains(r))return!0;r=null==r.getRootNode?void 0:null==(n=r.getRootNode())?void 0:n.host}return!1}var eC={isTouch:!1},ej=0;function eS(){!eC.isTouch&&(eC.isTouch=!0,window.performance&&document.addEventListener("mousemove",eD))}function eD(){var e=performance.now();e-ej<20&&(eC.isTouch=!1,document.removeEventListener("mousemove",eD)),ej=e}function eH(){var e=document.activeElement;if(e&&e._tippy&&e._tippy.reference===e){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var eB=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto,eP=Object.assign({appendTo:eh,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),eI=Object.keys(eP);function eW(e){var t=(e.plugins||[]).reduce(function(t,n){var r,o=n.name,i=n.defaultValue;return o&&(t[o]=void 0!==e[o]?e[o]:null!=(r=eP[o])?r:i),t},{});return Object.assign({},e,t)}function eN(e,t){var n,r=Object.assign({},t,{content:ey(t.content,[e])},t.ignoreAttributes?{}:((n=t.plugins)?Object.keys(eW(Object.assign({},eP,{plugins:n}))):eI).reduce(function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t},{}));return r.aria=Object.assign({},eP.aria,r.aria),r.aria={expanded:"auto"===r.aria.expanded?t.interactive:r.aria.expanded,content:"auto"===r.aria.content?t.interactive?null:"describedby":r.aria.content},r}function eR(e,t){e.innerHTML=t}function e$(e){var t=eE();return!0===e?t.className=ef:(t.className=ed,eT(e)?t.appendChild(e):eR(t,e)),t}function eV(e,t){eT(t.content)?(eR(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?eR(e,t.content):e.textContent=t.content)}function eq(e){var t=e.firstElementChild,n=eO(t.children);return{box:t,content:n.find(function(e){return e.classList.contains(ep)}),arrow:n.find(function(e){return e.classList.contains(ef)||e.classList.contains(ed)}),backdrop:n.find(function(e){return e.classList.contains("tippy-backdrop")})}}function eU(e){var t=eE(),n=eE();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=eE();function o(n,r){var o=eq(t),i=o.box,a=o.content,s=o.arrow;r.theme?i.setAttribute("data-theme",r.theme):i.removeAttribute("data-theme"),"string"==typeof r.animation?i.setAttribute("data-animation",r.animation):i.removeAttribute("data-animation"),r.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?i.setAttribute("role",r.role):i.removeAttribute("role"),(n.content!==r.content||n.allowHTML!==r.allowHTML)&&eV(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(i.removeChild(s),i.appendChild(e$(r.arrow))):i.appendChild(e$(r.arrow)):s&&i.removeChild(s)}return r.className=ep,r.setAttribute("data-state","hidden"),eV(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props),{popper:t,onUpdate:o}}eU.$$tippy=!0;var eF=1,ez=[],eZ=[];function eK(e,t){void 0===t&&(t={});var n=eP.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",eS,ev),window.addEventListener("blur",eH);var r=Object.assign({},t,{plugins:n}),o=(eT(e)?[e]:eg(e,"NodeList")?eO(e):Array.isArray(e)?e:eO(document.querySelectorAll(e))).reduce(function(e,t){var n=t&&function(e,t){var n,r,o,i,a,s,c,u,l=eN(e,Object.assign({},eP,eW(e_(t)))),p=!1,f=!1,d=!1,v=!1,h=[],m=eb(F,l.interactiveDebounce),g=eF++,y=(n=l.plugins).filter(function(e,t){return n.indexOf(e)===t}),b={id:g,reference:e,popper:eE(),popperInstance:null,props:l,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:y,clearDelayTimeouts:function(){clearTimeout(r),clearTimeout(o),cancelAnimationFrame(i)},setProps:function(t){if(!b.state.isDestroyed){j("onBeforeUpdate",[b,t]),q();var n=b.props,r=eN(e,Object.assign({},n,e_(t),{ignoreAttributes:!0}));b.props=r,V(),n.interactiveDebounce!==r.interactiveDebounce&&(H(),m=eb(F,r.interactiveDebounce)),n.triggerTarget&&!r.triggerTarget?ex(n.triggerTarget).forEach(function(e){e.removeAttribute("aria-expanded")}):r.triggerTarget&&e.removeAttribute("aria-expanded"),D(),C(),O&&O(n,r),b.popperInstance&&(X(),J().forEach(function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})),j("onAfterUpdate",[b,t])}},setContent:function(e){b.setProps({content:e})},show:function(){var t,n,r,o=b.state.isVisible,i=b.state.isDestroyed,a=!b.state.isEnabled,s=eC.isTouch&&!b.props.touch,l=em(b.props.duration,0,eP.duration);if(!(o||i||a||s||(u||e).hasAttribute("disabled"))&&(j("onShow",[b],!1),!1!==b.props.onShow(b))){if(b.state.isVisible=!0,L()&&(w.style.visibility="visible"),C(),W(),b.state.isMounted||(w.style.transition="none"),L()){var p=eq(w);eA([p.box,p.content],0)}c=function(){var e;if(b.state.isVisible&&!v){if(v=!0,w.offsetHeight,w.style.transition=b.props.moveTransition,L()&&b.props.animation){var t=eq(w),n=t.box,r=t.content;eA([n,r],l),eL([n,r],"visible")}S(),D(),ew(eZ,b),null==(e=b.popperInstance)||e.forceUpdate(),j("onMount",[b]),b.props.animation&&L()&&R(l,function(){b.state.isShown=!0,j("onShown",[b])})}},n=b.props.appendTo,r=u||e,(t=b.props.interactive&&n===eh||"parent"===n?r.parentNode:ey(n,[r])).contains(w)||t.appendChild(w),b.state.isMounted=!0,X()}},hide:function(){var e,t=!b.state.isVisible,n=b.state.isDestroyed,r=!b.state.isEnabled,o=em(b.props.duration,1,eP.duration);if(!t&&!n&&!r&&(j("onHide",[b],!1),!1!==b.props.onHide(b))){if(b.state.isVisible=!1,b.state.isShown=!1,v=!1,p=!1,L()&&(w.style.visibility="hidden"),H(),N(),C(!0),L()){var i=eq(w),a=i.box,s=i.content;b.props.animation&&(eA([a,s],o),eL([a,s],"hidden"))}(S(),D(),b.props.animation)?L()&&(e=b.unmount,R(o,function(){!b.state.isVisible&&w.parentNode&&w.parentNode.contains(w)&&e()})):b.unmount()}},hideWithInteractivity:function(e){k().addEventListener("mousemove",m),ew(ez,m),m(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){b.state.isVisible&&b.hide(),b.state.isMounted&&(Y(),J().forEach(function(e){e._tippy.unmount()}),w.parentNode&&w.parentNode.removeChild(w),eZ=eZ.filter(function(e){return e!==b}),b.state.isMounted=!1,j("onHidden",[b]))},destroy:function(){b.state.isDestroyed||(b.clearDelayTimeouts(),b.unmount(),q(),delete e._tippy,b.state.isDestroyed=!0,j("onDestroy",[b]))}};if(!l.render)return b;var x=l.render(b),w=x.popper,O=x.onUpdate;w.setAttribute("data-tippy-root",""),w.id="tippy-"+b.id,b.popper=w,e._tippy=b,w._tippy=b;var _=y.map(function(e){return e.fn(b)}),E=e.hasAttribute("aria-expanded");return V(),D(),C(),j("onCreate",[b]),l.showOnCreate&&G(),w.addEventListener("mouseenter",function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()}),w.addEventListener("mouseleave",function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&k().addEventListener("mousemove",m)}),b;function T(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function A(){return"hold"===T()[0]}function L(){var e;return!!(null!=(e=b.props.render)&&e.$$tippy)}function k(){var t,n,r=(u||e).parentNode;return r&&null!=(n=ex(r)[0])&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function M(e){return b.state.isMounted&&!b.state.isVisible||eC.isTouch||a&&"focus"===a.type?0:em(b.props.delay,e?0:1,eP.delay)}function C(e){void 0===e&&(e=!1),w.style.pointerEvents=b.props.interactive&&!e?"":"none",w.style.zIndex=""+b.props.zIndex}function j(e,t,n){if(void 0===n&&(n=!0),_.forEach(function(n){n[e]&&n[e].apply(n,t)}),n){var r;(r=b.props)[e].apply(r,t)}}function S(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,r=w.id;ex(b.props.triggerTarget||e).forEach(function(e){var t=e.getAttribute(n);if(b.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var o=t&&t.replace(r,"").trim();o?e.setAttribute(n,o):e.removeAttribute(n)}})}}function D(){!E&&b.props.aria.expanded&&ex(b.props.triggerTarget||e).forEach(function(t){b.props.interactive?t.setAttribute("aria-expanded",b.state.isVisible&&t===(u||e)?"true":"false"):t.removeAttribute("aria-expanded")})}function H(){k().removeEventListener("mousemove",m),ez=ez.filter(function(e){return e!==m})}function B(t){if(!eC.isTouch||!d&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!(b.props.interactive&&eM(w,n))){if(ex(b.props.triggerTarget||e).some(function(e){return eM(e,n)})){if(eC.isTouch||b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else j("onClickOutside",[b,t]);!0!==b.props.hideOnClick||(b.clearDelayTimeouts(),b.hide(),f=!0,setTimeout(function(){f=!1}),b.state.isMounted||N())}}}function P(){d=!0}function I(){d=!1}function W(){var e=k();e.addEventListener("mousedown",B,!0),e.addEventListener("touchend",B,ev),e.addEventListener("touchstart",I,ev),e.addEventListener("touchmove",P,ev)}function N(){var e=k();e.removeEventListener("mousedown",B,!0),e.removeEventListener("touchend",B,ev),e.removeEventListener("touchstart",I,ev),e.removeEventListener("touchmove",P,ev)}function R(e,t){var n=eq(w).box;function r(e){e.target===n&&(ek(n,"remove",r),t())}if(0===e)return t();ek(n,"remove",s),ek(n,"add",r),s=r}function $(t,n,r){void 0===r&&(r=!1),ex(b.props.triggerTarget||e).forEach(function(e){e.addEventListener(t,n,r),h.push({node:e,eventType:t,handler:n,options:r})})}function V(){A()&&($("touchstart",U,{passive:!0}),$("touchend",z,{passive:!0})),b.props.trigger.split(/\s+/).filter(Boolean).forEach(function(e){if("manual"!==e)switch($(e,U),e){case"mouseenter":$("mouseleave",z);break;case"focus":$(eB?"focusout":"blur",Z);break;case"focusin":$("focusout",Z)}})}function q(){h.forEach(function(e){var t=e.node,n=e.eventType,r=e.handler,o=e.options;t.removeEventListener(n,r,o)}),h=[]}function U(e){var t,n=!1;if(!(!b.state.isEnabled||K(e))&&!f){var r=(null==(t=a)?void 0:t.type)==="focus";a=e,u=e.currentTarget,D(),!b.state.isVisible&&eg(e,"MouseEvent")&&ez.forEach(function(t){return t(e)}),"click"===e.type&&(0>b.props.trigger.indexOf("mouseenter")||p)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:G(e),"click"===e.type&&(p=!n),n&&!r&&Q(e)}}function F(t){var n,r,o,i=t.target,a=(u||e).contains(i)||w.contains(i);("mousemove"!==t.type||!a)&&(n=J().concat(w).map(function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:l}:null}).filter(Boolean),r=t.clientX,o=t.clientY,n.every(function(e){var t=e.popperRect,n=e.popperState,i=e.props.interactiveBorder,a=n.placement.split("-")[0],s=n.modifiersData.offset;if(!s)return!0;var c="bottom"===a?s.top.y:0,u="top"===a?s.bottom.y:0,l="right"===a?s.left.x:0,p="left"===a?s.right.x:0,f=t.top-o+c>i,d=o-t.bottom-u>i,v=t.left-r+l>i,h=r-t.right-p>i;return f||d||v||h})&&(H(),Q(t)))}function z(e){if(!(K(e)||b.props.trigger.indexOf("click")>=0&&p)){if(b.props.interactive){b.hideWithInteractivity(e);return}Q(e)}}function Z(t){0>b.props.trigger.indexOf("focusin")&&t.target!==(u||e)||b.props.interactive&&t.relatedTarget&&w.contains(t.relatedTarget)||Q(t)}function K(e){return!!eC.isTouch&&A()!==e.type.indexOf("touch")>=0}function X(){Y();var t=b.props,n=t.popperOptions,r=t.placement,o=t.offset,i=t.getReferenceClientRect,a=t.moveTransition,s=L()?eq(w).arrow:null,l=i?{getBoundingClientRect:i,contextElement:i.contextElement||u||e}:e,p=[{name:"offset",options:{offset:o}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(L()){var n=eq(w).box;["placement","reference-hidden","escaped"].forEach(function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)}),t.attributes.popper={}}}}];L()&&s&&p.push({name:"arrow",options:{element:s,padding:3}}),p.push.apply(p,(null==n?void 0:n.modifiers)||[]),b.popperInstance=el(l,w,Object.assign({},n,{placement:r,onFirstUpdate:c,modifiers:p}))}function Y(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function J(){return eO(w.querySelectorAll("[data-tippy-root]"))}function G(e){b.clearDelayTimeouts(),e&&j("onTrigger",[b,e]),W();var t=M(!0),n=T(),o=n[0],i=n[1];eC.isTouch&&"hold"===o&&i&&(t=i),t?r=setTimeout(function(){b.show()},t):b.show()}function Q(e){if(b.clearDelayTimeouts(),j("onUntrigger",[b,e]),!b.state.isVisible){N();return}if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0)||!p){var t=M(!1);t?o=setTimeout(function(){b.state.isVisible&&b.hide()},t):i=requestAnimationFrame(function(){b.hide()})}}}(t,r);return n&&e.push(n),e},[]);return eT(e)?o[0]:o}eK.defaultProps=eP,eK.setDefaultProps=function(e){Object.keys(e).forEach(function(t){eP[t]=e[t]})},eK.currentInput=eC,Object.assign({},X,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}}),eK.setDefaultProps({render:eU});var eX=eK},46836:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(31408);let o=r.NB.create({name:"doc",topNode:!0,content:"block+"})},10345:function(e,t,n){"use strict";n.d(t,{ZP:function(){return c}});var r=n(31408),o=n(10155),i=n(21142);let a=new o.H$("suggestion"),s=new o.H$("mention"),c=r.NB.create({name:"mention",addOptions(){return{HTMLAttributes:{},renderText({options:e,node:t}){var n;return`${e.suggestion.char}${null!==(n=t.attrs.label)&&void 0!==n?n:t.attrs.id}`},deleteTriggerWithBackspace:!1,renderHTML({options:e,node:t}){var n;return["span",(0,r.P1)(this.HTMLAttributes,e.HTMLAttributes),`${e.suggestion.char}${null!==(n=t.attrs.label)&&void 0!==n?n:t.attrs.id}`]},suggestion:{char:"@",pluginKey:s,command:({editor:e,range:t,props:n})=>{var r,o;let i=e.view.state.selection.$to.nodeAfter,a=null===(r=null==i?void 0:i.text)||void 0===r?void 0:r.startsWith(" ");a&&(t.to+=1),e.chain().focus().insertContentAt(t,[{type:this.name,attrs:n},{type:"text",text:" "}]).run(),null===(o=window.getSelection())||void 0===o||o.collapseToEnd()},allow:({state:e,range:t})=>{let n=e.doc.resolve(t.from),r=e.schema.nodes[this.name],o=!!n.parent.type.contentMatch.matchType(r);return o}}}},group:"inline",inline:!0,selectable:!1,atom:!0,addAttributes:()=>({id:{default:null,parseHTML:e=>e.getAttribute("data-id"),renderHTML:e=>e.id?{"data-id":e.id}:{}},label:{default:null,parseHTML:e=>e.getAttribute("data-label"),renderHTML:e=>e.label?{"data-label":e.label}:{}}}),parseHTML(){return[{tag:`span[data-type="${this.name}"]`}]},renderHTML({node:e,HTMLAttributes:t}){if(void 0!==this.options.renderLabel)return console.warn("renderLabel is deprecated use renderText and renderHTML instead"),["span",(0,r.P1)({"data-type":this.name},this.options.HTMLAttributes,t),this.options.renderLabel({options:this.options,node:e})];let n={...this.options};n.HTMLAttributes=(0,r.P1)({"data-type":this.name},this.options.HTMLAttributes,t);let o=this.options.renderHTML({options:n,node:e});return"string"==typeof o?["span",(0,r.P1)({"data-type":this.name},this.options.HTMLAttributes,t),o]:o},renderText({node:e}){return void 0!==this.options.renderLabel?(console.warn("renderLabel is deprecated use renderText and renderHTML instead"),this.options.renderLabel({options:this.options,node:e})):this.options.renderText({options:this.options,node:e})},addKeyboardShortcuts(){return{Backspace:()=>this.editor.commands.command(({tr:e,state:t})=>{let n=!1,{selection:r}=t,{empty:o,anchor:i}=r;return!!o&&(t.doc.nodesBetween(i-1,i,(t,r)=>{if(t.type.name===this.name)return n=!0,e.insertText(this.options.deleteTriggerWithBackspace?"":this.options.suggestion.char||"",r,r+t.nodeSize),!1}),n)})}},addProseMirrorPlugins(){return[function({pluginKey:e=a,editor:t,char:n="@",allowSpaces:s=!1,allowedPrefixes:c=[" "],startOfLine:u=!1,decorationTag:l="span",decorationClass:p="suggestion",command:f=()=>null,items:d=()=>[],render:v=()=>({}),allow:h=()=>!0,findSuggestionMatch:m=function(e){var t;let{char:n,allowSpaces:o,allowedPrefixes:i,startOfLine:a,$position:s}=e,c=(0,r.Ov)(n),u=RegExp(`\\s${c}$`),l=a?"^":"",p=o?RegExp(`${l}${c}.*?(?=\\s${c}|$)`,"gm"):RegExp(`${l}(?:^)?${c}[^\\s${c}]*`,"gm"),f=(null===(t=s.nodeBefore)||void 0===t?void 0:t.isText)&&s.nodeBefore.text;if(!f)return null;let d=s.pos-f.length,v=Array.from(f.matchAll(p)).pop();if(!v||void 0===v.input||void 0===v.index)return null;let h=v.input.slice(Math.max(0,v.index-1),v.index),m=RegExp(`^[${null==i?void 0:i.join("")}\0]?$`).test(h);if(null!==i&&!m)return null;let g=d+v.index,y=g+v[0].length;return(o&&u.test(f.slice(y-1,y+1))&&(v[0]+=" ",y+=1),g=s.pos)?{range:{from:g,to:y},query:v[0].slice(n.length),text:v[0]}:null}}){let g;let y=null==v?void 0:v(),b=new o.Sy({key:e,view(){return{update:async(e,n)=>{var r,o,i,a,s,c,u;let l=null===(r=this.key)||void 0===r?void 0:r.getState(n),p=null===(o=this.key)||void 0===o?void 0:o.getState(e.state),v=l.active&&p.active&&l.range.from!==p.range.from,h=!l.active&&p.active,m=l.active&&!p.active,b=!h&&!m&&l.query!==p.query,x=h||v&&b,w=b||v,O=m||v&&b;if(!x&&!w&&!O)return;let _=O&&!x?l:p,E=e.dom.querySelector(`[data-decoration-id="${_.decorationId}"]`);g={editor:t,range:_.range,query:_.query,text:_.text,items:[],command:e=>f({editor:t,range:_.range,props:e}),decorationNode:E,clientRect:E?()=>{var n;let{decorationId:r}=null===(n=this.key)||void 0===n?void 0:n.getState(t.state),o=e.dom.querySelector(`[data-decoration-id="${r}"]`);return(null==o?void 0:o.getBoundingClientRect())||null}:null},x&&(null===(i=null==y?void 0:y.onBeforeStart)||void 0===i||i.call(y,g)),w&&(null===(a=null==y?void 0:y.onBeforeUpdate)||void 0===a||a.call(y,g)),(w||x)&&(g.items=await d({editor:t,query:_.query})),O&&(null===(s=null==y?void 0:y.onExit)||void 0===s||s.call(y,g)),w&&(null===(c=null==y?void 0:y.onUpdate)||void 0===c||c.call(y,g)),x&&(null===(u=null==y?void 0:y.onStart)||void 0===u||u.call(y,g))},destroy:()=>{var e;g&&(null===(e=null==y?void 0:y.onExit)||void 0===e||e.call(y,g))}}},state:{init:()=>({active:!1,range:{from:0,to:0},query:null,text:null,composing:!1}),apply(e,r,o,i){let{isEditable:a}=t,{composing:l}=t.view,{selection:p}=e,{empty:f,from:d}=p,v={...r};if(v.composing=l,a&&(f||t.view.composing)){(dr.range.to)&&!l&&!r.composing&&(v.active=!1);let e=m({char:n,allowSpaces:s,allowedPrefixes:c,startOfLine:u,$position:p.$from}),o=`id_${Math.floor(4294967295*Math.random())}`;e&&h({editor:t,state:i,range:e.range,isActive:r.active})?(v.active=!0,v.decorationId=r.decorationId?r.decorationId:o,v.range=e.range,v.query=e.query,v.text=e.text):v.active=!1}else v.active=!1;return v.active||(v.decorationId=null,v.range={from:0,to:0},v.query=null,v.text=null),v}},props:{handleKeyDown(e,t){var n;let{active:r,range:o}=b.getState(e.state);return!!r&&((null===(n=null==y?void 0:y.onKeyDown)||void 0===n?void 0:n.call(y,{view:e,event:t,range:o}))||!1)},decorations(e){let{active:t,range:n,decorationId:r}=b.getState(e);return t?i.EH.create(e.doc,[i.p.inline(n.from,n.to,{nodeName:l,class:p,"data-decoration-id":r})]):null}}});return b}({editor:this.editor,...this.options.suggestion})]}})},75866:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(31408);let o=r.NB.create({name:"paragraph",priority:1e3,addOptions:()=>({HTMLAttributes:{}}),group:"block",content:"inline*",parseHTML:()=>[{tag:"p"}],renderHTML({HTMLAttributes:e}){return["p",(0,r.P1)(this.options.HTMLAttributes,e),0]},addCommands(){return{setParagraph:()=>({commands:e})=>e.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}})},97216:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(31408),o=n(10155),i=n(21142);let a=r.hj.create({name:"placeholder",addOptions:()=>({emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",placeholder:"Write something …",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}),addProseMirrorPlugins(){return[new o.Sy({key:new o.H$("placeholder"),props:{decorations:({doc:e,selection:t})=>{let n=this.editor.isEditable||!this.options.showOnlyWhenEditable,{anchor:o}=t,a=[];if(!n)return null;let s=this.editor.isEmpty;return e.descendants((e,t)=>{let n=o>=t&&o<=t+e.nodeSize,c=!e.isLeaf&&(0,r.bR)(e);if((n||!this.options.showOnlyCurrent)&&c){let r=[this.options.emptyNodeClass];s&&r.push(this.options.emptyEditorClass);let o=i.p.node(t,t+e.nodeSize,{class:r.join(" "),"data-placeholder":"function"==typeof this.options.placeholder?this.options.placeholder({editor:this.editor,node:e,pos:t,hasAnchor:n}):this.options.placeholder});a.push(o)}return this.options.includeChildren}),i.EH.create(e,a)}}})]}})},48497:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(31408);let o=r.NB.create({name:"text",group:"inline"})}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/5084-5bc6cf9d974efc6c.js b/ee/tabby-webserver/ui/_next/static/chunks/5084-5bc6cf9d974efc6c.js deleted file mode 100644 index 9f5f091bb42a..000000000000 --- a/ee/tabby-webserver/ui/_next/static/chunks/5084-5bc6cf9d974efc6c.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5084],{35646:function(e,t,n){n.d(t,{q:function(){return d}});let r=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,o=e=>{if("string"!=typeof e)throw TypeError("Invalid argument expected string");let t=e.match(r);if(!t)throw Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},a=e=>"*"===e||"x"===e||"X"===e,i=e=>{let t=parseInt(e,10);return isNaN(t)?e:t},l=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],c=(e,t)=>{if(a(e)||a(t))return 0;let[n,r]=l(i(e),i(t));return n>r?1:n{for(let n=0;n{let n=o(e),r=o(t),a=n.pop(),i=r.pop(),l=u(n,r);return 0!==l?l:a&&i?u(a.split("."),i.split(".")):a||i?a?-1:1:0},d=(e,t,n)=>{p(n);let r=s(e,t);return f[n].includes(r)},f={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1],"!=":[-1,1]},m=Object.keys(f),p=e=>{if("string"!=typeof e)throw TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(-1===m.indexOf(e))throw Error(`Invalid operator, expected one of ${m.join("|")}`)}},28242:function(e,t,n){n.d(t,{F:function(){return u},f:function(){return s}});var r=n(3546);let o=["light","dark"],a="(prefers-color-scheme: dark)",i="undefined"==typeof window,l=(0,r.createContext)(void 0),c={setTheme:e=>{},themes:[]},u=()=>{var e;return null!==(e=(0,r.useContext)(l))&&void 0!==e?e:c},s=e=>(0,r.useContext)(l)?r.createElement(r.Fragment,null,e.children):r.createElement(f,e),d=["light","dark"],f=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:n=!0,enableColorScheme:i=!0,storageKey:c="theme",themes:u=d,defaultTheme:s=n?"system":"light",attribute:f="data-theme",value:y,children:b,nonce:g})=>{let[C,E]=(0,r.useState)(()=>p(c,s)),[w,S]=(0,r.useState)(()=>p(c)),x=y?Object.values(y):u,R=(0,r.useCallback)(e=>{let r=e;if(!r)return;"system"===e&&n&&(r=v());let a=y?y[r]:r,l=t?h():null,c=document.documentElement;if("class"===f?(c.classList.remove(...x),a&&c.classList.add(a)):a?c.setAttribute(f,a):c.removeAttribute(f),i){let e=o.includes(s)?s:null,t=o.includes(r)?r:e;c.style.colorScheme=t}null==l||l()},[]),T=(0,r.useCallback)(e=>{E(e);try{localStorage.setItem(c,e)}catch(e){}},[e]),$=(0,r.useCallback)(t=>{let r=v(t);S(r),"system"===C&&n&&!e&&R("system")},[C,e]);(0,r.useEffect)(()=>{let e=window.matchMedia(a);return e.addListener($),$(e),()=>e.removeListener($)},[$]),(0,r.useEffect)(()=>{let e=e=>{e.key===c&&T(e.newValue||s)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[T]),(0,r.useEffect)(()=>{R(null!=e?e:C)},[e,C]);let M=(0,r.useMemo)(()=>({theme:C,setTheme:T,forcedTheme:e,resolvedTheme:"system"===C?w:C,themes:n?[...u,"system"]:u,systemTheme:n?w:void 0}),[C,T,e,w,n,u]);return r.createElement(l.Provider,{value:M},r.createElement(m,{forcedTheme:e,disableTransitionOnChange:t,enableSystem:n,enableColorScheme:i,storageKey:c,themes:u,defaultTheme:s,attribute:f,value:y,children:b,attrs:x,nonce:g}),b)},m=(0,r.memo)(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:i,enableColorScheme:l,defaultTheme:c,value:u,attrs:s,nonce:d})=>{let f="system"===c,m="class"===n?`var d=document.documentElement,c=d.classList;c.remove(${s.map(e=>`'${e}'`).join(",")});`:`var d=document.documentElement,n='${n}',s='setAttribute';`,p=l?o.includes(c)&&c?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${c}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",h=(e,t=!1,r=!0)=>{let a=u?u[e]:e,i=t?e+"|| ''":`'${a}'`,c="";return l&&r&&!t&&o.includes(e)&&(c+=`d.style.colorScheme = '${e}';`),"class"===n?c+=t||a?`c.add(${i})`:"null":a&&(c+=`d[s](n,${i})`),c},v=e?`!function(){${m}${h(e)}}()`:i?`!function(){try{${m}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${f})){var t='${a}',m=window.matchMedia(t);if(m.media!==t||m.matches){${h("dark")}}else{${h("light")}}}else if(e){${u?`var x=${JSON.stringify(u)};`:""}${h(u?"x[e]":"e",!0)}}${f?"":"else{"+h(c,!1,!1)+"}"}${p}}catch(e){}}()`:`!function(){try{${m}var e=localStorage.getItem('${t}');if(e){${u?`var x=${JSON.stringify(u)};`:""}${h(u?"x[e]":"e",!0)}}else{${h(c,!1,!1)};}${p}}catch(t){}}();`;return r.createElement("script",{nonce:d,dangerouslySetInnerHTML:{__html:v}})},()=>!0),p=(e,t)=>{let n;if(!i){try{n=localStorage.getItem(e)||void 0}catch(e){}return n||t}},h=()=>{let e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(e)},1)}},v=e=>(e||(e=window.matchMedia(a)),e.matches?"dark":"light")},54491:function(e,t,n){n.d(t,{u:function(){return r}});function r(e,[t,n]){return Math.min(n,Math.max(t,e))}},17989:function(e,t,n){n.d(t,{Fw:function(){return E},VY:function(){return T},fC:function(){return x},p_:function(){return h},wy:function(){return g},xz:function(){return R}});var r=n(65122),o=n(3546),a=n(65727),i=n(47091),l=n(27250),c=n(65292),u=n(79869),s=n(72205),d=n(96497),f=n(29434);let m="Collapsible",[p,h]=(0,i.b)(m),[v,y]=p(m),b=(0,o.forwardRef)((e,t)=>{let{__scopeCollapsible:n,open:a,defaultOpen:i,disabled:c,onOpenChange:u,...d}=e,[m=!1,p]=(0,l.T)({prop:a,defaultProp:i,onChange:u});return(0,o.createElement)(v,{scope:n,disabled:c,contentId:(0,f.M)(),open:m,onOpenToggle:(0,o.useCallback)(()=>p(e=>!e),[p])},(0,o.createElement)(s.WV.div,(0,r.Z)({"data-state":S(m),"data-disabled":c?"":void 0},d,{ref:t})))}),g=(0,o.forwardRef)((e,t)=>{let{__scopeCollapsible:n,...i}=e,l=y("CollapsibleTrigger",n);return(0,o.createElement)(s.WV.button,(0,r.Z)({type:"button","aria-controls":l.contentId,"aria-expanded":l.open||!1,"data-state":S(l.open),"data-disabled":l.disabled?"":void 0,disabled:l.disabled},i,{ref:t,onClick:(0,a.M)(e.onClick,l.onOpenToggle)}))}),C="CollapsibleContent",E=(0,o.forwardRef)((e,t)=>{let{forceMount:n,...a}=e,i=y(C,e.__scopeCollapsible);return(0,o.createElement)(d.z,{present:n||i.open},({present:e})=>(0,o.createElement)(w,(0,r.Z)({},a,{ref:t,present:e})))}),w=(0,o.forwardRef)((e,t)=>{let{__scopeCollapsible:n,present:a,children:i,...l}=e,d=y(C,n),[f,m]=(0,o.useState)(a),p=(0,o.useRef)(null),h=(0,u.e)(t,p),v=(0,o.useRef)(0),b=v.current,g=(0,o.useRef)(0),E=g.current,w=d.open||f,x=(0,o.useRef)(w),R=(0,o.useRef)();return(0,o.useEffect)(()=>{let e=requestAnimationFrame(()=>x.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,c.b)(()=>{let e=p.current;if(e){R.current=R.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();v.current=t.height,g.current=t.width,x.current||(e.style.transitionDuration=R.current.transitionDuration,e.style.animationName=R.current.animationName),m(a)}},[d.open,a]),(0,o.createElement)(s.WV.div,(0,r.Z)({"data-state":S(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!w},l,{ref:h,style:{"--radix-collapsible-content-height":b?`${b}px`:void 0,"--radix-collapsible-content-width":E?`${E}px`:void 0,...e.style}}),w&&i)});function S(e){return e?"open":"closed"}let x=b,R=g,T=E},85656:function(e,t,n){n.d(t,{B:function(){return l}});var r=n(3546),o=n(47091),a=n(79869),i=n(74047);function l(e){let t=e+"CollectionProvider",[n,l]=(0,o.b)(t),[c,u]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=e+"CollectionSlot",d=r.forwardRef((e,t)=>{let{scope:n,children:o}=e,l=u(s,n),c=(0,a.e)(t,l.collectionRef);return r.createElement(i.g7,{ref:c},o)}),f=e+"CollectionItemSlot",m="data-radix-collection-item",p=r.forwardRef((e,t)=>{let{scope:n,children:o,...l}=e,c=r.useRef(null),s=(0,a.e)(t,c),d=u(f,n);return r.useEffect(()=>(d.itemMap.set(c,{ref:c,...l}),()=>void d.itemMap.delete(c))),r.createElement(i.g7,{[m]:"",ref:s},o)});return[{Provider:e=>{let{scope:t,children:n}=e,o=r.useRef(null),a=r.useRef(new Map).current;return r.createElement(c,{scope:t,itemMap:a,collectionRef:o},n)},Slot:d,ItemSlot:p},function(t){let n=u(e+"CollectionConsumer",t),o=r.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${m}]`)),r=Array.from(n.itemMap.values()),o=r.sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current));return o},[n.collectionRef,n.itemMap]);return o},l]}},57541:function(e,t,n){n.d(t,{gm:function(){return a}});var r=n(3546);let o=(0,r.createContext)(void 0);function a(e){let t=(0,r.useContext)(o);return e||t||"ltr"}},38421:function(e,t,n){let r;n.d(t,{E:function(){return R},VY:function(){return P},fC:function(){return _},h_:function(){return D},xz:function(){return k}});var o=n(65122),a=n(3546),i=n(65727),l=n(47091),c=n(27250),u=n(79869),s=n(39810),d=n(48907),f=n(96497),m=n(72205),p=n(71404);let h="HoverCard",[v,y]=(0,l.b)(h,[s.D7]),b=(0,s.D7)(),[g,C]=v(h),E=(0,a.forwardRef)((e,t)=>{let{__scopeHoverCard:n,...r}=e,l=C("HoverCardTrigger",n),c=b(n);return(0,a.createElement)(s.ee,(0,o.Z)({asChild:!0},c),(0,a.createElement)(m.WV.a,(0,o.Z)({"data-state":l.open?"open":"closed"},r,{ref:t,onPointerEnter:(0,i.M)(e.onPointerEnter,O(l.onOpen)),onPointerLeave:(0,i.M)(e.onPointerLeave,O(l.onClose)),onFocus:(0,i.M)(e.onFocus,l.onOpen),onBlur:(0,i.M)(e.onBlur,l.onClose),onTouchStart:(0,i.M)(e.onTouchStart,e=>e.preventDefault())})))}),w="HoverCardPortal",[S,x]=v(w,{forceMount:void 0}),R=e=>{let{__scopeHoverCard:t,forceMount:n,children:r,container:o}=e,i=C(w,t);return(0,a.createElement)(S,{scope:t,forceMount:n},(0,a.createElement)(f.z,{present:n||i.open},(0,a.createElement)(d.h,{asChild:!0,container:o},r)))},T="HoverCardContent",$=(0,a.forwardRef)((e,t)=>{let n=x(T,e.__scopeHoverCard),{forceMount:r=n.forceMount,...l}=e,c=C(T,e.__scopeHoverCard);return(0,a.createElement)(f.z,{present:r||c.open},(0,a.createElement)(M,(0,o.Z)({"data-state":c.open?"open":"closed"},l,{onPointerEnter:(0,i.M)(e.onPointerEnter,O(c.onOpen)),onPointerLeave:(0,i.M)(e.onPointerLeave,O(c.onClose)),ref:t})))}),M=(0,a.forwardRef)((e,t)=>{let{__scopeHoverCard:n,onEscapeKeyDown:l,onPointerDownOutside:c,onFocusOutside:d,onInteractOutside:f,...m}=e,h=C(T,n),v=b(n),y=(0,a.useRef)(null),g=(0,u.e)(t,y),[E,w]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{if(E){let e=document.body;return r=e.style.userSelect||e.style.webkitUserSelect,e.style.userSelect="none",e.style.webkitUserSelect="none",()=>{e.style.userSelect=r,e.style.webkitUserSelect=r}}},[E]),(0,a.useEffect)(()=>{if(y.current){let e=()=>{w(!1),h.isPointerDownOnContentRef.current=!1,setTimeout(()=>{var e;let t=(null===(e=document.getSelection())||void 0===e?void 0:e.toString())!=="";t&&(h.hasSelectionRef.current=!0)})};return document.addEventListener("pointerup",e),()=>{document.removeEventListener("pointerup",e),h.hasSelectionRef.current=!1,h.isPointerDownOnContentRef.current=!1}}},[h.isPointerDownOnContentRef,h.hasSelectionRef]),(0,a.useEffect)(()=>{if(y.current){let e=function(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});for(;n.nextNode();)t.push(n.currentNode);return t}(y.current);e.forEach(e=>e.setAttribute("tabindex","-1"))}}),(0,a.createElement)(p.XB,{asChild:!0,disableOutsidePointerEvents:!1,onInteractOutside:f,onEscapeKeyDown:l,onPointerDownOutside:c,onFocusOutside:(0,i.M)(d,e=>{e.preventDefault()}),onDismiss:h.onDismiss},(0,a.createElement)(s.VY,(0,o.Z)({},v,m,{onPointerDown:(0,i.M)(m.onPointerDown,e=>{e.currentTarget.contains(e.target)&&w(!0),h.hasSelectionRef.current=!1,h.isPointerDownOnContentRef.current=!0}),ref:g,style:{...m.style,userSelect:E?"text":void 0,WebkitUserSelect:E?"text":void 0,"--radix-hover-card-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-hover-card-content-available-width":"var(--radix-popper-available-width)","--radix-hover-card-content-available-height":"var(--radix-popper-available-height)","--radix-hover-card-trigger-width":"var(--radix-popper-anchor-width)","--radix-hover-card-trigger-height":"var(--radix-popper-anchor-height)"}})))});function O(e){return t=>"touch"===t.pointerType?void 0:e()}let _=e=>{let{__scopeHoverCard:t,children:n,open:r,defaultOpen:o,onOpenChange:i,openDelay:l=700,closeDelay:u=300}=e,d=b(t),f=(0,a.useRef)(0),m=(0,a.useRef)(0),p=(0,a.useRef)(!1),h=(0,a.useRef)(!1),[v=!1,y]=(0,c.T)({prop:r,defaultProp:o,onChange:i}),C=(0,a.useCallback)(()=>{clearTimeout(m.current),f.current=window.setTimeout(()=>y(!0),l)},[l,y]),E=(0,a.useCallback)(()=>{clearTimeout(f.current),p.current||h.current||(m.current=window.setTimeout(()=>y(!1),u))},[u,y]),w=(0,a.useCallback)(()=>y(!1),[y]);return(0,a.useEffect)(()=>()=>{clearTimeout(f.current),clearTimeout(m.current)},[]),(0,a.createElement)(g,{scope:t,open:v,onOpenChange:y,onOpen:C,onClose:E,onDismiss:w,hasSelectionRef:p,isPointerDownOnContentRef:h},(0,a.createElement)(s.fC,d,n))},k=E,D=R,P=$},90893:function(e,t,n){n.d(t,{f:function(){return l}});var r=n(65122),o=n(3546),a=n(72205);let i=(0,o.forwardRef)((e,t)=>(0,o.createElement)(a.WV.label,(0,r.Z)({},e,{ref:t,onMouseDown:t=>{var n;null===(n=e.onMouseDown)||void 0===n||n.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault()}}))),l=i},18216:function(e,t,n){var r=n(6670),o=/^\s+/;t.Z=function(e){return e?e.slice(0,(0,r.Z)(e)+1).replace(o,""):e}},6670:function(e,t){var n=/\s/;t.Z=function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}},96786:function(e,t){t.Z=function(e){return null!=e&&"object"==typeof e}},55357:function(e,t,n){var r=n(17996),o=n(96786);t.Z=function(e){return"symbol"==typeof e||(0,o.Z)(e)&&"[object Symbol]"==(0,r.Z)(e)}},26165:function(e,t,n){var r=n(18216),o=n(84639),a=n(55357),i=0/0,l=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,s=parseInt;t.Z=function(e){if("number"==typeof e)return e;if((0,a.Z)(e))return i;if((0,o.Z)(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=(0,o.Z)(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=(0,r.Z)(e);var n=c.test(e);return n||u.test(e)?s(e.slice(2),n?2:8):l.test(e)?i:+e}}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/5669-341ee8f5e964c9f2.js b/ee/tabby-webserver/ui/_next/static/chunks/5669-341ee8f5e964c9f2.js deleted file mode 100644 index 39876a18cc30..000000000000 --- a/ee/tabby-webserver/ui/_next/static/chunks/5669-341ee8f5e964c9f2.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5669],{4318:function(e,t,n){n.d(t,{Dx:function(){return j},VY:function(){return Y},aV:function(){return X},dk:function(){return q},fC:function(){return U},h_:function(){return B},x8:function(){return G},xz:function(){return H}});var o=n(65122),r=n(3546),u=n(65727),l=n(79869),i=n(47091),a=n(29434),c=n(27250),s=n(71404),d=n(8914),f=n(48907),p=n(96497),m=n(72205),v=n(12192),g=n(8569),E=n(47847),D=n(74047);let h="Dialog",[_,b]=(0,i.b)(h),[R,C]=_(h),y=(0,r.forwardRef)((e,t)=>{let{__scopeDialog:n,...i}=e,a=C("DialogTrigger",n),c=(0,l.e)(t,a.triggerRef);return(0,r.createElement)(m.WV.button,(0,o.Z)({type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":K(a.open)},i,{ref:c,onClick:(0,u.M)(e.onClick,a.onOpenToggle)}))}),T="DialogPortal",[F,M]=_(T,{forceMount:void 0}),w="DialogOverlay",O=(0,r.forwardRef)((e,t)=>{let n=M(w,e.__scopeDialog),{forceMount:u=n.forceMount,...l}=e,i=C(w,e.__scopeDialog);return i.modal?(0,r.createElement)(p.z,{present:u||i.open},(0,r.createElement)(I,(0,o.Z)({},l,{ref:t}))):null}),I=(0,r.forwardRef)((e,t)=>{let{__scopeDialog:n,...u}=e,l=C(w,n);return(0,r.createElement)(g.Z,{as:D.g7,allowPinchZoom:!0,shards:[l.contentRef]},(0,r.createElement)(m.WV.div,(0,o.Z)({"data-state":K(l.open)},u,{ref:t,style:{pointerEvents:"auto",...u.style}})))}),Z="DialogContent",N=(0,r.forwardRef)((e,t)=>{let n=M(Z,e.__scopeDialog),{forceMount:u=n.forceMount,...l}=e,i=C(Z,e.__scopeDialog);return(0,r.createElement)(p.z,{present:u||i.open},i.modal?(0,r.createElement)(P,(0,o.Z)({},l,{ref:t})):(0,r.createElement)(k,(0,o.Z)({},l,{ref:t})))}),P=(0,r.forwardRef)((e,t)=>{let n=C(Z,e.__scopeDialog),i=(0,r.useRef)(null),a=(0,l.e)(t,n.contentRef,i);return(0,r.useEffect)(()=>{let e=i.current;if(e)return(0,E.Ry)(e)},[]),(0,r.createElement)(L,(0,o.Z)({},e,{ref:a,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,u.M)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:(0,u.M)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,o=2===t.button||n;o&&e.preventDefault()}),onFocusOutside:(0,u.M)(e.onFocusOutside,e=>e.preventDefault())}))}),k=(0,r.forwardRef)((e,t)=>{let n=C(Z,e.__scopeDialog),u=(0,r.useRef)(!1),l=(0,r.useRef)(!1);return(0,r.createElement)(L,(0,o.Z)({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var o,r;null===(o=e.onCloseAutoFocus)||void 0===o||o.call(e,t),t.defaultPrevented||(u.current||null===(r=n.triggerRef.current)||void 0===r||r.focus(),t.preventDefault()),u.current=!1,l.current=!1},onInteractOutside:t=>{var o,r;null===(o=e.onInteractOutside)||void 0===o||o.call(e,t),t.defaultPrevented||(u.current=!0,"pointerdown"!==t.detail.originalEvent.type||(l.current=!0));let i=t.target,a=null===(r=n.triggerRef.current)||void 0===r?void 0:r.contains(i);a&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&l.current&&t.preventDefault()}}))}),L=(0,r.forwardRef)((e,t)=>{let{__scopeDialog:n,trapFocus:u,onOpenAutoFocus:i,onCloseAutoFocus:a,...c}=e,f=C(Z,n),p=(0,r.useRef)(null),m=(0,l.e)(t,p);return(0,v.EW)(),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(d.M,{asChild:!0,loop:!0,trapped:u,onMountAutoFocus:i,onUnmountAutoFocus:a},(0,r.createElement)(s.XB,(0,o.Z)({role:"dialog",id:f.contentId,"aria-describedby":f.descriptionId,"aria-labelledby":f.titleId,"data-state":K(f.open)},c,{ref:m,onDismiss:()=>f.onOpenChange(!1)}))),!1)}),W="DialogTitle",x=(0,r.forwardRef)((e,t)=>{let{__scopeDialog:n,...u}=e,l=C(W,n);return(0,r.createElement)(m.WV.h2,(0,o.Z)({id:l.titleId},u,{ref:t}))}),A=(0,r.forwardRef)((e,t)=>{let{__scopeDialog:n,...u}=e,l=C("DialogDescription",n);return(0,r.createElement)(m.WV.p,(0,o.Z)({id:l.descriptionId},u,{ref:t}))}),S=(0,r.forwardRef)((e,t)=>{let{__scopeDialog:n,...l}=e,i=C("DialogClose",n);return(0,r.createElement)(m.WV.button,(0,o.Z)({type:"button"},l,{ref:t,onClick:(0,u.M)(e.onClick,()=>i.onOpenChange(!1))}))});function K(e){return e?"open":"closed"}let[V,z]=(0,i.k)("DialogTitleWarning",{contentName:Z,titleName:W,docsSlug:"dialog"}),U=e=>{let{__scopeDialog:t,children:n,open:o,defaultOpen:u,onOpenChange:l,modal:i=!0}=e,s=(0,r.useRef)(null),d=(0,r.useRef)(null),[f=!1,p]=(0,c.T)({prop:o,defaultProp:u,onChange:l});return(0,r.createElement)(R,{scope:t,triggerRef:s,contentRef:d,contentId:(0,a.M)(),titleId:(0,a.M)(),descriptionId:(0,a.M)(),open:f,onOpenChange:p,onOpenToggle:(0,r.useCallback)(()=>p(e=>!e),[p]),modal:i},n)},H=y,B=e=>{let{__scopeDialog:t,forceMount:n,children:o,container:u}=e,l=C(T,t);return(0,r.createElement)(F,{scope:t,forceMount:n},r.Children.map(o,e=>(0,r.createElement)(p.z,{present:n||l.open},(0,r.createElement)(f.h,{asChild:!0,container:u},e))))},X=O,Y=N,j=x,q=A,G=S},8914:function(e,t,n){let o;n.d(t,{M:function(){return f}});var r=n(65122),u=n(3546),l=n(79869),i=n(72205),a=n(17957);let c="focusScope.autoFocusOnMount",s="focusScope.autoFocusOnUnmount",d={bubbles:!1,cancelable:!0},f=(0,u.forwardRef)((e,t)=>{let{loop:n=!1,trapped:o=!1,onMountAutoFocus:f,onUnmountAutoFocus:E,...D}=e,[h,_]=(0,u.useState)(null),b=(0,a.W)(f),R=(0,a.W)(E),C=(0,u.useRef)(null),y=(0,l.e)(t,e=>_(e)),T=(0,u.useRef)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;(0,u.useEffect)(()=>{if(o){function e(e){if(T.paused||!h)return;let t=e.target;h.contains(t)?C.current=t:v(C.current,{select:!0})}function t(e){if(T.paused||!h)return;let t=e.relatedTarget;null===t||h.contains(t)||v(C.current,{select:!0})}document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){let t=document.activeElement;if(t===document.body)for(let t of e)t.removedNodes.length>0&&v(h)});return h&&n.observe(h,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[o,h,T.paused]),(0,u.useEffect)(()=>{if(h){g.add(T);let e=document.activeElement,t=h.contains(e);if(!t){let t=new CustomEvent(c,d);h.addEventListener(c,b),h.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let o of e)if(v(o,{select:t}),document.activeElement!==n)return}(p(h).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&v(h))}return()=>{h.removeEventListener(c,b),setTimeout(()=>{let t=new CustomEvent(s,d);h.addEventListener(s,R),h.dispatchEvent(t),t.defaultPrevented||v(null!=e?e:document.body,{select:!0}),h.removeEventListener(s,R),g.remove(T)},0)}}},[h,b,R,T]);let F=(0,u.useCallback)(e=>{if(!n&&!o||T.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=document.activeElement;if(t&&r){let t=e.currentTarget,[o,u]=function(e){let t=p(e),n=m(t,e),o=m(t.reverse(),e);return[n,o]}(t),l=o&&u;l?e.shiftKey||r!==u?e.shiftKey&&r===o&&(e.preventDefault(),n&&v(u,{select:!0})):(e.preventDefault(),n&&v(o,{select:!0})):r===t&&e.preventDefault()}},[n,o,T.paused]);return(0,u.createElement)(i.WV.div,(0,r.Z)({tabIndex:-1},D,{ref:y,onKeyDown:F}))});function p(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function m(e,t){for(let n of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function v(e,{select:t=!1}={}){if(e&&e.focus){var n;let o=document.activeElement;e.focus({preventScroll:!0}),e!==o&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}let g=(o=[],{add(e){let t=o[0];e!==t&&(null==t||t.pause()),(o=E(o,e)).unshift(e)},remove(e){var t;null===(t=(o=E(o,e))[0])||void 0===t||t.resume()}});function E(e,t){let n=[...e],o=n.indexOf(t);return -1!==o&&n.splice(o,1),n}},45391:function(e,t,n){n.d(t,{Z:function(){return c}});var o=n(84639),r=n(48717),u=function(){return r.Z.Date.now()},l=n(26165),i=Math.max,a=Math.min,c=function(e,t,n){var r,c,s,d,f,p,m=0,v=!1,g=!1,E=!0;if("function"!=typeof e)throw TypeError("Expected a function");function D(t){var n=r,o=c;return r=c=void 0,m=t,d=e.apply(o,n)}function h(e){var n=e-p,o=e-m;return void 0===p||n>=t||n<0||g&&o>=s}function _(){var e,n,o,r=u();if(h(r))return b(r);f=setTimeout(_,(e=r-p,n=r-m,o=t-e,g?a(o,s-n):o))}function b(e){return(f=void 0,E&&r)?D(e):(r=c=void 0,d)}function R(){var e,n=u(),o=h(n);if(r=arguments,c=this,p=n,o){if(void 0===f)return m=e=p,f=setTimeout(_,t),v?D(e):d;if(g)return clearTimeout(f),f=setTimeout(_,t),D(p)}return void 0===f&&(f=setTimeout(_,t)),d}return t=(0,l.Z)(t)||0,(0,o.Z)(n)&&(v=!!n.leading,s=(g="maxWait"in n)?i((0,l.Z)(n.maxWait)||0,t):s,E="trailing"in n?!!n.trailing:E),R.cancel=function(){void 0!==f&&clearTimeout(f),m=0,r=p=c=f=void 0},R.flush=function(){return void 0===f?d:b(u())},R}}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/59-aecde53d72cc089a.js b/ee/tabby-webserver/ui/_next/static/chunks/59-aecde53d72cc089a.js deleted file mode 100644 index ce784e9ea698..000000000000 --- a/ee/tabby-webserver/ui/_next/static/chunks/59-aecde53d72cc089a.js +++ /dev/null @@ -1,13 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[59,4553,5083,6044],{70652:function(e,t,r){e.exports=r(54007)},67635:function(e,t,r){"use strict";/** - * @license React - * use-sync-external-store-shim/with-selector.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var n=r(3546),o=r(94348),l="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=o.useSyncExternalStore,i=n.useRef,u=n.useEffect,s=n.useMemo,c=n.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,r,n,o){var d=i(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;var p=a(e,(d=s(function(){function e(e){if(!u){if(u=!0,a=e,e=n(e),void 0!==o&&f.hasValue){var t=f.value;if(o(t,e))return i=t}return i=e}if(t=i,l(a,e))return t;var r=n(e);return void 0!==o&&o(t,r)?t:(a=e,i=r)}var a,i,u=!1,s=void 0===r?null:r;return[function(){return e(t())},null===s?void 0:function(){return e(s())}]},[t,r,n,o]))[0],d[1]);return u(function(){f.hasValue=!0,f.value=p},[p]),c(p),p}},52635:function(e,t,r){"use strict";e.exports=r(67635)},1333:function(e,t,r){"use strict";r.d(t,{Pc:function(){return S},ck:function(){return I},fC:function(){return z}});var n=r(65122),o=r(3546),l=r(65727),a=r(85656),i=r(79869),u=r(47091),s=r(29434),c=r(72205),d=r(17957),f=r(27250),p=r(57541);let v="rovingFocusGroup.onEntryFocus",h={bubbles:!1,cancelable:!0},m="RovingFocusGroup",[b,g,w]=(0,a.B)(m),[E,S]=(0,u.b)(m,[w]),[y,T]=E(m),C=(0,o.forwardRef)((e,t)=>(0,o.createElement)(b.Provider,{scope:e.__scopeRovingFocusGroup},(0,o.createElement)(b.Slot,{scope:e.__scopeRovingFocusGroup},(0,o.createElement)(R,(0,n.Z)({},e,{ref:t}))))),R=(0,o.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:r,orientation:a,loop:u=!1,dir:s,currentTabStopId:m,defaultCurrentTabStopId:b,onCurrentTabStopIdChange:w,onEntryFocus:E,...S}=e,T=(0,o.useRef)(null),C=(0,i.e)(t,T),R=(0,p.gm)(s),[D=null,_]=(0,f.T)({prop:m,defaultProp:b,onChange:w}),[z,I]=(0,o.useState)(!1),A=(0,d.W)(E),L=g(r),M=(0,o.useRef)(!1),[W,x]=(0,o.useState)(0);return(0,o.useEffect)(()=>{let e=T.current;if(e)return e.addEventListener(v,A),()=>e.removeEventListener(v,A)},[A]),(0,o.createElement)(y,{scope:r,orientation:a,dir:R,loop:u,currentTabStopId:D,onItemFocus:(0,o.useCallback)(e=>_(e),[_]),onItemShiftTab:(0,o.useCallback)(()=>I(!0),[]),onFocusableItemAdd:(0,o.useCallback)(()=>x(e=>e+1),[]),onFocusableItemRemove:(0,o.useCallback)(()=>x(e=>e-1),[])},(0,o.createElement)(c.WV.div,(0,n.Z)({tabIndex:z||0===W?-1:0,"data-orientation":a},S,{ref:C,style:{outline:"none",...e.style},onMouseDown:(0,l.M)(e.onMouseDown,()=>{M.current=!0}),onFocus:(0,l.M)(e.onFocus,e=>{let t=!M.current;if(e.target===e.currentTarget&&t&&!z){let t=new CustomEvent(v,h);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=L().filter(e=>e.focusable),t=e.find(e=>e.active),r=e.find(e=>e.id===D),n=[t,r,...e].filter(Boolean),o=n.map(e=>e.ref.current);P(o)}}M.current=!1}),onBlur:(0,l.M)(e.onBlur,()=>I(!1))})))}),D=(0,o.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:a=!0,active:i=!1,tabStopId:u,...d}=e,f=(0,s.M)(),p=u||f,v=T("RovingFocusGroupItem",r),h=v.currentTabStopId===p,m=g(r),{onFocusableItemAdd:w,onFocusableItemRemove:E}=v;return(0,o.useEffect)(()=>{if(a)return w(),()=>E()},[a,w,E]),(0,o.createElement)(b.ItemSlot,{scope:r,id:p,focusable:a,active:i},(0,o.createElement)(c.WV.span,(0,n.Z)({tabIndex:h?0:-1,"data-orientation":v.orientation},d,{ref:t,onMouseDown:(0,l.M)(e.onMouseDown,e=>{a?v.onItemFocus(p):e.preventDefault()}),onFocus:(0,l.M)(e.onFocus,()=>v.onItemFocus(p)),onKeyDown:(0,l.M)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){v.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=function(e,t,r){var n;let o=(n=e.key,"rtl"!==r?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return _[o]}(e,v.orientation,v.dir);if(void 0!==t){e.preventDefault();let o=m().filter(e=>e.focusable),l=o.map(e=>e.ref.current);if("last"===t)l.reverse();else if("prev"===t||"next"===t){var r,n;"prev"===t&&l.reverse();let o=l.indexOf(e.currentTarget);l=v.loop?(r=l,n=o+1,r.map((e,t)=>r[(n+t)%r.length])):l.slice(o+1)}setTimeout(()=>P(l))}})})))}),_={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function P(e){let t=document.activeElement;for(let r of e)if(r===t||(r.focus(),document.activeElement!==t))return}let z=C,I=D},50778:function(e,t,r){"use strict";r.d(t,{Ns:function(){return G},fC:function(){return $},gb:function(){return y},l_:function(){return B},q4:function(){return M}});var n=r(65122),o=r(3546),l=r(72205),a=r(96497),i=r(47091),u=r(79869),s=r(17957),c=r(57541),d=r(65292),f=r(54491),p=r(65727);let v="ScrollArea",[h,m]=(0,i.b)(v),[b,g]=h(v),w=(0,o.forwardRef)((e,t)=>{let{__scopeScrollArea:r,type:a="hover",dir:i,scrollHideDelay:s=600,...d}=e,[f,p]=(0,o.useState)(null),[v,h]=(0,o.useState)(null),[m,g]=(0,o.useState)(null),[w,E]=(0,o.useState)(null),[S,y]=(0,o.useState)(null),[T,C]=(0,o.useState)(0),[R,D]=(0,o.useState)(0),[_,P]=(0,o.useState)(!1),[z,I]=(0,o.useState)(!1),A=(0,u.e)(t,e=>p(e)),L=(0,c.gm)(i);return(0,o.createElement)(b,{scope:r,type:a,dir:L,scrollHideDelay:s,scrollArea:f,viewport:v,onViewportChange:h,content:m,onContentChange:g,scrollbarX:w,onScrollbarXChange:E,scrollbarXEnabled:_,onScrollbarXEnabledChange:P,scrollbarY:S,onScrollbarYChange:y,scrollbarYEnabled:z,onScrollbarYEnabledChange:I,onCornerWidthChange:C,onCornerHeightChange:D},(0,o.createElement)(l.WV.div,(0,n.Z)({dir:L},d,{ref:A,style:{position:"relative","--radix-scroll-area-corner-width":T+"px","--radix-scroll-area-corner-height":R+"px",...e.style}})))}),E=(0,o.forwardRef)((e,t)=>{let{__scopeScrollArea:r,children:a,...i}=e,s=g("ScrollAreaViewport",r),c=(0,o.useRef)(null),d=(0,u.e)(t,c,s.onViewportChange);return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"}}),(0,o.createElement)(l.WV.div,(0,n.Z)({"data-radix-scroll-area-viewport":""},i,{ref:d,style:{overflowX:s.scrollbarXEnabled?"scroll":"hidden",overflowY:s.scrollbarYEnabled?"scroll":"hidden",...e.style}}),(0,o.createElement)("div",{ref:s.onContentChange,style:{minWidth:"100%",display:"table"}},a)))}),S="ScrollAreaScrollbar",y=(0,o.forwardRef)((e,t)=>{let{forceMount:r,...l}=e,a=g(S,e.__scopeScrollArea),{onScrollbarXEnabledChange:i,onScrollbarYEnabledChange:u}=a,s="horizontal"===e.orientation;return(0,o.useEffect)(()=>(s?i(!0):u(!0),()=>{s?i(!1):u(!1)}),[s,i,u]),"hover"===a.type?(0,o.createElement)(T,(0,n.Z)({},l,{ref:t,forceMount:r})):"scroll"===a.type?(0,o.createElement)(C,(0,n.Z)({},l,{ref:t,forceMount:r})):"auto"===a.type?(0,o.createElement)(R,(0,n.Z)({},l,{ref:t,forceMount:r})):"always"===a.type?(0,o.createElement)(D,(0,n.Z)({},l,{ref:t})):null}),T=(0,o.forwardRef)((e,t)=>{let{forceMount:r,...l}=e,i=g(S,e.__scopeScrollArea),[u,s]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{let e=i.scrollArea,t=0;if(e){let r=()=>{window.clearTimeout(t),s(!0)},n=()=>{t=window.setTimeout(()=>s(!1),i.scrollHideDelay)};return e.addEventListener("pointerenter",r),e.addEventListener("pointerleave",n),()=>{window.clearTimeout(t),e.removeEventListener("pointerenter",r),e.removeEventListener("pointerleave",n)}}},[i.scrollArea,i.scrollHideDelay]),(0,o.createElement)(a.z,{present:r||u},(0,o.createElement)(R,(0,n.Z)({"data-state":u?"visible":"hidden"},l,{ref:t})))}),C=(0,o.forwardRef)((e,t)=>{var r;let{forceMount:l,...i}=e,u=g(S,e.__scopeScrollArea),s="horizontal"===e.orientation,c=Y(()=>f("SCROLL_END"),100),[d,f]=(r={hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}},(0,o.useReducer)((e,t)=>{let n=r[e][t];return null!=n?n:e},"hidden"));return(0,o.useEffect)(()=>{if("idle"===d){let e=window.setTimeout(()=>f("HIDE"),u.scrollHideDelay);return()=>window.clearTimeout(e)}},[d,u.scrollHideDelay,f]),(0,o.useEffect)(()=>{let e=u.viewport,t=s?"scrollLeft":"scrollTop";if(e){let r=e[t],n=()=>{let n=e[t],o=r!==n;o&&(f("SCROLL"),c()),r=n};return e.addEventListener("scroll",n),()=>e.removeEventListener("scroll",n)}},[u.viewport,s,f,c]),(0,o.createElement)(a.z,{present:l||"hidden"!==d},(0,o.createElement)(D,(0,n.Z)({"data-state":"hidden"===d?"hidden":"visible"},i,{ref:t,onPointerEnter:(0,p.M)(e.onPointerEnter,()=>f("POINTER_ENTER")),onPointerLeave:(0,p.M)(e.onPointerLeave,()=>f("POINTER_LEAVE"))})))}),R=(0,o.forwardRef)((e,t)=>{let r=g(S,e.__scopeScrollArea),{forceMount:l,...i}=e,[u,s]=(0,o.useState)(!1),c="horizontal"===e.orientation,d=Y(()=>{if(r.viewport){let e=r.viewport.offsetWidth{let{orientation:r="vertical",...l}=e,a=g(S,e.__scopeScrollArea),i=(0,o.useRef)(null),u=(0,o.useRef)(0),[s,c]=(0,o.useState)({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=O(s.viewport,s.content),f={...l,sizes:s,onSizesChange:c,hasThumb:!!(d>0&&d<1),onThumbChange:e=>i.current=e,onThumbPointerUp:()=>u.current=0,onThumbPointerDown:e=>u.current=e};function p(e,t){return function(e,t,r,n="ltr"){let o=H(r),l=t||o/2,a=r.scrollbar.paddingStart+l,i=r.scrollbar.size-r.scrollbar.paddingEnd-(o-l),u=r.content-r.viewport,s=U([a,i],"ltr"===n?[0,u]:[-1*u,0]);return s(e)}(e,u.current,s,t)}return"horizontal"===r?(0,o.createElement)(_,(0,n.Z)({},f,{ref:t,onThumbPositionChange:()=>{if(a.viewport&&i.current){let e=a.viewport.scrollLeft,t=k(e,s,a.dir);i.current.style.transform=`translate3d(${t}px, 0, 0)`}},onWheelScroll:e=>{a.viewport&&(a.viewport.scrollLeft=e)},onDragScroll:e=>{a.viewport&&(a.viewport.scrollLeft=p(e,a.dir))}})):"vertical"===r?(0,o.createElement)(P,(0,n.Z)({},f,{ref:t,onThumbPositionChange:()=>{if(a.viewport&&i.current){let e=a.viewport.scrollTop,t=k(e,s);i.current.style.transform=`translate3d(0, ${t}px, 0)`}},onWheelScroll:e=>{a.viewport&&(a.viewport.scrollTop=e)},onDragScroll:e=>{a.viewport&&(a.viewport.scrollTop=p(e))}})):null}),_=(0,o.forwardRef)((e,t)=>{let{sizes:r,onSizesChange:l,...a}=e,i=g(S,e.__scopeScrollArea),[s,c]=(0,o.useState)(),d=(0,o.useRef)(null),f=(0,u.e)(t,d,i.onScrollbarXChange);return(0,o.useEffect)(()=>{d.current&&c(getComputedStyle(d.current))},[d]),(0,o.createElement)(A,(0,n.Z)({"data-orientation":"horizontal"},a,{ref:f,sizes:r,style:{bottom:0,left:"rtl"===i.dir?"var(--radix-scroll-area-corner-width)":0,right:"ltr"===i.dir?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":H(r)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.x),onDragScroll:t=>e.onDragScroll(t.x),onWheelScroll:(t,r)=>{if(i.viewport){let n=i.viewport.scrollLeft+t.deltaX;e.onWheelScroll(n),n>0&&n{d.current&&i.viewport&&s&&l({content:i.viewport.scrollWidth,viewport:i.viewport.offsetWidth,scrollbar:{size:d.current.clientWidth,paddingStart:V(s.paddingLeft),paddingEnd:V(s.paddingRight)}})}}))}),P=(0,o.forwardRef)((e,t)=>{let{sizes:r,onSizesChange:l,...a}=e,i=g(S,e.__scopeScrollArea),[s,c]=(0,o.useState)(),d=(0,o.useRef)(null),f=(0,u.e)(t,d,i.onScrollbarYChange);return(0,o.useEffect)(()=>{d.current&&c(getComputedStyle(d.current))},[d]),(0,o.createElement)(A,(0,n.Z)({"data-orientation":"vertical"},a,{ref:f,sizes:r,style:{top:0,right:"ltr"===i.dir?0:void 0,left:"rtl"===i.dir?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":H(r)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.y),onDragScroll:t=>e.onDragScroll(t.y),onWheelScroll:(t,r)=>{if(i.viewport){let n=i.viewport.scrollTop+t.deltaY;e.onWheelScroll(n),n>0&&n{d.current&&i.viewport&&s&&l({content:i.viewport.scrollHeight,viewport:i.viewport.offsetHeight,scrollbar:{size:d.current.clientHeight,paddingStart:V(s.paddingTop),paddingEnd:V(s.paddingBottom)}})}}))}),[z,I]=h(S),A=(0,o.forwardRef)((e,t)=>{let{__scopeScrollArea:r,sizes:a,hasThumb:i,onThumbChange:c,onThumbPointerUp:d,onThumbPointerDown:f,onThumbPositionChange:v,onDragScroll:h,onWheelScroll:m,onResize:b,...w}=e,E=g(S,r),[y,T]=(0,o.useState)(null),C=(0,u.e)(t,e=>T(e)),R=(0,o.useRef)(null),D=(0,o.useRef)(""),_=E.viewport,P=a.content-a.viewport,I=(0,s.W)(m),A=(0,s.W)(v),L=Y(b,10);function M(e){if(R.current){let t=e.clientX-R.current.left,r=e.clientY-R.current.top;h({x:t,y:r})}}return(0,o.useEffect)(()=>{let e=e=>{let t=e.target,r=null==y?void 0:y.contains(t);r&&I(e,P)};return document.addEventListener("wheel",e,{passive:!1}),()=>document.removeEventListener("wheel",e,{passive:!1})},[_,y,P,I]),(0,o.useEffect)(A,[a,A]),X(y,L),X(E.content,L),(0,o.createElement)(z,{scope:r,scrollbar:y,hasThumb:i,onThumbChange:(0,s.W)(c),onThumbPointerUp:(0,s.W)(d),onThumbPositionChange:A,onThumbPointerDown:(0,s.W)(f)},(0,o.createElement)(l.WV.div,(0,n.Z)({},w,{ref:C,style:{position:"absolute",...w.style},onPointerDown:(0,p.M)(e.onPointerDown,e=>{if(0===e.button){let t=e.target;t.setPointerCapture(e.pointerId),R.current=y.getBoundingClientRect(),D.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",E.viewport&&(E.viewport.style.scrollBehavior="auto"),M(e)}}),onPointerMove:(0,p.M)(e.onPointerMove,M),onPointerUp:(0,p.M)(e.onPointerUp,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),document.body.style.webkitUserSelect=D.current,E.viewport&&(E.viewport.style.scrollBehavior=""),R.current=null})})))}),L="ScrollAreaThumb",M=(0,o.forwardRef)((e,t)=>{let{forceMount:r,...l}=e,i=I(L,e.__scopeScrollArea);return(0,o.createElement)(a.z,{present:r||i.hasThumb},(0,o.createElement)(W,(0,n.Z)({ref:t},l)))}),W=(0,o.forwardRef)((e,t)=>{let{__scopeScrollArea:r,style:a,...i}=e,s=g(L,r),c=I(L,r),{onThumbPositionChange:d}=c,f=(0,u.e)(t,e=>c.onThumbChange(e)),v=(0,o.useRef)(),h=Y(()=>{v.current&&(v.current(),v.current=void 0)},100);return(0,o.useEffect)(()=>{let e=s.viewport;if(e){let t=()=>{if(h(),!v.current){let t=N(e,d);v.current=t,d()}};return d(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}},[s.viewport,h,d]),(0,o.createElement)(l.WV.div,(0,n.Z)({"data-state":c.hasThumb?"visible":"hidden"},i,{ref:f,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...a},onPointerDownCapture:(0,p.M)(e.onPointerDownCapture,e=>{let t=e.target,r=t.getBoundingClientRect(),n=e.clientX-r.left,o=e.clientY-r.top;c.onThumbPointerDown({x:n,y:o})}),onPointerUp:(0,p.M)(e.onPointerUp,c.onThumbPointerUp)}))}),x="ScrollAreaCorner",Z=(0,o.forwardRef)((e,t)=>{let r=g(x,e.__scopeScrollArea),l=!!(r.scrollbarX&&r.scrollbarY),a="scroll"!==r.type&&l;return a?(0,o.createElement)(F,(0,n.Z)({},e,{ref:t})):null}),F=(0,o.forwardRef)((e,t)=>{let{__scopeScrollArea:r,...a}=e,i=g(x,r),[u,s]=(0,o.useState)(0),[c,d]=(0,o.useState)(0);return X(i.scrollbarX,()=>{var e;let t=(null===(e=i.scrollbarX)||void 0===e?void 0:e.offsetHeight)||0;i.onCornerHeightChange(t),d(t)}),X(i.scrollbarY,()=>{var e;let t=(null===(e=i.scrollbarY)||void 0===e?void 0:e.offsetWidth)||0;i.onCornerWidthChange(t),s(t)}),u&&c?(0,o.createElement)(l.WV.div,(0,n.Z)({},a,{ref:t,style:{width:u,height:c,position:"absolute",right:"ltr"===i.dir?0:void 0,left:"rtl"===i.dir?0:void 0,bottom:0,...e.style}})):null});function V(e){return e?parseInt(e,10):0}function O(e,t){let r=e/t;return isNaN(r)?0:r}function H(e){let t=O(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function k(e,t,r="ltr"){let n=H(t),o=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,l=t.scrollbar.size-o,a=t.content-t.viewport,i="ltr"===r?[0,a]:[-1*a,0],u=(0,f.u)(e,i),s=U([0,a],[0,l-n]);return s(u)}function U(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}let N=(e,t=()=>{})=>{let r={left:e.scrollLeft,top:e.scrollTop},n=0;return!function o(){let l={left:e.scrollLeft,top:e.scrollTop},a=r.left!==l.left,i=r.top!==l.top;(a||i)&&t(),r=l,n=window.requestAnimationFrame(o)}(),()=>window.cancelAnimationFrame(n)};function Y(e,t){let r=(0,s.W)(e),n=(0,o.useRef)(0);return(0,o.useEffect)(()=>()=>window.clearTimeout(n.current),[]),(0,o.useCallback)(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,t)},[r,t])}function X(e,t){let r=(0,s.W)(t);(0,d.b)(()=>{let t=0;if(e){let n=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(r)});return n.observe(e),()=>{window.cancelAnimationFrame(t),n.unobserve(e)}}},[e,r])}let $=w,B=E,G=Z},74225:function(e,t,r){"use strict";r.d(t,{f:function(){return c}});var n=r(65122),o=r(3546),l=r(72205);let a="horizontal",i=["horizontal","vertical"],u=(0,o.forwardRef)((e,t)=>{let{decorative:r,orientation:i=a,...u}=e,c=s(i)?i:a;return(0,o.createElement)(l.WV.div,(0,n.Z)({"data-orientation":c},r?{role:"none"}:{"aria-orientation":"vertical"===c?c:void 0,role:"separator"},u,{ref:t}))});function s(e){return i.includes(e)}u.propTypes={orientation(e,t,r){let n=e[t],o=String(n);return n&&!s(n)?Error(`Invalid prop \`orientation\` of value \`${o}\` supplied to \`${r}\`, expected one of: - - horizontal - - vertical - -Defaulting to \`${a}\`.`):null}};let c=u},6044:function(e,t,r){"use strict";r.d(t,{VY:function(){return P},aV:function(){return D},fC:function(){return R},nU:function(){return y},xz:function(){return _}});var n=r(65122),o=r(3546),l=r(65727),a=r(47091),i=r(1333),u=r(96497),s=r(72205),c=r(57541),d=r(27250),f=r(29434);let p="Tabs",[v,h]=(0,a.b)(p,[i.Pc]),m=(0,i.Pc)(),[b,g]=v(p),w=(0,o.forwardRef)((e,t)=>{let{__scopeTabs:r,value:l,onValueChange:a,defaultValue:i,orientation:u="horizontal",dir:p,activationMode:v="automatic",...h}=e,m=(0,c.gm)(p),[g,w]=(0,d.T)({prop:l,onChange:a,defaultProp:i});return(0,o.createElement)(b,{scope:r,baseId:(0,f.M)(),value:g,onValueChange:w,orientation:u,dir:m,activationMode:v},(0,o.createElement)(s.WV.div,(0,n.Z)({dir:m,"data-orientation":u},h,{ref:t})))}),E=(0,o.forwardRef)((e,t)=>{let{__scopeTabs:r,loop:l=!0,...a}=e,u=g("TabsList",r),c=m(r);return(0,o.createElement)(i.fC,(0,n.Z)({asChild:!0},c,{orientation:u.orientation,dir:u.dir,loop:l}),(0,o.createElement)(s.WV.div,(0,n.Z)({role:"tablist","aria-orientation":u.orientation},a,{ref:t})))}),S=(0,o.forwardRef)((e,t)=>{let{__scopeTabs:r,value:a,disabled:u=!1,...c}=e,d=g("TabsTrigger",r),f=m(r),p=T(d.baseId,a),v=C(d.baseId,a),h=a===d.value;return(0,o.createElement)(i.ck,(0,n.Z)({asChild:!0},f,{focusable:!u,active:h}),(0,o.createElement)(s.WV.button,(0,n.Z)({type:"button",role:"tab","aria-selected":h,"aria-controls":v,"data-state":h?"active":"inactive","data-disabled":u?"":void 0,disabled:u,id:p},c,{ref:t,onMouseDown:(0,l.M)(e.onMouseDown,e=>{u||0!==e.button||!1!==e.ctrlKey?e.preventDefault():d.onValueChange(a)}),onKeyDown:(0,l.M)(e.onKeyDown,e=>{[" ","Enter"].includes(e.key)&&d.onValueChange(a)}),onFocus:(0,l.M)(e.onFocus,()=>{let e="manual"!==d.activationMode;h||u||!e||d.onValueChange(a)})})))}),y=(0,o.forwardRef)((e,t)=>{let{__scopeTabs:r,value:l,forceMount:a,children:i,...c}=e,d=g("TabsContent",r),f=T(d.baseId,l),p=C(d.baseId,l),v=l===d.value,h=(0,o.useRef)(v);return(0,o.useEffect)(()=>{let e=requestAnimationFrame(()=>h.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,o.createElement)(u.z,{present:a||v},({present:r})=>(0,o.createElement)(s.WV.div,(0,n.Z)({"data-state":v?"active":"inactive","data-orientation":d.orientation,role:"tabpanel","aria-labelledby":f,hidden:!r,id:p,tabIndex:0},c,{ref:t,style:{...e.style,animationDuration:h.current?"0s":void 0}}),r&&i))});function T(e,t){return`${e}-trigger-${t}`}function C(e,t){return`${e}-content-${t}`}let R=w,D=E,_=S,P=y},82030:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(94219),o=r(79204),l=(0,r(43285).Z)(function(e,t){return null==e?{}:(0,n.Z)(e,t,function(t,r){return(0,o.Z)(e,r)})})},12978:function(e,t,r){"use strict";var n=r(51722),o=r(19108);t.Z=function(e,t){return e&&e.length?(0,o.Z)(e,(0,n.Z)(t,2)):[]}},27257:function(e,t,r){"use strict";r.d(t,{Ue:function(){return f},oR:function(){return c}});let n=e=>{let t;let r=new Set,n=(e,n)=>{let o="function"==typeof e?e(t):e;if(!Object.is(o,t)){let e=t;t=(null!=n?n:"object"!=typeof o)?o:Object.assign({},t,o),r.forEach(r=>r(t,e))}},o=()=>t,l={setState:n,getState:o,subscribe:e=>(r.add(e),()=>r.delete(e)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),r.clear()}};return t=e(n,o,l),l},o=e=>e?n(e):n;var l=r(3546),a=r(52635);let{useDebugValue:i}=l,{useSyncExternalStoreWithSelector:u}=a,s=!1;function c(e,t=e.getState,r){r&&!s&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),s=!0);let n=u(e.subscribe,e.getState,e.getServerState||e.getState,t,r);return i(n),n}let d=e=>{"function"!=typeof e&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");let t="function"==typeof e?o(e):e,r=(e,r)=>c(t,e,r);return Object.assign(r,t),r},f=e=>e?d(e):d},85654:function(e,t,r){"use strict";r.d(t,{tJ:function(){return a}});let n=e=>t=>{try{let r=e(t);if(r instanceof Promise)return r;return{then:e=>n(e)(r),catch(e){return this}}}catch(e){return{then(e){return this},catch:t=>n(t)(e)}}},o=(e,t)=>(r,o,l)=>{let a,i,u={getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},s=!1,c=new Set,d=new Set;try{a=u.getStorage()}catch(e){}if(!a)return e((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${u.name}', the given storage is currently unavailable.`),r(...e)},o,l);let f=n(u.serialize),p=()=>{let e;let t=u.partialize({...o()}),r=f({state:t,version:u.version}).then(e=>a.setItem(u.name,e)).catch(t=>{e=t});if(e)throw e;return r},v=l.setState;l.setState=(e,t)=>{v(e,t),p()};let h=e((...e)=>{r(...e),p()},o,l),m=()=>{var e;if(!a)return;s=!1,c.forEach(e=>e(o()));let t=(null==(e=u.onRehydrateStorage)?void 0:e.call(u,o()))||void 0;return n(a.getItem.bind(a))(u.name).then(e=>{if(e)return u.deserialize(e)}).then(e=>{if(e){if("number"!=typeof e.version||e.version===u.version)return e.state;if(u.migrate)return u.migrate(e.state,e.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}}).then(e=>{var t;return r(i=u.merge(e,null!=(t=o())?t:h),!0),p()}).then(()=>{null==t||t(i,void 0),s=!0,d.forEach(e=>e(i))}).catch(e=>{null==t||t(void 0,e)})};return l.persist={setOptions:e=>{u={...u,...e},e.getStorage&&(a=e.getStorage())},clearStorage:()=>{null==a||a.removeItem(u.name)},getOptions:()=>u,rehydrate:()=>m(),hasHydrated:()=>s,onHydrate:e=>(c.add(e),()=>{c.delete(e)}),onFinishHydration:e=>(d.add(e),()=>{d.delete(e)})},m(),i||h},l=(e,t)=>(r,o,l)=>{let a,i={storage:function(e,t){let r;try{r=e()}catch(e){return}return{getItem:e=>{var n;let o=e=>null===e?null:JSON.parse(e,null==t?void 0:t.reviver),l=null!=(n=r.getItem(e))?n:null;return l instanceof Promise?l.then(o):o(l)},setItem:(e,n)=>r.setItem(e,JSON.stringify(n,null==t?void 0:t.replacer)),removeItem:e=>r.removeItem(e)}}(()=>localStorage),partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},u=!1,s=new Set,c=new Set,d=i.storage;if(!d)return e((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${i.name}', the given storage is currently unavailable.`),r(...e)},o,l);let f=()=>{let e=i.partialize({...o()});return d.setItem(i.name,{state:e,version:i.version})},p=l.setState;l.setState=(e,t)=>{p(e,t),f()};let v=e((...e)=>{r(...e),f()},o,l),h=()=>{var e,t;if(!d)return;u=!1,s.forEach(e=>{var t;return e(null!=(t=o())?t:v)});let l=(null==(t=i.onRehydrateStorage)?void 0:t.call(i,null!=(e=o())?e:v))||void 0;return n(d.getItem.bind(d))(i.name).then(e=>{if(e){if("number"!=typeof e.version||e.version===i.version)return e.state;if(i.migrate)return i.migrate(e.state,e.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}}).then(e=>{var t;return r(a=i.merge(e,null!=(t=o())?t:v),!0),f()}).then(()=>{null==l||l(a,void 0),a=o(),u=!0,c.forEach(e=>e(a))}).catch(e=>{null==l||l(void 0,e)})};return l.persist={setOptions:e=>{i={...i,...e},e.storage&&(d=e.storage)},clearStorage:()=>{null==d||d.removeItem(i.name)},getOptions:()=>i,rehydrate:()=>h(),hasHydrated:()=>u,onHydrate:e=>(s.add(e),()=>{s.delete(e)}),onFinishHydration:e=>(c.add(e),()=>{c.delete(e)})},i.skipHydration||h(),a||v},a=(e,t)=>"getStorage"in t||"serialize"in t||"deserialize"in t?(console.warn("[DEPRECATED] `getStorage`, `serialize` and `deserialize` options are deprecated. Use `storage` option instead."),o(e,t)):l(e,t)}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/7188-528f509057c6fa47.js b/ee/tabby-webserver/ui/_next/static/chunks/6432-33866c51c441c1bc.js similarity index 64% rename from ee/tabby-webserver/ui/_next/static/chunks/7188-528f509057c6fa47.js rename to ee/tabby-webserver/ui/_next/static/chunks/6432-33866c51c441c1bc.js index cd407d0aaecf..549c7d2dda15 100644 --- a/ee/tabby-webserver/ui/_next/static/chunks/7188-528f509057c6fa47.js +++ b/ee/tabby-webserver/ui/_next/static/chunks/6432-33866c51c441c1bc.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7188],{45238:function(e,r){var t,n;void 0!==(n="function"==typeof(t=e=>{"use strict";var r,t,n,a,o=(e,r="",t="")=>{for(var n="function"==typeof r?r:void 0,a=e.target,o=a.length,s=e.indexes,i="",f=0,l=0,c=!1,u=[],d=0;d{"number"==typeof e?e=""+e:"string"!=typeof e&&(e="");var r=b(e);return l(e,{_targetLower:r._lower,_targetLowerCodes:r.lowerCodes,_bitflags:r.bitflags})};class i{get indexes(){return this._indexes.slice(0,this._indexes.len).sort((e,r)=>e-r)}set indexes(e){return this._indexes=e}highlight(e,r){return o(this,e,r)}get score(){return c(this._score)}set score(e){this._score=u(e)}}class f extends Array{get score(){return c(this._score)}set score(e){this._score=u(e)}}var l=(e,r)=>{let t=new i;return t.target=e,t.obj=r.obj??T,t._score=r._score??M,t._indexes=r._indexes??[],t._targetLower=r._targetLower??"",t._targetLowerCodes=r._targetLowerCodes??T,t._nextBeginningIndexes=r._nextBeginningIndexes??T,t._bitflags=r._bitflags??0,t},c=e=>e===M?0:e>1?e:Math.E**-(((-e+1)**.04307-1)*2),u=e=>0===e?M:e>1?e:1-Math.pow(-(Math.log(e)/2)+1,1/.04307),d=e=>{"number"==typeof e?e=""+e:"string"!=typeof e&&(e="");var r=b(e=e.trim()),t=[];if(r.containsSpace){var n=e.split(/\s+/);n=[...new Set(n)];for(var a=0;a{if(e.length>999)return s(e);var r=k.get(e);return void 0!==r||(r=s(e),k.set(e,r)),r},g=e=>{if(e.length>999)return d(e);var r=y.get(e);return void 0!==r||(r=d(e),y.set(e,r)),r},_=(e,r)=>{var t=[];t.total=e.length;var n=r?.limit||A;if(r?.key)for(var a=0;a=n)break}}else if(r?.keys)for(var a=0;a=0;--u){var s=j(o,r.keys[u]);if(!s){c[u]=P;continue}B(s)||(s=v(s)),s._score=M,s._indexes.len=0,c[u]=s}if(c.obj=o,c._score=M,t.push(c),t.length>=n)break}else for(var a=0;a=n))break}return t},h=(e,r,t=!1,n=!1)=>{if(!1===t&&e.containsSpace)return p(e,r,n);for(var a=e._lower,o=e.lowerCodes,s=o[0],f=r._targetLowerCodes,l=o.length,c=f.length,u=0,d=0,v=0;;){var g=s===f[d];if(g){if(C[v++]=d,++u===l)break;s=o[u]}if(++d>=c)return T}var u=0,_=!1,h=0,b=r._nextBeginningIndexes;b===T&&(b=r._nextBeginningIndexes=w(r.target));var x=0;if((d=0===C[0]?0:b[C[0]-1])!==c)for(;;)if(d>=c){if(u<=0||++x>200)break;--u,d=b[S[--h]]}else{var g=o[u]===f[d];if(g){if(S[h++]=d,++u===l){_=!0;break}++d}else d=b[d]}var k=l<=1?-1:r._targetLower.indexOf(a,C[0]),y=!!~k,m=!!y&&(0===k||r._nextBeginningIndexes[k-1]===k);if(y&&!m){for(var Z=0;Z{for(var r=0,t=0,n=1;n24&&(r*=(a-24)*10)}else r*=1e3;return r-=(c-l)/2,y&&(r/=1+l*l*1),m&&(r/=1+l*l*1),r-=(c-l)/2};if(_){if(m){for(var Z=0;Z{for(var n=new Set,a=0,o=T,s=0,i=e.spaceSearches,f=i.length,l=0,c=()=>{for(let e=l-1;e>=0;e--)r._nextBeginningIndexes[m[2*e+0]]=m[2*e+1]},u=!1,d=0;d=0&&p===r._nextBeginningIndexes[e];e--)r._nextBeginningIndexes[e]=_,m[2*l+0]=e,m[2*l+1]=p,l++}}a+=o._score/f,E[d]=o._score/f,o._indexes[0]a){if(t)for(var d=0;d{for(var r=e.length,t=e.toLowerCase(),n=[],a=0,o=!1,s=0;s=97&&i<=122?i-97:i>=48&&i<=57?26:i<=127?30:31)}return{lowerCodes:n,bitflags:a,containsSpace:o,_lower:t}},x=e=>{for(var r=e.length,t=[],n=0,a=!1,o=!1,s=0;s=65&&i<=90,l=f||i>=97&&i<=122||i>=48&&i<=57,c=f&&!a||!o||!l;a=f,o=l,c&&(t[n++]=s)}return t},w=e=>{for(var r=e.length,t=x(e),n=[],a=t[0],o=0,s=0;ss?n[s]=a:(a=t[++o],n[s]=void 0===a?r:a);return n},k=new Map,y=new Map,C=[],S=[],m=[],Z=[],E=[],I=[],L=[],j=(e,r)=>{var t=e[r];if(void 0!==t)return t;if("function"==typeof r)return r(e);var n=r;Array.isArray(r)||(n=r.split("."));for(var a=n.length,o=-1;e&&++o"object"==typeof e&&"number"==typeof e._bitflags,A=1/0,M=-1/0,O=[];O.total=0;var T=null,P=s(""),R=(r=[],t=0,n={},a=e=>{for(var n=0,a=r[n],o=1;o>1]=r[n],o=1+(n<<1)}for(var i=n-1>>1;n>0&&a._score>1)r[n]=r[i];r[n]=a},n.add=e=>{var n=t;r[t++]=e;for(var a=n-1>>1;n>0&&e._score>1)r[n]=r[a];r[n]=e},n.poll=e=>{if(0!==t){var n=r[0];return r[0]=r[--t],a(),n}},n.peek=e=>{if(0!==t)return r[0]},n.replaceTop=e=>{r[0]=e,a()},n);return{single:(e,r)=>{if(!e||!r)return T;var t=g(e);B(r)||(r=v(r));var n=t.bitflags;return(n&r._bitflags)!==n?T:h(t,r)},go:(e,r,t)=>{if(!e)return t?.all?_(r,t):O;var n=g(e),a=n.bitflags,o=n.containsSpace,s=u(t?.threshold||0),i=t?.limit||A,l=0,c=0,d=r.length;function p(e){lR.peek()._score&&R.replaceTop(e))}if(t?.key)for(var b=t.key,x=0;x-1e3&&Z[e]>M){var $=(Z[e]+E[e])/4;$>Z[e]&&(Z[e]=$)}E[e]>Z[e]&&(Z[e]=E[e])}}if(o){for(let e=0;e-1e3&&N>M){var $=(N+y._score)/4;$>N&&(N=$)}y._score>N&&(N=y._score)}}if(F.obj=w,F._score=N,t?.scoreFn){if(!(N=t.scoreFn(F)))continue;N=u(N),F._score=N}N=0;--x)V[x]=R.poll();return V.total=l+c,V},prepare:s,cleanup:()=>{k.clear(),y.clear()}}})?t.apply(r,[]):t)&&(e.exports=n)},70652:function(e,r,t){e.exports=t(54007)},96887:function(e,r,t){"use strict";t.d(r,{bU:function(){return y},fC:function(){return k}});var n=t(65122),a=t(3546),o=t(65727),s=t(79869),i=t(47091),f=t(27250),l=t(81544),c=t(96593),u=t(72205);let d="Switch",[v,g]=(0,i.b)(d),[_,h]=v(d),p=(0,a.forwardRef)((e,r)=>{let{__scopeSwitch:t,name:i,checked:l,defaultChecked:c,required:d,disabled:v,value:g="on",onCheckedChange:h,...p}=e,[b,k]=(0,a.useState)(null),y=(0,s.e)(r,e=>k(e)),C=(0,a.useRef)(!1),S=!b||!!b.closest("form"),[m=!1,Z]=(0,f.T)({prop:l,defaultProp:c,onChange:h});return(0,a.createElement)(_,{scope:t,checked:m,disabled:v},(0,a.createElement)(u.WV.button,(0,n.Z)({type:"button",role:"switch","aria-checked":m,"aria-required":d,"data-state":w(m),"data-disabled":v?"":void 0,disabled:v,value:g},p,{ref:y,onClick:(0,o.M)(e.onClick,e=>{Z(e=>!e),S&&(C.current=e.isPropagationStopped(),C.current||e.stopPropagation())})})),S&&(0,a.createElement)(x,{control:b,bubbles:!C.current,name:i,value:g,checked:m,required:d,disabled:v,style:{transform:"translateX(-100%)"}}))}),b=(0,a.forwardRef)((e,r)=>{let{__scopeSwitch:t,...o}=e,s=h("SwitchThumb",t);return(0,a.createElement)(u.WV.span,(0,n.Z)({"data-state":w(s.checked),"data-disabled":s.disabled?"":void 0},o,{ref:r}))}),x=e=>{let{control:r,checked:t,bubbles:o=!0,...s}=e,i=(0,a.useRef)(null),f=(0,l.D)(t),u=(0,c.t)(r);return(0,a.useEffect)(()=>{let e=i.current,r=window.HTMLInputElement.prototype,n=Object.getOwnPropertyDescriptor(r,"checked"),a=n.set;if(f!==t&&a){let r=new Event("click",{bubbles:o});a.call(e,t),e.dispatchEvent(r)}},[f,t,o]),(0,a.createElement)("input",(0,n.Z)({type:"checkbox","aria-hidden":!0,defaultChecked:t},s,{tabIndex:-1,ref:i,style:{...e.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function w(e){return e?"checked":"unchecked"}let k=p,y=b},18216:function(e,r,t){"use strict";var n=t(6670),a=/^\s+/;r.Z=function(e){return e?e.slice(0,(0,n.Z)(e)+1).replace(a,""):e}},6670:function(e,r){"use strict";var t=/\s/;r.Z=function(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r}},55357:function(e,r,t){"use strict";var n=t(17996),a=t(96786);r.Z=function(e){return"symbol"==typeof e||(0,a.Z)(e)&&"[object Symbol]"==(0,n.Z)(e)}},26165:function(e,r,t){"use strict";var n=t(18216),a=t(84639),o=t(55357),s=0/0,i=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;r.Z=function(e){if("number"==typeof e)return e;if((0,o.Z)(e))return s;if((0,a.Z)(e)){var r="function"==typeof e.valueOf?e.valueOf():e;e=(0,a.Z)(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=(0,n.Z)(e);var t=f.test(e);return t||l.test(e)?c(e.slice(2),t?2:8):i.test(e)?s:+e}}}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6432],{45238:function(e,r){var t,n;void 0!==(n="function"==typeof(t=e=>{"use strict";var r,t,n,a,o=(e,r="",t="")=>{for(var n="function"==typeof r?r:void 0,a=e.target,o=a.length,s=e.indexes,i="",f=0,l=0,c=!1,u=[],d=0;d{"number"==typeof e?e=""+e:"string"!=typeof e&&(e="");var r=b(e);return l(e,{_targetLower:r._lower,_targetLowerCodes:r.lowerCodes,_bitflags:r.bitflags})};class i{get indexes(){return this._indexes.slice(0,this._indexes.len).sort((e,r)=>e-r)}set indexes(e){return this._indexes=e}highlight(e,r){return o(this,e,r)}get score(){return c(this._score)}set score(e){this._score=u(e)}}class f extends Array{get score(){return c(this._score)}set score(e){this._score=u(e)}}var l=(e,r)=>{let t=new i;return t.target=e,t.obj=r.obj??T,t._score=r._score??M,t._indexes=r._indexes??[],t._targetLower=r._targetLower??"",t._targetLowerCodes=r._targetLowerCodes??T,t._nextBeginningIndexes=r._nextBeginningIndexes??T,t._bitflags=r._bitflags??0,t},c=e=>e===M?0:e>1?e:Math.E**-(((-e+1)**.04307-1)*2),u=e=>0===e?M:e>1?e:1-Math.pow(-(Math.log(e)/2)+1,1/.04307),d=e=>{"number"==typeof e?e=""+e:"string"!=typeof e&&(e="");var r=b(e=e.trim()),t=[];if(r.containsSpace){var n=e.split(/\s+/);n=[...new Set(n)];for(var a=0;a{if(e.length>999)return s(e);var r=k.get(e);return void 0!==r||(r=s(e),k.set(e,r)),r},g=e=>{if(e.length>999)return d(e);var r=y.get(e);return void 0!==r||(r=d(e),y.set(e,r)),r},_=(e,r)=>{var t=[];t.total=e.length;var n=r?.limit||A;if(r?.key)for(var a=0;a=n)break}}else if(r?.keys)for(var a=0;a=0;--u){var s=j(o,r.keys[u]);if(!s){c[u]=P;continue}B(s)||(s=v(s)),s._score=M,s._indexes.len=0,c[u]=s}if(c.obj=o,c._score=M,t.push(c),t.length>=n)break}else for(var a=0;a=n))break}return t},h=(e,r,t=!1,n=!1)=>{if(!1===t&&e.containsSpace)return p(e,r,n);for(var a=e._lower,o=e.lowerCodes,s=o[0],f=r._targetLowerCodes,l=o.length,c=f.length,u=0,d=0,v=0;;){var g=s===f[d];if(g){if(C[v++]=d,++u===l)break;s=o[u]}if(++d>=c)return T}var u=0,_=!1,h=0,b=r._nextBeginningIndexes;b===T&&(b=r._nextBeginningIndexes=x(r.target));var w=0;if((d=0===C[0]?0:b[C[0]-1])!==c)for(;;)if(d>=c){if(u<=0||++w>200)break;--u,d=b[S[--h]]}else{var g=o[u]===f[d];if(g){if(S[h++]=d,++u===l){_=!0;break}++d}else d=b[d]}var k=l<=1?-1:r._targetLower.indexOf(a,C[0]),y=!!~k,m=!!y&&(0===k||r._nextBeginningIndexes[k-1]===k);if(y&&!m){for(var Z=0;Z{for(var r=0,t=0,n=1;n24&&(r*=(a-24)*10)}else r*=1e3;return r-=(c-l)/2,y&&(r/=1+l*l*1),m&&(r/=1+l*l*1),r-=(c-l)/2};if(_){if(m){for(var Z=0;Z{for(var n=new Set,a=0,o=T,s=0,i=e.spaceSearches,f=i.length,l=0,c=()=>{for(let e=l-1;e>=0;e--)r._nextBeginningIndexes[m[2*e+0]]=m[2*e+1]},u=!1,d=0;d=0&&p===r._nextBeginningIndexes[e];e--)r._nextBeginningIndexes[e]=_,m[2*l+0]=e,m[2*l+1]=p,l++}}a+=o._score/f,E[d]=o._score/f,o._indexes[0]a){if(t)for(var d=0;d{for(var r=e.length,t=e.toLowerCase(),n=[],a=0,o=!1,s=0;s=97&&i<=122?i-97:i>=48&&i<=57?26:i<=127?30:31)}return{lowerCodes:n,bitflags:a,containsSpace:o,_lower:t}},w=e=>{for(var r=e.length,t=[],n=0,a=!1,o=!1,s=0;s=65&&i<=90,l=f||i>=97&&i<=122||i>=48&&i<=57,c=f&&!a||!o||!l;a=f,o=l,c&&(t[n++]=s)}return t},x=e=>{for(var r=e.length,t=w(e),n=[],a=t[0],o=0,s=0;ss?n[s]=a:(a=t[++o],n[s]=void 0===a?r:a);return n},k=new Map,y=new Map,C=[],S=[],m=[],Z=[],E=[],I=[],L=[],j=(e,r)=>{var t=e[r];if(void 0!==t)return t;if("function"==typeof r)return r(e);var n=r;Array.isArray(r)||(n=r.split("."));for(var a=n.length,o=-1;e&&++o"object"==typeof e&&"number"==typeof e._bitflags,A=1/0,M=-1/0,O=[];O.total=0;var T=null,P=s(""),R=(r=[],t=0,n={},a=e=>{for(var n=0,a=r[n],o=1;o>1]=r[n],o=1+(n<<1)}for(var i=n-1>>1;n>0&&a._score>1)r[n]=r[i];r[n]=a},n.add=e=>{var n=t;r[t++]=e;for(var a=n-1>>1;n>0&&e._score>1)r[n]=r[a];r[n]=e},n.poll=e=>{if(0!==t){var n=r[0];return r[0]=r[--t],a(),n}},n.peek=e=>{if(0!==t)return r[0]},n.replaceTop=e=>{r[0]=e,a()},n);return{single:(e,r)=>{if(!e||!r)return T;var t=g(e);B(r)||(r=v(r));var n=t.bitflags;return(n&r._bitflags)!==n?T:h(t,r)},go:(e,r,t)=>{if(!e)return t?.all?_(r,t):O;var n=g(e),a=n.bitflags,o=n.containsSpace,s=u(t?.threshold||0),i=t?.limit||A,l=0,c=0,d=r.length;function p(e){lR.peek()._score&&R.replaceTop(e))}if(t?.key)for(var b=t.key,w=0;w-1e3&&Z[e]>M){var $=(Z[e]+E[e])/4;$>Z[e]&&(Z[e]=$)}E[e]>Z[e]&&(Z[e]=E[e])}}if(o){for(let e=0;e-1e3&&N>M){var $=(N+y._score)/4;$>N&&(N=$)}y._score>N&&(N=y._score)}}if(F.obj=x,F._score=N,t?.scoreFn){if(!(N=t.scoreFn(F)))continue;N=u(N),F._score=N}N=0;--w)V[w]=R.poll();return V.total=l+c,V},prepare:s,cleanup:()=>{k.clear(),y.clear()}}})?t.apply(r,[]):t)&&(e.exports=n)},96887:function(e,r,t){"use strict";t.d(r,{bU:function(){return y},fC:function(){return k}});var n=t(65122),a=t(3546),o=t(65727),s=t(79869),i=t(47091),f=t(27250),l=t(81544),c=t(96593),u=t(72205);let d="Switch",[v,g]=(0,i.b)(d),[_,h]=v(d),p=(0,a.forwardRef)((e,r)=>{let{__scopeSwitch:t,name:i,checked:l,defaultChecked:c,required:d,disabled:v,value:g="on",onCheckedChange:h,...p}=e,[b,k]=(0,a.useState)(null),y=(0,s.e)(r,e=>k(e)),C=(0,a.useRef)(!1),S=!b||!!b.closest("form"),[m=!1,Z]=(0,f.T)({prop:l,defaultProp:c,onChange:h});return(0,a.createElement)(_,{scope:t,checked:m,disabled:v},(0,a.createElement)(u.WV.button,(0,n.Z)({type:"button",role:"switch","aria-checked":m,"aria-required":d,"data-state":x(m),"data-disabled":v?"":void 0,disabled:v,value:g},p,{ref:y,onClick:(0,o.M)(e.onClick,e=>{Z(e=>!e),S&&(C.current=e.isPropagationStopped(),C.current||e.stopPropagation())})})),S&&(0,a.createElement)(w,{control:b,bubbles:!C.current,name:i,value:g,checked:m,required:d,disabled:v,style:{transform:"translateX(-100%)"}}))}),b=(0,a.forwardRef)((e,r)=>{let{__scopeSwitch:t,...o}=e,s=h("SwitchThumb",t);return(0,a.createElement)(u.WV.span,(0,n.Z)({"data-state":x(s.checked),"data-disabled":s.disabled?"":void 0},o,{ref:r}))}),w=e=>{let{control:r,checked:t,bubbles:o=!0,...s}=e,i=(0,a.useRef)(null),f=(0,l.D)(t),u=(0,c.t)(r);return(0,a.useEffect)(()=>{let e=i.current,r=window.HTMLInputElement.prototype,n=Object.getOwnPropertyDescriptor(r,"checked"),a=n.set;if(f!==t&&a){let r=new Event("click",{bubbles:o});a.call(e,t),e.dispatchEvent(r)}},[f,t,o]),(0,a.createElement)("input",(0,n.Z)({type:"checkbox","aria-hidden":!0,defaultChecked:t},s,{tabIndex:-1,ref:i,style:{...e.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function x(e){return e?"checked":"unchecked"}let k=p,y=b},18216:function(e,r,t){"use strict";var n=t(6670),a=/^\s+/;r.Z=function(e){return e?e.slice(0,(0,n.Z)(e)+1).replace(a,""):e}},6670:function(e,r){"use strict";var t=/\s/;r.Z=function(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r}},55357:function(e,r,t){"use strict";var n=t(17996),a=t(96786);r.Z=function(e){return"symbol"==typeof e||(0,a.Z)(e)&&"[object Symbol]"==(0,n.Z)(e)}},26165:function(e,r,t){"use strict";var n=t(18216),a=t(84639),o=t(55357),s=0/0,i=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;r.Z=function(e){if("number"==typeof e)return e;if((0,o.Z)(e))return s;if((0,a.Z)(e)){var r="function"==typeof e.valueOf?e.valueOf():e;e=(0,a.Z)(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=(0,n.Z)(e);var t=f.test(e);return t||l.test(e)?c(e.slice(2),t?2:8):i.test(e)?s:+e}}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/7288-15d369f9368f1cf5.js b/ee/tabby-webserver/ui/_next/static/chunks/7288-1a16fa8b7a9c5fe6.js similarity index 51% rename from ee/tabby-webserver/ui/_next/static/chunks/7288-15d369f9368f1cf5.js rename to ee/tabby-webserver/ui/_next/static/chunks/7288-1a16fa8b7a9c5fe6.js index 65a6852285af..df558dcf9c1c 100644 --- a/ee/tabby-webserver/ui/_next/static/chunks/7288-15d369f9368f1cf5.js +++ b/ee/tabby-webserver/ui/_next/static/chunks/7288-1a16fa8b7a9c5fe6.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7288],{74038:function(e,n,i){i.d(n,{H:function(){return d},z:function(){return a}});let a=/\[\[source:([^\]]+)\]\]/g,d=/\[\[?citation:\s*(\d+)\]?\]/g},18500:function(e,n,i){var a,d,t,l,m,k,u,o,r,s,v,N,c,p,S,b,f,y,F,D,g,V,T,A,I,h;i.d(n,{$S:function(){return eB},AU:function(){return q},Ax:function(){return ej},BH:function(){return eQ},DQ:function(){return P},FR:function(){return eq},Fd:function(){return ee},Gf:function(){return H},HC:function(){return eZ},Hi:function(){return a},Ij:function(){return k},Il:function(){return ew},KZ:function(){return eY},L$:function(){return $},Mi:function(){return e_},NL:function(){return e0},Nl:function(){return ei},O4:function(){return v},Qw:function(){return e6},Rj:function(){return o},SQ:function(){return u},S_:function(){return eD},Sm:function(){return eJ},TS:function(){return Y},Tj:function(){return eI},UO:function(){return eg},UQ:function(){return C},VL:function(){return eL},Wd:function(){return eW},XF:function(){return ek},Xx:function(){return ex},YM:function(){return em},YR:function(){return eV},Yo:function(){return ed},Yr:function(){return _},ZH:function(){return X},a:function(){return eU},ad:function(){return z},bh:function(){return ec},by:function(){return eK},c3:function(){return K},d0:function(){return et},dW:function(){return t},dv:function(){return eu},e8:function(){return er},eI:function(){return O},eZ:function(){return eP},f7:function(){return e8},fY:function(){return x},fc:function(){return M},fk:function(){return eR},gl:function(){return G},hQ:function(){return eN},h_:function(){return J},hx:function(){return e$},i8:function(){return eF},ib:function(){return el},k6:function(){return E},lq:function(){return eT},m:function(){return Q},m2:function(){return eG},mO:function(){return eh},mi:function(){return s},nI:function(){return L},nS:function(){return l},nh:function(){return eo},np:function(){return eH},o7:function(){return w},oZ:function(){return R},oj:function(){return r},ou:function(){return eM},q6:function(){return m},qk:function(){return ef},qq:function(){return eO},qt:function(){return ez},qu:function(){return e1},rE:function(){return eS},rN:function(){return en},rU:function(){return ea},ri:function(){return d},uI:function(){return ev},uM:function(){return eE},uU:function(){return c},uk:function(){return Z},vK:function(){return ey},vW:function(){return N},w4:function(){return eX},wW:function(){return ep},wZ:function(){return U},wx:function(){return j},xW:function(){return eA},xX:function(){return eb},yR:function(){return eC},z:function(){return B},z1:function(){return W},zD:function(){return es}}),(p=a||(a={})).Login="LOGIN",p.None="NONE",p.Plain="PLAIN",(S=d||(d={})).Doc="DOC",S.Git="GIT",S.Github="GITHUB",S.Gitlab="GITLAB",S.Web="WEB",(b=t||(t={})).None="NONE",b.SslTls="SSL_TLS",b.StartTls="START_TLS",(f=l||(l={})).Completion="COMPLETION",f.Dismiss="DISMISS",f.Select="SELECT",f.View="VIEW",(y=m||(m={})).Github="GITHUB",y.GithubSelfHosted="GITHUB_SELF_HOSTED",y.Gitlab="GITLAB",y.GitlabSelfHosted="GITLAB_SELF_HOSTED",(F=k||(k={})).Failed="FAILED",F.Pending="PENDING",F.Ready="READY",(D=u||(u={})).C="C",D.Cpp="CPP",D.Csharp="CSHARP",D.Go="GO",D.Java="JAVA",D.Javascript="JAVASCRIPT",D.Kotlin="KOTLIN",D.Other="OTHER",D.Python="PYTHON",D.Ruby="RUBY",D.Rust="RUST",D.Solidity="SOLIDITY",D.Typescript="TYPESCRIPT",(g=o||(o={})).Expired="EXPIRED",g.Ok="OK",g.SeatsExceeded="SEATS_EXCEEDED",(V=r||(r={})).Community="COMMUNITY",V.Enterprise="ENTERPRISE",V.Team="TEAM",(T=s||(s={})).Chat="CHAT",T.Completion="COMPLETION",T.Embedding="EMBEDDING",(A=v||(v={})).Github="GITHUB",A.Gitlab="GITLAB",A.Google="GOOGLE",(I=N||(N={})).Git="GIT",I.Github="GITHUB",I.GithubSelfHosted="GITHUB_SELF_HOSTED",I.Gitlab="GITLAB",I.GitlabSelfHosted="GITLAB_SELF_HOSTED",I.GitConfig="GIT_CONFIG",(h=c||(c={})).Assistant="ASSISTANT",h.User="USER";let C={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListUserEvents"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"after"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"before"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"first"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"last"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"start"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"DateTime"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"end"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"DateTime"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"users"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"userEvents"},arguments:[{kind:"Argument",name:{kind:"Name",value:"after"},value:{kind:"Variable",name:{kind:"Name",value:"after"}}},{kind:"Argument",name:{kind:"Name",value:"before"},value:{kind:"Variable",name:{kind:"Name",value:"before"}}},{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"Variable",name:{kind:"Name",value:"first"}}},{kind:"Argument",name:{kind:"Name",value:"last"},value:{kind:"Variable",name:{kind:"Name",value:"last"}}},{kind:"Argument",name:{kind:"Name",value:"start"},value:{kind:"Variable",name:{kind:"Name",value:"start"}}},{kind:"Argument",name:{kind:"Name",value:"end"},value:{kind:"Variable",name:{kind:"Name",value:"end"}}},{kind:"Argument",name:{kind:"Name",value:"users"},value:{kind:"Variable",name:{kind:"Name",value:"users"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"edges"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"node"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"userId"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"kind"}},{kind:"Field",name:{kind:"Name",value:"payload"}}]}},{kind:"Field",name:{kind:"Name",value:"cursor"}}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hasNextPage"}},{kind:"Field",name:{kind:"Name",value:"hasPreviousPage"}},{kind:"Field",name:{kind:"Name",value:"startCursor"}},{kind:"Field",name:{kind:"Name",value:"endCursor"}}]}}]}}]}}]},O={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"uploadUserAvatarBase64"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"avatarBase64"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"uploadUserAvatarBase64"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"avatarBase64"},value:{kind:"Variable",name:{kind:"Name",value:"avatarBase64"}}}]}]}}]},P={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateUserName"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"name"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateUserName"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"Variable",name:{kind:"Name",value:"name"}}}]}]}}]},R={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"PasswordChange"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"PasswordChangeInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"passwordChange"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}]}]}}]},G={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateEmailSetting"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"EmailSettingInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateEmailSetting"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}]}]}}]},U={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"deleteEmailSetting"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteEmailSetting"}}]}}]},L={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"SendTestEmail"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"to"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sendTestEmail"},arguments:[{kind:"Argument",name:{kind:"Name",value:"to"},value:{kind:"Variable",name:{kind:"Name",value:"to"}}}]}]}}]},E={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"emailSetting"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"emailSetting"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"smtpUsername"}},{kind:"Field",name:{kind:"Name",value:"smtpServer"}},{kind:"Field",name:{kind:"Name",value:"fromAddress"}},{kind:"Field",name:{kind:"Name",value:"encryption"}},{kind:"Field",name:{kind:"Name",value:"authMethod"}},{kind:"Field",name:{kind:"Name",value:"smtpPort"}}]}}]}}]},M={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateIntegration"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateIntegrationInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateIntegration"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}]}]}}]},q={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteIntegration"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"kind"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"IntegrationKind"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteIntegration"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"kind"},value:{kind:"Variable",name:{kind:"Name",value:"kind"}}}]}]}}]},w={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateIntegratedRepositoryActive"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"active"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateIntegratedRepositoryActive"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"active"},value:{kind:"Variable",name:{kind:"Name",value:"active"}}}]}]}}]},x={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateIntegration"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"CreateIntegrationInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createIntegration"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}]}]}}]},_={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"grantSourceIdReadAccess"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sourceId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"userGroupId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"grantSourceIdReadAccess"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sourceId"},value:{kind:"Variable",name:{kind:"Name",value:"sourceId"}}},{kind:"Argument",name:{kind:"Name",value:"userGroupId"},value:{kind:"Variable",name:{kind:"Name",value:"userGroupId"}}}]}]}}]},B={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"revokeSourceIdReadAccess"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sourceId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"userGroupId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"revokeSourceIdReadAccess"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sourceId"},value:{kind:"Variable",name:{kind:"Name",value:"sourceId"}}},{kind:"Argument",name:{kind:"Name",value:"userGroupId"},value:{kind:"Variable",name:{kind:"Name",value:"userGroupId"}}}]}]}}]},H={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateCustomDocument"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"CreateCustomDocumentInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createCustomDocument"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}]}]}}]},j={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"CustomWebDocuments"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"ids"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"after"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"before"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"first"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"last"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"customWebDocuments"},arguments:[{kind:"Argument",name:{kind:"Name",value:"ids"},value:{kind:"Variable",name:{kind:"Name",value:"ids"}}},{kind:"Argument",name:{kind:"Name",value:"after"},value:{kind:"Variable",name:{kind:"Name",value:"after"}}},{kind:"Argument",name:{kind:"Name",value:"before"},value:{kind:"Variable",name:{kind:"Name",value:"before"}}},{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"Variable",name:{kind:"Name",value:"first"}}},{kind:"Argument",name:{kind:"Name",value:"last"},value:{kind:"Variable",name:{kind:"Name",value:"last"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"edges"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"node"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"sourceId"}},{kind:"Field",name:{kind:"Name",value:"jobInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"lastJobRun"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"job"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"finishedAt"}},{kind:"Field",name:{kind:"Name",value:"exitCode"}}]}},{kind:"Field",name:{kind:"Name",value:"command"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"cursor"}}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hasNextPage"}},{kind:"Field",name:{kind:"Name",value:"hasPreviousPage"}},{kind:"Field",name:{kind:"Name",value:"startCursor"}},{kind:"Field",name:{kind:"Name",value:"endCursor"}}]}}]}}]}}]},K={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteCustomDocument"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteCustomDocument"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}]}]}}]},W={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"PresetWebDocuments"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"ids"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"after"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"before"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"first"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"last"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"isActive"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"presetWebDocuments"},arguments:[{kind:"Argument",name:{kind:"Name",value:"ids"},value:{kind:"Variable",name:{kind:"Name",value:"ids"}}},{kind:"Argument",name:{kind:"Name",value:"after"},value:{kind:"Variable",name:{kind:"Name",value:"after"}}},{kind:"Argument",name:{kind:"Name",value:"before"},value:{kind:"Variable",name:{kind:"Name",value:"before"}}},{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"Variable",name:{kind:"Name",value:"first"}}},{kind:"Argument",name:{kind:"Name",value:"last"},value:{kind:"Variable",name:{kind:"Name",value:"last"}}},{kind:"Argument",name:{kind:"Name",value:"isActive"},value:{kind:"Variable",name:{kind:"Name",value:"isActive"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"edges"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"node"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"isActive"}},{kind:"Field",name:{kind:"Name",value:"sourceId"}},{kind:"Field",name:{kind:"Name",value:"jobInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"lastJobRun"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"job"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"finishedAt"}},{kind:"Field",name:{kind:"Name",value:"exitCode"}}]}},{kind:"Field",name:{kind:"Name",value:"command"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"cursor"}}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hasNextPage"}},{kind:"Field",name:{kind:"Name",value:"hasPreviousPage"}},{kind:"Field",name:{kind:"Name",value:"startCursor"}},{kind:"Field",name:{kind:"Name",value:"endCursor"}}]}}]}}]}}]},J={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"SetPresetDocumentActive"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"SetPresetDocumentActiveInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"setPresetDocumentActive"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}]}]}}]},Y={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"deleteGitRepository"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteGitRepository"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}]}]}}]},z={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"createGitRepository"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"name"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"gitUrl"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createGitRepository"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"Variable",name:{kind:"Name",value:"name"}}},{kind:"Argument",name:{kind:"Name",value:"gitUrl"},value:{kind:"Variable",name:{kind:"Name",value:"gitUrl"}}}]}]}}]},Z={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"triggerJobRun"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"command"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"triggerJobRun"},arguments:[{kind:"Argument",name:{kind:"Name",value:"command"},value:{kind:"Variable",name:{kind:"Name",value:"command"}}}]}]}}]},Q={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateOauthCredential"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateOAuthCredentialInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateOauthCredential"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}]}]}}]},X={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"deleteOauthCredential"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"provider"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"OAuthProvider"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteOauthCredential"},arguments:[{kind:"Argument",name:{kind:"Name",value:"provider"},value:{kind:"Variable",name:{kind:"Name",value:"provider"}}}]}]}}]},$={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"OAuthCallbackUrl"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"provider"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"OAuthProvider"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"oauthCallbackUrl"},arguments:[{kind:"Argument",name:{kind:"Name",value:"provider"},value:{kind:"Variable",name:{kind:"Name",value:"provider"}}}]}]}}]},ee={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"OAuthCredential"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"provider"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"OAuthProvider"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"oauthCredential"},arguments:[{kind:"Argument",name:{kind:"Name",value:"provider"},value:{kind:"Variable",name:{kind:"Name",value:"provider"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"provider"}},{kind:"Field",name:{kind:"Name",value:"clientId"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}}]}}]}}]},en={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateNetworkSettingMutation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"NetworkSettingInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateNetworkSetting"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}]}]}}]},ei={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateSecuritySetting"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"SecuritySettingInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateSecuritySetting"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}]}]}}]},ea={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"SecuritySetting"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"securitySetting"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allowedRegisterDomainList"}},{kind:"Field",name:{kind:"Name",value:"disableClientSideTelemetry"}}]}}]}}]},ed={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UploadLicense"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"license"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"uploadLicense"},arguments:[{kind:"Argument",name:{kind:"Name",value:"license"},value:{kind:"Variable",name:{kind:"Name",value:"license"}}}]}]}}]},et={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"ResetLicense"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"resetLicense"}}]}}]},el={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateInvitation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"email"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createInvitation"},arguments:[{kind:"Argument",name:{kind:"Name",value:"email"},value:{kind:"Variable",name:{kind:"Name",value:"email"}}}]}]}}]},em={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteInvitation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteInvitation"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}]}]}}]},ek={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateUserRole"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"isAdmin"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateUserRole"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"isAdmin"},value:{kind:"Variable",name:{kind:"Name",value:"isAdmin"}}}]}]}}]},eu={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateUserActive"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"active"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateUserActive"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"active"},value:{kind:"Variable",name:{kind:"Name",value:"active"}}}]}]}}]},eo={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"generateResetPasswordUrl"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"userId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"generateResetPasswordUrl"},arguments:[{kind:"Argument",name:{kind:"Name",value:"userId"},value:{kind:"Variable",name:{kind:"Name",value:"userId"}}}]}]}}]},er={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"createUserGroup"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"CreateUserGroupInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createUserGroup"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}]}]}}]},es={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteUserGroupMembership"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"userGroupId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"userId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteUserGroupMembership"},arguments:[{kind:"Argument",name:{kind:"Name",value:"userGroupId"},value:{kind:"Variable",name:{kind:"Name",value:"userGroupId"}}},{kind:"Argument",name:{kind:"Name",value:"userId"},value:{kind:"Variable",name:{kind:"Name",value:"userId"}}}]}]}}]},ev={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpsertUserGroupMembership"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpsertUserGroupMembershipInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"upsertUserGroupMembership"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}]}]}}]},eN={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteUserGroup"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteUserGroup"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}]}]}}]},ec={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetRegistrationToken"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"registrationToken"}}]}}]},ep={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"ResetRegistrationToken"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"resetRegistrationToken"}}]}}]},eS={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"TestModelConnection"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"backend"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ModelHealthBackend"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"testModelConnection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"backend"},value:{kind:"Variable",name:{kind:"Name",value:"backend"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"latencyMs"}}]}}]}}]},eb={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetDiskUsageStats"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"diskUsageStats"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"events"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"filepath"}},{kind:"Field",name:{kind:"Name",value:"sizeKb"}}]}},{kind:"Field",name:{kind:"Name",value:"indexedRepositories"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"filepath"}},{kind:"Field",name:{kind:"Name",value:"sizeKb"}}]}},{kind:"Field",name:{kind:"Name",value:"database"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"filepath"}},{kind:"Field",name:{kind:"Name",value:"sizeKb"}}]}},{kind:"Field",name:{kind:"Name",value:"models"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"filepath"}},{kind:"Field",name:{kind:"Name",value:"sizeKb"}}]}}]}}]}}]},ef={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListThreads"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"ids"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"isEphemeral"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"after"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"before"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"first"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"last"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"threads"},arguments:[{kind:"Argument",name:{kind:"Name",value:"ids"},value:{kind:"Variable",name:{kind:"Name",value:"ids"}}},{kind:"Argument",name:{kind:"Name",value:"isEphemeral"},value:{kind:"Variable",name:{kind:"Name",value:"isEphemeral"}}},{kind:"Argument",name:{kind:"Name",value:"after"},value:{kind:"Variable",name:{kind:"Name",value:"after"}}},{kind:"Argument",name:{kind:"Name",value:"before"},value:{kind:"Variable",name:{kind:"Name",value:"before"}}},{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"Variable",name:{kind:"Name",value:"first"}}},{kind:"Argument",name:{kind:"Name",value:"last"},value:{kind:"Variable",name:{kind:"Name",value:"last"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"edges"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"node"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"userId"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}}]}},{kind:"Field",name:{kind:"Name",value:"cursor"}}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hasNextPage"}},{kind:"Field",name:{kind:"Name",value:"hasPreviousPage"}},{kind:"Field",name:{kind:"Name",value:"startCursor"}},{kind:"Field",name:{kind:"Name",value:"endCursor"}}]}}]}}]}}]},ey={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"passwordReset"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"PasswordResetInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"passwordReset"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}]}]}}]},eF={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"requestPasswordResetEmail"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"RequestPasswordResetEmailInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"requestPasswordResetEmail"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}]}]}}]},eD={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"requestInvitationEmail"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"RequestInvitationInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"requestInvitationEmail"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"email"}},{kind:"Field",name:{kind:"Name",value:"code"}}]}}]}}]},eg={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"tokenAuth"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"email"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"password"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tokenAuth"},arguments:[{kind:"Argument",name:{kind:"Name",value:"email"},value:{kind:"Variable",name:{kind:"Name",value:"email"}}},{kind:"Argument",name:{kind:"Name",value:"password"},value:{kind:"Variable",name:{kind:"Name",value:"password"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accessToken"}},{kind:"Field",name:{kind:"Name",value:"refreshToken"}}]}}]}}]},eV={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"register"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"name"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"email"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"password1"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"password2"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"invitationCode"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"register"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"Variable",name:{kind:"Name",value:"name"}}},{kind:"Argument",name:{kind:"Name",value:"email"},value:{kind:"Variable",name:{kind:"Name",value:"email"}}},{kind:"Argument",name:{kind:"Name",value:"password1"},value:{kind:"Variable",name:{kind:"Name",value:"password1"}}},{kind:"Argument",name:{kind:"Name",value:"password2"},value:{kind:"Variable",name:{kind:"Name",value:"password2"}}},{kind:"Argument",name:{kind:"Name",value:"invitationCode"},value:{kind:"Variable",name:{kind:"Name",value:"invitationCode"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accessToken"}},{kind:"Field",name:{kind:"Name",value:"refreshToken"}}]}}]}}]},eT={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"RepositoryGrep"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"kind"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"RepositoryKind"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"rev"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"query"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"repositoryGrep"},arguments:[{kind:"Argument",name:{kind:"Name",value:"kind"},value:{kind:"Variable",name:{kind:"Name",value:"kind"}}},{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"rev"},value:{kind:"Variable",name:{kind:"Name",value:"rev"}}},{kind:"Argument",name:{kind:"Name",value:"query"},value:{kind:"Variable",name:{kind:"Name",value:"query"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"files"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"path"}},{kind:"Field",name:{kind:"Name",value:"lines"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"line"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"text"}},{kind:"Field",name:{kind:"Name",value:"base64"}}]}},{kind:"Field",name:{kind:"Name",value:"byteOffset"}},{kind:"Field",name:{kind:"Name",value:"lineNumber"}},{kind:"Field",name:{kind:"Name",value:"subMatches"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"bytesStart"}},{kind:"Field",name:{kind:"Name",value:"bytesEnd"}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"elapsedMs"}}]}}]}}]},eA={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteThread"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteThread"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}]}]}}]},eI={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateThreadMessage"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateMessageInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateThreadMessage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}]}]}}]},eh={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"RepositorySourceList"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"repositoryList"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"kind"}},{kind:"Field",name:{kind:"Name",value:"gitUrl"}},{kind:"Field",name:{kind:"Name",value:"sourceId"}},{kind:"Field",name:{kind:"Name",value:"sourceName"}},{kind:"Field",name:{kind:"Name",value:"sourceKind"}}]}}]}}]},eC={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"markNotificationsRead"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"notificationId"}},type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"markNotificationsRead"},arguments:[{kind:"Argument",name:{kind:"Name",value:"notificationId"},value:{kind:"Variable",name:{kind:"Name",value:"notificationId"}}}]}]}}]},eO={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"ResetUserAuthToken"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"resetUserAuthToken"}}]}}]},eP={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetLicenseInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"license"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"seats"}},{kind:"Field",name:{kind:"Name",value:"seatsUsed"}},{kind:"Field",name:{kind:"Name",value:"issuedAt"}},{kind:"Field",name:{kind:"Name",value:"expiresAt"}}]}}]}}]},eR={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MeQuery"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"me"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"authToken"}},{kind:"Field",name:{kind:"Name",value:"email"}},{kind:"Field",name:{kind:"Name",value:"isAdmin"}},{kind:"Field",name:{kind:"Name",value:"isOwner"}},{kind:"Field",name:{kind:"Name",value:"isPasswordSet"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]},eG={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"NetworkSetting"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"networkSetting"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"externalUrl"}}]}}]}}]},eU={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetServerInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"serverInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isAdminInitialized"}},{kind:"Field",name:{kind:"Name",value:"isEmailConfigured"}},{kind:"Field",name:{kind:"Name",value:"isChatEnabled"}},{kind:"Field",name:{kind:"Name",value:"allowSelfSignup"}},{kind:"Field",name:{kind:"Name",value:"isDemoMode"}}]}}]}}]},eL={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"subscription",name:{kind:"Name",value:"CreateThreadAndRun"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"CreateThreadAndRunInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createThreadAndRun"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ThreadCreated"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ThreadUserMessageCreated"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ThreadAssistantMessageCreated"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ThreadRelevantQuestions"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"questions"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ThreadAssistantMessageAttachmentsCode"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hits"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"gitUrl"}},{kind:"Field",name:{kind:"Name",value:"filepath"}},{kind:"Field",name:{kind:"Name",value:"language"}},{kind:"Field",name:{kind:"Name",value:"content"}},{kind:"Field",name:{kind:"Name",value:"startLine"}}]}},{kind:"Field",name:{kind:"Name",value:"scores"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"rrf"}},{kind:"Field",name:{kind:"Name",value:"bm25"}},{kind:"Field",name:{kind:"Name",value:"embedding"}}]}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ThreadAssistantMessageAttachmentsDoc"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hits"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"doc"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"MessageAttachmentWebDoc"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"link"}},{kind:"Field",name:{kind:"Name",value:"content"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"MessageAttachmentIssueDoc"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"link"}},{kind:"Field",name:{kind:"Name",value:"author"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"email"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"body"}},{kind:"Field",name:{kind:"Name",value:"closed"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"MessageAttachmentPullDoc"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"link"}},{kind:"Field",name:{kind:"Name",value:"author"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"email"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"body"}},{kind:"Field",name:{kind:"Name",value:"merged"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"score"}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ThreadAssistantMessageContentDelta"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"delta"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ThreadAssistantMessageCompleted"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}}]},eE={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"subscription",name:{kind:"Name",value:"CreateThreadRun"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"CreateThreadRunInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createThreadRun"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ThreadCreated"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ThreadUserMessageCreated"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ThreadAssistantMessageCreated"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ThreadRelevantQuestions"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"questions"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ThreadAssistantMessageAttachmentsCode"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hits"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"gitUrl"}},{kind:"Field",name:{kind:"Name",value:"filepath"}},{kind:"Field",name:{kind:"Name",value:"language"}},{kind:"Field",name:{kind:"Name",value:"content"}},{kind:"Field",name:{kind:"Name",value:"startLine"}}]}},{kind:"Field",name:{kind:"Name",value:"scores"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"rrf"}},{kind:"Field",name:{kind:"Name",value:"bm25"}},{kind:"Field",name:{kind:"Name",value:"embedding"}}]}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ThreadAssistantMessageAttachmentsDoc"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hits"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"doc"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"MessageAttachmentWebDoc"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"link"}},{kind:"Field",name:{kind:"Name",value:"content"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"MessageAttachmentIssueDoc"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"link"}},{kind:"Field",name:{kind:"Name",value:"author"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"email"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"body"}},{kind:"Field",name:{kind:"Name",value:"closed"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"MessageAttachmentPullDoc"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"link"}},{kind:"Field",name:{kind:"Name",value:"author"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"email"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"body"}},{kind:"Field",name:{kind:"Name",value:"merged"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"score"}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ThreadAssistantMessageContentDelta"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"delta"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ThreadAssistantMessageCompleted"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}}]},eM={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteThreadMessagePair"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"threadId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"userMessageId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"assistantMessageId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteThreadMessagePair"},arguments:[{kind:"Argument",name:{kind:"Name",value:"threadId"},value:{kind:"Variable",name:{kind:"Name",value:"threadId"}}},{kind:"Argument",name:{kind:"Name",value:"userMessageId"},value:{kind:"Variable",name:{kind:"Name",value:"userMessageId"}}},{kind:"Argument",name:{kind:"Name",value:"assistantMessageId"},value:{kind:"Variable",name:{kind:"Name",value:"assistantMessageId"}}}]}]}}]},eq={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"refreshToken"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"refreshToken"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"refreshToken"},arguments:[{kind:"Argument",name:{kind:"Name",value:"refreshToken"},value:{kind:"Variable",name:{kind:"Name",value:"refreshToken"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accessToken"}},{kind:"Field",name:{kind:"Name",value:"refreshToken"}}]}}]}}]},ew={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"LogoutAllSessions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"logoutAllSessions"}}]}}]},ex={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListInvitations"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"after"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"before"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"first"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"last"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"invitations"},arguments:[{kind:"Argument",name:{kind:"Name",value:"after"},value:{kind:"Variable",name:{kind:"Name",value:"after"}}},{kind:"Argument",name:{kind:"Name",value:"before"},value:{kind:"Variable",name:{kind:"Name",value:"before"}}},{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"Variable",name:{kind:"Name",value:"first"}}},{kind:"Argument",name:{kind:"Name",value:"last"},value:{kind:"Variable",name:{kind:"Name",value:"last"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"edges"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"node"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"email"}},{kind:"Field",name:{kind:"Name",value:"code"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}}]}},{kind:"Field",name:{kind:"Name",value:"cursor"}}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hasNextPage"}},{kind:"Field",name:{kind:"Name",value:"hasPreviousPage"}},{kind:"Field",name:{kind:"Name",value:"startCursor"}},{kind:"Field",name:{kind:"Name",value:"endCursor"}}]}}]}}]}}]},e_={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"gitRepositories"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"after"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"before"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"first"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"last"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"gitRepositories"},arguments:[{kind:"Argument",name:{kind:"Name",value:"after"},value:{kind:"Variable",name:{kind:"Name",value:"after"}}},{kind:"Argument",name:{kind:"Name",value:"before"},value:{kind:"Variable",name:{kind:"Name",value:"before"}}},{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"Variable",name:{kind:"Name",value:"first"}}},{kind:"Argument",name:{kind:"Name",value:"last"},value:{kind:"Variable",name:{kind:"Name",value:"last"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"edges"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"node"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"gitUrl"}},{kind:"Field",name:{kind:"Name",value:"sourceId"}},{kind:"Field",name:{kind:"Name",value:"jobInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"lastJobRun"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"job"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"finishedAt"}},{kind:"Field",name:{kind:"Name",value:"exitCode"}}]}},{kind:"Field",name:{kind:"Name",value:"command"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"cursor"}}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hasNextPage"}},{kind:"Field",name:{kind:"Name",value:"hasPreviousPage"}},{kind:"Field",name:{kind:"Name",value:"startCursor"}},{kind:"Field",name:{kind:"Name",value:"endCursor"}}]}}]}}]}}]},eB={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListJobRuns"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"ids"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"jobs"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"after"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"before"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"first"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"last"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"jobRuns"},arguments:[{kind:"Argument",name:{kind:"Name",value:"ids"},value:{kind:"Variable",name:{kind:"Name",value:"ids"}}},{kind:"Argument",name:{kind:"Name",value:"jobs"},value:{kind:"Variable",name:{kind:"Name",value:"jobs"}}},{kind:"Argument",name:{kind:"Name",value:"after"},value:{kind:"Variable",name:{kind:"Name",value:"after"}}},{kind:"Argument",name:{kind:"Name",value:"before"},value:{kind:"Variable",name:{kind:"Name",value:"before"}}},{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"Variable",name:{kind:"Name",value:"first"}}},{kind:"Argument",name:{kind:"Name",value:"last"},value:{kind:"Variable",name:{kind:"Name",value:"last"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"edges"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"node"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"job"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"startedAt"}},{kind:"Field",name:{kind:"Name",value:"finishedAt"}},{kind:"Field",name:{kind:"Name",value:"exitCode"}},{kind:"Field",name:{kind:"Name",value:"stdout"}}]}},{kind:"Field",name:{kind:"Name",value:"cursor"}}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hasNextPage"}},{kind:"Field",name:{kind:"Name",value:"hasPreviousPage"}},{kind:"Field",name:{kind:"Name",value:"startCursor"}},{kind:"Field",name:{kind:"Name",value:"endCursor"}}]}}]}}]}}]},eH={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetJobRunStats"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"jobs"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"jobRunStats"},arguments:[{kind:"Argument",name:{kind:"Name",value:"jobs"},value:{kind:"Variable",name:{kind:"Name",value:"jobs"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"success"}},{kind:"Field",name:{kind:"Name",value:"failed"}},{kind:"Field",name:{kind:"Name",value:"pending"}}]}}]}}]},ej={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListJobs"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"jobs"}}]}}]},eK={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListUsers"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"after"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"before"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"first"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"last"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"users"},arguments:[{kind:"Argument",name:{kind:"Name",value:"after"},value:{kind:"Variable",name:{kind:"Name",value:"after"}}},{kind:"Argument",name:{kind:"Name",value:"before"},value:{kind:"Variable",name:{kind:"Name",value:"before"}}},{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"Variable",name:{kind:"Name",value:"first"}}},{kind:"Argument",name:{kind:"Name",value:"last"},value:{kind:"Variable",name:{kind:"Name",value:"last"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"edges"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"node"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"email"}},{kind:"Field",name:{kind:"Name",value:"isAdmin"}},{kind:"Field",name:{kind:"Name",value:"isOwner"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"active"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"cursor"}}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hasNextPage"}},{kind:"Field",name:{kind:"Name",value:"hasPreviousPage"}},{kind:"Field",name:{kind:"Name",value:"startCursor"}},{kind:"Field",name:{kind:"Name",value:"endCursor"}}]}}]}}]}}]},eW={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"DailyStatsInPastYear"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"users"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"dailyStatsInPastYear"},arguments:[{kind:"Argument",name:{kind:"Name",value:"users"},value:{kind:"Variable",name:{kind:"Name",value:"users"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"start"}},{kind:"Field",name:{kind:"Name",value:"end"}},{kind:"Field",name:{kind:"Name",value:"completions"}},{kind:"Field",name:{kind:"Name",value:"selects"}},{kind:"Field",name:{kind:"Name",value:"views"}}]}}]}}]},eJ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"DailyStats"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"start"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"DateTime"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"end"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"DateTime"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"users"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"languages"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Language"}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"dailyStats"},arguments:[{kind:"Argument",name:{kind:"Name",value:"start"},value:{kind:"Variable",name:{kind:"Name",value:"start"}}},{kind:"Argument",name:{kind:"Name",value:"end"},value:{kind:"Variable",name:{kind:"Name",value:"end"}}},{kind:"Argument",name:{kind:"Name",value:"users"},value:{kind:"Variable",name:{kind:"Name",value:"users"}}},{kind:"Argument",name:{kind:"Name",value:"languages"},value:{kind:"Variable",name:{kind:"Name",value:"languages"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"start"}},{kind:"Field",name:{kind:"Name",value:"end"}},{kind:"Field",name:{kind:"Name",value:"completions"}},{kind:"Field",name:{kind:"Name",value:"selects"}},{kind:"Field",name:{kind:"Name",value:"views"}},{kind:"Field",name:{kind:"Name",value:"language"}}]}}]}}]},eY={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListIntegrations"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"ids"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"kind"}},type:{kind:"NamedType",name:{kind:"Name",value:"IntegrationKind"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"after"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"before"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"first"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"last"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"integrations"},arguments:[{kind:"Argument",name:{kind:"Name",value:"ids"},value:{kind:"Variable",name:{kind:"Name",value:"ids"}}},{kind:"Argument",name:{kind:"Name",value:"kind"},value:{kind:"Variable",name:{kind:"Name",value:"kind"}}},{kind:"Argument",name:{kind:"Name",value:"after"},value:{kind:"Variable",name:{kind:"Name",value:"after"}}},{kind:"Argument",name:{kind:"Name",value:"before"},value:{kind:"Variable",name:{kind:"Name",value:"before"}}},{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"Variable",name:{kind:"Name",value:"first"}}},{kind:"Argument",name:{kind:"Name",value:"last"},value:{kind:"Variable",name:{kind:"Name",value:"last"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"edges"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"node"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"displayName"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"apiBase"}}]}},{kind:"Field",name:{kind:"Name",value:"cursor"}}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hasNextPage"}},{kind:"Field",name:{kind:"Name",value:"hasPreviousPage"}},{kind:"Field",name:{kind:"Name",value:"startCursor"}},{kind:"Field",name:{kind:"Name",value:"endCursor"}}]}}]}}]}}]},ez={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListIntegratedRepositories"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"ids"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"kind"}},type:{kind:"NamedType",name:{kind:"Name",value:"IntegrationKind"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"active"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"after"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"before"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"first"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"last"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"integratedRepositories"},arguments:[{kind:"Argument",name:{kind:"Name",value:"ids"},value:{kind:"Variable",name:{kind:"Name",value:"ids"}}},{kind:"Argument",name:{kind:"Name",value:"kind"},value:{kind:"Variable",name:{kind:"Name",value:"kind"}}},{kind:"Argument",name:{kind:"Name",value:"active"},value:{kind:"Variable",name:{kind:"Name",value:"active"}}},{kind:"Argument",name:{kind:"Name",value:"after"},value:{kind:"Variable",name:{kind:"Name",value:"after"}}},{kind:"Argument",name:{kind:"Name",value:"before"},value:{kind:"Variable",name:{kind:"Name",value:"before"}}},{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"Variable",name:{kind:"Name",value:"first"}}},{kind:"Argument",name:{kind:"Name",value:"last"},value:{kind:"Variable",name:{kind:"Name",value:"last"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"edges"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"node"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"displayName"}},{kind:"Field",name:{kind:"Name",value:"gitUrl"}},{kind:"Field",name:{kind:"Name",value:"active"}},{kind:"Field",name:{kind:"Name",value:"sourceId"}},{kind:"Field",name:{kind:"Name",value:"jobInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"lastJobRun"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"job"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"finishedAt"}},{kind:"Field",name:{kind:"Name",value:"startedAt"}},{kind:"Field",name:{kind:"Name",value:"exitCode"}}]}},{kind:"Field",name:{kind:"Name",value:"command"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"cursor"}}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hasNextPage"}},{kind:"Field",name:{kind:"Name",value:"hasPreviousPage"}},{kind:"Field",name:{kind:"Name",value:"startCursor"}},{kind:"Field",name:{kind:"Name",value:"endCursor"}}]}}]}}]}}]},eZ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"RepositoryList"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"repositoryList"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"kind"}},{kind:"Field",name:{kind:"Name",value:"gitUrl"}},{kind:"Field",name:{kind:"Name",value:"refs"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"commit"}}]}}]}}]}}]},eQ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"RepositorySearch"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"kind"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"RepositoryKind"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"rev"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"pattern"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"repositorySearch"},arguments:[{kind:"Argument",name:{kind:"Name",value:"kind"},value:{kind:"Variable",name:{kind:"Name",value:"kind"}}},{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"rev"},value:{kind:"Variable",name:{kind:"Name",value:"rev"}}},{kind:"Argument",name:{kind:"Name",value:"pattern"},value:{kind:"Variable",name:{kind:"Name",value:"pattern"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"path"}},{kind:"Field",name:{kind:"Name",value:"indices"}}]}}]}}]},eX={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ContextInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"contextInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sources"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"sourceKind"}},{kind:"Field",name:{kind:"Name",value:"sourceId"}},{kind:"Field",name:{kind:"Name",value:"sourceName"}}]}}]}}]}}]},e$={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"UserGroups"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"userGroups"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}},{kind:"Field",name:{kind:"Name",value:"members"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"user"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"email"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}}]}},{kind:"Field",name:{kind:"Name",value:"isGroupAdmin"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}}]}}]}}]}}]},e0={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"sourceIdAccessPolicies"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sourceId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sourceIdAccessPolicies"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sourceId"},value:{kind:"Variable",name:{kind:"Name",value:"sourceId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sourceId"}},{kind:"Field",name:{kind:"Name",value:"read"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}]},e8={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListThreadMessages"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"threadId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"after"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"before"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"first"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"last"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"threadMessages"},arguments:[{kind:"Argument",name:{kind:"Name",value:"threadId"},value:{kind:"Variable",name:{kind:"Name",value:"threadId"}}},{kind:"Argument",name:{kind:"Name",value:"after"},value:{kind:"Variable",name:{kind:"Name",value:"after"}}},{kind:"Argument",name:{kind:"Name",value:"before"},value:{kind:"Variable",name:{kind:"Name",value:"before"}}},{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"Variable",name:{kind:"Name",value:"first"}}},{kind:"Argument",name:{kind:"Name",value:"last"},value:{kind:"Variable",name:{kind:"Name",value:"last"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"edges"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"node"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"threadId"}},{kind:"Field",name:{kind:"Name",value:"role"}},{kind:"Field",name:{kind:"Name",value:"content"}},{kind:"Field",name:{kind:"Name",value:"attachment"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"gitUrl"}},{kind:"Field",name:{kind:"Name",value:"filepath"}},{kind:"Field",name:{kind:"Name",value:"language"}},{kind:"Field",name:{kind:"Name",value:"content"}},{kind:"Field",name:{kind:"Name",value:"startLine"}}]}},{kind:"Field",name:{kind:"Name",value:"clientCode"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"filepath"}},{kind:"Field",name:{kind:"Name",value:"content"}},{kind:"Field",name:{kind:"Name",value:"startLine"}}]}},{kind:"Field",name:{kind:"Name",value:"doc"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"MessageAttachmentWebDoc"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"link"}},{kind:"Field",name:{kind:"Name",value:"content"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"MessageAttachmentIssueDoc"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"link"}},{kind:"Field",name:{kind:"Name",value:"author"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"email"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"body"}},{kind:"Field",name:{kind:"Name",value:"closed"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"MessageAttachmentPullDoc"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"link"}},{kind:"Field",name:{kind:"Name",value:"author"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"email"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"body"}},{kind:"Field",name:{kind:"Name",value:"merged"}}]}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"cursor"}}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hasNextPage"}},{kind:"Field",name:{kind:"Name",value:"hasPreviousPage"}},{kind:"Field",name:{kind:"Name",value:"startCursor"}},{kind:"Field",name:{kind:"Name",value:"endCursor"}}]}}]}}]}}]},e1={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"SetThreadPersisted"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"threadId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"setThreadPersisted"},arguments:[{kind:"Argument",name:{kind:"Name",value:"threadId"},value:{kind:"Variable",name:{kind:"Name",value:"threadId"}}}]}]}}]},e6={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"Notifications"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"notifications"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"content"}},{kind:"Field",name:{kind:"Name",value:"read"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}}]}}]}}]}},57288:function(e,n,i){i.d(n,{xV:function(){return p},cn:function(){return y},gw:function(){return g},Ch:function(){return f},nO:function(){return V},L5:function(){return I},b:function(){return v},OV:function(){return T},tf:function(){return A},G8:function(){return N},i8:function(){return c},S_:function(){return D},wO:function(){return r},_q:function(){return s},x0:function(){return F}});var a=i(37061),d=i(1853),t=i(74630),l=i(56575),m=i(48817),k=i(52807),u=i(18500),o=i(74038);let r=e=>[u.ri.Git,u.ri.Github,u.ri.Gitlab].includes(e),s=e=>[u.ri.Doc,u.ri.Web].includes(e),v=(e,n)=>{let i;if(!(null==n?void 0:n.length))return[];let a=[];for(;i=o.z.exec(e);){let e=i[1],d=null==n?void 0:n.find(n=>n.sourceId===e);d&&a.push({id:e,label:d.sourceName,kind:d.sourceKind})}return a},N=e=>{let n=[],i=[],a=!1;for(let d of e){let{kind:e,id:t}=d;r(e)?i.push(t):e===u.ri.Web?a=!0:n.push(t)}return{searchPublic:a,docSourceIds:(0,k.Z)(n),codeSourceIds:(0,k.Z)(i)}};function c(e,n,i){var a;let d=null!==(a=n.split("\n")[0])&&void 0!==a?a:"",t=d.replace(o.z,n=>{var i;let a=n.slice(9,-2),d=e.find(e=>e.sourceId===a);return null!==(i=null==d?void 0:d.sourceName)&&void 0!==i?i:""}).trim(),l=t;return(null==i?void 0:i.maxLength)&&(l=l.slice(0,null==i?void 0:i.maxLength)),l}function p(e){let n=!1,i=!1;return e&&e.forEach(e=>{r(e.sourceKind)?n=!0:s(e.sourceKind)&&(i=!0)}),{hasCodebaseSource:n,hasDocumentSource:i}}var S=i(81696),b=i.n(S);function f(e,n){let i=b()(n);if(!i)return;let a=e.filter(e=>{let n=b()(e.url);return n.name===i.name});if(0!==a.length)return a.sort((e,n)=>e.url.localeCompare(n.url))[0]}function y(){for(var e=arguments.length,n=Array(e),i=0;i!0,g=e=>new Promise(n=>{setTimeout(()=>n(null),e)});function V(e){if(!e)return"";let{start:n,end:i}=e;return(0,t.Z)(n)||isNaN(n)?"":n===i?"L".concat(n):(0,d.Z)([n,i].map(e=>"number"!=typeof e||isNaN(e)?void 0:"L".concat(e))).join("-")}function T(e){var n;let i=null!==(n=null==e?void 0:e.startLine)&&void 0!==n?n:0,a=null==e?void 0:e.content.split("\n").length,d=i+a-1;return{startLine:i,endLine:d,isValid:!!i,isMultiLine:!!i&&i<=d}}function A(e){let{startLine:n,endLine:i}=T(e);return V({start:n,end:i})}function I(e){switch(e.__typename){case"MessageAttachmentWebDoc":return e.content;case"MessageAttachmentIssueDoc":case"MessageAttachmentPullDoc":return e.body}return""}}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7288],{74038:function(e,n,i){i.d(n,{H:function(){return d},z:function(){return a}});let a=/\[\[source:([^\]]+)\]\]/g,d=/\[\[?citation:\s*(\d+)\]?\]/g},18500:function(e,n,i){var a,d,t,l,m,k,u,o,r,s,v,N,c,p,S,b,f,y,F,g,D,V,T,A,I,h;i.d(n,{$S:function(){return e_},AU:function(){return q},Ax:function(){return ej},BH:function(){return eZ},DQ:function(){return R},FR:function(){return eM},Fd:function(){return ee},Gf:function(){return j},HC:function(){return ez},Hi:function(){return a},Ij:function(){return k},Il:function(){return eq},KZ:function(){return eJ},L$:function(){return $},Mi:function(){return ex},NL:function(){return e$},Nl:function(){return ei},O4:function(){return v},Qw:function(){return e8},Rj:function(){return o},SQ:function(){return u},S_:function(){return eg},Sm:function(){return eK},TS:function(){return Y},Tj:function(){return eI},UO:function(){return eD},UQ:function(){return C},VL:function(){return eU},Wd:function(){return eW},XF:function(){return ek},Xx:function(){return ew},YM:function(){return em},YR:function(){return eV},Yo:function(){return ed},Yr:function(){return _},ZH:function(){return X},a:function(){return eL},ad:function(){return z},bh:function(){return ec},by:function(){return eH},c3:function(){return W},d0:function(){return et},dW:function(){return t},dv:function(){return eu},e8:function(){return er},eI:function(){return O},eZ:function(){return eO},f7:function(){return e0},fY:function(){return x},fc:function(){return M},fk:function(){return eR},gl:function(){return L},hQ:function(){return eN},h_:function(){return J},hx:function(){return eX},i8:function(){return eF},ib:function(){return el},k6:function(){return E},lq:function(){return eT},m:function(){return Q},m2:function(){return eP},mO:function(){return e6},mi:function(){return s},nI:function(){return G},nS:function(){return l},nh:function(){return eo},np:function(){return eB},o7:function(){return w},oZ:function(){return P},oj:function(){return r},ou:function(){return eE},q6:function(){return m},qk:function(){return ef},qq:function(){return eC},qt:function(){return eY},qu:function(){return e1},rE:function(){return eS},rN:function(){return en},rU:function(){return ea},ri:function(){return d},uI:function(){return ev},uM:function(){return eG},uU:function(){return c},uk:function(){return Z},vK:function(){return ey},vW:function(){return N},w4:function(){return eQ},wW:function(){return ep},wZ:function(){return U},wx:function(){return H},xW:function(){return eA},xX:function(){return eb},yR:function(){return eh},z:function(){return B},z1:function(){return K},zD:function(){return es}}),(p=a||(a={})).Login="LOGIN",p.None="NONE",p.Plain="PLAIN",(S=d||(d={})).Doc="DOC",S.Git="GIT",S.Github="GITHUB",S.Gitlab="GITLAB",S.Web="WEB",(b=t||(t={})).None="NONE",b.SslTls="SSL_TLS",b.StartTls="START_TLS",(f=l||(l={})).Completion="COMPLETION",f.Dismiss="DISMISS",f.Select="SELECT",f.View="VIEW",(y=m||(m={})).Github="GITHUB",y.GithubSelfHosted="GITHUB_SELF_HOSTED",y.Gitlab="GITLAB",y.GitlabSelfHosted="GITLAB_SELF_HOSTED",(F=k||(k={})).Failed="FAILED",F.Pending="PENDING",F.Ready="READY",(g=u||(u={})).C="C",g.Cpp="CPP",g.Csharp="CSHARP",g.Go="GO",g.Java="JAVA",g.Javascript="JAVASCRIPT",g.Kotlin="KOTLIN",g.Other="OTHER",g.Python="PYTHON",g.Ruby="RUBY",g.Rust="RUST",g.Solidity="SOLIDITY",g.Typescript="TYPESCRIPT",(D=o||(o={})).Expired="EXPIRED",D.Ok="OK",D.SeatsExceeded="SEATS_EXCEEDED",(V=r||(r={})).Community="COMMUNITY",V.Enterprise="ENTERPRISE",V.Team="TEAM",(T=s||(s={})).Chat="CHAT",T.Completion="COMPLETION",T.Embedding="EMBEDDING",(A=v||(v={})).Github="GITHUB",A.Gitlab="GITLAB",A.Google="GOOGLE",(I=N||(N={})).Git="GIT",I.Github="GITHUB",I.GithubSelfHosted="GITHUB_SELF_HOSTED",I.Gitlab="GITLAB",I.GitlabSelfHosted="GITLAB_SELF_HOSTED",I.GitConfig="GIT_CONFIG",(h=c||(c={})).Assistant="ASSISTANT",h.User="USER";let C={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListUserEvents"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"after"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"before"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"first"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"last"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"start"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"DateTime"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"end"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"DateTime"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"users"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"userEvents"},arguments:[{kind:"Argument",name:{kind:"Name",value:"after"},value:{kind:"Variable",name:{kind:"Name",value:"after"}}},{kind:"Argument",name:{kind:"Name",value:"before"},value:{kind:"Variable",name:{kind:"Name",value:"before"}}},{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"Variable",name:{kind:"Name",value:"first"}}},{kind:"Argument",name:{kind:"Name",value:"last"},value:{kind:"Variable",name:{kind:"Name",value:"last"}}},{kind:"Argument",name:{kind:"Name",value:"start"},value:{kind:"Variable",name:{kind:"Name",value:"start"}}},{kind:"Argument",name:{kind:"Name",value:"end"},value:{kind:"Variable",name:{kind:"Name",value:"end"}}},{kind:"Argument",name:{kind:"Name",value:"users"},value:{kind:"Variable",name:{kind:"Name",value:"users"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"edges"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"node"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"userId"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"kind"}},{kind:"Field",name:{kind:"Name",value:"payload"}}]}},{kind:"Field",name:{kind:"Name",value:"cursor"}}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hasNextPage"}},{kind:"Field",name:{kind:"Name",value:"hasPreviousPage"}},{kind:"Field",name:{kind:"Name",value:"startCursor"}},{kind:"Field",name:{kind:"Name",value:"endCursor"}}]}}]}}]}}]},O={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"uploadUserAvatarBase64"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"avatarBase64"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"uploadUserAvatarBase64"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"avatarBase64"},value:{kind:"Variable",name:{kind:"Name",value:"avatarBase64"}}}]}]}}]},R={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateUserName"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"name"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateUserName"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"Variable",name:{kind:"Name",value:"name"}}}]}]}}]},P={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"PasswordChange"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"PasswordChangeInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"passwordChange"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}]}]}}]},L={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateEmailSetting"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"EmailSettingInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateEmailSetting"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}]}]}}]},U={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"deleteEmailSetting"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteEmailSetting"}}]}}]},G={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"SendTestEmail"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"to"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sendTestEmail"},arguments:[{kind:"Argument",name:{kind:"Name",value:"to"},value:{kind:"Variable",name:{kind:"Name",value:"to"}}}]}]}}]},E={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"emailSetting"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"emailSetting"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"smtpUsername"}},{kind:"Field",name:{kind:"Name",value:"smtpServer"}},{kind:"Field",name:{kind:"Name",value:"fromAddress"}},{kind:"Field",name:{kind:"Name",value:"encryption"}},{kind:"Field",name:{kind:"Name",value:"authMethod"}},{kind:"Field",name:{kind:"Name",value:"smtpPort"}}]}}]}}]},M={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateIntegration"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateIntegrationInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateIntegration"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}]}]}}]},q={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteIntegration"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"kind"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"IntegrationKind"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteIntegration"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"kind"},value:{kind:"Variable",name:{kind:"Name",value:"kind"}}}]}]}}]},w={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateIntegratedRepositoryActive"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"active"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateIntegratedRepositoryActive"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"active"},value:{kind:"Variable",name:{kind:"Name",value:"active"}}}]}]}}]},x={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateIntegration"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"CreateIntegrationInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createIntegration"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}]}]}}]},_={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"grantSourceIdReadAccess"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sourceId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"userGroupId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"grantSourceIdReadAccess"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sourceId"},value:{kind:"Variable",name:{kind:"Name",value:"sourceId"}}},{kind:"Argument",name:{kind:"Name",value:"userGroupId"},value:{kind:"Variable",name:{kind:"Name",value:"userGroupId"}}}]}]}}]},B={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"revokeSourceIdReadAccess"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sourceId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"userGroupId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"revokeSourceIdReadAccess"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sourceId"},value:{kind:"Variable",name:{kind:"Name",value:"sourceId"}}},{kind:"Argument",name:{kind:"Name",value:"userGroupId"},value:{kind:"Variable",name:{kind:"Name",value:"userGroupId"}}}]}]}}]},j={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateCustomDocument"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"CreateCustomDocumentInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createCustomDocument"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}]}]}}]},H={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"CustomWebDocuments"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"ids"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"after"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"before"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"first"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"last"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"customWebDocuments"},arguments:[{kind:"Argument",name:{kind:"Name",value:"ids"},value:{kind:"Variable",name:{kind:"Name",value:"ids"}}},{kind:"Argument",name:{kind:"Name",value:"after"},value:{kind:"Variable",name:{kind:"Name",value:"after"}}},{kind:"Argument",name:{kind:"Name",value:"before"},value:{kind:"Variable",name:{kind:"Name",value:"before"}}},{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"Variable",name:{kind:"Name",value:"first"}}},{kind:"Argument",name:{kind:"Name",value:"last"},value:{kind:"Variable",name:{kind:"Name",value:"last"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"edges"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"node"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"sourceId"}},{kind:"Field",name:{kind:"Name",value:"jobInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"lastJobRun"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"job"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"finishedAt"}},{kind:"Field",name:{kind:"Name",value:"exitCode"}}]}},{kind:"Field",name:{kind:"Name",value:"command"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"cursor"}}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hasNextPage"}},{kind:"Field",name:{kind:"Name",value:"hasPreviousPage"}},{kind:"Field",name:{kind:"Name",value:"startCursor"}},{kind:"Field",name:{kind:"Name",value:"endCursor"}}]}}]}}]}}]},W={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteCustomDocument"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteCustomDocument"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}]}]}}]},K={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"PresetWebDocuments"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"ids"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"after"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"before"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"first"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"last"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"isActive"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"presetWebDocuments"},arguments:[{kind:"Argument",name:{kind:"Name",value:"ids"},value:{kind:"Variable",name:{kind:"Name",value:"ids"}}},{kind:"Argument",name:{kind:"Name",value:"after"},value:{kind:"Variable",name:{kind:"Name",value:"after"}}},{kind:"Argument",name:{kind:"Name",value:"before"},value:{kind:"Variable",name:{kind:"Name",value:"before"}}},{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"Variable",name:{kind:"Name",value:"first"}}},{kind:"Argument",name:{kind:"Name",value:"last"},value:{kind:"Variable",name:{kind:"Name",value:"last"}}},{kind:"Argument",name:{kind:"Name",value:"isActive"},value:{kind:"Variable",name:{kind:"Name",value:"isActive"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"edges"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"node"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"isActive"}},{kind:"Field",name:{kind:"Name",value:"sourceId"}},{kind:"Field",name:{kind:"Name",value:"jobInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"lastJobRun"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"job"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"finishedAt"}},{kind:"Field",name:{kind:"Name",value:"exitCode"}}]}},{kind:"Field",name:{kind:"Name",value:"command"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"cursor"}}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hasNextPage"}},{kind:"Field",name:{kind:"Name",value:"hasPreviousPage"}},{kind:"Field",name:{kind:"Name",value:"startCursor"}},{kind:"Field",name:{kind:"Name",value:"endCursor"}}]}}]}}]}}]},J={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"SetPresetDocumentActive"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"SetPresetDocumentActiveInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"setPresetDocumentActive"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}]}]}}]},Y={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"deleteGitRepository"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteGitRepository"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}]}]}}]},z={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"createGitRepository"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"name"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"gitUrl"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createGitRepository"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"Variable",name:{kind:"Name",value:"name"}}},{kind:"Argument",name:{kind:"Name",value:"gitUrl"},value:{kind:"Variable",name:{kind:"Name",value:"gitUrl"}}}]}]}}]},Z={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"triggerJobRun"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"command"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"triggerJobRun"},arguments:[{kind:"Argument",name:{kind:"Name",value:"command"},value:{kind:"Variable",name:{kind:"Name",value:"command"}}}]}]}}]},Q={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateOauthCredential"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateOAuthCredentialInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateOauthCredential"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}]}]}}]},X={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"deleteOauthCredential"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"provider"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"OAuthProvider"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteOauthCredential"},arguments:[{kind:"Argument",name:{kind:"Name",value:"provider"},value:{kind:"Variable",name:{kind:"Name",value:"provider"}}}]}]}}]},$={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"OAuthCallbackUrl"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"provider"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"OAuthProvider"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"oauthCallbackUrl"},arguments:[{kind:"Argument",name:{kind:"Name",value:"provider"},value:{kind:"Variable",name:{kind:"Name",value:"provider"}}}]}]}}]},ee={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"OAuthCredential"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"provider"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"OAuthProvider"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"oauthCredential"},arguments:[{kind:"Argument",name:{kind:"Name",value:"provider"},value:{kind:"Variable",name:{kind:"Name",value:"provider"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"provider"}},{kind:"Field",name:{kind:"Name",value:"clientId"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}}]}}]}}]},en={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateNetworkSettingMutation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"NetworkSettingInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateNetworkSetting"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}]}]}}]},ei={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateSecuritySetting"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"SecuritySettingInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateSecuritySetting"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}]}]}}]},ea={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"SecuritySetting"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"securitySetting"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allowedRegisterDomainList"}},{kind:"Field",name:{kind:"Name",value:"disableClientSideTelemetry"}}]}}]}}]},ed={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UploadLicense"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"license"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"uploadLicense"},arguments:[{kind:"Argument",name:{kind:"Name",value:"license"},value:{kind:"Variable",name:{kind:"Name",value:"license"}}}]}]}}]},et={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"ResetLicense"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"resetLicense"}}]}}]},el={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateInvitation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"email"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createInvitation"},arguments:[{kind:"Argument",name:{kind:"Name",value:"email"},value:{kind:"Variable",name:{kind:"Name",value:"email"}}}]}]}}]},em={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteInvitation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteInvitation"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}]}]}}]},ek={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateUserRole"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"isAdmin"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateUserRole"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"isAdmin"},value:{kind:"Variable",name:{kind:"Name",value:"isAdmin"}}}]}]}}]},eu={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateUserActive"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"active"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateUserActive"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"active"},value:{kind:"Variable",name:{kind:"Name",value:"active"}}}]}]}}]},eo={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"generateResetPasswordUrl"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"userId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"generateResetPasswordUrl"},arguments:[{kind:"Argument",name:{kind:"Name",value:"userId"},value:{kind:"Variable",name:{kind:"Name",value:"userId"}}}]}]}}]},er={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"createUserGroup"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"CreateUserGroupInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createUserGroup"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}]}]}}]},es={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteUserGroupMembership"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"userGroupId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"userId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteUserGroupMembership"},arguments:[{kind:"Argument",name:{kind:"Name",value:"userGroupId"},value:{kind:"Variable",name:{kind:"Name",value:"userGroupId"}}},{kind:"Argument",name:{kind:"Name",value:"userId"},value:{kind:"Variable",name:{kind:"Name",value:"userId"}}}]}]}}]},ev={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpsertUserGroupMembership"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpsertUserGroupMembershipInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"upsertUserGroupMembership"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}]}]}}]},eN={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteUserGroup"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteUserGroup"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}]}]}}]},ec={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetRegistrationToken"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"registrationToken"}}]}}]},ep={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"ResetRegistrationToken"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"resetRegistrationToken"}}]}}]},eS={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"TestModelConnection"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"backend"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ModelHealthBackend"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"testModelConnection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"backend"},value:{kind:"Variable",name:{kind:"Name",value:"backend"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"latencyMs"}}]}}]}}]},eb={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetDiskUsageStats"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"diskUsageStats"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"events"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"filepath"}},{kind:"Field",name:{kind:"Name",value:"sizeKb"}}]}},{kind:"Field",name:{kind:"Name",value:"indexedRepositories"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"filepath"}},{kind:"Field",name:{kind:"Name",value:"sizeKb"}}]}},{kind:"Field",name:{kind:"Name",value:"database"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"filepath"}},{kind:"Field",name:{kind:"Name",value:"sizeKb"}}]}},{kind:"Field",name:{kind:"Name",value:"models"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"filepath"}},{kind:"Field",name:{kind:"Name",value:"sizeKb"}}]}}]}}]}}]},ef={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListThreads"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"ids"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"isEphemeral"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"after"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"before"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"first"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"last"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"threads"},arguments:[{kind:"Argument",name:{kind:"Name",value:"ids"},value:{kind:"Variable",name:{kind:"Name",value:"ids"}}},{kind:"Argument",name:{kind:"Name",value:"isEphemeral"},value:{kind:"Variable",name:{kind:"Name",value:"isEphemeral"}}},{kind:"Argument",name:{kind:"Name",value:"after"},value:{kind:"Variable",name:{kind:"Name",value:"after"}}},{kind:"Argument",name:{kind:"Name",value:"before"},value:{kind:"Variable",name:{kind:"Name",value:"before"}}},{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"Variable",name:{kind:"Name",value:"first"}}},{kind:"Argument",name:{kind:"Name",value:"last"},value:{kind:"Variable",name:{kind:"Name",value:"last"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"edges"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"node"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"userId"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}}]}},{kind:"Field",name:{kind:"Name",value:"cursor"}}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hasNextPage"}},{kind:"Field",name:{kind:"Name",value:"hasPreviousPage"}},{kind:"Field",name:{kind:"Name",value:"startCursor"}},{kind:"Field",name:{kind:"Name",value:"endCursor"}}]}}]}}]}}]},ey={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"passwordReset"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"PasswordResetInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"passwordReset"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}]}]}}]},eF={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"requestPasswordResetEmail"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"RequestPasswordResetEmailInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"requestPasswordResetEmail"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}]}]}}]},eg={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"requestInvitationEmail"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"RequestInvitationInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"requestInvitationEmail"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"email"}},{kind:"Field",name:{kind:"Name",value:"code"}}]}}]}}]},eD={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"tokenAuth"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"email"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"password"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tokenAuth"},arguments:[{kind:"Argument",name:{kind:"Name",value:"email"},value:{kind:"Variable",name:{kind:"Name",value:"email"}}},{kind:"Argument",name:{kind:"Name",value:"password"},value:{kind:"Variable",name:{kind:"Name",value:"password"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accessToken"}},{kind:"Field",name:{kind:"Name",value:"refreshToken"}}]}}]}}]},eV={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"register"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"name"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"email"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"password1"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"password2"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"invitationCode"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"register"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"Variable",name:{kind:"Name",value:"name"}}},{kind:"Argument",name:{kind:"Name",value:"email"},value:{kind:"Variable",name:{kind:"Name",value:"email"}}},{kind:"Argument",name:{kind:"Name",value:"password1"},value:{kind:"Variable",name:{kind:"Name",value:"password1"}}},{kind:"Argument",name:{kind:"Name",value:"password2"},value:{kind:"Variable",name:{kind:"Name",value:"password2"}}},{kind:"Argument",name:{kind:"Name",value:"invitationCode"},value:{kind:"Variable",name:{kind:"Name",value:"invitationCode"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accessToken"}},{kind:"Field",name:{kind:"Name",value:"refreshToken"}}]}}]}}]},eT={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"RepositoryGrep"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"kind"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"RepositoryKind"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"rev"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"query"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"repositoryGrep"},arguments:[{kind:"Argument",name:{kind:"Name",value:"kind"},value:{kind:"Variable",name:{kind:"Name",value:"kind"}}},{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"rev"},value:{kind:"Variable",name:{kind:"Name",value:"rev"}}},{kind:"Argument",name:{kind:"Name",value:"query"},value:{kind:"Variable",name:{kind:"Name",value:"query"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"files"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"path"}},{kind:"Field",name:{kind:"Name",value:"lines"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"line"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"text"}},{kind:"Field",name:{kind:"Name",value:"base64"}}]}},{kind:"Field",name:{kind:"Name",value:"byteOffset"}},{kind:"Field",name:{kind:"Name",value:"lineNumber"}},{kind:"Field",name:{kind:"Name",value:"subMatches"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"bytesStart"}},{kind:"Field",name:{kind:"Name",value:"bytesEnd"}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"elapsedMs"}}]}}]}}]},eA={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteThread"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteThread"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}]}]}}]},eI={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateThreadMessage"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateMessageInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateThreadMessage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}]}]}}]},eh={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"markNotificationsRead"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"notificationId"}},type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"markNotificationsRead"},arguments:[{kind:"Argument",name:{kind:"Name",value:"notificationId"},value:{kind:"Variable",name:{kind:"Name",value:"notificationId"}}}]}]}}]},eC={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"ResetUserAuthToken"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"resetUserAuthToken"}}]}}]},eO={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetLicenseInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"license"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"seats"}},{kind:"Field",name:{kind:"Name",value:"seatsUsed"}},{kind:"Field",name:{kind:"Name",value:"issuedAt"}},{kind:"Field",name:{kind:"Name",value:"expiresAt"}}]}}]}}]},eR={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MeQuery"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"me"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"authToken"}},{kind:"Field",name:{kind:"Name",value:"email"}},{kind:"Field",name:{kind:"Name",value:"isAdmin"}},{kind:"Field",name:{kind:"Name",value:"isOwner"}},{kind:"Field",name:{kind:"Name",value:"isPasswordSet"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]},eP={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"NetworkSetting"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"networkSetting"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"externalUrl"}}]}}]}}]},eL={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetServerInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"serverInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isAdminInitialized"}},{kind:"Field",name:{kind:"Name",value:"isEmailConfigured"}},{kind:"Field",name:{kind:"Name",value:"isChatEnabled"}},{kind:"Field",name:{kind:"Name",value:"allowSelfSignup"}},{kind:"Field",name:{kind:"Name",value:"isDemoMode"}}]}}]}}]},eU={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"subscription",name:{kind:"Name",value:"CreateThreadAndRun"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"CreateThreadAndRunInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createThreadAndRun"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ThreadCreated"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ThreadUserMessageCreated"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ThreadAssistantMessageCreated"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ThreadRelevantQuestions"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"questions"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ThreadAssistantMessageAttachmentsCode"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"codeSourceId"}},{kind:"Field",name:{kind:"Name",value:"hits"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"gitUrl"}},{kind:"Field",name:{kind:"Name",value:"commit"}},{kind:"Field",name:{kind:"Name",value:"filepath"}},{kind:"Field",name:{kind:"Name",value:"language"}},{kind:"Field",name:{kind:"Name",value:"content"}},{kind:"Field",name:{kind:"Name",value:"startLine"}}]}},{kind:"Field",name:{kind:"Name",value:"scores"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"rrf"}},{kind:"Field",name:{kind:"Name",value:"bm25"}},{kind:"Field",name:{kind:"Name",value:"embedding"}}]}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ThreadAssistantMessageAttachmentsDoc"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hits"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"doc"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"MessageAttachmentWebDoc"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"link"}},{kind:"Field",name:{kind:"Name",value:"content"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"MessageAttachmentIssueDoc"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"link"}},{kind:"Field",name:{kind:"Name",value:"author"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"email"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"body"}},{kind:"Field",name:{kind:"Name",value:"closed"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"MessageAttachmentPullDoc"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"link"}},{kind:"Field",name:{kind:"Name",value:"author"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"email"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"body"}},{kind:"Field",name:{kind:"Name",value:"merged"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"score"}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ThreadAssistantMessageContentDelta"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"delta"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ThreadAssistantMessageCompleted"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}}]},eG={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"subscription",name:{kind:"Name",value:"CreateThreadRun"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"CreateThreadRunInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createThreadRun"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ThreadCreated"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ThreadUserMessageCreated"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ThreadAssistantMessageCreated"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ThreadRelevantQuestions"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"questions"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ThreadAssistantMessageAttachmentsCode"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"codeSourceId"}},{kind:"Field",name:{kind:"Name",value:"hits"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"gitUrl"}},{kind:"Field",name:{kind:"Name",value:"commit"}},{kind:"Field",name:{kind:"Name",value:"filepath"}},{kind:"Field",name:{kind:"Name",value:"language"}},{kind:"Field",name:{kind:"Name",value:"content"}},{kind:"Field",name:{kind:"Name",value:"startLine"}}]}},{kind:"Field",name:{kind:"Name",value:"scores"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"rrf"}},{kind:"Field",name:{kind:"Name",value:"bm25"}},{kind:"Field",name:{kind:"Name",value:"embedding"}}]}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ThreadAssistantMessageAttachmentsDoc"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hits"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"doc"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"MessageAttachmentWebDoc"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"link"}},{kind:"Field",name:{kind:"Name",value:"content"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"MessageAttachmentIssueDoc"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"link"}},{kind:"Field",name:{kind:"Name",value:"author"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"email"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"body"}},{kind:"Field",name:{kind:"Name",value:"closed"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"MessageAttachmentPullDoc"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"link"}},{kind:"Field",name:{kind:"Name",value:"author"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"email"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"body"}},{kind:"Field",name:{kind:"Name",value:"merged"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"score"}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ThreadAssistantMessageContentDelta"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"delta"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ThreadAssistantMessageCompleted"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}}]},eE={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteThreadMessagePair"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"threadId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"userMessageId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"assistantMessageId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteThreadMessagePair"},arguments:[{kind:"Argument",name:{kind:"Name",value:"threadId"},value:{kind:"Variable",name:{kind:"Name",value:"threadId"}}},{kind:"Argument",name:{kind:"Name",value:"userMessageId"},value:{kind:"Variable",name:{kind:"Name",value:"userMessageId"}}},{kind:"Argument",name:{kind:"Name",value:"assistantMessageId"},value:{kind:"Variable",name:{kind:"Name",value:"assistantMessageId"}}}]}]}}]},eM={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"refreshToken"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"refreshToken"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"refreshToken"},arguments:[{kind:"Argument",name:{kind:"Name",value:"refreshToken"},value:{kind:"Variable",name:{kind:"Name",value:"refreshToken"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accessToken"}},{kind:"Field",name:{kind:"Name",value:"refreshToken"}}]}}]}}]},eq={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"LogoutAllSessions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"logoutAllSessions"}}]}}]},ew={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListInvitations"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"after"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"before"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"first"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"last"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"invitations"},arguments:[{kind:"Argument",name:{kind:"Name",value:"after"},value:{kind:"Variable",name:{kind:"Name",value:"after"}}},{kind:"Argument",name:{kind:"Name",value:"before"},value:{kind:"Variable",name:{kind:"Name",value:"before"}}},{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"Variable",name:{kind:"Name",value:"first"}}},{kind:"Argument",name:{kind:"Name",value:"last"},value:{kind:"Variable",name:{kind:"Name",value:"last"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"edges"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"node"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"email"}},{kind:"Field",name:{kind:"Name",value:"code"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}}]}},{kind:"Field",name:{kind:"Name",value:"cursor"}}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hasNextPage"}},{kind:"Field",name:{kind:"Name",value:"hasPreviousPage"}},{kind:"Field",name:{kind:"Name",value:"startCursor"}},{kind:"Field",name:{kind:"Name",value:"endCursor"}}]}}]}}]}}]},ex={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"gitRepositories"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"after"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"before"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"first"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"last"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"gitRepositories"},arguments:[{kind:"Argument",name:{kind:"Name",value:"after"},value:{kind:"Variable",name:{kind:"Name",value:"after"}}},{kind:"Argument",name:{kind:"Name",value:"before"},value:{kind:"Variable",name:{kind:"Name",value:"before"}}},{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"Variable",name:{kind:"Name",value:"first"}}},{kind:"Argument",name:{kind:"Name",value:"last"},value:{kind:"Variable",name:{kind:"Name",value:"last"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"edges"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"node"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"gitUrl"}},{kind:"Field",name:{kind:"Name",value:"sourceId"}},{kind:"Field",name:{kind:"Name",value:"jobInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"lastJobRun"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"job"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"finishedAt"}},{kind:"Field",name:{kind:"Name",value:"exitCode"}}]}},{kind:"Field",name:{kind:"Name",value:"command"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"cursor"}}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hasNextPage"}},{kind:"Field",name:{kind:"Name",value:"hasPreviousPage"}},{kind:"Field",name:{kind:"Name",value:"startCursor"}},{kind:"Field",name:{kind:"Name",value:"endCursor"}}]}}]}}]}}]},e_={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListJobRuns"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"ids"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"jobs"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"after"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"before"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"first"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"last"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"jobRuns"},arguments:[{kind:"Argument",name:{kind:"Name",value:"ids"},value:{kind:"Variable",name:{kind:"Name",value:"ids"}}},{kind:"Argument",name:{kind:"Name",value:"jobs"},value:{kind:"Variable",name:{kind:"Name",value:"jobs"}}},{kind:"Argument",name:{kind:"Name",value:"after"},value:{kind:"Variable",name:{kind:"Name",value:"after"}}},{kind:"Argument",name:{kind:"Name",value:"before"},value:{kind:"Variable",name:{kind:"Name",value:"before"}}},{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"Variable",name:{kind:"Name",value:"first"}}},{kind:"Argument",name:{kind:"Name",value:"last"},value:{kind:"Variable",name:{kind:"Name",value:"last"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"edges"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"node"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"job"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"startedAt"}},{kind:"Field",name:{kind:"Name",value:"finishedAt"}},{kind:"Field",name:{kind:"Name",value:"exitCode"}},{kind:"Field",name:{kind:"Name",value:"stdout"}}]}},{kind:"Field",name:{kind:"Name",value:"cursor"}}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hasNextPage"}},{kind:"Field",name:{kind:"Name",value:"hasPreviousPage"}},{kind:"Field",name:{kind:"Name",value:"startCursor"}},{kind:"Field",name:{kind:"Name",value:"endCursor"}}]}}]}}]}}]},eB={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetJobRunStats"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"jobs"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"jobRunStats"},arguments:[{kind:"Argument",name:{kind:"Name",value:"jobs"},value:{kind:"Variable",name:{kind:"Name",value:"jobs"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"success"}},{kind:"Field",name:{kind:"Name",value:"failed"}},{kind:"Field",name:{kind:"Name",value:"pending"}}]}}]}}]},ej={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListJobs"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"jobs"}}]}}]},eH={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListUsers"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"after"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"before"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"first"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"last"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"users"},arguments:[{kind:"Argument",name:{kind:"Name",value:"after"},value:{kind:"Variable",name:{kind:"Name",value:"after"}}},{kind:"Argument",name:{kind:"Name",value:"before"},value:{kind:"Variable",name:{kind:"Name",value:"before"}}},{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"Variable",name:{kind:"Name",value:"first"}}},{kind:"Argument",name:{kind:"Name",value:"last"},value:{kind:"Variable",name:{kind:"Name",value:"last"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"edges"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"node"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"email"}},{kind:"Field",name:{kind:"Name",value:"isAdmin"}},{kind:"Field",name:{kind:"Name",value:"isOwner"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"active"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"cursor"}}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hasNextPage"}},{kind:"Field",name:{kind:"Name",value:"hasPreviousPage"}},{kind:"Field",name:{kind:"Name",value:"startCursor"}},{kind:"Field",name:{kind:"Name",value:"endCursor"}}]}}]}}]}}]},eW={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"DailyStatsInPastYear"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"users"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"dailyStatsInPastYear"},arguments:[{kind:"Argument",name:{kind:"Name",value:"users"},value:{kind:"Variable",name:{kind:"Name",value:"users"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"start"}},{kind:"Field",name:{kind:"Name",value:"end"}},{kind:"Field",name:{kind:"Name",value:"completions"}},{kind:"Field",name:{kind:"Name",value:"selects"}},{kind:"Field",name:{kind:"Name",value:"views"}}]}}]}}]},eK={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"DailyStats"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"start"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"DateTime"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"end"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"DateTime"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"users"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"languages"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Language"}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"dailyStats"},arguments:[{kind:"Argument",name:{kind:"Name",value:"start"},value:{kind:"Variable",name:{kind:"Name",value:"start"}}},{kind:"Argument",name:{kind:"Name",value:"end"},value:{kind:"Variable",name:{kind:"Name",value:"end"}}},{kind:"Argument",name:{kind:"Name",value:"users"},value:{kind:"Variable",name:{kind:"Name",value:"users"}}},{kind:"Argument",name:{kind:"Name",value:"languages"},value:{kind:"Variable",name:{kind:"Name",value:"languages"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"start"}},{kind:"Field",name:{kind:"Name",value:"end"}},{kind:"Field",name:{kind:"Name",value:"completions"}},{kind:"Field",name:{kind:"Name",value:"selects"}},{kind:"Field",name:{kind:"Name",value:"views"}},{kind:"Field",name:{kind:"Name",value:"language"}}]}}]}}]},eJ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListIntegrations"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"ids"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"kind"}},type:{kind:"NamedType",name:{kind:"Name",value:"IntegrationKind"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"after"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"before"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"first"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"last"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"integrations"},arguments:[{kind:"Argument",name:{kind:"Name",value:"ids"},value:{kind:"Variable",name:{kind:"Name",value:"ids"}}},{kind:"Argument",name:{kind:"Name",value:"kind"},value:{kind:"Variable",name:{kind:"Name",value:"kind"}}},{kind:"Argument",name:{kind:"Name",value:"after"},value:{kind:"Variable",name:{kind:"Name",value:"after"}}},{kind:"Argument",name:{kind:"Name",value:"before"},value:{kind:"Variable",name:{kind:"Name",value:"before"}}},{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"Variable",name:{kind:"Name",value:"first"}}},{kind:"Argument",name:{kind:"Name",value:"last"},value:{kind:"Variable",name:{kind:"Name",value:"last"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"edges"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"node"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"displayName"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"apiBase"}}]}},{kind:"Field",name:{kind:"Name",value:"cursor"}}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hasNextPage"}},{kind:"Field",name:{kind:"Name",value:"hasPreviousPage"}},{kind:"Field",name:{kind:"Name",value:"startCursor"}},{kind:"Field",name:{kind:"Name",value:"endCursor"}}]}}]}}]}}]},eY={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListIntegratedRepositories"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"ids"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"kind"}},type:{kind:"NamedType",name:{kind:"Name",value:"IntegrationKind"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"active"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"after"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"before"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"first"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"last"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"integratedRepositories"},arguments:[{kind:"Argument",name:{kind:"Name",value:"ids"},value:{kind:"Variable",name:{kind:"Name",value:"ids"}}},{kind:"Argument",name:{kind:"Name",value:"kind"},value:{kind:"Variable",name:{kind:"Name",value:"kind"}}},{kind:"Argument",name:{kind:"Name",value:"active"},value:{kind:"Variable",name:{kind:"Name",value:"active"}}},{kind:"Argument",name:{kind:"Name",value:"after"},value:{kind:"Variable",name:{kind:"Name",value:"after"}}},{kind:"Argument",name:{kind:"Name",value:"before"},value:{kind:"Variable",name:{kind:"Name",value:"before"}}},{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"Variable",name:{kind:"Name",value:"first"}}},{kind:"Argument",name:{kind:"Name",value:"last"},value:{kind:"Variable",name:{kind:"Name",value:"last"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"edges"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"node"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"displayName"}},{kind:"Field",name:{kind:"Name",value:"gitUrl"}},{kind:"Field",name:{kind:"Name",value:"active"}},{kind:"Field",name:{kind:"Name",value:"sourceId"}},{kind:"Field",name:{kind:"Name",value:"jobInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"lastJobRun"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"job"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"finishedAt"}},{kind:"Field",name:{kind:"Name",value:"startedAt"}},{kind:"Field",name:{kind:"Name",value:"exitCode"}}]}},{kind:"Field",name:{kind:"Name",value:"command"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"cursor"}}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hasNextPage"}},{kind:"Field",name:{kind:"Name",value:"hasPreviousPage"}},{kind:"Field",name:{kind:"Name",value:"startCursor"}},{kind:"Field",name:{kind:"Name",value:"endCursor"}}]}}]}}]}}]},ez={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"RepositoryList"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"repositoryList"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"kind"}},{kind:"Field",name:{kind:"Name",value:"gitUrl"}},{kind:"Field",name:{kind:"Name",value:"refs"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"commit"}}]}}]}}]}}]},eZ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"RepositorySearch"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"kind"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"RepositoryKind"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"rev"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"pattern"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"repositorySearch"},arguments:[{kind:"Argument",name:{kind:"Name",value:"kind"},value:{kind:"Variable",name:{kind:"Name",value:"kind"}}},{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"rev"},value:{kind:"Variable",name:{kind:"Name",value:"rev"}}},{kind:"Argument",name:{kind:"Name",value:"pattern"},value:{kind:"Variable",name:{kind:"Name",value:"pattern"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"path"}},{kind:"Field",name:{kind:"Name",value:"indices"}}]}}]}}]},eQ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ContextInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"contextInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sources"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"sourceKind"}},{kind:"Field",name:{kind:"Name",value:"sourceId"}},{kind:"Field",name:{kind:"Name",value:"sourceName"}}]}}]}}]}}]},eX={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"UserGroups"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"userGroups"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}},{kind:"Field",name:{kind:"Name",value:"members"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"user"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"email"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}}]}},{kind:"Field",name:{kind:"Name",value:"isGroupAdmin"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}}]}}]}}]}}]},e$={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"sourceIdAccessPolicies"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sourceId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sourceIdAccessPolicies"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sourceId"},value:{kind:"Variable",name:{kind:"Name",value:"sourceId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sourceId"}},{kind:"Field",name:{kind:"Name",value:"read"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}]},e0={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ListThreadMessages"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"threadId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"after"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"before"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"first"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"last"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"threadMessages"},arguments:[{kind:"Argument",name:{kind:"Name",value:"threadId"},value:{kind:"Variable",name:{kind:"Name",value:"threadId"}}},{kind:"Argument",name:{kind:"Name",value:"after"},value:{kind:"Variable",name:{kind:"Name",value:"after"}}},{kind:"Argument",name:{kind:"Name",value:"before"},value:{kind:"Variable",name:{kind:"Name",value:"before"}}},{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"Variable",name:{kind:"Name",value:"first"}}},{kind:"Argument",name:{kind:"Name",value:"last"},value:{kind:"Variable",name:{kind:"Name",value:"last"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"edges"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"node"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"threadId"}},{kind:"Field",name:{kind:"Name",value:"codeSourceId"}},{kind:"Field",name:{kind:"Name",value:"role"}},{kind:"Field",name:{kind:"Name",value:"content"}},{kind:"Field",name:{kind:"Name",value:"attachment"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"gitUrl"}},{kind:"Field",name:{kind:"Name",value:"commit"}},{kind:"Field",name:{kind:"Name",value:"filepath"}},{kind:"Field",name:{kind:"Name",value:"language"}},{kind:"Field",name:{kind:"Name",value:"content"}},{kind:"Field",name:{kind:"Name",value:"startLine"}}]}},{kind:"Field",name:{kind:"Name",value:"clientCode"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"filepath"}},{kind:"Field",name:{kind:"Name",value:"content"}},{kind:"Field",name:{kind:"Name",value:"startLine"}}]}},{kind:"Field",name:{kind:"Name",value:"doc"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"MessageAttachmentWebDoc"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"link"}},{kind:"Field",name:{kind:"Name",value:"content"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"MessageAttachmentIssueDoc"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"link"}},{kind:"Field",name:{kind:"Name",value:"author"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"email"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"body"}},{kind:"Field",name:{kind:"Name",value:"closed"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"MessageAttachmentPullDoc"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"link"}},{kind:"Field",name:{kind:"Name",value:"author"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"email"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"body"}},{kind:"Field",name:{kind:"Name",value:"merged"}}]}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"cursor"}}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hasNextPage"}},{kind:"Field",name:{kind:"Name",value:"hasPreviousPage"}},{kind:"Field",name:{kind:"Name",value:"startCursor"}},{kind:"Field",name:{kind:"Name",value:"endCursor"}}]}}]}}]}}]},e1={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"SetThreadPersisted"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"threadId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"setThreadPersisted"},arguments:[{kind:"Argument",name:{kind:"Name",value:"threadId"},value:{kind:"Variable",name:{kind:"Name",value:"threadId"}}}]}]}}]},e8={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"Notifications"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"notifications"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"content"}},{kind:"Field",name:{kind:"Name",value:"read"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}}]}}]}}]},e6={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"RepositorySourceList"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"repositoryList"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"kind"}},{kind:"Field",name:{kind:"Name",value:"gitUrl"}},{kind:"Field",name:{kind:"Name",value:"sourceId"}},{kind:"Field",name:{kind:"Name",value:"sourceName"}},{kind:"Field",name:{kind:"Name",value:"sourceKind"}}]}}]}}]}},57288:function(e,n,i){i.d(n,{XX:function(){return L},xV:function(){return p},cn:function(){return F},VU:function(){return R},gw:function(){return V},Ch:function(){return y},nO:function(){return T},AV:function(){return A},L5:function(){return C},Uw:function(){return P},b:function(){return v},QZ:function(){return O},OV:function(){return I},tf:function(){return h},G8:function(){return N},i8:function(){return c},S_:function(){return D},wO:function(){return r},_q:function(){return s},x0:function(){return g},UA:function(){return S}});var a=i(37061),d=i(1853),t=i(74630),l=i(56575),m=i(48817),k=i(52807),u=i(18500),o=i(74038);let r=e=>[u.ri.Git,u.ri.Github,u.ri.Gitlab].includes(e),s=e=>[u.ri.Doc,u.ri.Web].includes(e),v=(e,n)=>{let i;if(!(null==n?void 0:n.length))return[];let a=[];for(;i=o.z.exec(e);){let e=i[1],d=null==n?void 0:n.find(n=>n.sourceId===e);d&&a.push({id:e,label:d.sourceName,kind:d.sourceKind})}return a},N=e=>{let n=[],i=[],a=!1;for(let d of e){let{kind:e,id:t}=d;r(e)?i.push(t):e===u.ri.Web?a=!0:n.push(t)}return{searchPublic:a,docSourceIds:(0,k.Z)(n),codeSourceIds:(0,k.Z)(i)}};function c(e,n,i){var a;let d=null!==(a=n.split("\n")[0])&&void 0!==a?a:"",t=d.replace(o.z,n=>{var i;let a=n.slice(9,-2),d=e.find(e=>e.sourceId===a);return null!==(i=null==d?void 0:d.sourceName)&&void 0!==i?i:""}).trim(),l=t;return(null==i?void 0:i.maxLength)&&(l=l.slice(0,null==i?void 0:i.maxLength)),l}function p(e){let n=!1,i=!1;return e&&e.forEach(e=>{r(e.sourceKind)?n=!0:s(e.sourceKind)&&(i=!0)}),{hasCodebaseSource:n,hasDocumentSource:i}}function S(e){let n;try{n=new URL(e)}catch(i){n=new URL(e,"file://")}let i=n.pathname.split("/").pop()||"",a=i.includes(".")?".".concat(i.split(".").pop()):"",d=a.startsWith(".ipynb"),t=n.hash?n.hash.substring(1):"",l=function(e){if(e)try{var n;let i=new URLSearchParams(e),a=null===(n=i.get("cell"))||void 0===n?void 0:n.toString();if(!a)return;let d=parseInt(a,10);if(isNaN(d))return;return{handle:d}}catch(e){return}}(t);return d&&l?"".concat(i," \xb7 Cell ").concat((l.handle||0)+1):i}var b=i(81696),f=i.n(b);function y(e,n){let i=f()(n);if(!i)return;let a=e.filter(e=>{let n=f()(e.url);return n.name===i.name});if(0!==a.length)return a.sort((e,n)=>e.url.localeCompare(n.url))[0]}function F(){for(var e=arguments.length,n=Array(e),i=0;i!0,V=e=>new Promise(n=>{setTimeout(()=>n(null),e)});function T(e){if(!e)return"";let{start:n,end:i}=e;return(0,t.Z)(n)||isNaN(n)?"":n===i?"L".concat(n):(0,d.Z)([n,i].map(e=>"number"!=typeof e||isNaN(e)?void 0:"L".concat(e))).join("-")}function A(e){if(!e)return"";if("number"==typeof e)return"L".concat(e);if("object"==typeof e&&"line"in e&&"number"==typeof e.line)return"L".concat(e.line);if("start"in e){let n=e.start;if("number"==typeof n){let i=e.end;return"L".concat(n,"-L").concat(i)}if("object"==typeof n&&"line"in n&&"number"==typeof n.line){let i=e.end;return"L".concat(n.line,"-L").concat(i.line)}}return""}function I(e){if(!(null==e?void 0:e.startLine))return;let n=e.startLine,i=e.content.split("\n").length;return{start:n,end:n+i-1}}function h(e){let n=I(e);return T(n)}function C(e){switch(e.__typename){case"MessageAttachmentWebDoc":return e.content;case"MessageAttachmentIssueDoc":case"MessageAttachmentPullDoc":return e.body}return""}function O(e){switch(e){case"explain":return"Explain the selected code:";case"fix":return"Identify and fix potential bugs in the selected code:";case"generate-docs":return"Generate documentation for the selected code:";case"generate-tests":return"Generate a unit test for the selected code:"}}function R(e){var n,i;return{kind:"file",content:e.content,range:(n=e.range)?"number"==typeof n.start?n:{start:n.start.line,end:n.end.line}:void 0,..."uri"===(i=e.filepath).kind?{filepath:i.uri,git_url:""}:{filepath:i.filepath,git_url:i.gitUrl}}}function P(e){return{filepath:e.git_url.length>1&&!e.filepath.includes(":")?{kind:"git",filepath:e.filepath,gitUrl:e.git_url}:{kind:"uri",uri:e.filepath},location:e.range}}function L(e,n){let i=new URL(e);i.pathname="/files";let a=new URLSearchParams;return a.append("redirect_filepath",n.filepath),a.append("redirect_git_url",n.git_url),n.commit&&a.append("redirect_rev",n.commit),i.search=a.toString(),i.hash=T(n.range),i.toString()}}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/7463-0343a573d962ff49.js b/ee/tabby-webserver/ui/_next/static/chunks/7463-0343a573d962ff49.js new file mode 100644 index 000000000000..16ac65e1fcf8 --- /dev/null +++ b/ee/tabby-webserver/ui/_next/static/chunks/7463-0343a573d962ff49.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7463],{54491:function(n,r,t){t.d(r,{u:function(){return e}});function e(n,[r,t]){return Math.min(t,Math.max(r,n))}},99807:function(n,r,t){t.d(r,{T:function(){return i},f:function(){return c}});var e=t(65122),u=t(3546),o=t(72205);let i=(0,u.forwardRef)((n,r)=>(0,u.createElement)(o.WV.span,(0,e.Z)({},n,{ref:r,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...n.style}}))),c=i},64143:function(n,r){r.Z=function(n,r){for(var t=-1,e=null==n?0:n.length,u=Array(e);++t0&&e(a)?t>1?n(a,t-1,e,u,i):(0,o.Z)(i,a):u||(i[i.length]=a)}return i},v=function(n,r,t){switch(t.length){case 0:return n.call(r);case 1:return n.call(r,t[0]);case 2:return n.call(r,t[0],t[1]);case 3:return n.call(r,t[0],t[1],t[2])}return n.apply(r,t)},p=Math.max,s=t(27015),h=t(11403),y=s.Z?function(n,r){return(0,s.Z)(n,"toString",{configurable:!0,enumerable:!1,value:function(){return r},writable:!0})}:h.Z,d=Date.now,b=(e=0,u=0,function(){var n=d(),r=16-(n-u);if(u=n,r>0){if(++e>=800)return arguments[0]}else e=0;return y.apply(void 0,arguments)}),g=function(n){var r;return b((r=p((r=void 0,n.length-1),0),function(){for(var t,e=arguments,u=-1,o=p(e.length-r,0),i=Array(o);++u-1&&n%1==0&&n-1&&n%1==0&&n<=9007199254740991}},55357:function(n,r,t){var e=t(17996),u=t(96786);r.Z=function(n){return"symbol"==typeof n||(0,u.Z)(n)&&"[object Symbol]"==(0,e.Z)(n)}},82030:function(n,r,t){t.d(r,{Z:function(){return o}});var e=t(94219),u=t(79204),o=(0,t(43285).Z)(function(n,r){return null==n?{}:(0,e.Z)(n,r,function(r,t){return(0,u.Z)(n,t)})})},26165:function(n,r,t){var e=t(18216),u=t(84639),o=t(55357),i=0/0,c=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,a=/^0o[0-7]+$/i,l=parseInt;r.Z=function(n){if("number"==typeof n)return n;if((0,o.Z)(n))return i;if((0,u.Z)(n)){var r="function"==typeof n.valueOf?n.valueOf():n;n=(0,u.Z)(r)?r+"":r}if("string"!=typeof n)return 0===n?n:+n;n=(0,e.Z)(n);var t=f.test(n);return t||a.test(n)?l(n.slice(2),t?2:8):c.test(n)?i:+n}},53294:function(n,r,t){var e=t(4109);r.Z=function(n){return null==n?"":(0,e.Z)(n)}}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/5223-c8317d6500a88348.js b/ee/tabby-webserver/ui/_next/static/chunks/803-8eeb5019917e9716.js similarity index 95% rename from ee/tabby-webserver/ui/_next/static/chunks/5223-c8317d6500a88348.js rename to ee/tabby-webserver/ui/_next/static/chunks/803-8eeb5019917e9716.js index 51a7eed44f0c..975c404f73dd 100644 --- a/ee/tabby-webserver/ui/_next/static/chunks/5223-c8317d6500a88348.js +++ b/ee/tabby-webserver/ui/_next/static/chunks/803-8eeb5019917e9716.js @@ -1,4 +1,4 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5223],{14375:function(e,t,n){n.d(t,{j:function(){return o}});let r=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,a=function(){for(var e=arguments.length,t=Array(e),n=0;nn=>{var o;if((null==t?void 0:t.variants)==null)return a(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:i,defaultVariants:l}=t,s=Object.keys(i).map(e=>{let t=null==n?void 0:n[e],a=null==l?void 0:l[e];if(null===t)return null;let o=r(t)||r(a);return i[e][o]}),u=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{}),d=null==t?void 0:null===(o=t.compoundVariants)||void 0===o?void 0:o.reduce((e,t)=>{let{class:n,className:r,...a}=t;return Object.entries(a).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...l,...u}[t]):({...l,...u})[t]===n})?[...e,n,r]:e},[]);return a(e,s,d,null==n?void 0:n.class,null==n?void 0:n.className)}},35167:function(e,t,n){n.d(t,{Z:function(){return a}});var r=n(21644);/** +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[803],{14375:function(e,t,n){n.d(t,{j:function(){return o}});let r=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,a=function(){for(var e=arguments.length,t=Array(e),n=0;nn=>{var o;if((null==t?void 0:t.variants)==null)return a(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:i,defaultVariants:l}=t,s=Object.keys(i).map(e=>{let t=null==n?void 0:n[e],a=null==l?void 0:l[e];if(null===t)return null;let o=r(t)||r(a);return i[e][o]}),u=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{}),d=null==t?void 0:null===(o=t.compoundVariants)||void 0===o?void 0:o.reduce((e,t)=>{let{class:n,className:r,...a}=t;return Object.entries(a).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...l,...u}[t]):({...l,...u})[t]===n})?[...e,n,r]:e},[]);return a(e,s,d,null==n?void 0:n.class,null==n?void 0:n.className)}},35167:function(e,t,n){n.d(t,{Z:function(){return a}});var r=n(21644);/** * @license lucide-react v0.365.0 - ISC * * This source code is licensed under the ISC license. @@ -8,7 +8,7 @@ * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */let a=(0,r.Z)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},94070:function(e,t,n){n.d(t,{_W:function(){return tx}});var r,a,o,i,l=n(3546);let s={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function u(e){return (t={})=>{let n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}let d={date:u({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:u({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:u({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},c={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function f(e){return(t,n)=>{let r;let a=n?.context?String(n.context):"standalone";if("formatting"===a&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,a=n?.width?String(n.width):t;r=e.formattingValues[a]||e.formattingValues[t]}else{let t=e.defaultWidth,a=n?.width?String(n.width):e.defaultWidth;r=e.values[a]||e.values[t]}let o=e.argumentCallback?e.argumentCallback(t):t;return r[o]}}let h={ordinalNumber:(e,t)=>{let n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:f({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:f({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:f({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:f({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:f({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};function m(e){return(t,n={})=>{let r;let a=n.width,o=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;let l=i[0],s=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(s)?function(e,t){for(let n=0;ne.test(l)):function(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}(s,e=>e.test(l));r=e.valueCallback?e.valueCallback(u):u,r=n.valueCallback?n.valueCallback(r):r;let d=t.slice(l.length);return{value:r,rest:d}}}let p={ordinalNumber:(r={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},(e,t={})=>{let n=e.match(r.matchPattern);if(!n)return null;let a=n[0],o=e.match(r.parsePattern);if(!o)return null;let i=r.valueCallback?r.valueCallback(o[0]):o[0];i=t.valueCallback?t.valueCallback(i):i;let l=e.slice(a.length);return{value:i,rest:l}}),era:m({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:m({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:m({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:m({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:m({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},v={code:"en-US",formatDistance:(e,t,n)=>{let r;let a=s[e];return(r="string"==typeof a?a:1===t?a.one:a.other.replace("{{count}}",t.toString()),n?.addSuffix)?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},formatLong:d,formatRelative:(e,t,n,r)=>c[e],localize:h,match:p,options:{weekStartsOn:0,firstWeekContainsDate:1}},y={};var g=n(25707);function b(e){let t=(0,g.Q)(e);return t.setHours(0,0,0,0),t}function w(e){let t=(0,g.Q)(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function x(e,t){let n=b(e),r=b(t),a=+n-w(n),o=+r-w(r);return Math.round((a-o)/864e5)}function M(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function k(e){let t=(0,g.Q)(e),n=M(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}function N(e,t){let n=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??y.weekStartsOn??y.locale?.options?.weekStartsOn??0,r=(0,g.Q)(e),a=r.getDay();return r.setDate(r.getDate()-((a=a.getTime()?n+1:t.getTime()>=i.getTime()?n:n-1}function _(e){let t=(0,g.Q)(e),n=+D(t)-+function(e){let t=j(e),n=M(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),D(n)}(t);return Math.round(n/6048e5)+1}function P(e,t){let n=(0,g.Q)(e),r=n.getFullYear(),a=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??y.firstWeekContainsDate??y.locale?.options?.firstWeekContainsDate??1,o=M(e,0);o.setFullYear(r+1,0,a),o.setHours(0,0,0,0);let i=N(o,t),l=M(e,0);l.setFullYear(r,0,a),l.setHours(0,0,0,0);let s=N(l,t);return n.getTime()>=i.getTime()?r+1:n.getTime()>=s.getTime()?r:r-1}function C(e,t){let n=(0,g.Q)(e),r=+N(n,t)-+function(e,t){let n=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??y.firstWeekContainsDate??y.locale?.options?.firstWeekContainsDate??1,r=P(e,t),a=M(e,0);a.setFullYear(r,0,n),a.setHours(0,0,0,0);let o=N(a,t);return o}(n,t);return Math.round(r/6048e5)+1}function S(e,t){let n=Math.abs(e).toString().padStart(t,"0");return(e<0?"-":"")+n}let O={y(e,t){let n=e.getFullYear(),r=n>0?n:1-n;return S("yy"===t?r%100:r,t.length)},M(e,t){let n=e.getMonth();return"M"===t?String(n+1):S(n+1,2)},d:(e,t)=>S(e.getDate(),t.length),a(e,t){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>S(e.getHours()%12||12,t.length),H:(e,t)=>S(e.getHours(),t.length),m:(e,t)=>S(e.getMinutes(),t.length),s:(e,t)=>S(e.getSeconds(),t.length),S(e,t){let n=t.length,r=e.getMilliseconds();return S(Math.trunc(r*Math.pow(10,n-3)),t.length)}},W={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},E={G:function(e,t,n){let r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){let t=e.getFullYear(),r=t>0?t:1-t;return n.ordinalNumber(r,{unit:"year"})}return O.y(e,t)},Y:function(e,t,n,r){let a=P(e,r),o=a>0?a:1-a;if("YY"===t){let e=o%100;return S(e,2)}return"Yo"===t?n.ordinalNumber(o,{unit:"year"}):S(o,t.length)},R:function(e,t){let n=j(e);return S(n,t.length)},u:function(e,t){let n=e.getFullYear();return S(n,t.length)},Q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return S(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return S(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){let r=e.getMonth();switch(t){case"M":case"MM":return O.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){let r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return S(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){let a=C(e,r);return"wo"===t?n.ordinalNumber(a,{unit:"week"}):S(a,t.length)},I:function(e,t,n){let r=_(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):S(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):O.d(e,t)},D:function(e,t,n){let r=function(e){let t=(0,g.Q)(e),n=x(t,k(t));return n+1}(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):S(r,t.length)},E:function(e,t,n){let r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){let a=e.getDay(),o=(a-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return S(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){let a=e.getDay(),o=(a-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return S(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,n){let r=e.getDay(),a=0===r?7:r;switch(t){case"i":return String(a);case"ii":return S(a,t.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){let r=e.getHours(),a=r/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(a,{width:"narrow",context:"formatting"});default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(e,t,n){let r;let a=e.getHours();switch(r=12===a?W.noon:0===a?W.midnight:a/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){let r;let a=e.getHours();switch(r=a>=17?W.evening:a>=12?W.afternoon:a>=4?W.morning:W.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return O.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):O.H(e,t)},K:function(e,t,n){let r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):S(r,t.length)},k:function(e,t,n){let r=e.getHours();return(0===r&&(r=24),"ko"===t)?n.ordinalNumber(r,{unit:"hour"}):S(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):O.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):O.s(e,t)},S:function(e,t){return O.S(e,t)},X:function(e,t,n){let r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return T(r);case"XXXX":case"XX":return Y(r);default:return Y(r,":")}},x:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"x":return T(r);case"xxxx":case"xx":return Y(r);default:return Y(r,":")}},O:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+F(r,":");default:return"GMT"+Y(r,":")}},z:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+F(r,":");default:return"GMT"+Y(r,":")}},t:function(e,t,n){let r=Math.trunc(e.getTime()/1e3);return S(r,t.length)},T:function(e,t,n){let r=e.getTime();return S(r,t.length)}};function F(e,t=""){let n=e>0?"-":"+",r=Math.abs(e),a=Math.trunc(r/60),o=r%60;return 0===o?n+String(a):n+String(a)+t+S(o,2)}function T(e,t){if(e%60==0){let t=e>0?"-":"+";return t+S(Math.abs(e)/60,2)}return Y(e,t)}function Y(e,t=""){let n=Math.abs(e),r=S(Math.trunc(n/60),2),a=S(n%60,2);return(e>0?"-":"+")+r+t+a}let L=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},Q=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},A={p:Q,P:(e,t)=>{let n;let r=e.match(/(P+)(p+)?/)||[],a=r[1],o=r[2];if(!o)return L(e,t);switch(a){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",L(a,t)).replace("{{time}}",Q(o,t))}},H=/^D+$/,I=/^Y+$/,B=["D","DD","YY","YYYY"];function q(e){return e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}let R=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,z=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Z=/^'([^]*?)'?$/,G=/''/g,X=/[a-zA-Z]/;function $(e,t,n){let r=n?.locale??y.locale??v,a=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??y.firstWeekContainsDate??y.locale?.options?.firstWeekContainsDate??1,o=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??y.weekStartsOn??y.locale?.options?.weekStartsOn??0,i=(0,g.Q)(e);if(!function(e){if(!q(e)&&"number"!=typeof e)return!1;let t=(0,g.Q)(e);return!isNaN(Number(t))}(i))throw RangeError("Invalid time value");let l=t.match(z).map(e=>{let t=e[0];if("p"===t||"P"===t){let n=A[t];return n(e,r.formatLong)}return e}).join("").match(R).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t)return{isToken:!1,value:function(e){let t=e.match(Z);return t?t[1].replace(G,"'"):e}(e)};if(E[t])return{isToken:!0,value:e};if(t.match(X))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});r.localize.preprocessor&&(l=r.localize.preprocessor(i,l));let s={firstWeekContainsDate:a,weekStartsOn:o,locale:r};return l.map(a=>{if(!a.isToken)return a.value;let o=a.value;(!n?.useAdditionalWeekYearTokens&&I.test(o)||!n?.useAdditionalDayOfYearTokens&&H.test(o))&&function(e,t,n){let r=function(e,t,n){let r="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,n);if(console.warn(r),B.includes(e))throw RangeError(r)}(o,t,String(e));let l=E[o[0]];return l(i,o,r.localize,s)}).join("")}function U(e){let t=(0,g.Q)(e);return t.setDate(1),t.setHours(0,0,0,0),t}function V(e){let t=(0,g.Q)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function J(e,t){let n=(0,g.Q)(e),r=n.getFullYear(),a=n.getDate(),o=M(e,0);o.setFullYear(r,t,15),o.setHours(0,0,0,0);let i=function(e){let t=(0,g.Q)(e),n=t.getFullYear(),r=t.getMonth(),a=M(e,0);return a.setFullYear(n,r+1,0),a.setHours(0,0,0,0),a.getDate()}(o);return n.setMonth(t,Math.min(a,i)),n}function K(e,t){let n=(0,g.Q)(e);return isNaN(+n)?M(e,NaN):(n.setFullYear(t),n)}function ee(e,t){let n=(0,g.Q)(e),r=(0,g.Q)(t),a=n.getFullYear()-r.getFullYear(),o=n.getMonth()-r.getMonth();return 12*a+o}function et(e,t){let n=(0,g.Q)(e);if(isNaN(t))return M(e,NaN);if(!t)return n;let r=n.getDate(),a=M(e,n.getTime());a.setMonth(n.getMonth()+t+1,0);let o=a.getDate();return r>=o?a:(n.setFullYear(a.getFullYear(),a.getMonth(),r),n)}function en(e,t){let n=(0,g.Q)(e),r=(0,g.Q)(t);return n.getFullYear()===r.getFullYear()&&n.getMonth()===r.getMonth()}function er(e,t){let n=(0,g.Q)(e),r=(0,g.Q)(t);return+n<+r}function ea(e,t){let n=(0,g.Q)(e);return isNaN(t)?M(e,NaN):(t&&n.setDate(n.getDate()+t),n)}function eo(e,t){let n=b(e),r=b(t);return+n==+r}function ei(e,t){let n=(0,g.Q)(e),r=(0,g.Q)(t);return n.getTime()>r.getTime()}function el(e,t){return ea(e,7*t)}function es(e,t){return et(e,12*t)}function eu(e,t){let n=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??y.weekStartsOn??y.locale?.options?.weekStartsOn??0,r=(0,g.Q)(e),a=r.getDay();return r.setDate(r.getDate()+((aee(s,i)&&(i=et(s,-1*((void 0===d?1:d)-1))),u&&0>ee(i,u)&&(i=u),c=U(i),f=t.month,m=(h=(0,l.useState)(c))[0],p=[void 0===f?m:f,h[1]])[0],y=p[1],[v,function(e){if(!t.disableNavigation){var n,r=U(e);y(r),null===(n=t.onMonthChange)||void 0===n||n.call(t,r)}}]),w=b[0],x=b[1],M=function(e,t){for(var n=t.reverseMonths,r=t.numberOfMonths,a=U(e),o=ee(U(et(a,r)),a),i=[],l=0;l=ee(i,n)))return et(i,-o)}}(w,g),D=function(e){return M.some(function(t){return en(e,t)})};return ep.jsx(eS.Provider,{value:{currentMonth:w,displayMonths:M,goToMonth:x,goToDate:function(e,t){D(e)||(t&&er(e,t)?x(et(e,1+-1*g.numberOfMonths)):x(e))},previousMonth:N,nextMonth:k,isDateDisplayed:D},children:e.children})}function eW(){var e=(0,l.useContext)(eS);if(!e)throw Error("useNavigation must be used within a NavigationProvider");return e}function eE(e){var t,n=eN(),r=n.classNames,a=n.styles,o=n.components,i=eW().goToMonth,l=function(t){i(et(t,e.displayIndex?-e.displayIndex:0))},s=null!==(t=null==o?void 0:o.CaptionLabel)&&void 0!==t?t:eD,u=ep.jsx(s,{id:e.id,displayMonth:e.displayMonth});return ep.jsxs("div",{className:r.caption_dropdowns,style:a.caption_dropdowns,children:[ep.jsx("div",{className:r.vhidden,children:u}),ep.jsx(eP,{onChange:l,displayMonth:e.displayMonth}),ep.jsx(eC,{onChange:l,displayMonth:e.displayMonth})]})}function eF(e){return ep.jsx("svg",ec({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:ep.jsx("path",{d:"M69.490332,3.34314575 C72.6145263,0.218951416 77.6798462,0.218951416 80.8040405,3.34314575 C83.8617626,6.40086786 83.9268205,11.3179931 80.9992143,14.4548388 L80.8040405,14.6568542 L35.461,60 L80.8040405,105.343146 C83.8617626,108.400868 83.9268205,113.317993 80.9992143,116.454839 L80.8040405,116.656854 C77.7463184,119.714576 72.8291931,119.779634 69.6923475,116.852028 L69.490332,116.656854 L18.490332,65.6568542 C15.4326099,62.5991321 15.367552,57.6820069 18.2951583,54.5451612 L18.490332,54.3431458 L69.490332,3.34314575 Z",fill:"currentColor",fillRule:"nonzero"})}))}function eT(e){return ep.jsx("svg",ec({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:ep.jsx("path",{d:"M49.8040405,3.34314575 C46.6798462,0.218951416 41.6145263,0.218951416 38.490332,3.34314575 C35.4326099,6.40086786 35.367552,11.3179931 38.2951583,14.4548388 L38.490332,14.6568542 L83.8333725,60 L38.490332,105.343146 C35.4326099,108.400868 35.367552,113.317993 38.2951583,116.454839 L38.490332,116.656854 C41.5480541,119.714576 46.4651794,119.779634 49.602025,116.852028 L49.8040405,116.656854 L100.804041,65.6568542 C103.861763,62.5991321 103.926821,57.6820069 100.999214,54.5451612 L100.804041,54.3431458 L49.8040405,3.34314575 Z",fill:"currentColor"})}))}var eY=(0,l.forwardRef)(function(e,t){var n=eN(),r=n.classNames,a=n.styles,o=[r.button_reset,r.button];e.className&&o.push(e.className);var i=o.join(" "),l=ec(ec({},a.button_reset),a.button);return e.style&&Object.assign(l,e.style),ep.jsx("button",ec({},e,{ref:t,type:"button",className:i,style:l}))});function eL(e){var t,n,r=eN(),a=r.dir,o=r.locale,i=r.classNames,l=r.styles,s=r.labels,u=s.labelPrevious,d=s.labelNext,c=r.components;if(!e.nextMonth&&!e.previousMonth)return ep.jsx(ep.Fragment,{});var f=u(e.previousMonth,{locale:o}),h=[i.nav_button,i.nav_button_previous].join(" "),m=d(e.nextMonth,{locale:o}),p=[i.nav_button,i.nav_button_next].join(" "),v=null!==(t=null==c?void 0:c.IconRight)&&void 0!==t?t:eT,y=null!==(n=null==c?void 0:c.IconLeft)&&void 0!==n?n:eF;return ep.jsxs("div",{className:i.nav,style:l.nav,children:[!e.hidePrevious&&ep.jsx(eY,{name:"previous-month","aria-label":f,className:h,style:l.nav_button_previous,disabled:!e.previousMonth,onClick:e.onPreviousClick,children:"rtl"===a?ep.jsx(v,{className:i.nav_icon,style:l.nav_icon}):ep.jsx(y,{className:i.nav_icon,style:l.nav_icon})}),!e.hideNext&&ep.jsx(eY,{name:"next-month","aria-label":m,className:p,style:l.nav_button_next,disabled:!e.nextMonth,onClick:e.onNextClick,children:"rtl"===a?ep.jsx(y,{className:i.nav_icon,style:l.nav_icon}):ep.jsx(v,{className:i.nav_icon,style:l.nav_icon})})]})}function eQ(e){var t=eN().numberOfMonths,n=eW(),r=n.previousMonth,a=n.nextMonth,o=n.goToMonth,i=n.displayMonths,l=i.findIndex(function(t){return en(e.displayMonth,t)}),s=0===l,u=l===i.length-1;return ep.jsx(eL,{displayMonth:e.displayMonth,hideNext:t>1&&(s||!u),hidePrevious:t>1&&(u||!s),nextMonth:a,previousMonth:r,onPreviousClick:function(){r&&o(r)},onNextClick:function(){a&&o(a)}})}function eA(e){var t,n,r=eN(),a=r.classNames,o=r.disableNavigation,i=r.styles,l=r.captionLayout,s=r.components,u=null!==(t=null==s?void 0:s.CaptionLabel)&&void 0!==t?t:eD;return n=o?ep.jsx(u,{id:e.id,displayMonth:e.displayMonth}):"dropdown"===l?ep.jsx(eE,{displayMonth:e.displayMonth,id:e.id}):"dropdown-buttons"===l?ep.jsxs(ep.Fragment,{children:[ep.jsx(eE,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id}),ep.jsx(eQ,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id})]}):ep.jsxs(ep.Fragment,{children:[ep.jsx(u,{id:e.id,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),ep.jsx(eQ,{displayMonth:e.displayMonth,id:e.id})]}),ep.jsx("div",{className:a.caption,style:i.caption,children:n})}function eH(e){var t=eN(),n=t.footer,r=t.styles,a=t.classNames.tfoot;return n?ep.jsx("tfoot",{className:a,style:r.tfoot,children:ep.jsx("tr",{children:ep.jsx("td",{colSpan:8,children:n})})}):ep.jsx(ep.Fragment,{})}function eI(){var e=eN(),t=e.classNames,n=e.styles,r=e.showWeekNumber,a=e.locale,o=e.weekStartsOn,i=e.ISOWeek,l=e.formatters.formatWeekdayName,s=e.labels.labelWeekday,u=function(e,t,n){for(var r=n?D(new Date):N(new Date,{locale:e,weekStartsOn:t}),a=[],o=0;o<7;o++){var i=ea(r,o);a.push(i)}return a}(a,o,i);return ep.jsxs("tr",{style:n.head_row,className:t.head_row,children:[r&&ep.jsx("td",{style:n.head_cell,className:t.head_cell}),u.map(function(e,r){return ep.jsx("th",{scope:"col",className:t.head_cell,style:n.head_cell,"aria-label":s(e,{locale:a}),children:l(e,{locale:a})},r)})]})}function eB(){var e,t=eN(),n=t.classNames,r=t.styles,a=t.components,o=null!==(e=null==a?void 0:a.HeadRow)&&void 0!==e?e:eI;return ep.jsx("thead",{style:r.head,className:n.head,children:ep.jsx(o,{})})}function eq(e){var t=eN(),n=t.locale,r=t.formatters.formatDay;return ep.jsx(ep.Fragment,{children:r(e.date,{locale:n})})}var eR=(0,l.createContext)(void 0);function ez(e){return ev(e.initialProps)?ep.jsx(eZ,{initialProps:e.initialProps,children:e.children}):ep.jsx(eR.Provider,{value:{selected:void 0,modifiers:{disabled:[]}},children:e.children})}function eZ(e){var t=e.initialProps,n=e.children,r=t.selected,a=t.min,o=t.max,i={disabled:[]};return r&&i.disabled.push(function(e){var t=o&&r.length>o-1,n=r.some(function(t){return eo(t,e)});return!!(t&&!n)}),ep.jsx(eR.Provider,{value:{selected:r,onDayClick:function(e,n,i){if(null===(l=t.onDayClick)||void 0===l||l.call(t,e,n,i),(!n.selected||!a||(null==r?void 0:r.length)!==a)&&(n.selected||!o||(null==r?void 0:r.length)!==o)){var l,s,u=r?ef([],r,!0):[];if(n.selected){var d=u.findIndex(function(t){return eo(e,t)});u.splice(d,1)}else u.push(e);null===(s=t.onSelect)||void 0===s||s.call(t,u,e,n,i)}},modifiers:i},children:n})}function eG(){var e=(0,l.useContext)(eR);if(!e)throw Error("useSelectMultiple must be used within a SelectMultipleProvider");return e}var eX=(0,l.createContext)(void 0);function e$(e){return ey(e.initialProps)?ep.jsx(eU,{initialProps:e.initialProps,children:e.children}):ep.jsx(eX.Provider,{value:{selected:void 0,modifiers:{range_start:[],range_end:[],range_middle:[],disabled:[]}},children:e.children})}function eU(e){var t=e.initialProps,n=e.children,r=t.selected,a=r||{},o=a.from,i=a.to,l=t.min,s=t.max,u={range_start:[],range_end:[],range_middle:[],disabled:[]};if(o?(u.range_start=[o],i?(u.range_end=[i],eo(o,i)||(u.range_middle=[{after:o,before:i}])):u.range_end=[o]):i&&(u.range_start=[i],u.range_end=[i]),l&&(o&&!i&&u.disabled.push({after:ea(o,-(l-1)),before:ea(o,l-1)}),o&&i&&u.disabled.push({after:o,before:ea(o,l-1)}),!o&&i&&u.disabled.push({after:ea(i,-(l-1)),before:ea(i,l-1)})),s){if(o&&!i&&(u.disabled.push({before:ea(o,-s+1)}),u.disabled.push({after:ea(o,s-1)})),o&&i){var d=s-(x(i,o)+1);u.disabled.push({before:ea(o,-d)}),u.disabled.push({after:ea(i,d)})}!o&&i&&(u.disabled.push({before:ea(i,-s+1)}),u.disabled.push({after:ea(i,s-1)}))}return ep.jsx(eX.Provider,{value:{selected:r,onDayClick:function(e,n,a){null===(s=t.onDayClick)||void 0===s||s.call(t,e,n,a);var o,i,l,s,u,d=(i=(o=r||{}).from,l=o.to,i&&l?eo(l,e)&&eo(i,e)?void 0:eo(l,e)?{from:l,to:void 0}:eo(i,e)?void 0:ei(i,e)?{from:e,to:l}:{from:i,to:e}:l?ei(e,l)?{from:l,to:e}:{from:e,to:l}:i?er(e,i)?{from:e,to:i}:{from:i,to:e}:{from:e,to:void 0});null===(u=t.onSelect)||void 0===u||u.call(t,d,e,n,a)},modifiers:u},children:n})}function eV(){var e=(0,l.useContext)(eX);if(!e)throw Error("useSelectRange must be used within a SelectRangeProvider");return e}function eJ(e){return Array.isArray(e)?ef([],e,!0):void 0!==e?[e]:[]}(a=i||(i={})).Outside="outside",a.Disabled="disabled",a.Selected="selected",a.Hidden="hidden",a.Today="today",a.RangeStart="range_start",a.RangeEnd="range_end",a.RangeMiddle="range_middle";var eK=i.Selected,e0=i.Disabled,e1=i.Hidden,e4=i.Today,e2=i.RangeEnd,e5=i.RangeMiddle,e3=i.RangeStart,e6=i.Outside,e8=(0,l.createContext)(void 0);function e9(e){var t,n,r,a=eN(),o=eG(),i=eV(),l=((t={})[eK]=eJ(a.selected),t[e0]=eJ(a.disabled),t[e1]=eJ(a.hidden),t[e4]=[a.today],t[e2]=[],t[e5]=[],t[e3]=[],t[e6]=[],a.fromDate&&t[e0].push({before:a.fromDate}),a.toDate&&t[e0].push({after:a.toDate}),ev(a)?t[e0]=t[e0].concat(o.modifiers[e0]):ey(a)&&(t[e0]=t[e0].concat(i.modifiers[e0]),t[e3]=i.modifiers[e3],t[e5]=i.modifiers[e5],t[e2]=i.modifiers[e2]),t),s=(n=a.modifiers,r={},Object.entries(n).forEach(function(e){var t=e[0],n=e[1];r[t]=eJ(n)}),r),u=ec(ec({},l),s);return ep.jsx(e8.Provider,{value:u,children:e.children})}function e7(){var e=(0,l.useContext)(e8);if(!e)throw Error("useModifiers must be used within a ModifiersProvider");return e}function te(e,t,n){var r=Object.keys(t).reduce(function(n,r){return t[r].some(function(t){if("boolean"==typeof t)return t;if(q(t))return eo(e,t);if(Array.isArray(t)&&t.every(q))return t.includes(e);if(t&&"object"==typeof t&&"from"in t)return r=t.from,a=t.to,r&&a?(0>x(a,r)&&(r=(n=[a,r])[0],a=n[1]),x(e,r)>=0&&x(a,e)>=0):a?eo(a,e):!!r&&eo(r,e);if(t&&"object"==typeof t&&"dayOfWeek"in t)return t.dayOfWeek.includes(e.getDay());if(t&&"object"==typeof t&&"before"in t&&"after"in t){var n,r,a,o=x(t.before,e),i=x(t.after,e),l=o>0,s=i<0;return ei(t.before,t.after)?s&&l:l||s}return t&&"object"==typeof t&&"after"in t?x(e,t.after)>0:t&&"object"==typeof t&&"before"in t?x(t.before,e)>0:"function"==typeof t&&t(e)})&&n.push(r),n},[]),a={};return r.forEach(function(e){return a[e]=!0}),n&&!en(e,n)&&(a.outside=!0),a}var tt=(0,l.createContext)(void 0);function tn(e){var t=eW(),n=e7(),r=(0,l.useState)(),a=r[0],o=r[1],i=(0,l.useState)(),s=i[0],u=i[1],d=function(e,t){for(var n,r,a=U(e[0]),o=V(e[e.length-1]),i=a;i<=o;){var l=te(i,t);if(!(!l.disabled&&!l.hidden)){i=ea(i,1);continue}if(l.selected)return i;l.today&&!r&&(r=i),n||(n=i),i=ea(i,1)}return r||n}(t.displayMonths,n),c=(null!=a?a:s&&t.isDateDisplayed(s))?s:d,f=function(e){o(e)},h=eN(),m=function(e,r){if(a){var o=function e(t,n){var r=n.moveBy,a=n.direction,o=n.context,i=n.modifiers,l=n.retry,s=void 0===l?{count:0,lastFocused:t}:l,u=o.weekStartsOn,d=o.fromDate,c=o.toDate,f=o.locale,h=({day:ea,week:el,month:et,year:es,startOfWeek:function(e){return o.ISOWeek?D(e):N(e,{locale:f,weekStartsOn:u})},endOfWeek:function(e){return o.ISOWeek?ed(e):eu(e,{locale:f,weekStartsOn:u})}})[r](t,"after"===a?1:-1);if("before"===a&&d){let e;[d,h].forEach(function(t){let n=(0,g.Q)(t);(void 0===e||e{let n=(0,g.Q)(t);(!e||e>n||isNaN(+n))&&(e=n)}),h=e||new Date(NaN)}var m=!0;if(i){var p=te(h,i);m=!p.disabled&&!p.hidden}return m?h:s.count>365?s.lastFocused:e(h,{moveBy:r,direction:a,context:o,modifiers:i,retry:ec(ec({},s),{count:s.count+1})})}(a,{moveBy:e,direction:r,context:h,modifiers:n});eo(a,o)||(t.goToDate(o,a),f(o))}};return ep.jsx(tt.Provider,{value:{focusedDay:a,focusTarget:c,blur:function(){u(a),o(void 0)},focus:f,focusDayAfter:function(){return m("day","after")},focusDayBefore:function(){return m("day","before")},focusWeekAfter:function(){return m("week","after")},focusWeekBefore:function(){return m("week","before")},focusMonthBefore:function(){return m("month","before")},focusMonthAfter:function(){return m("month","after")},focusYearBefore:function(){return m("year","before")},focusYearAfter:function(){return m("year","after")},focusStartOfWeek:function(){return m("startOfWeek","before")},focusEndOfWeek:function(){return m("endOfWeek","after")}},children:e.children})}function tr(){var e=(0,l.useContext)(tt);if(!e)throw Error("useFocusContext must be used within a FocusProvider");return e}var ta=(0,l.createContext)(void 0);function to(e){return eg(e.initialProps)?ep.jsx(ti,{initialProps:e.initialProps,children:e.children}):ep.jsx(ta.Provider,{value:{selected:void 0},children:e.children})}function ti(e){var t=e.initialProps,n=e.children,r={selected:t.selected,onDayClick:function(e,n,r){var a,o,i;if(null===(a=t.onDayClick)||void 0===a||a.call(t,e,n,r),n.selected&&!t.required){null===(o=t.onSelect)||void 0===o||o.call(t,void 0,e,n,r);return}null===(i=t.onSelect)||void 0===i||i.call(t,e,e,n,r)}};return ep.jsx(ta.Provider,{value:r,children:n})}function tl(){var e=(0,l.useContext)(ta);if(!e)throw Error("useSelectSingle must be used within a SelectSingleProvider");return e}function ts(e){var t,n,r,a,o,s,u,d,c,f,h,m,p,v,y,g,b,w,x,M,k,N,D,j,_,P,C,S,O,W,E,F,T,Y,L,Q,A,H,I,B,q,R=(0,l.useRef)(null),z=(t=e.date,n=e.displayMonth,s=eN(),u=tr(),d=te(t,e7(),n),c=eN(),f=tl(),h=eG(),m=eV(),v=(p=tr()).focusDayAfter,y=p.focusDayBefore,g=p.focusWeekAfter,b=p.focusWeekBefore,w=p.blur,x=p.focus,M=p.focusMonthBefore,k=p.focusMonthAfter,N=p.focusYearBefore,D=p.focusYearAfter,j=p.focusStartOfWeek,_=p.focusEndOfWeek,P=eN(),C=tl(),S=eG(),O=eV(),W=eg(P)?C.selected:ev(P)?S.selected:ey(P)?O.selected:void 0,E=!!(s.onDayClick||"default"!==s.mode),(0,l.useEffect)(function(){var e;!d.outside&&u.focusedDay&&E&&eo(u.focusedDay,t)&&(null===(e=R.current)||void 0===e||e.focus())},[u.focusedDay,t,R,E,d.outside]),T=(F=[s.classNames.day],Object.keys(d).forEach(function(e){var t=s.modifiersClassNames[e];if(t)F.push(t);else if(Object.values(i).includes(e)){var n=s.classNames["day_".concat(e)];n&&F.push(n)}}),F).join(" "),Y=ec({},s.styles.day),Object.keys(d).forEach(function(e){var t;Y=ec(ec({},Y),null===(t=s.modifiersStyles)||void 0===t?void 0:t[e])}),L=Y,Q=!!(d.outside&&!s.showOutsideDays||d.hidden),A=null!==(o=null===(a=s.components)||void 0===a?void 0:a.DayContent)&&void 0!==o?o:eq,H={style:L,className:T,children:ep.jsx(A,{date:t,displayMonth:n,activeModifiers:d}),role:"gridcell"},I=u.focusTarget&&eo(u.focusTarget,t)&&!d.outside,B=u.focusedDay&&eo(u.focusedDay,t),q=ec(ec(ec({},H),((r={disabled:d.disabled,role:"gridcell"})["aria-selected"]=d.selected,r.tabIndex=B||I?0:-1,r)),{onClick:function(e){var n,r,a,o;eg(c)?null===(n=f.onDayClick)||void 0===n||n.call(f,t,d,e):ev(c)?null===(r=h.onDayClick)||void 0===r||r.call(h,t,d,e):ey(c)?null===(a=m.onDayClick)||void 0===a||a.call(m,t,d,e):null===(o=c.onDayClick)||void 0===o||o.call(c,t,d,e)},onFocus:function(e){var n;x(t),null===(n=c.onDayFocus)||void 0===n||n.call(c,t,d,e)},onBlur:function(e){var n;w(),null===(n=c.onDayBlur)||void 0===n||n.call(c,t,d,e)},onKeyDown:function(e){var n;switch(e.key){case"ArrowLeft":e.preventDefault(),e.stopPropagation(),"rtl"===c.dir?v():y();break;case"ArrowRight":e.preventDefault(),e.stopPropagation(),"rtl"===c.dir?y():v();break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),g();break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),b();break;case"PageUp":e.preventDefault(),e.stopPropagation(),e.shiftKey?N():M();break;case"PageDown":e.preventDefault(),e.stopPropagation(),e.shiftKey?D():k();break;case"Home":e.preventDefault(),e.stopPropagation(),j();break;case"End":e.preventDefault(),e.stopPropagation(),_()}null===(n=c.onDayKeyDown)||void 0===n||n.call(c,t,d,e)},onKeyUp:function(e){var n;null===(n=c.onDayKeyUp)||void 0===n||n.call(c,t,d,e)},onMouseEnter:function(e){var n;null===(n=c.onDayMouseEnter)||void 0===n||n.call(c,t,d,e)},onMouseLeave:function(e){var n;null===(n=c.onDayMouseLeave)||void 0===n||n.call(c,t,d,e)},onPointerEnter:function(e){var n;null===(n=c.onDayPointerEnter)||void 0===n||n.call(c,t,d,e)},onPointerLeave:function(e){var n;null===(n=c.onDayPointerLeave)||void 0===n||n.call(c,t,d,e)},onTouchCancel:function(e){var n;null===(n=c.onDayTouchCancel)||void 0===n||n.call(c,t,d,e)},onTouchEnd:function(e){var n;null===(n=c.onDayTouchEnd)||void 0===n||n.call(c,t,d,e)},onTouchMove:function(e){var n;null===(n=c.onDayTouchMove)||void 0===n||n.call(c,t,d,e)},onTouchStart:function(e){var n;null===(n=c.onDayTouchStart)||void 0===n||n.call(c,t,d,e)}}),{isButton:E,isHidden:Q,activeModifiers:d,selectedDays:W,buttonProps:q,divProps:H});return z.isHidden?ep.jsx("div",{role:"gridcell"}):z.isButton?ep.jsx(eY,ec({name:"day",ref:R},z.buttonProps)):ep.jsx("div",ec({},z.divProps))}function tu(e){var t=e.number,n=e.dates,r=eN(),a=r.onWeekNumberClick,o=r.styles,i=r.classNames,l=r.locale,s=r.labels.labelWeekNumber,u=(0,r.formatters.formatWeekNumber)(Number(t),{locale:l});if(!a)return ep.jsx("span",{className:i.weeknumber,style:o.weeknumber,children:u});var d=s(Number(t),{locale:l});return ep.jsx(eY,{name:"week-number","aria-label":d,className:i.weeknumber,style:o.weeknumber,onClick:function(e){a(t,n,e)},children:u})}function td(e){var t,n,r,a=eN(),o=a.styles,i=a.classNames,l=a.showWeekNumber,s=a.components,u=null!==(t=null==s?void 0:s.Day)&&void 0!==t?t:ts,d=null!==(n=null==s?void 0:s.WeekNumber)&&void 0!==n?n:tu;return l&&(r=ep.jsx("td",{className:i.cell,style:o.cell,children:ep.jsx(d,{number:e.weekNumber,dates:e.dates})})),ep.jsxs("tr",{className:i.row,style:o.row,children:[r,e.dates.map(function(t){return ep.jsx("td",{className:i.cell,style:o.cell,role:"presentation",children:ep.jsx(u,{displayMonth:e.displayMonth,date:t})},Math.trunc(+(0,g.Q)(t)/1e3))})]})}function tc(e,t,n){for(var r=(null==n?void 0:n.ISOWeek)?ed(t):eu(t,n),a=(null==n?void 0:n.ISOWeek)?D(e):N(e,n),o=x(r,a),i=[],l=0;l<=o;l++)i.push(ea(a,l));return i.reduce(function(e,t){var r=(null==n?void 0:n.ISOWeek)?_(t):C(t,n),a=e.find(function(e){return e.weekNumber===r});return a?a.dates.push(t):e.push({weekNumber:r,dates:[t]}),e},[])}function tf(e){var t,n,r,a=eN(),o=a.locale,i=a.classNames,l=a.styles,s=a.hideHead,u=a.fixedWeeks,d=a.components,c=a.weekStartsOn,f=a.firstWeekContainsDate,h=a.ISOWeek,m=function(e,t){var n=tc(U(e),V(e),t);if(null==t?void 0:t.useFixedWeeks){var r=function(e,t,n){let r=N(e,n),a=N(t,n),o=+r-w(r),i=+a-w(a);return Math.round((o-i)/6048e5)}(function(e){let t=(0,g.Q)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(0,0,0,0),t}(e),U(e),t)+1;if(r<6){var a=n[n.length-1],o=a.dates[a.dates.length-1],i=el(o,6-r),l=tc(el(o,1),i,t);n.push.apply(n,l)}}return n}(e.displayMonth,{useFixedWeeks:!!u,ISOWeek:h,locale:o,weekStartsOn:c,firstWeekContainsDate:f}),p=null!==(t=null==d?void 0:d.Head)&&void 0!==t?t:eB,v=null!==(n=null==d?void 0:d.Row)&&void 0!==n?n:td,y=null!==(r=null==d?void 0:d.Footer)&&void 0!==r?r:eH;return ep.jsxs("table",{id:e.id,className:i.table,style:l.table,role:"grid","aria-labelledby":e["aria-labelledby"],children:[!s&&ep.jsx(p,{}),ep.jsx("tbody",{className:i.tbody,style:l.tbody,children:m.map(function(t){return ep.jsx(v,{displayMonth:e.displayMonth,dates:t.dates,weekNumber:t.weekNumber},t.weekNumber)})}),ep.jsx(y,{displayMonth:e.displayMonth})]})}var th="undefined"!=typeof window&&window.document&&window.document.createElement?l.useLayoutEffect:l.useEffect,tm=!1,tp=0;function tv(){return"react-day-picker-".concat(++tp)}function ty(e){var t,n,r,a,o,i,s,u,d=eN(),c=d.dir,f=d.classNames,h=d.styles,m=d.components,p=eW().displayMonths,v=(r=null!=(t=d.id?"".concat(d.id,"-").concat(e.displayIndex):void 0)?t:tm?tv():null,o=(a=(0,l.useState)(r))[0],i=a[1],th(function(){null===o&&i(tv())},[]),(0,l.useEffect)(function(){!1===tm&&(tm=!0)},[]),null!==(n=null!=t?t:o)&&void 0!==n?n:void 0),y=d.id?"".concat(d.id,"-grid-").concat(e.displayIndex):void 0,g=[f.month],b=h.month,w=0===e.displayIndex,x=e.displayIndex===p.length-1,M=!w&&!x;"rtl"===c&&(x=(s=[w,x])[0],w=s[1]),w&&(g.push(f.caption_start),b=ec(ec({},b),h.caption_start)),x&&(g.push(f.caption_end),b=ec(ec({},b),h.caption_end)),M&&(g.push(f.caption_between),b=ec(ec({},b),h.caption_between));var k=null!==(u=null==m?void 0:m.Caption)&&void 0!==u?u:eA;return ep.jsxs("div",{className:g.join(" "),style:b,children:[ep.jsx(k,{id:v,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),ep.jsx(tf,{id:y,"aria-labelledby":v,displayMonth:e.displayMonth})]},e.displayIndex)}function tg(e){var t=eN(),n=t.classNames,r=t.styles;return ep.jsx("div",{className:n.months,style:r.months,children:e.children})}function tb(e){var t,n,r=e.initialProps,a=eN(),o=tr(),i=eW(),s=(0,l.useState)(!1),u=s[0],d=s[1];(0,l.useEffect)(function(){a.initialFocus&&o.focusTarget&&(u||(o.focus(o.focusTarget),d(!0)))},[a.initialFocus,u,o.focus,o.focusTarget,o]);var c=[a.classNames.root,a.className];a.numberOfMonths>1&&c.push(a.classNames.multiple_months),a.showWeekNumber&&c.push(a.classNames.with_weeknumber);var f=ec(ec({},a.styles.root),a.style),h=Object.keys(r).filter(function(e){return e.startsWith("data-")}).reduce(function(e,t){var n;return ec(ec({},e),((n={})[t]=r[t],n))},{}),m=null!==(n=null===(t=r.components)||void 0===t?void 0:t.Months)&&void 0!==n?n:tg;return ep.jsx("div",ec({className:c.join(" "),style:f,dir:a.dir,id:a.id,nonce:r.nonce,title:r.title,lang:r.lang},h,{children:ep.jsx(m,{children:i.displayMonths.map(function(e,t){return ep.jsx(ty,{displayIndex:t,displayMonth:e},t)})})}))}function tw(e){var t=e.children,n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n}(e,["children"]);return ep.jsx(ek,{initialProps:n,children:ep.jsx(eO,{children:ep.jsx(to,{initialProps:n,children:ep.jsx(ez,{initialProps:n,children:ep.jsx(e$,{initialProps:n,children:ep.jsx(e9,{children:ep.jsx(tn,{children:t})})})})})})})}function tx(e){return ep.jsx(tw,ec({},e,{children:ep.jsx(tb,{initialProps:e})}))}},65122:function(e,t,n){n.d(t,{Z:function(){return r}});function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;te.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}function o(...e){return(0,r.useCallback)(a(...e),e)}},72205:function(e,t,n){n.d(t,{WV:function(){return l},jH:function(){return s}});var r=n(65122),a=n(3546),o=n(30171),i=n(74047);let l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=(0,a.forwardRef)((e,n)=>{let{asChild:o,...l}=e,s=o?i.g7:t;return(0,a.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,a.createElement)(s,(0,r.Z)({},l,{ref:n}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function s(e,t){e&&(0,o.flushSync)(()=>e.dispatchEvent(t))}},74225:function(e,t,n){n.d(t,{f:function(){return d}});var r=n(65122),a=n(3546),o=n(72205);let i="horizontal",l=["horizontal","vertical"],s=(0,a.forwardRef)((e,t)=>{let{decorative:n,orientation:l=i,...s}=e,d=u(l)?l:i;return(0,a.createElement)(o.WV.div,(0,r.Z)({"data-orientation":d},n?{role:"none"}:{"aria-orientation":"vertical"===d?d:void 0,role:"separator"},s,{ref:t}))});function u(e){return l.includes(e)}s.propTypes={orientation(e,t,n){let r=e[t],a=String(r);return r&&!u(r)?Error(`Invalid prop \`orientation\` of value \`${a}\` supplied to \`${n}\`, expected one of: + */let a=(0,r.Z)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},94070:function(e,t,n){n.d(t,{_W:function(){return tx}});var r,a,o,i,l=n(3546);let s={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function u(e){return (t={})=>{let n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}let d={date:u({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:u({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:u({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},c={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function f(e){return(t,n)=>{let r;let a=n?.context?String(n.context):"standalone";if("formatting"===a&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,a=n?.width?String(n.width):t;r=e.formattingValues[a]||e.formattingValues[t]}else{let t=e.defaultWidth,a=n?.width?String(n.width):e.defaultWidth;r=e.values[a]||e.values[t]}let o=e.argumentCallback?e.argumentCallback(t):t;return r[o]}}let h={ordinalNumber:(e,t)=>{let n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:f({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:f({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:f({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:f({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:f({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};function m(e){return(t,n={})=>{let r;let a=n.width,o=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;let l=i[0],s=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(s)?function(e,t){for(let n=0;ne.test(l)):function(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}(s,e=>e.test(l));r=e.valueCallback?e.valueCallback(u):u,r=n.valueCallback?n.valueCallback(r):r;let d=t.slice(l.length);return{value:r,rest:d}}}let p={ordinalNumber:(r={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},(e,t={})=>{let n=e.match(r.matchPattern);if(!n)return null;let a=n[0],o=e.match(r.parsePattern);if(!o)return null;let i=r.valueCallback?r.valueCallback(o[0]):o[0];i=t.valueCallback?t.valueCallback(i):i;let l=e.slice(a.length);return{value:i,rest:l}}),era:m({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:m({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:m({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:m({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:m({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},v={code:"en-US",formatDistance:(e,t,n)=>{let r;let a=s[e];return(r="string"==typeof a?a:1===t?a.one:a.other.replace("{{count}}",t.toString()),n?.addSuffix)?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},formatLong:d,formatRelative:(e,t,n,r)=>c[e],localize:h,match:p,options:{weekStartsOn:0,firstWeekContainsDate:1}},y={};var g=n(25707);function b(e){let t=(0,g.Q)(e);return t.setHours(0,0,0,0),t}function w(e){let t=(0,g.Q)(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function x(e,t){let n=b(e),r=b(t),a=+n-w(n),o=+r-w(r);return Math.round((a-o)/864e5)}function M(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function k(e){let t=(0,g.Q)(e),n=M(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}function N(e,t){let n=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??y.weekStartsOn??y.locale?.options?.weekStartsOn??0,r=(0,g.Q)(e),a=r.getDay();return r.setDate(r.getDate()-((a=a.getTime()?n+1:t.getTime()>=i.getTime()?n:n-1}function _(e){let t=(0,g.Q)(e),n=+D(t)-+function(e){let t=j(e),n=M(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),D(n)}(t);return Math.round(n/6048e5)+1}function P(e,t){let n=(0,g.Q)(e),r=n.getFullYear(),a=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??y.firstWeekContainsDate??y.locale?.options?.firstWeekContainsDate??1,o=M(e,0);o.setFullYear(r+1,0,a),o.setHours(0,0,0,0);let i=N(o,t),l=M(e,0);l.setFullYear(r,0,a),l.setHours(0,0,0,0);let s=N(l,t);return n.getTime()>=i.getTime()?r+1:n.getTime()>=s.getTime()?r:r-1}function C(e,t){let n=(0,g.Q)(e),r=+N(n,t)-+function(e,t){let n=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??y.firstWeekContainsDate??y.locale?.options?.firstWeekContainsDate??1,r=P(e,t),a=M(e,0);a.setFullYear(r,0,n),a.setHours(0,0,0,0);let o=N(a,t);return o}(n,t);return Math.round(r/6048e5)+1}function S(e,t){let n=Math.abs(e).toString().padStart(t,"0");return(e<0?"-":"")+n}let O={y(e,t){let n=e.getFullYear(),r=n>0?n:1-n;return S("yy"===t?r%100:r,t.length)},M(e,t){let n=e.getMonth();return"M"===t?String(n+1):S(n+1,2)},d:(e,t)=>S(e.getDate(),t.length),a(e,t){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>S(e.getHours()%12||12,t.length),H:(e,t)=>S(e.getHours(),t.length),m:(e,t)=>S(e.getMinutes(),t.length),s:(e,t)=>S(e.getSeconds(),t.length),S(e,t){let n=t.length,r=e.getMilliseconds();return S(Math.trunc(r*Math.pow(10,n-3)),t.length)}},W={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},E={G:function(e,t,n){let r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){let t=e.getFullYear(),r=t>0?t:1-t;return n.ordinalNumber(r,{unit:"year"})}return O.y(e,t)},Y:function(e,t,n,r){let a=P(e,r),o=a>0?a:1-a;if("YY"===t){let e=o%100;return S(e,2)}return"Yo"===t?n.ordinalNumber(o,{unit:"year"}):S(o,t.length)},R:function(e,t){let n=j(e);return S(n,t.length)},u:function(e,t){let n=e.getFullYear();return S(n,t.length)},Q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return S(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return S(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){let r=e.getMonth();switch(t){case"M":case"MM":return O.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){let r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return S(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){let a=C(e,r);return"wo"===t?n.ordinalNumber(a,{unit:"week"}):S(a,t.length)},I:function(e,t,n){let r=_(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):S(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):O.d(e,t)},D:function(e,t,n){let r=function(e){let t=(0,g.Q)(e),n=x(t,k(t));return n+1}(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):S(r,t.length)},E:function(e,t,n){let r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){let a=e.getDay(),o=(a-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return S(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){let a=e.getDay(),o=(a-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return S(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,n){let r=e.getDay(),a=0===r?7:r;switch(t){case"i":return String(a);case"ii":return S(a,t.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){let r=e.getHours(),a=r/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(a,{width:"narrow",context:"formatting"});default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(e,t,n){let r;let a=e.getHours();switch(r=12===a?W.noon:0===a?W.midnight:a/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){let r;let a=e.getHours();switch(r=a>=17?W.evening:a>=12?W.afternoon:a>=4?W.morning:W.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return O.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):O.H(e,t)},K:function(e,t,n){let r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):S(r,t.length)},k:function(e,t,n){let r=e.getHours();return(0===r&&(r=24),"ko"===t)?n.ordinalNumber(r,{unit:"hour"}):S(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):O.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):O.s(e,t)},S:function(e,t){return O.S(e,t)},X:function(e,t,n){let r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return T(r);case"XXXX":case"XX":return Y(r);default:return Y(r,":")}},x:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"x":return T(r);case"xxxx":case"xx":return Y(r);default:return Y(r,":")}},O:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+F(r,":");default:return"GMT"+Y(r,":")}},z:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+F(r,":");default:return"GMT"+Y(r,":")}},t:function(e,t,n){let r=Math.trunc(e.getTime()/1e3);return S(r,t.length)},T:function(e,t,n){let r=e.getTime();return S(r,t.length)}};function F(e,t=""){let n=e>0?"-":"+",r=Math.abs(e),a=Math.trunc(r/60),o=r%60;return 0===o?n+String(a):n+String(a)+t+S(o,2)}function T(e,t){if(e%60==0){let t=e>0?"-":"+";return t+S(Math.abs(e)/60,2)}return Y(e,t)}function Y(e,t=""){let n=Math.abs(e),r=S(Math.trunc(n/60),2),a=S(n%60,2);return(e>0?"-":"+")+r+t+a}let L=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},Q=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},A={p:Q,P:(e,t)=>{let n;let r=e.match(/(P+)(p+)?/)||[],a=r[1],o=r[2];if(!o)return L(e,t);switch(a){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",L(a,t)).replace("{{time}}",Q(o,t))}},H=/^D+$/,I=/^Y+$/,B=["D","DD","YY","YYYY"];function q(e){return e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}let R=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,z=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Z=/^'([^]*?)'?$/,G=/''/g,X=/[a-zA-Z]/;function $(e,t,n){let r=n?.locale??y.locale??v,a=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??y.firstWeekContainsDate??y.locale?.options?.firstWeekContainsDate??1,o=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??y.weekStartsOn??y.locale?.options?.weekStartsOn??0,i=(0,g.Q)(e);if(!function(e){if(!q(e)&&"number"!=typeof e)return!1;let t=(0,g.Q)(e);return!isNaN(Number(t))}(i))throw RangeError("Invalid time value");let l=t.match(z).map(e=>{let t=e[0];if("p"===t||"P"===t){let n=A[t];return n(e,r.formatLong)}return e}).join("").match(R).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t)return{isToken:!1,value:function(e){let t=e.match(Z);return t?t[1].replace(G,"'"):e}(e)};if(E[t])return{isToken:!0,value:e};if(t.match(X))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});r.localize.preprocessor&&(l=r.localize.preprocessor(i,l));let s={firstWeekContainsDate:a,weekStartsOn:o,locale:r};return l.map(a=>{if(!a.isToken)return a.value;let o=a.value;(!n?.useAdditionalWeekYearTokens&&I.test(o)||!n?.useAdditionalDayOfYearTokens&&H.test(o))&&function(e,t,n){let r=function(e,t,n){let r="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,n);if(console.warn(r),B.includes(e))throw RangeError(r)}(o,t,String(e));let l=E[o[0]];return l(i,o,r.localize,s)}).join("")}function U(e){let t=(0,g.Q)(e);return t.setDate(1),t.setHours(0,0,0,0),t}function V(e){let t=(0,g.Q)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function J(e,t){let n=(0,g.Q)(e),r=n.getFullYear(),a=n.getDate(),o=M(e,0);o.setFullYear(r,t,15),o.setHours(0,0,0,0);let i=function(e){let t=(0,g.Q)(e),n=t.getFullYear(),r=t.getMonth(),a=M(e,0);return a.setFullYear(n,r+1,0),a.setHours(0,0,0,0),a.getDate()}(o);return n.setMonth(t,Math.min(a,i)),n}function K(e,t){let n=(0,g.Q)(e);return isNaN(+n)?M(e,NaN):(n.setFullYear(t),n)}function ee(e,t){let n=(0,g.Q)(e),r=(0,g.Q)(t),a=n.getFullYear()-r.getFullYear(),o=n.getMonth()-r.getMonth();return 12*a+o}function et(e,t){let n=(0,g.Q)(e);if(isNaN(t))return M(e,NaN);if(!t)return n;let r=n.getDate(),a=M(e,n.getTime());a.setMonth(n.getMonth()+t+1,0);let o=a.getDate();return r>=o?a:(n.setFullYear(a.getFullYear(),a.getMonth(),r),n)}function en(e,t){let n=(0,g.Q)(e),r=(0,g.Q)(t);return n.getFullYear()===r.getFullYear()&&n.getMonth()===r.getMonth()}function er(e,t){let n=(0,g.Q)(e),r=(0,g.Q)(t);return+n<+r}function ea(e,t){let n=(0,g.Q)(e);return isNaN(t)?M(e,NaN):(t&&n.setDate(n.getDate()+t),n)}function eo(e,t){let n=b(e),r=b(t);return+n==+r}function ei(e,t){let n=(0,g.Q)(e),r=(0,g.Q)(t);return n.getTime()>r.getTime()}function el(e,t){return ea(e,7*t)}function es(e,t){return et(e,12*t)}function eu(e,t){let n=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??y.weekStartsOn??y.locale?.options?.weekStartsOn??0,r=(0,g.Q)(e),a=r.getDay();return r.setDate(r.getDate()+((aee(s,i)&&(i=et(s,-1*((void 0===d?1:d)-1))),u&&0>ee(i,u)&&(i=u),c=U(i),f=t.month,m=(h=(0,l.useState)(c))[0],p=[void 0===f?m:f,h[1]])[0],y=p[1],[v,function(e){if(!t.disableNavigation){var n,r=U(e);y(r),null===(n=t.onMonthChange)||void 0===n||n.call(t,r)}}]),w=b[0],x=b[1],M=function(e,t){for(var n=t.reverseMonths,r=t.numberOfMonths,a=U(e),o=ee(U(et(a,r)),a),i=[],l=0;l=ee(i,n)))return et(i,-o)}}(w,g),D=function(e){return M.some(function(t){return en(e,t)})};return ep.jsx(eS.Provider,{value:{currentMonth:w,displayMonths:M,goToMonth:x,goToDate:function(e,t){D(e)||(t&&er(e,t)?x(et(e,1+-1*g.numberOfMonths)):x(e))},previousMonth:N,nextMonth:k,isDateDisplayed:D},children:e.children})}function eW(){var e=(0,l.useContext)(eS);if(!e)throw Error("useNavigation must be used within a NavigationProvider");return e}function eE(e){var t,n=eN(),r=n.classNames,a=n.styles,o=n.components,i=eW().goToMonth,l=function(t){i(et(t,e.displayIndex?-e.displayIndex:0))},s=null!==(t=null==o?void 0:o.CaptionLabel)&&void 0!==t?t:eD,u=ep.jsx(s,{id:e.id,displayMonth:e.displayMonth});return ep.jsxs("div",{className:r.caption_dropdowns,style:a.caption_dropdowns,children:[ep.jsx("div",{className:r.vhidden,children:u}),ep.jsx(eP,{onChange:l,displayMonth:e.displayMonth}),ep.jsx(eC,{onChange:l,displayMonth:e.displayMonth})]})}function eF(e){return ep.jsx("svg",ec({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:ep.jsx("path",{d:"M69.490332,3.34314575 C72.6145263,0.218951416 77.6798462,0.218951416 80.8040405,3.34314575 C83.8617626,6.40086786 83.9268205,11.3179931 80.9992143,14.4548388 L80.8040405,14.6568542 L35.461,60 L80.8040405,105.343146 C83.8617626,108.400868 83.9268205,113.317993 80.9992143,116.454839 L80.8040405,116.656854 C77.7463184,119.714576 72.8291931,119.779634 69.6923475,116.852028 L69.490332,116.656854 L18.490332,65.6568542 C15.4326099,62.5991321 15.367552,57.6820069 18.2951583,54.5451612 L18.490332,54.3431458 L69.490332,3.34314575 Z",fill:"currentColor",fillRule:"nonzero"})}))}function eT(e){return ep.jsx("svg",ec({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:ep.jsx("path",{d:"M49.8040405,3.34314575 C46.6798462,0.218951416 41.6145263,0.218951416 38.490332,3.34314575 C35.4326099,6.40086786 35.367552,11.3179931 38.2951583,14.4548388 L38.490332,14.6568542 L83.8333725,60 L38.490332,105.343146 C35.4326099,108.400868 35.367552,113.317993 38.2951583,116.454839 L38.490332,116.656854 C41.5480541,119.714576 46.4651794,119.779634 49.602025,116.852028 L49.8040405,116.656854 L100.804041,65.6568542 C103.861763,62.5991321 103.926821,57.6820069 100.999214,54.5451612 L100.804041,54.3431458 L49.8040405,3.34314575 Z",fill:"currentColor"})}))}var eY=(0,l.forwardRef)(function(e,t){var n=eN(),r=n.classNames,a=n.styles,o=[r.button_reset,r.button];e.className&&o.push(e.className);var i=o.join(" "),l=ec(ec({},a.button_reset),a.button);return e.style&&Object.assign(l,e.style),ep.jsx("button",ec({},e,{ref:t,type:"button",className:i,style:l}))});function eL(e){var t,n,r=eN(),a=r.dir,o=r.locale,i=r.classNames,l=r.styles,s=r.labels,u=s.labelPrevious,d=s.labelNext,c=r.components;if(!e.nextMonth&&!e.previousMonth)return ep.jsx(ep.Fragment,{});var f=u(e.previousMonth,{locale:o}),h=[i.nav_button,i.nav_button_previous].join(" "),m=d(e.nextMonth,{locale:o}),p=[i.nav_button,i.nav_button_next].join(" "),v=null!==(t=null==c?void 0:c.IconRight)&&void 0!==t?t:eT,y=null!==(n=null==c?void 0:c.IconLeft)&&void 0!==n?n:eF;return ep.jsxs("div",{className:i.nav,style:l.nav,children:[!e.hidePrevious&&ep.jsx(eY,{name:"previous-month","aria-label":f,className:h,style:l.nav_button_previous,disabled:!e.previousMonth,onClick:e.onPreviousClick,children:"rtl"===a?ep.jsx(v,{className:i.nav_icon,style:l.nav_icon}):ep.jsx(y,{className:i.nav_icon,style:l.nav_icon})}),!e.hideNext&&ep.jsx(eY,{name:"next-month","aria-label":m,className:p,style:l.nav_button_next,disabled:!e.nextMonth,onClick:e.onNextClick,children:"rtl"===a?ep.jsx(y,{className:i.nav_icon,style:l.nav_icon}):ep.jsx(v,{className:i.nav_icon,style:l.nav_icon})})]})}function eQ(e){var t=eN().numberOfMonths,n=eW(),r=n.previousMonth,a=n.nextMonth,o=n.goToMonth,i=n.displayMonths,l=i.findIndex(function(t){return en(e.displayMonth,t)}),s=0===l,u=l===i.length-1;return ep.jsx(eL,{displayMonth:e.displayMonth,hideNext:t>1&&(s||!u),hidePrevious:t>1&&(u||!s),nextMonth:a,previousMonth:r,onPreviousClick:function(){r&&o(r)},onNextClick:function(){a&&o(a)}})}function eA(e){var t,n,r=eN(),a=r.classNames,o=r.disableNavigation,i=r.styles,l=r.captionLayout,s=r.components,u=null!==(t=null==s?void 0:s.CaptionLabel)&&void 0!==t?t:eD;return n=o?ep.jsx(u,{id:e.id,displayMonth:e.displayMonth}):"dropdown"===l?ep.jsx(eE,{displayMonth:e.displayMonth,id:e.id}):"dropdown-buttons"===l?ep.jsxs(ep.Fragment,{children:[ep.jsx(eE,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id}),ep.jsx(eQ,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id})]}):ep.jsxs(ep.Fragment,{children:[ep.jsx(u,{id:e.id,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),ep.jsx(eQ,{displayMonth:e.displayMonth,id:e.id})]}),ep.jsx("div",{className:a.caption,style:i.caption,children:n})}function eH(e){var t=eN(),n=t.footer,r=t.styles,a=t.classNames.tfoot;return n?ep.jsx("tfoot",{className:a,style:r.tfoot,children:ep.jsx("tr",{children:ep.jsx("td",{colSpan:8,children:n})})}):ep.jsx(ep.Fragment,{})}function eI(){var e=eN(),t=e.classNames,n=e.styles,r=e.showWeekNumber,a=e.locale,o=e.weekStartsOn,i=e.ISOWeek,l=e.formatters.formatWeekdayName,s=e.labels.labelWeekday,u=function(e,t,n){for(var r=n?D(new Date):N(new Date,{locale:e,weekStartsOn:t}),a=[],o=0;o<7;o++){var i=ea(r,o);a.push(i)}return a}(a,o,i);return ep.jsxs("tr",{style:n.head_row,className:t.head_row,children:[r&&ep.jsx("td",{style:n.head_cell,className:t.head_cell}),u.map(function(e,r){return ep.jsx("th",{scope:"col",className:t.head_cell,style:n.head_cell,"aria-label":s(e,{locale:a}),children:l(e,{locale:a})},r)})]})}function eB(){var e,t=eN(),n=t.classNames,r=t.styles,a=t.components,o=null!==(e=null==a?void 0:a.HeadRow)&&void 0!==e?e:eI;return ep.jsx("thead",{style:r.head,className:n.head,children:ep.jsx(o,{})})}function eq(e){var t=eN(),n=t.locale,r=t.formatters.formatDay;return ep.jsx(ep.Fragment,{children:r(e.date,{locale:n})})}var eR=(0,l.createContext)(void 0);function ez(e){return ev(e.initialProps)?ep.jsx(eZ,{initialProps:e.initialProps,children:e.children}):ep.jsx(eR.Provider,{value:{selected:void 0,modifiers:{disabled:[]}},children:e.children})}function eZ(e){var t=e.initialProps,n=e.children,r=t.selected,a=t.min,o=t.max,i={disabled:[]};return r&&i.disabled.push(function(e){var t=o&&r.length>o-1,n=r.some(function(t){return eo(t,e)});return!!(t&&!n)}),ep.jsx(eR.Provider,{value:{selected:r,onDayClick:function(e,n,i){if(null===(l=t.onDayClick)||void 0===l||l.call(t,e,n,i),(!n.selected||!a||(null==r?void 0:r.length)!==a)&&(n.selected||!o||(null==r?void 0:r.length)!==o)){var l,s,u=r?ef([],r,!0):[];if(n.selected){var d=u.findIndex(function(t){return eo(e,t)});u.splice(d,1)}else u.push(e);null===(s=t.onSelect)||void 0===s||s.call(t,u,e,n,i)}},modifiers:i},children:n})}function eG(){var e=(0,l.useContext)(eR);if(!e)throw Error("useSelectMultiple must be used within a SelectMultipleProvider");return e}var eX=(0,l.createContext)(void 0);function e$(e){return ey(e.initialProps)?ep.jsx(eU,{initialProps:e.initialProps,children:e.children}):ep.jsx(eX.Provider,{value:{selected:void 0,modifiers:{range_start:[],range_end:[],range_middle:[],disabled:[]}},children:e.children})}function eU(e){var t=e.initialProps,n=e.children,r=t.selected,a=r||{},o=a.from,i=a.to,l=t.min,s=t.max,u={range_start:[],range_end:[],range_middle:[],disabled:[]};if(o?(u.range_start=[o],i?(u.range_end=[i],eo(o,i)||(u.range_middle=[{after:o,before:i}])):u.range_end=[o]):i&&(u.range_start=[i],u.range_end=[i]),l&&(o&&!i&&u.disabled.push({after:ea(o,-(l-1)),before:ea(o,l-1)}),o&&i&&u.disabled.push({after:o,before:ea(o,l-1)}),!o&&i&&u.disabled.push({after:ea(i,-(l-1)),before:ea(i,l-1)})),s){if(o&&!i&&(u.disabled.push({before:ea(o,-s+1)}),u.disabled.push({after:ea(o,s-1)})),o&&i){var d=s-(x(i,o)+1);u.disabled.push({before:ea(o,-d)}),u.disabled.push({after:ea(i,d)})}!o&&i&&(u.disabled.push({before:ea(i,-s+1)}),u.disabled.push({after:ea(i,s-1)}))}return ep.jsx(eX.Provider,{value:{selected:r,onDayClick:function(e,n,a){null===(s=t.onDayClick)||void 0===s||s.call(t,e,n,a);var o,i,l,s,u,d=(i=(o=r||{}).from,l=o.to,i&&l?eo(l,e)&&eo(i,e)?void 0:eo(l,e)?{from:l,to:void 0}:eo(i,e)?void 0:ei(i,e)?{from:e,to:l}:{from:i,to:e}:l?ei(e,l)?{from:l,to:e}:{from:e,to:l}:i?er(e,i)?{from:e,to:i}:{from:i,to:e}:{from:e,to:void 0});null===(u=t.onSelect)||void 0===u||u.call(t,d,e,n,a)},modifiers:u},children:n})}function eV(){var e=(0,l.useContext)(eX);if(!e)throw Error("useSelectRange must be used within a SelectRangeProvider");return e}function eJ(e){return Array.isArray(e)?ef([],e,!0):void 0!==e?[e]:[]}(a=i||(i={})).Outside="outside",a.Disabled="disabled",a.Selected="selected",a.Hidden="hidden",a.Today="today",a.RangeStart="range_start",a.RangeEnd="range_end",a.RangeMiddle="range_middle";var eK=i.Selected,e0=i.Disabled,e1=i.Hidden,e4=i.Today,e2=i.RangeEnd,e5=i.RangeMiddle,e3=i.RangeStart,e6=i.Outside,e8=(0,l.createContext)(void 0);function e9(e){var t,n,r,a=eN(),o=eG(),i=eV(),l=((t={})[eK]=eJ(a.selected),t[e0]=eJ(a.disabled),t[e1]=eJ(a.hidden),t[e4]=[a.today],t[e2]=[],t[e5]=[],t[e3]=[],t[e6]=[],a.fromDate&&t[e0].push({before:a.fromDate}),a.toDate&&t[e0].push({after:a.toDate}),ev(a)?t[e0]=t[e0].concat(o.modifiers[e0]):ey(a)&&(t[e0]=t[e0].concat(i.modifiers[e0]),t[e3]=i.modifiers[e3],t[e5]=i.modifiers[e5],t[e2]=i.modifiers[e2]),t),s=(n=a.modifiers,r={},Object.entries(n).forEach(function(e){var t=e[0],n=e[1];r[t]=eJ(n)}),r),u=ec(ec({},l),s);return ep.jsx(e8.Provider,{value:u,children:e.children})}function e7(){var e=(0,l.useContext)(e8);if(!e)throw Error("useModifiers must be used within a ModifiersProvider");return e}function te(e,t,n){var r=Object.keys(t).reduce(function(n,r){return t[r].some(function(t){if("boolean"==typeof t)return t;if(q(t))return eo(e,t);if(Array.isArray(t)&&t.every(q))return t.includes(e);if(t&&"object"==typeof t&&"from"in t)return r=t.from,a=t.to,r&&a?(0>x(a,r)&&(r=(n=[a,r])[0],a=n[1]),x(e,r)>=0&&x(a,e)>=0):a?eo(a,e):!!r&&eo(r,e);if(t&&"object"==typeof t&&"dayOfWeek"in t)return t.dayOfWeek.includes(e.getDay());if(t&&"object"==typeof t&&"before"in t&&"after"in t){var n,r,a,o=x(t.before,e),i=x(t.after,e),l=o>0,s=i<0;return ei(t.before,t.after)?s&&l:l||s}return t&&"object"==typeof t&&"after"in t?x(e,t.after)>0:t&&"object"==typeof t&&"before"in t?x(t.before,e)>0:"function"==typeof t&&t(e)})&&n.push(r),n},[]),a={};return r.forEach(function(e){return a[e]=!0}),n&&!en(e,n)&&(a.outside=!0),a}var tt=(0,l.createContext)(void 0);function tn(e){var t=eW(),n=e7(),r=(0,l.useState)(),a=r[0],o=r[1],i=(0,l.useState)(),s=i[0],u=i[1],d=function(e,t){for(var n,r,a=U(e[0]),o=V(e[e.length-1]),i=a;i<=o;){var l=te(i,t);if(!(!l.disabled&&!l.hidden)){i=ea(i,1);continue}if(l.selected)return i;l.today&&!r&&(r=i),n||(n=i),i=ea(i,1)}return r||n}(t.displayMonths,n),c=(null!=a?a:s&&t.isDateDisplayed(s))?s:d,f=function(e){o(e)},h=eN(),m=function(e,r){if(a){var o=function e(t,n){var r=n.moveBy,a=n.direction,o=n.context,i=n.modifiers,l=n.retry,s=void 0===l?{count:0,lastFocused:t}:l,u=o.weekStartsOn,d=o.fromDate,c=o.toDate,f=o.locale,h=({day:ea,week:el,month:et,year:es,startOfWeek:function(e){return o.ISOWeek?D(e):N(e,{locale:f,weekStartsOn:u})},endOfWeek:function(e){return o.ISOWeek?ed(e):eu(e,{locale:f,weekStartsOn:u})}})[r](t,"after"===a?1:-1);if("before"===a&&d){let e;[d,h].forEach(function(t){let n=(0,g.Q)(t);(void 0===e||e{let n=(0,g.Q)(t);(!e||e>n||isNaN(+n))&&(e=n)}),h=e||new Date(NaN)}var m=!0;if(i){var p=te(h,i);m=!p.disabled&&!p.hidden}return m?h:s.count>365?s.lastFocused:e(h,{moveBy:r,direction:a,context:o,modifiers:i,retry:ec(ec({},s),{count:s.count+1})})}(a,{moveBy:e,direction:r,context:h,modifiers:n});eo(a,o)||(t.goToDate(o,a),f(o))}};return ep.jsx(tt.Provider,{value:{focusedDay:a,focusTarget:c,blur:function(){u(a),o(void 0)},focus:f,focusDayAfter:function(){return m("day","after")},focusDayBefore:function(){return m("day","before")},focusWeekAfter:function(){return m("week","after")},focusWeekBefore:function(){return m("week","before")},focusMonthBefore:function(){return m("month","before")},focusMonthAfter:function(){return m("month","after")},focusYearBefore:function(){return m("year","before")},focusYearAfter:function(){return m("year","after")},focusStartOfWeek:function(){return m("startOfWeek","before")},focusEndOfWeek:function(){return m("endOfWeek","after")}},children:e.children})}function tr(){var e=(0,l.useContext)(tt);if(!e)throw Error("useFocusContext must be used within a FocusProvider");return e}var ta=(0,l.createContext)(void 0);function to(e){return eg(e.initialProps)?ep.jsx(ti,{initialProps:e.initialProps,children:e.children}):ep.jsx(ta.Provider,{value:{selected:void 0},children:e.children})}function ti(e){var t=e.initialProps,n=e.children,r={selected:t.selected,onDayClick:function(e,n,r){var a,o,i;if(null===(a=t.onDayClick)||void 0===a||a.call(t,e,n,r),n.selected&&!t.required){null===(o=t.onSelect)||void 0===o||o.call(t,void 0,e,n,r);return}null===(i=t.onSelect)||void 0===i||i.call(t,e,e,n,r)}};return ep.jsx(ta.Provider,{value:r,children:n})}function tl(){var e=(0,l.useContext)(ta);if(!e)throw Error("useSelectSingle must be used within a SelectSingleProvider");return e}function ts(e){var t,n,r,a,o,s,u,d,c,f,h,m,p,v,y,g,b,w,x,M,k,N,D,j,_,P,C,S,O,W,E,F,T,Y,L,Q,A,H,I,B,q,R=(0,l.useRef)(null),z=(t=e.date,n=e.displayMonth,s=eN(),u=tr(),d=te(t,e7(),n),c=eN(),f=tl(),h=eG(),m=eV(),v=(p=tr()).focusDayAfter,y=p.focusDayBefore,g=p.focusWeekAfter,b=p.focusWeekBefore,w=p.blur,x=p.focus,M=p.focusMonthBefore,k=p.focusMonthAfter,N=p.focusYearBefore,D=p.focusYearAfter,j=p.focusStartOfWeek,_=p.focusEndOfWeek,P=eN(),C=tl(),S=eG(),O=eV(),W=eg(P)?C.selected:ev(P)?S.selected:ey(P)?O.selected:void 0,E=!!(s.onDayClick||"default"!==s.mode),(0,l.useEffect)(function(){var e;!d.outside&&u.focusedDay&&E&&eo(u.focusedDay,t)&&(null===(e=R.current)||void 0===e||e.focus())},[u.focusedDay,t,R,E,d.outside]),T=(F=[s.classNames.day],Object.keys(d).forEach(function(e){var t=s.modifiersClassNames[e];if(t)F.push(t);else if(Object.values(i).includes(e)){var n=s.classNames["day_".concat(e)];n&&F.push(n)}}),F).join(" "),Y=ec({},s.styles.day),Object.keys(d).forEach(function(e){var t;Y=ec(ec({},Y),null===(t=s.modifiersStyles)||void 0===t?void 0:t[e])}),L=Y,Q=!!(d.outside&&!s.showOutsideDays||d.hidden),A=null!==(o=null===(a=s.components)||void 0===a?void 0:a.DayContent)&&void 0!==o?o:eq,H={style:L,className:T,children:ep.jsx(A,{date:t,displayMonth:n,activeModifiers:d}),role:"gridcell"},I=u.focusTarget&&eo(u.focusTarget,t)&&!d.outside,B=u.focusedDay&&eo(u.focusedDay,t),q=ec(ec(ec({},H),((r={disabled:d.disabled,role:"gridcell"})["aria-selected"]=d.selected,r.tabIndex=B||I?0:-1,r)),{onClick:function(e){var n,r,a,o;eg(c)?null===(n=f.onDayClick)||void 0===n||n.call(f,t,d,e):ev(c)?null===(r=h.onDayClick)||void 0===r||r.call(h,t,d,e):ey(c)?null===(a=m.onDayClick)||void 0===a||a.call(m,t,d,e):null===(o=c.onDayClick)||void 0===o||o.call(c,t,d,e)},onFocus:function(e){var n;x(t),null===(n=c.onDayFocus)||void 0===n||n.call(c,t,d,e)},onBlur:function(e){var n;w(),null===(n=c.onDayBlur)||void 0===n||n.call(c,t,d,e)},onKeyDown:function(e){var n;switch(e.key){case"ArrowLeft":e.preventDefault(),e.stopPropagation(),"rtl"===c.dir?v():y();break;case"ArrowRight":e.preventDefault(),e.stopPropagation(),"rtl"===c.dir?y():v();break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),g();break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),b();break;case"PageUp":e.preventDefault(),e.stopPropagation(),e.shiftKey?N():M();break;case"PageDown":e.preventDefault(),e.stopPropagation(),e.shiftKey?D():k();break;case"Home":e.preventDefault(),e.stopPropagation(),j();break;case"End":e.preventDefault(),e.stopPropagation(),_()}null===(n=c.onDayKeyDown)||void 0===n||n.call(c,t,d,e)},onKeyUp:function(e){var n;null===(n=c.onDayKeyUp)||void 0===n||n.call(c,t,d,e)},onMouseEnter:function(e){var n;null===(n=c.onDayMouseEnter)||void 0===n||n.call(c,t,d,e)},onMouseLeave:function(e){var n;null===(n=c.onDayMouseLeave)||void 0===n||n.call(c,t,d,e)},onPointerEnter:function(e){var n;null===(n=c.onDayPointerEnter)||void 0===n||n.call(c,t,d,e)},onPointerLeave:function(e){var n;null===(n=c.onDayPointerLeave)||void 0===n||n.call(c,t,d,e)},onTouchCancel:function(e){var n;null===(n=c.onDayTouchCancel)||void 0===n||n.call(c,t,d,e)},onTouchEnd:function(e){var n;null===(n=c.onDayTouchEnd)||void 0===n||n.call(c,t,d,e)},onTouchMove:function(e){var n;null===(n=c.onDayTouchMove)||void 0===n||n.call(c,t,d,e)},onTouchStart:function(e){var n;null===(n=c.onDayTouchStart)||void 0===n||n.call(c,t,d,e)}}),{isButton:E,isHidden:Q,activeModifiers:d,selectedDays:W,buttonProps:q,divProps:H});return z.isHidden?ep.jsx("div",{role:"gridcell"}):z.isButton?ep.jsx(eY,ec({name:"day",ref:R},z.buttonProps)):ep.jsx("div",ec({},z.divProps))}function tu(e){var t=e.number,n=e.dates,r=eN(),a=r.onWeekNumberClick,o=r.styles,i=r.classNames,l=r.locale,s=r.labels.labelWeekNumber,u=(0,r.formatters.formatWeekNumber)(Number(t),{locale:l});if(!a)return ep.jsx("span",{className:i.weeknumber,style:o.weeknumber,children:u});var d=s(Number(t),{locale:l});return ep.jsx(eY,{name:"week-number","aria-label":d,className:i.weeknumber,style:o.weeknumber,onClick:function(e){a(t,n,e)},children:u})}function td(e){var t,n,r,a=eN(),o=a.styles,i=a.classNames,l=a.showWeekNumber,s=a.components,u=null!==(t=null==s?void 0:s.Day)&&void 0!==t?t:ts,d=null!==(n=null==s?void 0:s.WeekNumber)&&void 0!==n?n:tu;return l&&(r=ep.jsx("td",{className:i.cell,style:o.cell,children:ep.jsx(d,{number:e.weekNumber,dates:e.dates})})),ep.jsxs("tr",{className:i.row,style:o.row,children:[r,e.dates.map(function(t){return ep.jsx("td",{className:i.cell,style:o.cell,role:"presentation",children:ep.jsx(u,{displayMonth:e.displayMonth,date:t})},Math.trunc(+(0,g.Q)(t)/1e3))})]})}function tc(e,t,n){for(var r=(null==n?void 0:n.ISOWeek)?ed(t):eu(t,n),a=(null==n?void 0:n.ISOWeek)?D(e):N(e,n),o=x(r,a),i=[],l=0;l<=o;l++)i.push(ea(a,l));return i.reduce(function(e,t){var r=(null==n?void 0:n.ISOWeek)?_(t):C(t,n),a=e.find(function(e){return e.weekNumber===r});return a?a.dates.push(t):e.push({weekNumber:r,dates:[t]}),e},[])}function tf(e){var t,n,r,a=eN(),o=a.locale,i=a.classNames,l=a.styles,s=a.hideHead,u=a.fixedWeeks,d=a.components,c=a.weekStartsOn,f=a.firstWeekContainsDate,h=a.ISOWeek,m=function(e,t){var n=tc(U(e),V(e),t);if(null==t?void 0:t.useFixedWeeks){var r=function(e,t,n){let r=N(e,n),a=N(t,n),o=+r-w(r),i=+a-w(a);return Math.round((o-i)/6048e5)}(function(e){let t=(0,g.Q)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(0,0,0,0),t}(e),U(e),t)+1;if(r<6){var a=n[n.length-1],o=a.dates[a.dates.length-1],i=el(o,6-r),l=tc(el(o,1),i,t);n.push.apply(n,l)}}return n}(e.displayMonth,{useFixedWeeks:!!u,ISOWeek:h,locale:o,weekStartsOn:c,firstWeekContainsDate:f}),p=null!==(t=null==d?void 0:d.Head)&&void 0!==t?t:eB,v=null!==(n=null==d?void 0:d.Row)&&void 0!==n?n:td,y=null!==(r=null==d?void 0:d.Footer)&&void 0!==r?r:eH;return ep.jsxs("table",{id:e.id,className:i.table,style:l.table,role:"grid","aria-labelledby":e["aria-labelledby"],children:[!s&&ep.jsx(p,{}),ep.jsx("tbody",{className:i.tbody,style:l.tbody,children:m.map(function(t){return ep.jsx(v,{displayMonth:e.displayMonth,dates:t.dates,weekNumber:t.weekNumber},t.weekNumber)})}),ep.jsx(y,{displayMonth:e.displayMonth})]})}var th="undefined"!=typeof window&&window.document&&window.document.createElement?l.useLayoutEffect:l.useEffect,tm=!1,tp=0;function tv(){return"react-day-picker-".concat(++tp)}function ty(e){var t,n,r,a,o,i,s,u,d=eN(),c=d.dir,f=d.classNames,h=d.styles,m=d.components,p=eW().displayMonths,v=(r=null!=(t=d.id?"".concat(d.id,"-").concat(e.displayIndex):void 0)?t:tm?tv():null,o=(a=(0,l.useState)(r))[0],i=a[1],th(function(){null===o&&i(tv())},[]),(0,l.useEffect)(function(){!1===tm&&(tm=!0)},[]),null!==(n=null!=t?t:o)&&void 0!==n?n:void 0),y=d.id?"".concat(d.id,"-grid-").concat(e.displayIndex):void 0,g=[f.month],b=h.month,w=0===e.displayIndex,x=e.displayIndex===p.length-1,M=!w&&!x;"rtl"===c&&(x=(s=[w,x])[0],w=s[1]),w&&(g.push(f.caption_start),b=ec(ec({},b),h.caption_start)),x&&(g.push(f.caption_end),b=ec(ec({},b),h.caption_end)),M&&(g.push(f.caption_between),b=ec(ec({},b),h.caption_between));var k=null!==(u=null==m?void 0:m.Caption)&&void 0!==u?u:eA;return ep.jsxs("div",{className:g.join(" "),style:b,children:[ep.jsx(k,{id:v,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),ep.jsx(tf,{id:y,"aria-labelledby":v,displayMonth:e.displayMonth})]},e.displayIndex)}function tg(e){var t=eN(),n=t.classNames,r=t.styles;return ep.jsx("div",{className:n.months,style:r.months,children:e.children})}function tb(e){var t,n,r=e.initialProps,a=eN(),o=tr(),i=eW(),s=(0,l.useState)(!1),u=s[0],d=s[1];(0,l.useEffect)(function(){a.initialFocus&&o.focusTarget&&(u||(o.focus(o.focusTarget),d(!0)))},[a.initialFocus,u,o.focus,o.focusTarget,o]);var c=[a.classNames.root,a.className];a.numberOfMonths>1&&c.push(a.classNames.multiple_months),a.showWeekNumber&&c.push(a.classNames.with_weeknumber);var f=ec(ec({},a.styles.root),a.style),h=Object.keys(r).filter(function(e){return e.startsWith("data-")}).reduce(function(e,t){var n;return ec(ec({},e),((n={})[t]=r[t],n))},{}),m=null!==(n=null===(t=r.components)||void 0===t?void 0:t.Months)&&void 0!==n?n:tg;return ep.jsx("div",ec({className:c.join(" "),style:f,dir:a.dir,id:a.id,nonce:r.nonce,title:r.title,lang:r.lang},h,{children:ep.jsx(m,{children:i.displayMonths.map(function(e,t){return ep.jsx(ty,{displayIndex:t,displayMonth:e},t)})})}))}function tw(e){var t=e.children,n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n}(e,["children"]);return ep.jsx(ek,{initialProps:n,children:ep.jsx(eO,{children:ep.jsx(to,{initialProps:n,children:ep.jsx(ez,{initialProps:n,children:ep.jsx(e$,{initialProps:n,children:ep.jsx(e9,{children:ep.jsx(tn,{children:t})})})})})})})}function tx(e){return ep.jsx(tw,ec({},e,{children:ep.jsx(tb,{initialProps:e})}))}},65122:function(e,t,n){n.d(t,{Z:function(){return r}});function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;te.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}function o(...e){return(0,r.useCallback)(a(...e),e)}},72205:function(e,t,n){n.d(t,{WV:function(){return l},jH:function(){return s}});var r=n(65122),a=n(3546),o=n(30171),i=n(74047);let l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=(0,a.forwardRef)((e,n)=>{let{asChild:o,...l}=e,s=o?i.g7:t;return(0,a.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,a.createElement)(s,(0,r.Z)({},l,{ref:n}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function s(e,t){e&&(0,o.flushSync)(()=>e.dispatchEvent(t))}},74225:function(e,t,n){n.d(t,{f:function(){return d}});var r=n(65122),a=n(3546),o=n(72205);let i="horizontal",l=["horizontal","vertical"],s=(0,a.forwardRef)((e,t)=>{let{decorative:n,orientation:l=i,...s}=e,d=u(l)?l:i;return(0,a.createElement)(o.WV.div,(0,r.Z)({"data-orientation":d},n?{role:"none"}:{"aria-orientation":"vertical"===d?d:void 0,role:"separator"},s,{ref:t}))});function u(e){return l.includes(e)}s.propTypes={orientation(e,t,n){let r=e[t],a=String(r);return r&&!u(r)?Error(`Invalid prop \`orientation\` of value \`${a}\` supplied to \`${n}\`, expected one of: - horizontal - vertical diff --git a/ee/tabby-webserver/ui/_next/static/chunks/2457-9d5cd61e65a89a26.js b/ee/tabby-webserver/ui/_next/static/chunks/8199-0de0022feebb136f.js similarity index 53% rename from ee/tabby-webserver/ui/_next/static/chunks/2457-9d5cd61e65a89a26.js rename to ee/tabby-webserver/ui/_next/static/chunks/8199-0de0022feebb136f.js index f0f01f2ba304..9946ce3d2848 100644 --- a/ee/tabby-webserver/ui/_next/static/chunks/2457-9d5cd61e65a89a26.js +++ b/ee/tabby-webserver/ui/_next/static/chunks/8199-0de0022feebb136f.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2457],{57563:function(e,t,n){(e.exports=n(11438)).tz.load(n(92733))},11438:function(e,t,n){var r,o,i;i=function(e){"use strict";void 0===e.version&&e.default&&(e=e.default);var t,n,r={},o={},i={},u={},a={};e&&"string"==typeof e.version||j("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var s=e.version.split("."),f=+s[0],l=+s[1];function c(e){return e>96?e-87:e>64?e-29:e-48}function d(e){var t,n=0,r=e.split("."),o=r[0],i=r[1]||"",u=1,a=0,s=1;for(45===e.charCodeAt(0)&&(n=1,s=-1);n= 2.6.0. You are using Moment.js "+e.version+". See momentjs.com"),v.prototype={_set:function(e){this.name=e.name,this.abbrs=e.abbrs,this.untils=e.untils,this.offsets=e.offsets,this.population=e.population},_index:function(e){var t;if((t=function(e,t){var n,r=t.length;if(e1&&t[r-1]===1/0&&e>=t[r-2])return r-1;if(e>=t[r-1])return -1;for(var o=0,i=r-1;i-o>1;)t[n=Math.floor((o+i)/2)]<=e?o=n:i=n;return i}(+e,this.untils))>=0)return t},countries:function(){var e=this.name;return Object.keys(i).filter(function(t){return -1!==i[t].zones.indexOf(e)})},parse:function(e){var t,n,r,o,i=+e,u=this.offsets,a=this.untils,s=a.length-1;for(o=0;or&&E.moveInvalidForward&&(t=r),i3){var t=u[_(e)];if(t)return t;j("Moment Timezone found "+e+" from the Intl api, but did not have that data loaded.")}}catch(e){}var n,r,o,i=function(){var e,t,n,r,o=new Date().getFullYear()-2,i=new g(new Date(o,0,1)),u=i.offset,a=[i];for(r=1;r<48;r++)(n=new Date(o,r,1).getTimezoneOffset())!==u&&(a.push(e=function(e,t){for(var n,r;r=((t.at-e.at)/12e4|0)*6e4;)(n=new g(new Date(e.at+r))).offset===e.offset?e=n:t=n;return e}(i,t=new g(new Date(o,r,1)))),a.push(new g(new Date(e.at+6e4))),i=t,u=n);for(r=0;r<4;r++)a.push(new g(new Date(o+r,0,1))),a.push(new g(new Date(o+r,6,1)));return a}(),s=i.length,f=function(e){var t,n,r,o,i=e.length,s={},f=[],l={};for(t=0;t0?l[0].zone.name:void 0}()),n},E.names=function(){var e,t=[];for(e in u)u.hasOwnProperty(e)&&(r[e]||r[o[e]])&&u[e]&&t.push(u[e]);return t.sort()},E.Zone=v,E.unpack=p,E.unpackBase60=d,E.needsOffset=Z,E.moveInvalidForward=!0,E.moveAmbiguousForward=!1,E.countries=function(){return Object.keys(i)},E.zonesForCountry=function(e,t){if(!(e=i[e.toUpperCase()]||null))return null;var n=e.zones.sort();return t?n.map(function(e){var t=S(e);return{name:e,offset:t.utcOffset(new Date)}}):n};var C=e.fn;function $(e){return function(){return this._z?this._z.abbr(this):e.call(this)}}function M(e){return function(){return this._z=null,e.apply(this,arguments)}}e.tz=E,e.defaultZone=null,e.updateOffset=function(t,n){var r,o=e.defaultZone;if(void 0===t._z&&(o&&Z(t)&&!t._isUTC&&t.isValid()&&(t._d=e.utc(t._a)._d,t.utc().add(o.parse(t),"minutes")),t._z=o),t._z){if(16>Math.abs(r=t._z.utcOffset(t))&&(r/=60),void 0!==t.utcOffset){var i=t._z;t.utcOffset(-r,n),t._z=i}else t.zone(r,n)}},C.tz=function(t,n){if(t){if("string"!=typeof t)throw Error("Time zone name must be a string, got "+t+" ["+typeof t+"]");return this._z=S(t),this._z?e.updateOffset(this,n):j("Moment Timezone has no data for "+t+". See http://momentjs.com/timezone/docs/#/data-loading/."),this}if(this._z)return this._z.name},C.zoneName=$(C.zoneName),C.zoneAbbr=$(C.zoneAbbr),C.utc=M(C.utc),C.local=M(C.local),C.utcOffset=(t=C.utcOffset,function(){return arguments.length>0&&(this._z=null),t.apply(this,arguments)}),e.tz.setDefault=function(t){return(f<2||2===f&&l<9)&&j("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+e.version+"."),e.defaultZone=t?S(t):null,e};var x=e.momentProperties;return"[object Array]"===Object.prototype.toString.call(x)?(x.push("_z"),x.push("_a")):x&&(x._z=null),e},e.exports?e.exports=i(n(99092)):(r=[n(99092)],void 0===(o=i.apply(t,r))||(e.exports=o))},28242:function(e,t,n){"use strict";n.d(t,{F:function(){return f},f:function(){return l}});var r=n(3546);let o=["light","dark"],i="(prefers-color-scheme: dark)",u="undefined"==typeof window,a=(0,r.createContext)(void 0),s={setTheme:e=>{},themes:[]},f=()=>{var e;return null!==(e=(0,r.useContext)(a))&&void 0!==e?e:s},l=e=>(0,r.useContext)(a)?r.createElement(r.Fragment,null,e.children):r.createElement(d,e),c=["light","dark"],d=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:n=!0,enableColorScheme:u=!0,storageKey:s="theme",themes:f=c,defaultTheme:l=n?"system":"light",attribute:d="data-theme",value:b,children:g,nonce:y})=>{let[z,_]=(0,r.useState)(()=>h(s,l)),[w,S]=(0,r.useState)(()=>h(s)),O=b?Object.values(b):f,T=(0,r.useCallback)(e=>{let r=e;if(!r)return;"system"===e&&n&&(r=v());let i=b?b[r]:r,a=t?p():null,s=document.documentElement;if("class"===d?(s.classList.remove(...O),i&&s.classList.add(i)):i?s.setAttribute(d,i):s.removeAttribute(d),u){let e=o.includes(l)?l:null,t=o.includes(r)?r:e;s.style.colorScheme=t}null==a||a()},[]),Z=(0,r.useCallback)(e=>{_(e);try{localStorage.setItem(s,e)}catch(e){}},[e]),j=(0,r.useCallback)(t=>{let r=v(t);S(r),"system"===z&&n&&!e&&T("system")},[z,e]);(0,r.useEffect)(()=>{let e=window.matchMedia(i);return e.addListener(j),j(e),()=>e.removeListener(j)},[j]),(0,r.useEffect)(()=>{let e=e=>{e.key===s&&Z(e.newValue||l)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[Z]),(0,r.useEffect)(()=>{T(null!=e?e:z)},[e,z]);let E=(0,r.useMemo)(()=>({theme:z,setTheme:Z,forcedTheme:e,resolvedTheme:"system"===z?w:z,themes:n?[...f,"system"]:f,systemTheme:n?w:void 0}),[z,Z,e,w,n,f]);return r.createElement(a.Provider,{value:E},r.createElement(m,{forcedTheme:e,disableTransitionOnChange:t,enableSystem:n,enableColorScheme:u,storageKey:s,themes:f,defaultTheme:l,attribute:d,value:b,children:g,attrs:O,nonce:y}),g)},m=(0,r.memo)(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:u,enableColorScheme:a,defaultTheme:s,value:f,attrs:l,nonce:c})=>{let d="system"===s,m="class"===n?`var d=document.documentElement,c=d.classList;c.remove(${l.map(e=>`'${e}'`).join(",")});`:`var d=document.documentElement,n='${n}',s='setAttribute';`,h=a?o.includes(s)&&s?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${s}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",p=(e,t=!1,r=!0)=>{let i=f?f[e]:e,u=t?e+"|| ''":`'${i}'`,s="";return a&&r&&!t&&o.includes(e)&&(s+=`d.style.colorScheme = '${e}';`),"class"===n?s+=t||i?`c.add(${u})`:"null":i&&(s+=`d[s](n,${u})`),s},v=e?`!function(){${m}${p(e)}}()`:u?`!function(){try{${m}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${d})){var t='${i}',m=window.matchMedia(t);if(m.media!==t||m.matches){${p("dark")}}else{${p("light")}}}else if(e){${f?`var x=${JSON.stringify(f)};`:""}${p(f?"x[e]":"e",!0)}}${d?"":"else{"+p(s,!1,!1)+"}"}${h}}catch(e){}}()`:`!function(){try{${m}var e=localStorage.getItem('${t}');if(e){${f?`var x=${JSON.stringify(f)};`:""}${p(f?"x[e]":"e",!0)}}else{${p(s,!1,!1)};}${h}}catch(t){}}();`;return r.createElement("script",{nonce:c,dangerouslySetInnerHTML:{__html:v}})},()=>!0),h=(e,t)=>{let n;if(!u){try{n=localStorage.getItem(e)||void 0}catch(e){}return n||t}},p=()=>{let e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(e)},1)}},v=e=>(e||(e=window.matchMedia(i)),e.matches?"dark":"light")},27952:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});let r=n(68517);n(3546);let o=r._(n(3602));function i(e){return{default:(null==e?void 0:e.default)||e}}function u(e,t){let n=o.default,r={loading:e=>{let{error:t,isLoading:n,pastDelay:r}=e;return null}};"function"==typeof e&&(r.loader=e),Object.assign(r,t);let u=r.loader;return n({...r,loader:()=>null!=u?u().then(i):Promise.resolve(i(()=>null))})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},53187:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{suspense:function(){return o},NoSSR:function(){return i}}),n(68517),n(3546);let r=n(99435);function o(){let e=Error(r.NEXT_DYNAMIC_NO_SSR_CODE);throw e.digest=r.NEXT_DYNAMIC_NO_SSR_CODE,e}function i(e){let{children:t}=e;return t}},3602:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});let r=n(68517),o=r._(n(3546)),i=n(53187),u=function(e){let t=Object.assign({loader:null,loading:null,ssr:!0},e);function n(e){let n=t.loading,r=o.default.createElement(n,{isLoading:!0,pastDelay:!0,error:null}),u=t.ssr?o.default.Fragment:i.NoSSR,a=t.lazy;return o.default.createElement(o.default.Suspense,{fallback:r},o.default.createElement(u,null,o.default.createElement(a,e)))}return t.lazy=o.default.lazy(t.loader),n.displayName="LoadableComponent",n}},25707:function(e,t,n){"use strict";function r(e){let t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new e.constructor(+e):new Date("number"==typeof e||"[object Number]"===t||"string"==typeof e||"[object String]"===t?e:NaN)}n.d(t,{Q:function(){return r}})},1282:function(e,t){"use strict";t.Z=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r=o?e:(0,r.Z)(e,t,n)}},59883:function(e,t){"use strict";var n=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.Z=function(e){return n.test(e)}},14955:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(59883),o="\ud800-\udfff",i="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",u="\ud83c[\udffb-\udfff]",a="[^"+o+"]",s="(?:\ud83c[\udde6-\uddff]){2}",f="[\ud800-\udbff][\udc00-\udfff]",l="(?:"+i+"|"+u+")?",c="[\\ufe0e\\ufe0f]?",d="(?:\\u200d(?:"+[a,s,f].join("|")+")"+c+l+")*",m=RegExp(u+"(?="+u+")|(?:"+[a+i+"?",i,s,f,"["+o+"]"].join("|")+")"+(c+l+d),"g"),h=function(e){return(0,r.Z)(e)?e.match(m)||[]:e.split("")}},6670:function(e,t){"use strict";var n=/\s/;t.Z=function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}},88542:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(53294),o=n(77934),i=n(59883),u=n(14955),a=function(e){e=(0,r.Z)(e);var t=(0,i.Z)(e)?(0,u.Z)(e):void 0,n=t?t[0]:e.charAt(0),a=t?(0,o.Z)(t,1).join(""):e.slice(1);return n.toUpperCase()+a},s=function(e){return a((0,r.Z)(e).toLowerCase())}},45391:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(84639),o=n(48717),i=function(){return o.Z.Date.now()},u=n(26165),a=Math.max,s=Math.min,f=function(e,t,n){var o,f,l,c,d,m,h=0,p=!1,v=!1,b=!0;if("function"!=typeof e)throw TypeError("Expected a function");function g(t){var n=o,r=f;return o=f=void 0,h=t,c=e.apply(r,n)}function y(e){var n=e-m,r=e-h;return void 0===m||n>=t||n<0||v&&r>=l}function z(){var e,n,r,o=i();if(y(o))return _(o);d=setTimeout(z,(e=o-m,n=o-h,r=t-e,v?s(r,l-n):r))}function _(e){return(d=void 0,b&&o)?g(e):(o=f=void 0,c)}function w(){var e,n=i(),r=y(n);if(o=arguments,f=this,m=n,r){if(void 0===d)return h=e=m,d=setTimeout(z,t),p?g(e):c;if(v)return clearTimeout(d),d=setTimeout(z,t),g(m)}return void 0===d&&(d=setTimeout(z,t)),c}return t=(0,u.Z)(t)||0,(0,r.Z)(n)&&(p=!!n.leading,l=(v="maxWait"in n)?a((0,u.Z)(n.maxWait)||0,t):l,b="trailing"in n?!!n.trailing:b),w.cancel=function(){void 0!==d&&clearTimeout(d),h=0,o=m=f=d=void 0},w.flush=function(){return void 0===d?c:_(i())},w}},55357:function(e,t,n){"use strict";var r=n(17996),o=n(96786);t.Z=function(e){return"symbol"==typeof e||(0,o.Z)(e)&&"[object Symbol]"==(0,r.Z)(e)}},26165:function(e,t,n){"use strict";var r=n(18216),o=n(84639),i=n(55357),u=0/0,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,f=/^0o[0-7]+$/i,l=parseInt;t.Z=function(e){if("number"==typeof e)return e;if((0,i.Z)(e))return u;if((0,o.Z)(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=(0,o.Z)(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=(0,r.Z)(e);var n=s.test(e);return n||f.test(e)?l(e.slice(2),n?2:8):a.test(e)?u:+e}}}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8199],{57563:function(e,t,n){(e.exports=n(11438)).tz.load(n(92733))},11438:function(e,t,n){var r,o,i;i=function(e){"use strict";void 0===e.version&&e.default&&(e=e.default);var t,n,r={},o={},i={},u={},s={};e&&"string"==typeof e.version||j("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var a=e.version.split("."),f=+a[0],l=+a[1];function c(e){return e>96?e-87:e>64?e-29:e-48}function d(e){var t,n=0,r=e.split("."),o=r[0],i=r[1]||"",u=1,s=0,a=1;for(45===e.charCodeAt(0)&&(n=1,a=-1);n= 2.6.0. You are using Moment.js "+e.version+". See momentjs.com"),v.prototype={_set:function(e){this.name=e.name,this.abbrs=e.abbrs,this.untils=e.untils,this.offsets=e.offsets,this.population=e.population},_index:function(e){var t;if((t=function(e,t){var n,r=t.length;if(e1&&t[r-1]===1/0&&e>=t[r-2])return r-1;if(e>=t[r-1])return -1;for(var o=0,i=r-1;i-o>1;)t[n=Math.floor((o+i)/2)]<=e?o=n:i=n;return i}(+e,this.untils))>=0)return t},countries:function(){var e=this.name;return Object.keys(i).filter(function(t){return -1!==i[t].zones.indexOf(e)})},parse:function(e){var t,n,r,o,i=+e,u=this.offsets,s=this.untils,a=s.length-1;for(o=0;or&&C.moveInvalidForward&&(t=r),i3){var t=u[_(e)];if(t)return t;j("Moment Timezone found "+e+" from the Intl api, but did not have that data loaded.")}}catch(e){}var n,r,o,i=function(){var e,t,n,r,o=new Date().getFullYear()-2,i=new g(new Date(o,0,1)),u=i.offset,s=[i];for(r=1;r<48;r++)(n=new Date(o,r,1).getTimezoneOffset())!==u&&(s.push(e=function(e,t){for(var n,r;r=((t.at-e.at)/12e4|0)*6e4;)(n=new g(new Date(e.at+r))).offset===e.offset?e=n:t=n;return e}(i,t=new g(new Date(o,r,1)))),s.push(new g(new Date(e.at+6e4))),i=t,u=n);for(r=0;r<4;r++)s.push(new g(new Date(o+r,0,1))),s.push(new g(new Date(o+r,6,1)));return s}(),a=i.length,f=function(e){var t,n,r,o,i=e.length,a={},f=[],l={};for(t=0;t0?l[0].zone.name:void 0}()),n},C.names=function(){var e,t=[];for(e in u)u.hasOwnProperty(e)&&(r[e]||r[o[e]])&&u[e]&&t.push(u[e]);return t.sort()},C.Zone=v,C.unpack=p,C.unpackBase60=d,C.needsOffset=Z,C.moveInvalidForward=!0,C.moveAmbiguousForward=!1,C.countries=function(){return Object.keys(i)},C.zonesForCountry=function(e,t){if(!(e=i[e.toUpperCase()]||null))return null;var n=e.zones.sort();return t?n.map(function(e){var t=S(e);return{name:e,offset:t.utcOffset(new Date)}}):n};var E=e.fn;function $(e){return function(){return this._z?this._z.abbr(this):e.call(this)}}function x(e){return function(){return this._z=null,e.apply(this,arguments)}}e.tz=C,e.defaultZone=null,e.updateOffset=function(t,n){var r,o=e.defaultZone;if(void 0===t._z&&(o&&Z(t)&&!t._isUTC&&t.isValid()&&(t._d=e.utc(t._a)._d,t.utc().add(o.parse(t),"minutes")),t._z=o),t._z){if(16>Math.abs(r=t._z.utcOffset(t))&&(r/=60),void 0!==t.utcOffset){var i=t._z;t.utcOffset(-r,n),t._z=i}else t.zone(r,n)}},E.tz=function(t,n){if(t){if("string"!=typeof t)throw Error("Time zone name must be a string, got "+t+" ["+typeof t+"]");return this._z=S(t),this._z?e.updateOffset(this,n):j("Moment Timezone has no data for "+t+". See http://momentjs.com/timezone/docs/#/data-loading/."),this}if(this._z)return this._z.name},E.zoneName=$(E.zoneName),E.zoneAbbr=$(E.zoneAbbr),E.utc=x(E.utc),E.local=x(E.local),E.utcOffset=(t=E.utcOffset,function(){return arguments.length>0&&(this._z=null),t.apply(this,arguments)}),e.tz.setDefault=function(t){return(f<2||2===f&&l<9)&&j("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+e.version+"."),e.defaultZone=t?S(t):null,e};var M=e.momentProperties;return"[object Array]"===Object.prototype.toString.call(M)?(M.push("_z"),M.push("_a")):M&&(M._z=null),e},e.exports?e.exports=i(n(99092)):(r=[n(99092)],void 0===(o=i.apply(t,r))||(e.exports=o))},28242:function(e,t,n){"use strict";n.d(t,{F:function(){return f},f:function(){return l}});var r=n(3546);let o=["light","dark"],i="(prefers-color-scheme: dark)",u="undefined"==typeof window,s=(0,r.createContext)(void 0),a={setTheme:e=>{},themes:[]},f=()=>{var e;return null!==(e=(0,r.useContext)(s))&&void 0!==e?e:a},l=e=>(0,r.useContext)(s)?r.createElement(r.Fragment,null,e.children):r.createElement(d,e),c=["light","dark"],d=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:n=!0,enableColorScheme:u=!0,storageKey:a="theme",themes:f=c,defaultTheme:l=n?"system":"light",attribute:d="data-theme",value:b,children:g,nonce:y})=>{let[z,_]=(0,r.useState)(()=>h(a,l)),[w,S]=(0,r.useState)(()=>h(a)),O=b?Object.values(b):f,T=(0,r.useCallback)(e=>{let r=e;if(!r)return;"system"===e&&n&&(r=v());let i=b?b[r]:r,s=t?p():null,a=document.documentElement;if("class"===d?(a.classList.remove(...O),i&&a.classList.add(i)):i?a.setAttribute(d,i):a.removeAttribute(d),u){let e=o.includes(l)?l:null,t=o.includes(r)?r:e;a.style.colorScheme=t}null==s||s()},[]),Z=(0,r.useCallback)(e=>{_(e);try{localStorage.setItem(a,e)}catch(e){}},[e]),j=(0,r.useCallback)(t=>{let r=v(t);S(r),"system"===z&&n&&!e&&T("system")},[z,e]);(0,r.useEffect)(()=>{let e=window.matchMedia(i);return e.addListener(j),j(e),()=>e.removeListener(j)},[j]),(0,r.useEffect)(()=>{let e=e=>{e.key===a&&Z(e.newValue||l)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[Z]),(0,r.useEffect)(()=>{T(null!=e?e:z)},[e,z]);let C=(0,r.useMemo)(()=>({theme:z,setTheme:Z,forcedTheme:e,resolvedTheme:"system"===z?w:z,themes:n?[...f,"system"]:f,systemTheme:n?w:void 0}),[z,Z,e,w,n,f]);return r.createElement(s.Provider,{value:C},r.createElement(m,{forcedTheme:e,disableTransitionOnChange:t,enableSystem:n,enableColorScheme:u,storageKey:a,themes:f,defaultTheme:l,attribute:d,value:b,children:g,attrs:O,nonce:y}),g)},m=(0,r.memo)(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:u,enableColorScheme:s,defaultTheme:a,value:f,attrs:l,nonce:c})=>{let d="system"===a,m="class"===n?`var d=document.documentElement,c=d.classList;c.remove(${l.map(e=>`'${e}'`).join(",")});`:`var d=document.documentElement,n='${n}',s='setAttribute';`,h=s?o.includes(a)&&a?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${a}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",p=(e,t=!1,r=!0)=>{let i=f?f[e]:e,u=t?e+"|| ''":`'${i}'`,a="";return s&&r&&!t&&o.includes(e)&&(a+=`d.style.colorScheme = '${e}';`),"class"===n?a+=t||i?`c.add(${u})`:"null":i&&(a+=`d[s](n,${u})`),a},v=e?`!function(){${m}${p(e)}}()`:u?`!function(){try{${m}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${d})){var t='${i}',m=window.matchMedia(t);if(m.media!==t||m.matches){${p("dark")}}else{${p("light")}}}else if(e){${f?`var x=${JSON.stringify(f)};`:""}${p(f?"x[e]":"e",!0)}}${d?"":"else{"+p(a,!1,!1)+"}"}${h}}catch(e){}}()`:`!function(){try{${m}var e=localStorage.getItem('${t}');if(e){${f?`var x=${JSON.stringify(f)};`:""}${p(f?"x[e]":"e",!0)}}else{${p(a,!1,!1)};}${h}}catch(t){}}();`;return r.createElement("script",{nonce:c,dangerouslySetInnerHTML:{__html:v}})},()=>!0),h=(e,t)=>{let n;if(!u){try{n=localStorage.getItem(e)||void 0}catch(e){}return n||t}},p=()=>{let e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(e)},1)}},v=e=>(e||(e=window.matchMedia(i)),e.matches?"dark":"light")},27952:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});let r=n(68517);n(3546);let o=r._(n(3602));function i(e){return{default:(null==e?void 0:e.default)||e}}function u(e,t){let n=o.default,r={loading:e=>{let{error:t,isLoading:n,pastDelay:r}=e;return null}};"function"==typeof e&&(r.loader=e),Object.assign(r,t);let u=r.loader;return n({...r,loader:()=>null!=u?u().then(i):Promise.resolve(i(()=>null))})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},53187:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{suspense:function(){return o},NoSSR:function(){return i}}),n(68517),n(3546);let r=n(99435);function o(){let e=Error(r.NEXT_DYNAMIC_NO_SSR_CODE);throw e.digest=r.NEXT_DYNAMIC_NO_SSR_CODE,e}function i(e){let{children:t}=e;return t}},3602:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});let r=n(68517),o=r._(n(3546)),i=n(53187),u=function(e){let t=Object.assign({loader:null,loading:null,ssr:!0},e);function n(e){let n=t.loading,r=o.default.createElement(n,{isLoading:!0,pastDelay:!0,error:null}),u=t.ssr?o.default.Fragment:i.NoSSR,s=t.lazy;return o.default.createElement(o.default.Suspense,{fallback:r},o.default.createElement(u,null,o.default.createElement(s,e)))}return t.lazy=o.default.lazy(t.loader),n.displayName="LoadableComponent",n}},57541:function(e,t,n){"use strict";n.d(t,{gm:function(){return i}});var r=n(3546);let o=(0,r.createContext)(void 0);function i(e){let t=(0,r.useContext)(o);return e||t||"ltr"}},25707:function(e,t,n){"use strict";function r(e){let t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new e.constructor(+e):new Date("number"==typeof e||"[object Number]"===t||"string"==typeof e||"[object String]"===t?e:NaN)}n.d(t,{Q:function(){return r}})},1282:function(e,t){"use strict";t.Z=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r=o?e:(0,r.Z)(e,t,n)}},59883:function(e,t){"use strict";var n=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.Z=function(e){return n.test(e)}},14955:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(59883),o="\ud800-\udfff",i="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",u="\ud83c[\udffb-\udfff]",s="[^"+o+"]",a="(?:\ud83c[\udde6-\uddff]){2}",f="[\ud800-\udbff][\udc00-\udfff]",l="(?:"+i+"|"+u+")?",c="[\\ufe0e\\ufe0f]?",d="(?:\\u200d(?:"+[s,a,f].join("|")+")"+c+l+")*",m=RegExp(u+"(?="+u+")|(?:"+[s+i+"?",i,a,f,"["+o+"]"].join("|")+")"+(c+l+d),"g"),h=function(e){return(0,r.Z)(e)?e.match(m)||[]:e.split("")}},6670:function(e,t){"use strict";var n=/\s/;t.Z=function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}},88542:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(53294),o=n(77934),i=n(59883),u=n(14955),s=function(e){e=(0,r.Z)(e);var t=(0,i.Z)(e)?(0,u.Z)(e):void 0,n=t?t[0]:e.charAt(0),s=t?(0,o.Z)(t,1).join(""):e.slice(1);return n.toUpperCase()+s},a=function(e){return s((0,r.Z)(e).toLowerCase())}},45391:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(84639),o=n(48717),i=function(){return o.Z.Date.now()},u=n(26165),s=Math.max,a=Math.min,f=function(e,t,n){var o,f,l,c,d,m,h=0,p=!1,v=!1,b=!0;if("function"!=typeof e)throw TypeError("Expected a function");function g(t){var n=o,r=f;return o=f=void 0,h=t,c=e.apply(r,n)}function y(e){var n=e-m,r=e-h;return void 0===m||n>=t||n<0||v&&r>=l}function z(){var e,n,r,o=i();if(y(o))return _(o);d=setTimeout(z,(e=o-m,n=o-h,r=t-e,v?a(r,l-n):r))}function _(e){return(d=void 0,b&&o)?g(e):(o=f=void 0,c)}function w(){var e,n=i(),r=y(n);if(o=arguments,f=this,m=n,r){if(void 0===d)return h=e=m,d=setTimeout(z,t),p?g(e):c;if(v)return clearTimeout(d),d=setTimeout(z,t),g(m)}return void 0===d&&(d=setTimeout(z,t)),c}return t=(0,u.Z)(t)||0,(0,r.Z)(n)&&(p=!!n.leading,l=(v="maxWait"in n)?s((0,u.Z)(n.maxWait)||0,t):l,b="trailing"in n?!!n.trailing:b),w.cancel=function(){void 0!==d&&clearTimeout(d),h=0,o=m=f=d=void 0},w.flush=function(){return void 0===d?c:_(i())},w}},55357:function(e,t,n){"use strict";var r=n(17996),o=n(96786);t.Z=function(e){return"symbol"==typeof e||(0,o.Z)(e)&&"[object Symbol]"==(0,r.Z)(e)}},26165:function(e,t,n){"use strict";var r=n(18216),o=n(84639),i=n(55357),u=0/0,s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,f=/^0o[0-7]+$/i,l=parseInt;t.Z=function(e){if("number"==typeof e)return e;if((0,i.Z)(e))return u;if((0,o.Z)(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=(0,o.Z)(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=(0,r.Z)(e);var n=a.test(e);return n||f.test(e)?l(e.slice(2),n?2:8):s.test(e)?u:+e}}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/8300-094bba24d210db59.js b/ee/tabby-webserver/ui/_next/static/chunks/8300-094bba24d210db59.js new file mode 100644 index 000000000000..a796fdd41dc3 --- /dev/null +++ b/ee/tabby-webserver/ui/_next/static/chunks/8300-094bba24d210db59.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8300],{73037:function(t,e,n){n.d(e,{Z:function(){return i}});function i(t,e){if(null==t)return{};var n,i,r={},s=Object.keys(t);for(i=0;i=0||(r[n]=t[n]);return r}},85656:function(t,e,n){n.d(e,{B:function(){return a}});var i=n(3546),r=n(47091),s=n(79869),o=n(74047);function a(t){let e=t+"CollectionProvider",[n,a]=(0,r.b)(e),[l,h]=n(e,{collectionRef:{current:null},itemMap:new Map}),u=t+"CollectionSlot",c=i.forwardRef((t,e)=>{let{scope:n,children:r}=t,a=h(u,n),l=(0,s.e)(e,a.collectionRef);return i.createElement(o.g7,{ref:l},r)}),p=t+"CollectionItemSlot",d="data-radix-collection-item",f=i.forwardRef((t,e)=>{let{scope:n,children:r,...a}=t,l=i.useRef(null),u=(0,s.e)(e,l),c=h(p,n);return i.useEffect(()=>(c.itemMap.set(l,{ref:l,...a}),()=>void c.itemMap.delete(l))),i.createElement(o.g7,{[d]:"",ref:u},r)});return[{Provider:t=>{let{scope:e,children:n}=t,r=i.useRef(null),s=i.useRef(new Map).current;return i.createElement(l,{scope:e,itemMap:s,collectionRef:r},n)},Slot:c,ItemSlot:f},function(e){let n=h(t+"CollectionConsumer",e),r=i.useCallback(()=>{let t=n.collectionRef.current;if(!t)return[];let e=Array.from(t.querySelectorAll(`[${d}]`)),i=Array.from(n.itemMap.values()),r=i.sort((t,n)=>e.indexOf(t.ref.current)-e.indexOf(n.ref.current));return r},[n.collectionRef,n.itemMap]);return r},a]}},54767:function(t,e,n){n.d(e,{Z:function(){return u}});var i=n(35737),r=[["\xdf","ss"],["ẞ","Ss"],["\xe4","ae"],["\xc4","Ae"],["\xf6","oe"],["\xd6","Oe"],["\xfc","ue"],["\xdc","Ue"],["\xc0","A"],["\xc1","A"],["\xc2","A"],["\xc3","A"],["\xc4","Ae"],["\xc5","A"],["\xc6","AE"],["\xc7","C"],["\xc8","E"],["\xc9","E"],["\xca","E"],["\xcb","E"],["\xcc","I"],["\xcd","I"],["\xce","I"],["\xcf","I"],["\xd0","D"],["\xd1","N"],["\xd2","O"],["\xd3","O"],["\xd4","O"],["\xd5","O"],["\xd6","Oe"],["Ő","O"],["\xd8","O"],["\xd9","U"],["\xda","U"],["\xdb","U"],["\xdc","Ue"],["Ű","U"],["\xdd","Y"],["\xde","TH"],["\xdf","ss"],["\xe0","a"],["\xe1","a"],["\xe2","a"],["\xe3","a"],["\xe4","ae"],["\xe5","a"],["\xe6","ae"],["\xe7","c"],["\xe8","e"],["\xe9","e"],["\xea","e"],["\xeb","e"],["\xec","i"],["\xed","i"],["\xee","i"],["\xef","i"],["\xf0","d"],["\xf1","n"],["\xf2","o"],["\xf3","o"],["\xf4","o"],["\xf5","o"],["\xf6","oe"],["ő","o"],["\xf8","o"],["\xf9","u"],["\xfa","u"],["\xfb","u"],["\xfc","ue"],["ű","u"],["\xfd","y"],["\xfe","th"],["\xff","y"],["ẞ","SS"],["\xe0","a"],["\xc0","A"],["\xe1","a"],["\xc1","A"],["\xe2","a"],["\xc2","A"],["\xe3","a"],["\xc3","A"],["\xe8","e"],["\xc8","E"],["\xe9","e"],["\xc9","E"],["\xea","e"],["\xca","E"],["\xec","i"],["\xcc","I"],["\xed","i"],["\xcd","I"],["\xf2","o"],["\xd2","O"],["\xf3","o"],["\xd3","O"],["\xf4","o"],["\xd4","O"],["\xf5","o"],["\xd5","O"],["\xf9","u"],["\xd9","U"],["\xfa","u"],["\xda","U"],["\xfd","y"],["\xdd","Y"],["ă","a"],["Ă","A"],["Đ","D"],["đ","d"],["ĩ","i"],["Ĩ","I"],["ũ","u"],["Ũ","U"],["ơ","o"],["Ơ","O"],["ư","u"],["Ư","U"],["ạ","a"],["Ạ","A"],["ả","a"],["Ả","A"],["ấ","a"],["Ấ","A"],["ầ","a"],["Ầ","A"],["ẩ","a"],["Ẩ","A"],["ẫ","a"],["Ẫ","A"],["ậ","a"],["Ậ","A"],["ắ","a"],["Ắ","A"],["ằ","a"],["Ằ","A"],["ẳ","a"],["Ẳ","A"],["ẵ","a"],["Ẵ","A"],["ặ","a"],["Ặ","A"],["ẹ","e"],["Ẹ","E"],["ẻ","e"],["Ẻ","E"],["ẽ","e"],["Ẽ","E"],["ế","e"],["Ế","E"],["ề","e"],["Ề","E"],["ể","e"],["Ể","E"],["ễ","e"],["Ễ","E"],["ệ","e"],["Ệ","E"],["ỉ","i"],["Ỉ","I"],["ị","i"],["Ị","I"],["ọ","o"],["Ọ","O"],["ỏ","o"],["Ỏ","O"],["ố","o"],["Ố","O"],["ồ","o"],["Ồ","O"],["ổ","o"],["Ổ","O"],["ỗ","o"],["Ỗ","O"],["ộ","o"],["Ộ","O"],["ớ","o"],["Ớ","O"],["ờ","o"],["Ờ","O"],["ở","o"],["Ở","O"],["ỡ","o"],["Ỡ","O"],["ợ","o"],["Ợ","O"],["ụ","u"],["Ụ","U"],["ủ","u"],["Ủ","U"],["ứ","u"],["Ứ","U"],["ừ","u"],["Ừ","U"],["ử","u"],["Ử","U"],["ữ","u"],["Ữ","U"],["ự","u"],["Ự","U"],["ỳ","y"],["Ỳ","Y"],["ỵ","y"],["Ỵ","Y"],["ỷ","y"],["Ỷ","Y"],["ỹ","y"],["Ỹ","Y"],["ء","e"],["آ","a"],["أ","a"],["ؤ","w"],["إ","i"],["ئ","y"],["ا","a"],["ب","b"],["ة","t"],["ت","t"],["ث","th"],["ج","j"],["ح","h"],["خ","kh"],["د","d"],["ذ","dh"],["ر","r"],["ز","z"],["س","s"],["ش","sh"],["ص","s"],["ض","d"],["ط","t"],["ظ","z"],["ع","e"],["غ","gh"],["ـ","_"],["ف","f"],["ق","q"],["ك","k"],["ل","l"],["م","m"],["ن","n"],["ه","h"],["و","w"],["ى","a"],["ي","y"],["َ‎","a"],["ُ","u"],["ِ‎","i"],["٠","0"],["١","1"],["٢","2"],["٣","3"],["٤","4"],["٥","5"],["٦","6"],["٧","7"],["٨","8"],["٩","9"],["چ","ch"],["ک","k"],["گ","g"],["پ","p"],["ژ","zh"],["ی","y"],["۰","0"],["۱","1"],["۲","2"],["۳","3"],["۴","4"],["۵","5"],["۶","6"],["۷","7"],["۸","8"],["۹","9"],["ټ","p"],["ځ","z"],["څ","c"],["ډ","d"],["ﺫ","d"],["ﺭ","r"],["ړ","r"],["ﺯ","z"],["ږ","g"],["ښ","x"],["ګ","g"],["ڼ","n"],["ۀ","e"],["ې","e"],["ۍ","ai"],["ٹ","t"],["ڈ","d"],["ڑ","r"],["ں","n"],["ہ","h"],["ھ","h"],["ے","e"],["А","A"],["а","a"],["Б","B"],["б","b"],["В","V"],["в","v"],["Г","G"],["г","g"],["Д","D"],["д","d"],["ъе","ye"],["Ъе","Ye"],["ъЕ","yE"],["ЪЕ","YE"],["Е","E"],["е","e"],["Ё","Yo"],["ё","yo"],["Ж","Zh"],["ж","zh"],["З","Z"],["з","z"],["И","I"],["и","i"],["ый","iy"],["Ый","Iy"],["ЫЙ","IY"],["ыЙ","iY"],["Й","Y"],["й","y"],["К","K"],["к","k"],["Л","L"],["л","l"],["М","M"],["м","m"],["Н","N"],["н","n"],["О","O"],["о","o"],["П","P"],["п","p"],["Р","R"],["р","r"],["С","S"],["с","s"],["Т","T"],["т","t"],["У","U"],["у","u"],["Ф","F"],["ф","f"],["Х","Kh"],["х","kh"],["Ц","Ts"],["ц","ts"],["Ч","Ch"],["ч","ch"],["Ш","Sh"],["ш","sh"],["Щ","Sch"],["щ","sch"],["Ъ",""],["ъ",""],["Ы","Y"],["ы","y"],["Ь",""],["ь",""],["Э","E"],["э","e"],["Ю","Yu"],["ю","yu"],["Я","Ya"],["я","ya"],["ă","a"],["Ă","A"],["ș","s"],["Ș","S"],["ț","t"],["Ț","T"],["ţ","t"],["Ţ","T"],["ş","s"],["Ş","S"],["\xe7","c"],["\xc7","C"],["ğ","g"],["Ğ","G"],["ı","i"],["İ","I"],["ա","a"],["Ա","A"],["բ","b"],["Բ","B"],["գ","g"],["Գ","G"],["դ","d"],["Դ","D"],["ե","ye"],["Ե","Ye"],["զ","z"],["Զ","Z"],["է","e"],["Է","E"],["ը","y"],["Ը","Y"],["թ","t"],["Թ","T"],["ժ","zh"],["Ժ","Zh"],["ի","i"],["Ի","I"],["լ","l"],["Լ","L"],["խ","kh"],["Խ","Kh"],["ծ","ts"],["Ծ","Ts"],["կ","k"],["Կ","K"],["հ","h"],["Հ","H"],["ձ","dz"],["Ձ","Dz"],["ղ","gh"],["Ղ","Gh"],["ճ","tch"],["Ճ","Tch"],["մ","m"],["Մ","M"],["յ","y"],["Յ","Y"],["ն","n"],["Ն","N"],["շ","sh"],["Շ","Sh"],["ո","vo"],["Ո","Vo"],["չ","ch"],["Չ","Ch"],["պ","p"],["Պ","P"],["ջ","j"],["Ջ","J"],["ռ","r"],["Ռ","R"],["ս","s"],["Ս","S"],["վ","v"],["Վ","V"],["տ","t"],["Տ","T"],["ր","r"],["Ր","R"],["ց","c"],["Ց","C"],["ու","u"],["ՈՒ","U"],["Ու","U"],["փ","p"],["Փ","P"],["ք","q"],["Ք","Q"],["օ","o"],["Օ","O"],["ֆ","f"],["Ֆ","F"],["և","yev"],["ა","a"],["ბ","b"],["გ","g"],["დ","d"],["ე","e"],["ვ","v"],["ზ","z"],["თ","t"],["ი","i"],["კ","k"],["ლ","l"],["მ","m"],["ნ","n"],["ო","o"],["პ","p"],["ჟ","zh"],["რ","r"],["ს","s"],["ტ","t"],["უ","u"],["ფ","ph"],["ქ","q"],["ღ","gh"],["ყ","k"],["შ","sh"],["ჩ","ch"],["ც","ts"],["ძ","dz"],["წ","ts"],["ჭ","tch"],["ხ","kh"],["ჯ","j"],["ჰ","h"],["č","c"],["ď","d"],["ě","e"],["ň","n"],["ř","r"],["š","s"],["ť","t"],["ů","u"],["ž","z"],["Č","C"],["Ď","D"],["Ě","E"],["Ň","N"],["Ř","R"],["Š","S"],["Ť","T"],["Ů","U"],["Ž","Z"],["ހ","h"],["ށ","sh"],["ނ","n"],["ރ","r"],["ބ","b"],["ޅ","lh"],["ކ","k"],["އ","a"],["ވ","v"],["މ","m"],["ފ","f"],["ދ","dh"],["ތ","th"],["ލ","l"],["ގ","g"],["ޏ","gn"],["ސ","s"],["ޑ","d"],["ޒ","z"],["ޓ","t"],["ޔ","y"],["ޕ","p"],["ޖ","j"],["ޗ","ch"],["ޘ","tt"],["ޙ","hh"],["ޚ","kh"],["ޛ","th"],["ޜ","z"],["ޝ","sh"],["ޞ","s"],["ޟ","d"],["ޠ","t"],["ޡ","z"],["ޢ","a"],["ޣ","gh"],["ޤ","q"],["ޥ","w"],["ަ","a"],["ާ","aa"],["ި","i"],["ީ","ee"],["ު","u"],["ޫ","oo"],["ެ","e"],["ޭ","ey"],["ޮ","o"],["ޯ","oa"],["ް",""],["α","a"],["β","v"],["γ","g"],["δ","d"],["ε","e"],["ζ","z"],["η","i"],["θ","th"],["ι","i"],["κ","k"],["λ","l"],["μ","m"],["ν","n"],["ξ","ks"],["ο","o"],["π","p"],["ρ","r"],["σ","s"],["τ","t"],["υ","y"],["φ","f"],["χ","x"],["ψ","ps"],["ω","o"],["ά","a"],["έ","e"],["ί","i"],["ό","o"],["ύ","y"],["ή","i"],["ώ","o"],["ς","s"],["ϊ","i"],["ΰ","y"],["ϋ","y"],["ΐ","i"],["Α","A"],["Β","B"],["Γ","G"],["Δ","D"],["Ε","E"],["Ζ","Z"],["Η","I"],["Θ","TH"],["Ι","I"],["Κ","K"],["Λ","L"],["Μ","M"],["Ν","N"],["Ξ","KS"],["Ο","O"],["Π","P"],["Ρ","R"],["Σ","S"],["Τ","T"],["Υ","Y"],["Φ","F"],["Χ","X"],["Ψ","PS"],["Ω","O"],["Ά","A"],["Έ","E"],["Ί","I"],["Ό","O"],["Ύ","Y"],["Ή","I"],["Ώ","O"],["Ϊ","I"],["Ϋ","Y"],["ā","a"],["ē","e"],["ģ","g"],["ī","i"],["ķ","k"],["ļ","l"],["ņ","n"],["ū","u"],["Ā","A"],["Ē","E"],["Ģ","G"],["Ī","I"],["Ķ","K"],["Ļ","L"],["Ņ","N"],["Ū","U"],["č","c"],["š","s"],["ž","z"],["Č","C"],["Š","S"],["Ž","Z"],["ą","a"],["č","c"],["ę","e"],["ė","e"],["į","i"],["š","s"],["ų","u"],["ū","u"],["ž","z"],["Ą","A"],["Č","C"],["Ę","E"],["Ė","E"],["Į","I"],["Š","S"],["Ų","U"],["Ū","U"],["Ќ","Kj"],["ќ","kj"],["Љ","Lj"],["љ","lj"],["Њ","Nj"],["њ","nj"],["Тс","Ts"],["тс","ts"],["ą","a"],["ć","c"],["ę","e"],["ł","l"],["ń","n"],["ś","s"],["ź","z"],["ż","z"],["Ą","A"],["Ć","C"],["Ę","E"],["Ł","L"],["Ń","N"],["Ś","S"],["Ź","Z"],["Ż","Z"],["Є","Ye"],["І","I"],["Ї","Yi"],["Ґ","G"],["є","ye"],["і","i"],["ї","yi"],["ґ","g"],["IJ","IJ"],["ij","ij"],["\xa2","c"],["\xa5","Y"],["߿","b"],["৳","t"],["૱","Bo"],["฿","B"],["₠","CE"],["₡","C"],["₢","Cr"],["₣","F"],["₥","m"],["₦","N"],["₧","Pt"],["₨","Rs"],["₩","W"],["₫","s"],["€","E"],["₭","K"],["₮","T"],["₯","Dp"],["₰","S"],["₱","P"],["₲","G"],["₳","A"],["₴","S"],["₵","C"],["₶","tt"],["₷","S"],["₸","T"],["₹","R"],["₺","L"],["₽","P"],["₿","B"],["﹩","$"],["¢","c"],["¥","Y"],["₩","W"],["\uD835\uDC00","A"],["\uD835\uDC01","B"],["\uD835\uDC02","C"],["\uD835\uDC03","D"],["\uD835\uDC04","E"],["\uD835\uDC05","F"],["\uD835\uDC06","G"],["\uD835\uDC07","H"],["\uD835\uDC08","I"],["\uD835\uDC09","J"],["\uD835\uDC0A","K"],["\uD835\uDC0B","L"],["\uD835\uDC0C","M"],["\uD835\uDC0D","N"],["\uD835\uDC0E","O"],["\uD835\uDC0F","P"],["\uD835\uDC10","Q"],["\uD835\uDC11","R"],["\uD835\uDC12","S"],["\uD835\uDC13","T"],["\uD835\uDC14","U"],["\uD835\uDC15","V"],["\uD835\uDC16","W"],["\uD835\uDC17","X"],["\uD835\uDC18","Y"],["\uD835\uDC19","Z"],["\uD835\uDC1A","a"],["\uD835\uDC1B","b"],["\uD835\uDC1C","c"],["\uD835\uDC1D","d"],["\uD835\uDC1E","e"],["\uD835\uDC1F","f"],["\uD835\uDC20","g"],["\uD835\uDC21","h"],["\uD835\uDC22","i"],["\uD835\uDC23","j"],["\uD835\uDC24","k"],["\uD835\uDC25","l"],["\uD835\uDC26","m"],["\uD835\uDC27","n"],["\uD835\uDC28","o"],["\uD835\uDC29","p"],["\uD835\uDC2A","q"],["\uD835\uDC2B","r"],["\uD835\uDC2C","s"],["\uD835\uDC2D","t"],["\uD835\uDC2E","u"],["\uD835\uDC2F","v"],["\uD835\uDC30","w"],["\uD835\uDC31","x"],["\uD835\uDC32","y"],["\uD835\uDC33","z"],["\uD835\uDC34","A"],["\uD835\uDC35","B"],["\uD835\uDC36","C"],["\uD835\uDC37","D"],["\uD835\uDC38","E"],["\uD835\uDC39","F"],["\uD835\uDC3A","G"],["\uD835\uDC3B","H"],["\uD835\uDC3C","I"],["\uD835\uDC3D","J"],["\uD835\uDC3E","K"],["\uD835\uDC3F","L"],["\uD835\uDC40","M"],["\uD835\uDC41","N"],["\uD835\uDC42","O"],["\uD835\uDC43","P"],["\uD835\uDC44","Q"],["\uD835\uDC45","R"],["\uD835\uDC46","S"],["\uD835\uDC47","T"],["\uD835\uDC48","U"],["\uD835\uDC49","V"],["\uD835\uDC4A","W"],["\uD835\uDC4B","X"],["\uD835\uDC4C","Y"],["\uD835\uDC4D","Z"],["\uD835\uDC4E","a"],["\uD835\uDC4F","b"],["\uD835\uDC50","c"],["\uD835\uDC51","d"],["\uD835\uDC52","e"],["\uD835\uDC53","f"],["\uD835\uDC54","g"],["\uD835\uDC56","i"],["\uD835\uDC57","j"],["\uD835\uDC58","k"],["\uD835\uDC59","l"],["\uD835\uDC5A","m"],["\uD835\uDC5B","n"],["\uD835\uDC5C","o"],["\uD835\uDC5D","p"],["\uD835\uDC5E","q"],["\uD835\uDC5F","r"],["\uD835\uDC60","s"],["\uD835\uDC61","t"],["\uD835\uDC62","u"],["\uD835\uDC63","v"],["\uD835\uDC64","w"],["\uD835\uDC65","x"],["\uD835\uDC66","y"],["\uD835\uDC67","z"],["\uD835\uDC68","A"],["\uD835\uDC69","B"],["\uD835\uDC6A","C"],["\uD835\uDC6B","D"],["\uD835\uDC6C","E"],["\uD835\uDC6D","F"],["\uD835\uDC6E","G"],["\uD835\uDC6F","H"],["\uD835\uDC70","I"],["\uD835\uDC71","J"],["\uD835\uDC72","K"],["\uD835\uDC73","L"],["\uD835\uDC74","M"],["\uD835\uDC75","N"],["\uD835\uDC76","O"],["\uD835\uDC77","P"],["\uD835\uDC78","Q"],["\uD835\uDC79","R"],["\uD835\uDC7A","S"],["\uD835\uDC7B","T"],["\uD835\uDC7C","U"],["\uD835\uDC7D","V"],["\uD835\uDC7E","W"],["\uD835\uDC7F","X"],["\uD835\uDC80","Y"],["\uD835\uDC81","Z"],["\uD835\uDC82","a"],["\uD835\uDC83","b"],["\uD835\uDC84","c"],["\uD835\uDC85","d"],["\uD835\uDC86","e"],["\uD835\uDC87","f"],["\uD835\uDC88","g"],["\uD835\uDC89","h"],["\uD835\uDC8A","i"],["\uD835\uDC8B","j"],["\uD835\uDC8C","k"],["\uD835\uDC8D","l"],["\uD835\uDC8E","m"],["\uD835\uDC8F","n"],["\uD835\uDC90","o"],["\uD835\uDC91","p"],["\uD835\uDC92","q"],["\uD835\uDC93","r"],["\uD835\uDC94","s"],["\uD835\uDC95","t"],["\uD835\uDC96","u"],["\uD835\uDC97","v"],["\uD835\uDC98","w"],["\uD835\uDC99","x"],["\uD835\uDC9A","y"],["\uD835\uDC9B","z"],["\uD835\uDC9C","A"],["\uD835\uDC9E","C"],["\uD835\uDC9F","D"],["\uD835\uDCA2","g"],["\uD835\uDCA5","J"],["\uD835\uDCA6","K"],["\uD835\uDCA9","N"],["\uD835\uDCAA","O"],["\uD835\uDCAB","P"],["\uD835\uDCAC","Q"],["\uD835\uDCAE","S"],["\uD835\uDCAF","T"],["\uD835\uDCB0","U"],["\uD835\uDCB1","V"],["\uD835\uDCB2","W"],["\uD835\uDCB3","X"],["\uD835\uDCB4","Y"],["\uD835\uDCB5","Z"],["\uD835\uDCB6","a"],["\uD835\uDCB7","b"],["\uD835\uDCB8","c"],["\uD835\uDCB9","d"],["\uD835\uDCBB","f"],["\uD835\uDCBD","h"],["\uD835\uDCBE","i"],["\uD835\uDCBF","j"],["\uD835\uDCC0","h"],["\uD835\uDCC1","l"],["\uD835\uDCC2","m"],["\uD835\uDCC3","n"],["\uD835\uDCC5","p"],["\uD835\uDCC6","q"],["\uD835\uDCC7","r"],["\uD835\uDCC8","s"],["\uD835\uDCC9","t"],["\uD835\uDCCA","u"],["\uD835\uDCCB","v"],["\uD835\uDCCC","w"],["\uD835\uDCCD","x"],["\uD835\uDCCE","y"],["\uD835\uDCCF","z"],["\uD835\uDCD0","A"],["\uD835\uDCD1","B"],["\uD835\uDCD2","C"],["\uD835\uDCD3","D"],["\uD835\uDCD4","E"],["\uD835\uDCD5","F"],["\uD835\uDCD6","G"],["\uD835\uDCD7","H"],["\uD835\uDCD8","I"],["\uD835\uDCD9","J"],["\uD835\uDCDA","K"],["\uD835\uDCDB","L"],["\uD835\uDCDC","M"],["\uD835\uDCDD","N"],["\uD835\uDCDE","O"],["\uD835\uDCDF","P"],["\uD835\uDCE0","Q"],["\uD835\uDCE1","R"],["\uD835\uDCE2","S"],["\uD835\uDCE3","T"],["\uD835\uDCE4","U"],["\uD835\uDCE5","V"],["\uD835\uDCE6","W"],["\uD835\uDCE7","X"],["\uD835\uDCE8","Y"],["\uD835\uDCE9","Z"],["\uD835\uDCEA","a"],["\uD835\uDCEB","b"],["\uD835\uDCEC","c"],["\uD835\uDCED","d"],["\uD835\uDCEE","e"],["\uD835\uDCEF","f"],["\uD835\uDCF0","g"],["\uD835\uDCF1","h"],["\uD835\uDCF2","i"],["\uD835\uDCF3","j"],["\uD835\uDCF4","k"],["\uD835\uDCF5","l"],["\uD835\uDCF6","m"],["\uD835\uDCF7","n"],["\uD835\uDCF8","o"],["\uD835\uDCF9","p"],["\uD835\uDCFA","q"],["\uD835\uDCFB","r"],["\uD835\uDCFC","s"],["\uD835\uDCFD","t"],["\uD835\uDCFE","u"],["\uD835\uDCFF","v"],["\uD835\uDD00","w"],["\uD835\uDD01","x"],["\uD835\uDD02","y"],["\uD835\uDD03","z"],["\uD835\uDD04","A"],["\uD835\uDD05","B"],["\uD835\uDD07","D"],["\uD835\uDD08","E"],["\uD835\uDD09","F"],["\uD835\uDD0A","G"],["\uD835\uDD0D","J"],["\uD835\uDD0E","K"],["\uD835\uDD0F","L"],["\uD835\uDD10","M"],["\uD835\uDD11","N"],["\uD835\uDD12","O"],["\uD835\uDD13","P"],["\uD835\uDD14","Q"],["\uD835\uDD16","S"],["\uD835\uDD17","T"],["\uD835\uDD18","U"],["\uD835\uDD19","V"],["\uD835\uDD1A","W"],["\uD835\uDD1B","X"],["\uD835\uDD1C","Y"],["\uD835\uDD1E","a"],["\uD835\uDD1F","b"],["\uD835\uDD20","c"],["\uD835\uDD21","d"],["\uD835\uDD22","e"],["\uD835\uDD23","f"],["\uD835\uDD24","g"],["\uD835\uDD25","h"],["\uD835\uDD26","i"],["\uD835\uDD27","j"],["\uD835\uDD28","k"],["\uD835\uDD29","l"],["\uD835\uDD2A","m"],["\uD835\uDD2B","n"],["\uD835\uDD2C","o"],["\uD835\uDD2D","p"],["\uD835\uDD2E","q"],["\uD835\uDD2F","r"],["\uD835\uDD30","s"],["\uD835\uDD31","t"],["\uD835\uDD32","u"],["\uD835\uDD33","v"],["\uD835\uDD34","w"],["\uD835\uDD35","x"],["\uD835\uDD36","y"],["\uD835\uDD37","z"],["\uD835\uDD38","A"],["\uD835\uDD39","B"],["\uD835\uDD3B","D"],["\uD835\uDD3C","E"],["\uD835\uDD3D","F"],["\uD835\uDD3E","G"],["\uD835\uDD40","I"],["\uD835\uDD41","J"],["\uD835\uDD42","K"],["\uD835\uDD43","L"],["\uD835\uDD44","M"],["\uD835\uDD46","N"],["\uD835\uDD4A","S"],["\uD835\uDD4B","T"],["\uD835\uDD4C","U"],["\uD835\uDD4D","V"],["\uD835\uDD4E","W"],["\uD835\uDD4F","X"],["\uD835\uDD50","Y"],["\uD835\uDD52","a"],["\uD835\uDD53","b"],["\uD835\uDD54","c"],["\uD835\uDD55","d"],["\uD835\uDD56","e"],["\uD835\uDD57","f"],["\uD835\uDD58","g"],["\uD835\uDD59","h"],["\uD835\uDD5A","i"],["\uD835\uDD5B","j"],["\uD835\uDD5C","k"],["\uD835\uDD5D","l"],["\uD835\uDD5E","m"],["\uD835\uDD5F","n"],["\uD835\uDD60","o"],["\uD835\uDD61","p"],["\uD835\uDD62","q"],["\uD835\uDD63","r"],["\uD835\uDD64","s"],["\uD835\uDD65","t"],["\uD835\uDD66","u"],["\uD835\uDD67","v"],["\uD835\uDD68","w"],["\uD835\uDD69","x"],["\uD835\uDD6A","y"],["\uD835\uDD6B","z"],["\uD835\uDD6C","A"],["\uD835\uDD6D","B"],["\uD835\uDD6E","C"],["\uD835\uDD6F","D"],["\uD835\uDD70","E"],["\uD835\uDD71","F"],["\uD835\uDD72","G"],["\uD835\uDD73","H"],["\uD835\uDD74","I"],["\uD835\uDD75","J"],["\uD835\uDD76","K"],["\uD835\uDD77","L"],["\uD835\uDD78","M"],["\uD835\uDD79","N"],["\uD835\uDD7A","O"],["\uD835\uDD7B","P"],["\uD835\uDD7C","Q"],["\uD835\uDD7D","R"],["\uD835\uDD7E","S"],["\uD835\uDD7F","T"],["\uD835\uDD80","U"],["\uD835\uDD81","V"],["\uD835\uDD82","W"],["\uD835\uDD83","X"],["\uD835\uDD84","Y"],["\uD835\uDD85","Z"],["\uD835\uDD86","a"],["\uD835\uDD87","b"],["\uD835\uDD88","c"],["\uD835\uDD89","d"],["\uD835\uDD8A","e"],["\uD835\uDD8B","f"],["\uD835\uDD8C","g"],["\uD835\uDD8D","h"],["\uD835\uDD8E","i"],["\uD835\uDD8F","j"],["\uD835\uDD90","k"],["\uD835\uDD91","l"],["\uD835\uDD92","m"],["\uD835\uDD93","n"],["\uD835\uDD94","o"],["\uD835\uDD95","p"],["\uD835\uDD96","q"],["\uD835\uDD97","r"],["\uD835\uDD98","s"],["\uD835\uDD99","t"],["\uD835\uDD9A","u"],["\uD835\uDD9B","v"],["\uD835\uDD9C","w"],["\uD835\uDD9D","x"],["\uD835\uDD9E","y"],["\uD835\uDD9F","z"],["\uD835\uDDA0","A"],["\uD835\uDDA1","B"],["\uD835\uDDA2","C"],["\uD835\uDDA3","D"],["\uD835\uDDA4","E"],["\uD835\uDDA5","F"],["\uD835\uDDA6","G"],["\uD835\uDDA7","H"],["\uD835\uDDA8","I"],["\uD835\uDDA9","J"],["\uD835\uDDAA","K"],["\uD835\uDDAB","L"],["\uD835\uDDAC","M"],["\uD835\uDDAD","N"],["\uD835\uDDAE","O"],["\uD835\uDDAF","P"],["\uD835\uDDB0","Q"],["\uD835\uDDB1","R"],["\uD835\uDDB2","S"],["\uD835\uDDB3","T"],["\uD835\uDDB4","U"],["\uD835\uDDB5","V"],["\uD835\uDDB6","W"],["\uD835\uDDB7","X"],["\uD835\uDDB8","Y"],["\uD835\uDDB9","Z"],["\uD835\uDDBA","a"],["\uD835\uDDBB","b"],["\uD835\uDDBC","c"],["\uD835\uDDBD","d"],["\uD835\uDDBE","e"],["\uD835\uDDBF","f"],["\uD835\uDDC0","g"],["\uD835\uDDC1","h"],["\uD835\uDDC2","i"],["\uD835\uDDC3","j"],["\uD835\uDDC4","k"],["\uD835\uDDC5","l"],["\uD835\uDDC6","m"],["\uD835\uDDC7","n"],["\uD835\uDDC8","o"],["\uD835\uDDC9","p"],["\uD835\uDDCA","q"],["\uD835\uDDCB","r"],["\uD835\uDDCC","s"],["\uD835\uDDCD","t"],["\uD835\uDDCE","u"],["\uD835\uDDCF","v"],["\uD835\uDDD0","w"],["\uD835\uDDD1","x"],["\uD835\uDDD2","y"],["\uD835\uDDD3","z"],["\uD835\uDDD4","A"],["\uD835\uDDD5","B"],["\uD835\uDDD6","C"],["\uD835\uDDD7","D"],["\uD835\uDDD8","E"],["\uD835\uDDD9","F"],["\uD835\uDDDA","G"],["\uD835\uDDDB","H"],["\uD835\uDDDC","I"],["\uD835\uDDDD","J"],["\uD835\uDDDE","K"],["\uD835\uDDDF","L"],["\uD835\uDDE0","M"],["\uD835\uDDE1","N"],["\uD835\uDDE2","O"],["\uD835\uDDE3","P"],["\uD835\uDDE4","Q"],["\uD835\uDDE5","R"],["\uD835\uDDE6","S"],["\uD835\uDDE7","T"],["\uD835\uDDE8","U"],["\uD835\uDDE9","V"],["\uD835\uDDEA","W"],["\uD835\uDDEB","X"],["\uD835\uDDEC","Y"],["\uD835\uDDED","Z"],["\uD835\uDDEE","a"],["\uD835\uDDEF","b"],["\uD835\uDDF0","c"],["\uD835\uDDF1","d"],["\uD835\uDDF2","e"],["\uD835\uDDF3","f"],["\uD835\uDDF4","g"],["\uD835\uDDF5","h"],["\uD835\uDDF6","i"],["\uD835\uDDF7","j"],["\uD835\uDDF8","k"],["\uD835\uDDF9","l"],["\uD835\uDDFA","m"],["\uD835\uDDFB","n"],["\uD835\uDDFC","o"],["\uD835\uDDFD","p"],["\uD835\uDDFE","q"],["\uD835\uDDFF","r"],["\uD835\uDE00","s"],["\uD835\uDE01","t"],["\uD835\uDE02","u"],["\uD835\uDE03","v"],["\uD835\uDE04","w"],["\uD835\uDE05","x"],["\uD835\uDE06","y"],["\uD835\uDE07","z"],["\uD835\uDE08","A"],["\uD835\uDE09","B"],["\uD835\uDE0A","C"],["\uD835\uDE0B","D"],["\uD835\uDE0C","E"],["\uD835\uDE0D","F"],["\uD835\uDE0E","G"],["\uD835\uDE0F","H"],["\uD835\uDE10","I"],["\uD835\uDE11","J"],["\uD835\uDE12","K"],["\uD835\uDE13","L"],["\uD835\uDE14","M"],["\uD835\uDE15","N"],["\uD835\uDE16","O"],["\uD835\uDE17","P"],["\uD835\uDE18","Q"],["\uD835\uDE19","R"],["\uD835\uDE1A","S"],["\uD835\uDE1B","T"],["\uD835\uDE1C","U"],["\uD835\uDE1D","V"],["\uD835\uDE1E","W"],["\uD835\uDE1F","X"],["\uD835\uDE20","Y"],["\uD835\uDE21","Z"],["\uD835\uDE22","a"],["\uD835\uDE23","b"],["\uD835\uDE24","c"],["\uD835\uDE25","d"],["\uD835\uDE26","e"],["\uD835\uDE27","f"],["\uD835\uDE28","g"],["\uD835\uDE29","h"],["\uD835\uDE2A","i"],["\uD835\uDE2B","j"],["\uD835\uDE2C","k"],["\uD835\uDE2D","l"],["\uD835\uDE2E","m"],["\uD835\uDE2F","n"],["\uD835\uDE30","o"],["\uD835\uDE31","p"],["\uD835\uDE32","q"],["\uD835\uDE33","r"],["\uD835\uDE34","s"],["\uD835\uDE35","t"],["\uD835\uDE36","u"],["\uD835\uDE37","v"],["\uD835\uDE38","w"],["\uD835\uDE39","x"],["\uD835\uDE3A","y"],["\uD835\uDE3B","z"],["\uD835\uDE3C","A"],["\uD835\uDE3D","B"],["\uD835\uDE3E","C"],["\uD835\uDE3F","D"],["\uD835\uDE40","E"],["\uD835\uDE41","F"],["\uD835\uDE42","G"],["\uD835\uDE43","H"],["\uD835\uDE44","I"],["\uD835\uDE45","J"],["\uD835\uDE46","K"],["\uD835\uDE47","L"],["\uD835\uDE48","M"],["\uD835\uDE49","N"],["\uD835\uDE4A","O"],["\uD835\uDE4B","P"],["\uD835\uDE4C","Q"],["\uD835\uDE4D","R"],["\uD835\uDE4E","S"],["\uD835\uDE4F","T"],["\uD835\uDE50","U"],["\uD835\uDE51","V"],["\uD835\uDE52","W"],["\uD835\uDE53","X"],["\uD835\uDE54","Y"],["\uD835\uDE55","Z"],["\uD835\uDE56","a"],["\uD835\uDE57","b"],["\uD835\uDE58","c"],["\uD835\uDE59","d"],["\uD835\uDE5A","e"],["\uD835\uDE5B","f"],["\uD835\uDE5C","g"],["\uD835\uDE5D","h"],["\uD835\uDE5E","i"],["\uD835\uDE5F","j"],["\uD835\uDE60","k"],["\uD835\uDE61","l"],["\uD835\uDE62","m"],["\uD835\uDE63","n"],["\uD835\uDE64","o"],["\uD835\uDE65","p"],["\uD835\uDE66","q"],["\uD835\uDE67","r"],["\uD835\uDE68","s"],["\uD835\uDE69","t"],["\uD835\uDE6A","u"],["\uD835\uDE6B","v"],["\uD835\uDE6C","w"],["\uD835\uDE6D","x"],["\uD835\uDE6E","y"],["\uD835\uDE6F","z"],["\uD835\uDE70","A"],["\uD835\uDE71","B"],["\uD835\uDE72","C"],["\uD835\uDE73","D"],["\uD835\uDE74","E"],["\uD835\uDE75","F"],["\uD835\uDE76","G"],["\uD835\uDE77","H"],["\uD835\uDE78","I"],["\uD835\uDE79","J"],["\uD835\uDE7A","K"],["\uD835\uDE7B","L"],["\uD835\uDE7C","M"],["\uD835\uDE7D","N"],["\uD835\uDE7E","O"],["\uD835\uDE7F","P"],["\uD835\uDE80","Q"],["\uD835\uDE81","R"],["\uD835\uDE82","S"],["\uD835\uDE83","T"],["\uD835\uDE84","U"],["\uD835\uDE85","V"],["\uD835\uDE86","W"],["\uD835\uDE87","X"],["\uD835\uDE88","Y"],["\uD835\uDE89","Z"],["\uD835\uDE8A","a"],["\uD835\uDE8B","b"],["\uD835\uDE8C","c"],["\uD835\uDE8D","d"],["\uD835\uDE8E","e"],["\uD835\uDE8F","f"],["\uD835\uDE90","g"],["\uD835\uDE91","h"],["\uD835\uDE92","i"],["\uD835\uDE93","j"],["\uD835\uDE94","k"],["\uD835\uDE95","l"],["\uD835\uDE96","m"],["\uD835\uDE97","n"],["\uD835\uDE98","o"],["\uD835\uDE99","p"],["\uD835\uDE9A","q"],["\uD835\uDE9B","r"],["\uD835\uDE9C","s"],["\uD835\uDE9D","t"],["\uD835\uDE9E","u"],["\uD835\uDE9F","v"],["\uD835\uDEA0","w"],["\uD835\uDEA1","x"],["\uD835\uDEA2","y"],["\uD835\uDEA3","z"],["\uD835\uDEA4","l"],["\uD835\uDEA5","j"],["\uD835\uDEE2","A"],["\uD835\uDEE3","B"],["\uD835\uDEE4","G"],["\uD835\uDEE5","D"],["\uD835\uDEE6","E"],["\uD835\uDEE7","Z"],["\uD835\uDEE8","I"],["\uD835\uDEE9","TH"],["\uD835\uDEEA","I"],["\uD835\uDEEB","K"],["\uD835\uDEEC","L"],["\uD835\uDEED","M"],["\uD835\uDEEE","N"],["\uD835\uDEEF","KS"],["\uD835\uDEF0","O"],["\uD835\uDEF1","P"],["\uD835\uDEF2","R"],["\uD835\uDEF3","TH"],["\uD835\uDEF4","S"],["\uD835\uDEF5","T"],["\uD835\uDEF6","Y"],["\uD835\uDEF7","F"],["\uD835\uDEF8","x"],["\uD835\uDEF9","PS"],["\uD835\uDEFA","O"],["\uD835\uDEFB","D"],["\uD835\uDEFC","a"],["\uD835\uDEFD","b"],["\uD835\uDEFE","g"],["\uD835\uDEFF","d"],["\uD835\uDF00","e"],["\uD835\uDF01","z"],["\uD835\uDF02","i"],["\uD835\uDF03","th"],["\uD835\uDF04","i"],["\uD835\uDF05","k"],["\uD835\uDF06","l"],["\uD835\uDF07","m"],["\uD835\uDF08","n"],["\uD835\uDF09","ks"],["\uD835\uDF0A","o"],["\uD835\uDF0B","p"],["\uD835\uDF0C","r"],["\uD835\uDF0D","s"],["\uD835\uDF0E","s"],["\uD835\uDF0F","t"],["\uD835\uDF10","y"],["\uD835\uDF11","f"],["\uD835\uDF12","x"],["\uD835\uDF13","ps"],["\uD835\uDF14","o"],["\uD835\uDF15","d"],["\uD835\uDF16","E"],["\uD835\uDF17","TH"],["\uD835\uDF18","K"],["\uD835\uDF19","f"],["\uD835\uDF1A","r"],["\uD835\uDF1B","p"],["\uD835\uDF1C","A"],["\uD835\uDF1D","V"],["\uD835\uDF1E","G"],["\uD835\uDF1F","D"],["\uD835\uDF20","E"],["\uD835\uDF21","Z"],["\uD835\uDF22","I"],["\uD835\uDF23","TH"],["\uD835\uDF24","I"],["\uD835\uDF25","K"],["\uD835\uDF26","L"],["\uD835\uDF27","M"],["\uD835\uDF28","N"],["\uD835\uDF29","KS"],["\uD835\uDF2A","O"],["\uD835\uDF2B","P"],["\uD835\uDF2C","S"],["\uD835\uDF2D","TH"],["\uD835\uDF2E","S"],["\uD835\uDF2F","T"],["\uD835\uDF30","Y"],["\uD835\uDF31","F"],["\uD835\uDF32","X"],["\uD835\uDF33","PS"],["\uD835\uDF34","O"],["\uD835\uDF35","D"],["\uD835\uDF36","a"],["\uD835\uDF37","v"],["\uD835\uDF38","g"],["\uD835\uDF39","d"],["\uD835\uDF3A","e"],["\uD835\uDF3B","z"],["\uD835\uDF3C","i"],["\uD835\uDF3D","th"],["\uD835\uDF3E","i"],["\uD835\uDF3F","k"],["\uD835\uDF40","l"],["\uD835\uDF41","m"],["\uD835\uDF42","n"],["\uD835\uDF43","ks"],["\uD835\uDF44","o"],["\uD835\uDF45","p"],["\uD835\uDF46","r"],["\uD835\uDF47","s"],["\uD835\uDF48","s"],["\uD835\uDF49","t"],["\uD835\uDF4A","y"],["\uD835\uDF4B","f"],["\uD835\uDF4C","x"],["\uD835\uDF4D","ps"],["\uD835\uDF4E","o"],["\uD835\uDF4F","a"],["\uD835\uDF50","e"],["\uD835\uDF51","i"],["\uD835\uDF52","k"],["\uD835\uDF53","f"],["\uD835\uDF54","r"],["\uD835\uDF55","p"],["\uD835\uDF56","A"],["\uD835\uDF57","B"],["\uD835\uDF58","G"],["\uD835\uDF59","D"],["\uD835\uDF5A","E"],["\uD835\uDF5B","Z"],["\uD835\uDF5C","I"],["\uD835\uDF5D","TH"],["\uD835\uDF5E","I"],["\uD835\uDF5F","K"],["\uD835\uDF60","L"],["\uD835\uDF61","M"],["\uD835\uDF62","N"],["\uD835\uDF63","KS"],["\uD835\uDF64","O"],["\uD835\uDF65","P"],["\uD835\uDF66","R"],["\uD835\uDF67","TH"],["\uD835\uDF68","S"],["\uD835\uDF69","T"],["\uD835\uDF6A","Y"],["\uD835\uDF6B","F"],["\uD835\uDF6C","X"],["\uD835\uDF6D","PS"],["\uD835\uDF6E","O"],["\uD835\uDF6F","D"],["\uD835\uDF70","a"],["\uD835\uDF71","v"],["\uD835\uDF72","g"],["\uD835\uDF73","d"],["\uD835\uDF74","e"],["\uD835\uDF75","z"],["\uD835\uDF76","i"],["\uD835\uDF77","th"],["\uD835\uDF78","i"],["\uD835\uDF79","k"],["\uD835\uDF7A","l"],["\uD835\uDF7B","m"],["\uD835\uDF7C","n"],["\uD835\uDF7D","ks"],["\uD835\uDF7E","o"],["\uD835\uDF7F","p"],["\uD835\uDF80","r"],["\uD835\uDF81","s"],["\uD835\uDF82","s"],["\uD835\uDF83","t"],["\uD835\uDF84","y"],["\uD835\uDF85","f"],["\uD835\uDF86","x"],["\uD835\uDF87","ps"],["\uD835\uDF88","o"],["\uD835\uDF89","a"],["\uD835\uDF8A","e"],["\uD835\uDF8B","i"],["\uD835\uDF8C","k"],["\uD835\uDF8D","f"],["\uD835\uDF8E","r"],["\uD835\uDF8F","p"],["\uD835\uDF90","A"],["\uD835\uDF91","V"],["\uD835\uDF92","G"],["\uD835\uDF93","D"],["\uD835\uDF94","E"],["\uD835\uDF95","Z"],["\uD835\uDF96","I"],["\uD835\uDF97","TH"],["\uD835\uDF98","I"],["\uD835\uDF99","K"],["\uD835\uDF9A","L"],["\uD835\uDF9B","M"],["\uD835\uDF9C","N"],["\uD835\uDF9D","KS"],["\uD835\uDF9E","O"],["\uD835\uDF9F","P"],["\uD835\uDFA0","S"],["\uD835\uDFA1","TH"],["\uD835\uDFA2","S"],["\uD835\uDFA3","T"],["\uD835\uDFA4","Y"],["\uD835\uDFA5","F"],["\uD835\uDFA6","X"],["\uD835\uDFA7","PS"],["\uD835\uDFA8","O"],["\uD835\uDFA9","D"],["\uD835\uDFAA","av"],["\uD835\uDFAB","g"],["\uD835\uDFAC","d"],["\uD835\uDFAD","e"],["\uD835\uDFAE","z"],["\uD835\uDFAF","i"],["\uD835\uDFB0","i"],["\uD835\uDFB1","th"],["\uD835\uDFB2","i"],["\uD835\uDFB3","k"],["\uD835\uDFB4","l"],["\uD835\uDFB5","m"],["\uD835\uDFB6","n"],["\uD835\uDFB7","ks"],["\uD835\uDFB8","o"],["\uD835\uDFB9","p"],["\uD835\uDFBA","r"],["\uD835\uDFBB","s"],["\uD835\uDFBC","s"],["\uD835\uDFBD","t"],["\uD835\uDFBE","y"],["\uD835\uDFBF","f"],["\uD835\uDFC0","x"],["\uD835\uDFC1","ps"],["\uD835\uDFC2","o"],["\uD835\uDFC3","a"],["\uD835\uDFC4","e"],["\uD835\uDFC5","i"],["\uD835\uDFC6","k"],["\uD835\uDFC7","f"],["\uD835\uDFC8","r"],["\uD835\uDFC9","p"],["\uD835\uDFCA","F"],["\uD835\uDFCB","f"],["⒜","(a)"],["⒝","(b)"],["⒞","(c)"],["⒟","(d)"],["⒠","(e)"],["⒡","(f)"],["⒢","(g)"],["⒣","(h)"],["⒤","(i)"],["⒥","(j)"],["⒦","(k)"],["⒧","(l)"],["⒨","(m)"],["⒩","(n)"],["⒪","(o)"],["⒫","(p)"],["⒬","(q)"],["⒭","(r)"],["⒮","(s)"],["⒯","(t)"],["⒰","(u)"],["⒱","(v)"],["⒲","(w)"],["⒳","(x)"],["⒴","(y)"],["⒵","(z)"],["Ⓐ","(A)"],["Ⓑ","(B)"],["Ⓒ","(C)"],["Ⓓ","(D)"],["Ⓔ","(E)"],["Ⓕ","(F)"],["Ⓖ","(G)"],["Ⓗ","(H)"],["Ⓘ","(I)"],["Ⓙ","(J)"],["Ⓚ","(K)"],["Ⓛ","(L)"],["Ⓝ","(N)"],["Ⓞ","(O)"],["Ⓟ","(P)"],["Ⓠ","(Q)"],["Ⓡ","(R)"],["Ⓢ","(S)"],["Ⓣ","(T)"],["Ⓤ","(U)"],["Ⓥ","(V)"],["Ⓦ","(W)"],["Ⓧ","(X)"],["Ⓨ","(Y)"],["Ⓩ","(Z)"],["ⓐ","(a)"],["ⓑ","(b)"],["ⓒ","(b)"],["ⓓ","(c)"],["ⓔ","(e)"],["ⓕ","(f)"],["ⓖ","(g)"],["ⓗ","(h)"],["ⓘ","(i)"],["ⓙ","(j)"],["ⓚ","(k)"],["ⓛ","(l)"],["ⓜ","(m)"],["ⓝ","(n)"],["ⓞ","(o)"],["ⓟ","(p)"],["ⓠ","(q)"],["ⓡ","(r)"],["ⓢ","(s)"],["ⓣ","(t)"],["ⓤ","(u)"],["ⓥ","(v)"],["ⓦ","(w)"],["ⓧ","(x)"],["ⓨ","(y)"],["ⓩ","(z)"],["Ċ","C"],["ċ","c"],["Ġ","G"],["ġ","g"],["Ħ","H"],["ħ","h"],["Ż","Z"],["ż","z"],["\uD835\uDFCE","0"],["\uD835\uDFCF","1"],["\uD835\uDFD0","2"],["\uD835\uDFD1","3"],["\uD835\uDFD2","4"],["\uD835\uDFD3","5"],["\uD835\uDFD4","6"],["\uD835\uDFD5","7"],["\uD835\uDFD6","8"],["\uD835\uDFD7","9"],["\uD835\uDFD8","0"],["\uD835\uDFD9","1"],["\uD835\uDFDA","2"],["\uD835\uDFDB","3"],["\uD835\uDFDC","4"],["\uD835\uDFDD","5"],["\uD835\uDFDE","6"],["\uD835\uDFDF","7"],["\uD835\uDFE0","8"],["\uD835\uDFE1","9"],["\uD835\uDFE2","0"],["\uD835\uDFE3","1"],["\uD835\uDFE4","2"],["\uD835\uDFE5","3"],["\uD835\uDFE6","4"],["\uD835\uDFE7","5"],["\uD835\uDFE8","6"],["\uD835\uDFE9","7"],["\uD835\uDFEA","8"],["\uD835\uDFEB","9"],["\uD835\uDFEC","0"],["\uD835\uDFED","1"],["\uD835\uDFEE","2"],["\uD835\uDFEF","3"],["\uD835\uDFF0","4"],["\uD835\uDFF1","5"],["\uD835\uDFF2","6"],["\uD835\uDFF3","7"],["\uD835\uDFF4","8"],["\uD835\uDFF5","9"],["\uD835\uDFF6","0"],["\uD835\uDFF7","1"],["\uD835\uDFF8","2"],["\uD835\uDFF9","3"],["\uD835\uDFFA","4"],["\uD835\uDFFB","5"],["\uD835\uDFFC","6"],["\uD835\uDFFD","7"],["\uD835\uDFFE","8"],["\uD835\uDFFF","9"],["①","1"],["②","2"],["③","3"],["④","4"],["⑤","5"],["⑥","6"],["⑦","7"],["⑧","8"],["⑨","9"],["⑩","10"],["⑪","11"],["⑫","12"],["⑬","13"],["⑭","14"],["⑮","15"],["⑯","16"],["⑰","17"],["⑱","18"],["⑲","19"],["⑳","20"],["⑴","1"],["⑵","2"],["⑶","3"],["⑷","4"],["⑸","5"],["⑹","6"],["⑺","7"],["⑻","8"],["⑼","9"],["⑽","10"],["⑾","11"],["⑿","12"],["⒀","13"],["⒁","14"],["⒂","15"],["⒃","16"],["⒄","17"],["⒅","18"],["⒆","19"],["⒇","20"],["⒈","1."],["⒉","2."],["⒊","3."],["⒋","4."],["⒌","5."],["⒍","6."],["⒎","7."],["⒏","8."],["⒐","9."],["⒑","10."],["⒒","11."],["⒓","12."],["⒔","13."],["⒕","14."],["⒖","15."],["⒗","16."],["⒘","17."],["⒙","18."],["⒚","19."],["⒛","20."],["⓪","0"],["⓫","11"],["⓬","12"],["⓭","13"],["⓮","14"],["⓯","15"],["⓰","16"],["⓱","17"],["⓲","18"],["⓳","19"],["⓴","20"],["⓵","1"],["⓶","2"],["⓷","3"],["⓸","4"],["⓹","5"],["⓺","6"],["⓻","7"],["⓼","8"],["⓽","9"],["⓾","10"],["⓿","0"],["\uD83D\uDE70","&"],["\uD83D\uDE71","&"],["\uD83D\uDE72","&"],["\uD83D\uDE73","&"],["\uD83D\uDE74","&"],["\uD83D\uDE75","&"],["\uD83D\uDE76",'"'],["\uD83D\uDE77",'"'],["\uD83D\uDE78",'"'],["‽","?!"],["\uD83D\uDE79","?!"],["\uD83D\uDE7A","?!"],["\uD83D\uDE7B","?!"],["\uD83D\uDE7C","/"],["\uD83D\uDE7D","\\"],["\uD83D\uDF07","AR"],["\uD83D\uDF08","V"],["\uD83D\uDF09","V"],["\uD83D\uDF06","VR"],["\uD83D\uDF05","VF"],["\uD83D\uDF29","2"],["\uD83D\uDF2A","5"],["\uD83D\uDF61","f"],["\uD83D\uDF62","W"],["\uD83D\uDF63","U"],["\uD83D\uDF67","V"],["\uD83D\uDF68","T"],["\uD83D\uDF6A","V"],["\uD83D\uDF6B","MB"],["\uD83D\uDF6C","VB"],["\uD83D\uDF72","3B"],["\uD83D\uDF73","3B"],["\uD83D\uDCAF","100"],["\uD83D\uDD19","BACK"],["\uD83D\uDD1A","END"],["\uD83D\uDD1B","ON!"],["\uD83D\uDD1C","SOON"],["\uD83D\uDD1D","TOP"],["\uD83D\uDD1E","18"],["\uD83D\uDD24","abc"],["\uD83D\uDD20","ABCD"],["\uD83D\uDD21","abcd"],["\uD83D\uDD22","1234"],["\uD83D\uDD23","T&@%"],["#️⃣","#"],["*️⃣","*"],["0️⃣","0"],["1️⃣","1"],["2️⃣","2"],["3️⃣","3"],["4️⃣","4"],["5️⃣","5"],["6️⃣","6"],["7️⃣","7"],["8️⃣","8"],["9️⃣","9"],["\uD83D\uDD1F","10"],["\uD83C\uDD70️","A"],["\uD83C\uDD71️","B"],["\uD83C\uDD8E","AB"],["\uD83C\uDD91","CL"],["\uD83C\uDD7E️","O"],["\uD83C\uDD7F","P"],["\uD83C\uDD98","SOS"],["\uD83C\uDD72","C"],["\uD83C\uDD73","D"],["\uD83C\uDD74","E"],["\uD83C\uDD75","F"],["\uD83C\uDD76","G"],["\uD83C\uDD77","H"],["\uD83C\uDD78","I"],["\uD83C\uDD79","J"],["\uD83C\uDD7A","K"],["\uD83C\uDD7B","L"],["\uD83C\uDD7C","M"],["\uD83C\uDD7D","N"],["\uD83C\uDD80","Q"],["\uD83C\uDD81","R"],["\uD83C\uDD82","S"],["\uD83C\uDD83","T"],["\uD83C\uDD84","U"],["\uD83C\uDD85","V"],["\uD83C\uDD86","W"],["\uD83C\uDD87","X"],["\uD83C\uDD88","Y"],["\uD83C\uDD89","Z"]];let s=(t,e)=>{for(let[n,r]of e)t=t.replace(RegExp((0,i.Z)(n),"g"),r);return t};var o=[["&"," and "],["\uD83E\uDD84"," unicorn "],["♥"," love "]];let a=t=>t.replace(/([A-Z]{2,})(\d+)/g,"$1 $2").replace(/([a-z\d]+)([A-Z]{2,})/g,"$1 $2").replace(/([a-z\d])([A-Z])/g,"$1 $2").replace(/([A-Z]+)([A-Z][a-rt-z\d]+)/g,"$1 $2"),l=(t,e)=>{let n=(0,i.Z)(e);return t.replace(RegExp(`${n}{2,}`,"g"),e).replace(RegExp(`^${n}|${n}$`,"g"),"")},h=t=>{let e="a-z\\d";if(e+=t.lowercase?"":"A-Z",t.preserveCharacters.length>0)for(let n of t.preserveCharacters){if(n===t.separator)throw Error(`The separator character \`${t.separator}\` cannot be included in preserved characters: ${t.preserveCharacters}`);e+=(0,i.Z)(n)}return RegExp(`[^${e}]+`,"g")};function u(t,e){if("string"!=typeof t)throw TypeError(`Expected a string, got \`${typeof t}\``);e={separator:"-",lowercase:!0,decamelize:!0,customReplacements:[],preserveLeadingUnderscore:!1,preserveTrailingDash:!1,preserveCharacters:[],...e};let n=e.preserveLeadingUnderscore&&t.startsWith("_"),i=e.preserveTrailingDash&&t.endsWith("-"),u=new Map([...o,...e.customReplacements]);t=function(t,e){if("string"!=typeof t)throw TypeError(`Expected a string, got \`${typeof t}\``);e={customReplacements:[],...e};let n=new Map([...r,...e.customReplacements]);return t=(t=s(t=t.normalize(),n)).normalize("NFD").replace(/\p{Diacritic}/gu,"").normalize()}(t,{customReplacements:u}),e.decamelize&&(t=a(t));let c=h(e);return e.lowercase&&(t=t.toLowerCase()),t=(t=(t=t.replace(/([a-zA-Z\d]+)'([ts])(\s|$)/g,"$1$2$3")).replace(c,e.separator)).replace(/\\/g,""),e.separator&&(t=l(t,e.separator)),n&&(t=`_${t}`),i&&(t=`${t}-`),t}},68035:function(t,e,n){n.d(e,{M_:function(){return M},T5:function(){return E},fW:function(){return R},jE:function(){return b},kg:function(){return m}});var i,r,s=n(3546),o=n(30171),a=n(31408),l={exports:{}},h={};l.exports=function(){if(i)return h;i=1;var t="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},e=s.useState,n=s.useEffect,r=s.useLayoutEffect,o=s.useDebugValue;function a(e){var n=e.getSnapshot;e=e.value;try{var i=n();return!t(e,i)}catch(t){return!0}}var l="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(t,e){return e()}:function(t,i){var s=i(),l=e({inst:{value:s,getSnapshot:i}}),h=l[0].inst,u=l[1];return r(function(){h.value=s,h.getSnapshot=i,a(h)&&u({inst:h})},[t,s,i]),n(function(){return a(h)&&u({inst:h}),t(function(){a(h)&&u({inst:h})})},[t]),o(s),s};return h.useSyncExternalStore=void 0!==s.useSyncExternalStore?s.useSyncExternalStore:l,h}();var u=l.exports;let c=(...t)=>e=>{t.forEach(t=>{"function"==typeof t?t(e):t&&(t.current=e)})},p=({contentComponent:t})=>{let e=u.useSyncExternalStore(t.subscribe,t.getSnapshot,t.getServerSnapshot);return s.createElement(s.Fragment,null,Object.values(e))};class d extends s.Component{constructor(t){var e;super(t),this.editorContentRef=s.createRef(),this.initialized=!1,this.state={hasContentComponentInitialized:!!(null===(e=t.editor)||void 0===e?void 0:e.contentComponent)}}componentDidMount(){this.init()}componentDidUpdate(){this.init()}init(){let t=this.props.editor;if(t&&!t.isDestroyed&&t.options.element){if(t.contentComponent)return;let e=this.editorContentRef.current;e.append(...t.options.element.childNodes),t.setOptions({element:e}),t.contentComponent=function(){let t=new Set,e={};return{subscribe:e=>(t.add(e),()=>{t.delete(e)}),getSnapshot:()=>e,getServerSnapshot:()=>e,setRenderer(n,i){e={...e,[n]:o.createPortal(i.reactElement,i.element,n)},t.forEach(t=>t())},removeRenderer(n){let i={...e};delete i[n],e=i,t.forEach(t=>t())}}}(),this.state.hasContentComponentInitialized||(this.unsubscribeToContentComponent=t.contentComponent.subscribe(()=>{this.setState(t=>t.hasContentComponentInitialized?t:{hasContentComponentInitialized:!0}),this.unsubscribeToContentComponent&&this.unsubscribeToContentComponent()})),t.createNodeViews(),this.initialized=!0}}componentWillUnmount(){let t=this.props.editor;if(!t||(this.initialized=!1,t.isDestroyed||t.view.setProps({nodeViews:{}}),this.unsubscribeToContentComponent&&this.unsubscribeToContentComponent(),t.contentComponent=null,!t.options.element.firstChild))return;let e=document.createElement("div");e.append(...t.options.element.childNodes),t.setOptions({element:e})}render(){let{editor:t,innerRef:e,...n}=this.props;return s.createElement(s.Fragment,null,s.createElement("div",{ref:c(e,this.editorContentRef),...n}),(null==t?void 0:t.contentComponent)&&s.createElement(p,{contentComponent:t.contentComponent}))}}let f=(0,s.forwardRef)((t,e)=>{let n=s.useMemo(()=>Math.floor(4294967295*Math.random()).toString(),[t.editor]);return s.createElement(d,{key:n,innerRef:e,...t})}),m=s.memo(f);var g={exports:{}},y={};g.exports=function(){if(r)return y;r=1;var t="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},e=u.useSyncExternalStore,n=s.useRef,i=s.useEffect,o=s.useMemo,a=s.useDebugValue;return y.useSyncExternalStoreWithSelector=function(r,s,l,h,u){var c=n(null);if(null===c.current){var p={hasValue:!1,value:null};c.current=p}else p=c.current;var d=e(r,(c=o(function(){function e(e){if(!r){if(r=!0,n=e,e=h(e),void 0!==u&&p.hasValue){var s=p.value;if(u(s,e))return i=s}return i=e}if(s=i,t(n,e))return s;var o=h(e);return void 0!==u&&u(s,o)?s:(n=e,i=o)}var n,i,r=!1,o=void 0===l?null:l;return[function(){return e(s())},null===o?void 0:function(){return e(o())}]},[s,l,h,u]))[0],c[1]);return i(function(){p.hasValue=!0,p.value=d},[d]),a(d),d},y}();var v=g.exports;class x{constructor(t){this.transactionNumber=0,this.lastTransactionNumber=0,this.subscribers=new Set,this.editor=t,this.lastSnapshot={editor:t,transactionNumber:0},this.getSnapshot=this.getSnapshot.bind(this),this.getServerSnapshot=this.getServerSnapshot.bind(this),this.watch=this.watch.bind(this),this.subscribe=this.subscribe.bind(this)}getSnapshot(){return this.transactionNumber===this.lastTransactionNumber||(this.lastTransactionNumber=this.transactionNumber,this.lastSnapshot={editor:this.editor,transactionNumber:this.transactionNumber}),this.lastSnapshot}getServerSnapshot(){return{editor:null,transactionNumber:0}}subscribe(t){return this.subscribers.add(t),()=>{this.subscribers.delete(t)}}watch(t){if(this.editor=t,this.editor){let t=()=>{this.transactionNumber+=1,this.subscribers.forEach(t=>t())},e=this.editor;return e.on("transaction",t),()=>{e.off("transaction",t)}}}}let w="undefined"==typeof window,S=w||!!("undefined"!=typeof window&&window.next);class k{constructor(t){this.editor=null,this.subscriptions=new Set,this.isComponentMounted=!1,this.previousDeps=null,this.instanceId="",this.options=t,this.subscriptions=new Set,this.setEditor(this.getInitialEditor()),this.scheduleDestroy(),this.getEditor=this.getEditor.bind(this),this.getServerSnapshot=this.getServerSnapshot.bind(this),this.subscribe=this.subscribe.bind(this),this.refreshEditorInstance=this.refreshEditorInstance.bind(this),this.scheduleDestroy=this.scheduleDestroy.bind(this),this.onRender=this.onRender.bind(this),this.createEditor=this.createEditor.bind(this)}setEditor(t){this.editor=t,this.instanceId=Math.random().toString(36).slice(2,9),this.subscriptions.forEach(t=>t())}getInitialEditor(){return void 0===this.options.current.immediatelyRender?w||S?null:this.createEditor():(this.options.current.immediatelyRender,this.options.current.immediatelyRender?this.createEditor():null)}createEditor(){let t={...this.options.current,onBeforeCreate:(...t)=>{var e,n;return null===(n=(e=this.options.current).onBeforeCreate)||void 0===n?void 0:n.call(e,...t)},onBlur:(...t)=>{var e,n;return null===(n=(e=this.options.current).onBlur)||void 0===n?void 0:n.call(e,...t)},onCreate:(...t)=>{var e,n;return null===(n=(e=this.options.current).onCreate)||void 0===n?void 0:n.call(e,...t)},onDestroy:(...t)=>{var e,n;return null===(n=(e=this.options.current).onDestroy)||void 0===n?void 0:n.call(e,...t)},onFocus:(...t)=>{var e,n;return null===(n=(e=this.options.current).onFocus)||void 0===n?void 0:n.call(e,...t)},onSelectionUpdate:(...t)=>{var e,n;return null===(n=(e=this.options.current).onSelectionUpdate)||void 0===n?void 0:n.call(e,...t)},onTransaction:(...t)=>{var e,n;return null===(n=(e=this.options.current).onTransaction)||void 0===n?void 0:n.call(e,...t)},onUpdate:(...t)=>{var e,n;return null===(n=(e=this.options.current).onUpdate)||void 0===n?void 0:n.call(e,...t)},onContentError:(...t)=>{var e,n;return null===(n=(e=this.options.current).onContentError)||void 0===n?void 0:n.call(e,...t)}},e=new a.ML(t);return e}getEditor(){return this.editor}getServerSnapshot(){return null}subscribe(t){return this.subscriptions.add(t),()=>{this.subscriptions.delete(t)}}onRender(t){return()=>(this.isComponentMounted=!0,clearTimeout(this.scheduledDestructionTimeout),this.editor&&!this.editor.isDestroyed&&0===t.length?this.editor.setOptions(this.options.current):this.refreshEditorInstance(t),()=>{this.isComponentMounted=!1,this.scheduleDestroy()})}refreshEditorInstance(t){if(this.editor&&!this.editor.isDestroyed){if(null===this.previousDeps){this.previousDeps=t;return}let e=this.previousDeps.length===t.length&&this.previousDeps.every((e,n)=>e===t[n]);if(e)return}this.editor&&!this.editor.isDestroyed&&this.editor.destroy(),this.setEditor(this.createEditor()),this.previousDeps=t}scheduleDestroy(){let t=this.instanceId,e=this.editor;this.scheduledDestructionTimeout=setTimeout(()=>{if(this.isComponentMounted&&this.instanceId===t){e&&e.setOptions(this.options.current);return}e&&!e.isDestroyed&&(e.destroy(),this.instanceId===t&&this.setEditor(null))},1)}}function b(t={},e=[]){let n=(0,s.useRef)(t);n.current=t;let[i]=(0,s.useState)(()=>new k(n)),r=u.useSyncExternalStore(i.subscribe,i.getEditor,i.getServerSnapshot);return(0,s.useDebugValue)(r),(0,s.useEffect)(i.onRender(e)),!function(t){let[e]=(0,s.useState)(()=>new x(t.editor)),n=v.useSyncExternalStoreWithSelector(e.subscribe,e.getSnapshot,e.getServerSnapshot,t.selector,t.equalityFn);(0,s.useEffect)(()=>e.watch(t.editor),[t.editor,e]),(0,s.useDebugValue)(n)}({editor:r,selector:({transactionNumber:e})=>!1===t.shouldRerenderOnTransaction?null:t.immediatelyRender&&0===e?0:e+1}),r}let T=(0,s.createContext)({editor:null});T.Consumer;let C=(0,s.createContext)({onDragStart:void 0}),A=()=>(0,s.useContext)(C),E=s.forwardRef((t,e)=>{let{onDragStart:n}=A(),i=t.as||"div";return s.createElement(i,{...t,ref:e,"data-node-view-wrapper":"",onDragStart:n,style:{whiteSpace:"normal",...t.style}})});class M{constructor(t,{editor:e,props:n={},as:i="div",className:r="",attrs:s}){this.ref=null,this.id=Math.floor(4294967295*Math.random()).toString(),this.component=t,this.editor=e,this.props=n,this.element=document.createElement(i),this.element.classList.add("react-renderer"),r&&this.element.classList.add(...r.split(" ")),s&&Object.keys(s).forEach(t=>{this.element.setAttribute(t,s[t])}),this.editor.isInitialized?(0,o.flushSync)(()=>{this.render()}):this.render()}render(){var t,e;let n=this.component,i=this.props,r=this.editor;("function"==typeof n&&n.prototype&&n.prototype.isReactComponent||"object"==typeof n&&(null===(e=n.$$typeof)||void 0===e?void 0:e.toString())==="Symbol(react.forward_ref)")&&(i.ref=t=>{this.ref=t}),this.reactElement=s.createElement(n,i),null===(t=null==r?void 0:r.contentComponent)||void 0===t||t.setRenderer(this.id,this)}updateProps(t={}){this.props={...this.props,...t},this.render()}destroy(){var t;let e=this.editor;null===(t=null==e?void 0:e.contentComponent)||void 0===t||t.removeRenderer(this.id)}}class P extends a.DK{mount(){let t={editor:this.editor,node:this.node,decorations:this.decorations,selected:!1,extension:this.extension,getPos:()=>this.getPos(),updateAttributes:(t={})=>this.updateAttributes(t),deleteNode:()=>this.deleteNode()};if(!this.component.displayName){var e;this.component.displayName=(e=this.extension.name).charAt(0).toUpperCase()+e.substring(1)}let n=this.onDragStart.bind(this),i={onDragStart:n,nodeViewContentRef:t=>{t&&this.contentDOMElement&&t.firstChild!==this.contentDOMElement&&t.appendChild(this.contentDOMElement)}},r=this.component,o=s.memo(t=>s.createElement(C.Provider,{value:i},s.createElement(r,t)));o.displayName="ReactNodeView",this.node.isLeaf?this.contentDOMElement=null:this.options.contentDOMElementTag?this.contentDOMElement=document.createElement(this.options.contentDOMElementTag):this.contentDOMElement=document.createElement(this.node.isInline?"span":"div"),this.contentDOMElement&&(this.contentDOMElement.style.whiteSpace="inherit");let a=this.node.isInline?"span":"div";this.options.as&&(a=this.options.as);let{className:l=""}=this.options;this.handleSelectionUpdate=this.handleSelectionUpdate.bind(this),this.editor.on("selectionUpdate",this.handleSelectionUpdate),this.renderer=new M(o,{editor:this.editor,props:t,as:a,className:`node-${this.node.type.name} ${l}`.trim(),attrs:this.options.attrs})}get dom(){var t;if(this.renderer.element.firstElementChild&&!(null===(t=this.renderer.element.firstElementChild)||void 0===t?void 0:t.hasAttribute("data-node-view-wrapper")))throw Error("Please use the NodeViewWrapper component for your node view.");return this.renderer.element}get contentDOM(){return this.node.isLeaf?null:this.contentDOMElement}handleSelectionUpdate(){let{from:t,to:e}=this.editor.state.selection;if(t<=this.getPos()&&e>=this.getPos()+this.node.nodeSize){if(this.renderer.props.selected)return;this.selectNode()}else{if(!this.renderer.props.selected)return;this.deselectNode()}}update(t,e){let n=t=>{this.renderer.updateProps(t)};if(t.type!==this.node.type)return!1;if("function"==typeof this.options.update){let i=this.node,r=this.decorations;return this.node=t,this.decorations=e,this.options.update({oldNode:i,oldDecorations:r,newNode:t,newDecorations:e,updateProps:()=>n({node:t,decorations:e})})}return t===this.node&&this.decorations===e||(this.node=t,this.decorations=e,n({node:t,decorations:e}),!0)}selectNode(){this.renderer.updateProps({selected:!0}),this.renderer.element.classList.add("ProseMirror-selectednode")}deselectNode(){this.renderer.updateProps({selected:!1}),this.renderer.element.classList.remove("ProseMirror-selectednode")}destroy(){this.renderer.destroy(),this.editor.off("selectionUpdate",this.handleSelectionUpdate),this.contentDOMElement=null}}function R(t,e){return n=>n.editor.contentComponent?new P(t,n,e):{}}},94755:function(t,e,n){n.d(e,{iP:function(){return r}});var i=n(3546);function r(){let[t,e]=i.useState({width:null,height:null});return i.useLayoutEffect(()=>{let t=()=>{e({width:window.innerWidth,height:window.innerHeight})};return t(),window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}},[]),t}},35737:function(t,e,n){n.d(e,{Z:function(){return i}});function i(t){if("string"!=typeof t)throw TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},17463:function(t,e,n){n.d(e,{p:function(){return r}});var i=n(3546);let r=(0,i.createContext)({})},63566:function(t,e,n){n.d(e,{_:function(){return r}});var i=n(3546);let r=(0,i.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},5934:function(t,e,n){n.d(e,{O:function(){return r}});var i=n(3546);let r=(0,i.createContext)(null)},84837:function(t,e,n){let i;function r(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}n.d(e,{E:function(){return sr}});let s=t=>Array.isArray(t);function o(t,e){if(!Array.isArray(e))return!1;let n=e.length;if(n!==t.length)return!1;for(let i=0;i{e[0][n]=t.get(),e[1][n]=t.getVelocity()}),e}function h(t,e,n,i){if("function"==typeof e){let[r,s]=l(i);e=e(void 0!==n?n:t.custom,r,s)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[r,s]=l(i);e=e(void 0!==n?n:t.custom,r,s)}return e}function u(t,e,n){let i=t.getProps();return h(i,e,void 0!==n?n:i.custom,t)}let c=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],p=["initial",...c],d=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],f=new Set(d),m=t=>1e3*t,g=t=>t/1e3,y={type:"spring",stiffness:500,damping:25,restSpeed:10},v=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),x={type:"keyframes",duration:.8},w={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},S=(t,{keyframes:e})=>e.length>2?x:f.has(t)?t.startsWith("scale")?v(e[1]):y:w;function k(t,e){return t?t[e]||t.default||t:void 0}let b={skipAnimations:!1,useManualTiming:!1},T={current:!1},C=t=>null!==t;function A(t,{repeat:e,repeatType:n="loop"},i){let r=t.filter(C),s=e&&"loop"!==n&&e%2==1?0:r.length-1;return s&&void 0!==i?i:r[s]}var E,M,P,R=n(58559);let O=["read","resolveKeyframes","update","preRender","render","postRender"];function D(t,e){let n=!1,i=!0,r={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,o=O.reduce((t,e)=>(t[e]=function(t){let e=new Set,n=new Set,i=!1,r=!1,s=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function a(e){s.has(e)&&(l.schedule(e),t()),e(o)}let l={schedule:(t,r=!1,o=!1)=>{let a=o&&i,l=a?e:n;return r&&s.add(t),l.has(t)||l.add(t),t},cancel:t=>{n.delete(t),s.delete(t)},process:t=>{if(o=t,i){r=!0;return}i=!0,[e,n]=[n,e],n.clear(),e.forEach(a),i=!1,r&&(r=!1,l.process(t))}};return l}(s),t),{}),{read:a,resolveKeyframes:l,update:h,preRender:u,render:c,postRender:p}=o,d=()=>{let s=b.useManualTiming?r.timestamp:performance.now();n=!1,r.delta=i?1e3/60:Math.max(Math.min(s-r.timestamp,40),1),r.timestamp=s,r.isProcessing=!0,a.process(r),l.process(r),h.process(r),u.process(r),c.process(r),p.process(r),r.isProcessing=!1,n&&e&&(i=!1,t(d))},f=()=>{n=!0,i=!0,r.isProcessing||t(d)},m=O.reduce((t,e)=>{let i=o[e];return t[e]=(t,e=!1,r=!1)=>(n||f(),i.schedule(t,e,r)),t},{});return{schedule:m,cancel:t=>{for(let e=0;e(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t;function B(t,e,n,i){if(t===e&&n===i)return R.Z;let r=e=>(function(t,e,n,i,r){let s,o;let a=0;do(s=z(o=e+(n-e)/2,i,r)-t)>0?n=o:e=o;while(Math.abs(s)>1e-7&&++a<12);return o})(e,0,1,t,n);return t=>0===t||1===t?t:z(r(t),e,i)}let j=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,L=t=>e=>1-t(1-e),$=B(.33,1.53,.69,.99),U=L($),Y=j(U),W=t=>(t*=2)<1?.5*U(t):.5*(2-Math.pow(2,-10*(t-1))),J=t=>1-Math.sin(Math.acos(t)),H=L(J),q=j(J),K=t=>/^0[^.\s]+$/u.test(t);var Z=n(59700);let G=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),X=t=>e=>"string"==typeof e&&e.startsWith(t),_=X("--"),Q=X("var(--"),tt=t=>{let e=Q(t);return!!e&&te.test(t.split("/*")[0].trim())},te=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,tn=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,ti=(t,e,n)=>n>e?e:n"number"==typeof t,parse:parseFloat,transform:t=>t},ts={...tr,transform:t=>ti(0,1,t)},to={...tr,default:1},ta=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),tl=ta("deg"),th=ta("%"),tu=ta("px"),tc=ta("vh"),tp=ta("vw"),td={...th,parse:t=>th.parse(t)/100,transform:t=>th.transform(100*t)},tf=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),tm=t=>t===tr||t===tu,tg=(t,e)=>parseFloat(t.split(", ")[e]),ty=(t,e)=>(n,{transform:i})=>{if("none"===i||!i)return 0;let r=i.match(/^matrix3d\((.+)\)$/u);if(r)return tg(r[1],e);{let e=i.match(/^matrix\((.+)\)$/u);return e?tg(e[1],t):0}},tv=new Set(["x","y","z"]),tx=d.filter(t=>!tv.has(t)),tw={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:ty(4,13),y:ty(5,14)};tw.translateX=tw.x,tw.translateY=tw.y;let tS=t=>e=>e.test(t),tk=[tr,tu,th,tl,tp,tc,{test:t=>"auto"===t,parse:t=>t}],tb=t=>tk.find(tS(t)),tT=new Set,tC=!1,tA=!1;function tE(){if(tA){let t=Array.from(tT).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),n=new Map;e.forEach(t=>{let e=function(t){let e=[];return tx.forEach(n=>{let i=t.getValue(n);void 0!==i&&(e.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),e}(t);e.length&&(n.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=n.get(t);e&&e.forEach(([e,n])=>{var i;null===(i=t.getValue(e))||void 0===i||i.set(n)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}tA=!1,tC=!1,tT.forEach(t=>t.complete()),tT.clear()}function tM(){tT.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(tA=!0)})}class tP{constructor(t,e,n,i,r,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=n,this.motionValue=i,this.element=r,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(tT.add(this),tC||(tC=!0,I.read(tM),I.resolveKeyframes(tE))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:n,motionValue:i}=this;for(let r=0;rMath.round(1e5*t)/1e5,tO=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,tD=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,tI=(t,e)=>n=>!!("string"==typeof n&&tD.test(n)&&n.startsWith(t)||e&&null!=n&&Object.prototype.hasOwnProperty.call(n,e)),tN=(t,e,n)=>i=>{if("string"!=typeof i)return i;let[r,s,o,a]=i.match(tO);return{[t]:parseFloat(r),[e]:parseFloat(s),[n]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},tV=t=>ti(0,255,t),tF={...tr,transform:t=>Math.round(tV(t))},tz={test:tI("rgb","red"),parse:tN("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:i=1})=>"rgba("+tF.transform(t)+", "+tF.transform(e)+", "+tF.transform(n)+", "+tR(ts.transform(i))+")"},tB={test:tI("#"),parse:function(t){let e="",n="",i="",r="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),i=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),i=t.substring(3,4),r=t.substring(4,5),e+=e,n+=n,i+=i,r+=r),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:r?parseInt(r,16)/255:1}},transform:tz.transform},tj={test:tI("hsl","hue"),parse:tN("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:i=1})=>"hsla("+Math.round(t)+", "+th.transform(tR(e))+", "+th.transform(tR(n))+", "+tR(ts.transform(i))+")"},tL={test:t=>tz.test(t)||tB.test(t)||tj.test(t),parse:t=>tz.test(t)?tz.parse(t):tj.test(t)?tj.parse(t):tB.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?tz.transform(t):tj.transform(t)},t$=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,tU="number",tY="color",tW=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function tJ(t){let e=t.toString(),n=[],i={color:[],number:[],var:[]},r=[],s=0,o=e.replace(tW,t=>(tL.test(t)?(i.color.push(s),r.push(tY),n.push(tL.parse(t))):t.startsWith("var(")?(i.var.push(s),r.push("var"),n.push(t)):(i.number.push(s),r.push(tU),n.push(parseFloat(t))),++s,"${}")),a=o.split("${}");return{values:n,split:a,indexes:i,types:r}}function tH(t){return tJ(t).values}function tq(t){let{split:e,types:n}=tJ(t),i=e.length;return t=>{let r="";for(let s=0;s"number"==typeof t?0:t,tZ={test:function(t){var e,n;return isNaN(t)&&"string"==typeof t&&((null===(e=t.match(tO))||void 0===e?void 0:e.length)||0)+((null===(n=t.match(t$))||void 0===n?void 0:n.length)||0)>0},parse:tH,createTransformer:tq,getAnimatableNone:function(t){let e=tH(t),n=tq(t);return n(e.map(tK))}},tG=new Set(["brightness","contrast","saturate","opacity"]);function tX(t){let[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[i]=n.match(tO)||[];if(!i)return t;let r=n.replace(i,""),s=tG.has(e)?1:0;return i!==n&&(s*=100),e+"("+s+r+")"}let t_=/\b([a-z-]*)\(.*?\)/gu,tQ={...tZ,getAnimatableNone:t=>{let e=t.match(t_);return e?e.map(tX).join(" "):t}},t0={...tr,transform:Math.round},t1={borderWidth:tu,borderTopWidth:tu,borderRightWidth:tu,borderBottomWidth:tu,borderLeftWidth:tu,borderRadius:tu,radius:tu,borderTopLeftRadius:tu,borderTopRightRadius:tu,borderBottomRightRadius:tu,borderBottomLeftRadius:tu,width:tu,maxWidth:tu,height:tu,maxHeight:tu,top:tu,right:tu,bottom:tu,left:tu,padding:tu,paddingTop:tu,paddingRight:tu,paddingBottom:tu,paddingLeft:tu,margin:tu,marginTop:tu,marginRight:tu,marginBottom:tu,marginLeft:tu,backgroundPositionX:tu,backgroundPositionY:tu,rotate:tl,rotateX:tl,rotateY:tl,rotateZ:tl,scale:to,scaleX:to,scaleY:to,scaleZ:to,skew:tl,skewX:tl,skewY:tl,distance:tu,translateX:tu,translateY:tu,translateZ:tu,x:tu,y:tu,z:tu,perspective:tu,transformPerspective:tu,opacity:ts,originX:td,originY:td,originZ:tu,zIndex:t0,size:tu,fillOpacity:ts,strokeOpacity:ts,numOctaves:t0},t2={...t1,color:tL,backgroundColor:tL,outlineColor:tL,fill:tL,stroke:tL,borderColor:tL,borderTopColor:tL,borderRightColor:tL,borderBottomColor:tL,borderLeftColor:tL,filter:tQ,WebkitFilter:tQ},t5=t=>t2[t];function t3(t,e){let n=t5(t);return n!==tQ&&(n=tZ),n.getAnimatableNone?n.getAnimatableNone(e):void 0}let t9=new Set(["auto","none","0"]);class t4 extends tP{constructor(t,e,n,i,r){super(t,e,n,i,r,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:n}=this;if(!e||!e.current)return;super.readKeyframes();for(let n=0;n{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}}function t6(t){return"function"==typeof t}function t8(){i=void 0}let t7={now:()=>(void 0===i&&t7.set(V.isProcessing||b.useManualTiming?V.timestamp:performance.now()),i),set:t=>{i=t,queueMicrotask(t8)}},et=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(tZ.test(t)||"0"===t)&&!t.startsWith("url("));class ee{constructor({autoplay:t=!0,delay:e=0,type:n="keyframes",repeat:i=0,repeatDelay:r=0,repeatType:s="loop",...o}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=t7.now(),this.options={autoplay:t,delay:e,type:n,repeat:i,repeatDelay:r,repeatType:s,...o},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(tM(),tE()),this._resolved}onKeyframesResolved(t,e){this.resolvedAt=t7.now(),this.hasAttemptedResolve=!0;let{name:n,type:i,velocity:r,delay:s,onComplete:o,onUpdate:a,isGenerator:l}=this.options;if(!l&&!function(t,e,n,i){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],o=et(r,e),a=et(s,e);return(0,Z.K)(o===a,`You are trying to animate ${e} from "${r}" to "${s}". ${r} is not an animatable value - to enable this animation set ${r} to a value animatable to ${s} via the \`style\` property.`),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let n=0;n{this.resolveFinishedPromise=t})}}function en(t,e,n){var i,r;let s=Math.max(e-5,0);return i=n-t(s),(r=e-s)?i*(1e3/r):0}function ei(t,e){return t*Math.sqrt(1-e*e)}let er=["duration","bounce"],es=["stiffness","damping","mass"];function eo(t,e){return e.some(e=>void 0!==t[e])}function ea({keyframes:t,restDelta:e,restSpeed:n,...i}){let r;let s=t[0],o=t[t.length-1],a={done:!1,value:s},{stiffness:l,damping:h,mass:u,duration:c,velocity:p,isResolvedFromDuration:d}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!eo(t,es)&&eo(t,er)){let n=function({duration:t=800,bounce:e=.25,velocity:n=0,mass:i=1}){let r,s;(0,Z.K)(t<=m(10),"Spring duration must be 10 seconds or less");let o=1-e;o=ti(.05,1,o),t=ti(.01,10,g(t)),o<1?(r=e=>{let i=e*o,r=i*t,s=ei(e,o);return .001-(i-n)/s*Math.exp(-r)},s=e=>{let i=e*o,s=i*t,a=Math.pow(o,2)*Math.pow(e,2)*t,l=ei(Math.pow(e,2),o),h=-r(e)+.001>0?-1:1;return h*((s*n+n-a)*Math.exp(-s))/l}):(r=e=>{let i=Math.exp(-e*t),r=(e-n)*t+1;return -.001+i*r},s=e=>{let i=Math.exp(-e*t),r=(n-e)*(t*t);return i*r});let a=5/t,l=function(t,e,n){let i=n;for(let n=1;n<12;n++)i-=t(i)/e(i);return i}(r,s,a);if(t=m(t),isNaN(l))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(l,2)*i;return{stiffness:e,damping:2*o*Math.sqrt(i*e),duration:t}}}(t);(e={...e,...n,mass:1}).isResolvedFromDuration=!0}return e}({...i,velocity:-g(i.velocity||0)}),f=p||0,y=h/(2*Math.sqrt(l*u)),v=o-s,x=g(Math.sqrt(l/u)),w=5>Math.abs(v);if(n||(n=w?.01:2),e||(e=w?.005:.5),y<1){let t=ei(x,y);r=e=>{let n=Math.exp(-y*x*e);return o-n*((f+y*x*v)/t*Math.sin(t*e)+v*Math.cos(t*e))}}else if(1===y)r=t=>o-Math.exp(-x*t)*(v+(f+x*v)*t);else{let t=x*Math.sqrt(y*y-1);r=e=>{let n=Math.exp(-y*x*e),i=Math.min(t*e,300);return o-n*((f+y*x*v)*Math.sinh(i)+t*v*Math.cosh(i))/t}}return{calculatedDuration:d&&c||null,next:t=>{let i=r(t);if(d)a.done=t>=c;else{let s=0;y<1&&(s=0===t?m(f):en(r,t,i));let l=Math.abs(s)<=n,h=Math.abs(o-i)<=e;a.done=l&&h}return a.value=a.done?o:i,a}}}function el({keyframes:t,velocity:e=0,power:n=.8,timeConstant:i=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:h=.5,restSpeed:u}){let c,p;let d=t[0],f={done:!1,value:d},m=t=>void 0!==a&&tl,g=t=>void 0===a?l:void 0===l?a:Math.abs(a-t)-y*Math.exp(-t/i),S=t=>x+w(t),k=t=>{let e=w(t),n=S(t);f.done=Math.abs(e)<=h,f.value=f.done?x:n},b=t=>{m(f.value)&&(c=t,p=ea({keyframes:[f.value,g(f.value)],velocity:en(S,t,f.value),damping:r,stiffness:s,restDelta:h,restSpeed:u}))};return b(0),{calculatedDuration:null,next:t=>{let e=!1;return(p||void 0!==c||(e=!0,k(t),b(t)),void 0!==c&&t>=c)?p.next(t-c):(e||k(t),f)}}}let eh=B(.42,0,1,1),eu=B(0,0,.58,1),ec=B(.42,0,.58,1),ep=t=>Array.isArray(t)&&"number"!=typeof t[0],ed=t=>Array.isArray(t)&&"number"==typeof t[0],ef={linear:R.Z,easeIn:eh,easeInOut:ec,easeOut:eu,circIn:J,circInOut:q,circOut:H,backIn:U,backInOut:Y,backOut:$,anticipate:W},em=t=>{if(ed(t)){(0,Z.k)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,n,i,r]=t;return B(e,n,i,r)}return"string"==typeof t?((0,Z.k)(void 0!==ef[t],`Invalid easing type '${t}'`),ef[t]):t},eg=(t,e)=>n=>e(t(n)),ey=(...t)=>t.reduce(eg),ev=(t,e,n)=>{let i=e-t;return 0===i?1:(n-t)/i},ex=(t,e,n)=>t+(e-t)*n;function ew(t,e,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?t+(e-t)*6*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function eS(t,e){return n=>n>0?e:t}let ek=(t,e,n)=>{let i=t*t,r=n*(e*e-i)+i;return r<0?0:Math.sqrt(r)},eb=[tB,tz,tj],eT=t=>eb.find(e=>e.test(t));function eC(t){let e=eT(t);if((0,Z.K)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let n=e.parse(t);return e===tj&&(n=function({hue:t,saturation:e,lightness:n,alpha:i}){t/=360,n/=100;let r=0,s=0,o=0;if(e/=100){let i=n<.5?n*(1+e):n+e-n*e,a=2*n-i;r=ew(a,i,t+1/3),s=ew(a,i,t),o=ew(a,i,t-1/3)}else r=s=o=n;return{red:Math.round(255*r),green:Math.round(255*s),blue:Math.round(255*o),alpha:i}}(n)),n}let eA=(t,e)=>{let n=eC(t),i=eC(e);if(!n||!i)return eS(t,e);let r={...n};return t=>(r.red=ek(n.red,i.red,t),r.green=ek(n.green,i.green,t),r.blue=ek(n.blue,i.blue,t),r.alpha=ex(n.alpha,i.alpha,t),tz.transform(r))},eE=new Set(["none","hidden"]);function eM(t,e){return n=>ex(t,e,n)}function eP(t){return"number"==typeof t?eM:"string"==typeof t?tt(t)?eS:tL.test(t)?eA:eD:Array.isArray(t)?eR:"object"==typeof t?tL.test(t)?eA:eO:eS}function eR(t,e){let n=[...t],i=n.length,r=t.map((t,n)=>eP(t)(t,e[n]));return t=>{for(let e=0;e{for(let e in i)n[e]=i[e](t);return n}}let eD=(t,e)=>{let n=tZ.createTransformer(e),i=tJ(t),r=tJ(e),s=i.indexes.var.length===r.indexes.var.length&&i.indexes.color.length===r.indexes.color.length&&i.indexes.number.length>=r.indexes.number.length;return s?eE.has(t)&&!r.values.length||eE.has(e)&&!i.values.length?eE.has(t)?n=>n<=0?t:e:n=>n>=1?e:t:ey(eR(function(t,e){var n;let i=[],r={color:0,var:0,number:0};for(let s=0;se*t),a=function(t,e,{clamp:n=!0,ease:i,mixer:r}={}){let s=t.length;if((0,Z.k)(s===e.length,"Both input and output ranges must be the same length"),1===s)return()=>e[0];if(2===s&&t[0]===t[1])return()=>e[1];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());let o=function(t,e,n){let i=[],r=n||eI,s=t.length-1;for(let n=0;n{let n=0;if(a>1)for(;nl(ti(t[0],t[s-1],e)):l}(o,e,{ease:Array.isArray(r)?r:e.map(()=>r||ec).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(s.value=a(e),s.done=e>=t,s)}}let eV=t=>{let e=({timestamp:e})=>t(e);return{start:()=>I.update(e,!0),stop:()=>N(e),now:()=>V.isProcessing?V.timestamp:t7.now()}},eF={decay:el,inertia:el,tween:eN,keyframes:eN,spring:ea},ez=t=>t/100;class eB extends ee{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:t}=this.options;t&&t()};let{name:e,motionValue:n,element:i,keyframes:r}=this.options,s=(null==i?void 0:i.KeyframeResolver)||tP;this.resolver=new s(r,(t,e)=>this.onKeyframesResolved(t,e),e,n,i),this.resolver.scheduleResolve()}initPlayback(t){let e,n;let{type:i="keyframes",repeat:r=0,repeatDelay:s=0,repeatType:o,velocity:a=0}=this.options,l=t6(i)?i:eF[i]||eN;l!==eN&&"number"!=typeof t[0]&&(e=ey(ez,eI(t[0],t[1])),t=[0,100]);let h=l({...this.options,keyframes:t});"mirror"===o&&(n=l({...this.options,keyframes:[...t].reverse(),velocity:-a})),null===h.calculatedDuration&&(h.calculatedDuration=function(t){let e=0,n=t.next(e);for(;!n.done&&e<2e4;)e+=50,n=t.next(e);return e>=2e4?1/0:e}(h));let{calculatedDuration:u}=h,c=u+s;return{generator:h,mirroredGenerator:n,mapPercentToKeyframes:e,calculatedDuration:u,resolvedDuration:c,totalDuration:c*(r+1)-s}}onPostResolved(){let{autoplay:t=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&t?this.state=this.pendingPlayState:this.pause()}tick(t,e=!1){let{resolved:n}=this;if(!n){let{keyframes:t}=this.options;return{done:!0,value:t[t.length-1]}}let{finalKeyframe:i,generator:r,mirroredGenerator:s,mapPercentToKeyframes:o,keyframes:a,calculatedDuration:l,totalDuration:h,resolvedDuration:u}=n;if(null===this.startTime)return r.next(0);let{delay:c,repeat:p,repeatType:d,repeatDelay:f,onUpdate:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-h/this.speed,this.startTime)),e?this.currentTime=t:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;let g=this.currentTime-c*(this.speed>=0?1:-1),y=this.speed>=0?g<0:g>h;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=h);let v=this.currentTime,x=r;if(p){let t=Math.min(this.currentTime,h)/u,e=Math.floor(t),n=t%1;!n&&t>=1&&(n=1),1===n&&e--,e=Math.min(e,p+1);let i=!!(e%2);i&&("reverse"===d?(n=1-n,f&&(n-=f/u)):"mirror"===d&&(x=s)),v=ti(0,1,n)*u}let w=y?{done:!1,value:a[0]}:x.next(v);o&&(w.value=o(w.value));let{done:S}=w;y||null===l||(S=this.speed>=0?this.currentTime>=h:this.currentTime<=0);let k=null===this.holdTime&&("finished"===this.state||"running"===this.state&&S);return k&&void 0!==i&&(w.value=A(a,this.options,i)),m&&m(w.value),k&&this.finish(),w}get duration(){let{resolved:t}=this;return t?g(t.calculatedDuration):0}get time(){return g(this.currentTime)}set time(t){t=m(t),this.currentTime=t,null!==this.holdTime||0===this.speed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=g(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=eV,onPlay:e,startTime:n}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),e&&e();let i=this.driver.now();null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=i):this.startTime=null!=n?n:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!==(t=this.currentTime)&&void 0!==t?t:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:t}=this.options;t&&t()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}let ej=new Set(["opacity","clipPath","filter","transform"]),eL=(t,e)=>{let n="",i=Math.max(Math.round(e/10),2);for(let e=0;e(void 0===e&&(e=t()),e)}let eU={linearEasing:void 0},eY=function(t,e){let n=e$(t);return()=>{var t;return null!==(t=eU[e])&&void 0!==t?t:n()}}(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),eW=([t,e,n,i])=>`cubic-bezier(${t}, ${e}, ${n}, ${i})`,eJ={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:eW([0,.65,.55,1]),circOut:eW([.55,0,1,.45]),backIn:eW([.31,.01,.66,-.59]),backOut:eW([.33,1.53,.69,.99])};function eH(t,e){t.timeline=e,t.onfinish=null}let eq=e$(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),eK={anticipate:W,backInOut:Y,circInOut:q};class eZ extends ee{constructor(t){super(t);let{name:e,motionValue:n,element:i,keyframes:r}=this.options;this.resolver=new t4(r,(t,e)=>this.onKeyframesResolved(t,e),e,n,i),this.resolver.scheduleResolve()}initPlayback(t,e){var n,i;let{duration:r=300,times:s,ease:o,type:a,motionValue:l,name:h,startTime:u}=this.options;if(!(null===(n=l.owner)||void 0===n?void 0:n.current))return!1;if("string"==typeof o&&eY()&&o in eK&&(o=eK[o]),t6((i=this.options).type)||"spring"===i.type||!function t(e){return!!("function"==typeof e&&eY()||!e||"string"==typeof e&&(e in eJ||eY())||ed(e)||Array.isArray(e)&&e.every(t))}(i.ease)){let{onComplete:e,onUpdate:n,motionValue:i,element:l,...h}=this.options,u=function(t,e){let n=new eB({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0}),i={done:!1,value:t[0]},r=[],s=0;for(;!i.done&&s<2e4;)r.push((i=n.sample(s)).value),s+=10;return{times:void 0,keyframes:r,duration:s-10,ease:"linear"}}(t,h);1===(t=u.keyframes).length&&(t[1]=t[0]),r=u.duration,s=u.times,o=u.ease,a="keyframes"}let c=function(t,e,n,{delay:i=0,duration:r=300,repeat:s=0,repeatType:o="loop",ease:a,times:l}={}){let h={[e]:n};l&&(h.offset=l);let u=function t(e,n){if(e)return"function"==typeof e&&eY()?eL(e,n):ed(e)?eW(e):Array.isArray(e)?e.map(e=>t(e,n)||eJ.easeOut):eJ[e]}(a,r);return Array.isArray(u)&&(h.easing=u),t.animate(h,{delay:i,duration:r,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"})}(l.owner.current,h,t,{...this.options,duration:r,times:s,ease:o});return c.startTime=null!=u?u:this.calcStartTime(),this.pendingTimeline?(eH(c,this.pendingTimeline),this.pendingTimeline=void 0):c.onfinish=()=>{let{onComplete:n}=this.options;l.set(A(t,this.options,e)),n&&n(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:r,times:s,type:a,ease:o,keyframes:t}}get duration(){let{resolved:t}=this;if(!t)return 0;let{duration:e}=t;return g(e)}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:e}=t;return g(e.currentTime||0)}set time(t){let{resolved:e}=this;if(!e)return;let{animation:n}=e;n.currentTime=m(t)}get speed(){let{resolved:t}=this;if(!t)return 1;let{animation:e}=t;return e.playbackRate}set speed(t){let{resolved:e}=this;if(!e)return;let{animation:n}=e;n.playbackRate=t}get state(){let{resolved:t}=this;if(!t)return"idle";let{animation:e}=t;return e.playState}get startTime(){let{resolved:t}=this;if(!t)return null;let{animation:e}=t;return e.startTime}attachTimeline(t){if(this._resolved){let{resolved:e}=this;if(!e)return R.Z;let{animation:n}=e;eH(n,t)}else this.pendingTimeline=t;return R.Z}play(){if(this.isStopped)return;let{resolved:t}=this;if(!t)return;let{animation:e}=t;"finished"===e.playState&&this.updateFinishedPromise(),e.play()}pause(){let{resolved:t}=this;if(!t)return;let{animation:e}=t;e.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:t}=this;if(!t)return;let{animation:e,keyframes:n,duration:i,type:r,ease:s,times:o}=t;if("idle"===e.playState||"finished"===e.playState)return;if(this.time){let{motionValue:t,onUpdate:e,onComplete:a,element:l,...h}=this.options,u=new eB({...h,keyframes:n,duration:i,type:r,ease:s,times:o,isGenerator:!0}),c=m(this.time);t.setWithVelocity(u.sample(c-10).value,u.sample(c).value,10)}let{onStop:a}=this.options;a&&a(),this.cancel()}complete(){let{resolved:t}=this;t&&t.animation.finish()}cancel(){let{resolved:t}=this;t&&t.animation.cancel()}static supports(t){let{motionValue:e,name:n,repeatDelay:i,repeatType:r,damping:s,type:o}=t;return eq()&&n&&ej.has(n)&&e&&e.owner&&e.owner.current instanceof HTMLElement&&!e.owner.getProps().onUpdate&&!i&&"mirror"!==r&&0!==s&&"inertia"!==o}}let eG=e$(()=>void 0!==window.ScrollTimeline);class eX{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}then(t,e){return Promise.all(this.animations).then(t).catch(e)}getAll(t){return this.animations[0][t]}setAll(t,e){for(let n=0;neG()&&n.attachTimeline?n.attachTimeline(t):e(n));return()=>{n.forEach((t,e)=>{t&&t(),this.animations[e].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let e=0;ee[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}let e_=(t,e,n,i={},r,s)=>o=>{let a=k(i,t)||{},l=a.delay||i.delay||0,{elapsed:h=0}=i;h-=m(l);let u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-h,onUpdate:t=>{e.set(t),a.onUpdate&&a.onUpdate(t)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:s?void 0:r};!function({when:t,delay:e,delayChildren:n,staggerChildren:i,staggerDirection:r,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:h,...u}){return!!Object.keys(u).length}(a)&&(u={...u,...S(t,u)}),u.duration&&(u.duration=m(u.duration)),u.repeatDelay&&(u.repeatDelay=m(u.repeatDelay)),void 0!==u.from&&(u.keyframes[0]=u.from);let c=!1;if(!1!==u.type&&(0!==u.duration||u.repeatDelay)||(u.duration=0,0!==u.delay||(c=!0)),(T.current||b.skipAnimations)&&(c=!0,u.duration=0,u.delay=0),c&&!s&&void 0!==e.get()){let t=A(u.keyframes,a);if(void 0!==t)return I.update(()=>{u.onUpdate(t),u.onComplete()}),new eX([])}return!s&&eZ.supports(u)?new eZ(u):new eB(u)},eQ=t=>!!(t&&"object"==typeof t&&t.mix&&t.toValue),e0=t=>s(t)?t[t.length-1]||0:t;function e1(t,e){-1===t.indexOf(e)&&t.push(e)}function e2(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}class e5{constructor(){this.subscriptions=[]}add(t){return e1(this.subscriptions,t),()=>e2(this.subscriptions,t)}notify(t,e,n){let i=this.subscriptions.length;if(i){if(1===i)this.subscriptions[0](t,e,n);else for(let r=0;r!isNaN(parseFloat(t)),e9={current:void 0};class e4{constructor(t,e={}){this.version="11.11.9",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=>{let n=t7.now();this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=t7.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=e3(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new e5);let n=this.events[t].add(e);return"change"===t?()=>{n(),I.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,n){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return e9.current&&e9.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var t;let e=t7.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let n=Math.min(this.updatedAt-this.prevUpdatedAt,30);return t=parseFloat(this.current)-parseFloat(this.prevFrameValue),n?t*(1e3/n):0}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function e6(t,e){return new e4(t,e)}let e8=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),e7="data-"+e8("framerAppearId"),nt=t=>!!(t&&t.getVelocity);function ne(t,e){if(!t.applyWillChange)return;let n=t.getValue("willChange");if(nt(n)&&n.add)return n.add(e)}function nn(t,e,{delay:n=0,transitionOverride:i,type:r}={}){var s;let{transition:o=t.getDefaultTransition(),transitionEnd:a,...l}=e;i&&(o=i);let h=[],c=r&&t.animationState&&t.animationState.getState()[r];for(let e in l){let i=t.getValue(e,null!==(s=t.latestValues[e])&&void 0!==s?s:null),r=l[e];if(void 0===r||c&&function({protectedKeys:t,needsAnimating:e},n){let i=t.hasOwnProperty(n)&&!0!==e[n];return e[n]=!1,i}(c,e))continue;let a={delay:n,...k(o||{},e)},u=!1;if(window.MotionHandoffAnimation){let n=t.props[e7];if(n){let t=window.MotionHandoffAnimation(n,e,I);null!==t&&(a.startTime=t,u=!0)}}ne(t,e),i.start(e_(e,i,r,t.shouldReduceMotion&&f.has(e)?{type:!1}:a,t,u));let p=i.animation;p&&h.push(p)}return a&&Promise.all(h).then(()=>{I.update(()=>{a&&function(t,e){let n=u(t,e),{transitionEnd:i={},transition:r={},...s}=n||{};for(let e in s={...s,...i}){let n=e0(s[e]);t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,e6(n))}}(t,a)})}),h}function ni(t,e,n={}){var i;let r=u(t,e,"exit"===n.type?null===(i=t.presenceContext)||void 0===i?void 0:i.custom:void 0),{transition:s=t.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(s=n.transitionOverride);let o=r?()=>Promise.all(nn(t,r,n)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(i=0)=>{let{delayChildren:r=0,staggerChildren:o,staggerDirection:a}=s;return function(t,e,n=0,i=0,r=1,s){let o=[],a=(t.variantChildren.size-1)*i,l=1===r?(t=0)=>t*i:(t=0)=>a-t*i;return Array.from(t.variantChildren).sort(nr).forEach((t,i)=>{t.notify("AnimationStart",e),o.push(ni(t,e,{...s,delay:n+l(i)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(o)}(t,e,r+i,o,a,n)}:()=>Promise.resolve(),{when:l}=s;if(!l)return Promise.all([o(),a(n.delay)]);{let[t,e]="beforeChildren"===l?[o,a]:[a,o];return t().then(()=>e())}}function nr(t,e){return t.sortNodePosition(e)}let ns=p.length,no=[...c].reverse(),na=c.length;function nl(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function nh(){return{animate:nl(!0),whileInView:nl(),whileHover:nl(),whileTap:nl(),whileDrag:nl(),whileFocus:nl(),exit:nl()}}class nu{constructor(t){this.isMounted=!1,this.node=t}update(){}}let nc=0,np=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function nd(t,e="page"){return{point:{x:t[`${e}X`],y:t[`${e}Y`]}}}let nf=t=>e=>np(e)&&t(e,nd(e));function nm(t,e,n,i={passive:!0}){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n)}function ng(t,e,n,i){return nm(t,e,nf(n),i)}let ny=(t,e)=>Math.abs(t-e);class nv{constructor(t,e,{transformPagePoint:n,contextWindow:i,dragSnapToOrigin:r=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let t=nS(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,n=function(t,e){let n=ny(t.x,e.x),i=ny(t.y,e.y);return Math.sqrt(n**2+i**2)}(t.offset,{x:0,y:0})>=3;if(!e&&!n)return;let{point:i}=t,{timestamp:r}=V;this.history.push({...i,timestamp:r});let{onStart:s,onMove:o}=this.handlers;e||(s&&s(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=nx(e,this.transformPagePoint),I.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:n,onSessionEnd:i,resumeAnimation:r}=this.handlers;if(this.dragSnapToOrigin&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=nS("pointercancel"===t.type?this.lastMoveEventInfo:nx(e,this.transformPagePoint),this.history);this.startEvent&&n&&n(t,s),i&&i(t,s)},!np(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=n,this.contextWindow=i||window;let s=nd(t),o=nx(s,this.transformPagePoint),{point:a}=o,{timestamp:l}=V;this.history=[{...a,timestamp:l}];let{onSessionStart:h}=e;h&&h(t,nS(o,this.history)),this.removeListeners=ey(ng(this.contextWindow,"pointermove",this.handlePointerMove),ng(this.contextWindow,"pointerup",this.handlePointerUp),ng(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),N(this.updatePoint)}}function nx(t,e){return e?{point:e(t.point)}:t}function nw(t,e){return{x:t.x-e.x,y:t.y-e.y}}function nS({point:t},e){return{point:t,delta:nw(t,nk(e)),offset:nw(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,i=null,r=nk(t);for(;n>=0&&(i=t[n],!(r.timestamp-i.timestamp>m(.1)));)n--;if(!i)return{x:0,y:0};let s=g(r.timestamp-i.timestamp);if(0===s)return{x:0,y:0};let o={x:(r.x-i.x)/s,y:(r.y-i.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,0)}}function nk(t){return t[t.length-1]}function nb(t){let e=null;return()=>null===e&&(e=t,()=>{e=null})}let nT=nb("dragHorizontal"),nC=nb("dragVertical");function nA(t){let e=!1;if("y"===t)e=nC();else if("x"===t)e=nT();else{let t=nT(),n=nC();t&&n?e=()=>{t(),n()}:(t&&t(),n&&n())}return e}function nE(){let t=nA(!0);return!t||(t(),!1)}function nM(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function nP(t){return t.max-t.min}function nR(t,e,n,i=.5){t.origin=i,t.originPoint=ex(e.min,e.max,t.origin),t.scale=nP(n)/nP(e),t.translate=ex(n.min,n.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function nO(t,e,n,i){nR(t.x,e.x,n.x,i?i.originX:void 0),nR(t.y,e.y,n.y,i?i.originY:void 0)}function nD(t,e,n){t.min=n.min+e.min,t.max=t.min+nP(e)}function nI(t,e,n){t.min=e.min-n.min,t.max=t.min+nP(e)}function nN(t,e,n){nI(t.x,e.x,n.x),nI(t.y,e.y,n.y)}function nV(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function nF(t,e){let n=e.min-t.min,i=e.max-t.max;return e.max-e.min({translate:0,scale:1,origin:0,originPoint:0}),nL=()=>({x:nj(),y:nj()}),n$=()=>({min:0,max:0}),nU=()=>({x:n$(),y:n$()});function nY(t){return[t("x"),t("y")]}function nW({top:t,left:e,right:n,bottom:i}){return{x:{min:e,max:n},y:{min:t,max:i}}}function nJ(t){return void 0===t||1===t}function nH({scale:t,scaleX:e,scaleY:n}){return!nJ(t)||!nJ(e)||!nJ(n)}function nq(t){return nH(t)||nK(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function nK(t){var e,n;return(e=t.x)&&"0%"!==e||(n=t.y)&&"0%"!==n}function nZ(t,e,n,i,r){return void 0!==r&&(t=i+r*(t-i)),i+n*(t-i)+e}function nG(t,e=0,n=1,i,r){t.min=nZ(t.min,e,n,i,r),t.max=nZ(t.max,e,n,i,r)}function nX(t,{x:e,y:n}){nG(t.x,e.translate,e.scale,e.originPoint),nG(t.y,n.translate,n.scale,n.originPoint)}function n_(t,e){t.min=t.min+e,t.max=t.max+e}function nQ(t,e,n,i,r=.5){let s=ex(t.min,t.max,r);nG(t,e,n,s,i)}function n0(t,e){nQ(t.x,e.x,e.scaleX,e.scale,e.originX),nQ(t.y,e.y,e.scaleY,e.scale,e.originY)}function n1(t,e){return nW(function(t,e){if(!e)return t;let n=e({x:t.left,y:t.top}),i=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}(t.getBoundingClientRect(),e))}let n2=({current:t})=>t?t.ownerDocument.defaultView:null,n5=new WeakMap;class n3{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=nU(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let{dragSnapToOrigin:i}=this.getProps();this.panSession=new nv(t,{onSessionStart:t=>{let{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(nd(t,"page").point)},onStart:(t,e)=>{let{drag:n,dragPropagation:i,onDragStart:r}=this.getProps();if(n&&!i&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=nA(n),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),nY(t=>{let e=this.getAxisMotionValue(t).get()||0;if(th.test(e)){let{projection:n}=this.visualElement;if(n&&n.layout){let i=n.layout.layoutBox[t];if(i){let t=nP(i);e=t*(parseFloat(e)/100)}}}this.originPoint[t]=e}),r&&I.postRender(()=>r(t,e)),ne(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(t,e)=>{let{dragPropagation:n,dragDirectionLock:i,onDirectionLock:r,onDrag:s}=this.getProps();if(!n&&!this.openGlobalLock)return;let{offset:o}=e;if(i&&null===this.currentDirection){this.currentDirection=function(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}(o),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&s(t,e)},onSessionEnd:(t,e)=>this.stop(t,e),resumeAnimation:()=>nY(t=>{var e;return"paused"===this.getAnimationState(t)&&(null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:i,contextWindow:n2(this.visualElement)})}stop(t,e){let n=this.isDragging;if(this.cancel(),!n)return;let{velocity:i}=e;this.startAnimation(i);let{onDragEnd:r}=this.getProps();r&&I.postRender(()=>r(t,e))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,n){let{drag:i}=this.getProps();if(!n||!n9(t,i,this.currentDirection))return;let r=this.getAxisMotionValue(t),s=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:n},i){return void 0!==e&&tn&&(t=i?ex(n,t,i.max):Math.min(t,n)),t}(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){var t;let{dragConstraints:e,dragElastic:n}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout,r=this.constraints;e&&nM(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&i?this.constraints=function(t,{top:e,left:n,bottom:i,right:r}){return{x:nV(t.x,n,r),y:nV(t.y,e,i)}}(i.layoutBox,e):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:nz(t,"left","right"),y:nz(t,"top","bottom")}}(n),r!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&nY(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let n={};return void 0!==e.min&&(n.min=e.min-t.min),void 0!==e.max&&(n.max=e.max-t.min),n}(i.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!nM(e))return!1;let i=e.current;(0,Z.k)(null!==i,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let s=function(t,e,n){let i=n1(t,n),{scroll:r}=e;return r&&(n_(i.x,r.offset.x),n_(i.y,r.offset.y)),i}(i,r.root,this.visualElement.getTransformPagePoint()),o={x:nF((t=r.layout.layoutBox).x,s.x),y:nF(t.y,s.y)};if(n){let t=n(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=nW(t))}return o}startAnimation(t){let{drag:e,dragMomentum:n,dragElastic:i,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{},l=nY(o=>{if(!n9(o,e,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let h={type:"inertia",velocity:n?t[o]:0,bounceStiffness:i?200:1e6,bounceDamping:i?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(o,h)});return Promise.all(l).then(o)}startAxisValueAnimation(t,e){let n=this.getAxisMotionValue(t);return ne(this.visualElement,t),n.start(e_(t,n,0,e,this.visualElement,!1))}stopAnimation(){nY(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){nY(t=>{var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.pause()})}getAnimationState(t){var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,n=this.visualElement.getProps(),i=n[e];return i||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){nY(e=>{let{drag:n}=this.getProps();if(!n9(e,n,this.currentDirection))return;let{projection:i}=this.visualElement,r=this.getAxisMotionValue(e);if(i&&i.layout){let{min:n,max:s}=i.layout.layoutBox[e];r.set(t[e]-ex(n,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:n}=this.visualElement;if(!nM(e)||!n||!this.constraints)return;this.stopAnimation();let i={x:0,y:0};nY(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let n=e.get();i[t]=function(t,e){let n=.5,i=nP(t),r=nP(e);return r>i?n=ev(e.min,e.max-i,t.min):i>r&&(n=ev(t.min,t.max-r,e.min)),ti(0,1,n)}({min:n,max:n},this.constraints[t])}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),nY(e=>{if(!n9(e,t,null))return;let n=this.getAxisMotionValue(e),{min:r,max:s}=this.constraints[e];n.set(ex(r,s,i[e]))})}addListeners(){if(!this.visualElement.current)return;n5.set(this.visualElement,this);let t=this.visualElement.current,e=ng(t,"pointerdown",t=>{let{drag:e,dragListener:n=!0}=this.getProps();e&&n&&this.start(t)}),n=()=>{let{dragConstraints:t}=this.getProps();nM(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,r=i.addEventListener("measure",n);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),I.read(n);let s=nm(window,"resize",()=>this.scalePositionWithinConstraints()),o=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(nY(e=>{let n=this.getAxisMotionValue(e);n&&(this.originPoint[e]+=t[e].translate,n.set(n.get()+t[e].translate))}),this.visualElement.render())});return()=>{s(),e(),r(),o&&o()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:r=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:n,dragPropagation:i,dragConstraints:r,dragElastic:s,dragMomentum:o}}}function n9(t,e,n){return(!0===e||e===t)&&(null===n||n===t)}let n4=t=>(e,n)=>{t&&I.postRender(()=>t(e,n))};var n6=n(36164),n8=n(3546),n7=n(5934),it=n(17463);let ie=(0,n8.createContext)({}),ii={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function ir(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let is={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!tu.test(t))return t;t=parseFloat(t)}let n=ir(t,e.target.x),i=ir(t,e.target.y);return`${n}% ${i}%`}},io={},{schedule:ia,cancel:il}=D(queueMicrotask,!1);class ih extends n8.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:n,layoutId:i}=this.props,{projection:r}=t;Object.assign(io,ic),r&&(e.group&&e.group.add(r),n&&n.register&&i&&n.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),ii.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:n,drag:i,isPresent:r}=this.props,s=n.projection;return s&&(s.isPresent=r,i||t.layoutDependency!==e||void 0===e?s.willUpdate():this.safeToRemove(),t.isPresent===r||(r?s.promote():s.relegate()||I.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),ia.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:n}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(i),n&&n.deregister&&n.deregister(i))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function iu(t){let[e,n]=function(){let t=(0,n8.useContext)(n7.O);if(null===t)return[!0,null];let{isPresent:e,onExitComplete:n,register:i}=t,r=(0,n8.useId)();(0,n8.useEffect)(()=>i(r),[]);let s=(0,n8.useCallback)(()=>n&&n(r),[r,n]);return!e&&n?[!1,s]:[!0]}(),i=(0,n8.useContext)(it.p);return(0,n6.jsx)(ih,{...t,layoutGroup:i,switchLayoutGroup:(0,n8.useContext)(ie),isPresent:e,safeToRemove:n})}let ic={borderRadius:{...is,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:is,borderTopRightRadius:is,borderBottomLeftRadius:is,borderBottomRightRadius:is,boxShadow:{correct:(t,{treeScale:e,projectionDelta:n})=>{let i=tZ.parse(t);if(i.length>5)return t;let r=tZ.createTransformer(t),s="number"!=typeof i[0]?1:0,o=n.x.scale*e.x,a=n.y.scale*e.y;i[0+s]/=o,i[1+s]/=a;let l=ex(o,a,.5);return"number"==typeof i[2+s]&&(i[2+s]/=l),"number"==typeof i[3+s]&&(i[3+s]/=l),r(i)}}},ip=["TopLeft","TopRight","BottomLeft","BottomRight"],id=ip.length,im=t=>"string"==typeof t?parseFloat(t):t,ig=t=>"number"==typeof t||tu.test(t);function iy(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let iv=iw(0,.5,H),ix=iw(.5,.95,R.Z);function iw(t,e,n){return i=>ie?1:n(ev(t,e,i))}function iS(t,e){t.min=e.min,t.max=e.max}function ik(t,e){iS(t.x,e.x),iS(t.y,e.y)}function ib(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function iT(t,e,n,i,r){return t-=e,t=i+1/n*(t-i),void 0!==r&&(t=i+1/r*(t-i)),t}function iC(t,e,[n,i,r],s,o){!function(t,e=0,n=1,i=.5,r,s=t,o=t){if(th.test(e)){e=parseFloat(e);let t=ex(o.min,o.max,e/100);e=t-o.min}if("number"!=typeof e)return;let a=ex(s.min,s.max,i);t===s&&(a-=e),t.min=iT(t.min,e,n,a,r),t.max=iT(t.max,e,n,a,r)}(t,e[n],e[i],e[r],e.scale,s,o)}let iA=["x","scaleX","originX"],iE=["y","scaleY","originY"];function iM(t,e,n,i){iC(t.x,e,iA,n?n.x:void 0,i?i.x:void 0),iC(t.y,e,iE,n?n.y:void 0,i?i.y:void 0)}function iP(t){return 0===t.translate&&1===t.scale}function iR(t){return iP(t.x)&&iP(t.y)}function iO(t,e){return t.min===e.min&&t.max===e.max}function iD(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function iI(t,e){return iD(t.x,e.x)&&iD(t.y,e.y)}function iN(t){return nP(t.x)/nP(t.y)}function iV(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class iF{constructor(){this.members=[]}add(t){e1(this.members,t),t.scheduleRender()}remove(t){if(e2(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e;let n=this.members.findIndex(e=>t===e);if(0===n)return!1;for(let t=n;t>=0;t--){let n=this.members[t];if(!1!==n.isPresent){e=n;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,e&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:i}=t.options;!1===i&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:n}=t;e.onExitComplete&&e.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let iz=(t,e)=>t.depth-e.depth;class iB{constructor(){this.children=[],this.isDirty=!1}add(t){e1(this.children,t),this.isDirty=!0}remove(t){e2(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(iz),this.isDirty=!1,this.children.forEach(t)}}function ij(t){let e=nt(t)?t.get():t;return eQ(e)?e.toValue():e}let iL={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},i$="undefined"!=typeof window&&void 0!==window.MotionDebug,iU=["","X","Y","Z"],iY={visibility:"hidden"},iW=0;function iJ(t,e,n,i){let{latestValues:r}=e;r[t]&&(n[t]=r[t],e.setStaticValue(t,0),i&&(i[t]=0))}function iH({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:i,resetTransform:r}){return class{constructor(t={},n=null==e?void 0:e()){this.id=iW++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,i$&&(iL.totalNodes=iL.resolvedTargetDeltas=iL.recalculatedProjection=0),this.nodes.forEach(iZ),this.nodes.forEach(i2),this.nodes.forEach(i5),this.nodes.forEach(iG),i$&&window.MotionDebug.record(iL)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let t=0;tthis.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(t,e){let n=t7.now(),i=({timestamp:r})=>{let s=r-n;s>=e&&(N(i),t(s-e))};return I.read(i,!0),()=>N(i)}(i,250),ii.hasAnimatedSinceResize&&(ii.hasAnimatedSinceResize=!1,this.nodes.forEach(i1))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&s&&(i||r)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:n,layout:i})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let r=this.options.transition||s.getDefaultTransition()||i7,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!iI(this.targetLayout,i)||n,h=!e&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||h||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,h);let e={...k(r,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||i1(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,N(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(i3),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:n}=e.options;if(!n)return;let i=n.props[e7];if(window.MotionHasOptimisedAnimation(i,"transform")){let{layout:t,layoutId:n}=e.options;window.MotionCancelOptimisedAnimation(i,"transform",I,!(t||n))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&t(r)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,n),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=nU());let{target:l}=e;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(ib(this.prevProjectionDelta.x,this.projectionDelta.x),ib(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),nO(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===o&&this.treeScale.y===a&&iV(this.projectionDelta.x,this.prevProjectionDelta.x)&&iV(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),i$&&iL.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){var e;if(null===(e=this.options.visualElement)||void 0===e||e.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=nL(),this.projectionDelta=nL(),this.projectionDeltaWithTransform=nL()}setAnimationOrigin(t,e=!1){let n;let i=this.snapshot,r=i?i.latestValues:{},s={...this.latestValues},o=nL();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=nU(),l=i?i.source:void 0,h=this.layout?this.layout.source:void 0,u=l!==h,c=this.getStack(),p=!c||c.members.length<=1,d=!!(u&&!p&&!0===this.options.crossfade&&!this.path.some(i8));this.animationProgress=0,this.mixTargetDelta=e=>{let i=e/1e3;if(i4(o.x,t.x,i),i4(o.y,t.y,i),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var l,h,c,f;nN(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),c=this.relativeTarget,f=this.relativeTargetOrigin,i6(c.x,f.x,a.x,i),i6(c.y,f.y,a.y,i),n&&(l=this.relativeTarget,h=n,iO(l.x,h.x)&&iO(l.y,h.y))&&(this.isProjectionDirty=!1),n||(n=nU()),ik(n,this.relativeTarget)}u&&(this.animationValues=s,function(t,e,n,i,r,s){r?(t.opacity=ex(0,void 0!==n.opacity?n.opacity:1,iv(i)),t.opacityExit=ex(void 0!==e.opacity?e.opacity:1,0,ix(i))):s&&(t.opacity=ex(void 0!==e.opacity?e.opacity:1,void 0!==n.opacity?n.opacity:1,i));for(let r=0;r{ii.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e,n){let i=nt(t)?t:e6(t);return i.start(e_("",i,1e3,n)),i.animation}(0,0,{...t,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:n,layout:i,latestValues:r}=t;if(e&&n&&i){if(this!==t&&this.layout&&i&&ri(this.options.animationType,this.layout.layoutBox,i.layoutBox)){n=this.target||nU();let e=nP(this.layout.layoutBox.x);n.x.min=t.target.x.min,n.x.max=n.x.min+e;let i=nP(this.layout.layoutBox.y);n.y.min=t.target.y.min,n.y.max=n.y.min+i}ik(e,n),n0(e,r),nO(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new iF);let n=this.sharedNodes.get(t);n.add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){var t;let{layoutId:e}=this.options;return e&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;let{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:n}={}){let i=this.getStack();i&&i.promote(this,n),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:n}=t;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(e=!0),!e)return;let i={};n.z&&iJ("z",t,i,this.animationValues);for(let e=0;e{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(i_),this.root.sharedNodes.clear()}}}function iq(t){t.updateLayout()}function iK(t){var e;let n=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:i}=t.layout,{animationType:r}=t.options,s=n.source!==t.layout.source;"size"===r?nY(t=>{let i=s?n.measuredBox[t]:n.layoutBox[t],r=nP(i);i.min=e[t].min,i.max=i.min+r}):ri(r,n.layoutBox,e)&&nY(i=>{let r=s?n.measuredBox[i]:n.layoutBox[i],o=nP(e[i]);r.max=r.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[i].max=t.relativeTarget[i].min+o)});let o=nL();nO(o,e,n.layoutBox);let a=nL();s?nO(a,t.applyTransform(i,!0),n.measuredBox):nO(a,e,n.layoutBox);let l=!iR(o),h=!1;if(!t.resumeFrom){let i=t.getClosestProjectingParent();if(i&&!i.resumeFrom){let{snapshot:r,layout:s}=i;if(r&&s){let o=nU();nN(o,n.layoutBox,r.layoutBox);let a=nU();nN(a,e,s.layoutBox),iI(o,a)||(h=!0),i.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=i)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:n,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeTargetChanged:h})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function iZ(t){i$&&iL.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function iG(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function iX(t){t.clearSnapshot()}function i_(t){t.clearMeasurements()}function iQ(t){t.isLayoutDirty=!1}function i0(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function i1(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function i2(t){t.resolveTargetDelta()}function i5(t){t.calcProjection()}function i3(t){t.resetSkewAndRotation()}function i9(t){t.removeLeadSnapshot()}function i4(t,e,n){t.translate=ex(e.translate,0,n),t.scale=ex(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function i6(t,e,n,i){t.min=ex(e.min,n.min,i),t.max=ex(e.max,n.max,i)}function i8(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let i7={duration:.45,ease:[.4,0,.1,1]},rt=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),re=rt("applewebkit/")&&!rt("chrome/")?Math.round:R.Z;function rn(t){t.min=re(t.min),t.max=re(t.max)}function ri(t,e,n){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(iN(e)-iN(n)))}function rr(t){var e;return t!==t.root&&(null===(e=t.scroll)||void 0===e?void 0:e.wasRoot)}let rs=iH({attachResizeListener:(t,e)=>nm(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ro={current:void 0},ra=iH({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!ro.current){let t=new rs({});t.mount(window),t.setOptions({layoutScroll:!0}),ro.current=t}return ro.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function rl(t,e){let n=e?"pointerenter":"pointerleave",i=e?"onHoverStart":"onHoverEnd";return ng(t.current,n,(n,r)=>{if("touch"===n.pointerType||nE())return;let s=t.getProps();t.animationState&&s.whileHover&&t.animationState.setActive("whileHover",e);let o=s[i];o&&I.postRender(()=>o(n,r))},{passive:!t.getProps()[i]})}let rh=(t,e)=>!!e&&(t===e||rh(t,e.parentElement));function ru(t,e){if(!e)return;let n=new PointerEvent("pointer"+t);e(n,nd(n))}let rc=new WeakMap,rp=new WeakMap,rd=t=>{let e=rc.get(t.target);e&&e(t)},rf=t=>{t.forEach(rd)},rm={some:0,all:1};var rg=n(63566);let ry=(0,n8.createContext)({});var rv=n(10604);let rx=(0,n8.createContext)({strict:!1});function rw(t){return r(t.animate)||p.some(e=>a(t[e]))}function rS(t){return!!(rw(t)||t.variants)}function rk(t){return Array.isArray(t)?t.join(" "):t}let rb={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},rT={};for(let t in rb)rT[t]={isEnabled:e=>rb[t].some(t=>!!e[t])};var rC=n(80926);let rA=Symbol.for("motionComponentSymbol"),rE=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function rM(t){if("string"!=typeof t||t.includes("-"));else if(rE.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}function rP(t,{style:e,vars:n},i,r){for(let s in Object.assign(t.style,e,r&&r.getProjectionStyles(i)),n)t.style.setProperty(s,n[s])}let rR=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function rO(t,e,n,i){for(let n in rP(t,e,void 0,i),e.attrs)t.setAttribute(rR.has(n)?n:e8(n),e.attrs[n])}function rD(t,{layout:e,layoutId:n}){return f.has(t)||t.startsWith("origin")||(e||void 0!==n)&&(!!io[t]||"opacity"===t)}function rI(t,e,n){var i;let{style:r}=t,s={};for(let o in r)(nt(r[o])||e.style&&nt(e.style[o])||rD(o,t)||(null===(i=null==n?void 0:n.getValue(o))||void 0===i?void 0:i.liveStyle)!==void 0)&&(s[o]=r[o]);return n&&r&&"string"==typeof r.willChange&&(n.applyWillChange=!1),s}function rN(t,e,n){let i=rI(t,e,n);for(let n in t)if(nt(t[n])||nt(e[n])){let e=-1!==d.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n;i[e]=t[n]}return i}var rV=n(78118);let rF=t=>(e,n)=>{let i=(0,n8.useContext)(ry),s=(0,n8.useContext)(n7.O),o=()=>(function({applyWillChange:t=!1,scrapeMotionValuesFromProps:e,createRenderState:n,onMount:i},s,o,a,l){let h={latestValues:function(t,e,n,i,s){var o;let a={},l=new Set,h=i&&(null===(o=t.style)||void 0===o?void 0:o.willChange)===void 0,u=s(t,{});for(let t in u)a[t]=ij(u[t]);let{initial:c,animate:p}=t,d=rw(t),m=rS(t);e&&m&&!d&&!1!==t.inherit&&(void 0===c&&(c=e.initial),void 0===p&&(p=e.animate));let g=!!n&&!1===n.initial;g=g||!1===c;let y=g?p:c;return y&&"boolean"!=typeof y&&!r(y)&&rz(t,y,(t,e)=>{for(let e in t){let n=t[e];if(Array.isArray(n)){let t=g?n.length-1:0;n=n[t]}null!==n&&(a[e]=n)}for(let t in e)a[t]=e[t]}),h&&(p&&!1!==c&&!r(p)&&rz(t,p,t=>{for(let e in t){let t=f.has(e)?"transform":ej.has(e)?e8(e):void 0;t&&l.add(t)}}),l.size&&(a.willChange=Array.from(l).join(","))),a}(s,o,a,!l&&t,e),renderState:n()};return i&&(h.mount=t=>i(s,t,h)),h})(t,e,i,s,n);return n?o():(0,rV.h)(o)};function rz(t,e,n){let i=Array.isArray(e)?e:[e];for(let e=0;e({style:{},transform:{},transformOrigin:{},vars:{}}),rj=()=>({...rB(),attrs:{}}),rL=(t,e)=>e&&"number"==typeof t?e.transform(t):t,r$={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},rU=d.length;function rY(t,e,n){let{style:i,vars:r,transformOrigin:s}=t,o=!1,a=!1;for(let t in e){let n=e[t];if(f.has(t)){o=!0;continue}if(_(t)){r[t]=n;continue}{let e=rL(n,t1[t]);t.startsWith("origin")?(a=!0,s[t]=e):i[t]=e}}if(!e.transform&&(o||n?i.transform=function(t,e,n){let i="",r=!0;for(let s=0;s"string"==typeof t&&"svg"===t.toLowerCase(),rZ={useVisualState:rF({scrapeMotionValuesFromProps:rN,createRenderState:rj,onMount:(t,e,{renderState:n,latestValues:i})=>{I.read(()=>{try{n.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(t){n.dimensions={x:0,y:0,width:0,height:0}}}),I.render(()=>{rq(n,i,rK(e.tagName),t.transformTemplate),rO(e,n)})}})},rG={useVisualState:rF({applyWillChange:!0,scrapeMotionValuesFromProps:rI,createRenderState:rB})};function rX(t,e,n){for(let i in e)nt(e[i])||rD(i,n)||(t[i]=e[i])}function r_(t,e){let n={},i=function(t,e){let n=t.style||{},i={};return rX(i,n,t),Object.assign(i,function({transformTemplate:t},e){return(0,n8.useMemo)(()=>{let n=rB();return rY(n,e,t),Object.assign({},n.vars,n.style)},[e])}(t,e)),i}(t,e);return t.drag&&!1!==t.dragListener&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=i,n}let rQ=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function r0(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||rQ.has(t)}let r1=t=>!r0(t);try{(E=require("@emotion/is-prop-valid").default)&&(r1=t=>t.startsWith("on")?!r0(t):E(t))}catch(t){}function r2(t,e,n,i){let r=(0,n8.useMemo)(()=>{let n=rj();return rq(n,e,rK(i),t.transformTemplate),{...n.attrs,style:{...n.style}}},[e]);if(t.style){let e={};rX(e,t.style,t),r.style={...e,...r.style}}return r}let r5={current:null},r3={current:!1},r9=new WeakMap,r4=[...tk,tL,tZ],r6=t=>r4.find(tS(t)),r8=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class r7{scrapeMotionValuesFromProps(t,e,n){return{}}constructor({parent:t,props:e,presenceContext:n,reducedMotionConfig:i,blockInitialAnimation:r,visualState:s},o={}){this.applyWillChange=!1,this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=tP,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=t7.now();this.renderScheduledAtthis.bindToMotionValue(e,t)),r3.current||function(){if(r3.current=!0,rC.j){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>r5.current=t.matches;t.addListener(e),e()}else r5.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||r5.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in r9.delete(this.current),this.projection&&this.projection.unmount(),N(this.notifyUpdate),N(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}bindToMotionValue(t,e){let n;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let i=f.has(t),r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&I.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0)}),s=e.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(n=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),s(),n&&n(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in rT){let e=rT[t];if(!e)continue;let{isEnabled:n,Feature:i}=e;if(!this.features[t]&&i&&n(this.props)&&(this.features[t]=new i(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):nU()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;ee.variantChildren.delete(t)}addValue(t,e){let n=this.values.get(t);e!==n&&(n&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);return void 0===n&&void 0!==e&&(n=e6(null===e?void 0:e,{owner:this}),this.addValue(t,n)),n}readValue(t,e){var n;let i=void 0===this.latestValues[t]&&this.current?null!==(n=this.getBaseTargetFromProps(this.props,t))&&void 0!==n?n:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=i&&("string"==typeof i&&(G(i)||K(i))?i=parseFloat(i):!r6(i)&&tZ.test(e)&&(i=t3(t,e)),this.setBaseTarget(t,nt(i)?i.get():i)),nt(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let n;let{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let r=h(this.props,i,null===(e=this.presenceContext)||void 0===e?void 0:e.custom);r&&(n=r[t])}if(i&&void 0!==n)return n;let r=this.getBaseTargetFromProps(this.props,t);return void 0===r||nt(r)?void 0!==this.initialValues[t]&&void 0===n?void 0:this.baseTarget[t]:r}on(t,e){return this.events[t]||(this.events[t]=new e5),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}class st extends r7{constructor(){super(...arguments),this.KeyframeResolver=t4}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:n}){delete e[t],delete n[t]}}class se extends st{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0,this.renderInstance=rP}readValueFromInstance(t,e){if(f.has(e)){let t=t5(e);return t&&t.default||0}{let n=window.getComputedStyle(t),i=(_(e)?n.getPropertyValue(e):n[e])||0;return"string"==typeof i?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:e}){return n1(t,e)}build(t,e,n){rY(t,e,n.transformTemplate)}scrapeMotionValuesFromProps(t,e,n){return rI(t,e,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;nt(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}class sn extends st{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=nU}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(f.has(e)){let t=t5(e);return t&&t.default||0}return e=rR.has(e)?e:e8(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,n){return rN(t,e,n)}build(t,e,n){rq(t,e,this.isSVGTag,n.transformTemplate)}renderInstance(t,e,n,i){rO(t,e,n,i)}mount(t){this.isSVGTag=rK(t.tagName),super.mount(t)}}let si=(M={animation:{Feature:class extends nu{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:n})=>(function(t,e,n={}){let i;if(t.notify("AnimationStart",e),Array.isArray(e)){let r=e.map(e=>ni(t,e,n));i=Promise.all(r)}else if("string"==typeof e)i=ni(t,e,n);else{let r="function"==typeof e?u(t,e,n.custom):e;i=Promise.all(nn(t,r,n))}return i.then(()=>{t.notify("AnimationComplete",e)})})(t,e,n))),n=nh(),i=!0,l=e=>(n,i)=>{var r;let s=u(t,i,"exit"===e?null===(r=t.presenceContext)||void 0===r?void 0:r.custom:void 0);if(s){let{transition:t,transitionEnd:e,...i}=s;n={...n,...i,...e}}return n};function h(h){let{props:u}=t,c=function t(e){if(!e)return;if(!e.isControllingVariants){let n=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(n.initial=e.props.initial),n}let n={};for(let t=0;tg&&w,C=!1,A=Array.isArray(x)?x:[x],E=A.reduce(l(p),{});!1===S&&(E={});let{prevResolvedValues:M={}}=v,P={...M,...E},R=e=>{T=!0,f.has(e)&&(C=!0,f.delete(e)),v.needsAnimating[e]=!0;let n=t.getValue(e);n&&(n.liveStyle=!1)};for(let t in P){let e=E[t],n=M[t];if(!m.hasOwnProperty(t))(s(e)&&s(n)?o(e,n):e===n)?void 0!==e&&f.has(t)?R(t):v.protectedKeys[t]=!0:null!=e?R(t):f.add(t)}v.prevProp=x,v.prevResolvedValues=E,v.isActive&&(m={...m,...E}),i&&t.blockInitialAnimation&&(T=!1);let O=k&&b,D=!O||C;T&&D&&d.push(...A.map(t=>({animation:t,options:{type:p}})))}if(f.size){let e={};f.forEach(n=>{let i=t.getBaseTarget(n),r=t.getValue(n);r&&(r.liveStyle=!0),e[n]=null!=i?i:null}),d.push({animation:e})}let v=!!d.length;return i&&(!1===u.initial||u.initial===u.animate)&&!t.manuallyAnimateOnMount&&(v=!1),i=!1,v?e(d):Promise.resolve()}return{animateChanges:h,setActive:function(e,i){var r;if(n[e].isActive===i)return Promise.resolve();null===(r=t.variantChildren)||void 0===r||r.forEach(t=>{var n;return null===(n=t.animationState)||void 0===n?void 0:n.setActive(e,i)}),n[e].isActive=i;let s=h(e);for(let t in n)n[t].protectedKeys={};return s},setAnimateFunction:function(n){e=n(t)},getState:()=>n,reset:()=>{n=nh(),i=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();r(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),null===(t=this.unmountControls)||void 0===t||t.call(this)}}},exit:{Feature:class extends nu{constructor(){super(...arguments),this.id=nc++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;let i=this.node.animationState.setActive("exit",!t);e&&!t&&i.then(()=>e(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}},inView:{Feature:class extends nu{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:n,amount:i="some",once:r}=t,s={root:e?e.current:void 0,rootMargin:n,threshold:"number"==typeof i?i:rm[i]};return function(t,e,n){let i=function({root:t,...e}){let n=t||document;rp.has(n)||rp.set(n,{});let i=rp.get(n),r=JSON.stringify(e);return i[r]||(i[r]=new IntersectionObserver(rf,{root:t,...e})),i[r]}(e);return rc.set(t,n),i.observe(t),()=>{rc.delete(t),i.unobserve(t)}}(this.node.current,s,t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,r&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:n,onViewportLeave:i}=this.node.getProps(),s=e?n:i;s&&s(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node,n=["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}(t,e));n&&this.startObserver()}unmount(){}}},tap:{Feature:class extends nu{constructor(){super(...arguments),this.removeStartListeners=R.Z,this.removeEndListeners=R.Z,this.removeAccessibleListeners=R.Z,this.startPointerPress=(t,e)=>{if(this.isPressing)return;this.removeEndListeners();let n=this.node.getProps(),i=ng(window,"pointerup",(t,e)=>{if(!this.checkPressEnd())return;let{onTap:n,onTapCancel:i,globalTapTarget:r}=this.node.getProps(),s=r||rh(this.node.current,t.target)?n:i;s&&I.update(()=>s(t,e))},{passive:!(n.onTap||n.onPointerUp)}),r=ng(window,"pointercancel",(t,e)=>this.cancelPress(t,e),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=ey(i,r),this.startPress(t,e)},this.startAccessiblePress=()=>{let t=nm(this.node.current,"keydown",t=>{"Enter"!==t.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=nm(this.node.current,"keyup",t=>{"Enter"===t.key&&this.checkPressEnd()&&ru("up",(t,e)=>{let{onTap:n}=this.node.getProps();n&&I.postRender(()=>n(t,e))})}),ru("down",(t,e)=>{this.startPress(t,e)}))}),e=nm(this.node.current,"blur",()=>{this.isPressing&&ru("cancel",(t,e)=>this.cancelPress(t,e))});this.removeAccessibleListeners=ey(t,e)}}startPress(t,e){this.isPressing=!0;let{onTapStart:n,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&I.postRender(()=>n(t,e))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;let t=this.node.getProps();return t.whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!nE()}cancelPress(t,e){if(!this.checkPressEnd())return;let{onTapCancel:n}=this.node.getProps();n&&I.postRender(()=>n(t,e))}mount(){let t=this.node.getProps(),e=ng(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),n=nm(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=ey(e,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends nu{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=ey(nm(this.node.current,"focus",()=>this.onFocus()),nm(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends nu{mount(){this.unmount=ey(rl(this.node,!0),rl(this.node,!1))}unmount(){}}},pan:{Feature:class extends nu{constructor(){super(...arguments),this.removePointerDownListener=R.Z}onPointerDown(t){this.session=new nv(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:n2(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:n,onPanEnd:i}=this.node.getProps();return{onSessionStart:n4(t),onStart:n4(e),onMove:n,onEnd:(t,e)=>{delete this.session,i&&I.postRender(()=>i(t,e))}}}mount(){this.removePointerDownListener=ng(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends nu{constructor(t){super(t),this.removeGroupControls=R.Z,this.removeListeners=R.Z,this.controls=new n3(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||R.Z}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:ra,MeasureLayout:iu},layout:{ProjectionNode:ra,MeasureLayout:iu}},P=(t,e)=>rM(t)?new sn(e):new se(e,{allowProjection:t!==n8.Fragment}),function(t,{forwardMotionProps:e}={forwardMotionProps:!1}){let n=rM(t)?rZ:rG,i={...n,preloadedFeatures:M,useRender:function(t=!1){return(e,n,i,{latestValues:r},s)=>{let o=rM(e)?r2:r_,a=o(n,r,s,e),l=function(t,e,n){let i={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&(r1(r)||!0===n&&r0(r)||!e&&!r0(r)||t.draggable&&r.startsWith("onDrag"))&&(i[r]=t[r]);return i}(n,"string"==typeof e,t),h=e!==n8.Fragment?{...l,...a,ref:i}:{},{children:u}=n,c=(0,n8.useMemo)(()=>nt(u)?u.get():u,[u]);return(0,n8.createElement)(e,{...h,children:c})}}(e),createVisualElement:P,Component:t};return function({preloadedFeatures:t,createVisualElement:e,useRender:n,useVisualState:i,Component:r}){t&&function(t){for(let e in t)rT[e]={...rT[e],...t[e]}}(t);let s=(0,n8.forwardRef)(function(t,s){var o;let l;let h={...(0,n8.useContext)(rg._),...t,layoutId:function({layoutId:t}){let e=(0,n8.useContext)(it.p).id;return e&&void 0!==t?e+"-"+t:t}(t)},{isStatic:u}=h,c=function(t){let{initial:e,animate:n}=function(t,e){if(rw(t)){let{initial:e,animate:n}=t;return{initial:!1===e||a(e)?e:void 0,animate:a(n)?n:void 0}}return!1!==t.inherit?e:{}}(t,(0,n8.useContext)(ry));return(0,n8.useMemo)(()=>({initial:e,animate:n}),[rk(e),rk(n)])}(t),p=i(t,u);if(!u&&rC.j){(0,n8.useContext)(rx).strict;let t=function(t){let{drag:e,layout:n}=rT;if(!e&&!n)return{};let i={...e,...n};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==n?void 0:n.isEnabled(t))?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}(h);l=t.MeasureLayout,c.visualElement=function(t,e,n,i,r){var s,o;let{visualElement:a}=(0,n8.useContext)(ry),l=(0,n8.useContext)(rx),h=(0,n8.useContext)(n7.O),u=(0,n8.useContext)(rg._).reducedMotion,c=(0,n8.useRef)();i=i||l.renderer,!c.current&&i&&(c.current=i(t,{visualState:e,parent:a,props:n,presenceContext:h,blockInitialAnimation:!!h&&!1===h.initial,reducedMotionConfig:u}));let p=c.current,d=(0,n8.useContext)(ie);p&&!p.projection&&r&&("html"===p.type||"svg"===p.type)&&function(t,e,n,i){let{layoutId:r,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:h}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:r,layout:s,alwaysMeasureLayout:!!o||a&&nM(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:i,layoutScroll:l,layoutRoot:h})}(c.current,n,r,d),(0,n8.useInsertionEffect)(()=>{p&&p.update(n,h)});let f=n[e7],m=(0,n8.useRef)(!!f&&!(null===(s=window.MotionHandoffIsComplete)||void 0===s?void 0:s.call(window,f))&&(null===(o=window.MotionHasOptimisedAnimation)||void 0===o?void 0:o.call(window,f)));return(0,rv.L)(()=>{p&&(window.MotionIsMounted=!0,p.updateFeatures(),ia.render(p.render),m.current&&p.animationState&&p.animationState.animateChanges())}),(0,n8.useEffect)(()=>{p&&(!m.current&&p.animationState&&p.animationState.animateChanges(),m.current&&(queueMicrotask(()=>{var t;null===(t=window.MotionHandoffMarkAsComplete)||void 0===t||t.call(window,f)}),m.current=!1))}),p}(r,p,h,e,t.ProjectionNode)}return(0,n6.jsxs)(ry.Provider,{value:c,children:[l&&c.visualElement?(0,n6.jsx)(l,{visualElement:c.visualElement,...h}):null,n(r,t,(o=c.visualElement,(0,n8.useCallback)(t=>{t&&p.mount&&p.mount(t),o&&(t?o.mount(t):o.unmount()),s&&("function"==typeof s?s(t):nM(s)&&(s.current=t))},[o])),p,u,c.visualElement)]})});return s[rA]=r,s}(i)}),sr=function(t){if("undefined"==typeof Proxy)return t;let e=new Map;return new Proxy((...e)=>t(...e),{get:(n,i)=>"create"===i?t:(e.has(i)||e.set(i,t(i)),e.get(i))})}(si)},59700:function(t,e,n){n.d(e,{K:function(){return r},k:function(){return s}});var i=n(58559);let r=i.Z,s=i.Z},80926:function(t,e,n){n.d(e,{j:function(){return i}});let i="undefined"!=typeof window},58559:function(t,e,n){n.d(e,{Z:function(){return i}});let i=t=>t},78118:function(t,e,n){n.d(e,{h:function(){return r}});var i=n(3546);function r(t){let e=(0,i.useRef)(null);return null===e.current&&(e.current=t()),e.current}},10604:function(t,e,n){n.d(e,{L:function(){return s}});var i=n(3546),r=n(80926);let s=r.j?i.useLayoutEffect:i.useEffect},1683:function(t,e,n){n.d(e,{Ig:function(){return S},MI:function(){return w},N0:function(){return M},NE:function(){return a},QK:function(){return b},U9:function(){return O},X0:function(){return E},Y_:function(){return y},_M:function(){return f},al:function(){return h},cR:function(){return c},mD:function(){return A},nw:function(){return D},o:function(){return v},rr:function(){return u},uJ:function(){return N},uo:function(){return C},xb:function(){return k},ym:function(){return I}});var i,r=n(70484),s=n(17824),o=n(10155);let a=(t,e)=>!t.selection.empty&&(e&&e(t.tr.deleteSelection().scrollIntoView()),!0);function l(t,e){let{$cursor:n}=t.selection;return n&&(e?e.endOfTextblock("backward",t):!(n.parentOffset>0))?n:null}let h=(t,e,n)=>{let i=l(t,n);if(!i)return!1;let a=m(i);if(!a){let n=i.blockRange(),s=n&&(0,r.k9)(n);return null!=s&&(e&&e(t.tr.lift(n,s).scrollIntoView()),!0)}let h=a.nodeBefore;if(P(t,a,e,-1))return!0;if(0==i.parent.content.size&&(d(h,"end")||o.qv.isSelectable(h)))for(let n=i.depth;;n--){let l=(0,r.dR)(t.doc,i.before(n),i.after(n),s.p2.empty);if(l&&l.slice.size1)break}return!!h.isAtom&&a.depth==i.depth-1&&(e&&e(t.tr.delete(a.pos-h.nodeSize,a.pos).scrollIntoView()),!0)},u=(t,e,n)=>{let i=l(t,n);if(!i)return!1;let r=m(i);return!!r&&p(t,r,e)},c=(t,e,n)=>{let i=g(t,n);if(!i)return!1;let r=x(i);return!!r&&p(t,r,e)};function p(t,e,n){let i=e.nodeBefore,a=e.pos-1;for(;!i.isTextblock;a--){if(i.type.spec.isolating)return!1;let t=i.lastChild;if(!t)return!1;i=t}let l=e.nodeAfter,h=e.pos+1;for(;!l.isTextblock;h++){if(l.type.spec.isolating)return!1;let t=l.firstChild;if(!t)return!1;l=t}let u=(0,r.dR)(t.doc,a,h,s.p2.empty);if(!u||u.from!=a||u instanceof r.Pu&&u.slice.size>=h-a)return!1;if(n){let e=t.tr.step(u);e.setSelection(o.Bs.create(e.doc,a)),n(e.scrollIntoView())}return!0}function d(t,e,n=!1){for(let i=t;i;i="start"==e?i.firstChild:i.lastChild){if(i.isTextblock)return!0;if(n&&1!=i.childCount)break}return!1}let f=(t,e,n)=>{let{$head:i,empty:r}=t.selection,s=i;if(!r)return!1;if(i.parent.isTextblock){if(n?!n.endOfTextblock("backward",t):i.parentOffset>0)return!1;s=m(i)}let a=s&&s.nodeBefore;return!!(a&&o.qv.isSelectable(a))&&(e&&e(t.tr.setSelection(o.qv.create(t.doc,s.pos-a.nodeSize)).scrollIntoView()),!0)};function m(t){if(!t.parent.type.spec.isolating)for(let e=t.depth-1;e>=0;e--){if(t.index(e)>0)return t.doc.resolve(t.before(e+1));if(t.node(e).type.spec.isolating)break}return null}function g(t,e){let{$cursor:n}=t.selection;return n&&(e?e.endOfTextblock("forward",t):!(n.parentOffset{let i=g(t,n);if(!i)return!1;let a=x(i);if(!a)return!1;let l=a.nodeAfter;if(P(t,a,e,1))return!0;if(0==i.parent.content.size&&(d(l,"start")||o.qv.isSelectable(l))){let n=(0,r.dR)(t.doc,i.before(),i.after(),s.p2.empty);if(n&&n.slice.size{let{$head:i,empty:r}=t.selection,s=i;if(!r)return!1;if(i.parent.isTextblock){if(n?!n.endOfTextblock("forward",t):i.parentOffset=0;e--){let n=t.node(e);if(t.index(e)+1{let n=t.selection,i=n instanceof o.qv,s;if(i){if(n.node.isTextblock||!(0,r.Mn)(t.doc,n.from))return!1;s=n.from}else if(null==(s=(0,r.GJ)(t.doc,n.from,-1)))return!1;if(e){let n=t.tr.join(s);i&&n.setSelection(o.qv.create(n.doc,s-t.doc.resolve(s).nodeBefore.nodeSize)),e(n.scrollIntoView())}return!0},S=(t,e)=>{let n=t.selection,i;if(n instanceof o.qv){if(n.node.isTextblock||!(0,r.Mn)(t.doc,n.to))return!1;i=n.to}else if(null==(i=(0,r.GJ)(t.doc,n.to,1)))return!1;return e&&e(t.tr.join(i).scrollIntoView()),!0},k=(t,e)=>{let{$from:n,$to:i}=t.selection,s=n.blockRange(i),o=s&&(0,r.k9)(s);return null!=o&&(e&&e(t.tr.lift(s,o).scrollIntoView()),!0)},b=(t,e)=>{let{$head:n,$anchor:i}=t.selection;return!!(n.parent.type.spec.code&&n.sameParent(i))&&(e&&e(t.tr.insertText("\n").scrollIntoView()),!0)};function T(t){for(let e=0;e{let{$head:n,$anchor:i}=t.selection;if(!n.parent.type.spec.code||!n.sameParent(i))return!1;let r=n.node(-1),s=n.indexAfter(-1),a=T(r.contentMatchAt(s));if(!a||!r.canReplaceWith(s,s,a))return!1;if(e){let i=n.after(),r=t.tr.replaceWith(i,i,a.createAndFill());r.setSelection(o.Y1.near(r.doc.resolve(i),1)),e(r.scrollIntoView())}return!0},A=(t,e)=>{let n=t.selection,{$from:i,$to:r}=n;if(n instanceof o.C1||i.parent.inlineContent||r.parent.inlineContent)return!1;let s=T(r.parent.contentMatchAt(r.indexAfter()));if(!s||!s.isTextblock)return!1;if(e){let n=(!i.parentOffset&&r.index(){let{$cursor:n}=t.selection;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){let i=n.before();if((0,r.Ax)(t.doc,i))return e&&e(t.tr.split(i).scrollIntoView()),!0}let i=n.blockRange(),s=i&&(0,r.k9)(i);return null!=s&&(e&&e(t.tr.lift(i,s).scrollIntoView()),!0)},M=(t,e)=>{let{$from:n,to:i}=t.selection,r,s=n.sharedDepth(i);return 0!=s&&(r=n.before(s),e&&e(t.tr.setSelection(o.qv.create(t.doc,r))),!0)};function P(t,e,n,i){let a,l,h,u=e.nodeBefore,c=e.nodeAfter,p,f,m=u.type.spec.isolating||c.type.spec.isolating;if(!m&&(a=e.nodeBefore,l=e.nodeAfter,h=e.index(),a&&l&&a.type.compatibleContent(l.type)&&(!a.content.size&&e.parent.canReplace(h-1,h)?(n&&n(t.tr.delete(e.pos-a.nodeSize,e.pos).scrollIntoView()),!0):!!(e.parent.canReplace(h,h+1)&&(l.isTextblock||(0,r.Mn)(t.doc,e.pos)))&&(n&&n(t.tr.clearIncompatible(e.pos,a.type,a.contentMatchAt(a.childCount)).join(e.pos).scrollIntoView()),!0))))return!0;let g=!m&&e.parent.canReplace(e.index(),e.index()+1);if(g&&(p=(f=u.contentMatchAt(u.childCount)).findWrapping(c.type))&&f.matchType(p[0]||c.type).validEnd){if(n){let i=e.pos+c.nodeSize,o=s.HY.empty;for(let t=p.length-1;t>=0;t--)o=s.HY.from(p[t].create(null,o));o=s.HY.from(u.copy(o));let a=t.tr.step(new r.FC(e.pos-1,i,e.pos,i,new s.p2(o,1,0),p.length,!0)),l=i+2*p.length;(0,r.Mn)(a.doc,l)&&a.join(l),n(a.scrollIntoView())}return!0}let y=c.type.spec.isolating||i>0&&m?null:o.Y1.findFrom(e,1),v=y&&y.$from.blockRange(y.$to),x=v&&(0,r.k9)(v);if(null!=x&&x>=e.depth)return n&&n(t.tr.lift(v,x).scrollIntoView()),!0;if(g&&d(c,"start",!0)&&d(u,"end")){let i=u,o=[];for(;o.push(i),!i.isTextblock;)i=i.lastChild;let a=c,l=1;for(;!a.isTextblock;a=a.firstChild)l++;if(i.canReplace(i.childCount,i.childCount,a.content)){if(n){let i=s.HY.empty;for(let t=o.length-1;t>=0;t--)i=s.HY.from(o[t].copy(i));n(t.tr.step(new r.FC(e.pos-o.length,e.pos+c.nodeSize,e.pos+l,e.pos+c.nodeSize-l,new s.p2(i,o.length,0),0,!0)).scrollIntoView())}return!0}}return!1}function R(t){return function(e,n){let i=e.selection,r=t<0?i.$from:i.$to,s=r.depth;for(;r.node(s).isInline;){if(!s)return!1;s--}return!!r.node(s).isTextblock&&(n&&n(e.tr.setSelection(o.Bs.create(e.doc,t<0?r.start(s):r.end(s)))),!0)}}let O=R(-1),D=R(1);function I(t,e=null){return function(n,i){let{$from:s,$to:o}=n.selection,a=s.blockRange(o),l=a&&(0,r.nd)(a,t,e);return!!l&&(i&&i(n.tr.wrap(a,l).scrollIntoView()),!0)}}function N(t,e=null){return function(n,i){let r=!1;for(let i=0;i{if(r)return!1;if(!(!i.isTextblock||i.hasMarkup(t,e))){if(i.type==t)r=!0;else{let e=n.doc.resolve(s),i=e.index();r=e.parent.canReplaceWith(i,i+1,t)}}})}if(!r)return!1;if(i){let r=n.tr;for(let i=0;i{let{$from:n,$to:s}=t.selection;if(t.selection instanceof o.qv&&t.selection.node.isBlock)return!!(n.parentOffset&&(0,r.Ax)(t.doc,n.pos))&&(e&&e(t.tr.split(n.pos).scrollIntoView()),!0);if(!n.parent.isBlock)return!1;if(e){let a=s.parentOffset==s.parent.content.size,l=t.tr;(t.selection instanceof o.Bs||t.selection instanceof o.C1)&&l.deleteSelection();let h=0==n.depth?null:T(n.node(-1).contentMatchAt(n.indexAfter(-1))),u=i&&i(s.parent,a,n),c=u?[u]:a&&h?[{type:h}]:void 0,p=(0,r.Ax)(l.doc,l.mapping.map(n.pos),1,c);if(!c&&!p&&(0,r.Ax)(l.doc,l.mapping.map(n.pos),1,h?[{type:h}]:void 0)&&(h&&(c=[{type:h}]),p=!0),p&&(l.split(l.mapping.map(n.pos),1,c),!a&&!n.parentOffset&&n.parent.type!=h)){let t=l.mapping.map(n.before()),e=l.doc.resolve(t);h&&n.node(-1).canReplaceWith(e.index(),e.index()+1,h)&&l.setNodeMarkup(l.mapping.map(n.before()),h)}e(l.scrollIntoView())}return!0}),"Mod-Enter":C,Backspace:F,"Mod-Backspace":F,"Shift-Backspace":F,Delete:z,"Mod-Delete":z,"Mod-a":(t,e)=>(e&&e(t.tr.setSelection(new o.C1(t.doc))),!0)},j={"Ctrl-h":B.Backspace,"Alt-Backspace":B["Mod-Backspace"],"Ctrl-d":B.Delete,"Ctrl-Alt-Backspace":B["Mod-Delete"],"Alt-Delete":B["Mod-Delete"],"Alt-d":B["Mod-Delete"],"Ctrl-a":O,"Ctrl-e":D};for(let t in B)j[t]=B[t];"undefined"!=typeof navigator?/Mac|iP(hone|[oa]d)/.test(navigator.platform):"undefined"!=typeof os&&os.platform&&os.platform()},98668:function(t,e,n){n.d(e,{h:function(){return a}});var i=n(21987),r=n(10155);let s="undefined"!=typeof navigator&&/Mac|iP(hone|[oa]d)/.test(navigator.platform);function o(t,e,n=!0){return e.altKey&&(t="Alt-"+t),e.ctrlKey&&(t="Ctrl-"+t),e.metaKey&&(t="Meta-"+t),n&&e.shiftKey&&(t="Shift-"+t),t}function a(t){let e;return new r.Sy({props:{handleKeyDown:(e=function(t){let e=Object.create(null);for(let n in t)e[function(t){let e,n,i,r,o=t.split(/-(?!$)/),a=o[o.length-1];"Space"==a&&(a=" ");for(let t=0;t127)&&(s=i.ue[n.keyCode])&&s!=r){let i=e[o(s,n)];if(i&&i(t.state,t.dispatch,t))return!0}}return!1})}})}},17824:function(t,e,n){function i(t){this.content=t}n.d(e,{aw:function(){return L},PW:function(){return Z},HY:function(){return r},vc:function(){return l},ZU:function(){return z},NB:function(){return b},Ts:function(){return S},e4:function(){return h},V_:function(){return B},p2:function(){return u}}),i.prototype={constructor:i,find:function(t){for(var e=0;e>1}},i.from=function(t){if(t instanceof i)return t;var e=[];if(t)for(var n in t)e.push(n,t[n]);return new i(e)};class r{constructor(t,e){if(this.content=t,this.size=e||0,null==e)for(let e=0;et&&!1!==n(a,i+o,r||null,s)&&a.content.size){let r=o+1;a.nodesBetween(Math.max(0,t-r),Math.min(a.content.size,e-r),n,i+r)}o=l}}descendants(t){this.nodesBetween(0,this.size,t)}textBetween(t,e,n,i){let r="",s=!0;return this.nodesBetween(t,e,(o,a)=>{let l=o.isText?o.text.slice(Math.max(t,a)-a,e-a):o.isLeaf?i?"function"==typeof i?i(o):i:o.type.spec.leafText?o.type.spec.leafText(o):"":"";o.isBlock&&(o.isLeaf&&l||o.isTextblock)&&n&&(s?s=!1:r+=n),r+=l},0),r}append(t){if(!t.size)return this;if(!this.size)return t;let e=this.lastChild,n=t.firstChild,i=this.content.slice(),s=0;for(e.isText&&e.sameMarkup(n)&&(i[i.length-1]=e.withText(e.text+n.text),s=1);st)for(let r=0,s=0;st&&((se)&&(o=o.isText?o.cut(Math.max(0,t-s),Math.min(o.text.length,e-s)):o.cut(Math.max(0,t-s-1),Math.min(o.content.size,e-s-1))),n.push(o),i+=o.nodeSize),s=a}return new r(n,i)}cutByIndex(t,e){return t==e?r.empty:0==t&&e==this.content.length?this:new r(this.content.slice(t,e))}replaceChild(t,e){let n=this.content[t];if(n==e)return this;let i=this.content.slice(),s=this.size+e.nodeSize-n.nodeSize;return i[t]=e,new r(i,s)}addToStart(t){return new r([t].concat(this.content),this.size+t.nodeSize)}addToEnd(t){return new r(this.content.concat(t),this.size+t.nodeSize)}eq(t){if(this.content.length!=t.content.length)return!1;for(let e=0;ethis.size||t<0)throw RangeError(`Position ${t} outside of fragment (${this})`);for(let n=0,i=0;;n++){let r=i+this.child(n).nodeSize;if(r>=t){if(r==t||e>0)return o(n+1,r);return o(n,i)}i=r}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(t=>t.toJSON()):null}static fromJSON(t,e){if(!e)return r.empty;if(!Array.isArray(e))throw RangeError("Invalid input for Fragment.fromJSON");return new r(e.map(t.nodeFromJSON))}static fromArray(t){if(!t.length)return r.empty;let e,n=0;for(let i=0;ithis.type.rank&&(e||(e=t.slice(0,i)),e.push(this),n=!0),e&&e.push(r)}}return e||(e=t.slice()),n||e.push(this),e}removeFromSet(t){for(let e=0;et.type.rank-e.type.rank),e}}l.none=[];class h extends Error{}class u{constructor(t,e,n){this.content=t,this.openStart=e,this.openEnd=n}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(t,e){let n=function t(e,n,i,r){let{index:s,offset:o}=e.findIndex(n),a=e.maybeChild(s);if(o==n||a.isText)return r&&!r.canReplace(s,s,i)?null:e.cut(0,n).append(i).append(e.cut(n));let l=t(a.content,n-o-1,i);return l&&e.replaceChild(s,a.copy(l))}(this.content,t+this.openStart,e);return n&&new u(n,this.openStart,this.openEnd)}removeBetween(t,e){return new u(function t(e,n,i){let{index:r,offset:s}=e.findIndex(n),o=e.maybeChild(r),{index:a,offset:l}=e.findIndex(i);if(s==n||o.isText){if(l!=i&&!e.child(a).isText)throw RangeError("Removing non-flat range");return e.cut(0,n).append(e.cut(i))}if(r!=a)throw RangeError("Removing non-flat range");return e.replaceChild(r,o.copy(t(o.content,n-s-1,i-s-1)))}(this.content,t+this.openStart,e+this.openStart),this.openStart,this.openEnd)}eq(t){return this.content.eq(t.content)&&this.openStart==t.openStart&&this.openEnd==t.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let t={content:this.content.toJSON()};return this.openStart>0&&(t.openStart=this.openStart),this.openEnd>0&&(t.openEnd=this.openEnd),t}static fromJSON(t,e){if(!e)return u.empty;let n=e.openStart||0,i=e.openEnd||0;if("number"!=typeof n||"number"!=typeof i)throw RangeError("Invalid input for Slice.fromJSON");return new u(r.fromJSON(t,e.content),n,i)}static maxOpen(t,e=!0){let n=0,i=0;for(let i=t.firstChild;i&&!i.isLeaf&&(e||!i.type.spec.isolating);i=i.firstChild)n++;for(let n=t.lastChild;n&&!n.isLeaf&&(e||!n.type.spec.isolating);n=n.lastChild)i++;return new u(t,n,i)}}function c(t,e){if(!e.type.compatibleContent(t.type))throw new h("Cannot join "+e.type.name+" onto "+t.type.name)}function p(t,e,n){let i=t.node(n);return c(i,e.node(n)),i}function d(t,e){let n=e.length-1;n>=0&&t.isText&&t.sameMarkup(e[n])?e[n]=t.withText(e[n].text+t.text):e.push(t)}function f(t,e,n,i){let r=(e||t).node(n),s=0,o=e?e.index(n):r.childCount;t&&(s=t.index(n),t.depth>n?s++:t.textOffset&&(d(t.nodeAfter,i),s++));for(let t=s;tn&&d(m(p(t,e,n+1),g(t,e,n+1)),i),f(e,null,n,i),new r(i)}u.empty=new u(r.empty,0,0);class y{constructor(t,e,n){this.pos=t,this.path=e,this.parentOffset=n,this.depth=e.length/3-1}resolveDepth(t){return null==t?this.depth:t<0?this.depth+t:t}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(t){return this.path[3*this.resolveDepth(t)]}index(t){return this.path[3*this.resolveDepth(t)+1]}indexAfter(t){return t=this.resolveDepth(t),this.index(t)+(t!=this.depth||this.textOffset?1:0)}start(t){return 0==(t=this.resolveDepth(t))?0:this.path[3*t-1]+1}end(t){return t=this.resolveDepth(t),this.start(t)+this.node(t).content.size}before(t){if(!(t=this.resolveDepth(t)))throw RangeError("There is no position before the top-level node");return t==this.depth+1?this.pos:this.path[3*t-1]}after(t){if(!(t=this.resolveDepth(t)))throw RangeError("There is no position after the top-level node");return t==this.depth+1?this.pos:this.path[3*t-1]+this.path[3*t].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let t=this.parent,e=this.index(this.depth);if(e==t.childCount)return null;let n=this.pos-this.path[this.path.length-1],i=t.child(e);return n?t.child(e).cut(n):i}get nodeBefore(){let t=this.index(this.depth),e=this.pos-this.path[this.path.length-1];return e?this.parent.child(t).cut(0,e):0==t?null:this.parent.child(t-1)}posAtIndex(t,e){e=this.resolveDepth(e);let n=this.path[3*e],i=0==e?0:this.path[3*e-1]+1;for(let e=0;e0;e--)if(this.start(e)<=t&&this.end(e)>=t)return e;return 0}blockRange(t=this,e){if(t.pos=0;n--)if(t.pos<=this.end(n)&&(!e||e(this.node(n))))return new S(this,t,n);return null}sameParent(t){return this.pos-this.parentOffset==t.pos-t.parentOffset}max(t){return t.pos>this.pos?t:this}min(t){return t.pos=0&&e<=t.content.size))throw RangeError("Position "+e+" out of range");let n=[],i=0,r=e;for(let e=t;;){let{index:t,offset:s}=e.content.findIndex(r),o=r-s;if(n.push(e,t,i+s),!o||(e=e.child(t)).isText)break;r=o-1,i+=s+1}return new y(e,n,r)}static resolveCached(t,e){let n=w.get(t);if(n)for(let t=0;tt.depth)throw new h("Inserted content deeper than insertion position");if(t.depth-n.openStart!=e.depth-n.openEnd)throw new h("Inconsistent open depths");return function t(e,n,i,s){let o=e.index(s),a=e.node(s);if(o==n.index(s)&&s=0;t--)i=e.node(t).copy(r.from(i));return{start:i.resolveNoCache(t.openStart+n),end:i.resolveNoCache(i.content.size-t.openEnd-n)}}(i,e);return m(a,function t(e,n,i,s,o){let a=e.depth>o&&p(e,n,o+1),l=s.depth>o&&p(i,s,o+1),h=[];return f(null,e,o,h),a&&l&&n.index(o)==i.index(o)?(c(a,l),d(m(a,t(e,n,i,s,o+1)),h)):(a&&d(m(a,g(e,n,o+1)),h),f(n,i,o,h),l&&d(m(l,g(i,s,o+1)),h)),f(s,null,o,h),new r(h)}(e,t,o,n,s))}{let t=e.parent,r=t.content;return m(t,r.cut(0,e.parentOffset).append(i.content).append(r.cut(n.parentOffset)))}}(t,e,n,0)}(this.resolve(t),this.resolve(e),n)}nodeAt(t){for(let e=this;;){let{index:n,offset:i}=e.content.findIndex(t);if(!(e=e.maybeChild(n)))return null;if(i==t||e.isText)return e;t-=i+1}}childAfter(t){let{index:e,offset:n}=this.content.findIndex(t);return{node:this.content.maybeChild(e),index:e,offset:n}}childBefore(t){if(0==t)return{node:null,index:0,offset:0};let{index:e,offset:n}=this.content.findIndex(t);if(nt&&this.nodesBetween(t,e,t=>(n.isInSet(t.marks)&&(i=!0),!i)),i}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let t=this.type.name;return this.content.size&&(t+="("+this.content.toStringInner()+")"),C(this.marks,t)}contentMatchAt(t){let e=this.type.contentMatch.matchFragment(this.content,0,t);if(!e)throw Error("Called contentMatchAt on a node with invalid content");return e}canReplace(t,e,n=r.empty,i=0,s=n.childCount){let o=this.contentMatchAt(t).matchFragment(n,i,s),a=o&&o.matchFragment(this.content,e);if(!a||!a.validEnd)return!1;for(let t=i;tt.type.name)}`);this.content.forEach(t=>t.check())}toJSON(){let t={type:this.type.name};for(let e in this.attrs){t.attrs=this.attrs;break}return this.content.size&&(t.content=this.content.toJSON()),this.marks.length&&(t.marks=this.marks.map(t=>t.toJSON())),t}static fromJSON(t,e){let n;if(!e)throw RangeError("Invalid input for Node.fromJSON");if(e.marks){if(!Array.isArray(e.marks))throw RangeError("Invalid mark data for Node.fromJSON");n=e.marks.map(t.markFromJSON)}if("text"==e.type){if("string"!=typeof e.text)throw RangeError("Invalid text node in JSON");return t.text(e.text,n)}let i=r.fromJSON(t,e.content),s=t.nodeType(e.type).create(e.attrs,i,n);return s.type.checkAttrs(s.attrs),s}}b.prototype.text=void 0;class T extends b{constructor(t,e,n,i){if(super(t,e,null,i),!n)throw RangeError("Empty text nodes are not allowed");this.text=n}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):C(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(t,e){return this.text.slice(t,e)}get nodeSize(){return this.text.length}mark(t){return t==this.marks?this:new T(this.type,this.attrs,this.text,t)}withText(t){return t==this.text?this:new T(this.type,this.attrs,t,this.marks)}cut(t=0,e=this.text.length){return 0==t&&e==this.text.length?this:this.withText(this.text.slice(t,e))}eq(t){return this.sameMarkup(t)&&this.text==t.text}toJSON(){let t=super.toJSON();return t.text=this.text,t}}function C(t,e){for(let n=t.length-1;n>=0;n--)e=t[n].type.name+"("+e+")";return e}class A{constructor(t){this.validEnd=t,this.next=[],this.wrapCache=[]}static parse(t,e){var n;let i,r=new E(t,e);if(null==r.next)return A.empty;let s=function t(e){let n=[];do n.push(function(e){let n=[];do n.push(function(e){let n=function(e){if(e.eat("(")){let n=t(e);return e.eat(")")||e.err("Missing closing paren"),n}if(/\W/.test(e.next))e.err("Unexpected token '"+e.next+"'");else{let t=(function(t,e){let n=t.nodeTypes,i=n[e];if(i)return[i];let r=[];for(let t in n){let i=n[t];i.groups.indexOf(e)>-1&&r.push(i)}return 0==r.length&&t.err("No node type or group '"+e+"' found"),r})(e,e.next).map(t=>(null==e.inline?e.inline=t.isInline:e.inline!=t.isInline&&e.err("Mixing inline and block content"),{type:"name",value:t}));return e.pos++,1==t.length?t[0]:{type:"choice",exprs:t}}}(e);for(;;)if(e.eat("+"))n={type:"plus",expr:n};else if(e.eat("*"))n={type:"star",expr:n};else if(e.eat("?"))n={type:"opt",expr:n};else if(e.eat("{"))n=function(t,e){let n=M(t),i=n;return t.eat(",")&&(i="}"!=t.next?M(t):-1),t.eat("}")||t.err("Unclosed braced range"),{type:"range",min:n,max:i,expr:e}}(e,n);else break;return n}(e));while(e.next&&")"!=e.next&&"|"!=e.next);return 1==n.length?n[0]:{type:"seq",exprs:n}}(e));while(e.eat("|"));return 1==n.length?n[0]:{type:"choice",exprs:n}}(r);r.next&&r.err("Unexpected trailing text");let o=(n=function(t){let e=[[]];return r(function t(e,s){if("choice"==e.type)return e.exprs.reduce((e,n)=>e.concat(t(n,s)),[]);if("seq"==e.type)for(let i=0;;i++){let o=t(e.exprs[i],s);if(i==e.exprs.length-1)return o;r(o,s=n())}else if("star"==e.type){let o=n();return i(s,o),r(t(e.expr,o),o),[i(o)]}else if("plus"==e.type){let o=n();return r(t(e.expr,s),o),r(t(e.expr,o),o),[i(o)]}else if("opt"==e.type)return[i(s)].concat(t(e.expr,s));else if("range"==e.type){let o=s;for(let i=0;it.to=e)}}(s),i=Object.create(null),function t(e){let r=[];e.forEach(t=>{n[t].forEach(({term:t,to:e})=>{let i;if(t){for(let e=0;e{i||r.push([t,i=[]]),-1==i.indexOf(e)&&i.push(e)})}})});let s=i[e.join(",")]=new A(e.indexOf(n.length-1)>-1);for(let e=0;et.createAndFill()));for(let t=0;t=this.next.length)throw RangeError(`There's no ${t}th edge in this content match`);return this.next[t]}toString(){let t=[];return!function e(n){t.push(n);for(let i=0;i{let i=n+(e.validEnd?"*":" ")+" ";for(let n=0;n"+t.indexOf(e.next[n].next);return i}).join("\n")}}A.empty=new A(!0);class E{constructor(t,e){this.string=t,this.nodeTypes=e,this.inline=null,this.pos=0,this.tokens=t.split(/\s*(?=\b|\W|$)/),""==this.tokens[this.tokens.length-1]&&this.tokens.pop(),""==this.tokens[0]&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(t){return this.next==t&&(this.pos++||!0)}err(t){throw SyntaxError(t+" (in content expression '"+this.string+"')")}}function M(t){/\D/.test(t.next)&&t.err("Expected number, got '"+t.next+"'");let e=Number(t.next);return t.pos++,e}function P(t,e){return e-t}function R(t,e){let n=[];return function e(i){let r=t[i];if(1==r.length&&!r[0].term)return e(r[0].to);n.push(i);for(let t=0;t-1}allowsMarks(t){if(null==this.markSet)return!0;for(let e=0;en[t]=new V(t,e,i));let i=e.spec.topNode||"doc";if(!n[i])throw RangeError("Schema is missing its top node type ('"+i+"')");if(!n.text)throw RangeError("Every schema needs a 'text' type");for(let t in n.text.attrs)throw RangeError("The text node type should not have attributes");return n}}class F{constructor(t,e,n){let i;this.hasDefault=Object.prototype.hasOwnProperty.call(n,"default"),this.default=n.default,this.validate="string"==typeof n.validate?(i=n.validate.split("|"),n=>{let r=null===n?"null":typeof n;if(0>i.indexOf(r))throw RangeError(`Expected value of type ${i} for attribute ${e} on type ${t}, got ${r}`)}):n.validate}get isRequired(){return!this.hasDefault}}class z{constructor(t,e,n,i){this.name=t,this.rank=e,this.schema=n,this.spec=i,this.attrs=N(t,i.attrs),this.excluded=null;let r=O(this.attrs);this.instance=r?new l(this,r):null}create(t=null){return!t&&this.instance?this.instance:new l(this,D(this.attrs,t))}static compile(t,e){let n=Object.create(null),i=0;return t.forEach((t,r)=>n[t]=new z(t,i++,e,r)),n}removeFromSet(t){for(var e=0;e-1}}class B{constructor(t){this.linebreakReplacement=null,this.cached=Object.create(null);let e=this.spec={};for(let n in t)e[n]=t[n];e.nodes=i.from(t.nodes),e.marks=i.from(t.marks||{}),this.nodes=V.compile(this.spec.nodes,this),this.marks=z.compile(this.spec.marks,this);let n=Object.create(null);for(let t in this.nodes){if(t in this.marks)throw RangeError(t+" can not be both a node and a mark");let e=this.nodes[t],i=e.spec.content||"",r=e.spec.marks;if(e.contentMatch=n[i]||(n[i]=A.parse(i,this.nodes)),e.inlineContent=e.contentMatch.inlineContent,e.spec.linebreakReplacement){if(this.linebreakReplacement)throw RangeError("Multiple linebreak nodes defined");if(!e.isInline||!e.isLeaf)throw RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=e}e.markSet="_"==r?null:r?j(this,r.split(" ")):""!=r&&e.inlineContent?null:[]}for(let t in this.marks){let e=this.marks[t],n=e.spec.excludes;e.excluded=null==n?[e]:""==n?[]:j(this,n.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(t,e=null,n,i){if("string"==typeof t)t=this.nodeType(t);else if(t instanceof V){if(t.schema!=this)throw RangeError("Node type from different schema used ("+t.name+")")}else throw RangeError("Invalid node type: "+t);return t.createChecked(e,n,i)}text(t,e){let n=this.nodes.text;return new T(n,n.defaultAttrs,t,l.setFrom(e))}mark(t,e){return"string"==typeof t&&(t=this.marks[t]),t.create(e)}nodeFromJSON(t){return b.fromJSON(this,t)}markFromJSON(t){return l.fromJSON(this,t)}nodeType(t){let e=this.nodes[t];if(!e)throw RangeError("Unknown node type: "+t);return e}}function j(t,e){let n=[];for(let i=0;i-1)&&n.push(o=i)}if(!o)throw SyntaxError("Unknown mark type: '"+e[i]+"'")}return n}class L{constructor(t,e){this.schema=t,this.rules=e,this.tags=[],this.styles=[];let n=this.matchedStyles=[];e.forEach(t=>{if(null!=t.tag)this.tags.push(t);else if(null!=t.style){let e=/[^=]*/.exec(t.style)[0];0>n.indexOf(e)&&n.push(e),this.styles.push(t)}}),this.normalizeLists=!this.tags.some(e=>{if(!/^(ul|ol)\b/.test(e.tag)||!e.node)return!1;let n=t.nodes[e.node];return n.contentMatch.matchType(n)})}parse(t,e={}){let n=new H(this,e,!1);return n.addAll(t,l.none,e.from,e.to),n.finish()}parseSlice(t,e={}){let n=new H(this,e,!0);return n.addAll(t,l.none,e.from,e.to),u.maxOpen(n.finish())}matchTag(t,e,n){for(let r=n?this.tags.indexOf(n)+1:0;rt.length)||61==s.charCodeAt(t.length)&&s.slice(t.length+1)==e)){if(i.getAttrs){let t=i.getAttrs(e);if(!1===t)continue;i.attrs=t||void 0}return i}}}static schemaRules(t){let e=[];function n(t){let n=null==t.priority?50:t.priority,i=0;for(;i{n(t=q(t)),t.mark||t.ignore||t.clearMark||(t.mark=e)})}for(let e in t.nodes){let i=t.nodes[e].spec.parseDOM;i&&i.forEach(t=>{n(t=q(t)),t.node||t.ignore||t.mark||(t.node=e)})}return e}static fromSchema(t){return t.cached.domParser||(t.cached.domParser=new L(t,L.schemaRules(t)))}}let $={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},U={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},Y={ol:!0,ul:!0};function W(t,e,n){return null!=e?(e?1:0)|("full"===e?2:0):t&&"pre"==t.whitespace?3:-5&n}class J{constructor(t,e,n,i,r,s){this.type=t,this.attrs=e,this.marks=n,this.solid=i,this.options=s,this.content=[],this.activeMarks=l.none,this.match=r||(4&s?null:t.contentMatch)}findWrapping(t){if(!this.match){if(!this.type)return[];let e=this.type.contentMatch.fillBefore(r.from(t));if(e)this.match=this.type.contentMatch.matchFragment(e);else{let e=this.type.contentMatch,n;return(n=e.findWrapping(t.type))?(this.match=e,n):null}}return this.match.findWrapping(t.type)}finish(t){if(!(1&this.options)){let t=this.content[this.content.length-1],e;t&&t.isText&&(e=/[ \t\r\n\u000c]+$/.exec(t.text))&&(t.text.length==e[0].length?this.content.pop():this.content[this.content.length-1]=t.withText(t.text.slice(0,t.text.length-e[0].length)))}let e=r.from(this.content);return!t&&this.match&&(e=e.append(this.match.fillBefore(r.empty,!0))),this.type?this.type.create(this.attrs,e,this.marks):e}inlineContext(t){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:t.parentNode&&!$.hasOwnProperty(t.parentNode.nodeName.toLowerCase())}}class H{constructor(t,e,n){this.parser=t,this.options=e,this.isOpen=n,this.open=0;let i=e.topNode,r,s=W(null,e.preserveWhitespace,0)|(n?4:0);r=i?new J(i.type,i.attrs,l.none,!0,e.topMatch||i.type.contentMatch,s):n?new J(null,null,l.none,!0,null,s):new J(t.schema.topNodeType,null,l.none,!0,null,s),this.nodes=[r],this.find=e.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(t,e){3==t.nodeType?this.addTextNode(t,e):1==t.nodeType&&this.addElement(t,e)}addTextNode(t,e){let n=t.nodeValue,i=this.top;if(2&i.options||i.inlineContext(t)||/[^ \t\r\n\u000c]/.test(n)){if(1&i.options)n=2&i.options?n.replace(/\r\n?/g,"\n"):n.replace(/\r?\n|\r/g," ");else if(n=n.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(n)&&this.open==this.nodes.length-1){let e=i.content[i.content.length-1],r=t.previousSibling;(!e||r&&"BR"==r.nodeName||e.isText&&/[ \t\r\n\u000c]$/.test(e.text))&&(n=n.slice(1))}n&&this.insertNode(this.parser.schema.text(n),e),this.findInText(t)}else this.findInside(t)}addElement(t,e,n){let i=t.nodeName.toLowerCase(),r;Y.hasOwnProperty(i)&&this.parser.normalizeLists&&function(t){for(let e=t.firstChild,n=null;e;e=e.nextSibling){let t=1==e.nodeType?e.nodeName.toLowerCase():null;t&&Y.hasOwnProperty(t)&&n?(n.appendChild(e),e=n):"li"==t?n=e:t&&(n=null)}}(t);let s=this.options.ruleFromNode&&this.options.ruleFromNode(t)||(r=this.parser.matchTag(t,this,n));if(s?s.ignore:U.hasOwnProperty(i))this.findInside(t),this.ignoreFallback(t,e);else if(!s||s.skip||s.closeParent){s&&s.closeParent?this.open=Math.max(0,this.open-1):s&&s.skip.nodeType&&(t=s.skip);let n,r=this.top,o=this.needsBlock;if($.hasOwnProperty(i))r.content.length&&r.content[0].isInline&&this.open&&(this.open--,r=this.top),n=!0,r.type||(this.needsBlock=!0);else if(!t.firstChild){this.leafFallback(t,e);return}let a=s&&s.skip?e:this.readStyles(t,e);a&&this.addAll(t,a),n&&this.sync(r),this.needsBlock=o}else{let n=this.readStyles(t,e);n&&this.addElementByRule(t,s,n,!1===s.consuming?r:void 0)}}leafFallback(t,e){"BR"==t.nodeName&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(t.ownerDocument.createTextNode("\n"),e)}ignoreFallback(t,e){"BR"!=t.nodeName||this.top.type&&this.top.type.inlineContent||this.findPlace(this.parser.schema.text("-"),e)}readStyles(t,e){let n=t.style;if(n&&n.length)for(let t=0;t!n.clearMark(t)):e.concat(this.parser.schema.marks[n.mark].create(n.attrs)),!1===n.consuming)t=n;else break}}return e}addElementByRule(t,e,n,i){let r,s;if(e.node){if((s=this.parser.schema.nodes[e.node]).isLeaf)this.insertNode(s.create(e.attrs),n)||this.leafFallback(t,n);else{let t=this.enter(s,e.attrs||null,n,e.preserveWhitespace);t&&(r=!0,n=t)}}else{let t=this.parser.schema.marks[e.mark];n=n.concat(t.create(e.attrs))}let o=this.top;if(s&&s.isLeaf)this.findInside(t);else if(i)this.addElement(t,n,i);else if(e.getContent)this.findInside(t),e.getContent(t,this.parser.schema).forEach(t=>this.insertNode(t,n));else{let i=t;"string"==typeof e.contentElement?i=t.querySelector(e.contentElement):"function"==typeof e.contentElement?i=e.contentElement(t):e.contentElement&&(i=e.contentElement),this.findAround(t,i,!0),this.addAll(i,n)}r&&this.sync(o)&&this.open--}addAll(t,e,n,i){let r=n||0;for(let s=n?t.childNodes[n]:t.firstChild,o=null==i?null:t.childNodes[i];s!=o;s=s.nextSibling,++r)this.findAtPoint(t,r),this.addDOM(s,e);this.findAtPoint(t,r)}findPlace(t,e){let n,i;for(let e=this.open;e>=0;e--){let r=this.nodes[e],s=r.findWrapping(t);if(s&&(!n||n.length>s.length)&&(n=s,i=r,!s.length)||r.solid)break}if(!n)return null;this.sync(i);for(let t=0;t(s.type?!s.type.allowsMarkType(e.type):!K(e.type,t))||(a=e.addToSet(a),!1)),this.nodes.push(new J(t,e,a,i,null,o)),this.open++,n}closeExtra(t=!1){let e=this.nodes.length-1;if(e>this.open){for(;e>this.open;e--)this.nodes[e-1].content.push(this.nodes[e].finish(t));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(this.isOpen||this.options.topOpen)}sync(t){for(let e=this.open;e>=0;e--)if(this.nodes[e]==t)return this.open=e,!0;return!1}get currentPos(){this.closeExtra();let t=0;for(let e=this.open;e>=0;e--){let n=this.nodes[e].content;for(let e=n.length-1;e>=0;e--)t+=n[e].nodeSize;e&&t++}return t}findAtPoint(t,e){if(this.find)for(let n=0;n-1)return t.split(/\s*\|\s*/).some(this.matchesContext,this);let e=t.split("/"),n=this.options.context,i=!this.isOpen&&(!n||n.parent.type==this.nodes[0].type),r=-(n?n.depth+1:0)+(i?0:1),s=(t,o)=>{for(;t>=0;t--){let a=e[t];if(""==a){if(t==e.length-1||0==t)continue;for(;o>=r;o--)if(s(t-1,o))return!0;return!1}{let t=o>0||0==o&&i?this.nodes[o].type:n&&o>=r?n.node(o-r).type:null;if(!t||t.name!=a&&-1==t.groups.indexOf(a))return!1;o--}}return!0};return s(e.length-1,this.open)}textblockFromContext(){let t=this.options.context;if(t)for(let e=t.depth;e>=0;e--){let n=t.node(e).contentMatchAt(t.indexAfter(e)).defaultType;if(n&&n.isTextblock&&n.defaultAttrs)return n}for(let t in this.parser.schema.nodes){let e=this.parser.schema.nodes[t];if(e.isTextblock&&e.defaultAttrs)return e}}}function q(t){let e={};for(let n in t)e[n]=t[n];return e}function K(t,e){let n=e.schema.nodes;for(let i in n){let r=n[i];if(!r.allowsMarkType(t))continue;let s=[],o=t=>{s.push(t);for(let n=0;ns.indexOf(r)&&o(r))return!0}};if(o(r.contentMatch))return!0}}class Z{constructor(t,e){this.nodes=t,this.marks=e}serializeFragment(t,e={},n){n||(n=X(e).createDocumentFragment());let i=n,r=[];return t.forEach(t=>{if(r.length||t.marks.length){let n=0,s=0;for(;n=0;i--){let r=this.serializeMark(t.marks[i],t.isInline,e);r&&((r.contentDOM||r.dom).appendChild(n),n=r.dom)}return n}serializeMark(t,e,n={}){let i=this.marks[t.type.name];return i&&Q(X(n),i(t,e),null,t.attrs)}static renderSpec(t,e,n=null,i){return Q(t,e,n,i)}static fromSchema(t){return t.cached.domSerializer||(t.cached.domSerializer=new Z(this.nodesFromSchema(t),this.marksFromSchema(t)))}static nodesFromSchema(t){let e=G(t.nodes);return e.text||(e.text=t=>t.text),e}static marksFromSchema(t){return G(t.marks)}}function G(t){let e={};for(let n in t){let i=t[n].spec.toDOM;i&&(e[n]=i)}return e}function X(t){return t.document||window.document}let _=new WeakMap;function Q(t,e,n,i){let r,s,o;if("string"==typeof e)return{dom:t.createTextNode(e)};if(null!=e.nodeType)return{dom:e};if(e.dom&&null!=e.dom.nodeType)return e;let a=e[0],l;if("string"!=typeof a)throw RangeError("Invalid array passed to renderSpec");if(i&&(void 0===(s=_.get(i))&&_.set(i,(o=null,function t(e){if(e&&"object"==typeof e){if(Array.isArray(e)){if("string"==typeof e[0])o||(o=[]),o.push(e);else for(let n=0;n-1)throw RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");let h=a.indexOf(" ");h>0&&(n=a.slice(0,h),a=a.slice(h+1));let u=n?t.createElementNS(n,a):t.createElement(a),c=e[1],p=1;if(c&&"object"==typeof c&&null==c.nodeType&&!Array.isArray(c)){for(let t in p=2,c)if(null!=c[t]){let e=t.indexOf(" ");e>0?u.setAttributeNS(t.slice(0,e),t.slice(e+1),c[t]):u.setAttribute(t,c[t])}}for(let s=p;sp)throw RangeError("Content hole must be the only child of its parent node");return{dom:u,contentDOM:u}}{let{dom:e,contentDOM:s}=Q(t,o,n,i);if(u.appendChild(e),s){if(r)throw RangeError("Multiple content holes");r=s}}}return{dom:u,contentDOM:r}}},68205:function(t,e,n){n.d(e,{IB:function(){return o},KI:function(){return s},bw:function(){return a}});var i=n(70484),r=n(17824);function s(t,e=null){return function(n,s){let{$from:o,$to:a}=n.selection,l=o.blockRange(a),h=!1,u=l;if(!l)return!1;if(l.depth>=2&&o.node(l.depth-1).type.compatibleContent(t)&&0==l.startIndex){if(0==o.index(l.depth-1))return!1;let t=n.doc.resolve(l.start-2);u=new r.Ts(t,t,l.depth),l.endIndex=0;t--)a=r.HY.from(n[t].type.create(n[t].attrs,a));t.step(new i.FC(e.start-(s?2:0),e.end,e.start,e.end,new r.p2(a,0,0),n.length,!0));let l=0;for(let t=0;te.childCount>0&&e.firstChild.type==t);return!!a&&(!n||(s.node(a.depth-1).type==t?function(t,e,n,s){let o=t.tr,a=s.end,l=s.$to.end(s.depth);ai;e--)t-=o.child(e).nodeSize,s.delete(t-1,t+1);let a=s.doc.resolve(n.start),l=a.nodeAfter;if(s.mapping.map(n.end)!=n.start+a.nodeAfter.nodeSize)return!1;let h=0==n.startIndex,u=n.endIndex==o.childCount,c=a.node(-1),p=a.index(-1);if(!c.canReplace(p+(h?0:1),p+1,l.content.append(u?r.HY.empty:r.HY.from(o))))return!1;let d=a.pos,f=d+l.nodeSize;return s.step(new i.FC(d-(h?1:0),f+(u?1:0),d+1,f-1,new r.p2((h?r.HY.empty:r.HY.from(o.copy(r.HY.empty))).append(u?r.HY.empty:r.HY.from(o.copy(r.HY.empty))),h?0:1,u?0:1),h?0:1)),e(s.scrollIntoView()),!0}(e,n,a)))}}function a(t){return function(e,n){let{$from:s,$to:o}=e.selection,a=s.blockRange(o,e=>e.childCount>0&&e.firstChild.type==t);if(!a)return!1;let l=a.startIndex;if(0==l)return!1;let h=a.parent,u=h.child(l-1);if(u.type!=t)return!1;if(n){let s=u.lastChild&&u.lastChild.type==h.type,o=r.HY.from(s?t.create():null),l=new r.p2(r.HY.from(t.create(null,r.HY.from(h.type.create(null,o)))),s?3:1,0),c=a.start,p=a.end;n(e.tr.step(new i.FC(c-(s?3:1),p,c,p,l,1,!0)).scrollIntoView())}return!0}}},10155:function(t,e,n){n.d(e,{Bs:function(){return u},C1:function(){return f},H$:function(){return E},Sy:function(){return T},Y1:function(){return o},qv:function(){return p},yy:function(){return b}});var i=n(17824),r=n(70484);let s=Object.create(null);class o{constructor(t,e,n){this.$anchor=t,this.$head=e,this.ranges=n||[new a(t.min(e),t.max(e))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let t=this.ranges;for(let e=0;e=0;i--){let r=e<0?g(t.node(0),t.node(i),t.before(i+1),t.index(i),e,n):g(t.node(0),t.node(i),t.after(i+1),t.index(i)+1,e,n);if(r)return r}return null}static near(t,e=1){return this.findFrom(t,e)||this.findFrom(t,-e)||new f(t.node(0))}static atStart(t){return g(t,t,0,0,1)||new f(t)}static atEnd(t){return g(t,t,t.content.size,t.childCount,-1)||new f(t)}static fromJSON(t,e){if(!e||!e.type)throw RangeError("Invalid input for Selection.fromJSON");let n=s[e.type];if(!n)throw RangeError(`No selection type ${e.type} defined`);return n.fromJSON(t,e)}static jsonID(t,e){if(t in s)throw RangeError("Duplicate use of selection JSON ID "+t);return s[t]=e,e.prototype.jsonID=t,e}getBookmark(){return u.between(this.$anchor,this.$head).getBookmark()}}o.prototype.visible=!0;class a{constructor(t,e){this.$from=t,this.$to=e}}let l=!1;function h(t){l||t.parent.inlineContent||(l=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+t.parent.type.name+")"))}class u extends o{constructor(t,e=t){h(t),h(e),super(t,e)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(t,e){let n=t.resolve(e.map(this.head));if(!n.parent.inlineContent)return o.near(n);let i=t.resolve(e.map(this.anchor));return new u(i.parent.inlineContent?i:n,n)}replace(t,e=i.p2.empty){if(super.replace(t,e),e==i.p2.empty){let e=this.$from.marksAcross(this.$to);e&&t.ensureMarks(e)}}eq(t){return t instanceof u&&t.anchor==this.anchor&&t.head==this.head}getBookmark(){return new c(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(t,e){if("number"!=typeof e.anchor||"number"!=typeof e.head)throw RangeError("Invalid input for TextSelection.fromJSON");return new u(t.resolve(e.anchor),t.resolve(e.head))}static create(t,e,n=e){let i=t.resolve(e);return new this(i,n==e?i:t.resolve(n))}static between(t,e,n){let i=t.pos-e.pos;if((!n||i)&&(n=i>=0?1:-1),!e.parent.inlineContent){let t=o.findFrom(e,n,!0)||o.findFrom(e,-n,!0);if(!t)return o.near(e,n);e=t.$head}return t.parent.inlineContent||(0==i?t=e:(t=(o.findFrom(t,-n,!0)||o.findFrom(t,n,!0)).$anchor).posnew f(t)};function g(t,e,n,i,r,s=!1){if(e.inlineContent)return u.create(t,n);for(let o=i-(r>0?0:1);r>0?o=0;o+=r){let i=e.child(o);if(i.isAtom){if(!s&&p.isSelectable(i))return p.create(t,n-(r<0?i.nodeSize:0))}else{let e=g(t,i,n+r,r<0?i.childCount:0,r,s);if(e)return e}n+=i.nodeSize*r}return null}function y(t,e,n){let i,s=t.steps.length-1;if(s{null==i&&(i=r)}),t.setSelection(o.near(t.doc.resolve(i),n)))}class v extends r.wx{constructor(t){super(t.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=t.selection,this.storedMarks=t.storedMarks}get selection(){return this.curSelectionFor0}setStoredMarks(t){return this.storedMarks=t,this.updated|=2,this}ensureMarks(t){return i.vc.sameSet(this.storedMarks||this.selection.$from.marks(),t)||this.setStoredMarks(t),this}addStoredMark(t){return this.ensureMarks(t.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(t){return this.ensureMarks(t.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(2&this.updated)>0}addStep(t,e){super.addStep(t,e),this.updated=-3&this.updated,this.storedMarks=null}setTime(t){return this.time=t,this}replaceSelection(t){return this.selection.replace(this,t),this}replaceSelectionWith(t,e=!0){let n=this.selection;return e&&(t=t.mark(this.storedMarks||(n.empty?n.$from.marks():n.$from.marksAcross(n.$to)||i.vc.none))),n.replaceWith(this,t),this}deleteSelection(){return this.selection.replace(this),this}insertText(t,e,n){let i=this.doc.type.schema;if(null==e)return t?this.replaceSelectionWith(i.text(t),!0):this.deleteSelection();{if(null==n&&(n=e),n=null==n?e:n,!t)return this.deleteRange(e,n);let r=this.storedMarks;if(!r){let t=this.doc.resolve(e);r=n==e?t.marks():t.marksAcross(this.doc.resolve(n))}return this.replaceRangeWith(e,n,i.text(t,r)),this.selection.empty||this.setSelection(o.near(this.selection.$to)),this}}setMeta(t,e){return this.meta["string"==typeof t?t:t.key]=e,this}getMeta(t){return this.meta["string"==typeof t?t:t.key]}get isGeneric(){for(let t in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=4,this}get scrolledIntoView(){return(4&this.updated)>0}}function x(t,e){return e&&t?t.bind(e):t}class w{constructor(t,e,n){this.name=t,this.init=x(e.init,n),this.apply=x(e.apply,n)}}let S=[new w("doc",{init:t=>t.doc||t.schema.topNodeType.createAndFill(),apply:t=>t.doc}),new w("selection",{init:(t,e)=>t.selection||o.atStart(e.doc),apply:t=>t.selection}),new w("storedMarks",{init:t=>t.storedMarks||null,apply:(t,e,n,i)=>i.selection.$cursor?t.storedMarks:null}),new w("scrollToSelection",{init:()=>0,apply:(t,e)=>t.scrolledIntoView?e+1:e})];class k{constructor(t,e){this.schema=t,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=S.slice(),e&&e.forEach(t=>{if(this.pluginsByKey[t.key])throw RangeError("Adding different instances of a keyed plugin ("+t.key+")");this.plugins.push(t),this.pluginsByKey[t.key]=t,t.spec.state&&this.fields.push(new w(t.key,t.spec.state,t))})}}class b{constructor(t){this.config=t}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(t){return this.applyTransaction(t).state}filterTransaction(t,e=-1){for(let n=0;nt.toJSON())),t&&"object"==typeof t)for(let n in t){if("doc"==n||"selection"==n)throw RangeError("The JSON fields `doc` and `selection` are reserved");let i=t[n],r=i.spec.state;r&&r.toJSON&&(e[n]=r.toJSON.call(i,this[i.key]))}return e}static fromJSON(t,e,n){if(!e)throw RangeError("Invalid input for EditorState.fromJSON");if(!t.schema)throw RangeError("Required config field 'schema' missing");let r=new k(t.schema,t.plugins),s=new b(r);return r.fields.forEach(r=>{if("doc"==r.name)s.doc=i.NB.fromJSON(t.schema,e.doc);else if("selection"==r.name)s.selection=o.fromJSON(s.doc,e.selection);else if("storedMarks"==r.name)e.storedMarks&&(s.storedMarks=e.storedMarks.map(t.schema.markFromJSON));else{if(n)for(let i in n){let o=n[i],a=o.spec.state;if(o.key==r.name&&a&&a.fromJSON&&Object.prototype.hasOwnProperty.call(e,i)){s[r.name]=a.fromJSON.call(o,t,e[i],s);return}}s[r.name]=r.init(t,s)}}),s}}class T{constructor(t){this.spec=t,this.props={},t.props&&function t(e,n,i){for(let r in e){let s=e[r];s instanceof Function?s=s.bind(n):"handleDOMEvents"==r&&(s=t(s,n,{})),i[r]=s}return i}(t.props,this,this.props),this.key=t.key?t.key.key:A("plugin")}getState(t){return t[this.key]}}let C=Object.create(null);function A(t){return t in C?t+"$"+ ++C[t]:(C[t]=0,t+"$")}class E{constructor(t="key"){this.key=A(t)}get(t){return t.config.pluginsByKey[this.key]}getState(t){return t[this.key]}}},70484:function(t,e,n){n.d(e,{Ax:function(){return k},FC:function(){return g},GJ:function(){return C},Mn:function(){return b},Pu:function(){return m},dR:function(){return E},k9:function(){return x},nd:function(){return w},nj:function(){return A},wx:function(){return B}});var i=n(17824);class r{constructor(t,e,n){this.pos=t,this.delInfo=e,this.recover=n}get deleted(){return(8&this.delInfo)>0}get deletedBefore(){return(5&this.delInfo)>0}get deletedAfter(){return(6&this.delInfo)>0}get deletedAcross(){return(4&this.delInfo)>0}}class s{constructor(t,e=!1){if(this.ranges=t,this.inverted=e,!t.length&&s.empty)return s.empty}recover(t){let e=0,n=65535&t;if(!this.inverted)for(let t=0;tt)break;let h=this.ranges[a+s],u=this.ranges[a+o],c=l+h;if(t<=c){let s=h?t==l?-1:t==c?1:e:e,o=l+i+(s<0?0:u);if(n)return o;let p=t==(e<0?l:c)?null:a/3+(t-l)*65536,d=t==l?2:t==c?1:4;return(e<0?t!=l:t!=c)&&(d|=8),new r(o,d,p)}i+=u-h}return n?t+i:new r(t+i,0,null)}touches(t,e){let n=0,i=65535&e,r=this.inverted?2:1,s=this.inverted?1:2;for(let e=0;et)break;let a=this.ranges[e+r];if(t<=o+a&&e==3*i)return!0;n+=this.ranges[e+s]-a}return!1}forEach(t){let e=this.inverted?2:1,n=this.inverted?1:2;for(let i=0,r=0;i=0;e--){let i=t.getMirror(e);this.appendMap(t.maps[e].invert(),null!=i&&i>e?n-i-1:void 0)}}invert(){let t=new o;return t.appendMappingInverted(this),t}map(t,e=1){if(this.mirror)return this._map(t,e,!0);for(let n=this.from;nn&&et.isAtom&&e.type.allowsMarkType(this.mark.type)?t.mark(this.mark.addToSet(t.marks)):t,r),e.openStart,e.openEnd);return h.fromReplace(t,this.from,this.to,s)}invert(){return new p(this.from,this.to,this.mark)}map(t){let e=t.mapResult(this.from,1),n=t.mapResult(this.to,-1);return e.deleted&&n.deleted||e.pos>=n.pos?null:new c(e.pos,n.pos,this.mark)}merge(t){return t instanceof c&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new c(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,e){if("number"!=typeof e.from||"number"!=typeof e.to)throw RangeError("Invalid input for AddMarkStep.fromJSON");return new c(e.from,e.to,t.markFromJSON(e.mark))}}l.jsonID("addMark",c);class p extends l{constructor(t,e,n){super(),this.from=t,this.to=e,this.mark=n}apply(t){let e=t.slice(this.from,this.to),n=new i.p2(u(e.content,t=>t.mark(this.mark.removeFromSet(t.marks)),t),e.openStart,e.openEnd);return h.fromReplace(t,this.from,this.to,n)}invert(){return new c(this.from,this.to,this.mark)}map(t){let e=t.mapResult(this.from,1),n=t.mapResult(this.to,-1);return e.deleted&&n.deleted||e.pos>=n.pos?null:new p(e.pos,n.pos,this.mark)}merge(t){return t instanceof p&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new p(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,e){if("number"!=typeof e.from||"number"!=typeof e.to)throw RangeError("Invalid input for RemoveMarkStep.fromJSON");return new p(e.from,e.to,t.markFromJSON(e.mark))}}l.jsonID("removeMark",p);class d extends l{constructor(t,e){super(),this.pos=t,this.mark=e}apply(t){let e=t.nodeAt(this.pos);if(!e)return h.fail("No node at mark step's position");let n=e.type.create(e.attrs,null,this.mark.addToSet(e.marks));return h.fromReplace(t,this.pos,this.pos+1,new i.p2(i.HY.from(n),0,e.isLeaf?0:1))}invert(t){let e=t.nodeAt(this.pos);if(e){let t=this.mark.addToSet(e.marks);if(t.length==e.marks.length){for(let n=0;nn.pos?null:new g(e.pos,n.pos,i,r,this.slice,this.insert,this.structure)}toJSON(){let t={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(t.slice=this.slice.toJSON()),this.structure&&(t.structure=!0),t}static fromJSON(t,e){if("number"!=typeof e.from||"number"!=typeof e.to||"number"!=typeof e.gapFrom||"number"!=typeof e.gapTo||"number"!=typeof e.insert)throw RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new g(e.from,e.to,e.gapFrom,e.gapTo,i.p2.fromJSON(t,e.slice),e.insert,!!e.structure)}}function y(t,e,n){let i=t.resolve(e),r=n-e,s=i.depth;for(;r>0&&s>0&&i.indexAfter(s)==i.node(s).childCount;)s--,r--;if(r>0){let t=i.node(s).maybeChild(i.indexAfter(s));for(;r>0;){if(!t||t.isLeaf)return!0;t=t.firstChild,r--}}return!1}function v(t,e,n,r=n.contentMatch,s=!0){let o=t.doc.nodeAt(e),a=[],l=e+1;for(let e=0;e=0;e--)t.step(a[e])}function x(t){let e=t.parent.content.cutByIndex(t.startIndex,t.endIndex);for(let n=t.depth;;--n){let i=t.$from.node(n),r=t.$from.index(n),s=t.$to.indexAfter(n);if(ns;t--,e--){let n=r.node(t),s=r.index(t);if(n.type.spec.isolating)return!1;let o=n.content.cutByIndex(s,n.childCount),a=i&&i[e+1];a&&(o=o.replaceChild(0,a.type.create(a.attrs)));let l=i&&i[e]||n;if(!n.canReplace(s+1,n.childCount)||!l.type.validContent(o))return!1}let a=r.indexAfter(s),l=i&&i[0];return r.node(s).canReplaceWith(a,a,l?l.type:r.node(s+1).type)}function b(t,e){let n=t.resolve(e),i=n.index();return T(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(i,i+1)}function T(t,e){return!!(t&&e&&!t.isLeaf&&t.canAppend(e))}function C(t,e,n=-1){let i=t.resolve(e);for(let t=i.depth;;t--){let r,s,o=i.index(t);if(t==i.depth?(r=i.nodeBefore,s=i.nodeAfter):n>0?(r=i.node(t+1),o++,s=i.node(t).maybeChild(o)):(r=i.node(t).maybeChild(o-1),s=i.node(t+1)),r&&!r.isTextblock&&T(r,s)&&i.node(t).canReplace(o,o+1))return e;if(0==t)break;e=n<0?i.before(t):i.after(t)}}function A(t,e,n){let i=t.resolve(e);if(!n.content.size)return e;let r=n.content;for(let t=0;t=0;e--){let n=e==i.depth?0:i.pos<=(i.start(e+1)+i.end(e+1))/2?-1:1,s=i.index(e)+(n>0?1:0),o=i.node(e),a=!1;if(1==t)a=o.canReplace(s,s,r);else{let t=o.contentMatchAt(s).findWrapping(r.firstChild.type);a=t&&o.canReplaceWith(s,s,t[0])}if(a)return 0==n?i.pos:n<0?i.before(e+1):i.after(e+1)}return null}function E(t,e,n=e,r=i.p2.empty){if(e==n&&!r.size)return null;let s=t.resolve(e),o=t.resolve(n);return M(s,o,r)?new m(e,n,r):new P(s,o,r).fit()}function M(t,e,n){return!n.openStart&&!n.openEnd&&t.start()==e.start()&&t.parent.canReplace(t.index(),e.index(),n.content)}l.jsonID("replaceAround",g);class P{constructor(t,e,n){this.$from=t,this.$to=e,this.unplaced=n,this.frontier=[],this.placed=i.HY.empty;for(let e=0;e<=t.depth;e++){let n=t.node(e);this.frontier.push({type:n.type,match:n.contentMatchAt(t.indexAfter(e))})}for(let e=t.depth;e>0;e--)this.placed=i.HY.from(t.node(e).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let t=this.findFittable();t?this.placeNodes(t):this.openMore()||this.dropNode()}let t=this.mustMoveInline(),e=this.placed.size-this.depth-this.$from.depth,n=this.$from,r=this.close(t<0?this.$to:n.doc.resolve(t));if(!r)return null;let s=this.placed,o=n.depth,a=r.depth;for(;o&&a&&1==s.childCount;)s=s.firstChild.content,o--,a--;let l=new i.p2(s,o,a);return t>-1?new g(n.pos,t,this.$to.pos,this.$to.end(),l,e):l.size||n.pos!=this.$to.pos?new m(n.pos,r.pos,l):null}findFittable(){let t=this.unplaced.openStart;for(let e=this.unplaced.content,n=0,i=this.unplaced.openEnd;n1&&(i=0),r.type.spec.isolating&&i<=n){t=n;break}e=r.content}for(let e=1;e<=2;e++)for(let n=1==e?t:this.unplaced.openStart;n>=0;n--){let t=null,r=(n?(t=D(this.unplaced.content,n-1).firstChild).content:this.unplaced.content).firstChild;for(let s=this.depth;s>=0;s--){let{type:o,match:a}=this.frontier[s],l,h=null;if(1==e&&(r?a.matchType(r.type)||(h=a.fillBefore(i.HY.from(r),!1)):t&&o.compatibleContent(t.type)))return{sliceDepth:n,frontierDepth:s,parent:t,inject:h};if(2==e&&r&&(l=a.findWrapping(r.type)))return{sliceDepth:n,frontierDepth:s,parent:t,wrap:l};if(t&&a.matchType(t.type))break}}}openMore(){let{content:t,openStart:e,openEnd:n}=this.unplaced,r=D(t,e);return!!r.childCount&&!r.firstChild.isLeaf&&(this.unplaced=new i.p2(t,e+1,Math.max(n,r.size+e>=t.size-n?e+1:0)),!0)}dropNode(){let{content:t,openStart:e,openEnd:n}=this.unplaced,r=D(t,e);if(r.childCount<=1&&e>0){let s=t.size-e<=e+r.size;this.unplaced=new i.p2(R(t,e-1,1),e-1,s?e-1:n)}else this.unplaced=new i.p2(R(t,e,1),e,n)}placeNodes({sliceDepth:t,frontierDepth:e,parent:n,inject:r,wrap:s}){for(;this.depth>e;)this.closeFrontierNode();if(s)for(let t=0;t1||0==l||t.content.size)&&(c=e,u.push(function t(e,n,r){if(n<=0)return e;let s=e.content;return n>1&&(s=s.replaceChild(0,t(s.firstChild,n-1,1==s.childCount?r-1:0))),n>0&&(s=e.type.contentMatch.fillBefore(s).append(s),r<=0&&(s=s.append(e.type.contentMatch.matchFragment(s).fillBefore(i.HY.empty,!0)))),e.copy(s)}(t.mark(p.allowedMarks(t.marks)),1==h?l:0,h==a.childCount?d:-1)))}let f=h==a.childCount;f||(d=-1),this.placed=O(this.placed,e,i.HY.from(u)),this.frontier[e].match=c,f&&d<0&&n&&n.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let t=0,e=a;t1&&i==this.$to.end(--n);)++i;return i}findCloseLevel(t){t:for(let e=Math.min(this.depth,t.depth);e>=0;e--){let{match:n,type:i}=this.frontier[e],r=e=0;n--){let{match:e,type:i}=this.frontier[n],r=I(t,n,i,e,!0);if(!r||r.childCount)continue t}return{depth:e,fit:s,move:r?t.doc.resolve(t.after(e+1)):t}}}}close(t){let e=this.findCloseLevel(t);if(!e)return null;for(;this.depth>e.depth;)this.closeFrontierNode();e.fit.childCount&&(this.placed=O(this.placed,e.depth,e.fit)),t=e.move;for(let n=e.depth+1;n<=t.depth;n++){let e=t.node(n),i=e.type.contentMatch.fillBefore(e.content,!0,t.index(n));this.openFrontierNode(e.type,e.attrs,i)}return t}openFrontierNode(t,e=null,n){let r=this.frontier[this.depth];r.match=r.match.matchType(t),this.placed=O(this.placed,this.depth,i.HY.from(t.create(e,n))),this.frontier.push({type:t,match:t.contentMatch})}closeFrontierNode(){let t=this.frontier.pop().match.fillBefore(i.HY.empty,!0);t.childCount&&(this.placed=O(this.placed,this.frontier.length,t))}}function R(t,e,n){return 0==e?t.cutByIndex(n,t.childCount):t.replaceChild(0,t.firstChild.copy(R(t.firstChild.content,e-1,n)))}function O(t,e,n){return 0==e?t.append(n):t.replaceChild(t.childCount-1,t.lastChild.copy(O(t.lastChild.content,e-1,n)))}function D(t,e){for(let n=0;n=0;r--){let i=t.start(r);if(ie.pos+(e.depth-r)||t.node(r).type.spec.isolating||e.node(r).type.spec.isolating)break;(i==e.start(r)||r==t.depth&&r==e.depth&&t.parent.inlineContent&&e.parent.inlineContent&&r&&e.start(r-1)==i-1)&&n.push(r)}return n}class V extends l{constructor(t,e,n){super(),this.pos=t,this.attr=e,this.value=n}apply(t){let e=t.nodeAt(this.pos);if(!e)return h.fail("No node at attribute step's position");let n=Object.create(null);for(let t in e.attrs)n[t]=e.attrs[t];n[this.attr]=this.value;let r=e.type.create(n,null,e.marks);return h.fromReplace(t,this.pos,this.pos+1,new i.p2(i.HY.from(r),0,e.isLeaf?0:1))}getMap(){return s.empty}invert(t){return new V(this.pos,this.attr,t.nodeAt(this.pos).attrs[this.attr])}map(t){let e=t.mapResult(this.pos,1);return e.deletedAfter?null:new V(e.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(t,e){if("number"!=typeof e.pos||"string"!=typeof e.attr)throw RangeError("Invalid input for AttrStep.fromJSON");return new V(e.pos,e.attr,e.value)}}l.jsonID("attr",V);class F extends l{constructor(t,e){super(),this.attr=t,this.value=e}apply(t){let e=Object.create(null);for(let n in t.attrs)e[n]=t.attrs[n];e[this.attr]=this.value;let n=t.type.create(e,t.content,t.marks);return h.ok(n)}getMap(){return s.empty}invert(t){return new F(this.attr,t.attrs[this.attr])}map(t){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(t,e){if("string"!=typeof e.attr)throw RangeError("Invalid input for DocAttrStep.fromJSON");return new F(e.attr,e.value)}}l.jsonID("docAttr",F);let z=class extends Error{};(z=function t(e){let n=Error.call(this,e);return n.__proto__=t.prototype,n}).prototype=Object.create(Error.prototype),z.prototype.constructor=z,z.prototype.name="TransformError";class B{constructor(t){this.doc=t,this.steps=[],this.docs=[],this.mapping=new o}get before(){return this.docs.length?this.docs[0]:this.doc}step(t){let e=this.maybeStep(t);if(e.failed)throw new z(e.failed);return this}maybeStep(t){let e=t.apply(this.doc);return e.failed||this.addStep(t,e.doc),e}get docChanged(){return this.steps.length>0}addStep(t,e){this.docs.push(this.doc),this.steps.push(t),this.mapping.appendMap(t.getMap()),this.doc=e}replace(t,e=t,n=i.p2.empty){let r=E(this.doc,t,e,n);return r&&this.step(r),this}replaceWith(t,e,n){return this.replace(t,e,new i.p2(i.HY.from(n),0,0))}delete(t,e){return this.replace(t,e,i.p2.empty)}insert(t,e){return this.replaceWith(t,t,e)}replaceRange(t,e,n){return!function(t,e,n,r){if(!r.size)return t.deleteRange(e,n);let s=t.doc.resolve(e),o=t.doc.resolve(n);if(M(s,o,r))return t.step(new m(e,n,r));let a=N(s,t.doc.resolve(n));0==a[a.length-1]&&a.pop();let l=-(s.depth+1);a.unshift(l);for(let t=s.depth,e=s.pos-1;t>0;t--,e--){let n=s.node(t).type.spec;if(n.defining||n.definingAsContext||n.isolating)break;a.indexOf(t)>-1?l=t:s.before(t)==e&&a.splice(1,0,-t)}let h=a.indexOf(l),u=[],c=r.openStart;for(let t=r.content,e=0;;e++){let n=t.firstChild;if(u.push(n),e==r.openStart)break;t=n.content}for(let t=c-1;t>=0;t--){var p;let e=u[t],n=(p=e.type).spec.defining||p.spec.definingForContent;if(n&&!e.sameMarkup(s.node(Math.abs(l)-1)))c=t;else if(n||!e.type.isTextblock)break}for(let e=r.openStart;e>=0;e--){let l=(e+c+1)%(r.openStart+1),p=u[l];if(p)for(let e=0;es){let t=o.contentMatchAt(0),n=t.fillBefore(e).append(e);e=n.append(t.matchFragment(n).fillBefore(i.HY.empty,!0))}return e}(r.content,0,r.openStart,l),l,r.openEnd))}}let d=t.steps.length;for(let i=a.length-1;i>=0&&(t.replace(e,n,r),!(t.steps.length>d));i--){let t=a[i];t<0||(e=s.before(t),n=o.after(t))}}(this,t,e,n),this}replaceRangeWith(t,e,n){return!function(t,e,n,r){if(!r.isInline&&e==n&&t.doc.resolve(e).parent.content.size){let i=function(t,e,n){let i=t.resolve(e);if(i.parent.canReplaceWith(i.index(),i.index(),n))return e;if(0==i.parentOffset)for(let t=i.depth-1;t>=0;t--){let e=i.index(t);if(i.node(t).canReplaceWith(e,e,n))return i.before(t+1);if(e>0)return null}if(i.parentOffset==i.parent.content.size)for(let t=i.depth-1;t>=0;t--){let e=i.indexAfter(t);if(i.node(t).canReplaceWith(e,e,n))return i.after(t+1);if(e0&&(o||i.node(n-1).canReplace(i.index(n-1),r.indexAfter(n-1))))return t.delete(i.before(n),r.after(n))}for(let s=1;s<=i.depth&&s<=r.depth;s++)if(e-i.start(s)==i.depth-s&&n>i.end(s)&&r.end(s)-n!=r.depth-s)return t.delete(i.before(s),n);t.delete(e,n)}(this,t,e),this}lift(t,e){return!function(t,e,n){let{$from:r,$to:s,depth:o}=e,a=r.before(o+1),l=s.after(o+1),h=a,u=l,c=i.HY.empty,p=0;for(let t=o,e=!1;t>n;t--)e||r.index(t)>0?(e=!0,c=i.HY.from(r.node(t).copy(c)),p++):h--;let d=i.HY.empty,f=0;for(let t=o,e=!1;t>n;t--)e||s.after(t+1)=0;t--){if(r.size){let e=n[t].type.contentMatch.matchFragment(r);if(!e||!e.validEnd)throw RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}r=i.HY.from(n[t].type.create(n[t].attrs,r))}let s=e.start,o=e.end;t.step(new g(s,o,s,o,new i.p2(r,0,0),n.length,!0))}(this,t,e),this}setBlockType(t,e=t,n,r=null){return!function(t,e,n,r,s){if(!r.isTextblock)throw RangeError("Type given to setBlockType should be a textblock");let o=t.steps.length;t.doc.nodesBetween(e,n,(e,n)=>{var a,l;let h,u,c="function"==typeof s?s(e):s;if(e.isTextblock&&!e.hasMarkup(r,c)&&(a=t.doc,l=t.mapping.slice(o).map(n),u=(h=a.resolve(l)).index(),h.parent.canReplaceWith(u,u+1,r))){let s=null;if(r.schema.linebreakReplacement){let t="pre"==r.whitespace,e=!!r.contentMatch.matchType(r.schema.linebreakReplacement);t&&!e?s=!1:!t&&e&&(s=!0)}!1===s&&function(t,e,n,i){e.forEach((r,s)=>{if(r.type==r.type.schema.linebreakReplacement){let r=t.mapping.slice(i).map(n+1+s);t.replaceWith(r,r+1,e.type.schema.text("\n"))}})}(t,e,n,o),v(t,t.mapping.slice(o).map(n,1),r,void 0,null===s);let a=t.mapping.slice(o),l=a.map(n,1),h=a.map(n+e.nodeSize,1);return t.step(new g(l,h,l+1,h-1,new i.p2(i.HY.from(r.create(c,null,e.marks)),0,0),1,!0)),!0===s&&function(t,e,n,i){e.forEach((r,s)=>{if(r.isText){let o,a=/\r?\n|\r/g;for(;o=a.exec(r.text);){let r=t.mapping.slice(i).map(n+1+s+o.index);t.replaceWith(r,r+1,e.type.schema.linebreakReplacement.create())}}})}(t,e,n,o),!1}})}(this,t,e,n,r),this}setNodeMarkup(t,e,n=null,r){return!function(t,e,n,r,s){let o=t.doc.nodeAt(e);if(!o)throw RangeError("No node at given position");n||(n=o.type);let a=n.create(r,null,s||o.marks);if(o.isLeaf)return t.replaceWith(e,e+o.nodeSize,a);if(!n.validContent(o.content))throw RangeError("Invalid content for node type "+n.name);t.step(new g(e,e+o.nodeSize,e+1,e+o.nodeSize-1,new i.p2(i.HY.from(a),0,0),1,!0))}(this,t,e,n,r),this}setNodeAttribute(t,e,n){return this.step(new V(t,e,n)),this}setDocAttribute(t,e){return this.step(new F(t,e)),this}addNodeMark(t,e){return this.step(new d(t,e)),this}removeNodeMark(t,e){if(!(e instanceof i.vc)){let n=this.doc.nodeAt(t);if(!n)throw RangeError("No node at position "+t);if(!(e=e.isInSet(n.marks)))return this}return this.step(new f(t,e)),this}split(t,e=1,n){return!function(t,e,n=1,r){let s=t.doc.resolve(e),o=i.HY.empty,a=i.HY.empty;for(let t=s.depth,e=s.depth-n,l=n-1;t>e;t--,l--){o=i.HY.from(s.node(t).copy(o));let e=r&&r[l];a=i.HY.from(e?e.type.create(e.attrs,a):s.node(t).copy(a))}t.step(new m(e,e,new i.p2(o.append(a),n,n),!0))}(this,t,e,n),this}addMark(t,e,n){var i;let r,s,o,a;return i=this,o=[],a=[],i.doc.nodesBetween(t,e,(i,l,h)=>{if(!i.isInline)return;let u=i.marks;if(!n.isInSet(u)&&h.type.allowsMarkType(n.type)){let h=Math.max(l,t),d=Math.min(l+i.nodeSize,e),f=n.addToSet(u);for(let t=0;ti.step(t)),a.forEach(t=>i.step(t)),this}removeMark(t,e,n){var r;let s,o;return r=this,s=[],o=0,r.doc.nodesBetween(t,e,(r,a)=>{if(!r.isInline)return;o++;let l=null;if(n instanceof i.ZU){let t=r.marks,e;for(;e=n.isInSet(t);)(l||(l=[])).push(e),t=e.removeFromSet(t)}else n?n.isInSet(r.marks)&&(l=[n]):l=r.marks;if(l&&l.length){let n=Math.min(a+r.nodeSize,e);for(let e=0;er.step(new p(t.from,t.to,t.style))),this}clearIncompatible(t,e,n){return v(this,t,e,n),this}}},21987:function(t,e,n){n.d(e,{YG:function(){return h},uY:function(){return r},ue:function(){return i}});for(var i={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},r={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},s="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),o="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),a=0;a<10;a++)i[48+a]=i[96+a]=String(a);for(var a=1;a<=24;a++)i[a+111]="F"+a;for(var a=65;a<=90;a++)i[a]=String.fromCharCode(a+32),r[a]=String.fromCharCode(a);for(var l in i)r.hasOwnProperty(l)||(r[l]=i[l]);function h(t){var e=!(s&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||o&&t.shiftKey&&t.key&&1==t.key.length||"Unidentified"==t.key)&&t.key||(t.shiftKey?r:i)[t.keyCode]||t.key||"Unidentified";return"Esc"==e&&(e="Escape"),"Del"==e&&(e="Delete"),"Left"==e&&(e="ArrowLeft"),"Up"==e&&(e="ArrowUp"),"Right"==e&&(e="ArrowRight"),"Down"==e&&(e="ArrowDown"),e}}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/8399-30b0f029a63d81ae.js b/ee/tabby-webserver/ui/_next/static/chunks/8399-4db09a42111f750a.js similarity index 100% rename from ee/tabby-webserver/ui/_next/static/chunks/8399-30b0f029a63d81ae.js rename to ee/tabby-webserver/ui/_next/static/chunks/8399-4db09a42111f750a.js diff --git a/ee/tabby-webserver/ui/_next/static/chunks/8939-080830c173a7422f.js b/ee/tabby-webserver/ui/_next/static/chunks/8939-080830c173a7422f.js deleted file mode 100644 index d3f6cf2bc194..000000000000 --- a/ee/tabby-webserver/ui/_next/static/chunks/8939-080830c173a7422f.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8939],{14375:function(e,n,t){"use strict";t.d(n,{j:function(){return l}});let r=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,u=function(){for(var e=arguments.length,n=Array(e),t=0;tt=>{var l;if((null==n?void 0:n.variants)==null)return u(e,null==t?void 0:t.class,null==t?void 0:t.className);let{variants:i,defaultVariants:o}=n,c=Object.keys(i).map(e=>{let n=null==t?void 0:t[e],u=null==o?void 0:o[e];if(null===n)return null;let l=r(n)||r(u);return i[e][l]}),a=t&&Object.entries(t).reduce((e,n)=>{let[t,r]=n;return void 0===r||(e[t]=r),e},{}),s=null==n?void 0:null===(l=n.compoundVariants)||void 0===l?void 0:l.reduce((e,n)=>{let{class:t,className:r,...u}=n;return Object.entries(u).every(e=>{let[n,t]=e;return Array.isArray(t)?t.includes({...o,...a}[n]):({...o,...a})[n]===t})?[...e,t,r]:e},[]);return u(e,c,s,null==t?void 0:t.class,null==t?void 0:t.className)}},11978:function(e,n,t){e.exports=t(77280)},65122:function(e,n,t){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var n=1;ne.forEach(e=>{"function"==typeof e?e(n):null!=e&&(e.current=n)})}function l(...e){return(0,r.useCallback)(u(...e),e)}},47091:function(e,n,t){"use strict";t.d(n,{b:function(){return l},k:function(){return u}});var r=t(3546);function u(e,n){let t=(0,r.createContext)(n);function u(e){let{children:n,...u}=e,l=(0,r.useMemo)(()=>u,Object.values(u));return(0,r.createElement)(t.Provider,{value:l},n)}return u.displayName=e+"Provider",[u,function(u){let l=(0,r.useContext)(t);if(l)return l;if(void 0!==n)return n;throw Error(`\`${u}\` must be used within \`${e}\``)}]}function l(e,n=[]){let t=[],u=()=>{let n=t.map(e=>(0,r.createContext)(e));return function(t){let u=(null==t?void 0:t[e])||n;return(0,r.useMemo)(()=>({[`__scope${e}`]:{...t,[e]:u}}),[t,u])}};return u.scopeName=e,[function(n,u){let l=(0,r.createContext)(u),i=t.length;function o(n){let{scope:t,children:u,...o}=n,c=(null==t?void 0:t[e][i])||l,a=(0,r.useMemo)(()=>o,Object.values(o));return(0,r.createElement)(c.Provider,{value:a},u)}return t=[...t,u],o.displayName=n+"Provider",[o,function(t,o){let c=(null==o?void 0:o[e][i])||l,a=(0,r.useContext)(c);if(a)return a;if(void 0!==u)return u;throw Error(`\`${t}\` must be used within \`${n}\``)}]},function(...e){let n=e[0];if(1===e.length)return n;let t=()=>{let t=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let u=t.reduce((n,{useScope:t,scopeName:r})=>{let u=t(e),l=u[`__scope${r}`];return{...n,...l}},{});return(0,r.useMemo)(()=>({[`__scope${n.scopeName}`]:u}),[u])}};return t.scopeName=n.scopeName,t}(u,...n)]}},57541:function(e,n,t){"use strict";t.d(n,{gm:function(){return l}});var r=t(3546);let u=(0,r.createContext)(void 0);function l(e){let n=(0,r.useContext)(u);return e||n||"ltr"}},96497:function(e,n,t){"use strict";t.d(n,{z:function(){return o}});var r=t(3546),u=t(30171),l=t(79869),i=t(65292);let o=e=>{let{present:n,children:t}=e,o=function(e){var n;let[t,l]=(0,r.useState)(),o=(0,r.useRef)({}),a=(0,r.useRef)(e),s=(0,r.useRef)("none"),f=e?"mounted":"unmounted",[d,m]=(n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},(0,r.useReducer)((e,t)=>{let r=n[e][t];return null!=r?r:e},f));return(0,r.useEffect)(()=>{let e=c(o.current);s.current="mounted"===d?e:"none"},[d]),(0,i.b)(()=>{let n=o.current,t=a.current,r=t!==e;if(r){let r=s.current,u=c(n);e?m("MOUNT"):"none"===u||(null==n?void 0:n.display)==="none"?m("UNMOUNT"):t&&r!==u?m("ANIMATION_OUT"):m("UNMOUNT"),a.current=e}},[e,m]),(0,i.b)(()=>{if(t){let e=e=>{let n=c(o.current),r=n.includes(e.animationName);e.target===t&&r&&(0,u.flushSync)(()=>m("ANIMATION_END"))},n=e=>{e.target===t&&(s.current=c(o.current))};return t.addEventListener("animationstart",n),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",n),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}m("ANIMATION_END")},[t,m]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:(0,r.useCallback)(e=>{e&&(o.current=getComputedStyle(e)),l(e)},[])}}(n),a="function"==typeof t?t({present:o.isPresent}):r.Children.only(t),s=(0,l.e)(o.ref,a.ref),f="function"==typeof t;return f||o.isPresent?(0,r.cloneElement)(a,{ref:s}):null};function c(e){return(null==e?void 0:e.animationName)||"none"}o.displayName="Presence"},72205:function(e,n,t){"use strict";t.d(n,{WV:function(){return o},jH:function(){return c}});var r=t(65122),u=t(3546),l=t(30171),i=t(74047);let o=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,n)=>{let t=(0,u.forwardRef)((e,t)=>{let{asChild:l,...o}=e,c=l?i.g7:n;return(0,u.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,u.createElement)(c,(0,r.Z)({},o,{ref:t}))});return t.displayName=`Primitive.${n}`,{...e,[n]:t}},{});function c(e,n){e&&(0,l.flushSync)(()=>e.dispatchEvent(n))}},74047:function(e,n,t){"use strict";t.d(n,{A4:function(){return c},g7:function(){return i}});var r=t(65122),u=t(3546),l=t(79869);let i=(0,u.forwardRef)((e,n)=>{let{children:t,...l}=e,i=u.Children.toArray(t),c=i.find(a);if(c){let e=c.props.children,t=i.map(n=>n!==c?n:u.Children.count(e)>1?u.Children.only(null):(0,u.isValidElement)(e)?e.props.children:null);return(0,u.createElement)(o,(0,r.Z)({},l,{ref:n}),(0,u.isValidElement)(e)?(0,u.cloneElement)(e,void 0,t):null)}return(0,u.createElement)(o,(0,r.Z)({},l,{ref:n}),t)});i.displayName="Slot";let o=(0,u.forwardRef)((e,n)=>{let{children:t,...r}=e;return(0,u.isValidElement)(t)?(0,u.cloneElement)(t,{...function(e,n){let t={...n};for(let r in n){let u=e[r],l=n[r],i=/^on[A-Z]/.test(r);i?u&&l?t[r]=(...e)=>{l(...e),u(...e)}:u&&(t[r]=u):"style"===r?t[r]={...u,...l}:"className"===r&&(t[r]=[u,l].filter(Boolean).join(" "))}return{...e,...t}}(r,t.props),ref:n?(0,l.F)(n,t.ref):t.ref}):u.Children.count(t)>1?u.Children.only(null):null});o.displayName="SlotClone";let c=({children:e})=>(0,u.createElement)(u.Fragment,null,e);function a(e){return(0,u.isValidElement)(e)&&e.type===c}},17957:function(e,n,t){"use strict";t.d(n,{W:function(){return u}});var r=t(3546);function u(e){let n=(0,r.useRef)(e);return(0,r.useEffect)(()=>{n.current=e}),(0,r.useMemo)(()=>(...e)=>{var t;return null===(t=n.current)||void 0===t?void 0:t.call(n,...e)},[])}},65292:function(e,n,t){"use strict";t.d(n,{b:function(){return u}});var r=t(3546);let u=(null==globalThis?void 0:globalThis.document)?r.useLayoutEffect:()=>{}},36327:function(e,n,t){"use strict";t.d(n,{Z:function(){return l}});var r=t(21454),u=t(54859);let l=(0,u.xD)(r.ZP,e=>(n,t,r)=>(r.revalidateOnFocus=!1,r.revalidateIfStale=!1,r.revalidateOnReconnect=!1,e(n,t,r)))}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/9002-3d2ddf890b36385d.js b/ee/tabby-webserver/ui/_next/static/chunks/9002-3d2ddf890b36385d.js new file mode 100644 index 000000000000..4ff2718ad5c7 --- /dev/null +++ b/ee/tabby-webserver/ui/_next/static/chunks/9002-3d2ddf890b36385d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9002,3240],{48537:function(n,e,t){t.d(e,{q:function(){return o}});var r=t(36164);t(3546);var i=t(28312),a=t(31458),s=t(81565);function o(n){let{className:e,value:t,onCopyContent:o,text:u,...d}=n,{isCopied:l,copyToClipboard:c}=(0,i.m)({timeout:2e3,onCopyContent:o});return t?(0,r.jsxs)(a.z,{variant:"ghost",size:u?"default":"icon",className:e,onClick:()=>{l||c(t)},...d,children:[l?(0,r.jsx)(s.IconCheck,{className:"text-green-600"}):(0,r.jsx)(s.IconCopy,{}),u&&(0,r.jsx)("span",{children:u}),!u&&(0,r.jsx)("span",{className:"sr-only",children:"Copy"})]}):null}},90379:function(n,e,t){t.d(e,{PF:function(){return u},cg:function(){return s},tB:function(){return o}});var r=t(36164),i=t(57288),a=t(3448);let s=n=>{let{className:e,...t}=n;return(0,r.jsxs)("div",{className:(0,i.cn)("space-y-3",e),...t,children:[(0,r.jsx)(a.O,{className:"h-4 w-full"}),(0,r.jsx)(a.O,{className:"h-4 w-full"}),(0,r.jsx)(a.O,{className:"h-4 w-full"}),(0,r.jsx)(a.O,{className:"h-4 w-full"})]})},o=n=>{let{className:e,...t}=n;return(0,r.jsx)(a.O,{className:(0,i.cn)("h-4 w-full",e),...t})},u=n=>{let{className:e,...t}=n;return(0,r.jsxs)("div",{className:(0,i.cn)("flex flex-col gap-3",e),...t,children:[(0,r.jsx)(a.O,{className:"h-4 w-[20%]"}),(0,r.jsx)(a.O,{className:"h-4 w-full"}),(0,r.jsx)(a.O,{className:"h-4 w-[20%]"}),(0,r.jsx)(a.O,{className:"h-4 w-full"})]})}},82394:function(n,e,t){t.d(e,{I:function(){return s}});var r=t(36164),i=t(3546),a=t(57288);let s=i.forwardRef((n,e)=>{let{className:t,type:i,...s}=n;return(0,r.jsx)("input",{type:i,className:(0,a.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),ref:e,...s})});s.displayName="Input"},11208:function(n,e,t){t.d(e,{Z:function(){return o}});var r=t(36164),i=t(3546),a=t(74225),s=t(57288);let o=i.forwardRef((n,e)=>{let{className:t,orientation:i="horizontal",decorative:o=!0,...u}=n;return(0,r.jsx)(a.f,{ref:e,decorative:o,orientation:i,className:(0,s.cn)("shrink-0 bg-border","horizontal"===i?"h-[1px] w-full":"h-full w-[1px]",t),...u})});o.displayName=a.f.displayName},3448:function(n,e,t){t.d(e,{O:function(){return a}});var r=t(36164),i=t(57288);function a(n){let{className:e,...t}=n;return(0,r.jsx)("div",{className:(0,i.cn)("h-4 animate-pulse rounded-md bg-border",e),...t})}},29:function(n,e,t){t.d(e,{_v:function(){return l},aJ:function(){return d},pn:function(){return o},u:function(){return u}});var r=t(36164),i=t(3546),a=t(44421),s=t(57288);let o=a.zt,u=a.fC,d=a.xz;a.h_;let l=i.forwardRef((n,e)=>{let{className:t,sideOffset:i=4,...o}=n;return(0,r.jsx)(a.VY,{ref:e,sideOffset:i,className:(0,s.cn)("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-xs font-medium text-popover-foreground shadow-md animate-in fade-in-50 data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-1 data-[side=right]:slide-in-from-left-1 data-[side=top]:slide-in-from-bottom-1",t),...o})});l.displayName=a.VY.displayName},75561:function(n,e,t){t.d(e,{B:function(){return a}});var r=t(18500);let i={"\n query ListUserEvents(\n $after: String\n $before: String\n $first: Int\n $last: Int\n $start: DateTime!\n $end: DateTime!\n $users: [ID!]\n ) {\n userEvents(\n after: $after\n before: $before\n first: $first\n last: $last\n start: $start\n end: $end\n users: $users\n ) {\n edges {\n node {\n id\n userId\n createdAt\n kind\n payload\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.UQ,"\n mutation uploadUserAvatarBase64($id: ID!, $avatarBase64: String!) {\n uploadUserAvatarBase64(id: $id, avatarBase64: $avatarBase64)\n }\n":r.eI,"\n mutation UpdateUserName($id: ID!, $name: String!) {\n updateUserName(id: $id, name: $name)\n }\n":r.DQ,"\n mutation PasswordChange($input: PasswordChangeInput!) {\n passwordChange(input: $input)\n }\n":r.oZ,"\n mutation updateEmailSetting($input: EmailSettingInput!) {\n updateEmailSetting(input: $input)\n }\n":r.gl,"\n mutation deleteEmailSetting {\n deleteEmailSetting\n }\n":r.wZ,"\n mutation SendTestEmail($to: String!) {\n sendTestEmail(to: $to)\n }\n":r.nI,"\n query emailSetting {\n emailSetting {\n smtpUsername\n smtpServer\n fromAddress\n encryption\n authMethod\n smtpPort\n }\n }\n":r.k6,"\n mutation UpdateIntegration($input: UpdateIntegrationInput!) {\n updateIntegration(input: $input)\n }\n":r.fc,"\n mutation DeleteIntegration($id: ID!, $kind: IntegrationKind!) {\n deleteIntegration(id: $id, kind: $kind)\n }\n":r.AU,"\n mutation UpdateIntegratedRepositoryActive($id: ID!, $active: Boolean!) {\n updateIntegratedRepositoryActive(id: $id, active: $active)\n }\n":r.o7,"\n mutation CreateIntegration($input: CreateIntegrationInput!) {\n createIntegration(input: $input)\n }\n":r.fY,"\n mutation grantSourceIdReadAccess($sourceId: String!, $userGroupId: ID!) {\n grantSourceIdReadAccess(sourceId: $sourceId, userGroupId: $userGroupId)\n }\n":r.Yr,"\n mutation revokeSourceIdReadAccess($sourceId: String!, $userGroupId: ID!) {\n revokeSourceIdReadAccess(sourceId: $sourceId, userGroupId: $userGroupId)\n }\n":r.z,"\n mutation CreateCustomDocument($input: CreateCustomDocumentInput!) {\n createCustomDocument(input: $input)\n }\n":r.Gf,"\n query CustomWebDocuments(\n $ids: [ID!]\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n customWebDocuments(\n ids: $ids\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n url\n name\n id\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.wx,"\n mutation DeleteCustomDocument($id: ID!) {\n deleteCustomDocument(id: $id)\n }\n":r.c3,"\n query PresetWebDocuments(\n $ids: [ID!]\n $after: String\n $before: String\n $first: Int\n $last: Int\n $isActive: Boolean\n ) {\n presetWebDocuments(\n ids: $ids\n after: $after\n before: $before\n first: $first\n last: $last\n isActive: $isActive\n ) {\n edges {\n node {\n id\n name\n isActive\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.z1,"\n mutation SetPresetDocumentActive($input: SetPresetDocumentActiveInput!) {\n setPresetDocumentActive(input: $input)\n }\n":r.h_,"\n mutation deleteGitRepository($id: ID!) {\n deleteGitRepository(id: $id)\n }\n":r.TS,"\n mutation createGitRepository($name: String!, $gitUrl: String!) {\n createGitRepository(name: $name, gitUrl: $gitUrl)\n }\n":r.ad,"\n mutation triggerJobRun($command: String!) {\n triggerJobRun(command: $command)\n }\n":r.uk,"\n mutation updateOauthCredential($input: UpdateOAuthCredentialInput!) {\n updateOauthCredential(input: $input)\n }\n":r.m,"\n mutation deleteOauthCredential($provider: OAuthProvider!) {\n deleteOauthCredential(provider: $provider)\n }\n":r.ZH,"\n query OAuthCallbackUrl($provider: OAuthProvider!) {\n oauthCallbackUrl(provider: $provider)\n }\n":r.L$,"\n query OAuthCredential($provider: OAuthProvider!) {\n oauthCredential(provider: $provider) {\n provider\n clientId\n createdAt\n updatedAt\n }\n }\n":r.Fd,"\n mutation updateNetworkSettingMutation($input: NetworkSettingInput!) {\n updateNetworkSetting(input: $input)\n }\n":r.rN,"\n mutation updateSecuritySetting($input: SecuritySettingInput!) {\n updateSecuritySetting(input: $input)\n }\n":r.Nl,"\n query SecuritySetting {\n securitySetting {\n allowedRegisterDomainList\n disableClientSideTelemetry\n }\n }\n":r.rU,"\n mutation UploadLicense($license: String!) {\n uploadLicense(license: $license)\n }\n":r.Yo,"\n mutation ResetLicense {\n resetLicense\n }\n":r.d0,"\n mutation CreateInvitation($email: String!) {\n createInvitation(email: $email)\n }\n":r.ib,"\n mutation DeleteInvitation($id: ID!) {\n deleteInvitation(id: $id)\n }\n":r.YM,"\n mutation updateUserRole($id: ID!, $isAdmin: Boolean!) {\n updateUserRole(id: $id, isAdmin: $isAdmin)\n }\n":r.XF,"\n mutation UpdateUserActive($id: ID!, $active: Boolean!) {\n updateUserActive(id: $id, active: $active)\n }\n":r.dv,"\n mutation generateResetPasswordUrl($userId: ID!) {\n generateResetPasswordUrl(userId: $userId)\n }\n":r.nh,"\n mutation createUserGroup($input: CreateUserGroupInput!) {\n createUserGroup(input: $input)\n }\n":r.e8,"\n mutation DeleteUserGroupMembership($userGroupId: ID!, $userId: ID!) {\n deleteUserGroupMembership(userGroupId: $userGroupId, userId: $userId)\n }\n":r.zD,"\n mutation UpsertUserGroupMembership($input: UpsertUserGroupMembershipInput!) {\n upsertUserGroupMembership(input: $input)\n }\n":r.uI,"\n mutation DeleteUserGroup($id: ID!) {\n deleteUserGroup(id: $id)\n }\n":r.hQ,"\n query GetRegistrationToken {\n registrationToken\n }\n":r.bh,"\n mutation ResetRegistrationToken {\n resetRegistrationToken\n }\n":r.wW,"\n query TestModelConnection($backend: ModelHealthBackend!) {\n testModelConnection(backend: $backend) {\n latencyMs\n }\n }\n":r.rE,"\n query GetDiskUsageStats {\n diskUsageStats {\n events {\n filepath\n sizeKb\n }\n indexedRepositories {\n filepath\n sizeKb\n }\n database {\n filepath\n sizeKb\n }\n models {\n filepath\n sizeKb\n }\n }\n }\n":r.xX,"\n query ListThreads(\n $ids: [ID!]\n $isEphemeral: Boolean\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n threads(\n ids: $ids\n isEphemeral: $isEphemeral\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n userId\n createdAt\n updatedAt\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.qk,"\n mutation passwordReset($input: PasswordResetInput!) {\n passwordReset(input: $input)\n }\n":r.vK,"\n mutation requestPasswordResetEmail($input: RequestPasswordResetEmailInput!) {\n requestPasswordResetEmail(input: $input)\n }\n":r.i8,"\n mutation requestInvitationEmail($input: RequestInvitationInput!) {\n requestInvitationEmail(input: $input) {\n email\n code\n }\n }\n":r.S_,"\n mutation tokenAuth($email: String!, $password: String!) {\n tokenAuth(email: $email, password: $password) {\n accessToken\n refreshToken\n }\n }\n":r.UO,"\n mutation register(\n $name: String!\n $email: String!\n $password1: String!\n $password2: String!\n $invitationCode: String\n ) {\n register(\n name: $name\n email: $email\n password1: $password1\n password2: $password2\n invitationCode: $invitationCode\n ) {\n accessToken\n refreshToken\n }\n }\n":r.YR,"\n query RepositoryGrep(\n $id: ID!\n $kind: RepositoryKind!\n $rev: String\n $query: String!\n ) {\n repositoryGrep(kind: $kind, id: $id, rev: $rev, query: $query) {\n files {\n path\n lines {\n line {\n text\n base64\n }\n byteOffset\n lineNumber\n subMatches {\n bytesStart\n bytesEnd\n }\n }\n }\n elapsedMs\n }\n }\n":r.lq,"\n mutation DeleteThread($id: ID!) {\n deleteThread(id: $id)\n }\n":r.xW,"\n mutation UpdateThreadMessage($input: UpdateMessageInput!) {\n updateThreadMessage(input: $input)\n }\n":r.Tj,"\n mutation markNotificationsRead($notificationId: ID) {\n markNotificationsRead(notificationId: $notificationId)\n }\n":r.yR,"\n mutation ResetUserAuthToken {\n resetUserAuthToken\n }\n":r.qq,"\n query GetLicenseInfo {\n license {\n type\n status\n seats\n seatsUsed\n issuedAt\n expiresAt\n }\n }\n":r.eZ,"\n query MeQuery {\n me {\n id\n authToken\n email\n isAdmin\n isOwner\n isPasswordSet\n name\n }\n }\n":r.fk,"\n query NetworkSetting {\n networkSetting {\n externalUrl\n }\n }\n":r.m2,"\n query GetServerInfo {\n serverInfo {\n isAdminInitialized\n isEmailConfigured\n isChatEnabled\n allowSelfSignup\n isDemoMode\n }\n }\n":r.a,"\n subscription CreateThreadAndRun($input: CreateThreadAndRunInput!) {\n createThreadAndRun(input: $input) {\n __typename\n ... on ThreadCreated {\n id\n }\n ... on ThreadUserMessageCreated {\n id\n }\n ... on ThreadAssistantMessageCreated {\n id\n }\n ... on ThreadRelevantQuestions {\n questions\n }\n ... on ThreadAssistantMessageAttachmentsCode {\n codeSourceId\n hits {\n code {\n gitUrl\n commit\n filepath\n language\n content\n startLine\n }\n scores {\n rrf\n bm25\n embedding\n }\n }\n }\n ... on ThreadAssistantMessageAttachmentsDoc {\n hits {\n doc {\n __typename\n ... on MessageAttachmentWebDoc {\n title\n link\n content\n }\n ... on MessageAttachmentIssueDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n closed\n }\n ... on MessageAttachmentPullDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n merged\n }\n }\n score\n }\n }\n ... on ThreadAssistantMessageContentDelta {\n delta\n }\n ... on ThreadAssistantMessageCompleted {\n id\n }\n }\n }\n":r.VL,"\n subscription CreateThreadRun($input: CreateThreadRunInput!) {\n createThreadRun(input: $input) {\n __typename\n ... on ThreadCreated {\n id\n }\n ... on ThreadUserMessageCreated {\n id\n }\n ... on ThreadAssistantMessageCreated {\n id\n }\n ... on ThreadRelevantQuestions {\n questions\n }\n ... on ThreadAssistantMessageAttachmentsCode {\n codeSourceId\n hits {\n code {\n gitUrl\n commit\n filepath\n language\n content\n startLine\n }\n scores {\n rrf\n bm25\n embedding\n }\n }\n }\n ... on ThreadAssistantMessageAttachmentsDoc {\n hits {\n doc {\n __typename\n ... on MessageAttachmentWebDoc {\n title\n link\n content\n }\n ... on MessageAttachmentIssueDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n closed\n }\n ... on MessageAttachmentPullDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n merged\n }\n }\n score\n }\n }\n ... on ThreadAssistantMessageContentDelta {\n delta\n }\n ... on ThreadAssistantMessageCompleted {\n id\n }\n }\n }\n":r.uM,"\n mutation DeleteThreadMessagePair(\n $threadId: ID!\n $userMessageId: ID!\n $assistantMessageId: ID!\n ) {\n deleteThreadMessagePair(\n threadId: $threadId\n userMessageId: $userMessageId\n assistantMessageId: $assistantMessageId\n )\n }\n":r.ou,"\n mutation refreshToken($refreshToken: String!) {\n refreshToken(refreshToken: $refreshToken) {\n accessToken\n refreshToken\n }\n }\n":r.FR,"\n mutation LogoutAllSessions {\n logoutAllSessions\n }\n":r.Il,"\n query ListInvitations(\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n invitations(after: $after, before: $before, first: $first, last: $last) {\n edges {\n node {\n id\n email\n code\n createdAt\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.Xx,"\n query gitRepositories(\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n gitRepositories(\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n name\n gitUrl\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.Mi,"\n query ListJobRuns(\n $ids: [ID!]\n $jobs: [String!]\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n jobRuns(\n ids: $ids\n jobs: $jobs\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n job\n createdAt\n startedAt\n finishedAt\n exitCode\n stdout\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.$S,"\n query GetJobRunStats($jobs: [String!]) {\n jobRunStats(jobs: $jobs) {\n success\n failed\n pending\n }\n }\n":r.np,"\n query ListJobs {\n jobs\n }\n":r.Ax,"\n query ListUsers($after: String, $before: String, $first: Int, $last: Int) {\n users(after: $after, before: $before, first: $first, last: $last) {\n edges {\n node {\n id\n email\n isAdmin\n isOwner\n createdAt\n active\n name\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.by,"\n query DailyStatsInPastYear($users: [ID!]) {\n dailyStatsInPastYear(users: $users) {\n start\n end\n completions\n selects\n views\n }\n }\n":r.Wd,"\n query DailyStats(\n $start: DateTime!\n $end: DateTime!\n $users: [ID!]\n $languages: [Language!]\n ) {\n dailyStats(start: $start, end: $end, users: $users, languages: $languages) {\n start\n end\n completions\n selects\n views\n language\n }\n }\n":r.Sm,"\n query ListIntegrations(\n $ids: [ID!]\n $kind: IntegrationKind\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n integrations(\n ids: $ids\n kind: $kind\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n displayName\n status\n apiBase\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.KZ,"\n query ListIntegratedRepositories(\n $ids: [ID!]\n $kind: IntegrationKind\n $active: Boolean\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n integratedRepositories(\n ids: $ids\n kind: $kind\n active: $active\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n displayName\n gitUrl\n active\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n startedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.qt,"\n query RepositoryList {\n repositoryList {\n id\n name\n kind\n gitUrl\n refs {\n name\n commit\n }\n }\n }\n":r.HC,"\n query RepositorySearch(\n $kind: RepositoryKind!\n $id: ID!\n $rev: String\n $pattern: String!\n ) {\n repositorySearch(kind: $kind, id: $id, rev: $rev, pattern: $pattern) {\n type\n path\n indices\n }\n }\n":r.BH,"\n query ContextInfo {\n contextInfo {\n sources {\n id\n sourceKind\n sourceId\n sourceName\n }\n }\n }\n":r.w4,"\n query UserGroups {\n userGroups {\n id\n name\n createdAt\n updatedAt\n members {\n user {\n id\n email\n name\n createdAt\n }\n isGroupAdmin\n createdAt\n updatedAt\n }\n }\n }\n":r.hx,"\n query sourceIdAccessPolicies($sourceId: String!) {\n sourceIdAccessPolicies(sourceId: $sourceId) {\n sourceId\n read {\n id\n name\n }\n }\n }\n":r.NL,"\n query ListThreadMessages(\n $threadId: ID!\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n threadMessages(\n threadId: $threadId\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n threadId\n codeSourceId\n role\n content\n attachment {\n code {\n gitUrl\n commit\n filepath\n language\n content\n startLine\n }\n clientCode {\n filepath\n content\n startLine\n }\n doc {\n __typename\n ... on MessageAttachmentWebDoc {\n title\n link\n content\n }\n ... on MessageAttachmentIssueDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n closed\n }\n ... on MessageAttachmentPullDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n merged\n }\n }\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.f7,"\n mutation SetThreadPersisted($threadId: ID!) {\n setThreadPersisted(threadId: $threadId)\n }\n":r.qu,"\n query Notifications {\n notifications {\n id\n content\n read\n createdAt\n }\n }\n":r.Qw,"\n query RepositorySourceList {\n repositoryList {\n id\n name\n kind\n gitUrl\n sourceId\n sourceName\n sourceKind\n }\n }\n":r.mO};function a(n){var e;return null!==(e=i[n])&&void 0!==e?e:{}}},43240:function(n,e,t){t.d(e,{BX:function(){return r.B}});var r=t(75561)},28312:function(n,e,t){t.d(e,{m:function(){return o}});var r=t(3546),i=t(61200),a=t.n(i),s=t(2578);function o(n){let{timeout:e=2e3,onError:t,onCopyContent:i}=n,[o,u]=r.useState(!1),d=()=>{u(!0),setTimeout(()=>{u(!1)},e)},l=n=>{if("function"==typeof t){null==t||t(n);return}s.A.error("Failed to copy.")};return{isCopied:o,copyToClipboard:n=>{var e;if(n){if(i){i(n),d();return}if(null===(e=navigator.clipboard)||void 0===e?void 0:e.writeText)navigator.clipboard.writeText(n).then(d).catch(l);else{let e=a()(n);e?d():l()}}}}}},24449:function(n,e,t){t.d(e,{S:function(){return o},n:function(){return u}});var r=t(3546),i=t(45391),a=t(16784);let s=n=>{let e=(0,a.d)(n);r.useEffect(()=>()=>{e.current()},[])};function o(n,e,t){let o=(0,a.d)(n),u=r.useMemo(()=>(0,i.Z)(function(){for(var n=arguments.length,e=Array(n),t=0;t{var n;null==t||null===(n=t.onUnmount)||void 0===n||n.call(t,u),u.cancel()}),{run:u,cancel:u.cancel,flush:u.flush}}function u(n,e,t){let[i,a]=r.useState(n),{run:s}=o(()=>{a(n)},e,t);return r.useEffect(()=>{s()},[n]),[i,a]}},16784:function(n,e,t){t.d(e,{d:function(){return i}});var r=t(3546);function i(n){let e=r.useRef(n);return e.current=n,e}},98454:function(n,e,t){t.d(e,{P:function(){return s}});var r=t(40055),i=t(43240);let a=(0,i.BX)("\n query MeQuery {\n me {\n id\n authToken\n email\n isAdmin\n isOwner\n isPasswordSet\n name\n }\n }\n"),s=()=>(0,r.aM)({query:a})},3765:function(n,e,t){t.d(e,{Z:function(){return u}});var r=t(44745),i=t(57778),a=t(79716),s=t(91302),o=t(66794);async function u(n,e){var t;let r=null!==(t=null==e?void 0:e.customFetch)&&void 0!==t?t:window.fetch;if(function(n){var e;if(n.startsWith("/oauth/providers"))return!1;let t=null===(e=(0,o.bW)())||void 0===e?void 0:e.accessToken;if(!t)return!0;try{let{exp:n}=(0,a.o)(t);return(0,o.pw)(n)}catch(n){return!0}}(n))return o.gN.refreshToken(d).then(t=>f(n,e));let i=await r(n,l(e));return 401===i.status?(o.gN.clearAccessToken(),o.gN.refreshToken(d).then(t=>f(n,e))):p(i,e)}async function d(){var n,e;let t=null===(n=(0,o.bW)())||void 0===n?void 0:n.refreshToken;if(!t)return;let r=await c(t);return null==r?void 0:null===(e=r.data)||void 0===e?void 0:e.refreshToken}function l(n){var e;let t=new Headers(null==n?void 0:n.headers);return t.append("authorization","Bearer ".concat(null===(e=(0,o.bW)())||void 0===e?void 0:e.accessToken)),{...n||{},headers:t}}async function c(n){let e=new r.KU({url:"/graphql",requestPolicy:"network-only",exchanges:[r.Ek]}),t=e.createRequestOperation("mutation",(0,i.h)(s.Dp,{refreshToken:n}));return e.executeMutation(t)}function f(n,e){var t;let r=null!==(t=null==e?void 0:e.customFetch)&&void 0!==t?t:window.fetch;return r(n,l(e)).then(n=>p(n,e))}function p(n,e){return(null==n?void 0:n.ok)?(null==e?void 0:e.responseFormatter)?e.responseFormatter(n):(null==e?void 0:e.responseFormat)==="blob"?n.blob():n.json():(null==e?void 0:e.errorHandler)?e.errorHandler(n):void 0}},11075:function(n,e,t){t.d(e,{eI:function(){return a},n0:function(){return s},uL:function(){return i}});var r=t(44494);let i="0.5.0";function a(n,e){return(0,r.K9)(n,{expose:{refresh:e.refresh,onApplyInEditor:e.onApplyInEditor,onApplyInEditorV2:e.onApplyInEditorV2,onLoaded:e.onLoaded,onCopy:e.onCopy,onKeyboardEvent:e.onKeyboardEvent,lookupSymbol:e.lookupSymbol,openInEditor:e.openInEditor,openExternal:e.openExternal,readWorkspaceGitRepositories:e.readWorkspaceGitRepositories}})}function s(n){return(0,r.cy)({expose:{init:n.init,executeCommand:n.executeCommand,showError:n.showError,cleanError:n.cleanError,addRelevantContext:n.addRelevantContext,updateTheme:n.updateTheme,updateActiveSelection:n.updateActiveSelection}})}},14439:function(n,e,t){t.d(e,{H:function(){return s},m:function(){return a}});var r=t(3546),i=t(11075);function a(n,e){let[t,a]=(0,r.useState)(null),s=!1;return(0,r.useEffect)(()=>{n.current&&!s&&(s=!0,a((0,i.eI)(n.current,e)))},[n.current]),t}function s(n){let[e,t]=(0,r.useState)(null),a=!1;return(0,r.useEffect)(()=>{let e=window.self!==window.top;e&&!a&&(a=!0,t((0,i.n0)(n)))},[]),e}t(44494)},44494:function(n,e,t){t.d(e,{K9:function(){return I},cy:function(){return b}});let r=Symbol.for("quilt.threads.retain"),i=Symbol.for("quilt.threads.release"),a=Symbol.for("quilt.threads.retained-by"),s=Symbol.for("quilt.threads.encode"),o=Symbol.for("quilt.threads.transferable");class u{memoryManaged=new Set;add(n){this.memoryManaged.add(n),n[a].add(this),n[r]()}release(){for(let n of this.memoryManaged)n[a].delete(this),n[i]();this.memoryManaged.clear()}}function d(n){return!!(n&&n[r]&&n[i])}function l(n){if(null==n||"object"!=typeof n)return!1;let e=Object.getPrototypeOf(n);return null==e||e===Object.prototype}function c(n,{expose:e,callable:t,signal:c,uuid:m=p,encoder:g=function({encode:n,decode:e}={}){return{encode:function(n,e){let r={api:e,seen:new Map,encode:n=>t(n,r,!0)};return t(n,r)},decode:function(n,e,t){let i={api:e,decode:n=>r(n,i,t,!0)};return r(n,i)}};function t(e,r,i=!1){let{seen:a,api:u,encode:d}=r;if(!i&&n)return n(e,d);if(null==e)return[e];let c=a.get(e);if(c)return c;if(a.set(e,[void 0]),"object"==typeof e){if(e[o]){let n=[e,[e]];return a.set(e,n),n}let n=[],i=e=>{let[i,a=[]]=t(e,r);return n.push(...a),i};if("function"==typeof e[s]){let t=e[s]({encode:i}),r=[t,n];return a.set(e,r),r}if(Array.isArray(e)){let t=e.map(n=>i(n)),r=[t,n];return a.set(e,r),r}if(e instanceof RegExp){let t={"_@r":[e.source,e.flags]},r=[t,n];return a.set(e,r),r}if(e instanceof URL){let t={"_@u":e.href},r=[t,n];return a.set(e,r),r}if(e instanceof Date){let t={"_@d":e.toISOString()},r=[t,n];return a.set(e,r),r}if(e instanceof Map){let t=[...e.entries()].map(([n,e])=>[i(n),i(e)]),r=[{"_@m":t},n];return a.set(e,r),r}if(e instanceof Set){let t=[...e].map(n=>i(n)),r=[{"_@s":t},n];return a.set(e,r),r}let u=null!=e&&(Symbol.asyncIterator in e||Symbol.iterator in e)&&"function"==typeof e.next;if(l(e)||u){let t={};for(let n of Object.keys(e))t[n]=i(e[n]);u&&(t.next??=i(e.next.bind(e)),t.return??=i(e.return.bind(e)),t.throw??=i(e.throw.bind(e)),t["_@i"]=!0);let r=[t,n];return a.set(e,r),r}}if("function"==typeof e){let n=u.functions?.add(e);if(null==n)return[n];let t=[{"_@f":n}];return a.set(e,t),t}let f=[e];return a.set(e,f),f}function r(n,t,i,a=!1){let{api:s,decode:o}=t;if(!a&&e)return e(n,o,i);if("object"==typeof n){if(null==n)return n;if(Array.isArray(n))return n.map(n=>r(n,t,i));if("_@r"in n)return new RegExp(...n["_@r"]);if("_@u"in n)return new URL(n["_@u"]);if("_@d"in n)return new Date(n["_@d"]);if("_@m"in n)return new Map(n["_@m"].map(([n,e])=>[r(n,t,i),r(e,t,i)]));if("_@s"in n)return new Set(n["_@s"].map(n=>r(n,t,i)));if("_@f"in n){let e=n["_@f"],t=s.functions?.get(e);if(i&&d(t))for(let n of i)n.add(t);return t}if(!l(n))return n;let e={};for(let a of Object.keys(n))"_@i"===a?e[Symbol.asyncIterator]=()=>e:e[a]=r(n[a],t,i);return e}return n}}()}={}){let $=!1,h=new Map,I=new Map,b=new Map,y=new Map;if(e)for(let n of Object.keys(e)){let t=e[n];"function"==typeof t&&h.set(n,t)}let v=new Map,S=function(n,e){let t;if(null==e){if("function"!=typeof Proxy)throw Error("You must pass an array of callable methods in environments without Proxies.");let e=new Map;t=new Proxy({},{get(t,r){if(e.has(r))return e.get(r);let i=n(r);return e.set(r,i),i}})}else for(let r of(t={},e))Object.defineProperty(t,r,{value:n(r),writable:!1,configurable:!0,enumerable:!0});return t}(function(n){return(...e)=>{try{if($)throw new f;if("string"!=typeof n&&"number"!=typeof n)throw Error(`Can’t call a symbol method on a thread: ${n.toString()}`);if("hasCapability"===n){let n=e[0],t=m(),r=x(t);return k(7,[t,n]),r}let t=m(),r=x(t),[i,a]=g.encode(e,w);return k(0,[t,n,i],a),r}catch(n){return Promise.reject(n)}}},t),w={functions:{add(n){let e=I.get(n);return null==e&&(e=m(),I.set(n,e),b.set(e,n)),e},get(n){let e=y.get(n);if(e)return e;let t=0,s=!1;return Object.defineProperties(e=(...e)=>{if(s)throw Error("You attempted to call a function that was already released.");if(!y.has(n))throw Error("You attempted to call a function that was already revoked.");let[t,r]=g.encode(e,w),i=m(),a=x(i);return k(5,[i,n,t],r),a},{[i]:{value:()=>{0==(t-=1)&&(s=!0,y.delete(n),k(3,[n]))},writable:!1},[r]:{value:()=>{t+=1},writable:!1},[a]:{value:new Set,writable:!1}}),y.set(n,e),e}}},A=()=>{if(!$){for(let n of v.keys())D(n,new f);$=!0,h.clear(),v.clear(),I.clear(),b.clear(),y.clear()}};return c?.addEventListener("abort",()=>{k(2,[]),A()},{once:!0}),n.listen(C,{signal:c}),S;function k(e,t,r){$||n.send([e,t],r)}async function C(n){let e=Array.isArray(n)&&"number"==typeof n[0]&&(null==n[1]||Array.isArray(n[1]));if(e)switch(n[0]){case 2:A();break;case 0:{let e=new u,[t,r,i]=n[1],a=h.get(r);try{if(null==a)throw Error(`No '${r}' method is exposed on this endpoint`);let n=await a(...g.decode(i,w,[e])),[s,o]=g.encode(n,w);k(1,[t,void 0,s],o)}catch(i){let{name:n,message:e,stack:r}=i;k(1,[t,{name:n,message:e,stack:r}])}finally{e.release()}break}case 1:case 6:D(...n[1]);break;case 3:{let[e]=n[1],t=b.get(e);t&&(b.delete(e),I.delete(t));break}case 5:{let[e,t,r]=n[1],i=new u;try{let n=b.get(t);if(null==n)throw Error("You attempted to call a function that was already released.");let s=await n(...g.decode(r,w,d(n)?[...n[a],i]:[i])),[o,u]=g.encode(s,w);k(6,[e,void 0,o],u)}catch(i){let{name:n,message:t,stack:r}=i;k(6,[e,{name:n,message:t,stack:r}])}finally{i.release()}break}case 7:{let[e,t]=n[1],r=h.has(t);k(1,[e,void 0,g.encode(r,w)[0]])}}}function x(n){let e=new Promise((e,t)=>{v.set(n,(n,r,i)=>{if(null==r)e(g.decode(i,w));else{let n=Error();Object.assign(n,r),t(n)}})});return Object.defineProperty(e,Symbol.asyncIterator,{async *value(){let n=await e;Object.defineProperty(n,Symbol.asyncIterator,{value:()=>n}),yield*n}}),e}function D(...n){let e=n[0],t=v.get(e);t&&(t(...n),v.delete(e))}}class f extends Error{constructor(){super("You attempted to call a function on a terminated thread.")}}function p(){return`${m()}-${m()}-${m()}-${m()}`}function m(){return Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)}var g=t(18400);let $="quilt.threads.ping",h="quilt.threads.pong";function I(n,{targetOrigin:e="*",...t}={}){let r=!1,i=function(t,r){n.contentWindow?.postMessage(t,e,r)},a=new Promise(e=>{let a=t.signal?new g.z(t.signal):new AbortController;window.addEventListener("message",t=>{t.source===n.contentWindow&&t.data===h&&(r=!0,a.abort(),e())},{signal:a.signal}),a.signal.addEventListener("abort",()=>{e()},{once:!0}),i($)});return c({send:(n,e)=>r?i(n,e):a.then(()=>{if(r)return i(n,e)}),listen(e,{signal:t}){self.addEventListener("message",t=>{t.source===n.contentWindow&&t.data!==h&&e(t.data)},{signal:t})}},t)}function b({targetOrigin:n="*",...e}={}){if("undefined"==typeof self||null==self.parent)throw Error("You are not inside an iframe, because there is no parent window.");let{parent:t}=self,r=e.signal?new g.z(e.signal):new AbortController,i=()=>{let r=()=>t.postMessage(h,n);self.addEventListener("message",({data:n})=>{n===$&&r()},{signal:e.signal}),r()};return"complete"===document.readyState?i():document.addEventListener("readystatechange",()=>{"complete"===document.readyState&&(i(),r.abort())},{signal:r.signal}),c({send:(e,r)=>t.postMessage(e,n,r),listen(n,{signal:e}){self.addEventListener("message",e=>{e.data!==$&&n(e.data)},{signal:e})}},e)}}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/9002-a79a9b58cd951d12.js b/ee/tabby-webserver/ui/_next/static/chunks/9002-a79a9b58cd951d12.js deleted file mode 100644 index 5deeb6fff77b..000000000000 --- a/ee/tabby-webserver/ui/_next/static/chunks/9002-a79a9b58cd951d12.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9002,3240],{48537:function(n,e,t){t.d(e,{q:function(){return o}});var r=t(36164);t(3546);var i=t(28312),a=t(31458),s=t(81565);function o(n){let{className:e,value:t,onCopyContent:o,text:u,...d}=n,{isCopied:l,copyToClipboard:c}=(0,i.m)({timeout:2e3,onCopyContent:o});return t?(0,r.jsxs)(a.z,{variant:"ghost",size:u?"default":"icon",className:e,onClick:()=>{l||c(t)},...d,children:[l?(0,r.jsx)(s.IconCheck,{className:"text-green-600"}):(0,r.jsx)(s.IconCopy,{}),u&&(0,r.jsx)("span",{children:u}),!u&&(0,r.jsx)("span",{className:"sr-only",children:"Copy"})]}):null}},90379:function(n,e,t){t.d(e,{PF:function(){return u},cg:function(){return s},tB:function(){return o}});var r=t(36164),i=t(57288),a=t(3448);let s=n=>{let{className:e,...t}=n;return(0,r.jsxs)("div",{className:(0,i.cn)("space-y-3",e),...t,children:[(0,r.jsx)(a.O,{className:"h-4 w-full"}),(0,r.jsx)(a.O,{className:"h-4 w-full"}),(0,r.jsx)(a.O,{className:"h-4 w-full"}),(0,r.jsx)(a.O,{className:"h-4 w-full"})]})},o=n=>{let{className:e,...t}=n;return(0,r.jsx)(a.O,{className:(0,i.cn)("h-4 w-full",e),...t})},u=n=>{let{className:e,...t}=n;return(0,r.jsxs)("div",{className:(0,i.cn)("flex flex-col gap-3",e),...t,children:[(0,r.jsx)(a.O,{className:"h-4 w-[20%]"}),(0,r.jsx)(a.O,{className:"h-4 w-full"}),(0,r.jsx)(a.O,{className:"h-4 w-[20%]"}),(0,r.jsx)(a.O,{className:"h-4 w-full"})]})}},82394:function(n,e,t){t.d(e,{I:function(){return s}});var r=t(36164),i=t(3546),a=t(57288);let s=i.forwardRef((n,e)=>{let{className:t,type:i,...s}=n;return(0,r.jsx)("input",{type:i,className:(0,a.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),ref:e,...s})});s.displayName="Input"},11208:function(n,e,t){t.d(e,{Z:function(){return o}});var r=t(36164),i=t(3546),a=t(74225),s=t(57288);let o=i.forwardRef((n,e)=>{let{className:t,orientation:i="horizontal",decorative:o=!0,...u}=n;return(0,r.jsx)(a.f,{ref:e,decorative:o,orientation:i,className:(0,s.cn)("shrink-0 bg-border","horizontal"===i?"h-[1px] w-full":"h-full w-[1px]",t),...u})});o.displayName=a.f.displayName},3448:function(n,e,t){t.d(e,{O:function(){return a}});var r=t(36164),i=t(57288);function a(n){let{className:e,...t}=n;return(0,r.jsx)("div",{className:(0,i.cn)("h-4 animate-pulse rounded-md bg-border",e),...t})}},29:function(n,e,t){t.d(e,{_v:function(){return l},aJ:function(){return d},pn:function(){return o},u:function(){return u}});var r=t(36164),i=t(3546),a=t(44421),s=t(57288);let o=a.zt,u=a.fC,d=a.xz;a.h_;let l=i.forwardRef((n,e)=>{let{className:t,sideOffset:i=4,...o}=n;return(0,r.jsx)(a.VY,{ref:e,sideOffset:i,className:(0,s.cn)("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-xs font-medium text-popover-foreground shadow-md animate-in fade-in-50 data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-1 data-[side=right]:slide-in-from-left-1 data-[side=top]:slide-in-from-bottom-1",t),...o})});l.displayName=a.VY.displayName},75561:function(n,e,t){t.d(e,{B:function(){return a}});var r=t(18500);let i={"\n query ListUserEvents(\n $after: String\n $before: String\n $first: Int\n $last: Int\n $start: DateTime!\n $end: DateTime!\n $users: [ID!]\n ) {\n userEvents(\n after: $after\n before: $before\n first: $first\n last: $last\n start: $start\n end: $end\n users: $users\n ) {\n edges {\n node {\n id\n userId\n createdAt\n kind\n payload\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.UQ,"\n mutation uploadUserAvatarBase64($id: ID!, $avatarBase64: String!) {\n uploadUserAvatarBase64(id: $id, avatarBase64: $avatarBase64)\n }\n":r.eI,"\n mutation UpdateUserName($id: ID!, $name: String!) {\n updateUserName(id: $id, name: $name)\n }\n":r.DQ,"\n mutation PasswordChange($input: PasswordChangeInput!) {\n passwordChange(input: $input)\n }\n":r.oZ,"\n mutation updateEmailSetting($input: EmailSettingInput!) {\n updateEmailSetting(input: $input)\n }\n":r.gl,"\n mutation deleteEmailSetting {\n deleteEmailSetting\n }\n":r.wZ,"\n mutation SendTestEmail($to: String!) {\n sendTestEmail(to: $to)\n }\n":r.nI,"\n query emailSetting {\n emailSetting {\n smtpUsername\n smtpServer\n fromAddress\n encryption\n authMethod\n smtpPort\n }\n }\n":r.k6,"\n mutation UpdateIntegration($input: UpdateIntegrationInput!) {\n updateIntegration(input: $input)\n }\n":r.fc,"\n mutation DeleteIntegration($id: ID!, $kind: IntegrationKind!) {\n deleteIntegration(id: $id, kind: $kind)\n }\n":r.AU,"\n mutation UpdateIntegratedRepositoryActive($id: ID!, $active: Boolean!) {\n updateIntegratedRepositoryActive(id: $id, active: $active)\n }\n":r.o7,"\n mutation CreateIntegration($input: CreateIntegrationInput!) {\n createIntegration(input: $input)\n }\n":r.fY,"\n mutation grantSourceIdReadAccess($sourceId: String!, $userGroupId: ID!) {\n grantSourceIdReadAccess(sourceId: $sourceId, userGroupId: $userGroupId)\n }\n":r.Yr,"\n mutation revokeSourceIdReadAccess($sourceId: String!, $userGroupId: ID!) {\n revokeSourceIdReadAccess(sourceId: $sourceId, userGroupId: $userGroupId)\n }\n":r.z,"\n mutation CreateCustomDocument($input: CreateCustomDocumentInput!) {\n createCustomDocument(input: $input)\n }\n":r.Gf,"\n query CustomWebDocuments(\n $ids: [ID!]\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n customWebDocuments(\n ids: $ids\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n url\n name\n id\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.wx,"\n mutation DeleteCustomDocument($id: ID!) {\n deleteCustomDocument(id: $id)\n }\n":r.c3,"\n query PresetWebDocuments(\n $ids: [ID!]\n $after: String\n $before: String\n $first: Int\n $last: Int\n $isActive: Boolean\n ) {\n presetWebDocuments(\n ids: $ids\n after: $after\n before: $before\n first: $first\n last: $last\n isActive: $isActive\n ) {\n edges {\n node {\n id\n name\n isActive\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.z1,"\n mutation SetPresetDocumentActive($input: SetPresetDocumentActiveInput!) {\n setPresetDocumentActive(input: $input)\n }\n":r.h_,"\n mutation deleteGitRepository($id: ID!) {\n deleteGitRepository(id: $id)\n }\n":r.TS,"\n mutation createGitRepository($name: String!, $gitUrl: String!) {\n createGitRepository(name: $name, gitUrl: $gitUrl)\n }\n":r.ad,"\n mutation triggerJobRun($command: String!) {\n triggerJobRun(command: $command)\n }\n":r.uk,"\n mutation updateOauthCredential($input: UpdateOAuthCredentialInput!) {\n updateOauthCredential(input: $input)\n }\n":r.m,"\n mutation deleteOauthCredential($provider: OAuthProvider!) {\n deleteOauthCredential(provider: $provider)\n }\n":r.ZH,"\n query OAuthCallbackUrl($provider: OAuthProvider!) {\n oauthCallbackUrl(provider: $provider)\n }\n":r.L$,"\n query OAuthCredential($provider: OAuthProvider!) {\n oauthCredential(provider: $provider) {\n provider\n clientId\n createdAt\n updatedAt\n }\n }\n":r.Fd,"\n mutation updateNetworkSettingMutation($input: NetworkSettingInput!) {\n updateNetworkSetting(input: $input)\n }\n":r.rN,"\n mutation updateSecuritySetting($input: SecuritySettingInput!) {\n updateSecuritySetting(input: $input)\n }\n":r.Nl,"\n query SecuritySetting {\n securitySetting {\n allowedRegisterDomainList\n disableClientSideTelemetry\n }\n }\n":r.rU,"\n mutation UploadLicense($license: String!) {\n uploadLicense(license: $license)\n }\n":r.Yo,"\n mutation ResetLicense {\n resetLicense\n }\n":r.d0,"\n mutation CreateInvitation($email: String!) {\n createInvitation(email: $email)\n }\n":r.ib,"\n mutation DeleteInvitation($id: ID!) {\n deleteInvitation(id: $id)\n }\n":r.YM,"\n mutation updateUserRole($id: ID!, $isAdmin: Boolean!) {\n updateUserRole(id: $id, isAdmin: $isAdmin)\n }\n":r.XF,"\n mutation UpdateUserActive($id: ID!, $active: Boolean!) {\n updateUserActive(id: $id, active: $active)\n }\n":r.dv,"\n mutation generateResetPasswordUrl($userId: ID!) {\n generateResetPasswordUrl(userId: $userId)\n }\n":r.nh,"\n mutation createUserGroup($input: CreateUserGroupInput!) {\n createUserGroup(input: $input)\n }\n":r.e8,"\n mutation DeleteUserGroupMembership($userGroupId: ID!, $userId: ID!) {\n deleteUserGroupMembership(userGroupId: $userGroupId, userId: $userId)\n }\n":r.zD,"\n mutation UpsertUserGroupMembership($input: UpsertUserGroupMembershipInput!) {\n upsertUserGroupMembership(input: $input)\n }\n":r.uI,"\n mutation DeleteUserGroup($id: ID!) {\n deleteUserGroup(id: $id)\n }\n":r.hQ,"\n query GetRegistrationToken {\n registrationToken\n }\n":r.bh,"\n mutation ResetRegistrationToken {\n resetRegistrationToken\n }\n":r.wW,"\n query TestModelConnection($backend: ModelHealthBackend!) {\n testModelConnection(backend: $backend) {\n latencyMs\n }\n }\n":r.rE,"\n query GetDiskUsageStats {\n diskUsageStats {\n events {\n filepath\n sizeKb\n }\n indexedRepositories {\n filepath\n sizeKb\n }\n database {\n filepath\n sizeKb\n }\n models {\n filepath\n sizeKb\n }\n }\n }\n":r.xX,"\n query ListThreads(\n $ids: [ID!]\n $isEphemeral: Boolean\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n threads(\n ids: $ids\n isEphemeral: $isEphemeral\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n userId\n createdAt\n updatedAt\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.qk,"\n mutation passwordReset($input: PasswordResetInput!) {\n passwordReset(input: $input)\n }\n":r.vK,"\n mutation requestPasswordResetEmail($input: RequestPasswordResetEmailInput!) {\n requestPasswordResetEmail(input: $input)\n }\n":r.i8,"\n mutation requestInvitationEmail($input: RequestInvitationInput!) {\n requestInvitationEmail(input: $input) {\n email\n code\n }\n }\n":r.S_,"\n mutation tokenAuth($email: String!, $password: String!) {\n tokenAuth(email: $email, password: $password) {\n accessToken\n refreshToken\n }\n }\n":r.UO,"\n mutation register(\n $name: String!\n $email: String!\n $password1: String!\n $password2: String!\n $invitationCode: String\n ) {\n register(\n name: $name\n email: $email\n password1: $password1\n password2: $password2\n invitationCode: $invitationCode\n ) {\n accessToken\n refreshToken\n }\n }\n":r.YR,"\n query RepositoryGrep(\n $id: ID!\n $kind: RepositoryKind!\n $rev: String\n $query: String!\n ) {\n repositoryGrep(kind: $kind, id: $id, rev: $rev, query: $query) {\n files {\n path\n lines {\n line {\n text\n base64\n }\n byteOffset\n lineNumber\n subMatches {\n bytesStart\n bytesEnd\n }\n }\n }\n elapsedMs\n }\n }\n":r.lq,"\n mutation DeleteThread($id: ID!) {\n deleteThread(id: $id)\n }\n":r.xW,"\n mutation UpdateThreadMessage($input: UpdateMessageInput!) {\n updateThreadMessage(input: $input)\n }\n":r.Tj,"\n query RepositorySourceList {\n repositoryList {\n id\n name\n kind\n gitUrl\n sourceId\n sourceName\n sourceKind\n }\n }\n":r.mO,"\n mutation markNotificationsRead($notificationId: ID) {\n markNotificationsRead(notificationId: $notificationId)\n }\n":r.yR,"\n mutation ResetUserAuthToken {\n resetUserAuthToken\n }\n":r.qq,"\n query GetLicenseInfo {\n license {\n type\n status\n seats\n seatsUsed\n issuedAt\n expiresAt\n }\n }\n":r.eZ,"\n query MeQuery {\n me {\n id\n authToken\n email\n isAdmin\n isOwner\n isPasswordSet\n name\n }\n }\n":r.fk,"\n query NetworkSetting {\n networkSetting {\n externalUrl\n }\n }\n":r.m2,"\n query GetServerInfo {\n serverInfo {\n isAdminInitialized\n isEmailConfigured\n isChatEnabled\n allowSelfSignup\n isDemoMode\n }\n }\n":r.a,"\n subscription CreateThreadAndRun($input: CreateThreadAndRunInput!) {\n createThreadAndRun(input: $input) {\n __typename\n ... on ThreadCreated {\n id\n }\n ... on ThreadUserMessageCreated {\n id\n }\n ... on ThreadAssistantMessageCreated {\n id\n }\n ... on ThreadRelevantQuestions {\n questions\n }\n ... on ThreadAssistantMessageAttachmentsCode {\n hits {\n code {\n gitUrl\n filepath\n language\n content\n startLine\n }\n scores {\n rrf\n bm25\n embedding\n }\n }\n }\n ... on ThreadAssistantMessageAttachmentsDoc {\n hits {\n doc {\n __typename\n ... on MessageAttachmentWebDoc {\n title\n link\n content\n }\n ... on MessageAttachmentIssueDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n closed\n }\n ... on MessageAttachmentPullDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n merged\n }\n }\n score\n }\n }\n ... on ThreadAssistantMessageContentDelta {\n delta\n }\n ... on ThreadAssistantMessageCompleted {\n id\n }\n }\n }\n":r.VL,"\n subscription CreateThreadRun($input: CreateThreadRunInput!) {\n createThreadRun(input: $input) {\n __typename\n ... on ThreadCreated {\n id\n }\n ... on ThreadUserMessageCreated {\n id\n }\n ... on ThreadAssistantMessageCreated {\n id\n }\n ... on ThreadRelevantQuestions {\n questions\n }\n ... on ThreadAssistantMessageAttachmentsCode {\n hits {\n code {\n gitUrl\n filepath\n language\n content\n startLine\n }\n scores {\n rrf\n bm25\n embedding\n }\n }\n }\n ... on ThreadAssistantMessageAttachmentsDoc {\n hits {\n doc {\n __typename\n ... on MessageAttachmentWebDoc {\n title\n link\n content\n }\n ... on MessageAttachmentIssueDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n closed\n }\n ... on MessageAttachmentPullDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n merged\n }\n }\n score\n }\n }\n ... on ThreadAssistantMessageContentDelta {\n delta\n }\n ... on ThreadAssistantMessageCompleted {\n id\n }\n }\n }\n":r.uM,"\n mutation DeleteThreadMessagePair(\n $threadId: ID!\n $userMessageId: ID!\n $assistantMessageId: ID!\n ) {\n deleteThreadMessagePair(\n threadId: $threadId\n userMessageId: $userMessageId\n assistantMessageId: $assistantMessageId\n )\n }\n":r.ou,"\n mutation refreshToken($refreshToken: String!) {\n refreshToken(refreshToken: $refreshToken) {\n accessToken\n refreshToken\n }\n }\n":r.FR,"\n mutation LogoutAllSessions {\n logoutAllSessions\n }\n":r.Il,"\n query ListInvitations(\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n invitations(after: $after, before: $before, first: $first, last: $last) {\n edges {\n node {\n id\n email\n code\n createdAt\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.Xx,"\n query gitRepositories(\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n gitRepositories(\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n name\n gitUrl\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.Mi,"\n query ListJobRuns(\n $ids: [ID!]\n $jobs: [String!]\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n jobRuns(\n ids: $ids\n jobs: $jobs\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n job\n createdAt\n startedAt\n finishedAt\n exitCode\n stdout\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.$S,"\n query GetJobRunStats($jobs: [String!]) {\n jobRunStats(jobs: $jobs) {\n success\n failed\n pending\n }\n }\n":r.np,"\n query ListJobs {\n jobs\n }\n":r.Ax,"\n query ListUsers($after: String, $before: String, $first: Int, $last: Int) {\n users(after: $after, before: $before, first: $first, last: $last) {\n edges {\n node {\n id\n email\n isAdmin\n isOwner\n createdAt\n active\n name\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.by,"\n query DailyStatsInPastYear($users: [ID!]) {\n dailyStatsInPastYear(users: $users) {\n start\n end\n completions\n selects\n views\n }\n }\n":r.Wd,"\n query DailyStats(\n $start: DateTime!\n $end: DateTime!\n $users: [ID!]\n $languages: [Language!]\n ) {\n dailyStats(start: $start, end: $end, users: $users, languages: $languages) {\n start\n end\n completions\n selects\n views\n language\n }\n }\n":r.Sm,"\n query ListIntegrations(\n $ids: [ID!]\n $kind: IntegrationKind\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n integrations(\n ids: $ids\n kind: $kind\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n displayName\n status\n apiBase\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.KZ,"\n query ListIntegratedRepositories(\n $ids: [ID!]\n $kind: IntegrationKind\n $active: Boolean\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n integratedRepositories(\n ids: $ids\n kind: $kind\n active: $active\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n displayName\n gitUrl\n active\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n startedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.qt,"\n query RepositoryList {\n repositoryList {\n id\n name\n kind\n gitUrl\n refs {\n name\n commit\n }\n }\n }\n":r.HC,"\n query RepositorySearch(\n $kind: RepositoryKind!\n $id: ID!\n $rev: String\n $pattern: String!\n ) {\n repositorySearch(kind: $kind, id: $id, rev: $rev, pattern: $pattern) {\n type\n path\n indices\n }\n }\n":r.BH,"\n query ContextInfo {\n contextInfo {\n sources {\n id\n sourceKind\n sourceId\n sourceName\n }\n }\n }\n":r.w4,"\n query UserGroups {\n userGroups {\n id\n name\n createdAt\n updatedAt\n members {\n user {\n id\n email\n name\n createdAt\n }\n isGroupAdmin\n createdAt\n updatedAt\n }\n }\n }\n":r.hx,"\n query sourceIdAccessPolicies($sourceId: String!) {\n sourceIdAccessPolicies(sourceId: $sourceId) {\n sourceId\n read {\n id\n name\n }\n }\n }\n":r.NL,"\n query ListThreadMessages(\n $threadId: ID!\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n threadMessages(\n threadId: $threadId\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n threadId\n role\n content\n attachment {\n code {\n gitUrl\n filepath\n language\n content\n startLine\n }\n clientCode {\n filepath\n content\n startLine\n }\n doc {\n __typename\n ... on MessageAttachmentWebDoc {\n title\n link\n content\n }\n ... on MessageAttachmentIssueDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n closed\n }\n ... on MessageAttachmentPullDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n merged\n }\n }\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.f7,"\n mutation SetThreadPersisted($threadId: ID!) {\n setThreadPersisted(threadId: $threadId)\n }\n":r.qu,"\n query Notifications {\n notifications {\n id\n content\n read\n createdAt\n }\n }\n":r.Qw};function a(n){var e;return null!==(e=i[n])&&void 0!==e?e:{}}},43240:function(n,e,t){t.d(e,{BX:function(){return r.B}});var r=t(75561)},28312:function(n,e,t){t.d(e,{m:function(){return o}});var r=t(3546),i=t(61200),a=t.n(i),s=t(2578);function o(n){let{timeout:e=2e3,onError:t,onCopyContent:i}=n,[o,u]=r.useState(!1),d=()=>{u(!0),setTimeout(()=>{u(!1)},e)},l=n=>{if("function"==typeof t){null==t||t(n);return}s.A.error("Failed to copy.")};return{isCopied:o,copyToClipboard:n=>{var e;if(n){if(i){i(n),d();return}if(null===(e=navigator.clipboard)||void 0===e?void 0:e.writeText)navigator.clipboard.writeText(n).then(d).catch(l);else{let e=a()(n);e?d():l()}}}}}},24449:function(n,e,t){t.d(e,{S:function(){return o},n:function(){return u}});var r=t(3546),i=t(45391),a=t(16784);let s=n=>{let e=(0,a.d)(n);r.useEffect(()=>()=>{e.current()},[])};function o(n,e,t){let o=(0,a.d)(n),u=r.useMemo(()=>(0,i.Z)(function(){for(var n=arguments.length,e=Array(n),t=0;t{var n;null==t||null===(n=t.onUnmount)||void 0===n||n.call(t,u),u.cancel()}),{run:u,cancel:u.cancel,flush:u.flush}}function u(n,e,t){let[i,a]=r.useState(n),{run:s}=o(()=>{a(n)},e,t);return r.useEffect(()=>{s()},[n]),[i,a]}},16784:function(n,e,t){t.d(e,{d:function(){return i}});var r=t(3546);function i(n){let e=r.useRef(n);return e.current=n,e}},98454:function(n,e,t){t.d(e,{P:function(){return s}});var r=t(40055),i=t(43240);let a=(0,i.BX)("\n query MeQuery {\n me {\n id\n authToken\n email\n isAdmin\n isOwner\n isPasswordSet\n name\n }\n }\n"),s=()=>(0,r.aM)({query:a})},3765:function(n,e,t){t.d(e,{Z:function(){return u}});var r=t(44745),i=t(57778),a=t(79716),s=t(91302),o=t(66794);async function u(n,e){var t;let r=null!==(t=null==e?void 0:e.customFetch)&&void 0!==t?t:window.fetch;if(function(n){var e;if(n.startsWith("/oauth/providers"))return!1;let t=null===(e=(0,o.bW)())||void 0===e?void 0:e.accessToken;if(!t)return!0;try{let{exp:n}=(0,a.o)(t);return(0,o.pw)(n)}catch(n){return!0}}(n))return o.gN.refreshToken(d).then(t=>f(n,e));let i=await r(n,l(e));return 401===i.status?(o.gN.clearAccessToken(),o.gN.refreshToken(d).then(t=>f(n,e))):p(i,e)}async function d(){var n,e;let t=null===(n=(0,o.bW)())||void 0===n?void 0:n.refreshToken;if(!t)return;let r=await c(t);return null==r?void 0:null===(e=r.data)||void 0===e?void 0:e.refreshToken}function l(n){var e;let t=new Headers(null==n?void 0:n.headers);return t.append("authorization","Bearer ".concat(null===(e=(0,o.bW)())||void 0===e?void 0:e.accessToken)),{...n||{},headers:t}}async function c(n){let e=new r.KU({url:"/graphql",requestPolicy:"network-only",exchanges:[r.Ek]}),t=e.createRequestOperation("mutation",(0,i.h)(s.Dp,{refreshToken:n}));return e.executeMutation(t)}function f(n,e){var t;let r=null!==(t=null==e?void 0:e.customFetch)&&void 0!==t?t:window.fetch;return r(n,l(e)).then(n=>p(n,e))}function p(n,e){return(null==n?void 0:n.ok)?(null==e?void 0:e.responseFormatter)?e.responseFormatter(n):(null==e?void 0:e.responseFormat)==="blob"?n.blob():n.json():(null==e?void 0:e.errorHandler)?e.errorHandler(n):void 0}},11075:function(n,e,t){t.d(e,{eI:function(){return a},n0:function(){return s},uL:function(){return i}});var r=t(44494);let i="0.4.0";function a(n,e){return(0,r.K9)(n,{expose:{navigate:e.navigate,refresh:e.refresh,onSubmitMessage:e.onSubmitMessage,onApplyInEditor:e.onApplyInEditor,onApplyInEditorV2:e.onApplyInEditorV2,onLoaded:e.onLoaded,onCopy:e.onCopy,onKeyboardEvent:e.onKeyboardEvent,lookupSymbol:e.lookupSymbol,openInEditor:e.openInEditor,readWorkspaceGitRepositories:e.readWorkspaceGitRepositories}})}function s(n){return(0,r.cy)({expose:{init:n.init,sendMessage:n.sendMessage,showError:n.showError,cleanError:n.cleanError,addRelevantContext:n.addRelevantContext,updateTheme:n.updateTheme,updateActiveSelection:n.updateActiveSelection}})}},14439:function(n,e,t){t.d(e,{H:function(){return s},m:function(){return a}});var r=t(3546),i=t(11075);function a(n,e){let[t,a]=(0,r.useState)(null),s=!1;return(0,r.useEffect)(()=>{n.current&&!s&&(s=!0,a((0,i.eI)(n.current,e)))},[n.current]),t}function s(n){let[e,t]=(0,r.useState)(null),a=!1;return(0,r.useEffect)(()=>{let e=window.self!==window.top;e&&!a&&(a=!0,t((0,i.n0)(n)))},[]),e}t(44494)},44494:function(n,e,t){t.d(e,{K9:function(){return I},cy:function(){return b}});let r=Symbol.for("quilt.threads.retain"),i=Symbol.for("quilt.threads.release"),a=Symbol.for("quilt.threads.retained-by"),s=Symbol.for("quilt.threads.encode"),o=Symbol.for("quilt.threads.transferable");class u{memoryManaged=new Set;add(n){this.memoryManaged.add(n),n[a].add(this),n[r]()}release(){for(let n of this.memoryManaged)n[a].delete(this),n[i]();this.memoryManaged.clear()}}function d(n){return!!(n&&n[r]&&n[i])}function l(n){if(null==n||"object"!=typeof n)return!1;let e=Object.getPrototypeOf(n);return null==e||e===Object.prototype}function c(n,{expose:e,callable:t,signal:c,uuid:m=p,encoder:g=function({encode:n,decode:e}={}){return{encode:function(n,e){let r={api:e,seen:new Map,encode:n=>t(n,r,!0)};return t(n,r)},decode:function(n,e,t){let i={api:e,decode:n=>r(n,i,t,!0)};return r(n,i)}};function t(e,r,i=!1){let{seen:a,api:u,encode:d}=r;if(!i&&n)return n(e,d);if(null==e)return[e];let c=a.get(e);if(c)return c;if(a.set(e,[void 0]),"object"==typeof e){if(e[o]){let n=[e,[e]];return a.set(e,n),n}let n=[],i=e=>{let[i,a=[]]=t(e,r);return n.push(...a),i};if("function"==typeof e[s]){let t=e[s]({encode:i}),r=[t,n];return a.set(e,r),r}if(Array.isArray(e)){let t=e.map(n=>i(n)),r=[t,n];return a.set(e,r),r}if(e instanceof RegExp){let t={"_@r":[e.source,e.flags]},r=[t,n];return a.set(e,r),r}if(e instanceof URL){let t={"_@u":e.href},r=[t,n];return a.set(e,r),r}if(e instanceof Date){let t={"_@d":e.toISOString()},r=[t,n];return a.set(e,r),r}if(e instanceof Map){let t=[...e.entries()].map(([n,e])=>[i(n),i(e)]),r=[{"_@m":t},n];return a.set(e,r),r}if(e instanceof Set){let t=[...e].map(n=>i(n)),r=[{"_@s":t},n];return a.set(e,r),r}let u=null!=e&&(Symbol.asyncIterator in e||Symbol.iterator in e)&&"function"==typeof e.next;if(l(e)||u){let t={};for(let n of Object.keys(e))t[n]=i(e[n]);u&&(t.next??=i(e.next.bind(e)),t.return??=i(e.return.bind(e)),t.throw??=i(e.throw.bind(e)),t["_@i"]=!0);let r=[t,n];return a.set(e,r),r}}if("function"==typeof e){let n=u.functions?.add(e);if(null==n)return[n];let t=[{"_@f":n}];return a.set(e,t),t}let f=[e];return a.set(e,f),f}function r(n,t,i,a=!1){let{api:s,decode:o}=t;if(!a&&e)return e(n,o,i);if("object"==typeof n){if(null==n)return n;if(Array.isArray(n))return n.map(n=>r(n,t,i));if("_@r"in n)return new RegExp(...n["_@r"]);if("_@u"in n)return new URL(n["_@u"]);if("_@d"in n)return new Date(n["_@d"]);if("_@m"in n)return new Map(n["_@m"].map(([n,e])=>[r(n,t,i),r(e,t,i)]));if("_@s"in n)return new Set(n["_@s"].map(n=>r(n,t,i)));if("_@f"in n){let e=n["_@f"],t=s.functions?.get(e);if(i&&d(t))for(let n of i)n.add(t);return t}if(!l(n))return n;let e={};for(let a of Object.keys(n))"_@i"===a?e[Symbol.asyncIterator]=()=>e:e[a]=r(n[a],t,i);return e}return n}}()}={}){let $=!1,h=new Map,I=new Map,b=new Map,y=new Map;if(e)for(let n of Object.keys(e)){let t=e[n];"function"==typeof t&&h.set(n,t)}let v=new Map,S=function(n,e){let t;if(null==e){if("function"!=typeof Proxy)throw Error("You must pass an array of callable methods in environments without Proxies.");let e=new Map;t=new Proxy({},{get(t,r){if(e.has(r))return e.get(r);let i=n(r);return e.set(r,i),i}})}else for(let r of(t={},e))Object.defineProperty(t,r,{value:n(r),writable:!1,configurable:!0,enumerable:!0});return t}(function(n){return(...e)=>{try{if($)throw new f;if("string"!=typeof n&&"number"!=typeof n)throw Error(`Can’t call a symbol method on a thread: ${n.toString()}`);if("hasCapability"===n){let n=e[0],t=m(),r=x(t);return k(7,[t,n]),r}let t=m(),r=x(t),[i,a]=g.encode(e,w);return k(0,[t,n,i],a),r}catch(n){return Promise.reject(n)}}},t),w={functions:{add(n){let e=I.get(n);return null==e&&(e=m(),I.set(n,e),b.set(e,n)),e},get(n){let e=y.get(n);if(e)return e;let t=0,s=!1;return Object.defineProperties(e=(...e)=>{if(s)throw Error("You attempted to call a function that was already released.");if(!y.has(n))throw Error("You attempted to call a function that was already revoked.");let[t,r]=g.encode(e,w),i=m(),a=x(i);return k(5,[i,n,t],r),a},{[i]:{value:()=>{0==(t-=1)&&(s=!0,y.delete(n),k(3,[n]))},writable:!1},[r]:{value:()=>{t+=1},writable:!1},[a]:{value:new Set,writable:!1}}),y.set(n,e),e}}},A=()=>{if(!$){for(let n of v.keys())D(n,new f);$=!0,h.clear(),v.clear(),I.clear(),b.clear(),y.clear()}};return c?.addEventListener("abort",()=>{k(2,[]),A()},{once:!0}),n.listen(C,{signal:c}),S;function k(e,t,r){$||n.send([e,t],r)}async function C(n){let e=Array.isArray(n)&&"number"==typeof n[0]&&(null==n[1]||Array.isArray(n[1]));if(e)switch(n[0]){case 2:A();break;case 0:{let e=new u,[t,r,i]=n[1],a=h.get(r);try{if(null==a)throw Error(`No '${r}' method is exposed on this endpoint`);let n=await a(...g.decode(i,w,[e])),[s,o]=g.encode(n,w);k(1,[t,void 0,s],o)}catch(i){let{name:n,message:e,stack:r}=i;k(1,[t,{name:n,message:e,stack:r}])}finally{e.release()}break}case 1:case 6:D(...n[1]);break;case 3:{let[e]=n[1],t=b.get(e);t&&(b.delete(e),I.delete(t));break}case 5:{let[e,t,r]=n[1],i=new u;try{let n=b.get(t);if(null==n)throw Error("You attempted to call a function that was already released.");let s=await n(...g.decode(r,w,d(n)?[...n[a],i]:[i])),[o,u]=g.encode(s,w);k(6,[e,void 0,o],u)}catch(i){let{name:n,message:t,stack:r}=i;k(6,[e,{name:n,message:t,stack:r}])}finally{i.release()}break}case 7:{let[e,t]=n[1],r=h.has(t);k(1,[e,void 0,g.encode(r,w)[0]])}}}function x(n){let e=new Promise((e,t)=>{v.set(n,(n,r,i)=>{if(null==r)e(g.decode(i,w));else{let n=Error();Object.assign(n,r),t(n)}})});return Object.defineProperty(e,Symbol.asyncIterator,{async *value(){let n=await e;Object.defineProperty(n,Symbol.asyncIterator,{value:()=>n}),yield*n}}),e}function D(...n){let e=n[0],t=v.get(e);t&&(t(...n),v.delete(e))}}class f extends Error{constructor(){super("You attempted to call a function on a terminated thread.")}}function p(){return`${m()}-${m()}-${m()}-${m()}`}function m(){return Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)}var g=t(18400);let $="quilt.threads.ping",h="quilt.threads.pong";function I(n,{targetOrigin:e="*",...t}={}){let r=!1,i=function(t,r){n.contentWindow?.postMessage(t,e,r)},a=new Promise(e=>{let a=t.signal?new g.z(t.signal):new AbortController;window.addEventListener("message",t=>{t.source===n.contentWindow&&t.data===h&&(r=!0,a.abort(),e())},{signal:a.signal}),a.signal.addEventListener("abort",()=>{e()},{once:!0}),i($)});return c({send:(n,e)=>r?i(n,e):a.then(()=>{if(r)return i(n,e)}),listen(e,{signal:t}){self.addEventListener("message",t=>{t.source===n.contentWindow&&t.data!==h&&e(t.data)},{signal:t})}},t)}function b({targetOrigin:n="*",...e}={}){if("undefined"==typeof self||null==self.parent)throw Error("You are not inside an iframe, because there is no parent window.");let{parent:t}=self,r=e.signal?new g.z(e.signal):new AbortController,i=()=>{let r=()=>t.postMessage(h,n);self.addEventListener("message",({data:n})=>{n===$&&r()},{signal:e.signal}),r()};return"complete"===document.readyState?i():document.addEventListener("readystatechange",()=>{"complete"===document.readyState&&(i(),r.abort())},{signal:r.signal}),c({send:(e,r)=>t.postMessage(e,n,r),listen(n,{signal:e}){self.addEventListener("message",e=>{e.data!==$&&n(e.data)},{signal:e})}},e)}}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/9515-88bf7d677b64e062.js b/ee/tabby-webserver/ui/_next/static/chunks/9515-88bf7d677b64e062.js new file mode 100644 index 000000000000..b0071872a405 --- /dev/null +++ b/ee/tabby-webserver/ui/_next/static/chunks/9515-88bf7d677b64e062.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9515],{14375:function(e,n,t){"use strict";t.d(n,{j:function(){return l}});let r=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,u=function(){for(var e=arguments.length,n=Array(e),t=0;tt=>{var l;if((null==n?void 0:n.variants)==null)return u(e,null==t?void 0:t.class,null==t?void 0:t.className);let{variants:i,defaultVariants:o}=n,c=Object.keys(i).map(e=>{let n=null==t?void 0:t[e],u=null==o?void 0:o[e];if(null===n)return null;let l=r(n)||r(u);return i[e][l]}),a=t&&Object.entries(t).reduce((e,n)=>{let[t,r]=n;return void 0===r||(e[t]=r),e},{}),s=null==n?void 0:null===(l=n.compoundVariants)||void 0===l?void 0:l.reduce((e,n)=>{let{class:t,className:r,...u}=n;return Object.entries(u).every(e=>{let[n,t]=e;return Array.isArray(t)?t.includes({...o,...a}[n]):({...o,...a})[n]===t})?[...e,t,r]:e},[]);return u(e,c,s,null==t?void 0:t.class,null==t?void 0:t.className)}},11978:function(e,n,t){e.exports=t(77280)},65122:function(e,n,t){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var n=1;ne.forEach(e=>{"function"==typeof e?e(n):null!=e&&(e.current=n)})}function l(...e){return(0,r.useCallback)(u(...e),e)}},47091:function(e,n,t){"use strict";t.d(n,{b:function(){return l},k:function(){return u}});var r=t(3546);function u(e,n){let t=(0,r.createContext)(n);function u(e){let{children:n,...u}=e,l=(0,r.useMemo)(()=>u,Object.values(u));return(0,r.createElement)(t.Provider,{value:l},n)}return u.displayName=e+"Provider",[u,function(u){let l=(0,r.useContext)(t);if(l)return l;if(void 0!==n)return n;throw Error(`\`${u}\` must be used within \`${e}\``)}]}function l(e,n=[]){let t=[],u=()=>{let n=t.map(e=>(0,r.createContext)(e));return function(t){let u=(null==t?void 0:t[e])||n;return(0,r.useMemo)(()=>({[`__scope${e}`]:{...t,[e]:u}}),[t,u])}};return u.scopeName=e,[function(n,u){let l=(0,r.createContext)(u),i=t.length;function o(n){let{scope:t,children:u,...o}=n,c=(null==t?void 0:t[e][i])||l,a=(0,r.useMemo)(()=>o,Object.values(o));return(0,r.createElement)(c.Provider,{value:a},u)}return t=[...t,u],o.displayName=n+"Provider",[o,function(t,o){let c=(null==o?void 0:o[e][i])||l,a=(0,r.useContext)(c);if(a)return a;if(void 0!==u)return u;throw Error(`\`${t}\` must be used within \`${n}\``)}]},function(...e){let n=e[0];if(1===e.length)return n;let t=()=>{let t=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let u=t.reduce((n,{useScope:t,scopeName:r})=>{let u=t(e),l=u[`__scope${r}`];return{...n,...l}},{});return(0,r.useMemo)(()=>({[`__scope${n.scopeName}`]:u}),[u])}};return t.scopeName=n.scopeName,t}(u,...n)]}},57541:function(e,n,t){"use strict";t.d(n,{gm:function(){return l}});var r=t(3546);let u=(0,r.createContext)(void 0);function l(e){let n=(0,r.useContext)(u);return e||n||"ltr"}},96497:function(e,n,t){"use strict";t.d(n,{z:function(){return o}});var r=t(3546),u=t(30171),l=t(79869),i=t(65292);let o=e=>{let{present:n,children:t}=e,o=function(e){var n;let[t,l]=(0,r.useState)(),o=(0,r.useRef)({}),a=(0,r.useRef)(e),s=(0,r.useRef)("none"),d=e?"mounted":"unmounted",[f,m]=(n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},(0,r.useReducer)((e,t)=>{let r=n[e][t];return null!=r?r:e},d));return(0,r.useEffect)(()=>{let e=c(o.current);s.current="mounted"===f?e:"none"},[f]),(0,i.b)(()=>{let n=o.current,t=a.current,r=t!==e;if(r){let r=s.current,u=c(n);e?m("MOUNT"):"none"===u||(null==n?void 0:n.display)==="none"?m("UNMOUNT"):t&&r!==u?m("ANIMATION_OUT"):m("UNMOUNT"),a.current=e}},[e,m]),(0,i.b)(()=>{if(t){let e=e=>{let n=c(o.current),r=n.includes(e.animationName);e.target===t&&r&&(0,u.flushSync)(()=>m("ANIMATION_END"))},n=e=>{e.target===t&&(s.current=c(o.current))};return t.addEventListener("animationstart",n),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",n),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}m("ANIMATION_END")},[t,m]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:(0,r.useCallback)(e=>{e&&(o.current=getComputedStyle(e)),l(e)},[])}}(n),a="function"==typeof t?t({present:o.isPresent}):r.Children.only(t),s=(0,l.e)(o.ref,a.ref),d="function"==typeof t;return d||o.isPresent?(0,r.cloneElement)(a,{ref:s}):null};function c(e){return(null==e?void 0:e.animationName)||"none"}o.displayName="Presence"},72205:function(e,n,t){"use strict";t.d(n,{WV:function(){return o},jH:function(){return c}});var r=t(65122),u=t(3546),l=t(30171),i=t(74047);let o=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,n)=>{let t=(0,u.forwardRef)((e,t)=>{let{asChild:l,...o}=e,c=l?i.g7:n;return(0,u.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,u.createElement)(c,(0,r.Z)({},o,{ref:t}))});return t.displayName=`Primitive.${n}`,{...e,[n]:t}},{});function c(e,n){e&&(0,l.flushSync)(()=>e.dispatchEvent(n))}},74047:function(e,n,t){"use strict";t.d(n,{A4:function(){return c},g7:function(){return i}});var r=t(65122),u=t(3546),l=t(79869);let i=(0,u.forwardRef)((e,n)=>{let{children:t,...l}=e,i=u.Children.toArray(t),c=i.find(a);if(c){let e=c.props.children,t=i.map(n=>n!==c?n:u.Children.count(e)>1?u.Children.only(null):(0,u.isValidElement)(e)?e.props.children:null);return(0,u.createElement)(o,(0,r.Z)({},l,{ref:n}),(0,u.isValidElement)(e)?(0,u.cloneElement)(e,void 0,t):null)}return(0,u.createElement)(o,(0,r.Z)({},l,{ref:n}),t)});i.displayName="Slot";let o=(0,u.forwardRef)((e,n)=>{let{children:t,...r}=e;return(0,u.isValidElement)(t)?(0,u.cloneElement)(t,{...function(e,n){let t={...n};for(let r in n){let u=e[r],l=n[r],i=/^on[A-Z]/.test(r);i?u&&l?t[r]=(...e)=>{l(...e),u(...e)}:u&&(t[r]=u):"style"===r?t[r]={...u,...l}:"className"===r&&(t[r]=[u,l].filter(Boolean).join(" "))}return{...e,...t}}(r,t.props),ref:n?(0,l.F)(n,t.ref):t.ref}):u.Children.count(t)>1?u.Children.only(null):null});o.displayName="SlotClone";let c=({children:e})=>(0,u.createElement)(u.Fragment,null,e);function a(e){return(0,u.isValidElement)(e)&&e.type===c}},17957:function(e,n,t){"use strict";t.d(n,{W:function(){return u}});var r=t(3546);function u(e){let n=(0,r.useRef)(e);return(0,r.useEffect)(()=>{n.current=e}),(0,r.useMemo)(()=>(...e)=>{var t;return null===(t=n.current)||void 0===t?void 0:t.call(n,...e)},[])}},65292:function(e,n,t){"use strict";t.d(n,{b:function(){return u}});var r=t(3546);let u=(null==globalThis?void 0:globalThis.document)?r.useLayoutEffect:()=>{}},36327:function(e,n,t){"use strict";t.d(n,{Z:function(){return l}});var r=t(21454),u=t(54859);let l=(0,u.xD)(r.ZP,e=>(n,t,r)=>(r.revalidateOnFocus=!1,r.revalidateIfStale=!1,r.revalidateOnReconnect=!1,e(n,t,r)))}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/9634-a6aa7c7bbdac8c58.js b/ee/tabby-webserver/ui/_next/static/chunks/9634-00c09b9555eca79a.js similarity index 66% rename from ee/tabby-webserver/ui/_next/static/chunks/9634-a6aa7c7bbdac8c58.js rename to ee/tabby-webserver/ui/_next/static/chunks/9634-00c09b9555eca79a.js index 7efa2542447b..f72ea54d35a5 100644 --- a/ee/tabby-webserver/ui/_next/static/chunks/9634-a6aa7c7bbdac8c58.js +++ b/ee/tabby-webserver/ui/_next/static/chunks/9634-00c09b9555eca79a.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9634,3240],{68172:function(n,e,t){t.d(e,{q:function(){return a}});var r=t(36164),s=t(38785);function a(n){let{children:e,fallback:t=null}=n;return(0,s.U)()?(0,r.jsx)(r.Fragment,{children:e}):(0,r.jsx)(r.Fragment,{children:t})}},48537:function(n,e,t){t.d(e,{q:function(){return o}});var r=t(36164);t(3546);var s=t(28312),a=t(31458),i=t(81565);function o(n){let{className:e,value:t,onCopyContent:o,text:d,...l}=n,{isCopied:u,copyToClipboard:c}=(0,s.m)({timeout:2e3,onCopyContent:o});return t?(0,r.jsxs)(a.z,{variant:"ghost",size:d?"default":"icon",className:e,onClick:()=>{u||c(t)},...l,children:[u?(0,r.jsx)(i.IconCheck,{className:"text-green-600"}):(0,r.jsx)(i.IconCopy,{}),d&&(0,r.jsx)("span",{children:d}),!d&&(0,r.jsx)("span",{className:"sr-only",children:"Copy"})]}):null}},30601:function(n,e,t){t.d(e,{Hb:function(){return m},wt:function(){return u},xc:function(){return p},yo:function(){return f}});var r=t(36164),s=t(3546),a=t(74630),i=t(36327),o=t(80605),d=t(57288),l=t(81565);let u="3.5rem",c=s.createContext({}),f=n=>{let{children:e}=n,t=(0,o.UA)(),[i,d]=s.useState(!1);return s.useEffect(()=>{let n=window.self!==window.top;n||(0,a.Z)(t)||d(t)},[t]),(0,r.jsx)(c.Provider,{value:{isShowDemoBanner:i,setIsShowDemoBanner:d},children:e})};function m(){let{isShowDemoBanner:n,setIsShowDemoBanner:e}=s.useContext(c);return[n,e]}function p(){let[n,e]=m(),{data:t}=(0,i.Z)("https://api.github.com/repos/TabbyML/tabby",n=>fetch(n).then(n=>n.json()));return(0,r.jsxs)("div",{className:(0,d.cn)("flex items-center justify-between bg-primary px-4 text-primary-foreground transition-[opacity,height] md:px-5",{"opacity-100 pointer-events-auto":n,"opacity-0 pointer-events-none":!n}),style:n?{height:u}:{height:0},children:[(0,r.jsxs)("a",{href:"https://links.tabbyml.com/schedule-a-demo",target:"_blank",className:"flex items-center gap-x-2 text-xs font-semibold underline md:text-sm",children:[(0,r.jsx)("span",{children:"\uD83D\uDCC6"}),(0,r.jsx)("span",{children:"Book a 30-minute product demo."})]}),n&&(0,r.jsx)("img",{referrerPolicy:"no-referrer-when-downgrade",src:"https://static.scarf.sh/a.png?x-pxid=b1d0308a-b3c5-425a-972a-378d883a2bca"}),(0,r.jsxs)("div",{className:"flex items-center gap-x-4 md:gap-x-8",children:[(0,r.jsxs)("a",{href:"https://github.com/TabbyML/tabby",target:"_blank",className:"flex items-center transition-all hover:opacity-70",children:[(0,r.jsx)(l.IconGithub,{}),(0,r.jsxs)("div",{className:"ml-2 hidden md:block",children:[(0,r.jsx)("p",{className:"text-xs font-semibold",children:"TabbyML/tabby"}),(0,r.jsxs)("div",{className:(0,d.cn)("flex items-center text-xs transition-all",{"h-4 opacity-70":t,"h-0 opacity-0":!t}),children:[(0,r.jsx)(l.IconStar,{className:"mr-1 h-2.5 w-2.5"}),(0,r.jsx)("span",{children:null==t?void 0:t.stargazers_count}),(0,r.jsx)(l.IconGitFork,{className:"ml-2 mr-1 h-2.5 w-2.5"}),(0,r.jsx)("span",{children:null==t?void 0:t.forks_count})]})]})]}),(0,r.jsx)(l.IconClose,{className:"cursor-pointer transition-all hover:opacity-70",onClick:()=>e(!1)})]})]})}},6230:function(n,e,t){var r=t(36164),s=t(3546),a=t(24449),i=t(90379);e.Z=n=>{let{loading:e,fallback:t,delay:o,children:d}=n,[l,u]=s.useState(!e),[c]=(0,a.n)(l,null!=o?o:200);return(s.useEffect(()=>{e||l||u(!0)},[e]),c)?d:t||(0,r.jsx)(i.cg,{})}},61249:function(n,e,t){t.d(e,{L:function(){return I}});var r=t(36164),s=t(3546),a=t(6044),i=t(99092),o=t.n(i),d=t(21454),l=t(40055),u=t(43240),c=t(11634),f=t(70410),m=t(57288),p=t(6230),h=t(90379),g=t(31458),x=t(62202),v=t(81565),$=t(11208),b=t(50538);let y=(0,u.BX)("\n mutation markNotificationsRead($notificationId: ID) {\n markNotificationsRead(notificationId: $notificationId)\n }\n");function I(n){let{className:e,...t}=n,[{data:i,fetching:o},u]=(0,l.aM)({query:f.g0});(0,d.ZP)("refresh_notifications",()=>u(),{revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateOnMount:!1,refreshInterval:6e5});let I=(0,s.useMemo)(()=>null==i?void 0:i.notifications.slice().reverse(),[null==i?void 0:i.notifications]),j=(0,s.useMemo)(()=>{var n;return null!==(n=null==I?void 0:I.filter(n=>!n.read))&&void 0!==n?n:[]},[I]),w=j.length>0,k=(0,c.Db)(y);return(0,r.jsx)("div",{className:(0,m.cn)(e),...t,children:(0,r.jsxs)(x.h_,{modal:!1,children:[(0,r.jsx)(x.$F,{asChild:!0,children:(0,r.jsxs)(g.z,{variant:"ghost",size:"icon",className:"relative",children:[(0,r.jsx)(v.IconBell,{}),w&&(0,r.jsx)("div",{className:"absolute right-1 top-1 h-1.5 w-1.5 rounded-full bg-red-400"})]})}),(0,r.jsxs)(x.AW,{side:"bottom",align:"end",className:"flex w-96 flex-col overflow-hidden p-0",style:{maxHeight:"60vh"},children:[(0,r.jsxs)("div",{className:"flex items-center justify-between px-4 py-2",children:[(0,r.jsx)("div",{className:"text-sm font-medium",children:"Nofitications"}),(0,r.jsx)(g.z,{size:"sm",className:"h-6 py-1 text-xs",onClick:()=>{k()},disabled:!w,children:"Mark all as read"})]}),(0,r.jsx)($.Z,{}),(0,r.jsxs)(b.mQ,{className:"relative my-2 flex-1 overflow-y-auto px-4",defaultValue:"unread",children:[(0,r.jsxs)(b.dr,{className:"sticky top-0 z-10 grid w-full grid-cols-2",children:[(0,r.jsx)(b.SP,{value:"unread",children:"Unread"}),(0,r.jsx)(b.SP,{value:"all",children:"All"})]}),(0,r.jsx)(a.nU,{value:"unread",className:"mt-4",children:(0,r.jsx)(p.Z,{loading:o,fallback:(0,r.jsx)(h.cg,{}),children:(0,r.jsx)(N,{type:"unread",notifications:j})})}),(0,r.jsx)(a.nU,{value:"all",className:"mt-4",children:(0,r.jsx)(p.Z,{loading:o,fallback:(0,r.jsx)(h.cg,{}),children:(0,r.jsx)(N,{type:"all",notifications:I})})})]})]})]})})}function N(n){var e;let{notifications:t,type:s}=n,a=null!==(e=null==t?void 0:t.length)&&void 0!==e?e:0;return a?(0,r.jsx)("div",{className:"space-y-2",children:null==t?void 0:t.map((n,e)=>(0,r.jsxs)("div",{children:[(0,r.jsx)(j,{data:n}),(0,r.jsx)($.Z,{className:(0,m.cn)("my-3",{hidden:e===a-1})})]},n.id))}):(0,r.jsx)("div",{className:"my-4 text-center text-sm text-muted-foreground",children:"unread"===s?"No unread notifications":"No notifications"})}function j(n){let{data:e}=n,{title:t,content:s}=function(n){let e=n.split("\n")[0],t=n.split("\n").slice(1).join("\n");return{title:e,content:t}}(e.content),a=(0,c.Db)(y);return(0,r.jsxs)("div",{className:"space-y-1.5",children:[(0,r.jsxs)("div",{className:"space-y-1.5",children:[(0,r.jsxs)("div",{className:"flex items-center gap-1.5 overflow-hidden text-sm font-medium",children:[!e.read&&(0,r.jsx)("span",{className:"h-2 w-2 shrink-0 rounded-full bg-red-400"}),(0,r.jsx)("span",{className:"flex-1 truncate",children:t})]}),(0,r.jsx)("div",{className:"whitespace-pre-wrap break-words text-sm text-muted-foreground",children:s})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between text-xs text-muted-foreground",children:[(0,r.jsx)("span",{className:"text-muted-foreground",children:function(n){let e=o()(n);if(e.isBefore(o()().subtract(1,"year"))){let n=e.format("MMM D, YYYY, h:mm A");return n}if(e.isBefore(o()().subtract(1,"month"))){let n=e.format("MMM D, hh:mm A");return"".concat(n)}return"".concat(e.fromNow())}(e.createdAt)}),(0,r.jsx)("div",{className:"flex items-center gap-1.5",children:!e.read&&(0,r.jsxs)(g.z,{variant:"link",className:"flex h-auto items-center gap-0.5 p-1 text-xs text-muted-foreground",onClick:()=>{a({notificationId:e.id})},children:[(0,r.jsx)(v.IconCheck,{className:"h-3 w-3"}),"Mark as read"]})})]})]})}},90379:function(n,e,t){t.d(e,{PF:function(){return d},cg:function(){return i},tB:function(){return o}});var r=t(36164),s=t(57288),a=t(3448);let i=n=>{let{className:e,...t}=n;return(0,r.jsxs)("div",{className:(0,s.cn)("space-y-3",e),...t,children:[(0,r.jsx)(a.O,{className:"h-4 w-full"}),(0,r.jsx)(a.O,{className:"h-4 w-full"}),(0,r.jsx)(a.O,{className:"h-4 w-full"}),(0,r.jsx)(a.O,{className:"h-4 w-full"})]})},o=n=>{let{className:e,...t}=n;return(0,r.jsx)(a.O,{className:(0,s.cn)("h-4 w-full",e),...t})},d=n=>{let{className:e,...t}=n;return(0,r.jsxs)("div",{className:(0,s.cn)("flex flex-col gap-3",e),...t,children:[(0,r.jsx)(a.O,{className:"h-4 w-[20%]"}),(0,r.jsx)(a.O,{className:"h-4 w-full"}),(0,r.jsx)(a.O,{className:"h-4 w-[20%]"}),(0,r.jsx)(a.O,{className:"h-4 w-full"})]})}},63743:function(n,e,t){t.d(e,{T:function(){return d}});var r=t(36164),s=t(3546),a=t(9010),i=t(31458),o=t(81565);function d(n){let{className:e}=n,{setTheme:t,theme:d}=(0,a.X)(),[l,u]=s.useTransition();return(0,r.jsxs)(i.z,{variant:"ghost",size:"icon",onClick:()=>{u(()=>{t("light"===d?"dark":"light")})},className:e,children:["dark"===d?(0,r.jsx)(o.IconMoon,{className:"transition-all"}):(0,r.jsx)(o.IconSun,{className:"transition-all"}),(0,r.jsx)("span",{className:"sr-only",children:"Toggle theme"})]})}},79972:function(n,e,t){t.d(e,{Ol:function(){return o},Zb:function(){return i},aY:function(){return u},eW:function(){return c},ll:function(){return d}});var r=t(36164),s=t(3546),a=t(57288);let i=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)("div",{ref:e,className:(0,a.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",t),...s})});i.displayName="Card";let o=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)("div",{ref:e,className:(0,a.cn)("flex flex-col space-y-1.5 p-6",t),...s})});o.displayName="CardHeader";let d=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)("h3",{ref:e,className:(0,a.cn)("text-2xl font-semibold leading-none tracking-tight",t),...s})});d.displayName="CardTitle";let l=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)("p",{ref:e,className:(0,a.cn)("text-sm text-muted-foreground",t),...s})});l.displayName="CardDescription";let u=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)("div",{ref:e,className:(0,a.cn)("p-6 pt-0",t),...s})});u.displayName="CardContent";let c=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)("div",{ref:e,className:(0,a.cn)("flex items-center p-6 pt-0",t),...s})});c.displayName="CardFooter"},62202:function(n,e,t){t.d(e,{$F:function(){return d},AW:function(){return c},Ju:function(){return p},VD:function(){return h},Xi:function(){return f},_x:function(){return l},h_:function(){return o},qB:function(){return m}});var r=t(36164),s=t(3546),a=t(19148),i=t(57288);let o=a.fC,d=a.xz;a.ZA,a.Uv,a.Tr;let l=a.Ee;a.wU;let u=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)(a.tu,{ref:e,className:(0,i.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md animate-in data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-1 data-[side=right]:slide-in-from-left-1 data-[side=top]:slide-in-from-bottom-1",t),...s})});u.displayName=a.tu.displayName;let c=s.forwardRef((n,e)=>{let{className:t,sideOffset:s=4,...o}=n;return(0,r.jsx)(a.Uv,{children:(0,r.jsx)(a.VY,{ref:e,sideOffset:s,className:(0,i.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow animate-in data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...o})})});c.displayName=a.VY.displayName;let f=s.forwardRef((n,e)=>{let{className:t,inset:s,...o}=n;return(0,r.jsx)(a.ck,{ref:e,className:(0,i.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",s&&"pl-8",t),...o})});f.displayName=a.ck.displayName;let m=s.forwardRef((n,e)=>{let{className:t,inset:s,...o}=n;return(0,r.jsx)(a.Rk,{ref:e,className:(0,i.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",s&&"pl-8",t),...o})});m.displayName=a.Rk.displayName;let p=s.forwardRef((n,e)=>{let{className:t,inset:s,...o}=n;return(0,r.jsx)(a.__,{ref:e,className:(0,i.cn)("px-2 py-1.5 text-sm font-semibold",s&&"pl-8",t),...o})});p.displayName=a.__.displayName;let h=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)(a.Z0,{ref:e,className:(0,i.cn)("-mx-1 my-1 h-px bg-muted",t),...s})});h.displayName=a.Z0.displayName},82394:function(n,e,t){t.d(e,{I:function(){return i}});var r=t(36164),s=t(3546),a=t(57288);let i=s.forwardRef((n,e)=>{let{className:t,type:s,...i}=n;return(0,r.jsx)("input",{type:s,className:(0,a.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),ref:e,...i})});i.displayName="Input"},5266:function(n,e,t){t.d(e,{_:function(){return l}});var r=t(36164),s=t(3546),a=t(90893),i=t(14375),o=t(57288);let d=(0,i.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),l=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)(a.f,{ref:e,className:(0,o.cn)(d(),t),...s})});l.displayName=a.f.displayName},57830:function(n,e,t){t.r(e),t.d(e,{ScrollArea:function(){return o},ScrollBar:function(){return d}});var r=t(36164),s=t(3546),a=t(50778),i=t(57288);let o=s.forwardRef((n,e)=>{let{className:t,children:s,...o}=n;return(0,r.jsxs)(a.fC,{className:(0,i.cn)("relative overflow-hidden",t),...o,children:[(0,r.jsx)(a.l_,{ref:e,className:"h-full w-full rounded-[inherit] [&>div]:!block",children:s}),(0,r.jsx)(d,{}),(0,r.jsx)(a.Ns,{})]})});o.displayName=a.fC.displayName;let d=s.forwardRef((n,e)=>{let{className:t,orientation:s="vertical",...o}=n;return(0,r.jsx)(a.gb,{ref:e,orientation:s,className:(0,i.cn)("flex touch-none select-none transition-colors","vertical"===s&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===s&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",t),...o,children:(0,r.jsx)(a.q4,{className:"relative flex-1 rounded-full bg-border"})})});d.displayName=a.gb.displayName},11208:function(n,e,t){t.d(e,{Z:function(){return o}});var r=t(36164),s=t(3546),a=t(74225),i=t(57288);let o=s.forwardRef((n,e)=>{let{className:t,orientation:s="horizontal",decorative:o=!0,...d}=n;return(0,r.jsx)(a.f,{ref:e,decorative:o,orientation:s,className:(0,i.cn)("shrink-0 bg-border","horizontal"===s?"h-[1px] w-full":"h-full w-[1px]",t),...d})});o.displayName=a.f.displayName},3448:function(n,e,t){t.d(e,{O:function(){return a}});var r=t(36164),s=t(57288);function a(n){let{className:e,...t}=n;return(0,r.jsx)("div",{className:(0,s.cn)("h-4 animate-pulse rounded-md bg-border",e),...t})}},50538:function(n,e,t){t.d(e,{SP:function(){return l},dr:function(){return d},mQ:function(){return o}});var r=t(36164),s=t(3546),a=t(6044),i=t(57288);let o=a.fC,d=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)(a.aV,{ref:e,className:(0,i.cn)("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",t),...s})});d.displayName=a.aV.displayName;let l=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)(a.xz,{ref:e,className:(0,i.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",t),...s})});l.displayName=a.xz.displayName;let u=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)(a.VY,{ref:e,className:(0,i.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",t),...s})});u.displayName=a.VY.displayName},29:function(n,e,t){t.d(e,{_v:function(){return u},aJ:function(){return l},pn:function(){return o},u:function(){return d}});var r=t(36164),s=t(3546),a=t(44421),i=t(57288);let o=a.zt,d=a.fC,l=a.xz;a.h_;let u=s.forwardRef((n,e)=>{let{className:t,sideOffset:s=4,...o}=n;return(0,r.jsx)(a.VY,{ref:e,sideOffset:s,className:(0,i.cn)("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-xs font-medium text-popover-foreground shadow-md animate-in fade-in-50 data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-1 data-[side=right]:slide-in-from-left-1 data-[side=top]:slide-in-from-bottom-1",t),...o})});u.displayName=a.VY.displayName},52569:function(n,e,t){t.d(e,{SQ:function(){return y},Yt:function(){return b},nY:function(){return $}});var r=t(36164),s=t(3546),a=t(87782),i=t(21454),o=t(36327),d=t(98454),l=t(3765),u=t(57288),c=t(66612);let f=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)(c.fC,{ref:e,className:(0,u.cn)("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",t),...s})});f.displayName=c.fC.displayName;let m=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)(c.Ee,{ref:e,className:(0,u.cn)("aspect-square h-full w-full",t),...s})});m.displayName=c.Ee.displayName;let p=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)(c.NY,{ref:e,className:(0,u.cn)("flex h-full w-full items-center justify-center rounded-full bg-muted",t),...s})});p.displayName=c.NY.displayName;var h=t(3448),g=t(30410).lW;let x="not_found",v=new Set,$=n=>{v.delete(n),(0,i.JG)("/avatar/".concat(n))};function b(n){var e;let{user:t,className:i,fallback:d}=n,c=null==t?void 0:t.id,$=c?"/avatar/".concat(c):null,{data:b,isLoading:y,error:I}=(0,o.Z)($,n=>{if(!(!c||v.has(c)))return(0,l.Z)(n,{responseFormatter:async n=>{let e=await n.blob(),t=g.from(await e.arrayBuffer());return"data:image/png;base64,".concat(t.toString("base64"))},errorHandler:n=>{if(404===n.status)throw Error(x)}})}),N=s.useMemo(()=>{if(null==t?void 0:t.email)return(0,a.B)(t.email)},[null==t?void 0:t.email]);return y?(0,r.jsx)(h.O,{className:(0,u.cn)("h-16 w-16 rounded-full",i)}):((null==I?void 0:I.message)===x&&c&&v.add(c),b||N||!d)?!b&&N?(0,r.jsx)(a.Z,{className:(0,u.cn)("h-16 w-16",i),...N}):(0,r.jsxs)(f,{className:(0,u.cn)("h-16 w-16",i),children:[(0,r.jsx)(m,{src:b,alt:null==t?void 0:t.email,className:"object-cover"}),(0,r.jsx)(p,{children:null==t?void 0:null===(e=t.email)||void 0===e?void 0:e.substring(0,2)})]}):d}function y(n){let[{data:e}]=(0,d.P)();return(0,r.jsx)(b,{user:null==e?void 0:e.me,...n})}},7449:function(n,e,t){t.d(e,{Z:function(){return w}});var r=t(36164),s=t(3546),a=t(70652),i=t.n(a),o=t(11978),d=t(71480),l=t(43240),u=t(98454),c=t(70526),f=t(91302),m=t(11634),p=t(57288),h=t(31458),g=t(79972),x=t(62202),v=t(81565),$=t(82394),b=t(5266),y=t(29),I=t(48537),N=t(52569);let j=(0,l.BX)("\n mutation ResetUserAuthToken {\n resetUserAuthToken\n }\n");function w(n){let{children:e,showHome:t=!0,showSetting:a=!1,beforeRouteChange:i}=n,d=(0,o.useRouter)(),l=(0,f.QJ)(),[{data:c},m]=(0,u.P)(),p=null==c?void 0:c.me,[h,g]=s.useState(!1),$=async n=>{n.preventDefault(),g(!0),await l(),g(!1)},b=(n,e)=>{null==i||i(n),e?d.replace(n):d.push(n)};if(p)return(0,r.jsxs)(x.h_,{modal:!1,children:[(0,r.jsx)(x.$F,{children:e}),(0,r.jsxs)(x.AW,{side:"bottom",align:"end",className:"relative overflow-y-auto p-0",style:{maxHeight:"calc(100vh - 6rem)"},children:[(0,r.jsxs)("div",{className:"p-4 pt-0",children:[(0,r.jsxs)("div",{className:"sticky top-0 z-10 flex items-center gap-2 bg-popover pb-2 pt-4",children:[(0,r.jsx)(N.Yt,{user:p,className:"h-12 w-12 shrink-0 border-[2px] border-white"}),(0,r.jsxs)("div",{className:"space-y-1",children:[p.name&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(x.Ju,{className:"p-0",children:p.name}),(0,r.jsx)(x.Ju,{className:"p-0 text-sm font-normal text-muted-foreground",children:p.email})]}),!p.name&&(0,r.jsx)(x.Ju,{children:p.email})]})]}),(0,r.jsx)(k,{className:"mt-2",user:p,reexecuteQuery:m})]}),(0,r.jsx)(x.VD,{className:"mb-1 mt-0"}),(0,r.jsxs)("div",{className:"px-1.5",children:[t&&(0,r.jsxs)(x.Xi,{onClick:()=>b("/"),className:"cursor-pointer py-2 pl-3",children:[(0,r.jsx)(v.IconHome,{}),(0,r.jsx)("span",{className:"ml-2",children:"Home"})]}),a&&(0,r.jsxs)(x.Xi,{onClick:()=>b("/profile"),className:"cursor-pointer py-2 pl-3",children:[(0,r.jsx)(v.IconGear,{}),(0,r.jsx)("span",{className:"ml-2",children:"Settings"})]}),(0,r.jsxs)(x.Xi,{onClick:()=>window.open("/files"),className:"cursor-pointer py-2 pl-3",children:[(0,r.jsx)(v.IconCode,{}),(0,r.jsx)("span",{className:"ml-2",children:"Code Browser"})]}),(0,r.jsxs)(x.Xi,{onClick:()=>window.open("/api"),className:"cursor-pointer py-2 pl-3",children:[(0,r.jsx)(v.IconBackpack,{}),(0,r.jsx)("span",{className:"ml-2",children:"API Docs"})]})]}),(0,r.jsx)(x.VD,{}),(0,r.jsxs)(x.Xi,{disabled:h,onClick:$,className:"mx-1.5 mb-1.5 cursor-pointer py-2 pl-3",children:[(0,r.jsx)(v.IconLogout,{}),(0,r.jsx)("span",{className:"ml-2",children:"Sign out"}),h&&(0,r.jsx)(v.IconSpinner,{className:"ml-1"})]})]})]})}function k(n){let{className:e,user:t,reexecuteQuery:s}=n,a=(0,c.j)(),i=(0,m.Db)(j,{onCompleted:()=>s()});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:(0,p.cn)("w-[268px] rounded-xl bg-[#FBF5ED] p-4 dark:bg-[#3D382F]",e),children:[(0,r.jsxs)(g.aY,{className:"p-0",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,r.jsx)(b._,{className:"text-xs text-muted-foreground",children:"Endpoint URL"}),(0,r.jsxs)("span",{className:"group relative",children:[(0,r.jsx)($.I,{value:a,onChange:d.Z,className:"border-none bg-[#FEFCF8] group-focus-within:pr-12 group-hover:pr-12 dark:bg-[#4F483B]"}),(0,r.jsx)(I.q,{value:a,className:(0,p.cn)("absolute right-1 top-0.5 hidden group-focus-within:flex group-hover:flex")})]})]}),(0,r.jsxs)("div",{className:"mt-4 flex flex-col gap-2",children:[(0,r.jsx)(b._,{className:"text-xs text-muted-foreground",children:"Token"}),(0,r.jsxs)("span",{className:"group relative",children:[(0,r.jsx)($.I,{value:t.authToken,onChange:d.Z,className:"border-none bg-[#FEFCF8] group-focus-within:pr-20 group-hover:pr-20 dark:bg-[#4F483B]"}),(0,r.jsxs)("div",{className:"absolute right-1 top-0.5 hidden items-center gap-1 group-focus-within:flex group-hover:flex",children:[(0,r.jsx)(I.q,{value:t.authToken}),(0,r.jsx)(h.z,{title:"Rotate",size:"icon",variant:"hover-destructive",onClick:()=>i(),children:(0,r.jsx)(v.IconRotate,{})})]})]})]})]}),(0,r.jsx)(g.eW,{className:"mt-3 p-0 text-xs text-muted-foreground",children:(0,r.jsxs)("span",{children:["Use information above for IDE extensions / plugins configuration, see"," ",(0,r.jsx)("a",{className:"text-link underline",target:"_blank",href:"https://tabby.tabbyml.com/docs/extensions/configurations#server",children:"documentation website"})," ","for details"]})})]}),(0,r.jsxs)("div",{className:"mb-6 mt-3 flex gap-x-4 lg:mb-0",children:[(0,r.jsx)(A,{href:"https://marketplace.visualstudio.com/items?itemName=TabbyML.vscode-tabby",name:"Visual Studio Code",icon:(0,r.jsx)(v.IconVSCode,{className:"h-6 w-6"})}),(0,r.jsx)(A,{href:"https://plugins.jetbrains.com/plugin/22379-tabby",name:"JetBrains",icon:(0,r.jsx)(v.IconJetBrains,{className:"h-6 w-6"})})]})]})}function A(n){let{href:e,name:t,icon:s}=n;return(0,r.jsxs)(y.u,{children:[(0,r.jsx)(y.aJ,{children:(0,r.jsx)(i(),{href:e,className:"flex h-8 w-8 items-center justify-center rounded-lg text-[#030302]",target:"_blank",children:s})}),(0,r.jsx)(y._v,{children:(0,r.jsx)("p",{children:t})})]})}},75561:function(n,e,t){t.d(e,{B:function(){return a}});var r=t(18500);let s={"\n query ListUserEvents(\n $after: String\n $before: String\n $first: Int\n $last: Int\n $start: DateTime!\n $end: DateTime!\n $users: [ID!]\n ) {\n userEvents(\n after: $after\n before: $before\n first: $first\n last: $last\n start: $start\n end: $end\n users: $users\n ) {\n edges {\n node {\n id\n userId\n createdAt\n kind\n payload\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.UQ,"\n mutation uploadUserAvatarBase64($id: ID!, $avatarBase64: String!) {\n uploadUserAvatarBase64(id: $id, avatarBase64: $avatarBase64)\n }\n":r.eI,"\n mutation UpdateUserName($id: ID!, $name: String!) {\n updateUserName(id: $id, name: $name)\n }\n":r.DQ,"\n mutation PasswordChange($input: PasswordChangeInput!) {\n passwordChange(input: $input)\n }\n":r.oZ,"\n mutation updateEmailSetting($input: EmailSettingInput!) {\n updateEmailSetting(input: $input)\n }\n":r.gl,"\n mutation deleteEmailSetting {\n deleteEmailSetting\n }\n":r.wZ,"\n mutation SendTestEmail($to: String!) {\n sendTestEmail(to: $to)\n }\n":r.nI,"\n query emailSetting {\n emailSetting {\n smtpUsername\n smtpServer\n fromAddress\n encryption\n authMethod\n smtpPort\n }\n }\n":r.k6,"\n mutation UpdateIntegration($input: UpdateIntegrationInput!) {\n updateIntegration(input: $input)\n }\n":r.fc,"\n mutation DeleteIntegration($id: ID!, $kind: IntegrationKind!) {\n deleteIntegration(id: $id, kind: $kind)\n }\n":r.AU,"\n mutation UpdateIntegratedRepositoryActive($id: ID!, $active: Boolean!) {\n updateIntegratedRepositoryActive(id: $id, active: $active)\n }\n":r.o7,"\n mutation CreateIntegration($input: CreateIntegrationInput!) {\n createIntegration(input: $input)\n }\n":r.fY,"\n mutation grantSourceIdReadAccess($sourceId: String!, $userGroupId: ID!) {\n grantSourceIdReadAccess(sourceId: $sourceId, userGroupId: $userGroupId)\n }\n":r.Yr,"\n mutation revokeSourceIdReadAccess($sourceId: String!, $userGroupId: ID!) {\n revokeSourceIdReadAccess(sourceId: $sourceId, userGroupId: $userGroupId)\n }\n":r.z,"\n mutation CreateCustomDocument($input: CreateCustomDocumentInput!) {\n createCustomDocument(input: $input)\n }\n":r.Gf,"\n query CustomWebDocuments(\n $ids: [ID!]\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n customWebDocuments(\n ids: $ids\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n url\n name\n id\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.wx,"\n mutation DeleteCustomDocument($id: ID!) {\n deleteCustomDocument(id: $id)\n }\n":r.c3,"\n query PresetWebDocuments(\n $ids: [ID!]\n $after: String\n $before: String\n $first: Int\n $last: Int\n $isActive: Boolean\n ) {\n presetWebDocuments(\n ids: $ids\n after: $after\n before: $before\n first: $first\n last: $last\n isActive: $isActive\n ) {\n edges {\n node {\n id\n name\n isActive\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.z1,"\n mutation SetPresetDocumentActive($input: SetPresetDocumentActiveInput!) {\n setPresetDocumentActive(input: $input)\n }\n":r.h_,"\n mutation deleteGitRepository($id: ID!) {\n deleteGitRepository(id: $id)\n }\n":r.TS,"\n mutation createGitRepository($name: String!, $gitUrl: String!) {\n createGitRepository(name: $name, gitUrl: $gitUrl)\n }\n":r.ad,"\n mutation triggerJobRun($command: String!) {\n triggerJobRun(command: $command)\n }\n":r.uk,"\n mutation updateOauthCredential($input: UpdateOAuthCredentialInput!) {\n updateOauthCredential(input: $input)\n }\n":r.m,"\n mutation deleteOauthCredential($provider: OAuthProvider!) {\n deleteOauthCredential(provider: $provider)\n }\n":r.ZH,"\n query OAuthCallbackUrl($provider: OAuthProvider!) {\n oauthCallbackUrl(provider: $provider)\n }\n":r.L$,"\n query OAuthCredential($provider: OAuthProvider!) {\n oauthCredential(provider: $provider) {\n provider\n clientId\n createdAt\n updatedAt\n }\n }\n":r.Fd,"\n mutation updateNetworkSettingMutation($input: NetworkSettingInput!) {\n updateNetworkSetting(input: $input)\n }\n":r.rN,"\n mutation updateSecuritySetting($input: SecuritySettingInput!) {\n updateSecuritySetting(input: $input)\n }\n":r.Nl,"\n query SecuritySetting {\n securitySetting {\n allowedRegisterDomainList\n disableClientSideTelemetry\n }\n }\n":r.rU,"\n mutation UploadLicense($license: String!) {\n uploadLicense(license: $license)\n }\n":r.Yo,"\n mutation ResetLicense {\n resetLicense\n }\n":r.d0,"\n mutation CreateInvitation($email: String!) {\n createInvitation(email: $email)\n }\n":r.ib,"\n mutation DeleteInvitation($id: ID!) {\n deleteInvitation(id: $id)\n }\n":r.YM,"\n mutation updateUserRole($id: ID!, $isAdmin: Boolean!) {\n updateUserRole(id: $id, isAdmin: $isAdmin)\n }\n":r.XF,"\n mutation UpdateUserActive($id: ID!, $active: Boolean!) {\n updateUserActive(id: $id, active: $active)\n }\n":r.dv,"\n mutation generateResetPasswordUrl($userId: ID!) {\n generateResetPasswordUrl(userId: $userId)\n }\n":r.nh,"\n mutation createUserGroup($input: CreateUserGroupInput!) {\n createUserGroup(input: $input)\n }\n":r.e8,"\n mutation DeleteUserGroupMembership($userGroupId: ID!, $userId: ID!) {\n deleteUserGroupMembership(userGroupId: $userGroupId, userId: $userId)\n }\n":r.zD,"\n mutation UpsertUserGroupMembership($input: UpsertUserGroupMembershipInput!) {\n upsertUserGroupMembership(input: $input)\n }\n":r.uI,"\n mutation DeleteUserGroup($id: ID!) {\n deleteUserGroup(id: $id)\n }\n":r.hQ,"\n query GetRegistrationToken {\n registrationToken\n }\n":r.bh,"\n mutation ResetRegistrationToken {\n resetRegistrationToken\n }\n":r.wW,"\n query TestModelConnection($backend: ModelHealthBackend!) {\n testModelConnection(backend: $backend) {\n latencyMs\n }\n }\n":r.rE,"\n query GetDiskUsageStats {\n diskUsageStats {\n events {\n filepath\n sizeKb\n }\n indexedRepositories {\n filepath\n sizeKb\n }\n database {\n filepath\n sizeKb\n }\n models {\n filepath\n sizeKb\n }\n }\n }\n":r.xX,"\n query ListThreads(\n $ids: [ID!]\n $isEphemeral: Boolean\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n threads(\n ids: $ids\n isEphemeral: $isEphemeral\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n userId\n createdAt\n updatedAt\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.qk,"\n mutation passwordReset($input: PasswordResetInput!) {\n passwordReset(input: $input)\n }\n":r.vK,"\n mutation requestPasswordResetEmail($input: RequestPasswordResetEmailInput!) {\n requestPasswordResetEmail(input: $input)\n }\n":r.i8,"\n mutation requestInvitationEmail($input: RequestInvitationInput!) {\n requestInvitationEmail(input: $input) {\n email\n code\n }\n }\n":r.S_,"\n mutation tokenAuth($email: String!, $password: String!) {\n tokenAuth(email: $email, password: $password) {\n accessToken\n refreshToken\n }\n }\n":r.UO,"\n mutation register(\n $name: String!\n $email: String!\n $password1: String!\n $password2: String!\n $invitationCode: String\n ) {\n register(\n name: $name\n email: $email\n password1: $password1\n password2: $password2\n invitationCode: $invitationCode\n ) {\n accessToken\n refreshToken\n }\n }\n":r.YR,"\n query RepositoryGrep(\n $id: ID!\n $kind: RepositoryKind!\n $rev: String\n $query: String!\n ) {\n repositoryGrep(kind: $kind, id: $id, rev: $rev, query: $query) {\n files {\n path\n lines {\n line {\n text\n base64\n }\n byteOffset\n lineNumber\n subMatches {\n bytesStart\n bytesEnd\n }\n }\n }\n elapsedMs\n }\n }\n":r.lq,"\n mutation DeleteThread($id: ID!) {\n deleteThread(id: $id)\n }\n":r.xW,"\n mutation UpdateThreadMessage($input: UpdateMessageInput!) {\n updateThreadMessage(input: $input)\n }\n":r.Tj,"\n query RepositorySourceList {\n repositoryList {\n id\n name\n kind\n gitUrl\n sourceId\n sourceName\n sourceKind\n }\n }\n":r.mO,"\n mutation markNotificationsRead($notificationId: ID) {\n markNotificationsRead(notificationId: $notificationId)\n }\n":r.yR,"\n mutation ResetUserAuthToken {\n resetUserAuthToken\n }\n":r.qq,"\n query GetLicenseInfo {\n license {\n type\n status\n seats\n seatsUsed\n issuedAt\n expiresAt\n }\n }\n":r.eZ,"\n query MeQuery {\n me {\n id\n authToken\n email\n isAdmin\n isOwner\n isPasswordSet\n name\n }\n }\n":r.fk,"\n query NetworkSetting {\n networkSetting {\n externalUrl\n }\n }\n":r.m2,"\n query GetServerInfo {\n serverInfo {\n isAdminInitialized\n isEmailConfigured\n isChatEnabled\n allowSelfSignup\n isDemoMode\n }\n }\n":r.a,"\n subscription CreateThreadAndRun($input: CreateThreadAndRunInput!) {\n createThreadAndRun(input: $input) {\n __typename\n ... on ThreadCreated {\n id\n }\n ... on ThreadUserMessageCreated {\n id\n }\n ... on ThreadAssistantMessageCreated {\n id\n }\n ... on ThreadRelevantQuestions {\n questions\n }\n ... on ThreadAssistantMessageAttachmentsCode {\n hits {\n code {\n gitUrl\n filepath\n language\n content\n startLine\n }\n scores {\n rrf\n bm25\n embedding\n }\n }\n }\n ... on ThreadAssistantMessageAttachmentsDoc {\n hits {\n doc {\n __typename\n ... on MessageAttachmentWebDoc {\n title\n link\n content\n }\n ... on MessageAttachmentIssueDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n closed\n }\n ... on MessageAttachmentPullDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n merged\n }\n }\n score\n }\n }\n ... on ThreadAssistantMessageContentDelta {\n delta\n }\n ... on ThreadAssistantMessageCompleted {\n id\n }\n }\n }\n":r.VL,"\n subscription CreateThreadRun($input: CreateThreadRunInput!) {\n createThreadRun(input: $input) {\n __typename\n ... on ThreadCreated {\n id\n }\n ... on ThreadUserMessageCreated {\n id\n }\n ... on ThreadAssistantMessageCreated {\n id\n }\n ... on ThreadRelevantQuestions {\n questions\n }\n ... on ThreadAssistantMessageAttachmentsCode {\n hits {\n code {\n gitUrl\n filepath\n language\n content\n startLine\n }\n scores {\n rrf\n bm25\n embedding\n }\n }\n }\n ... on ThreadAssistantMessageAttachmentsDoc {\n hits {\n doc {\n __typename\n ... on MessageAttachmentWebDoc {\n title\n link\n content\n }\n ... on MessageAttachmentIssueDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n closed\n }\n ... on MessageAttachmentPullDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n merged\n }\n }\n score\n }\n }\n ... on ThreadAssistantMessageContentDelta {\n delta\n }\n ... on ThreadAssistantMessageCompleted {\n id\n }\n }\n }\n":r.uM,"\n mutation DeleteThreadMessagePair(\n $threadId: ID!\n $userMessageId: ID!\n $assistantMessageId: ID!\n ) {\n deleteThreadMessagePair(\n threadId: $threadId\n userMessageId: $userMessageId\n assistantMessageId: $assistantMessageId\n )\n }\n":r.ou,"\n mutation refreshToken($refreshToken: String!) {\n refreshToken(refreshToken: $refreshToken) {\n accessToken\n refreshToken\n }\n }\n":r.FR,"\n mutation LogoutAllSessions {\n logoutAllSessions\n }\n":r.Il,"\n query ListInvitations(\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n invitations(after: $after, before: $before, first: $first, last: $last) {\n edges {\n node {\n id\n email\n code\n createdAt\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.Xx,"\n query gitRepositories(\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n gitRepositories(\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n name\n gitUrl\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.Mi,"\n query ListJobRuns(\n $ids: [ID!]\n $jobs: [String!]\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n jobRuns(\n ids: $ids\n jobs: $jobs\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n job\n createdAt\n startedAt\n finishedAt\n exitCode\n stdout\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.$S,"\n query GetJobRunStats($jobs: [String!]) {\n jobRunStats(jobs: $jobs) {\n success\n failed\n pending\n }\n }\n":r.np,"\n query ListJobs {\n jobs\n }\n":r.Ax,"\n query ListUsers($after: String, $before: String, $first: Int, $last: Int) {\n users(after: $after, before: $before, first: $first, last: $last) {\n edges {\n node {\n id\n email\n isAdmin\n isOwner\n createdAt\n active\n name\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.by,"\n query DailyStatsInPastYear($users: [ID!]) {\n dailyStatsInPastYear(users: $users) {\n start\n end\n completions\n selects\n views\n }\n }\n":r.Wd,"\n query DailyStats(\n $start: DateTime!\n $end: DateTime!\n $users: [ID!]\n $languages: [Language!]\n ) {\n dailyStats(start: $start, end: $end, users: $users, languages: $languages) {\n start\n end\n completions\n selects\n views\n language\n }\n }\n":r.Sm,"\n query ListIntegrations(\n $ids: [ID!]\n $kind: IntegrationKind\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n integrations(\n ids: $ids\n kind: $kind\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n displayName\n status\n apiBase\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.KZ,"\n query ListIntegratedRepositories(\n $ids: [ID!]\n $kind: IntegrationKind\n $active: Boolean\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n integratedRepositories(\n ids: $ids\n kind: $kind\n active: $active\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n displayName\n gitUrl\n active\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n startedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.qt,"\n query RepositoryList {\n repositoryList {\n id\n name\n kind\n gitUrl\n refs {\n name\n commit\n }\n }\n }\n":r.HC,"\n query RepositorySearch(\n $kind: RepositoryKind!\n $id: ID!\n $rev: String\n $pattern: String!\n ) {\n repositorySearch(kind: $kind, id: $id, rev: $rev, pattern: $pattern) {\n type\n path\n indices\n }\n }\n":r.BH,"\n query ContextInfo {\n contextInfo {\n sources {\n id\n sourceKind\n sourceId\n sourceName\n }\n }\n }\n":r.w4,"\n query UserGroups {\n userGroups {\n id\n name\n createdAt\n updatedAt\n members {\n user {\n id\n email\n name\n createdAt\n }\n isGroupAdmin\n createdAt\n updatedAt\n }\n }\n }\n":r.hx,"\n query sourceIdAccessPolicies($sourceId: String!) {\n sourceIdAccessPolicies(sourceId: $sourceId) {\n sourceId\n read {\n id\n name\n }\n }\n }\n":r.NL,"\n query ListThreadMessages(\n $threadId: ID!\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n threadMessages(\n threadId: $threadId\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n threadId\n role\n content\n attachment {\n code {\n gitUrl\n filepath\n language\n content\n startLine\n }\n clientCode {\n filepath\n content\n startLine\n }\n doc {\n __typename\n ... on MessageAttachmentWebDoc {\n title\n link\n content\n }\n ... on MessageAttachmentIssueDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n closed\n }\n ... on MessageAttachmentPullDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n merged\n }\n }\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.f7,"\n mutation SetThreadPersisted($threadId: ID!) {\n setThreadPersisted(threadId: $threadId)\n }\n":r.qu,"\n query Notifications {\n notifications {\n id\n content\n read\n createdAt\n }\n }\n":r.Qw};function a(n){var e;return null!==(e=s[n])&&void 0!==e?e:{}}},43240:function(n,e,t){t.d(e,{BX:function(){return r.B}});var r=t(75561)},28312:function(n,e,t){t.d(e,{m:function(){return o}});var r=t(3546),s=t(61200),a=t.n(s),i=t(2578);function o(n){let{timeout:e=2e3,onError:t,onCopyContent:s}=n,[o,d]=r.useState(!1),l=()=>{d(!0),setTimeout(()=>{d(!1)},e)},u=n=>{if("function"==typeof t){null==t||t(n);return}i.A.error("Failed to copy.")};return{isCopied:o,copyToClipboard:n=>{var e;if(n){if(s){s(n),l();return}if(null===(e=navigator.clipboard)||void 0===e?void 0:e.writeText)navigator.clipboard.writeText(n).then(l).catch(u);else{let e=a()(n);e?l():u()}}}}}},9010:function(n,e,t){t.d(e,{X:function(){return s}});var r=t(28242);function s(){let{theme:n,systemTheme:e,setTheme:t}=(0,r.F)();return{theme:n&&"system"!==n?n:e||"light",setTheme:t,systemTheme:e}}},24449:function(n,e,t){t.d(e,{S:function(){return o},n:function(){return d}});var r=t(3546),s=t(45391),a=t(16784);let i=n=>{let e=(0,a.d)(n);r.useEffect(()=>()=>{e.current()},[])};function o(n,e,t){let o=(0,a.d)(n),d=r.useMemo(()=>(0,s.Z)(function(){for(var n=arguments.length,e=Array(n),t=0;t{var n;null==t||null===(n=t.onUnmount)||void 0===n||n.call(t,d),d.cancel()}),{run:d,cancel:d.cancel,flush:d.flush}}function d(n,e,t){let[s,a]=r.useState(n),{run:i}=o(()=>{a(n)},e,t);return r.useEffect(()=>{i()},[n]),[s,a]}},38785:function(n,e,t){t.d(e,{U:function(){return a}});var r=t(3546);let s=!0;function a(){let[n,e]=r.useState(()=>!s);return r.useEffect(function(){s=!1,e(!0)},[]),n}},16784:function(n,e,t){t.d(e,{d:function(){return s}});var r=t(3546);function s(n){let e=r.useRef(n);return e.current=n,e}},98454:function(n,e,t){t.d(e,{P:function(){return i}});var r=t(40055),s=t(43240);let a=(0,s.BX)("\n query MeQuery {\n me {\n id\n authToken\n email\n isAdmin\n isOwner\n isPasswordSet\n name\n }\n }\n"),i=()=>(0,r.aM)({query:a})},70526:function(n,e,t){t.d(e,{e:function(){return d},j:function(){return l}});var r=t(3546),s=t(40055),a=t(43240),i=t(57288);let o=(0,a.BX)("\n query NetworkSetting {\n networkSetting {\n externalUrl\n }\n }\n"),d=n=>(0,s.aM)({query:o,...n}),l=()=>{let[{data:n}]=d(),e=null==n?void 0:n.networkSetting,t=r.useMemo(()=>(null==e?void 0:e.externalUrl)||((0,i.S_)()?new URL(window.location.href).origin:""),[e]);return t}},3765:function(n,e,t){t.d(e,{Z:function(){return d}});var r=t(44745),s=t(57778),a=t(79716),i=t(91302),o=t(66794);async function d(n,e){var t;let r=null!==(t=null==e?void 0:e.customFetch)&&void 0!==t?t:window.fetch;if(function(n){var e;if(n.startsWith("/oauth/providers"))return!1;let t=null===(e=(0,o.bW)())||void 0===e?void 0:e.accessToken;if(!t)return!0;try{let{exp:n}=(0,a.o)(t);return(0,o.pw)(n)}catch(n){return!0}}(n))return o.gN.refreshToken(l).then(t=>f(n,e));let s=await r(n,u(e));return 401===s.status?(o.gN.clearAccessToken(),o.gN.refreshToken(l).then(t=>f(n,e))):m(s,e)}async function l(){var n,e;let t=null===(n=(0,o.bW)())||void 0===n?void 0:n.refreshToken;if(!t)return;let r=await c(t);return null==r?void 0:null===(e=r.data)||void 0===e?void 0:e.refreshToken}function u(n){var e;let t=new Headers(null==n?void 0:n.headers);return t.append("authorization","Bearer ".concat(null===(e=(0,o.bW)())||void 0===e?void 0:e.accessToken)),{...n||{},headers:t}}async function c(n){let e=new r.KU({url:"/graphql",requestPolicy:"network-only",exchanges:[r.Ek]}),t=e.createRequestOperation("mutation",(0,s.h)(i.Dp,{refreshToken:n}));return e.executeMutation(t)}function f(n,e){var t;let r=null!==(t=null==e?void 0:e.customFetch)&&void 0!==t?t:window.fetch;return r(n,u(e)).then(n=>m(n,e))}function m(n,e){return(null==n?void 0:n.ok)?(null==e?void 0:e.responseFormatter)?e.responseFormatter(n):(null==e?void 0:e.responseFormat)==="blob"?n.blob():n.json():(null==e?void 0:e.errorHandler)?e.errorHandler(n):void 0}},83332:function(n,e){e.Z={src:"/_next/static/media/logo-dark.362a169d.png",height:149,width:395,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAQAAAAEwYbDAAAAOklEQVR42gXAIQqAMBQA0A+K3eIVHNhEk21Wk5iN4g6w6z9GyBaDZDLr9OH0qD6/4nWHUZLtNqvL0QDmsR1AxwcSfQAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:3}}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9634,3240],{68172:function(n,e,t){t.d(e,{q:function(){return a}});var r=t(36164),s=t(38785);function a(n){let{children:e,fallback:t=null}=n;return(0,s.U)()?(0,r.jsx)(r.Fragment,{children:e}):(0,r.jsx)(r.Fragment,{children:t})}},48537:function(n,e,t){t.d(e,{q:function(){return o}});var r=t(36164);t(3546);var s=t(28312),a=t(31458),i=t(81565);function o(n){let{className:e,value:t,onCopyContent:o,text:d,...l}=n,{isCopied:u,copyToClipboard:c}=(0,s.m)({timeout:2e3,onCopyContent:o});return t?(0,r.jsxs)(a.z,{variant:"ghost",size:d?"default":"icon",className:e,onClick:()=>{u||c(t)},...l,children:[u?(0,r.jsx)(i.IconCheck,{className:"text-green-600"}):(0,r.jsx)(i.IconCopy,{}),d&&(0,r.jsx)("span",{children:d}),!d&&(0,r.jsx)("span",{className:"sr-only",children:"Copy"})]}):null}},30601:function(n,e,t){t.d(e,{Hb:function(){return m},wt:function(){return u},xc:function(){return p},yo:function(){return f}});var r=t(36164),s=t(3546),a=t(74630),i=t(36327),o=t(80605),d=t(57288),l=t(81565);let u="3.5rem",c=s.createContext({}),f=n=>{let{children:e}=n,t=(0,o.UA)(),[i,d]=s.useState(!1);return s.useEffect(()=>{let n=window.self!==window.top;n||(0,a.Z)(t)||d(t)},[t]),(0,r.jsx)(c.Provider,{value:{isShowDemoBanner:i,setIsShowDemoBanner:d},children:e})};function m(){let{isShowDemoBanner:n,setIsShowDemoBanner:e}=s.useContext(c);return[n,e]}function p(){let[n,e]=m(),{data:t}=(0,i.Z)("https://api.github.com/repos/TabbyML/tabby",n=>fetch(n).then(n=>n.json()));return(0,r.jsxs)("div",{className:(0,d.cn)("flex items-center justify-between bg-primary px-4 text-primary-foreground transition-[opacity,height] md:px-5",{"opacity-100 pointer-events-auto":n,"opacity-0 pointer-events-none":!n}),style:n?{height:u}:{height:0},children:[(0,r.jsxs)("a",{href:"https://links.tabbyml.com/schedule-a-demo",target:"_blank",className:"flex items-center gap-x-2 text-xs font-semibold underline md:text-sm",children:[(0,r.jsx)("span",{children:"\uD83D\uDCC6"}),(0,r.jsx)("span",{children:"Book a 30-minute product demo."})]}),n&&(0,r.jsx)("img",{referrerPolicy:"no-referrer-when-downgrade",src:"https://static.scarf.sh/a.png?x-pxid=b1d0308a-b3c5-425a-972a-378d883a2bca"}),(0,r.jsxs)("div",{className:"flex items-center gap-x-4 md:gap-x-8",children:[(0,r.jsxs)("a",{href:"https://github.com/TabbyML/tabby",target:"_blank",className:"flex items-center transition-all hover:opacity-70",children:[(0,r.jsx)(l.IconGithub,{}),(0,r.jsxs)("div",{className:"ml-2 hidden md:block",children:[(0,r.jsx)("p",{className:"text-xs font-semibold",children:"TabbyML/tabby"}),(0,r.jsxs)("div",{className:(0,d.cn)("flex items-center text-xs transition-all",{"h-4 opacity-70":t,"h-0 opacity-0":!t}),children:[(0,r.jsx)(l.IconStar,{className:"mr-1 h-2.5 w-2.5"}),(0,r.jsx)("span",{children:null==t?void 0:t.stargazers_count}),(0,r.jsx)(l.IconGitFork,{className:"ml-2 mr-1 h-2.5 w-2.5"}),(0,r.jsx)("span",{children:null==t?void 0:t.forks_count})]})]})]}),(0,r.jsx)(l.IconClose,{className:"cursor-pointer transition-all hover:opacity-70",onClick:()=>e(!1)})]})]})}},6230:function(n,e,t){var r=t(36164),s=t(3546),a=t(24449),i=t(90379);e.Z=n=>{let{loading:e,fallback:t,delay:o,children:d}=n,[l,u]=s.useState(!e),[c]=(0,a.n)(l,null!=o?o:200);return(s.useEffect(()=>{e||l||u(!0)},[e]),c)?d:t||(0,r.jsx)(i.cg,{})}},61249:function(n,e,t){t.d(e,{L:function(){return I}});var r=t(36164),s=t(3546),a=t(6044),i=t(99092),o=t.n(i),d=t(21454),l=t(40055),u=t(43240),c=t(11634),f=t(70410),m=t(57288),p=t(6230),h=t(90379),g=t(31458),x=t(62202),v=t(81565),$=t(11208),b=t(50538);let y=(0,u.BX)("\n mutation markNotificationsRead($notificationId: ID) {\n markNotificationsRead(notificationId: $notificationId)\n }\n");function I(n){let{className:e,...t}=n,[{data:i,fetching:o},u]=(0,l.aM)({query:f.g0});(0,d.ZP)("refresh_notifications",()=>u(),{revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateOnMount:!1,refreshInterval:6e5});let I=(0,s.useMemo)(()=>null==i?void 0:i.notifications.slice().reverse(),[null==i?void 0:i.notifications]),j=(0,s.useMemo)(()=>{var n;return null!==(n=null==I?void 0:I.filter(n=>!n.read))&&void 0!==n?n:[]},[I]),w=j.length>0,k=(0,c.Db)(y);return(0,r.jsx)("div",{className:(0,m.cn)(e),...t,children:(0,r.jsxs)(x.h_,{modal:!1,children:[(0,r.jsx)(x.$F,{asChild:!0,children:(0,r.jsxs)(g.z,{variant:"ghost",size:"icon",className:"relative",children:[(0,r.jsx)(v.IconBell,{}),w&&(0,r.jsx)("div",{className:"absolute right-1 top-1 h-1.5 w-1.5 rounded-full bg-red-400"})]})}),(0,r.jsxs)(x.AW,{side:"bottom",align:"end",className:"flex w-96 flex-col overflow-hidden p-0",style:{maxHeight:"60vh"},children:[(0,r.jsxs)("div",{className:"flex items-center justify-between px-4 py-2",children:[(0,r.jsx)("div",{className:"text-sm font-medium",children:"Nofitications"}),(0,r.jsx)(g.z,{size:"sm",className:"h-6 py-1 text-xs",onClick:()=>{k()},disabled:!w,children:"Mark all as read"})]}),(0,r.jsx)($.Z,{}),(0,r.jsxs)(b.mQ,{className:"relative my-2 flex-1 overflow-y-auto px-4",defaultValue:"unread",children:[(0,r.jsxs)(b.dr,{className:"sticky top-0 z-10 grid w-full grid-cols-2",children:[(0,r.jsx)(b.SP,{value:"unread",children:"Unread"}),(0,r.jsx)(b.SP,{value:"all",children:"All"})]}),(0,r.jsx)(a.nU,{value:"unread",className:"mt-4",children:(0,r.jsx)(p.Z,{loading:o,fallback:(0,r.jsx)(h.cg,{}),children:(0,r.jsx)(N,{type:"unread",notifications:j})})}),(0,r.jsx)(a.nU,{value:"all",className:"mt-4",children:(0,r.jsx)(p.Z,{loading:o,fallback:(0,r.jsx)(h.cg,{}),children:(0,r.jsx)(N,{type:"all",notifications:I})})})]})]})]})})}function N(n){var e;let{notifications:t,type:s}=n,a=null!==(e=null==t?void 0:t.length)&&void 0!==e?e:0;return a?(0,r.jsx)("div",{className:"space-y-2",children:null==t?void 0:t.map((n,e)=>(0,r.jsxs)("div",{children:[(0,r.jsx)(j,{data:n}),(0,r.jsx)($.Z,{className:(0,m.cn)("my-3",{hidden:e===a-1})})]},n.id))}):(0,r.jsx)("div",{className:"my-4 text-center text-sm text-muted-foreground",children:"unread"===s?"No unread notifications":"No notifications"})}function j(n){let{data:e}=n,{title:t,content:s}=function(n){let e=n.split("\n")[0],t=n.split("\n").slice(1).join("\n");return{title:e,content:t}}(e.content),a=(0,c.Db)(y);return(0,r.jsxs)("div",{className:"space-y-1.5",children:[(0,r.jsxs)("div",{className:"space-y-1.5",children:[(0,r.jsxs)("div",{className:"flex items-center gap-1.5 overflow-hidden text-sm font-medium",children:[!e.read&&(0,r.jsx)("span",{className:"h-2 w-2 shrink-0 rounded-full bg-red-400"}),(0,r.jsx)("span",{className:"flex-1 truncate",children:t})]}),(0,r.jsx)("div",{className:"whitespace-pre-wrap break-words text-sm text-muted-foreground",children:s})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between text-xs text-muted-foreground",children:[(0,r.jsx)("span",{className:"text-muted-foreground",children:function(n){let e=o()(n);if(e.isBefore(o()().subtract(1,"year"))){let n=e.format("MMM D, YYYY, h:mm A");return n}if(e.isBefore(o()().subtract(1,"month"))){let n=e.format("MMM D, hh:mm A");return"".concat(n)}return"".concat(e.fromNow())}(e.createdAt)}),(0,r.jsx)("div",{className:"flex items-center gap-1.5",children:!e.read&&(0,r.jsxs)(g.z,{variant:"link",className:"flex h-auto items-center gap-0.5 p-1 text-xs text-muted-foreground",onClick:()=>{a({notificationId:e.id})},children:[(0,r.jsx)(v.IconCheck,{className:"h-3 w-3"}),"Mark as read"]})})]})]})}},90379:function(n,e,t){t.d(e,{PF:function(){return d},cg:function(){return i},tB:function(){return o}});var r=t(36164),s=t(57288),a=t(3448);let i=n=>{let{className:e,...t}=n;return(0,r.jsxs)("div",{className:(0,s.cn)("space-y-3",e),...t,children:[(0,r.jsx)(a.O,{className:"h-4 w-full"}),(0,r.jsx)(a.O,{className:"h-4 w-full"}),(0,r.jsx)(a.O,{className:"h-4 w-full"}),(0,r.jsx)(a.O,{className:"h-4 w-full"})]})},o=n=>{let{className:e,...t}=n;return(0,r.jsx)(a.O,{className:(0,s.cn)("h-4 w-full",e),...t})},d=n=>{let{className:e,...t}=n;return(0,r.jsxs)("div",{className:(0,s.cn)("flex flex-col gap-3",e),...t,children:[(0,r.jsx)(a.O,{className:"h-4 w-[20%]"}),(0,r.jsx)(a.O,{className:"h-4 w-full"}),(0,r.jsx)(a.O,{className:"h-4 w-[20%]"}),(0,r.jsx)(a.O,{className:"h-4 w-full"})]})}},63743:function(n,e,t){t.d(e,{T:function(){return d}});var r=t(36164),s=t(3546),a=t(9010),i=t(31458),o=t(81565);function d(n){let{className:e}=n,{setTheme:t,theme:d}=(0,a.X)(),[l,u]=s.useTransition();return(0,r.jsxs)(i.z,{variant:"ghost",size:"icon",onClick:()=>{u(()=>{t("light"===d?"dark":"light")})},className:e,children:["dark"===d?(0,r.jsx)(o.IconMoon,{className:"transition-all"}):(0,r.jsx)(o.IconSun,{className:"transition-all"}),(0,r.jsx)("span",{className:"sr-only",children:"Toggle theme"})]})}},79972:function(n,e,t){t.d(e,{Ol:function(){return o},Zb:function(){return i},aY:function(){return u},eW:function(){return c},ll:function(){return d}});var r=t(36164),s=t(3546),a=t(57288);let i=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)("div",{ref:e,className:(0,a.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",t),...s})});i.displayName="Card";let o=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)("div",{ref:e,className:(0,a.cn)("flex flex-col space-y-1.5 p-6",t),...s})});o.displayName="CardHeader";let d=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)("h3",{ref:e,className:(0,a.cn)("text-2xl font-semibold leading-none tracking-tight",t),...s})});d.displayName="CardTitle";let l=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)("p",{ref:e,className:(0,a.cn)("text-sm text-muted-foreground",t),...s})});l.displayName="CardDescription";let u=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)("div",{ref:e,className:(0,a.cn)("p-6 pt-0",t),...s})});u.displayName="CardContent";let c=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)("div",{ref:e,className:(0,a.cn)("flex items-center p-6 pt-0",t),...s})});c.displayName="CardFooter"},62202:function(n,e,t){t.d(e,{$F:function(){return d},AW:function(){return c},Ju:function(){return p},VD:function(){return h},Xi:function(){return f},_x:function(){return l},h_:function(){return o},qB:function(){return m}});var r=t(36164),s=t(3546),a=t(19148),i=t(57288);let o=a.fC,d=a.xz;a.ZA,a.Uv,a.Tr;let l=a.Ee;a.wU;let u=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)(a.tu,{ref:e,className:(0,i.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md animate-in data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-1 data-[side=right]:slide-in-from-left-1 data-[side=top]:slide-in-from-bottom-1",t),...s})});u.displayName=a.tu.displayName;let c=s.forwardRef((n,e)=>{let{className:t,sideOffset:s=4,...o}=n;return(0,r.jsx)(a.Uv,{children:(0,r.jsx)(a.VY,{ref:e,sideOffset:s,className:(0,i.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow animate-in data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...o})})});c.displayName=a.VY.displayName;let f=s.forwardRef((n,e)=>{let{className:t,inset:s,...o}=n;return(0,r.jsx)(a.ck,{ref:e,className:(0,i.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",s&&"pl-8",t),...o})});f.displayName=a.ck.displayName;let m=s.forwardRef((n,e)=>{let{className:t,inset:s,...o}=n;return(0,r.jsx)(a.Rk,{ref:e,className:(0,i.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",s&&"pl-8",t),...o})});m.displayName=a.Rk.displayName;let p=s.forwardRef((n,e)=>{let{className:t,inset:s,...o}=n;return(0,r.jsx)(a.__,{ref:e,className:(0,i.cn)("px-2 py-1.5 text-sm font-semibold",s&&"pl-8",t),...o})});p.displayName=a.__.displayName;let h=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)(a.Z0,{ref:e,className:(0,i.cn)("-mx-1 my-1 h-px bg-muted",t),...s})});h.displayName=a.Z0.displayName},82394:function(n,e,t){t.d(e,{I:function(){return i}});var r=t(36164),s=t(3546),a=t(57288);let i=s.forwardRef((n,e)=>{let{className:t,type:s,...i}=n;return(0,r.jsx)("input",{type:s,className:(0,a.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),ref:e,...i})});i.displayName="Input"},5266:function(n,e,t){t.d(e,{_:function(){return l}});var r=t(36164),s=t(3546),a=t(90893),i=t(14375),o=t(57288);let d=(0,i.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),l=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)(a.f,{ref:e,className:(0,o.cn)(d(),t),...s})});l.displayName=a.f.displayName},57830:function(n,e,t){t.r(e),t.d(e,{ScrollArea:function(){return o},ScrollBar:function(){return d}});var r=t(36164),s=t(3546),a=t(50778),i=t(57288);let o=s.forwardRef((n,e)=>{let{className:t,children:s,...o}=n;return(0,r.jsxs)(a.fC,{className:(0,i.cn)("relative overflow-hidden",t),...o,children:[(0,r.jsx)(a.l_,{ref:e,className:"h-full w-full rounded-[inherit] [&>div]:!block",children:s}),(0,r.jsx)(d,{}),(0,r.jsx)(a.Ns,{})]})});o.displayName=a.fC.displayName;let d=s.forwardRef((n,e)=>{let{className:t,orientation:s="vertical",...o}=n;return(0,r.jsx)(a.gb,{ref:e,orientation:s,className:(0,i.cn)("flex touch-none select-none transition-colors","vertical"===s&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===s&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",t),...o,children:(0,r.jsx)(a.q4,{className:"relative flex-1 rounded-full bg-border"})})});d.displayName=a.gb.displayName},11208:function(n,e,t){t.d(e,{Z:function(){return o}});var r=t(36164),s=t(3546),a=t(74225),i=t(57288);let o=s.forwardRef((n,e)=>{let{className:t,orientation:s="horizontal",decorative:o=!0,...d}=n;return(0,r.jsx)(a.f,{ref:e,decorative:o,orientation:s,className:(0,i.cn)("shrink-0 bg-border","horizontal"===s?"h-[1px] w-full":"h-full w-[1px]",t),...d})});o.displayName=a.f.displayName},3448:function(n,e,t){t.d(e,{O:function(){return a}});var r=t(36164),s=t(57288);function a(n){let{className:e,...t}=n;return(0,r.jsx)("div",{className:(0,s.cn)("h-4 animate-pulse rounded-md bg-border",e),...t})}},50538:function(n,e,t){t.d(e,{SP:function(){return l},dr:function(){return d},mQ:function(){return o}});var r=t(36164),s=t(3546),a=t(6044),i=t(57288);let o=a.fC,d=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)(a.aV,{ref:e,className:(0,i.cn)("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",t),...s})});d.displayName=a.aV.displayName;let l=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)(a.xz,{ref:e,className:(0,i.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",t),...s})});l.displayName=a.xz.displayName;let u=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)(a.VY,{ref:e,className:(0,i.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",t),...s})});u.displayName=a.VY.displayName},29:function(n,e,t){t.d(e,{_v:function(){return u},aJ:function(){return l},pn:function(){return o},u:function(){return d}});var r=t(36164),s=t(3546),a=t(44421),i=t(57288);let o=a.zt,d=a.fC,l=a.xz;a.h_;let u=s.forwardRef((n,e)=>{let{className:t,sideOffset:s=4,...o}=n;return(0,r.jsx)(a.VY,{ref:e,sideOffset:s,className:(0,i.cn)("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-xs font-medium text-popover-foreground shadow-md animate-in fade-in-50 data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-1 data-[side=right]:slide-in-from-left-1 data-[side=top]:slide-in-from-bottom-1",t),...o})});u.displayName=a.VY.displayName},52569:function(n,e,t){t.d(e,{SQ:function(){return y},Yt:function(){return b},nY:function(){return $}});var r=t(36164),s=t(3546),a=t(87782),i=t(21454),o=t(36327),d=t(98454),l=t(3765),u=t(57288),c=t(66612);let f=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)(c.fC,{ref:e,className:(0,u.cn)("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",t),...s})});f.displayName=c.fC.displayName;let m=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)(c.Ee,{ref:e,className:(0,u.cn)("aspect-square h-full w-full",t),...s})});m.displayName=c.Ee.displayName;let p=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)(c.NY,{ref:e,className:(0,u.cn)("flex h-full w-full items-center justify-center rounded-full bg-muted",t),...s})});p.displayName=c.NY.displayName;var h=t(3448),g=t(30410).lW;let x="not_found",v=new Set,$=n=>{v.delete(n),(0,i.JG)("/avatar/".concat(n))};function b(n){var e;let{user:t,className:i,fallback:d}=n,c=null==t?void 0:t.id,$=c?"/avatar/".concat(c):null,{data:b,isLoading:y,error:I}=(0,o.Z)($,n=>{if(!(!c||v.has(c)))return(0,l.Z)(n,{responseFormatter:async n=>{let e=await n.blob(),t=g.from(await e.arrayBuffer());return"data:image/png;base64,".concat(t.toString("base64"))},errorHandler:n=>{if(404===n.status)throw Error(x)}})}),N=s.useMemo(()=>{if(null==t?void 0:t.email)return(0,a.B)(t.email)},[null==t?void 0:t.email]);return y?(0,r.jsx)(h.O,{className:(0,u.cn)("h-16 w-16 rounded-full",i)}):((null==I?void 0:I.message)===x&&c&&v.add(c),b||N||!d)?!b&&N?(0,r.jsx)(a.Z,{className:(0,u.cn)("h-16 w-16",i),...N}):(0,r.jsxs)(f,{className:(0,u.cn)("h-16 w-16",i),children:[(0,r.jsx)(m,{src:b,alt:null==t?void 0:t.email,className:"object-cover"}),(0,r.jsx)(p,{children:null==t?void 0:null===(e=t.email)||void 0===e?void 0:e.substring(0,2)})]}):d}function y(n){let[{data:e}]=(0,d.P)();return(0,r.jsx)(b,{user:null==e?void 0:e.me,...n})}},7449:function(n,e,t){t.d(e,{Z:function(){return w}});var r=t(36164),s=t(3546),a=t(70652),i=t.n(a),o=t(11978),d=t(71480),l=t(43240),u=t(98454),c=t(70526),f=t(91302),m=t(11634),p=t(57288),h=t(31458),g=t(79972),x=t(62202),v=t(81565),$=t(82394),b=t(5266),y=t(29),I=t(48537),N=t(52569);let j=(0,l.BX)("\n mutation ResetUserAuthToken {\n resetUserAuthToken\n }\n");function w(n){let{children:e,showHome:t=!0,showSetting:a=!1,beforeRouteChange:i}=n,d=(0,o.useRouter)(),l=(0,f.QJ)(),[{data:c},m]=(0,u.P)(),p=null==c?void 0:c.me,[h,g]=s.useState(!1),$=async n=>{n.preventDefault(),g(!0),await l(),g(!1)},b=(n,e)=>{null==i||i(n),e?d.replace(n):d.push(n)};if(p)return(0,r.jsxs)(x.h_,{modal:!1,children:[(0,r.jsx)(x.$F,{children:e}),(0,r.jsxs)(x.AW,{side:"bottom",align:"end",className:"relative overflow-y-auto p-0",style:{maxHeight:"calc(100vh - 6rem)"},children:[(0,r.jsxs)("div",{className:"p-4 pt-0",children:[(0,r.jsxs)("div",{className:"sticky top-0 z-10 flex items-center gap-2 bg-popover pb-2 pt-4",children:[(0,r.jsx)(N.Yt,{user:p,className:"h-12 w-12 shrink-0 border-[2px] border-white"}),(0,r.jsxs)("div",{className:"space-y-1",children:[p.name&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(x.Ju,{className:"p-0",children:p.name}),(0,r.jsx)(x.Ju,{className:"p-0 text-sm font-normal text-muted-foreground",children:p.email})]}),!p.name&&(0,r.jsx)(x.Ju,{children:p.email})]})]}),(0,r.jsx)(k,{className:"mt-2",user:p,reexecuteQuery:m})]}),(0,r.jsx)(x.VD,{className:"mb-1 mt-0"}),(0,r.jsxs)("div",{className:"px-1.5",children:[t&&(0,r.jsxs)(x.Xi,{onClick:()=>b("/"),className:"cursor-pointer py-2 pl-3",children:[(0,r.jsx)(v.IconHome,{}),(0,r.jsx)("span",{className:"ml-2",children:"Home"})]}),a&&(0,r.jsxs)(x.Xi,{onClick:()=>b("/profile"),className:"cursor-pointer py-2 pl-3",children:[(0,r.jsx)(v.IconGear,{}),(0,r.jsx)("span",{className:"ml-2",children:"Settings"})]}),(0,r.jsxs)(x.Xi,{onClick:()=>window.open("/files"),className:"cursor-pointer py-2 pl-3",children:[(0,r.jsx)(v.IconCode,{}),(0,r.jsx)("span",{className:"ml-2",children:"Code Browser"})]}),(0,r.jsxs)(x.Xi,{onClick:()=>window.open("/api"),className:"cursor-pointer py-2 pl-3",children:[(0,r.jsx)(v.IconBackpack,{}),(0,r.jsx)("span",{className:"ml-2",children:"API Docs"})]})]}),(0,r.jsx)(x.VD,{}),(0,r.jsxs)(x.Xi,{disabled:h,onClick:$,className:"mx-1.5 mb-1.5 cursor-pointer py-2 pl-3",children:[(0,r.jsx)(v.IconLogout,{}),(0,r.jsx)("span",{className:"ml-2",children:"Sign out"}),h&&(0,r.jsx)(v.IconSpinner,{className:"ml-1"})]})]})]})}function k(n){let{className:e,user:t,reexecuteQuery:s}=n,a=(0,c.j)(),i=(0,m.Db)(j,{onCompleted:()=>s()});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:(0,p.cn)("w-[268px] rounded-xl bg-[#FBF5ED] p-4 dark:bg-[#3D382F]",e),children:[(0,r.jsxs)(g.aY,{className:"p-0",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,r.jsx)(b._,{className:"text-xs text-muted-foreground",children:"Endpoint URL"}),(0,r.jsxs)("span",{className:"group relative",children:[(0,r.jsx)($.I,{value:a,onChange:d.Z,className:"border-none bg-[#FEFCF8] group-focus-within:pr-12 group-hover:pr-12 dark:bg-[#4F483B]"}),(0,r.jsx)(I.q,{value:a,className:(0,p.cn)("absolute right-1 top-0.5 hidden group-focus-within:flex group-hover:flex")})]})]}),(0,r.jsxs)("div",{className:"mt-4 flex flex-col gap-2",children:[(0,r.jsx)(b._,{className:"text-xs text-muted-foreground",children:"Token"}),(0,r.jsxs)("span",{className:"group relative",children:[(0,r.jsx)($.I,{value:t.authToken,onChange:d.Z,className:"border-none bg-[#FEFCF8] group-focus-within:pr-20 group-hover:pr-20 dark:bg-[#4F483B]"}),(0,r.jsxs)("div",{className:"absolute right-1 top-0.5 hidden items-center gap-1 group-focus-within:flex group-hover:flex",children:[(0,r.jsx)(I.q,{value:t.authToken}),(0,r.jsx)(h.z,{title:"Rotate",size:"icon",variant:"hover-destructive",onClick:()=>i(),children:(0,r.jsx)(v.IconRotate,{})})]})]})]})]}),(0,r.jsx)(g.eW,{className:"mt-3 p-0 text-xs text-muted-foreground",children:(0,r.jsxs)("span",{children:["Use information above for IDE extensions / plugins configuration, see"," ",(0,r.jsx)("a",{className:"text-link underline",target:"_blank",href:"https://tabby.tabbyml.com/docs/extensions/configurations#server",children:"documentation website"})," ","for details"]})})]}),(0,r.jsxs)("div",{className:"mb-6 mt-3 flex gap-x-4 lg:mb-0",children:[(0,r.jsx)(A,{href:"https://marketplace.visualstudio.com/items?itemName=TabbyML.vscode-tabby",name:"Visual Studio Code",icon:(0,r.jsx)(v.IconVSCode,{className:"h-6 w-6"})}),(0,r.jsx)(A,{href:"https://plugins.jetbrains.com/plugin/22379-tabby",name:"JetBrains",icon:(0,r.jsx)(v.IconJetBrains,{className:"h-6 w-6"})})]})]})}function A(n){let{href:e,name:t,icon:s}=n;return(0,r.jsxs)(y.u,{children:[(0,r.jsx)(y.aJ,{children:(0,r.jsx)(i(),{href:e,className:"flex h-8 w-8 items-center justify-center rounded-lg text-[#030302]",target:"_blank",children:s})}),(0,r.jsx)(y._v,{children:(0,r.jsx)("p",{children:t})})]})}},75561:function(n,e,t){t.d(e,{B:function(){return a}});var r=t(18500);let s={"\n query ListUserEvents(\n $after: String\n $before: String\n $first: Int\n $last: Int\n $start: DateTime!\n $end: DateTime!\n $users: [ID!]\n ) {\n userEvents(\n after: $after\n before: $before\n first: $first\n last: $last\n start: $start\n end: $end\n users: $users\n ) {\n edges {\n node {\n id\n userId\n createdAt\n kind\n payload\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.UQ,"\n mutation uploadUserAvatarBase64($id: ID!, $avatarBase64: String!) {\n uploadUserAvatarBase64(id: $id, avatarBase64: $avatarBase64)\n }\n":r.eI,"\n mutation UpdateUserName($id: ID!, $name: String!) {\n updateUserName(id: $id, name: $name)\n }\n":r.DQ,"\n mutation PasswordChange($input: PasswordChangeInput!) {\n passwordChange(input: $input)\n }\n":r.oZ,"\n mutation updateEmailSetting($input: EmailSettingInput!) {\n updateEmailSetting(input: $input)\n }\n":r.gl,"\n mutation deleteEmailSetting {\n deleteEmailSetting\n }\n":r.wZ,"\n mutation SendTestEmail($to: String!) {\n sendTestEmail(to: $to)\n }\n":r.nI,"\n query emailSetting {\n emailSetting {\n smtpUsername\n smtpServer\n fromAddress\n encryption\n authMethod\n smtpPort\n }\n }\n":r.k6,"\n mutation UpdateIntegration($input: UpdateIntegrationInput!) {\n updateIntegration(input: $input)\n }\n":r.fc,"\n mutation DeleteIntegration($id: ID!, $kind: IntegrationKind!) {\n deleteIntegration(id: $id, kind: $kind)\n }\n":r.AU,"\n mutation UpdateIntegratedRepositoryActive($id: ID!, $active: Boolean!) {\n updateIntegratedRepositoryActive(id: $id, active: $active)\n }\n":r.o7,"\n mutation CreateIntegration($input: CreateIntegrationInput!) {\n createIntegration(input: $input)\n }\n":r.fY,"\n mutation grantSourceIdReadAccess($sourceId: String!, $userGroupId: ID!) {\n grantSourceIdReadAccess(sourceId: $sourceId, userGroupId: $userGroupId)\n }\n":r.Yr,"\n mutation revokeSourceIdReadAccess($sourceId: String!, $userGroupId: ID!) {\n revokeSourceIdReadAccess(sourceId: $sourceId, userGroupId: $userGroupId)\n }\n":r.z,"\n mutation CreateCustomDocument($input: CreateCustomDocumentInput!) {\n createCustomDocument(input: $input)\n }\n":r.Gf,"\n query CustomWebDocuments(\n $ids: [ID!]\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n customWebDocuments(\n ids: $ids\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n url\n name\n id\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.wx,"\n mutation DeleteCustomDocument($id: ID!) {\n deleteCustomDocument(id: $id)\n }\n":r.c3,"\n query PresetWebDocuments(\n $ids: [ID!]\n $after: String\n $before: String\n $first: Int\n $last: Int\n $isActive: Boolean\n ) {\n presetWebDocuments(\n ids: $ids\n after: $after\n before: $before\n first: $first\n last: $last\n isActive: $isActive\n ) {\n edges {\n node {\n id\n name\n isActive\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.z1,"\n mutation SetPresetDocumentActive($input: SetPresetDocumentActiveInput!) {\n setPresetDocumentActive(input: $input)\n }\n":r.h_,"\n mutation deleteGitRepository($id: ID!) {\n deleteGitRepository(id: $id)\n }\n":r.TS,"\n mutation createGitRepository($name: String!, $gitUrl: String!) {\n createGitRepository(name: $name, gitUrl: $gitUrl)\n }\n":r.ad,"\n mutation triggerJobRun($command: String!) {\n triggerJobRun(command: $command)\n }\n":r.uk,"\n mutation updateOauthCredential($input: UpdateOAuthCredentialInput!) {\n updateOauthCredential(input: $input)\n }\n":r.m,"\n mutation deleteOauthCredential($provider: OAuthProvider!) {\n deleteOauthCredential(provider: $provider)\n }\n":r.ZH,"\n query OAuthCallbackUrl($provider: OAuthProvider!) {\n oauthCallbackUrl(provider: $provider)\n }\n":r.L$,"\n query OAuthCredential($provider: OAuthProvider!) {\n oauthCredential(provider: $provider) {\n provider\n clientId\n createdAt\n updatedAt\n }\n }\n":r.Fd,"\n mutation updateNetworkSettingMutation($input: NetworkSettingInput!) {\n updateNetworkSetting(input: $input)\n }\n":r.rN,"\n mutation updateSecuritySetting($input: SecuritySettingInput!) {\n updateSecuritySetting(input: $input)\n }\n":r.Nl,"\n query SecuritySetting {\n securitySetting {\n allowedRegisterDomainList\n disableClientSideTelemetry\n }\n }\n":r.rU,"\n mutation UploadLicense($license: String!) {\n uploadLicense(license: $license)\n }\n":r.Yo,"\n mutation ResetLicense {\n resetLicense\n }\n":r.d0,"\n mutation CreateInvitation($email: String!) {\n createInvitation(email: $email)\n }\n":r.ib,"\n mutation DeleteInvitation($id: ID!) {\n deleteInvitation(id: $id)\n }\n":r.YM,"\n mutation updateUserRole($id: ID!, $isAdmin: Boolean!) {\n updateUserRole(id: $id, isAdmin: $isAdmin)\n }\n":r.XF,"\n mutation UpdateUserActive($id: ID!, $active: Boolean!) {\n updateUserActive(id: $id, active: $active)\n }\n":r.dv,"\n mutation generateResetPasswordUrl($userId: ID!) {\n generateResetPasswordUrl(userId: $userId)\n }\n":r.nh,"\n mutation createUserGroup($input: CreateUserGroupInput!) {\n createUserGroup(input: $input)\n }\n":r.e8,"\n mutation DeleteUserGroupMembership($userGroupId: ID!, $userId: ID!) {\n deleteUserGroupMembership(userGroupId: $userGroupId, userId: $userId)\n }\n":r.zD,"\n mutation UpsertUserGroupMembership($input: UpsertUserGroupMembershipInput!) {\n upsertUserGroupMembership(input: $input)\n }\n":r.uI,"\n mutation DeleteUserGroup($id: ID!) {\n deleteUserGroup(id: $id)\n }\n":r.hQ,"\n query GetRegistrationToken {\n registrationToken\n }\n":r.bh,"\n mutation ResetRegistrationToken {\n resetRegistrationToken\n }\n":r.wW,"\n query TestModelConnection($backend: ModelHealthBackend!) {\n testModelConnection(backend: $backend) {\n latencyMs\n }\n }\n":r.rE,"\n query GetDiskUsageStats {\n diskUsageStats {\n events {\n filepath\n sizeKb\n }\n indexedRepositories {\n filepath\n sizeKb\n }\n database {\n filepath\n sizeKb\n }\n models {\n filepath\n sizeKb\n }\n }\n }\n":r.xX,"\n query ListThreads(\n $ids: [ID!]\n $isEphemeral: Boolean\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n threads(\n ids: $ids\n isEphemeral: $isEphemeral\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n userId\n createdAt\n updatedAt\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.qk,"\n mutation passwordReset($input: PasswordResetInput!) {\n passwordReset(input: $input)\n }\n":r.vK,"\n mutation requestPasswordResetEmail($input: RequestPasswordResetEmailInput!) {\n requestPasswordResetEmail(input: $input)\n }\n":r.i8,"\n mutation requestInvitationEmail($input: RequestInvitationInput!) {\n requestInvitationEmail(input: $input) {\n email\n code\n }\n }\n":r.S_,"\n mutation tokenAuth($email: String!, $password: String!) {\n tokenAuth(email: $email, password: $password) {\n accessToken\n refreshToken\n }\n }\n":r.UO,"\n mutation register(\n $name: String!\n $email: String!\n $password1: String!\n $password2: String!\n $invitationCode: String\n ) {\n register(\n name: $name\n email: $email\n password1: $password1\n password2: $password2\n invitationCode: $invitationCode\n ) {\n accessToken\n refreshToken\n }\n }\n":r.YR,"\n query RepositoryGrep(\n $id: ID!\n $kind: RepositoryKind!\n $rev: String\n $query: String!\n ) {\n repositoryGrep(kind: $kind, id: $id, rev: $rev, query: $query) {\n files {\n path\n lines {\n line {\n text\n base64\n }\n byteOffset\n lineNumber\n subMatches {\n bytesStart\n bytesEnd\n }\n }\n }\n elapsedMs\n }\n }\n":r.lq,"\n mutation DeleteThread($id: ID!) {\n deleteThread(id: $id)\n }\n":r.xW,"\n mutation UpdateThreadMessage($input: UpdateMessageInput!) {\n updateThreadMessage(input: $input)\n }\n":r.Tj,"\n mutation markNotificationsRead($notificationId: ID) {\n markNotificationsRead(notificationId: $notificationId)\n }\n":r.yR,"\n mutation ResetUserAuthToken {\n resetUserAuthToken\n }\n":r.qq,"\n query GetLicenseInfo {\n license {\n type\n status\n seats\n seatsUsed\n issuedAt\n expiresAt\n }\n }\n":r.eZ,"\n query MeQuery {\n me {\n id\n authToken\n email\n isAdmin\n isOwner\n isPasswordSet\n name\n }\n }\n":r.fk,"\n query NetworkSetting {\n networkSetting {\n externalUrl\n }\n }\n":r.m2,"\n query GetServerInfo {\n serverInfo {\n isAdminInitialized\n isEmailConfigured\n isChatEnabled\n allowSelfSignup\n isDemoMode\n }\n }\n":r.a,"\n subscription CreateThreadAndRun($input: CreateThreadAndRunInput!) {\n createThreadAndRun(input: $input) {\n __typename\n ... on ThreadCreated {\n id\n }\n ... on ThreadUserMessageCreated {\n id\n }\n ... on ThreadAssistantMessageCreated {\n id\n }\n ... on ThreadRelevantQuestions {\n questions\n }\n ... on ThreadAssistantMessageAttachmentsCode {\n codeSourceId\n hits {\n code {\n gitUrl\n commit\n filepath\n language\n content\n startLine\n }\n scores {\n rrf\n bm25\n embedding\n }\n }\n }\n ... on ThreadAssistantMessageAttachmentsDoc {\n hits {\n doc {\n __typename\n ... on MessageAttachmentWebDoc {\n title\n link\n content\n }\n ... on MessageAttachmentIssueDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n closed\n }\n ... on MessageAttachmentPullDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n merged\n }\n }\n score\n }\n }\n ... on ThreadAssistantMessageContentDelta {\n delta\n }\n ... on ThreadAssistantMessageCompleted {\n id\n }\n }\n }\n":r.VL,"\n subscription CreateThreadRun($input: CreateThreadRunInput!) {\n createThreadRun(input: $input) {\n __typename\n ... on ThreadCreated {\n id\n }\n ... on ThreadUserMessageCreated {\n id\n }\n ... on ThreadAssistantMessageCreated {\n id\n }\n ... on ThreadRelevantQuestions {\n questions\n }\n ... on ThreadAssistantMessageAttachmentsCode {\n codeSourceId\n hits {\n code {\n gitUrl\n commit\n filepath\n language\n content\n startLine\n }\n scores {\n rrf\n bm25\n embedding\n }\n }\n }\n ... on ThreadAssistantMessageAttachmentsDoc {\n hits {\n doc {\n __typename\n ... on MessageAttachmentWebDoc {\n title\n link\n content\n }\n ... on MessageAttachmentIssueDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n closed\n }\n ... on MessageAttachmentPullDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n merged\n }\n }\n score\n }\n }\n ... on ThreadAssistantMessageContentDelta {\n delta\n }\n ... on ThreadAssistantMessageCompleted {\n id\n }\n }\n }\n":r.uM,"\n mutation DeleteThreadMessagePair(\n $threadId: ID!\n $userMessageId: ID!\n $assistantMessageId: ID!\n ) {\n deleteThreadMessagePair(\n threadId: $threadId\n userMessageId: $userMessageId\n assistantMessageId: $assistantMessageId\n )\n }\n":r.ou,"\n mutation refreshToken($refreshToken: String!) {\n refreshToken(refreshToken: $refreshToken) {\n accessToken\n refreshToken\n }\n }\n":r.FR,"\n mutation LogoutAllSessions {\n logoutAllSessions\n }\n":r.Il,"\n query ListInvitations(\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n invitations(after: $after, before: $before, first: $first, last: $last) {\n edges {\n node {\n id\n email\n code\n createdAt\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.Xx,"\n query gitRepositories(\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n gitRepositories(\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n name\n gitUrl\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.Mi,"\n query ListJobRuns(\n $ids: [ID!]\n $jobs: [String!]\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n jobRuns(\n ids: $ids\n jobs: $jobs\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n job\n createdAt\n startedAt\n finishedAt\n exitCode\n stdout\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.$S,"\n query GetJobRunStats($jobs: [String!]) {\n jobRunStats(jobs: $jobs) {\n success\n failed\n pending\n }\n }\n":r.np,"\n query ListJobs {\n jobs\n }\n":r.Ax,"\n query ListUsers($after: String, $before: String, $first: Int, $last: Int) {\n users(after: $after, before: $before, first: $first, last: $last) {\n edges {\n node {\n id\n email\n isAdmin\n isOwner\n createdAt\n active\n name\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.by,"\n query DailyStatsInPastYear($users: [ID!]) {\n dailyStatsInPastYear(users: $users) {\n start\n end\n completions\n selects\n views\n }\n }\n":r.Wd,"\n query DailyStats(\n $start: DateTime!\n $end: DateTime!\n $users: [ID!]\n $languages: [Language!]\n ) {\n dailyStats(start: $start, end: $end, users: $users, languages: $languages) {\n start\n end\n completions\n selects\n views\n language\n }\n }\n":r.Sm,"\n query ListIntegrations(\n $ids: [ID!]\n $kind: IntegrationKind\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n integrations(\n ids: $ids\n kind: $kind\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n displayName\n status\n apiBase\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.KZ,"\n query ListIntegratedRepositories(\n $ids: [ID!]\n $kind: IntegrationKind\n $active: Boolean\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n integratedRepositories(\n ids: $ids\n kind: $kind\n active: $active\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n displayName\n gitUrl\n active\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n startedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.qt,"\n query RepositoryList {\n repositoryList {\n id\n name\n kind\n gitUrl\n refs {\n name\n commit\n }\n }\n }\n":r.HC,"\n query RepositorySearch(\n $kind: RepositoryKind!\n $id: ID!\n $rev: String\n $pattern: String!\n ) {\n repositorySearch(kind: $kind, id: $id, rev: $rev, pattern: $pattern) {\n type\n path\n indices\n }\n }\n":r.BH,"\n query ContextInfo {\n contextInfo {\n sources {\n id\n sourceKind\n sourceId\n sourceName\n }\n }\n }\n":r.w4,"\n query UserGroups {\n userGroups {\n id\n name\n createdAt\n updatedAt\n members {\n user {\n id\n email\n name\n createdAt\n }\n isGroupAdmin\n createdAt\n updatedAt\n }\n }\n }\n":r.hx,"\n query sourceIdAccessPolicies($sourceId: String!) {\n sourceIdAccessPolicies(sourceId: $sourceId) {\n sourceId\n read {\n id\n name\n }\n }\n }\n":r.NL,"\n query ListThreadMessages(\n $threadId: ID!\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n threadMessages(\n threadId: $threadId\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n threadId\n codeSourceId\n role\n content\n attachment {\n code {\n gitUrl\n commit\n filepath\n language\n content\n startLine\n }\n clientCode {\n filepath\n content\n startLine\n }\n doc {\n __typename\n ... on MessageAttachmentWebDoc {\n title\n link\n content\n }\n ... on MessageAttachmentIssueDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n closed\n }\n ... on MessageAttachmentPullDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n merged\n }\n }\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n":r.f7,"\n mutation SetThreadPersisted($threadId: ID!) {\n setThreadPersisted(threadId: $threadId)\n }\n":r.qu,"\n query Notifications {\n notifications {\n id\n content\n read\n createdAt\n }\n }\n":r.Qw,"\n query RepositorySourceList {\n repositoryList {\n id\n name\n kind\n gitUrl\n sourceId\n sourceName\n sourceKind\n }\n }\n":r.mO};function a(n){var e;return null!==(e=s[n])&&void 0!==e?e:{}}},43240:function(n,e,t){t.d(e,{BX:function(){return r.B}});var r=t(75561)},28312:function(n,e,t){t.d(e,{m:function(){return o}});var r=t(3546),s=t(61200),a=t.n(s),i=t(2578);function o(n){let{timeout:e=2e3,onError:t,onCopyContent:s}=n,[o,d]=r.useState(!1),l=()=>{d(!0),setTimeout(()=>{d(!1)},e)},u=n=>{if("function"==typeof t){null==t||t(n);return}i.A.error("Failed to copy.")};return{isCopied:o,copyToClipboard:n=>{var e;if(n){if(s){s(n),l();return}if(null===(e=navigator.clipboard)||void 0===e?void 0:e.writeText)navigator.clipboard.writeText(n).then(l).catch(u);else{let e=a()(n);e?l():u()}}}}}},9010:function(n,e,t){t.d(e,{X:function(){return s}});var r=t(28242);function s(){let{theme:n,systemTheme:e,setTheme:t}=(0,r.F)();return{theme:n&&"system"!==n?n:e||"light",setTheme:t,systemTheme:e}}},24449:function(n,e,t){t.d(e,{S:function(){return o},n:function(){return d}});var r=t(3546),s=t(45391),a=t(16784);let i=n=>{let e=(0,a.d)(n);r.useEffect(()=>()=>{e.current()},[])};function o(n,e,t){let o=(0,a.d)(n),d=r.useMemo(()=>(0,s.Z)(function(){for(var n=arguments.length,e=Array(n),t=0;t{var n;null==t||null===(n=t.onUnmount)||void 0===n||n.call(t,d),d.cancel()}),{run:d,cancel:d.cancel,flush:d.flush}}function d(n,e,t){let[s,a]=r.useState(n),{run:i}=o(()=>{a(n)},e,t);return r.useEffect(()=>{i()},[n]),[s,a]}},38785:function(n,e,t){t.d(e,{U:function(){return a}});var r=t(3546);let s=!0;function a(){let[n,e]=r.useState(()=>!s);return r.useEffect(function(){s=!1,e(!0)},[]),n}},16784:function(n,e,t){t.d(e,{d:function(){return s}});var r=t(3546);function s(n){let e=r.useRef(n);return e.current=n,e}},98454:function(n,e,t){t.d(e,{P:function(){return i}});var r=t(40055),s=t(43240);let a=(0,s.BX)("\n query MeQuery {\n me {\n id\n authToken\n email\n isAdmin\n isOwner\n isPasswordSet\n name\n }\n }\n"),i=()=>(0,r.aM)({query:a})},70526:function(n,e,t){t.d(e,{e:function(){return d},j:function(){return l}});var r=t(3546),s=t(40055),a=t(43240),i=t(57288);let o=(0,a.BX)("\n query NetworkSetting {\n networkSetting {\n externalUrl\n }\n }\n"),d=n=>(0,s.aM)({query:o,...n}),l=()=>{let[{data:n}]=d(),e=null==n?void 0:n.networkSetting,t=r.useMemo(()=>(null==e?void 0:e.externalUrl)||((0,i.S_)()?new URL(window.location.href).origin:""),[e]);return t}},3765:function(n,e,t){t.d(e,{Z:function(){return d}});var r=t(44745),s=t(57778),a=t(79716),i=t(91302),o=t(66794);async function d(n,e){var t;let r=null!==(t=null==e?void 0:e.customFetch)&&void 0!==t?t:window.fetch;if(function(n){var e;if(n.startsWith("/oauth/providers"))return!1;let t=null===(e=(0,o.bW)())||void 0===e?void 0:e.accessToken;if(!t)return!0;try{let{exp:n}=(0,a.o)(t);return(0,o.pw)(n)}catch(n){return!0}}(n))return o.gN.refreshToken(l).then(t=>f(n,e));let s=await r(n,u(e));return 401===s.status?(o.gN.clearAccessToken(),o.gN.refreshToken(l).then(t=>f(n,e))):m(s,e)}async function l(){var n,e;let t=null===(n=(0,o.bW)())||void 0===n?void 0:n.refreshToken;if(!t)return;let r=await c(t);return null==r?void 0:null===(e=r.data)||void 0===e?void 0:e.refreshToken}function u(n){var e;let t=new Headers(null==n?void 0:n.headers);return t.append("authorization","Bearer ".concat(null===(e=(0,o.bW)())||void 0===e?void 0:e.accessToken)),{...n||{},headers:t}}async function c(n){let e=new r.KU({url:"/graphql",requestPolicy:"network-only",exchanges:[r.Ek]}),t=e.createRequestOperation("mutation",(0,s.h)(i.Dp,{refreshToken:n}));return e.executeMutation(t)}function f(n,e){var t;let r=null!==(t=null==e?void 0:e.customFetch)&&void 0!==t?t:window.fetch;return r(n,u(e)).then(n=>m(n,e))}function m(n,e){return(null==n?void 0:n.ok)?(null==e?void 0:e.responseFormatter)?e.responseFormatter(n):(null==e?void 0:e.responseFormat)==="blob"?n.blob():n.json():(null==e?void 0:e.errorHandler)?e.errorHandler(n):void 0}},83332:function(n,e){e.Z={src:"/_next/static/media/logo-dark.362a169d.png",height:149,width:395,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAQAAAAEwYbDAAAAOklEQVR42gXAIQqAMBQA0A+K3eIVHNhEk21Wk5iN4g6w6z9GyBaDZDLr9OH0qD6/4nWHUZLtNqvL0QDmsR1AxwcSfQAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:3}}}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/(logs)/jobs/detail/page-4248f3e2d1a9a649.js b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/(logs)/jobs/detail/page-4248f3e2d1a9a649.js new file mode 100644 index 000000000000..008ed3cb664f --- /dev/null +++ b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/(logs)/jobs/detail/page-4248f3e2d1a9a649.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1908],{51842:function(n,e,t){Promise.resolve().then(t.bind(t,77930))},77930:function(n,e,t){"use strict";t.r(e),t.d(e,{default:function(){return x}});var r=t(36164),s=t(3546),i=t(11978),a=t(70787),o=t(97651),d=t.n(o),u=t(99092),c=t.n(u),l=t(40055),f=t(70410),g=t(57288),$=t(81565),h=t(90379),m=t(17484);function x(){var n,e,t;let a=(0,i.useRouter)(),o=(0,i.useSearchParams)(),u=o.get("id"),[{data:g,error:x,fetching:p},b]=(0,l.aM)({query:f.GG,variables:{ids:[u]},pause:!u}),v=null==g?void 0:null===(t=g.jobRuns)||void 0===t?void 0:null===(e=t.edges)||void 0===e?void 0:null===(n=e[0])||void 0===n?void 0:n.node,j=(0,m.H)(v),y=("Pending"===j||"Running"===j)&&!(null==v?void 0:v.stdout);return s.useEffect(()=>{let n;return(null==v?void 0:v.createdAt)&&!(null==v?void 0:v.finishedAt)&&(n=window.setTimeout(()=>{b()},5e3)),()=>{n&&clearInterval(n)}},[v]),(0,r.jsx)(r.Fragment,{children:p?(0,r.jsx)(h.cg,{}):(0,r.jsx)("div",{className:"flex flex-1 flex-col items-stretch gap-2",children:v&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{onClick:()=>a.back(),className:"-ml-1 flex cursor-pointer items-center transition-opacity hover:opacity-60",children:[(0,r.jsx)($.IconChevronLeft,{className:"mr-1 h-6 w-6"}),(0,r.jsx)("h2",{className:"scroll-m-20 text-3xl font-bold tracking-tight first:mt-0",children:(0,m.Y)(v.job)})]}),(0,r.jsxs)("div",{className:"mb-2 flex gap-x-5 text-sm text-muted-foreground lg:gap-x-10",children:[(0,r.jsxs)("div",{className:"flex items-center gap-1",children:[(0,r.jsx)($.IconStopWatch,{}),(0,r.jsxs)("p",{children:["State: ",j]})]}),v.createdAt&&(0,r.jsxs)("div",{className:"flex items-center gap-1",children:[(0,r.jsx)($.IconClock,{}),(0,r.jsxs)("p",{children:["Created:"," ",c()(v.createdAt).format("YYYY-MM-DD HH:mm")]})]}),v.startedAt&&(0,r.jsxs)("div",{className:"flex items-center gap-1",children:[(0,r.jsx)($.IconClock,{}),(0,r.jsxs)("p",{children:["Started:"," ",c()(v.startedAt).format("YYYY-MM-DD HH:mm")]})]}),v.createdAt&&v.finishedAt&&(0,r.jsxs)("div",{className:"flex items-center gap-1",children:[(0,r.jsx)($.IconHistory,{}),(0,r.jsxs)("p",{children:["Duration:"," ",d()(c().duration(c()(v.finishedAt).diff(v.startedAt)).asMilliseconds())]})]})]}),(0,r.jsx)("div",{className:"flex flex-1 flex-col",children:(0,r.jsx)(I,{value:null==v?void 0:v.stdout,pending:y})})]})})})}function I(n){let{children:e,className:t,value:s,pending:i,...o}=n;return(0,r.jsxs)("div",{className:(0,g.cn)("relative mt-2 h-[72vh] w-full overflow-y-auto overflow-x-hidden rounded-lg border bg-gray-50 font-mono text-[0.9rem] dark:bg-gray-800",t),...o,children:[i&&!s&&(0,r.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-background/60",children:(0,r.jsx)($.IconSpinner,{className:"h-8 w-8"})}),s&&(0,r.jsx)("pre",{className:"whitespace-pre-wrap p-4",children:(0,r.jsx)(a.Z,{children:s})})]})}},17484:function(n,e,t){"use strict";t.d(e,{H:function(){return a},Y:function(){return i}});var r=t(74630);let s={scheduler_git:"Git",scheduler_github_gitlab:"Github / Gitlab",web_crawler:"Docs"};function i(n){return n in s?s[n]:n}function a(n){return n?(0,r.Z)(n.exitCode)?n.startedAt?"Running":"Pending":0===n.exitCode?"Success":"Failed":"Pending"}},90379:function(n,e,t){"use strict";t.d(e,{PF:function(){return d},cg:function(){return a},tB:function(){return o}});var r=t(36164),s=t(57288),i=t(3448);let a=n=>{let{className:e,...t}=n;return(0,r.jsxs)("div",{className:(0,s.cn)("space-y-3",e),...t,children:[(0,r.jsx)(i.O,{className:"h-4 w-full"}),(0,r.jsx)(i.O,{className:"h-4 w-full"}),(0,r.jsx)(i.O,{className:"h-4 w-full"}),(0,r.jsx)(i.O,{className:"h-4 w-full"})]})},o=n=>{let{className:e,...t}=n;return(0,r.jsx)(i.O,{className:(0,s.cn)("h-4 w-full",e),...t})},d=n=>{let{className:e,...t}=n;return(0,r.jsxs)("div",{className:(0,s.cn)("flex flex-col gap-3",e),...t,children:[(0,r.jsx)(i.O,{className:"h-4 w-[20%]"}),(0,r.jsx)(i.O,{className:"h-4 w-full"}),(0,r.jsx)(i.O,{className:"h-4 w-[20%]"}),(0,r.jsx)(i.O,{className:"h-4 w-full"})]})}},3448:function(n,e,t){"use strict";t.d(e,{O:function(){return i}});var r=t(36164),s=t(57288);function i(n){let{className:e,...t}=n;return(0,r.jsx)("div",{className:(0,s.cn)("h-4 animate-pulse rounded-md bg-border",e),...t})}},70410:function(n,e,t){"use strict";t.d(e,{Cl:function(){return l},D7:function(){return h},DQ:function(){return d},GG:function(){return a},Gx:function(){return m},K5:function(){return y},S1:function(){return i},TH:function(){return u},XL:function(){return p},Y6:function(){return c},g0:function(){return j},gI:function(){return x},hA:function(){return I},kb:function(){return f},lE:function(){return s},md:function(){return v},r4:function(){return b},ts:function(){return g},yB:function(){return o},zz:function(){return $}});var r=t(43240);let s=(0,r.BX)("\n query ListInvitations(\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n invitations(after: $after, before: $before, first: $first, last: $last) {\n edges {\n node {\n id\n email\n code\n createdAt\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),i=(0,r.BX)("\n query gitRepositories(\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n gitRepositories(\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n name\n gitUrl\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),a=(0,r.BX)("\n query ListJobRuns(\n $ids: [ID!]\n $jobs: [String!]\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n jobRuns(\n ids: $ids\n jobs: $jobs\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n job\n createdAt\n startedAt\n finishedAt\n exitCode\n stdout\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),o=(0,r.BX)("\n query GetJobRunStats($jobs: [String!]) {\n jobRunStats(jobs: $jobs) {\n success\n failed\n pending\n }\n }\n"),d=(0,r.BX)("\n query ListJobs {\n jobs\n }\n"),u=(0,r.BX)("\n query ListUsers($after: String, $before: String, $first: Int, $last: Int) {\n users(after: $after, before: $before, first: $first, last: $last) {\n edges {\n node {\n id\n email\n isAdmin\n isOwner\n createdAt\n active\n name\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),c=(0,r.BX)("\n query DailyStatsInPastYear($users: [ID!]) {\n dailyStatsInPastYear(users: $users) {\n start\n end\n completions\n selects\n views\n }\n }\n"),l=(0,r.BX)("\n query DailyStats(\n $start: DateTime!\n $end: DateTime!\n $users: [ID!]\n $languages: [Language!]\n ) {\n dailyStats(start: $start, end: $end, users: $users, languages: $languages) {\n start\n end\n completions\n selects\n views\n language\n }\n }\n"),f=(0,r.BX)("\n query ListIntegrations(\n $ids: [ID!]\n $kind: IntegrationKind\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n integrations(\n ids: $ids\n kind: $kind\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n displayName\n status\n apiBase\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),g=(0,r.BX)("\n query ListIntegratedRepositories(\n $ids: [ID!]\n $kind: IntegrationKind\n $active: Boolean\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n integratedRepositories(\n ids: $ids\n kind: $kind\n active: $active\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n displayName\n gitUrl\n active\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n startedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),$=(0,r.BX)("\n query RepositoryList {\n repositoryList {\n id\n name\n kind\n gitUrl\n refs {\n name\n commit\n }\n }\n }\n"),h=(0,r.BX)("\n query RepositorySearch(\n $kind: RepositoryKind!\n $id: ID!\n $rev: String\n $pattern: String!\n ) {\n repositorySearch(kind: $kind, id: $id, rev: $rev, pattern: $pattern) {\n type\n path\n indices\n }\n }\n"),m=(0,r.BX)("\n query ContextInfo {\n contextInfo {\n sources {\n id\n sourceKind\n sourceId\n sourceName\n }\n }\n }\n"),x=(0,r.BX)("\n query UserGroups {\n userGroups {\n id\n name\n createdAt\n updatedAt\n members {\n user {\n id\n email\n name\n createdAt\n }\n isGroupAdmin\n createdAt\n updatedAt\n }\n }\n }\n"),I=(0,r.BX)("\n query sourceIdAccessPolicies($sourceId: String!) {\n sourceIdAccessPolicies(sourceId: $sourceId) {\n sourceId\n read {\n id\n name\n }\n }\n }\n"),p=(0,r.BX)("\n query ListThreads(\n $ids: [ID!]\n $isEphemeral: Boolean\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n threads(\n ids: $ids\n isEphemeral: $isEphemeral\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n userId\n createdAt\n updatedAt\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),b=(0,r.BX)("\n query ListThreadMessages(\n $threadId: ID!\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n threadMessages(\n threadId: $threadId\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n threadId\n codeSourceId\n role\n content\n attachment {\n code {\n gitUrl\n commit\n filepath\n language\n content\n startLine\n }\n clientCode {\n filepath\n content\n startLine\n }\n doc {\n __typename\n ... on MessageAttachmentWebDoc {\n title\n link\n content\n }\n ... on MessageAttachmentIssueDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n closed\n }\n ... on MessageAttachmentPullDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n merged\n }\n }\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),v=(0,r.BX)("\n mutation SetThreadPersisted($threadId: ID!) {\n setThreadPersisted(threadId: $threadId)\n }\n"),j=(0,r.BX)("\n query Notifications {\n notifications {\n id\n content\n read\n createdAt\n }\n }\n"),y=(0,r.BX)("\n query RepositorySourceList {\n repositoryList {\n id\n name\n kind\n gitUrl\n sourceId\n sourceName\n sourceKind\n }\n }\n")}},function(n){n.O(0,[8415,7565,7430,55,7812,7651,1600,7288,1565,3240,3375,5289,1744],function(){return n(n.s=51842)}),_N_E=n.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/(logs)/jobs/detail/page-fe9b8ac789aa12da.js b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/(logs)/jobs/detail/page-fe9b8ac789aa12da.js deleted file mode 100644 index bc36b657c064..000000000000 --- a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/(logs)/jobs/detail/page-fe9b8ac789aa12da.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1908],{51842:function(n,e,t){Promise.resolve().then(t.bind(t,77930))},77930:function(n,e,t){"use strict";t.r(e),t.d(e,{default:function(){return x}});var r=t(36164),s=t(3546),i=t(11978),a=t(70787),o=t(97651),d=t.n(o),u=t(99092),c=t.n(u),l=t(40055),f=t(70410),g=t(57288),$=t(81565),h=t(90379),m=t(17484);function x(){var n,e,t;let a=(0,i.useRouter)(),o=(0,i.useSearchParams)(),u=o.get("id"),[{data:g,error:x,fetching:I},p]=(0,l.aM)({query:f.GG,variables:{ids:[u]},pause:!u}),v=null==g?void 0:null===(t=g.jobRuns)||void 0===t?void 0:null===(e=t.edges)||void 0===e?void 0:null===(n=e[0])||void 0===n?void 0:n.node,j=(0,m.H)(v),y=("Pending"===j||"Running"===j)&&!(null==v?void 0:v.stdout);return s.useEffect(()=>{let n;return(null==v?void 0:v.createdAt)&&!(null==v?void 0:v.finishedAt)&&(n=window.setTimeout(()=>{p()},5e3)),()=>{n&&clearInterval(n)}},[v]),(0,r.jsx)(r.Fragment,{children:I?(0,r.jsx)(h.cg,{}):(0,r.jsx)("div",{className:"flex flex-1 flex-col items-stretch gap-2",children:v&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{onClick:()=>a.back(),className:"-ml-1 flex cursor-pointer items-center transition-opacity hover:opacity-60",children:[(0,r.jsx)($.IconChevronLeft,{className:"mr-1 h-6 w-6"}),(0,r.jsx)("h2",{className:"scroll-m-20 text-3xl font-bold tracking-tight first:mt-0",children:(0,m.Y)(v.job)})]}),(0,r.jsxs)("div",{className:"mb-2 flex gap-x-5 text-sm text-muted-foreground lg:gap-x-10",children:[(0,r.jsxs)("div",{className:"flex items-center gap-1",children:[(0,r.jsx)($.IconStopWatch,{}),(0,r.jsxs)("p",{children:["State: ",j]})]}),v.createdAt&&(0,r.jsxs)("div",{className:"flex items-center gap-1",children:[(0,r.jsx)($.IconClock,{}),(0,r.jsxs)("p",{children:["Created:"," ",c()(v.createdAt).format("YYYY-MM-DD HH:mm")]})]}),v.startedAt&&(0,r.jsxs)("div",{className:"flex items-center gap-1",children:[(0,r.jsx)($.IconClock,{}),(0,r.jsxs)("p",{children:["Started:"," ",c()(v.startedAt).format("YYYY-MM-DD HH:mm")]})]}),v.createdAt&&v.finishedAt&&(0,r.jsxs)("div",{className:"flex items-center gap-1",children:[(0,r.jsx)($.IconHistory,{}),(0,r.jsxs)("p",{children:["Duration:"," ",d()(c().duration(c()(v.finishedAt).diff(v.startedAt)).asMilliseconds())]})]})]}),(0,r.jsx)("div",{className:"flex flex-1 flex-col",children:(0,r.jsx)(b,{value:null==v?void 0:v.stdout,pending:y})})]})})})}function b(n){let{children:e,className:t,value:s,pending:i,...o}=n;return(0,r.jsxs)("div",{className:(0,g.cn)("relative mt-2 h-[72vh] w-full overflow-y-auto overflow-x-hidden rounded-lg border bg-gray-50 font-mono text-[0.9rem] dark:bg-gray-800",t),...o,children:[i&&!s&&(0,r.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-background/60",children:(0,r.jsx)($.IconSpinner,{className:"h-8 w-8"})}),s&&(0,r.jsx)("pre",{className:"whitespace-pre-wrap p-4",children:(0,r.jsx)(a.Z,{children:s})})]})}},17484:function(n,e,t){"use strict";t.d(e,{H:function(){return a},Y:function(){return i}});var r=t(74630);let s={scheduler_git:"Git",scheduler_github_gitlab:"Github / Gitlab",web_crawler:"Docs"};function i(n){return n in s?s[n]:n}function a(n){return n?(0,r.Z)(n.exitCode)?n.startedAt?"Running":"Pending":0===n.exitCode?"Success":"Failed":"Pending"}},90379:function(n,e,t){"use strict";t.d(e,{PF:function(){return d},cg:function(){return a},tB:function(){return o}});var r=t(36164),s=t(57288),i=t(3448);let a=n=>{let{className:e,...t}=n;return(0,r.jsxs)("div",{className:(0,s.cn)("space-y-3",e),...t,children:[(0,r.jsx)(i.O,{className:"h-4 w-full"}),(0,r.jsx)(i.O,{className:"h-4 w-full"}),(0,r.jsx)(i.O,{className:"h-4 w-full"}),(0,r.jsx)(i.O,{className:"h-4 w-full"})]})},o=n=>{let{className:e,...t}=n;return(0,r.jsx)(i.O,{className:(0,s.cn)("h-4 w-full",e),...t})},d=n=>{let{className:e,...t}=n;return(0,r.jsxs)("div",{className:(0,s.cn)("flex flex-col gap-3",e),...t,children:[(0,r.jsx)(i.O,{className:"h-4 w-[20%]"}),(0,r.jsx)(i.O,{className:"h-4 w-full"}),(0,r.jsx)(i.O,{className:"h-4 w-[20%]"}),(0,r.jsx)(i.O,{className:"h-4 w-full"})]})}},3448:function(n,e,t){"use strict";t.d(e,{O:function(){return i}});var r=t(36164),s=t(57288);function i(n){let{className:e,...t}=n;return(0,r.jsx)("div",{className:(0,s.cn)("h-4 animate-pulse rounded-md bg-border",e),...t})}},70410:function(n,e,t){"use strict";t.d(e,{Cl:function(){return l},D7:function(){return h},DQ:function(){return d},GG:function(){return a},Gx:function(){return m},S1:function(){return i},TH:function(){return u},XL:function(){return I},Y6:function(){return c},g0:function(){return j},gI:function(){return x},hA:function(){return b},kb:function(){return f},lE:function(){return s},md:function(){return v},r4:function(){return p},ts:function(){return g},yB:function(){return o},zz:function(){return $}});var r=t(43240);let s=(0,r.BX)("\n query ListInvitations(\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n invitations(after: $after, before: $before, first: $first, last: $last) {\n edges {\n node {\n id\n email\n code\n createdAt\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),i=(0,r.BX)("\n query gitRepositories(\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n gitRepositories(\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n name\n gitUrl\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),a=(0,r.BX)("\n query ListJobRuns(\n $ids: [ID!]\n $jobs: [String!]\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n jobRuns(\n ids: $ids\n jobs: $jobs\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n job\n createdAt\n startedAt\n finishedAt\n exitCode\n stdout\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),o=(0,r.BX)("\n query GetJobRunStats($jobs: [String!]) {\n jobRunStats(jobs: $jobs) {\n success\n failed\n pending\n }\n }\n"),d=(0,r.BX)("\n query ListJobs {\n jobs\n }\n"),u=(0,r.BX)("\n query ListUsers($after: String, $before: String, $first: Int, $last: Int) {\n users(after: $after, before: $before, first: $first, last: $last) {\n edges {\n node {\n id\n email\n isAdmin\n isOwner\n createdAt\n active\n name\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),c=(0,r.BX)("\n query DailyStatsInPastYear($users: [ID!]) {\n dailyStatsInPastYear(users: $users) {\n start\n end\n completions\n selects\n views\n }\n }\n"),l=(0,r.BX)("\n query DailyStats(\n $start: DateTime!\n $end: DateTime!\n $users: [ID!]\n $languages: [Language!]\n ) {\n dailyStats(start: $start, end: $end, users: $users, languages: $languages) {\n start\n end\n completions\n selects\n views\n language\n }\n }\n"),f=(0,r.BX)("\n query ListIntegrations(\n $ids: [ID!]\n $kind: IntegrationKind\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n integrations(\n ids: $ids\n kind: $kind\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n displayName\n status\n apiBase\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),g=(0,r.BX)("\n query ListIntegratedRepositories(\n $ids: [ID!]\n $kind: IntegrationKind\n $active: Boolean\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n integratedRepositories(\n ids: $ids\n kind: $kind\n active: $active\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n displayName\n gitUrl\n active\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n startedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),$=(0,r.BX)("\n query RepositoryList {\n repositoryList {\n id\n name\n kind\n gitUrl\n refs {\n name\n commit\n }\n }\n }\n"),h=(0,r.BX)("\n query RepositorySearch(\n $kind: RepositoryKind!\n $id: ID!\n $rev: String\n $pattern: String!\n ) {\n repositorySearch(kind: $kind, id: $id, rev: $rev, pattern: $pattern) {\n type\n path\n indices\n }\n }\n"),m=(0,r.BX)("\n query ContextInfo {\n contextInfo {\n sources {\n id\n sourceKind\n sourceId\n sourceName\n }\n }\n }\n"),x=(0,r.BX)("\n query UserGroups {\n userGroups {\n id\n name\n createdAt\n updatedAt\n members {\n user {\n id\n email\n name\n createdAt\n }\n isGroupAdmin\n createdAt\n updatedAt\n }\n }\n }\n"),b=(0,r.BX)("\n query sourceIdAccessPolicies($sourceId: String!) {\n sourceIdAccessPolicies(sourceId: $sourceId) {\n sourceId\n read {\n id\n name\n }\n }\n }\n"),I=(0,r.BX)("\n query ListThreads(\n $ids: [ID!]\n $isEphemeral: Boolean\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n threads(\n ids: $ids\n isEphemeral: $isEphemeral\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n userId\n createdAt\n updatedAt\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),p=(0,r.BX)("\n query ListThreadMessages(\n $threadId: ID!\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n threadMessages(\n threadId: $threadId\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n threadId\n role\n content\n attachment {\n code {\n gitUrl\n filepath\n language\n content\n startLine\n }\n clientCode {\n filepath\n content\n startLine\n }\n doc {\n __typename\n ... on MessageAttachmentWebDoc {\n title\n link\n content\n }\n ... on MessageAttachmentIssueDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n closed\n }\n ... on MessageAttachmentPullDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n merged\n }\n }\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),v=(0,r.BX)("\n mutation SetThreadPersisted($threadId: ID!) {\n setThreadPersisted(threadId: $threadId)\n }\n"),j=(0,r.BX)("\n query Notifications {\n notifications {\n id\n content\n read\n createdAt\n }\n }\n")}},function(n){n.O(0,[8415,7565,7430,55,7812,7651,1600,7288,1565,3240,3375,5289,1744],function(){return n(n.s=51842)}),_N_E=n.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/(logs)/jobs/page-77cf30b40ecb0574.js b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/(logs)/jobs/page-77cf30b40ecb0574.js new file mode 100644 index 000000000000..532c894a6331 --- /dev/null +++ b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/(logs)/jobs/page-77cf30b40ecb0574.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[699],{66756:function(n,e,t){Promise.resolve().then(t.bind(t,99968))},99968:function(n,e,t){"use strict";t.r(e),t.d(e,{default:function(){return S},metadata:function(){return N}});var r=t(36164),s=t(40055),i=t(70410),a=t(99047),o=t(6230),d=t(3546),u=t(70652),l=t.n(u),c=t(97651),f=t.n(c),h=t(74630),m=t(99092),g=t.n(m),x=t(57288),b=t(81565),$=t(29),p=t(90379),j=t(17484);function v(n){let{count:e,activeClass:t,tooltip:s}=n;return(0,r.jsx)($.pn,{delayDuration:0,children:(0,r.jsxs)($.u,{children:[(0,r.jsx)($.aJ,{children:(0,r.jsx)("div",{className:(0,x.cn)("flex h-8 w-8 cursor-default items-center justify-center rounded-full",t),children:e||0})}),(0,r.jsx)($._v,{children:(0,r.jsx)("p",{children:s})})]})})}function I(n){let{name:e}=n,[{data:t,fetching:a}]=(0,s.aM)({query:i.yB,variables:{jobs:[e]}});return(0,r.jsx)(o.Z,{loading:a,fallback:(0,r.jsx)(p.tB,{className:"w-1/3"}),children:(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)(v,{count:null==t?void 0:t.jobRunStats.success,activeClass:"bg-green-600 text-xs text-white",tooltip:"Success"}),(0,r.jsx)(v,{count:null==t?void 0:t.jobRunStats.pending,activeClass:"bg-blue-600 text-xs text-white",tooltip:"Pending"}),(0,r.jsx)(v,{count:null==t?void 0:t.jobRunStats.failed,activeClass:"bg-red-600 text-xs text-white",tooltip:"Failed"})]})})}function y(n){var e;let{name:t}=n,[{data:u,fetching:c}]=(0,s.aM)({query:i.GG,variables:{last:10,jobs:[t]}}),m=null==u?void 0:null===(e=u.jobRuns)||void 0===e?void 0:e.edges,v=(0,d.useMemo)(()=>null==m?void 0:m.slice().reverse(),[m]),y=null==v?void 0:v[0],N=null==v?void 0:v.find(n=>!!n.node.finishedAt),S=N?g()(N.node.finishedAt).format("YYYY-MM-DD HH:mm"):null;return(0,r.jsx)(o.Z,{loading:c,fallback:(0,r.jsx)(a.SC,{children:(0,r.jsx)(a.pj,{colSpan:4,children:(0,r.jsx)(p.tB,{})})}),children:(0,r.jsxs)(a.SC,{className:"h-16",children:[(0,r.jsx)(a.pj,{className:"font-bold",children:(0,j.Y)(t)}),(0,r.jsx)(a.pj,{children:(0,r.jsx)("div",{className:"grid grid-cols-5 flex-wrap gap-1.5 xl:flex",children:null==v?void 0:v.map(n=>{var e;let{createdAt:t,finishedAt:s,startedAt:i}=n.node,a=!s&&!!i,o=t&&g()(t).format("YYYY-MM-DD HH:mm"),d=null!==(e=i&&s&&f().humanizer({language:"shortEn",languages:{shortEn:{d:()=>"d",h:()=>"h",m:()=>"m",s:()=>"s"}}})(g().duration(g()(s).diff(i)).asMilliseconds(),{units:["d","h","m","s"],round:!1,largest:1,spacer:"",language:"shortEn"}))&&void 0!==e?e:null,u="";if(null!==d){let n=d.endsWith("s");if(n)u=d;else{let n=d.charAt(d.length-1),e=parseInt(d)+1;u=e+n}}return(0,r.jsx)($.pn,{delayDuration:0,children:(0,r.jsxs)($.u,{children:[(0,r.jsx)($.aJ,{asChild:!0,children:(0,r.jsxs)(l(),{href:"/jobs/detail?id=".concat(n.node.id),className:(0,x.cn)("flex h-8 w-8 items-center justify-center rounded text-xs text-white hover:opacity-70",{"bg-blue-600":(0,h.Z)(n.node.exitCode),"bg-green-600":0===n.node.exitCode,"bg-red-600":!(0,h.Z)(n.node.exitCode)&&0!==n.node.exitCode}),children:[u,a&&(0,r.jsx)(b.IconSpinner,{})]})}),(0,r.jsx)($._v,{children:o&&(0,r.jsx)("p",{children:o})})]})},n.node.id)})})}),(0,r.jsx)(a.pj,{children:(0,r.jsx)(l(),{href:"/jobs/detail?id=".concat(null==y?void 0:y.node.id),className:"flex items-center underline",children:(0,r.jsx)("p",{children:S})})}),(0,r.jsx)(a.pj,{children:(0,r.jsx)(I,{name:t})})]})})}let N={title:"Jobs"};function S(){let[{data:n,fetching:e}]=(0,s.aM)({query:i.DQ});return(0,r.jsx)(o.Z,{loading:e,children:(0,r.jsxs)(a.iA,{children:[(0,r.jsx)(a.xD,{children:(0,r.jsxs)(a.SC,{children:[(0,r.jsx)(a.ss,{className:"w-[20%]",children:"Job"}),(0,r.jsx)(a.ss,{className:"w-56 xl:w-auto",children:"Recent Tasks"}),(0,r.jsx)(a.ss,{className:"w-auto xl:w-[20%]",children:"Last Run"}),(0,r.jsx)(a.ss,{className:"w-[20%]",children:"Job Runs"})]})}),(0,r.jsx)(a.RM,{children:null==n?void 0:n.jobs.map(n=>(0,r.jsx)(y,{name:n},n))})]})})}},17484:function(n,e,t){"use strict";t.d(e,{H:function(){return a},Y:function(){return i}});var r=t(74630);let s={scheduler_git:"Git",scheduler_github_gitlab:"Github / Gitlab",web_crawler:"Docs"};function i(n){return n in s?s[n]:n}function a(n){return n?(0,r.Z)(n.exitCode)?n.startedAt?"Running":"Pending":0===n.exitCode?"Success":"Failed":"Pending"}},6230:function(n,e,t){"use strict";var r=t(36164),s=t(3546),i=t(24449),a=t(90379);e.Z=n=>{let{loading:e,fallback:t,delay:o,children:d}=n,[u,l]=s.useState(!e),[c]=(0,i.n)(u,null!=o?o:200);return(s.useEffect(()=>{e||u||l(!0)},[e]),c)?d:t||(0,r.jsx)(a.cg,{})}},90379:function(n,e,t){"use strict";t.d(e,{PF:function(){return d},cg:function(){return a},tB:function(){return o}});var r=t(36164),s=t(57288),i=t(3448);let a=n=>{let{className:e,...t}=n;return(0,r.jsxs)("div",{className:(0,s.cn)("space-y-3",e),...t,children:[(0,r.jsx)(i.O,{className:"h-4 w-full"}),(0,r.jsx)(i.O,{className:"h-4 w-full"}),(0,r.jsx)(i.O,{className:"h-4 w-full"}),(0,r.jsx)(i.O,{className:"h-4 w-full"})]})},o=n=>{let{className:e,...t}=n;return(0,r.jsx)(i.O,{className:(0,s.cn)("h-4 w-full",e),...t})},d=n=>{let{className:e,...t}=n;return(0,r.jsxs)("div",{className:(0,s.cn)("flex flex-col gap-3",e),...t,children:[(0,r.jsx)(i.O,{className:"h-4 w-[20%]"}),(0,r.jsx)(i.O,{className:"h-4 w-full"}),(0,r.jsx)(i.O,{className:"h-4 w-[20%]"}),(0,r.jsx)(i.O,{className:"h-4 w-full"})]})}},3448:function(n,e,t){"use strict";t.d(e,{O:function(){return i}});var r=t(36164),s=t(57288);function i(n){let{className:e,...t}=n;return(0,r.jsx)("div",{className:(0,s.cn)("h-4 animate-pulse rounded-md bg-border",e),...t})}},99047:function(n,e,t){"use strict";t.d(e,{RM:function(){return d},SC:function(){return l},iA:function(){return a},pj:function(){return f},ss:function(){return c},xD:function(){return o}});var r=t(36164),s=t(3546),i=t(57288);let a=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)("table",{ref:e,className:(0,i.cn)("w-full caption-bottom text-sm",t),...s})});a.displayName="Table";let o=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)("thead",{ref:e,className:(0,i.cn)("[&_tr]:border-b",t),...s})});o.displayName="TableHeader";let d=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)("tbody",{ref:e,className:(0,i.cn)("[&_tr:last-child]:border-0",t),...s})});d.displayName="TableBody";let u=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)("tfoot",{ref:e,className:(0,i.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",t),...s})});u.displayName="TableFooter";let l=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)("tr",{ref:e,className:(0,i.cn)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",t),...s})});l.displayName="TableRow";let c=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)("th",{ref:e,className:(0,i.cn)("h-12 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",t),...s})});c.displayName="TableHead";let f=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)("td",{ref:e,className:(0,i.cn)("p-2 align-middle [&:has([role=checkbox])]:pr-0",t),...s})});f.displayName="TableCell";let h=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)("caption",{ref:e,className:(0,i.cn)("mt-4 text-sm text-muted-foreground",t),...s})});h.displayName="TableCaption"},29:function(n,e,t){"use strict";t.d(e,{_v:function(){return l},aJ:function(){return u},pn:function(){return o},u:function(){return d}});var r=t(36164),s=t(3546),i=t(44421),a=t(57288);let o=i.zt,d=i.fC,u=i.xz;i.h_;let l=s.forwardRef((n,e)=>{let{className:t,sideOffset:s=4,...o}=n;return(0,r.jsx)(i.VY,{ref:e,sideOffset:s,className:(0,a.cn)("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-xs font-medium text-popover-foreground shadow-md animate-in fade-in-50 data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-1 data-[side=right]:slide-in-from-left-1 data-[side=top]:slide-in-from-bottom-1",t),...o})});l.displayName=i.VY.displayName},24449:function(n,e,t){"use strict";t.d(e,{S:function(){return o},n:function(){return d}});var r=t(3546),s=t(45391),i=t(16784);let a=n=>{let e=(0,i.d)(n);r.useEffect(()=>()=>{e.current()},[])};function o(n,e,t){let o=(0,i.d)(n),d=r.useMemo(()=>(0,s.Z)(function(){for(var n=arguments.length,e=Array(n),t=0;t{var n;null==t||null===(n=t.onUnmount)||void 0===n||n.call(t,d),d.cancel()}),{run:d,cancel:d.cancel,flush:d.flush}}function d(n,e,t){let[s,i]=r.useState(n),{run:a}=o(()=>{i(n)},e,t);return r.useEffect(()=>{a()},[n]),[s,i]}},16784:function(n,e,t){"use strict";t.d(e,{d:function(){return s}});var r=t(3546);function s(n){let e=r.useRef(n);return e.current=n,e}},70410:function(n,e,t){"use strict";t.d(e,{Cl:function(){return c},D7:function(){return g},DQ:function(){return d},GG:function(){return a},Gx:function(){return x},K5:function(){return y},S1:function(){return i},TH:function(){return u},XL:function(){return p},Y6:function(){return l},g0:function(){return I},gI:function(){return b},hA:function(){return $},kb:function(){return f},lE:function(){return s},md:function(){return v},r4:function(){return j},ts:function(){return h},yB:function(){return o},zz:function(){return m}});var r=t(43240);let s=(0,r.BX)("\n query ListInvitations(\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n invitations(after: $after, before: $before, first: $first, last: $last) {\n edges {\n node {\n id\n email\n code\n createdAt\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),i=(0,r.BX)("\n query gitRepositories(\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n gitRepositories(\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n name\n gitUrl\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),a=(0,r.BX)("\n query ListJobRuns(\n $ids: [ID!]\n $jobs: [String!]\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n jobRuns(\n ids: $ids\n jobs: $jobs\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n job\n createdAt\n startedAt\n finishedAt\n exitCode\n stdout\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),o=(0,r.BX)("\n query GetJobRunStats($jobs: [String!]) {\n jobRunStats(jobs: $jobs) {\n success\n failed\n pending\n }\n }\n"),d=(0,r.BX)("\n query ListJobs {\n jobs\n }\n"),u=(0,r.BX)("\n query ListUsers($after: String, $before: String, $first: Int, $last: Int) {\n users(after: $after, before: $before, first: $first, last: $last) {\n edges {\n node {\n id\n email\n isAdmin\n isOwner\n createdAt\n active\n name\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),l=(0,r.BX)("\n query DailyStatsInPastYear($users: [ID!]) {\n dailyStatsInPastYear(users: $users) {\n start\n end\n completions\n selects\n views\n }\n }\n"),c=(0,r.BX)("\n query DailyStats(\n $start: DateTime!\n $end: DateTime!\n $users: [ID!]\n $languages: [Language!]\n ) {\n dailyStats(start: $start, end: $end, users: $users, languages: $languages) {\n start\n end\n completions\n selects\n views\n language\n }\n }\n"),f=(0,r.BX)("\n query ListIntegrations(\n $ids: [ID!]\n $kind: IntegrationKind\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n integrations(\n ids: $ids\n kind: $kind\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n displayName\n status\n apiBase\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),h=(0,r.BX)("\n query ListIntegratedRepositories(\n $ids: [ID!]\n $kind: IntegrationKind\n $active: Boolean\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n integratedRepositories(\n ids: $ids\n kind: $kind\n active: $active\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n displayName\n gitUrl\n active\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n startedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),m=(0,r.BX)("\n query RepositoryList {\n repositoryList {\n id\n name\n kind\n gitUrl\n refs {\n name\n commit\n }\n }\n }\n"),g=(0,r.BX)("\n query RepositorySearch(\n $kind: RepositoryKind!\n $id: ID!\n $rev: String\n $pattern: String!\n ) {\n repositorySearch(kind: $kind, id: $id, rev: $rev, pattern: $pattern) {\n type\n path\n indices\n }\n }\n"),x=(0,r.BX)("\n query ContextInfo {\n contextInfo {\n sources {\n id\n sourceKind\n sourceId\n sourceName\n }\n }\n }\n"),b=(0,r.BX)("\n query UserGroups {\n userGroups {\n id\n name\n createdAt\n updatedAt\n members {\n user {\n id\n email\n name\n createdAt\n }\n isGroupAdmin\n createdAt\n updatedAt\n }\n }\n }\n"),$=(0,r.BX)("\n query sourceIdAccessPolicies($sourceId: String!) {\n sourceIdAccessPolicies(sourceId: $sourceId) {\n sourceId\n read {\n id\n name\n }\n }\n }\n"),p=(0,r.BX)("\n query ListThreads(\n $ids: [ID!]\n $isEphemeral: Boolean\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n threads(\n ids: $ids\n isEphemeral: $isEphemeral\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n userId\n createdAt\n updatedAt\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),j=(0,r.BX)("\n query ListThreadMessages(\n $threadId: ID!\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n threadMessages(\n threadId: $threadId\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n threadId\n codeSourceId\n role\n content\n attachment {\n code {\n gitUrl\n commit\n filepath\n language\n content\n startLine\n }\n clientCode {\n filepath\n content\n startLine\n }\n doc {\n __typename\n ... on MessageAttachmentWebDoc {\n title\n link\n content\n }\n ... on MessageAttachmentIssueDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n closed\n }\n ... on MessageAttachmentPullDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n merged\n }\n }\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),v=(0,r.BX)("\n mutation SetThreadPersisted($threadId: ID!) {\n setThreadPersisted(threadId: $threadId)\n }\n"),I=(0,r.BX)("\n query Notifications {\n notifications {\n id\n content\n read\n createdAt\n }\n }\n"),y=(0,r.BX)("\n query RepositorySourceList {\n repositoryList {\n id\n name\n kind\n gitUrl\n sourceId\n sourceName\n sourceKind\n }\n }\n")}},function(n){n.O(0,[8415,7565,7430,55,7812,4007,4752,3449,4421,7651,6312,7288,1565,3240,3375,5289,1744],function(){return n(n.s=66756)}),_N_E=n.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/(logs)/jobs/page-ab1d487d7a066bc8.js b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/(logs)/jobs/page-ab1d487d7a066bc8.js deleted file mode 100644 index 03277ae518cd..000000000000 --- a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/(logs)/jobs/page-ab1d487d7a066bc8.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[699],{66756:function(n,e,t){Promise.resolve().then(t.bind(t,99968))},99968:function(n,e,t){"use strict";t.r(e),t.d(e,{default:function(){return S},metadata:function(){return N}});var r=t(36164),s=t(40055),a=t(70410),i=t(99047),o=t(6230),d=t(3546),l=t(70652),u=t.n(l),c=t(97651),f=t.n(c),h=t(74630),m=t(99092),g=t.n(m),x=t(57288),b=t(81565),$=t(29),p=t(90379),j=t(17484);function v(n){let{count:e,activeClass:t,tooltip:s}=n;return(0,r.jsx)($.pn,{delayDuration:0,children:(0,r.jsxs)($.u,{children:[(0,r.jsx)($.aJ,{children:(0,r.jsx)("div",{className:(0,x.cn)("flex h-8 w-8 cursor-default items-center justify-center rounded-full",t),children:e||0})}),(0,r.jsx)($._v,{children:(0,r.jsx)("p",{children:s})})]})})}function I(n){let{name:e}=n,[{data:t,fetching:i}]=(0,s.aM)({query:a.yB,variables:{jobs:[e]}});return(0,r.jsx)(o.Z,{loading:i,fallback:(0,r.jsx)(p.tB,{className:"w-1/3"}),children:(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)(v,{count:null==t?void 0:t.jobRunStats.success,activeClass:"bg-green-600 text-xs text-white",tooltip:"Success"}),(0,r.jsx)(v,{count:null==t?void 0:t.jobRunStats.pending,activeClass:"bg-blue-600 text-xs text-white",tooltip:"Pending"}),(0,r.jsx)(v,{count:null==t?void 0:t.jobRunStats.failed,activeClass:"bg-red-600 text-xs text-white",tooltip:"Failed"})]})})}function y(n){var e;let{name:t}=n,[{data:l,fetching:c}]=(0,s.aM)({query:a.GG,variables:{last:10,jobs:[t]}}),m=null==l?void 0:null===(e=l.jobRuns)||void 0===e?void 0:e.edges,v=(0,d.useMemo)(()=>null==m?void 0:m.slice().reverse(),[m]),y=null==v?void 0:v[0],N=null==v?void 0:v.find(n=>!!n.node.finishedAt),S=N?g()(N.node.finishedAt).format("YYYY-MM-DD HH:mm"):null;return(0,r.jsx)(o.Z,{loading:c,fallback:(0,r.jsx)(i.SC,{children:(0,r.jsx)(i.pj,{colSpan:4,children:(0,r.jsx)(p.tB,{})})}),children:(0,r.jsxs)(i.SC,{className:"h-16",children:[(0,r.jsx)(i.pj,{className:"font-bold",children:(0,j.Y)(t)}),(0,r.jsx)(i.pj,{children:(0,r.jsx)("div",{className:"grid grid-cols-5 flex-wrap gap-1.5 xl:flex",children:null==v?void 0:v.map(n=>{var e;let{createdAt:t,finishedAt:s,startedAt:a}=n.node,i=!s&&!!a,o=t&&g()(t).format("YYYY-MM-DD HH:mm"),d=null!==(e=a&&s&&f().humanizer({language:"shortEn",languages:{shortEn:{d:()=>"d",h:()=>"h",m:()=>"m",s:()=>"s"}}})(g().duration(g()(s).diff(a)).asMilliseconds(),{units:["d","h","m","s"],round:!1,largest:1,spacer:"",language:"shortEn"}))&&void 0!==e?e:null,l="";if(null!==d){let n=d.endsWith("s");if(n)l=d;else{let n=d.charAt(d.length-1),e=parseInt(d)+1;l=e+n}}return(0,r.jsx)($.pn,{delayDuration:0,children:(0,r.jsxs)($.u,{children:[(0,r.jsx)($.aJ,{asChild:!0,children:(0,r.jsxs)(u(),{href:"/jobs/detail?id=".concat(n.node.id),className:(0,x.cn)("flex h-8 w-8 items-center justify-center rounded text-xs text-white hover:opacity-70",{"bg-blue-600":(0,h.Z)(n.node.exitCode),"bg-green-600":0===n.node.exitCode,"bg-red-600":!(0,h.Z)(n.node.exitCode)&&0!==n.node.exitCode}),children:[l,i&&(0,r.jsx)(b.IconSpinner,{})]})}),(0,r.jsx)($._v,{children:o&&(0,r.jsx)("p",{children:o})})]})},n.node.id)})})}),(0,r.jsx)(i.pj,{children:(0,r.jsx)(u(),{href:"/jobs/detail?id=".concat(null==y?void 0:y.node.id),className:"flex items-center underline",children:(0,r.jsx)("p",{children:S})})}),(0,r.jsx)(i.pj,{children:(0,r.jsx)(I,{name:t})})]})})}let N={title:"Jobs"};function S(){let[{data:n,fetching:e}]=(0,s.aM)({query:a.DQ});return(0,r.jsx)(o.Z,{loading:e,children:(0,r.jsxs)(i.iA,{children:[(0,r.jsx)(i.xD,{children:(0,r.jsxs)(i.SC,{children:[(0,r.jsx)(i.ss,{className:"w-[20%]",children:"Job"}),(0,r.jsx)(i.ss,{className:"w-56 xl:w-auto",children:"Recent Tasks"}),(0,r.jsx)(i.ss,{className:"w-auto xl:w-[20%]",children:"Last Run"}),(0,r.jsx)(i.ss,{className:"w-[20%]",children:"Job Runs"})]})}),(0,r.jsx)(i.RM,{children:null==n?void 0:n.jobs.map(n=>(0,r.jsx)(y,{name:n},n))})]})})}},17484:function(n,e,t){"use strict";t.d(e,{H:function(){return i},Y:function(){return a}});var r=t(74630);let s={scheduler_git:"Git",scheduler_github_gitlab:"Github / Gitlab",web_crawler:"Docs"};function a(n){return n in s?s[n]:n}function i(n){return n?(0,r.Z)(n.exitCode)?n.startedAt?"Running":"Pending":0===n.exitCode?"Success":"Failed":"Pending"}},6230:function(n,e,t){"use strict";var r=t(36164),s=t(3546),a=t(24449),i=t(90379);e.Z=n=>{let{loading:e,fallback:t,delay:o,children:d}=n,[l,u]=s.useState(!e),[c]=(0,a.n)(l,null!=o?o:200);return(s.useEffect(()=>{e||l||u(!0)},[e]),c)?d:t||(0,r.jsx)(i.cg,{})}},90379:function(n,e,t){"use strict";t.d(e,{PF:function(){return d},cg:function(){return i},tB:function(){return o}});var r=t(36164),s=t(57288),a=t(3448);let i=n=>{let{className:e,...t}=n;return(0,r.jsxs)("div",{className:(0,s.cn)("space-y-3",e),...t,children:[(0,r.jsx)(a.O,{className:"h-4 w-full"}),(0,r.jsx)(a.O,{className:"h-4 w-full"}),(0,r.jsx)(a.O,{className:"h-4 w-full"}),(0,r.jsx)(a.O,{className:"h-4 w-full"})]})},o=n=>{let{className:e,...t}=n;return(0,r.jsx)(a.O,{className:(0,s.cn)("h-4 w-full",e),...t})},d=n=>{let{className:e,...t}=n;return(0,r.jsxs)("div",{className:(0,s.cn)("flex flex-col gap-3",e),...t,children:[(0,r.jsx)(a.O,{className:"h-4 w-[20%]"}),(0,r.jsx)(a.O,{className:"h-4 w-full"}),(0,r.jsx)(a.O,{className:"h-4 w-[20%]"}),(0,r.jsx)(a.O,{className:"h-4 w-full"})]})}},3448:function(n,e,t){"use strict";t.d(e,{O:function(){return a}});var r=t(36164),s=t(57288);function a(n){let{className:e,...t}=n;return(0,r.jsx)("div",{className:(0,s.cn)("h-4 animate-pulse rounded-md bg-border",e),...t})}},99047:function(n,e,t){"use strict";t.d(e,{RM:function(){return d},SC:function(){return u},iA:function(){return i},pj:function(){return f},ss:function(){return c},xD:function(){return o}});var r=t(36164),s=t(3546),a=t(57288);let i=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)("table",{ref:e,className:(0,a.cn)("w-full caption-bottom text-sm",t),...s})});i.displayName="Table";let o=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)("thead",{ref:e,className:(0,a.cn)("[&_tr]:border-b",t),...s})});o.displayName="TableHeader";let d=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)("tbody",{ref:e,className:(0,a.cn)("[&_tr:last-child]:border-0",t),...s})});d.displayName="TableBody";let l=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)("tfoot",{ref:e,className:(0,a.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",t),...s})});l.displayName="TableFooter";let u=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)("tr",{ref:e,className:(0,a.cn)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",t),...s})});u.displayName="TableRow";let c=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)("th",{ref:e,className:(0,a.cn)("h-12 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",t),...s})});c.displayName="TableHead";let f=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)("td",{ref:e,className:(0,a.cn)("p-2 align-middle [&:has([role=checkbox])]:pr-0",t),...s})});f.displayName="TableCell";let h=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)("caption",{ref:e,className:(0,a.cn)("mt-4 text-sm text-muted-foreground",t),...s})});h.displayName="TableCaption"},29:function(n,e,t){"use strict";t.d(e,{_v:function(){return u},aJ:function(){return l},pn:function(){return o},u:function(){return d}});var r=t(36164),s=t(3546),a=t(44421),i=t(57288);let o=a.zt,d=a.fC,l=a.xz;a.h_;let u=s.forwardRef((n,e)=>{let{className:t,sideOffset:s=4,...o}=n;return(0,r.jsx)(a.VY,{ref:e,sideOffset:s,className:(0,i.cn)("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-xs font-medium text-popover-foreground shadow-md animate-in fade-in-50 data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-1 data-[side=right]:slide-in-from-left-1 data-[side=top]:slide-in-from-bottom-1",t),...o})});u.displayName=a.VY.displayName},24449:function(n,e,t){"use strict";t.d(e,{S:function(){return o},n:function(){return d}});var r=t(3546),s=t(45391),a=t(16784);let i=n=>{let e=(0,a.d)(n);r.useEffect(()=>()=>{e.current()},[])};function o(n,e,t){let o=(0,a.d)(n),d=r.useMemo(()=>(0,s.Z)(function(){for(var n=arguments.length,e=Array(n),t=0;t{var n;null==t||null===(n=t.onUnmount)||void 0===n||n.call(t,d),d.cancel()}),{run:d,cancel:d.cancel,flush:d.flush}}function d(n,e,t){let[s,a]=r.useState(n),{run:i}=o(()=>{a(n)},e,t);return r.useEffect(()=>{i()},[n]),[s,a]}},16784:function(n,e,t){"use strict";t.d(e,{d:function(){return s}});var r=t(3546);function s(n){let e=r.useRef(n);return e.current=n,e}},70410:function(n,e,t){"use strict";t.d(e,{Cl:function(){return c},D7:function(){return g},DQ:function(){return d},GG:function(){return i},Gx:function(){return x},S1:function(){return a},TH:function(){return l},XL:function(){return p},Y6:function(){return u},g0:function(){return I},gI:function(){return b},hA:function(){return $},kb:function(){return f},lE:function(){return s},md:function(){return v},r4:function(){return j},ts:function(){return h},yB:function(){return o},zz:function(){return m}});var r=t(43240);let s=(0,r.BX)("\n query ListInvitations(\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n invitations(after: $after, before: $before, first: $first, last: $last) {\n edges {\n node {\n id\n email\n code\n createdAt\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),a=(0,r.BX)("\n query gitRepositories(\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n gitRepositories(\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n name\n gitUrl\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),i=(0,r.BX)("\n query ListJobRuns(\n $ids: [ID!]\n $jobs: [String!]\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n jobRuns(\n ids: $ids\n jobs: $jobs\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n job\n createdAt\n startedAt\n finishedAt\n exitCode\n stdout\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),o=(0,r.BX)("\n query GetJobRunStats($jobs: [String!]) {\n jobRunStats(jobs: $jobs) {\n success\n failed\n pending\n }\n }\n"),d=(0,r.BX)("\n query ListJobs {\n jobs\n }\n"),l=(0,r.BX)("\n query ListUsers($after: String, $before: String, $first: Int, $last: Int) {\n users(after: $after, before: $before, first: $first, last: $last) {\n edges {\n node {\n id\n email\n isAdmin\n isOwner\n createdAt\n active\n name\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),u=(0,r.BX)("\n query DailyStatsInPastYear($users: [ID!]) {\n dailyStatsInPastYear(users: $users) {\n start\n end\n completions\n selects\n views\n }\n }\n"),c=(0,r.BX)("\n query DailyStats(\n $start: DateTime!\n $end: DateTime!\n $users: [ID!]\n $languages: [Language!]\n ) {\n dailyStats(start: $start, end: $end, users: $users, languages: $languages) {\n start\n end\n completions\n selects\n views\n language\n }\n }\n"),f=(0,r.BX)("\n query ListIntegrations(\n $ids: [ID!]\n $kind: IntegrationKind\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n integrations(\n ids: $ids\n kind: $kind\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n displayName\n status\n apiBase\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),h=(0,r.BX)("\n query ListIntegratedRepositories(\n $ids: [ID!]\n $kind: IntegrationKind\n $active: Boolean\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n integratedRepositories(\n ids: $ids\n kind: $kind\n active: $active\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n displayName\n gitUrl\n active\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n startedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),m=(0,r.BX)("\n query RepositoryList {\n repositoryList {\n id\n name\n kind\n gitUrl\n refs {\n name\n commit\n }\n }\n }\n"),g=(0,r.BX)("\n query RepositorySearch(\n $kind: RepositoryKind!\n $id: ID!\n $rev: String\n $pattern: String!\n ) {\n repositorySearch(kind: $kind, id: $id, rev: $rev, pattern: $pattern) {\n type\n path\n indices\n }\n }\n"),x=(0,r.BX)("\n query ContextInfo {\n contextInfo {\n sources {\n id\n sourceKind\n sourceId\n sourceName\n }\n }\n }\n"),b=(0,r.BX)("\n query UserGroups {\n userGroups {\n id\n name\n createdAt\n updatedAt\n members {\n user {\n id\n email\n name\n createdAt\n }\n isGroupAdmin\n createdAt\n updatedAt\n }\n }\n }\n"),$=(0,r.BX)("\n query sourceIdAccessPolicies($sourceId: String!) {\n sourceIdAccessPolicies(sourceId: $sourceId) {\n sourceId\n read {\n id\n name\n }\n }\n }\n"),p=(0,r.BX)("\n query ListThreads(\n $ids: [ID!]\n $isEphemeral: Boolean\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n threads(\n ids: $ids\n isEphemeral: $isEphemeral\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n userId\n createdAt\n updatedAt\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),j=(0,r.BX)("\n query ListThreadMessages(\n $threadId: ID!\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n threadMessages(\n threadId: $threadId\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n threadId\n role\n content\n attachment {\n code {\n gitUrl\n filepath\n language\n content\n startLine\n }\n clientCode {\n filepath\n content\n startLine\n }\n doc {\n __typename\n ... on MessageAttachmentWebDoc {\n title\n link\n content\n }\n ... on MessageAttachmentIssueDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n closed\n }\n ... on MessageAttachmentPullDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n merged\n }\n }\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),v=(0,r.BX)("\n mutation SetThreadPersisted($threadId: ID!) {\n setThreadPersisted(threadId: $threadId)\n }\n"),I=(0,r.BX)("\n query Notifications {\n notifications {\n id\n content\n read\n createdAt\n }\n }\n")}},function(n){n.O(0,[8415,7565,7430,55,7812,4007,4752,3449,4421,7651,6312,7288,1565,3240,3375,5289,1744],function(){return n(n.s=66756)}),_N_E=n.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/activities/page-4c81023acc0eac07.js b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/activities/page-3febbc115db62de1.js similarity index 67% rename from ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/activities/page-4c81023acc0eac07.js rename to ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/activities/page-3febbc115db62de1.js index ec1122cf1147..2e163207b892 100644 --- a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/activities/page-4c81023acc0eac07.js +++ b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/activities/page-3febbc115db62de1.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4986],{27909:function(e,s,t){Promise.resolve().then(t.bind(t,13211))},13211:function(e,s,t){"use strict";t.r(s),t.d(s,{default:function(){return T},listUserEvents:function(){return k}});var n=t(36164),r=t(3546),a=t(27952),l=t.n(a),i=t(88542),d=t(99092),o=t.n(d),c=t(57563),u=t.n(c),m=t(2578),f=t(40055),x=t(21808),h=t(43240),p=t(18500),v=t(36758),j=t(9010),b=t(31458),g=t(79972),N=t(81565),w=t(54594),y=t(99047),C=t(29),_=t(22119),I=t(6230);let S=l()(()=>t.e(726).then(t.t.bind(t,80726,23)),{loadableGenerated:{webpack:()=>[80726]},ssr:!1}),E="-24h",k=(0,h.BX)("\n query ListUserEvents(\n $after: String\n $before: String\n $first: Int\n $last: Int\n $start: DateTime!\n $end: DateTime!\n $users: [ID!]\n ) {\n userEvents(\n after: $after\n before: $before\n first: $first\n last: $last\n start: $start\n end: $end\n users: $users\n ) {\n edges {\n node {\n id\n userId\n createdAt\n kind\n payload\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n");function T(){var e,s,t,a;let l=o()().add(parseInt(E,10),"hour"),i=o()(),[d]=(0,v.d)(),[c,u]=r.useState({from:l.toDate(),to:i.toDate()}),[h,p]=r.useState(1),[j,C]=r.useState(),[S,T]=r.useState("all"),[A,Y]=r.useState({last:x.L8}),[{data:$,error:R,fetching:L}]=(0,f.aM)({query:k,variables:{start:o()(c.from).utc().format(),end:c.to?o()(c.to).utc().format():o()(c.from).utc().format(),users:"all"===S?void 0:[S],...A}});return r.useEffect(()=>{(null==$?void 0:$.userEvents.edges.length)&&C($.userEvents)},[$]),r.useEffect(()=>{(null==R?void 0:R.message)&&m.A.error(R.message)},[R]),(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:"flex w-full flex-col",children:(0,n.jsx)("div",{className:"flex flex-col sm:gap-4",children:(0,n.jsxs)("main",{className:"grid flex-1 items-start gap-4 py-4 sm:py-0",children:[(0,n.jsxs)("div",{className:"flex min-h-[theme(space.9)] flex-col gap-y-2 xl:flex-row xl:items-center xl:justify-between",children:[(0,n.jsx)("p",{className:"text-sm text-muted-foreground",children:"View raw events generated by team members' activities while interacting with Tabby."}),d.length>0&&(0,n.jsxs)("div",{className:"flex flex-col items-center gap-2 md:flex-row xl:ml-auto",children:[(0,n.jsxs)(w.Ph,{defaultValue:"all",onValueChange:T,children:[(0,n.jsx)(w.i4,{className:"w-[calc(100vw-2rem)] py-0 md:w-auto",children:(0,n.jsx)("div",{className:"flex h-6 items-center",children:(0,n.jsx)("div",{className:"overflow-hidden text-ellipsis text-left md:w-[190px]",children:(0,n.jsx)(w.ki,{})})})}),(0,n.jsx)(w.Bw,{align:"end",children:(0,n.jsxs)(w.DI,{children:[(0,n.jsx)(w.Ql,{value:"all",children:"All members"}),d.map(e=>(0,n.jsx)(w.Ql,{value:e.id,children:e.name||e.email},e.id))]})})]}),(0,n.jsx)(_.Z,{className:"w-[calc(100vw-2rem)] md:w-[240px]",options:[{label:"Last 24 hours",value:"-24h"},{label:"Last 7 days",value:"-7d"},{label:"Last 14 days",value:"-14d"}],defaultValue:E,onSelect:e=>{u(e),p(1),Y({last:x.L8})},hasToday:!0,hasYesterday:!0})]})]}),(0,n.jsx)(I.Z,{loading:L,children:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(g.Zb,{"x-chunk":"dashboard-06-chunk-0",className:"bg-transparent",children:[(!(null==$?void 0:$.userEvents.edges)||(null==$?void 0:$.userEvents.edges.length)===0)&&(0,n.jsxs)(g.aY,{className:"flex flex-col items-center py-40 text-sm",children:[(0,n.jsx)(N.IconFileSearch,{className:"mb-2 h-10 w-10"}),(0,n.jsx)("p",{className:"font-semibold",children:"No data available for the chosen dates"}),(0,n.jsx)("p",{className:"text-muted-foreground",children:"Please try a different date range"})]}),(null==$?void 0:$.userEvents.edges)&&(null==$?void 0:$.userEvents.edges.length)>0&&(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(g.aY,{className:"w-[calc(100vw-2rem)] overflow-x-auto px-0 pb-0 md:w-auto",children:(0,n.jsxs)(y.iA,{children:[(0,n.jsx)(y.xD,{children:(0,n.jsxs)(y.SC,{children:[(0,n.jsx)(y.ss,{}),(0,n.jsx)(y.ss,{className:"md:w-[30%]",children:"Event"}),(0,n.jsx)(y.ss,{className:"md:w-[40%]",children:"User"}),(0,n.jsx)(y.ss,{className:"md:w-[30%] md:pr-8",children:"Time"})]})}),(0,n.jsx)(y.RM,{children:null==j?void 0:j.edges.sort((e,s)=>new Date(s.node.createdAt).getTime()-new Date(e.node.createdAt).getTime()).map(e=>(0,n.jsx)(D,{activity:e.node,members:d},e.cursor))})]})})})]}),((null==$?void 0:null===(e=$.userEvents.pageInfo)||void 0===e?void 0:e.hasNextPage)||(null==$?void 0:null===(s=$.userEvents.pageInfo)||void 0===s?void 0:s.hasPreviousPage))&&(0,n.jsxs)("div",{className:"flex justify-end",children:[(0,n.jsxs)("div",{className:"flex w-[100px] items-center justify-center text-sm font-medium",children:[" ","Page ",h]}),(0,n.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,n.jsx)(b.z,{variant:"outline",className:"h-8 w-8 p-0",disabled:!(null==$?void 0:null===(t=$.userEvents.pageInfo)||void 0===t?void 0:t.hasNextPage),onClick:e=>{var s;Y({first:x.L8,after:null==$?void 0:null===(s=$.userEvents.pageInfo)||void 0===s?void 0:s.endCursor}),p(h-1)},children:(0,n.jsx)(N.IconChevronLeft,{className:"h-4 w-4"})}),(0,n.jsx)(b.z,{variant:"outline",className:"h-8 w-8 p-0",disabled:!(null==$?void 0:null===(a=$.userEvents.pageInfo)||void 0===a?void 0:a.hasPreviousPage),onClick:e=>{var s;Y({last:x.L8,before:null==$?void 0:null===(s=$.userEvents.pageInfo)||void 0===s?void 0:s.startCursor}),p(h+1)},children:(0,n.jsx)(N.IconChevronRight,{className:"h-4 w-4"})})]})]})]})})]})})})})}function D(e){let s,{activity:t,members:a}=e,{theme:l}=(0,j.X)(),[d,c]=r.useState(!1);try{s=JSON.parse(t.payload)}catch(e){(null==e?void 0:e.message)&&m.A.error(e.message)}if(!s)return null;let f="";switch(t.kind){case p.nS.Completion:f="Code completion supplied";break;case p.nS.Dismiss:f="Code completion viewed but not used";break;case p.nS.Select:f="Code completion accepted and inserted";break;case p.nS.View:f="Code completion shown in editor"}let x=t.userId,h=a.find(e=>e.id===t.userId);return h&&(x=h.name||h.email),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(y.SC,{className:"cursor-pointer text-sm",onClick:()=>c(!d),children:[(0,n.jsx)(y.pj,{className:"pl-4 pr-0",children:(0,n.jsxs)("div",{className:"flex h-8 w-8 items-center justify-center rounded hover:bg-muted",children:[d&&(0,n.jsx)(N.IconChevronsDownUp,{}),!d&&(0,n.jsx)(N.IconChevronUpDown,{})]})}),(0,n.jsx)(y.pj,{className:"font-medium",children:(0,n.jsxs)(C.u,{children:[(0,n.jsx)(C.aJ,{children:(0,i.Z)(t.kind)}),(0,n.jsx)(C._v,{children:(0,n.jsx)("p",{children:f})})]})}),(0,n.jsx)(y.pj,{children:x}),(0,n.jsx)(y.pj,{className:"pr-4 md:pr-8",children:(0,n.jsxs)(C.u,{children:[(0,n.jsx)(C.aJ,{children:o()(t.createdAt).isBefore(o()().subtract(1,"days"))?o()(t.createdAt).format("YYYY-MM-DD HH:mm"):o()(t.createdAt).fromNow()}),(0,n.jsxs)(C._v,{children:[(0,n.jsxs)("p",{className:"py-0.5",children:[(0,n.jsx)("b",{className:"mr-1 inline-block w-7",children:"UTC:"}),o().utc(t.createdAt).format("YYYY-MM-DD HH:mm:ss")]}),(0,n.jsxs)("p",{className:"py-0.5",children:[(0,n.jsxs)("b",{className:"mr-1 inline-block w-7",children:[u().tz(u().tz.guess()).format("z"),":"]}),o()(t.createdAt).format("YYYY-MM-DD HH:mm:ss")]})]})]})})]},"".concat(t.id,"}-1")),d&&(0,n.jsx)(y.SC,{className:"w-full bg-muted/30",children:(0,n.jsx)(y.pj,{className:"px-6 font-medium",colSpan:4,children:(0,n.jsx)(S,{src:s,name:!1,collapseStringsAfterLength:50,theme:"dark"===l?"tomorrow":"rjv-default",style:"dark"===l?{background:"transparent"}:{}})})},"".concat(t.id,"-2"))]})}},99047:function(e,s,t){"use strict";t.d(s,{RM:function(){return d},SC:function(){return c},iA:function(){return l},pj:function(){return m},ss:function(){return u},xD:function(){return i}});var n=t(36164),r=t(3546),a=t(57288);let l=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,n.jsx)("table",{ref:s,className:(0,a.cn)("w-full caption-bottom text-sm",t),...r})});l.displayName="Table";let i=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,n.jsx)("thead",{ref:s,className:(0,a.cn)("[&_tr]:border-b",t),...r})});i.displayName="TableHeader";let d=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,n.jsx)("tbody",{ref:s,className:(0,a.cn)("[&_tr:last-child]:border-0",t),...r})});d.displayName="TableBody";let o=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,n.jsx)("tfoot",{ref:s,className:(0,a.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",t),...r})});o.displayName="TableFooter";let c=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,n.jsx)("tr",{ref:s,className:(0,a.cn)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",t),...r})});c.displayName="TableRow";let u=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,n.jsx)("th",{ref:s,className:(0,a.cn)("h-12 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",t),...r})});u.displayName="TableHead";let m=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,n.jsx)("td",{ref:s,className:(0,a.cn)("p-2 align-middle [&:has([role=checkbox])]:pr-0",t),...r})});m.displayName="TableCell";let f=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,n.jsx)("caption",{ref:s,className:(0,a.cn)("mt-4 text-sm text-muted-foreground",t),...r})});f.displayName="TableCaption"},29:function(e,s,t){"use strict";t.d(s,{_v:function(){return c},aJ:function(){return o},pn:function(){return i},u:function(){return d}});var n=t(36164),r=t(3546),a=t(44421),l=t(57288);let i=a.zt,d=a.fC,o=a.xz;a.h_;let c=r.forwardRef((e,s)=>{let{className:t,sideOffset:r=4,...i}=e;return(0,n.jsx)(a.VY,{ref:s,sideOffset:r,className:(0,l.cn)("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-xs font-medium text-popover-foreground shadow-md animate-in fade-in-50 data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-1 data-[side=right]:slide-in-from-left-1 data-[side=top]:slide-in-from-bottom-1",t),...i})});c.displayName=a.VY.displayName},21808:function(e,s,t){"use strict";t.d(s,{$6:function(){return a},$I:function(){return l},L8:function(){return r},ir:function(){return i},o0:function(){return n},rZ:function(){return d}});let n="name@yourcompany.com",r=20,a={DEMO_AUTO_LOGIN:"_tabby_demo_autologin",SEARCH_INITIAL_MSG:"_tabby_search_initial_msg",SEARCH_INITIAL_CONTEXTS:"_tabby_search_initial_contexts"},l=48,i="NOT_FOUND",d="\n"}},function(e){e.O(0,[8415,7565,2897,7430,55,7812,4752,3449,2578,8511,2287,4421,1889,5223,2457,7288,1565,3240,4017,3375,5289,1744],function(){return e(e.s=27909)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4986],{27909:function(e,s,t){Promise.resolve().then(t.bind(t,13211))},13211:function(e,s,t){"use strict";t.r(s),t.d(s,{default:function(){return T},listUserEvents:function(){return D}});var n=t(36164),r=t(3546),a=t(27952),l=t.n(a),d=t(88542),i=t(99092),o=t.n(i),c=t(57563),u=t.n(c),m=t(2578),f=t(40055),x=t(21808),h=t(43240),p=t(18500),v=t(36758),j=t(9010),b=t(31458),g=t(79972),N=t(81565),w=t(54594),y=t(99047),C=t(29),k=t(22119),E=t(6230);let I=l()(()=>t.e(726).then(t.t.bind(t,80726,23)),{loadableGenerated:{webpack:()=>[80726]},ssr:!1}),S="-24h",D=(0,h.BX)("\n query ListUserEvents(\n $after: String\n $before: String\n $first: Int\n $last: Int\n $start: DateTime!\n $end: DateTime!\n $users: [ID!]\n ) {\n userEvents(\n after: $after\n before: $before\n first: $first\n last: $last\n start: $start\n end: $end\n users: $users\n ) {\n edges {\n node {\n id\n userId\n createdAt\n kind\n payload\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n");function T(){var e,s,t,a;let l=o()().add(parseInt(S,10),"hour"),d=o()(),[i]=(0,v.d)(),[c,u]=r.useState({from:l.toDate(),to:d.toDate()}),[h,p]=r.useState(1),[j,C]=r.useState(),[I,T]=r.useState("all"),[Y,$]=r.useState({last:x.L8}),[{data:A,error:P,fetching:R}]=(0,f.aM)({query:D,variables:{start:o()(c.from).utc().format(),end:c.to?o()(c.to).utc().format():o()(c.from).utc().format(),users:"all"===I?void 0:[I],...Y}});return r.useEffect(()=>{(null==A?void 0:A.userEvents.edges.length)&&C(A.userEvents)},[A]),r.useEffect(()=>{(null==P?void 0:P.message)&&m.A.error(P.message)},[P]),(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:"flex w-full flex-col",children:(0,n.jsx)("div",{className:"flex flex-col sm:gap-4",children:(0,n.jsxs)("main",{className:"grid flex-1 items-start gap-4 py-4 sm:py-0",children:[(0,n.jsxs)("div",{className:"flex min-h-[theme(space.9)] flex-col gap-y-2 xl:flex-row xl:items-center xl:justify-between",children:[(0,n.jsx)("p",{className:"text-sm text-muted-foreground",children:"View raw events generated by team members' activities while interacting with Tabby."}),i.length>0&&(0,n.jsxs)("div",{className:"flex flex-col items-center gap-2 md:flex-row xl:ml-auto",children:[(0,n.jsxs)(w.Ph,{defaultValue:"all",onValueChange:T,children:[(0,n.jsx)(w.i4,{className:"w-[calc(100vw-2rem)] py-0 md:w-auto",children:(0,n.jsx)("div",{className:"flex h-6 items-center",children:(0,n.jsx)("div",{className:"overflow-hidden text-ellipsis text-left md:w-[190px]",children:(0,n.jsx)(w.ki,{})})})}),(0,n.jsx)(w.Bw,{align:"end",children:(0,n.jsxs)(w.DI,{children:[(0,n.jsx)(w.Ql,{value:"all",children:"All members"}),i.map(e=>(0,n.jsx)(w.Ql,{value:e.id,children:e.name||e.email},e.id))]})})]}),(0,n.jsx)(k.Z,{className:"w-[calc(100vw-2rem)] md:w-[240px]",options:[{label:"Last 24 hours",value:"-24h"},{label:"Last 7 days",value:"-7d"},{label:"Last 14 days",value:"-14d"}],defaultValue:S,onSelect:e=>{u(e),p(1),$({last:x.L8})},hasToday:!0,hasYesterday:!0})]})]}),(0,n.jsx)(E.Z,{loading:R,children:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(g.Zb,{"x-chunk":"dashboard-06-chunk-0",className:"bg-transparent",children:[(!(null==A?void 0:A.userEvents.edges)||(null==A?void 0:A.userEvents.edges.length)===0)&&(0,n.jsxs)(g.aY,{className:"flex flex-col items-center py-40 text-sm",children:[(0,n.jsx)(N.IconFileSearch,{className:"mb-2 h-10 w-10"}),(0,n.jsx)("p",{className:"font-semibold",children:"No data available for the chosen dates"}),(0,n.jsx)("p",{className:"text-muted-foreground",children:"Please try a different date range"})]}),(null==A?void 0:A.userEvents.edges)&&(null==A?void 0:A.userEvents.edges.length)>0&&(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(g.aY,{className:"w-[calc(100vw-2rem)] overflow-x-auto px-0 pb-0 md:w-auto",children:(0,n.jsxs)(y.iA,{children:[(0,n.jsx)(y.xD,{children:(0,n.jsxs)(y.SC,{children:[(0,n.jsx)(y.ss,{}),(0,n.jsx)(y.ss,{className:"md:w-[30%]",children:"Event"}),(0,n.jsx)(y.ss,{className:"md:w-[40%]",children:"User"}),(0,n.jsx)(y.ss,{className:"md:w-[30%] md:pr-8",children:"Time"})]})}),(0,n.jsx)(y.RM,{children:null==j?void 0:j.edges.sort((e,s)=>new Date(s.node.createdAt).getTime()-new Date(e.node.createdAt).getTime()).map(e=>(0,n.jsx)(_,{activity:e.node,members:i},e.cursor))})]})})})]}),((null==A?void 0:null===(e=A.userEvents.pageInfo)||void 0===e?void 0:e.hasNextPage)||(null==A?void 0:null===(s=A.userEvents.pageInfo)||void 0===s?void 0:s.hasPreviousPage))&&(0,n.jsxs)("div",{className:"flex justify-end",children:[(0,n.jsxs)("div",{className:"flex w-[100px] items-center justify-center text-sm font-medium",children:[" ","Page ",h]}),(0,n.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,n.jsx)(b.z,{variant:"outline",className:"h-8 w-8 p-0",disabled:!(null==A?void 0:null===(t=A.userEvents.pageInfo)||void 0===t?void 0:t.hasNextPage),onClick:e=>{var s;$({first:x.L8,after:null==A?void 0:null===(s=A.userEvents.pageInfo)||void 0===s?void 0:s.endCursor}),p(h-1)},children:(0,n.jsx)(N.IconChevronLeft,{className:"h-4 w-4"})}),(0,n.jsx)(b.z,{variant:"outline",className:"h-8 w-8 p-0",disabled:!(null==A?void 0:null===(a=A.userEvents.pageInfo)||void 0===a?void 0:a.hasPreviousPage),onClick:e=>{var s;$({last:x.L8,before:null==A?void 0:null===(s=A.userEvents.pageInfo)||void 0===s?void 0:s.startCursor}),p(h+1)},children:(0,n.jsx)(N.IconChevronRight,{className:"h-4 w-4"})})]})]})]})})]})})})})}function _(e){let s,{activity:t,members:a}=e,{theme:l}=(0,j.X)(),[i,c]=r.useState(!1);try{s=JSON.parse(t.payload)}catch(e){(null==e?void 0:e.message)&&m.A.error(e.message)}if(!s)return null;let f="";switch(t.kind){case p.nS.Completion:f="Code completion supplied";break;case p.nS.Dismiss:f="Code completion viewed but not used";break;case p.nS.Select:f="Code completion accepted and inserted";break;case p.nS.View:f="Code completion shown in editor"}let x=t.userId,h=a.find(e=>e.id===t.userId);return h&&(x=h.name||h.email),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(y.SC,{className:"cursor-pointer text-sm",onClick:()=>c(!i),children:[(0,n.jsx)(y.pj,{className:"pl-4 pr-0",children:(0,n.jsxs)("div",{className:"flex h-8 w-8 items-center justify-center rounded hover:bg-muted",children:[i&&(0,n.jsx)(N.IconChevronsDownUp,{}),!i&&(0,n.jsx)(N.IconChevronUpDown,{})]})}),(0,n.jsx)(y.pj,{className:"font-medium",children:(0,n.jsxs)(C.u,{children:[(0,n.jsx)(C.aJ,{children:(0,d.Z)(t.kind)}),(0,n.jsx)(C._v,{children:(0,n.jsx)("p",{children:f})})]})}),(0,n.jsx)(y.pj,{children:x}),(0,n.jsx)(y.pj,{className:"pr-4 md:pr-8",children:(0,n.jsxs)(C.u,{children:[(0,n.jsx)(C.aJ,{children:o()(t.createdAt).isBefore(o()().subtract(1,"days"))?o()(t.createdAt).format("YYYY-MM-DD HH:mm"):o()(t.createdAt).fromNow()}),(0,n.jsxs)(C._v,{children:[(0,n.jsxs)("p",{className:"py-0.5",children:[(0,n.jsx)("b",{className:"mr-1 inline-block w-7",children:"UTC:"}),o().utc(t.createdAt).format("YYYY-MM-DD HH:mm:ss")]}),(0,n.jsxs)("p",{className:"py-0.5",children:[(0,n.jsxs)("b",{className:"mr-1 inline-block w-7",children:[u().tz(u().tz.guess()).format("z"),":"]}),o()(t.createdAt).format("YYYY-MM-DD HH:mm:ss")]})]})]})})]},"".concat(t.id,"}-1")),i&&(0,n.jsx)(y.SC,{className:"w-full bg-muted/30",children:(0,n.jsx)(y.pj,{className:"px-6 font-medium",colSpan:4,children:(0,n.jsx)(I,{src:s,name:!1,collapseStringsAfterLength:50,theme:"dark"===l?"tomorrow":"rjv-default",style:"dark"===l?{background:"transparent"}:{}})})},"".concat(t.id,"-2"))]})}},99047:function(e,s,t){"use strict";t.d(s,{RM:function(){return i},SC:function(){return c},iA:function(){return l},pj:function(){return m},ss:function(){return u},xD:function(){return d}});var n=t(36164),r=t(3546),a=t(57288);let l=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,n.jsx)("table",{ref:s,className:(0,a.cn)("w-full caption-bottom text-sm",t),...r})});l.displayName="Table";let d=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,n.jsx)("thead",{ref:s,className:(0,a.cn)("[&_tr]:border-b",t),...r})});d.displayName="TableHeader";let i=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,n.jsx)("tbody",{ref:s,className:(0,a.cn)("[&_tr:last-child]:border-0",t),...r})});i.displayName="TableBody";let o=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,n.jsx)("tfoot",{ref:s,className:(0,a.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",t),...r})});o.displayName="TableFooter";let c=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,n.jsx)("tr",{ref:s,className:(0,a.cn)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",t),...r})});c.displayName="TableRow";let u=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,n.jsx)("th",{ref:s,className:(0,a.cn)("h-12 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",t),...r})});u.displayName="TableHead";let m=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,n.jsx)("td",{ref:s,className:(0,a.cn)("p-2 align-middle [&:has([role=checkbox])]:pr-0",t),...r})});m.displayName="TableCell";let f=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,n.jsx)("caption",{ref:s,className:(0,a.cn)("mt-4 text-sm text-muted-foreground",t),...r})});f.displayName="TableCaption"},29:function(e,s,t){"use strict";t.d(s,{_v:function(){return c},aJ:function(){return o},pn:function(){return d},u:function(){return i}});var n=t(36164),r=t(3546),a=t(44421),l=t(57288);let d=a.zt,i=a.fC,o=a.xz;a.h_;let c=r.forwardRef((e,s)=>{let{className:t,sideOffset:r=4,...d}=e;return(0,n.jsx)(a.VY,{ref:s,sideOffset:r,className:(0,l.cn)("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-xs font-medium text-popover-foreground shadow-md animate-in fade-in-50 data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-1 data-[side=right]:slide-in-from-left-1 data-[side=top]:slide-in-from-bottom-1",t),...d})});c.displayName=a.VY.displayName},21808:function(e,s,t){"use strict";t.d(s,{$6:function(){return a},$I:function(){return l},L8:function(){return r},ir:function(){return d},o0:function(){return n},rZ:function(){return i}});let n="name@yourcompany.com",r=20,a={DEMO_AUTO_LOGIN:"_tabby_demo_autologin"},l=48,d="NOT_FOUND",i="\n"}},function(e){e.O(0,[8415,7565,2897,7430,55,7812,4752,3449,2578,8511,2287,4421,1889,803,8199,7288,1565,3240,4017,3375,5289,1744],function(){return e(e.s=27909)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/experiments/page-abda32489619a23c.js b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/experiments/page-8a912f92c44776f3.js similarity index 100% rename from ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/experiments/page-abda32489619a23c.js rename to ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/experiments/page-8a912f92c44776f3.js diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js similarity index 67% rename from ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js rename to ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js index 9ed088f56660..faba6bf8a55f 100644 --- a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js +++ b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5642],{11513:function(e,t,a){Promise.resolve().then(a.bind(a,8377)),Promise.resolve().then(a.bind(a,90155))},8377:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return eL}});var r=a(36164),s=a(38785),i=a(27257),n=a(85654);let d={isSidebarExpanded:!0,_hasHydrated:!1},l=(0,i.Ue)()((0,n.tJ)(e=>({...d,setHasHydrated:t=>e(()=>({_hasHydrated:t}))}),{name:"user-preferences-storage",version:0,onRehydrateStorage:e=>()=>{e.setHasHydrated(!0)}})),o=l.setState,c=e=>o(()=>({isSidebarExpanded:e}));var u=a(3546),f=a(74047),p=a(14375),b=a(57288),m=a(31458),h=a(82394),g=a(11208),x=a(4318),v=a(1663);let w=x.fC;x.xz,x.x8;let j=x.h_,y=u.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(x.aV,{className:(0,b.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...s,ref:t})});y.displayName=x.aV.displayName;let N=(0,p.j)("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),A=u.forwardRef((e,t)=>{let{side:a="right",className:s,children:i,...n}=e;return(0,r.jsxs)(j,{children:[(0,r.jsx)(y,{}),(0,r.jsxs)(x.VY,{ref:t,className:(0,b.cn)(N({side:a}),s),...n,children:[i,(0,r.jsxs)(x.x8,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,r.jsx)(v.Z,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});A.displayName=x.VY.displayName;let S=u.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(x.Dx,{ref:t,className:(0,b.cn)("text-lg font-semibold text-foreground",a),...s})});S.displayName=x.Dx.displayName;let k=u.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(x.dk,{ref:t,className:(0,b.cn)("text-sm text-muted-foreground",a),...s})});k.displayName=x.dk.displayName;var R=a(3448),z=a(29),C=a(81565);let E=u.createContext(null);function _(){let e=u.useContext(E);if(!e)throw Error("useSidebar must be used within a SidebarProvider.");return e}let U=u.forwardRef((e,t)=>{let{defaultOpen:a=!0,open:s,onOpenChange:i,className:n,style:d,children:l,...o}=e,c=function(){let[e,t]=u.useState(void 0);return u.useEffect(()=>{let e=window.matchMedia("(max-width: ".concat(767,"px)")),a=()=>{t(window.innerWidth<768)};return e.addEventListener("change",a),t(window.innerWidth<768),()=>e.removeEventListener("change",a)},[]),!!e}(),[f,p]=u.useState(!1),[m,h]=u.useState(a),g=null!=s?s:m,x=u.useCallback(e=>{let t="function"==typeof e?e(g):e;i?i(t):h(t),document.cookie="".concat("sidebar:state","=").concat(t,"; path=/; max-age=").concat(604800)},[i,g]),v=u.useCallback(()=>c?p(e=>!e):x(e=>!e),[c,x,p]);u.useEffect(()=>{let e=e=>{"b"===e.key&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),v())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[v]);let w=g?"expanded":"collapsed",j=u.useMemo(()=>({state:w,open:g,setOpen:x,isMobile:c,openMobile:f,setOpenMobile:p,toggleSidebar:v}),[w,g,x,c,f,p,v]);return(0,r.jsx)(E.Provider,{value:j,children:(0,r.jsx)(z.pn,{delayDuration:200,children:(0,r.jsx)("div",{style:{"--sidebar-width":"16rem","--sidebar-width-icon":"3rem",...d},className:(0,b.cn)("group/sidebar-wrapper has-[[data-variant=inset]]:bg-sidebar flex w-full",n),ref:t,...o,children:l})})})});U.displayName="SidebarProvider";let L=u.forwardRef((e,t)=>{let{side:a="left",variant:s="sidebar",collapsible:i="offcanvas",className:n,children:d,...l}=e,{isMobile:o,state:c,openMobile:u,setOpenMobile:f}=_();return"none"===i?(0,r.jsx)("div",{className:(0,b.cn)("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",n),ref:t,...l,children:d}):o?(0,r.jsx)(w,{open:u,onOpenChange:f,...l,children:(0,r.jsx)(A,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":"18rem"},side:a,children:(0,r.jsx)("div",{className:"flex h-full w-full flex-col",children:d})})}):(0,r.jsxs)("div",{ref:t,className:"group peer hidden text-sidebar-foreground md:block","data-state":c,"data-collapsible":"collapsed"===c?i:"","data-variant":s,"data-side":a,children:[(0,r.jsx)("div",{className:(0,b.cn)("relative w-[--sidebar-width] bg-transparent transition-[width] duration-200 ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180","floating"===s||"inset"===s?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),(0,r.jsx)("div",{className:(0,b.cn)("absolute inset-y-0 z-10 hidden w-[--sidebar-width] transition-[left,right,width,top] duration-200 ease-linear md:flex","left"===a?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]","floating"===s||"inset"===s?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",n),...l,children:(0,r.jsx)("div",{"data-sidebar":"sidebar",className:"flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:d})})]})});L.displayName="Sidebar";let I=u.forwardRef((e,t)=>{let{className:a,onClick:s,...i}=e,{toggleSidebar:n}=_();return(0,r.jsxs)(m.z,{ref:t,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:(0,b.cn)("h-7 w-7",a),onClick:e=>{null==s||s(e),n()},...i,children:[(0,r.jsx)(C.IconPanelLeft,{className:"h-5 w-5",strokeWidth:1.5}),(0,r.jsx)("span",{className:"sr-only",children:"Toggle Sidebar"})]})});I.displayName="SidebarTrigger";let M=u.forwardRef((e,t)=>{let{className:a,...s}=e,{toggleSidebar:i}=_();return(0,r.jsx)("button",{ref:t,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:i,title:"Toggle Sidebar",className:(0,b.cn)("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",a),...s})});M.displayName="SidebarRail";let P=u.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("main",{ref:t,className:(0,b.cn)("relative flex flex-1 flex-col bg-background","md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",a),...s})});P.displayName="SidebarInset";let H=u.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(h.I,{ref:t,"data-sidebar":"input",className:(0,b.cn)("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",a),...s})});H.displayName="SidebarInput";let O=u.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,"data-sidebar":"header",className:(0,b.cn)("flex flex-col gap-2 p-2",a),...s})});O.displayName="SidebarHeader";let Z=u.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,"data-sidebar":"footer",className:(0,b.cn)("flex flex-col gap-2 p-2",a),...s})});Z.displayName="SidebarFooter";let G=u.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(g.Z,{ref:t,"data-sidebar":"separator",className:(0,b.cn)("mx-2 w-auto bg-sidebar-border",a),...s})});G.displayName="SidebarSeparator";let V=u.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,"data-sidebar":"content",className:(0,b.cn)("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",a),...s})});V.displayName="SidebarContent";let D=u.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,"data-sidebar":"group",className:(0,b.cn)("relative flex w-full min-w-0 flex-col p-2",a),...s})});D.displayName="SidebarGroup";let B=u.forwardRef((e,t)=>{let{className:a,asChild:s=!1,...i}=e,n=s?f.g7:"div";return(0,r.jsx)(n,{ref:t,"data-sidebar":"group-label",className:(0,b.cn)("[&>svg]:size-4 flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] duration-200 ease-linear focus-visible:ring-2 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",a),...i})});B.displayName="SidebarGroupLabel";let T=u.forwardRef((e,t)=>{let{className:a,asChild:s=!1,...i}=e,n=s?f.g7:"button";return(0,r.jsx)(n,{ref:t,"data-sidebar":"group-action",className:(0,b.cn)("[&>svg]:size-4 absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",a),...i})});T.displayName="SidebarGroupAction";let Y=u.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,"data-sidebar":"group-content",className:(0,b.cn)("w-full text-sm",a),...s})});Y.displayName="SidebarGroupContent";let W=u.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("ul",{ref:t,"data-sidebar":"menu",className:(0,b.cn)("flex w-full min-w-0 flex-col gap-1",a),...s})});W.displayName="SidebarMenu";let Q=u.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("li",{ref:t,"data-sidebar":"menu-item",className:(0,b.cn)("group/menu-item relative",a),...s})});Q.displayName="SidebarMenuItem";let K=(0,p.j)("peer/menu-button group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 group-data-[collapsible=icon]:!size-8 [&>svg]:size-4 flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"text-sm",sm:"text-xs",lg:"text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),q=u.forwardRef((e,t)=>{let{asChild:a=!1,isActive:s=!1,variant:i="default",size:n="default",tooltip:d,className:l,...o}=e,c=a?f.g7:"button",{isMobile:u,state:p}=_(),m=(0,r.jsx)(c,{ref:t,"data-sidebar":"menu-button","data-size":n,"data-active":s,className:(0,b.cn)(K({variant:i,size:n}),l),...o});return d?("string"==typeof d&&(d={children:d}),(0,r.jsxs)(z.u,{children:[(0,r.jsx)(z.aJ,{asChild:!0,children:m}),(0,r.jsx)(z._v,{side:"right",align:"center",hidden:"collapsed"!==p||u,...d})]})):m});q.displayName="SidebarMenuButton";let J=u.forwardRef((e,t)=>{let{className:a,asChild:s=!1,showOnHover:i=!1,...n}=e,d=s?f.g7:"button";return(0,r.jsx)(d,{ref:t,"data-sidebar":"menu-action",className:(0,b.cn)("[&>svg]:size-4 absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",i&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",a),...n})});J.displayName="SidebarMenuAction";let F=u.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,"data-sidebar":"menu-badge",className:(0,b.cn)("min-w-5 pointer-events-none absolute right-1 flex h-5 select-none items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",a),...s})});F.displayName="SidebarMenuBadge";let X=u.forwardRef((e,t)=>{let{className:a,showIcon:s=!1,...i}=e,n=u.useMemo(()=>"".concat(Math.floor(40*Math.random())+50,"%"),[]);return(0,r.jsxs)("div",{ref:t,"data-sidebar":"menu-skeleton",className:(0,b.cn)("flex h-8 items-center gap-2 rounded-md px-2",a),...i,children:[s&&(0,r.jsx)(R.O,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),(0,r.jsx)(R.O,{className:"h-4 max-w-[--skeleton-width] flex-1","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":n}})]})});X.displayName="SidebarMenuSkeleton";let $=u.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("ul",{ref:t,"data-sidebar":"menu-sub",className:(0,b.cn)("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",a),...s})});$.displayName="SidebarMenuSub";let ee=u.forwardRef((e,t)=>{let{...a}=e;return(0,r.jsx)("li",{ref:t,...a})});ee.displayName="SidebarMenuSubItem";let et=u.forwardRef((e,t)=>{let{asChild:a=!1,size:s="md",isActive:i,className:n,...d}=e,l=a?f.g7:"a";return(0,r.jsx)(l,{ref:t,"data-sidebar":"menu-sub-button","data-size":s,"data-active":i,className:(0,b.cn)("[&>svg]:size-4 flex min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 py-1.5 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground","sm"===s&&"text-xs","md"===s&&"text-sm","group-data-[collapsible=icon]:hidden",n),...d})});et.displayName="SidebarMenuSubButton";var ea=a(11978),er=a(57830),es=a(30601),ei=a(35646),en=a(6246),ed=a(36327),el=a(68172),eo=a(61249),ec=a(63743),eu=a(52569),ef=a(7449);function ep(){var e;let{data:t}=(0,en.Q)(),a=null==t?void 0:null===(e=t.version)||void 0===e?void 0:e.git_describe,{data:s}=(0,ed.Z)("https://api.github.com/repos/TabbyML/tabby/releases/latest",e=>fetch(e).then(e=>e.json())),i=function(e,t){try{return e&&t&&(0,ei.q)(t.name,e,">")}catch(e){return console.warn(e),!0}}(a,s);return(0,r.jsxs)("header",{className:"sticky top-0 z-50 flex h-16 w-full shrink-0 items-center justify-between border-b px-4 backdrop-blur-xl lg:px-10",children:[(0,r.jsxs)("div",{className:"flex items-center gap-4",children:[(0,r.jsx)(I,{className:"-ml-1"}),i&&(0,r.jsxs)("a",{target:"_blank",href:"https://github.com/TabbyML/tabby/releases/latest",rel:"noopener noreferrer",className:(0,b.cn)((0,m.d)({variant:"ghost"})),children:[(0,r.jsx)(C.IconNotice,{className:"text-yellow-600 dark:text-yellow-400"}),(0,r.jsxs)("span",{className:"ml-2 hidden md:flex",children:["New version (",null==s?void 0:s.name,") available"]})]})]}),(0,r.jsxs)("div",{className:"flex items-center justify-center gap-6",children:[(0,r.jsx)(el.q,{children:(0,r.jsx)(ec.T,{})}),(0,r.jsx)(eo.L,{}),(0,r.jsx)(ef.Z,{children:(0,r.jsx)(eu.SQ,{className:"h-10 w-10 border"})})]})]})}var eb=a(90155);function em(e){let{children:t}=e,a=(0,ea.usePathname)(),s=(0,u.useRef)(null),[i]=(0,es.Hb)(),[n]=(0,eb.useShowLicenseBanner)(),d=i||n?{height:"calc(100vh - ".concat(i?es.wt:"0rem"," - ").concat(n?es.wt:"0rem",")")}:{height:"100vh"};return(0,u.useEffect)(()=>{a&&s.current&&(s.current.scrollTop=0)},[a]),(0,r.jsx)(P,{children:(0,r.jsxs)(er.ScrollArea,{ref:s,style:d,children:[(0,r.jsx)(ep,{}),(0,r.jsx)("div",{className:"p-4 lg:p-10",children:t})]})})}var eh=a(42891),eg=a.n(eh),ex=a(70652),ev=a.n(ex),ew=a(83332),ej=a(76531),ey=a(23342),eN=a(38421),eA=a(98454),eS=a(17989);let ek=eS.fC,eR=eS.wy,ez=eS.Fw;var eC=a(90615),eE=a(6230);let e_=[{title:"Profile",icon:C.IconUser,href:"/profile",allowUser:!0},{title:"Information",icon:C.IconBookOpenText,items:[{title:"System",href:"/system"},{title:"Jobs",href:"/jobs"},{title:"Reports",href:"/reports"},{title:"Activities",href:"/activities"}]},{title:"Settings",icon:C.IconGear,allowUser:!0,items:[{title:"General",href:"/settings/general"},{title:"Users & Groups",href:"/settings/team",allowUser:!0},{title:"Subscription",href:"/settings/subscription"}]},{title:"Integrations",icon:C.IconLightingBolt,items:[{title:"Context Providers",href:"/settings/providers/git"},{title:"SSO",href:"/settings/sso"},{title:"Mail Delivery",href:"/settings/mail"}]}];function eU(){let e=(0,ea.usePathname)(),[{data:t,fetching:a}]=(0,eA.P)(),s=null==t?void 0:t.me.isAdmin,{isMobile:i,state:n}=_();return(0,r.jsxs)(L,{style:{position:"absolute",top:0,bottom:0},collapsible:"icon",children:[(0,r.jsx)(O,{children:(0,r.jsx)(ev(),{href:"/",className:"flex h-[3.375rem] items-center justify-center py-2",children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(eg(),{src:ey.Z,width:32,alt:"logo",className:"hidden group-data-[collapsible=icon]:block"}),(0,r.jsxs)("div",{className:"w-[128px] group-data-[collapsible=icon]:hidden",children:[(0,r.jsx)(eg(),{src:ej.Z,alt:"logo",className:"dark:hidden",width:128}),(0,r.jsx)(eg(),{src:ew.Z,alt:"logo",width:96,className:"hidden dark:block"})]})]})})}),(0,r.jsx)(V,{children:(0,r.jsx)(D,{className:"list-none space-y-2 text-sm font-medium leading-normal",children:(0,r.jsx)(eE.Z,{loading:a,children:e_.map(t=>s||t.allowUser?t.items?(0,r.jsx)(ek,{defaultOpen:!0,asChild:!0,className:"group/collapsible",children:(0,r.jsxs)(Q,{children:[(0,r.jsxs)(eC.zs,{openDelay:200,closeDelay:200,children:[(0,r.jsx)(eC.Yi,{asChild:!0,children:(0,r.jsx)(eR,{asChild:!0,children:(0,r.jsxs)(q,{children:[!!t.icon&&(0,r.jsx)(t.icon,{}),(0,r.jsx)("span",{children:t.title}),(0,r.jsx)(C.IconChevronRight,{className:"ml-auto transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90"})]},t.title)})}),(0,r.jsx)(eN.E,{children:(0,r.jsx)(eC.bZ,{align:"start",side:"right",sideOffset:4,hidden:"collapsed"!==n||i,className:"w-[theme(space.48)] py-2",children:(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"mb-2 ml-2 mt-1 text-sm font-medium text-muted-foreground",children:t.title}),(0,r.jsx)("div",{className:"space-y-1",children:t.items.map(t=>s||t.allowUser?(0,r.jsx)(q,{asChild:!0,isActive:e.startsWith(t.href),children:(0,r.jsx)(ev(),{href:t.href,children:(0,r.jsx)("span",{children:t.title})})},t.title):null)})]},t.title)})})]}),(0,r.jsx)(ez,{children:(0,r.jsx)($,{children:t.items.map(t=>{if(s||t.allowUser)return(0,r.jsx)(ee,{children:(0,r.jsx)(et,{asChild:!0,isActive:e.startsWith(t.href),children:(0,r.jsx)(ev(),{href:t.href,children:(0,r.jsx)("span",{children:t.title})})})},t.title)})})})]})},"collapsible_".concat(t.title)):(0,r.jsx)(Q,{children:(0,r.jsx)(q,{asChild:!0,isActive:e.startsWith(t.href),tooltip:{children:(0,r.jsx)("span",{className:"text-sm font-medium text-muted-foreground",children:t.title})},children:(0,r.jsxs)(ev(),{href:t.href,children:[!!t.icon&&(0,r.jsx)(t.icon,{}),(0,r.jsx)("span",{children:t.title})]})})},t.title):null)})})})]})}function eL(e){let{children:t}=e,a=(0,s.U)(),i=l(e=>e.isSidebarExpanded);return a?(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(U,{className:"relative",open:i,onOpenChange:e=>c(e),children:[(0,r.jsx)(eU,{}),(0,r.jsx)(em,{children:t})]})}):null}},90155:function(e,t,a){"use strict";a.r(t),a.d(t,{BANNER_HEIGHT:function(){return f},LicenseBanner:function(){return h},ShowLicenseBannerProvider:function(){return b},useShowLicenseBanner:function(){return m}});var r=a(36164),s=a(3546),i=a(70652),n=a.n(i),d=a(11978),l=a(29917),o=a(57288),c=a(81565),u=a(31458);let f="3.5rem",p=s.createContext({}),b=e=>{let{children:t}=e,{isExpired:a,isSeatsExceeded:i,isLicenseOK:n}=(0,l.Cz)(),[d,o]=s.useState(!1);return s.useEffect(()=>{let e=window.self!==window.top;!e&&(a||i?o(!0):n&&o(!1))},[n,a,i]),(0,r.jsx)(p.Provider,{value:{isShowLicenseBanner:d,setIsShowLicenseBanner:o},children:t})};function m(){let{isShowLicenseBanner:e,setIsShowLicenseBanner:t}=s.useContext(p);return[e,t]}function h(){let[e,t]=m(),{isExpired:a,isSeatsExceeded:i}=(0,l.Cz)(),p=(0,d.usePathname)(),b=(0,s.useMemo)(()=>a?"Your subscription is expired.":i?"You have more active users than seats included in your subscription.":"No valid license configured",[a,i]);return(0,r.jsxs)("div",{className:(0,o.cn)("flex items-center justify-between bg-secondary px-4 text-secondary-foreground transition-[height,opacity] md:px-5",{"opacity-100 pointer-events-auto border-b":e,"opacity-0 pointer-events-none":!e}),style:e?{height:f}:{height:0},children:[(0,r.jsxs)("div",{className:"flex items-center gap-1 font-semibold text-destructive",children:[(0,r.jsx)(c.IconNotice,{}),b]}),(0,r.jsxs)("div",{className:"flex items-center gap-x-4 md:gap-x-8",children:["/settings/subscription"!==p&&(0,r.jsx)(n(),{href:"/settings/subscription",className:(0,o.cn)((0,u.d)(),"gap-1"),children:"See more"}),(0,r.jsx)(c.IconClose,{className:"cursor-pointer transition-all hover:opacity-70",onClick:()=>t(!1)})]})]})}},90615:function(e,t,a){"use strict";a.d(t,{Yi:function(){return l},bZ:function(){return o},zs:function(){return d}});var r=a(36164),s=a(3546),i=a(38421),n=a(57288);let d=i.fC,l=i.xz;i.h_;let o=s.forwardRef((e,t)=>{let{className:a,align:s="center",sideOffset:d=4,...l}=e;return(0,r.jsx)(i.VY,{ref:t,align:s,sideOffset:d,className:(0,n.cn)("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...l})});o.displayName=i.VY.displayName},6246:function(e,t,a){"use strict";a.d(t,{Q:function(){return i}});var r=a(21454),s=a(3765);function i(){return(0,r.ZP)("/v1/health",e=>(0,s.Z)(e,{errorHandler:e=>{throw Error((null==e?void 0:e.statusText.toString())||"Unhealth")}}),{shouldRetryOnError:!1})}},29917:function(e,t,a){"use strict";a.d(t,{Cz:function(){return c},Gm:function(){return o},jp:function(){return l}});var r=a(11978),s=a(40055),i=a(43240),n=a(18500);let d=(0,i.BX)("\n query GetLicenseInfo {\n license {\n type\n status\n seats\n seatsUsed\n issuedAt\n expiresAt\n }\n }\n"),l=()=>(0,s.aM)({query:d}),o=()=>{let[{data:e}]=l();return null==e?void 0:e.license},c=e=>{var t;let[{data:a}]=l(),s=null==a?void 0:a.license,i=(0,r.useSearchParams)(),d=!!s&&(!(null==e?void 0:null===(t=e.licenses)||void 0===t?void 0:t.length)||e.licenses.includes(s.type)),o=(null==s?void 0:s.status)===n.Rj.Ok,c=(null==s?void 0:s.status)===n.Rj.Expired,u=(null==s?void 0:s.status)===(null===n.Rj||void 0===n.Rj?void 0:n.Rj.SeatsExceeded),f="expired"===i.get("licenseError"),p="seatsExceed"===i.get("licenseError");return{hasLicense:!!s,isLicenseOK:o&&!(f||p),isExpired:c||f,isSeatsExceeded:u||p,hasSufficientLicense:d}}},76531:function(e,t){"use strict";t.Z={src:"/_next/static/media/logo.526f7cf9.png",height:184,width:607,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAYAAABllJ3tAAAASklEQVR4nGPsKQh1f/HshV/PqtNtagrC8p++//rDAgQM//9/ZWJifMZYnRqg9+bVq6iZ51+1SP/5ovH//z8eRgbGbwyMjPxA9n0AMi8g2L1xUkUAAAAASUVORK5CYII=",blurWidth:8,blurHeight:2}},23342:function(e,t){"use strict";t.Z={src:"/_next/static/media/tabby.16ac81a9.png",height:175,width:175,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAA50lEQVR42mMAgUWTGw3KsqO9QOypZeG6NekBuQzI4NCmmaZtFam/K6PtHzYlOH5ysDX7n5QYboJQsKrfd1JN6v+ldXH/F+fa/fWyNf4fEebXBlcwsSbNeWV/+f9FE+t+za2K+xNjLfPf293u6v///xkZQGDDwr7gfetm/d8xr+VPkpXgnzR3nf/xAY6vt6yfK84AUrV5+US9HWtnnVgyrfm/tiTD/9JAo//5Ea5nGUDAkoGBCUQHWEiZysuI7LcwN7wb6WV1IT7YzR7uhh3Lepg+AU2av2AiT0pCuDKDayAvSLwsM4oJAH4LXl0Gpb0HAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8}}},function(e){e.O(0,[8415,7565,7430,55,7812,4007,9643,4752,3449,2578,8511,4421,1454,5669,4546,9275,9148,4405,4553,5083,6044,5084,7288,1565,4656,9634,3375,5289,1744],function(){return e(e.s=11513)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5642],{11513:function(e,t,a){Promise.resolve().then(a.bind(a,8377)),Promise.resolve().then(a.bind(a,90155))},8377:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return eL}});var r=a(36164),s=a(38785),i=a(27257),n=a(85654);let d={isSidebarExpanded:!0,_hasHydrated:!1},l=(0,i.Ue)()((0,n.tJ)(e=>({...d,setHasHydrated:t=>e(()=>({_hasHydrated:t}))}),{name:"user-preferences-storage",version:0,onRehydrateStorage:e=>()=>{e.setHasHydrated(!0)}})),o=l.setState,c=e=>o(()=>({isSidebarExpanded:e}));var u=a(3546),f=a(74047),p=a(14375),b=a(57288),m=a(31458),h=a(82394),g=a(11208),x=a(4318),v=a(1663);let w=x.fC;x.xz,x.x8;let j=x.h_,y=u.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(x.aV,{className:(0,b.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...s,ref:t})});y.displayName=x.aV.displayName;let N=(0,p.j)("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),A=u.forwardRef((e,t)=>{let{side:a="right",className:s,children:i,...n}=e;return(0,r.jsxs)(j,{children:[(0,r.jsx)(y,{}),(0,r.jsxs)(x.VY,{ref:t,className:(0,b.cn)(N({side:a}),s),...n,children:[i,(0,r.jsxs)(x.x8,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,r.jsx)(v.Z,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});A.displayName=x.VY.displayName;let S=u.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(x.Dx,{ref:t,className:(0,b.cn)("text-lg font-semibold text-foreground",a),...s})});S.displayName=x.Dx.displayName;let k=u.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(x.dk,{ref:t,className:(0,b.cn)("text-sm text-muted-foreground",a),...s})});k.displayName=x.dk.displayName;var R=a(3448),z=a(29),C=a(81565);let E=u.createContext(null);function _(){let e=u.useContext(E);if(!e)throw Error("useSidebar must be used within a SidebarProvider.");return e}let U=u.forwardRef((e,t)=>{let{defaultOpen:a=!0,open:s,onOpenChange:i,className:n,style:d,children:l,...o}=e,c=function(){let[e,t]=u.useState(void 0);return u.useEffect(()=>{let e=window.matchMedia("(max-width: ".concat(767,"px)")),a=()=>{t(window.innerWidth<768)};return e.addEventListener("change",a),t(window.innerWidth<768),()=>e.removeEventListener("change",a)},[]),!!e}(),[f,p]=u.useState(!1),[m,h]=u.useState(a),g=null!=s?s:m,x=u.useCallback(e=>{let t="function"==typeof e?e(g):e;i?i(t):h(t),document.cookie="".concat("sidebar:state","=").concat(t,"; path=/; max-age=").concat(604800)},[i,g]),v=u.useCallback(()=>c?p(e=>!e):x(e=>!e),[c,x,p]);u.useEffect(()=>{let e=e=>{"b"===e.key&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),v())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[v]);let w=g?"expanded":"collapsed",j=u.useMemo(()=>({state:w,open:g,setOpen:x,isMobile:c,openMobile:f,setOpenMobile:p,toggleSidebar:v}),[w,g,x,c,f,p,v]);return(0,r.jsx)(E.Provider,{value:j,children:(0,r.jsx)(z.pn,{delayDuration:200,children:(0,r.jsx)("div",{style:{"--sidebar-width":"16rem","--sidebar-width-icon":"3rem",...d},className:(0,b.cn)("group/sidebar-wrapper has-[[data-variant=inset]]:bg-sidebar flex w-full",n),ref:t,...o,children:l})})})});U.displayName="SidebarProvider";let L=u.forwardRef((e,t)=>{let{side:a="left",variant:s="sidebar",collapsible:i="offcanvas",className:n,children:d,...l}=e,{isMobile:o,state:c,openMobile:u,setOpenMobile:f}=_();return"none"===i?(0,r.jsx)("div",{className:(0,b.cn)("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",n),ref:t,...l,children:d}):o?(0,r.jsx)(w,{open:u,onOpenChange:f,...l,children:(0,r.jsx)(A,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":"18rem"},side:a,children:(0,r.jsx)("div",{className:"flex h-full w-full flex-col",children:d})})}):(0,r.jsxs)("div",{ref:t,className:"group peer hidden text-sidebar-foreground md:block","data-state":c,"data-collapsible":"collapsed"===c?i:"","data-variant":s,"data-side":a,children:[(0,r.jsx)("div",{className:(0,b.cn)("relative w-[--sidebar-width] bg-transparent transition-[width] duration-200 ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180","floating"===s||"inset"===s?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),(0,r.jsx)("div",{className:(0,b.cn)("absolute inset-y-0 z-10 hidden w-[--sidebar-width] transition-[left,right,width,top] duration-200 ease-linear md:flex","left"===a?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]","floating"===s||"inset"===s?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",n),...l,children:(0,r.jsx)("div",{"data-sidebar":"sidebar",className:"flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:d})})]})});L.displayName="Sidebar";let I=u.forwardRef((e,t)=>{let{className:a,onClick:s,...i}=e,{toggleSidebar:n}=_();return(0,r.jsxs)(m.z,{ref:t,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:(0,b.cn)("h-7 w-7",a),onClick:e=>{null==s||s(e),n()},...i,children:[(0,r.jsx)(C.IconPanelLeft,{className:"h-5 w-5",strokeWidth:1.5}),(0,r.jsx)("span",{className:"sr-only",children:"Toggle Sidebar"})]})});I.displayName="SidebarTrigger";let M=u.forwardRef((e,t)=>{let{className:a,...s}=e,{toggleSidebar:i}=_();return(0,r.jsx)("button",{ref:t,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:i,title:"Toggle Sidebar",className:(0,b.cn)("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",a),...s})});M.displayName="SidebarRail";let P=u.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("main",{ref:t,className:(0,b.cn)("relative flex flex-1 flex-col bg-background","md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",a),...s})});P.displayName="SidebarInset";let H=u.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(h.I,{ref:t,"data-sidebar":"input",className:(0,b.cn)("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",a),...s})});H.displayName="SidebarInput";let O=u.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,"data-sidebar":"header",className:(0,b.cn)("flex flex-col gap-2 p-2",a),...s})});O.displayName="SidebarHeader";let Z=u.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,"data-sidebar":"footer",className:(0,b.cn)("flex flex-col gap-2 p-2",a),...s})});Z.displayName="SidebarFooter";let G=u.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(g.Z,{ref:t,"data-sidebar":"separator",className:(0,b.cn)("mx-2 w-auto bg-sidebar-border",a),...s})});G.displayName="SidebarSeparator";let V=u.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,"data-sidebar":"content",className:(0,b.cn)("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",a),...s})});V.displayName="SidebarContent";let D=u.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,"data-sidebar":"group",className:(0,b.cn)("relative flex w-full min-w-0 flex-col p-2",a),...s})});D.displayName="SidebarGroup";let B=u.forwardRef((e,t)=>{let{className:a,asChild:s=!1,...i}=e,n=s?f.g7:"div";return(0,r.jsx)(n,{ref:t,"data-sidebar":"group-label",className:(0,b.cn)("[&>svg]:size-4 flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] duration-200 ease-linear focus-visible:ring-2 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",a),...i})});B.displayName="SidebarGroupLabel";let T=u.forwardRef((e,t)=>{let{className:a,asChild:s=!1,...i}=e,n=s?f.g7:"button";return(0,r.jsx)(n,{ref:t,"data-sidebar":"group-action",className:(0,b.cn)("[&>svg]:size-4 absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",a),...i})});T.displayName="SidebarGroupAction";let Y=u.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,"data-sidebar":"group-content",className:(0,b.cn)("w-full text-sm",a),...s})});Y.displayName="SidebarGroupContent";let W=u.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("ul",{ref:t,"data-sidebar":"menu",className:(0,b.cn)("flex w-full min-w-0 flex-col gap-1",a),...s})});W.displayName="SidebarMenu";let Q=u.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("li",{ref:t,"data-sidebar":"menu-item",className:(0,b.cn)("group/menu-item relative",a),...s})});Q.displayName="SidebarMenuItem";let K=(0,p.j)("peer/menu-button group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 group-data-[collapsible=icon]:!size-8 [&>svg]:size-4 flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"text-sm",sm:"text-xs",lg:"text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),q=u.forwardRef((e,t)=>{let{asChild:a=!1,isActive:s=!1,variant:i="default",size:n="default",tooltip:d,className:l,...o}=e,c=a?f.g7:"button",{isMobile:u,state:p}=_(),m=(0,r.jsx)(c,{ref:t,"data-sidebar":"menu-button","data-size":n,"data-active":s,className:(0,b.cn)(K({variant:i,size:n}),l),...o});return d?("string"==typeof d&&(d={children:d}),(0,r.jsxs)(z.u,{children:[(0,r.jsx)(z.aJ,{asChild:!0,children:m}),(0,r.jsx)(z._v,{side:"right",align:"center",hidden:"collapsed"!==p||u,...d})]})):m});q.displayName="SidebarMenuButton";let J=u.forwardRef((e,t)=>{let{className:a,asChild:s=!1,showOnHover:i=!1,...n}=e,d=s?f.g7:"button";return(0,r.jsx)(d,{ref:t,"data-sidebar":"menu-action",className:(0,b.cn)("[&>svg]:size-4 absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",i&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",a),...n})});J.displayName="SidebarMenuAction";let F=u.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,"data-sidebar":"menu-badge",className:(0,b.cn)("min-w-5 pointer-events-none absolute right-1 flex h-5 select-none items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",a),...s})});F.displayName="SidebarMenuBadge";let X=u.forwardRef((e,t)=>{let{className:a,showIcon:s=!1,...i}=e,n=u.useMemo(()=>"".concat(Math.floor(40*Math.random())+50,"%"),[]);return(0,r.jsxs)("div",{ref:t,"data-sidebar":"menu-skeleton",className:(0,b.cn)("flex h-8 items-center gap-2 rounded-md px-2",a),...i,children:[s&&(0,r.jsx)(R.O,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),(0,r.jsx)(R.O,{className:"h-4 max-w-[--skeleton-width] flex-1","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":n}})]})});X.displayName="SidebarMenuSkeleton";let $=u.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("ul",{ref:t,"data-sidebar":"menu-sub",className:(0,b.cn)("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",a),...s})});$.displayName="SidebarMenuSub";let ee=u.forwardRef((e,t)=>{let{...a}=e;return(0,r.jsx)("li",{ref:t,...a})});ee.displayName="SidebarMenuSubItem";let et=u.forwardRef((e,t)=>{let{asChild:a=!1,size:s="md",isActive:i,className:n,...d}=e,l=a?f.g7:"a";return(0,r.jsx)(l,{ref:t,"data-sidebar":"menu-sub-button","data-size":s,"data-active":i,className:(0,b.cn)("[&>svg]:size-4 flex min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 py-1.5 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground","sm"===s&&"text-xs","md"===s&&"text-sm","group-data-[collapsible=icon]:hidden",n),...d})});et.displayName="SidebarMenuSubButton";var ea=a(11978),er=a(57830),es=a(30601),ei=a(35646),en=a(6246),ed=a(36327),el=a(68172),eo=a(61249),ec=a(63743),eu=a(52569),ef=a(7449);function ep(){var e;let{data:t}=(0,en.Q)(),a=null==t?void 0:null===(e=t.version)||void 0===e?void 0:e.git_describe,{data:s}=(0,ed.Z)("https://api.github.com/repos/TabbyML/tabby/releases/latest",e=>fetch(e).then(e=>e.json())),i=function(e,t){try{return e&&t&&(0,ei.q)(t.name,e,">")}catch(e){return console.warn(e),!0}}(a,s);return(0,r.jsxs)("header",{className:"sticky top-0 z-50 flex h-16 w-full shrink-0 items-center justify-between border-b px-4 backdrop-blur-xl lg:px-10",children:[(0,r.jsxs)("div",{className:"flex items-center gap-4",children:[(0,r.jsx)(I,{className:"-ml-1"}),i&&(0,r.jsxs)("a",{target:"_blank",href:"https://github.com/TabbyML/tabby/releases/latest",rel:"noopener noreferrer",className:(0,b.cn)((0,m.d)({variant:"ghost"})),children:[(0,r.jsx)(C.IconNotice,{className:"text-yellow-600 dark:text-yellow-400"}),(0,r.jsxs)("span",{className:"ml-2 hidden md:flex",children:["New version (",null==s?void 0:s.name,") available"]})]})]}),(0,r.jsxs)("div",{className:"flex items-center justify-center gap-6",children:[(0,r.jsx)(el.q,{children:(0,r.jsx)(ec.T,{})}),(0,r.jsx)(eo.L,{}),(0,r.jsx)(ef.Z,{children:(0,r.jsx)(eu.SQ,{className:"h-10 w-10 border"})})]})]})}var eb=a(90155);function em(e){let{children:t}=e,a=(0,ea.usePathname)(),s=(0,u.useRef)(null),[i]=(0,es.Hb)(),[n]=(0,eb.useShowLicenseBanner)(),d=i||n?{height:"calc(100vh - ".concat(i?es.wt:"0rem"," - ").concat(n?es.wt:"0rem",")")}:{height:"100vh"};return(0,u.useEffect)(()=>{a&&s.current&&(s.current.scrollTop=0)},[a]),(0,r.jsx)(P,{className:"overflow-x-hidden",children:(0,r.jsxs)(er.ScrollArea,{ref:s,style:d,children:[(0,r.jsx)(ep,{}),(0,r.jsx)("div",{className:"p-4 lg:p-10",children:t})]})})}var eh=a(42891),eg=a.n(eh),ex=a(70652),ev=a.n(ex),ew=a(83332),ej=a(76531),ey=a(23342),eN=a(38421),eA=a(98454),eS=a(17989);let ek=eS.fC,eR=eS.wy,ez=eS.Fw;var eC=a(90615),eE=a(6230);let e_=[{title:"Profile",icon:C.IconUser,href:"/profile",allowUser:!0},{title:"Information",icon:C.IconBookOpenText,items:[{title:"System",href:"/system"},{title:"Jobs",href:"/jobs"},{title:"Reports",href:"/reports"},{title:"Activities",href:"/activities"}]},{title:"Settings",icon:C.IconGear,allowUser:!0,items:[{title:"General",href:"/settings/general"},{title:"Users & Groups",href:"/settings/team",allowUser:!0},{title:"Subscription",href:"/settings/subscription"}]},{title:"Integrations",icon:C.IconLightingBolt,items:[{title:"Context Providers",href:"/settings/providers/git"},{title:"SSO",href:"/settings/sso"},{title:"Mail Delivery",href:"/settings/mail"}]}];function eU(){let e=(0,ea.usePathname)(),[{data:t,fetching:a}]=(0,eA.P)(),s=null==t?void 0:t.me.isAdmin,{isMobile:i,state:n}=_();return(0,r.jsxs)(L,{style:{position:"absolute",top:0,bottom:0},collapsible:"icon",children:[(0,r.jsx)(O,{children:(0,r.jsx)(ev(),{href:"/",className:"flex h-[3.375rem] items-center justify-center py-2",children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(eg(),{src:ey.Z,width:32,alt:"logo",className:"hidden group-data-[collapsible=icon]:block"}),(0,r.jsxs)("div",{className:"w-[128px] group-data-[collapsible=icon]:hidden",children:[(0,r.jsx)(eg(),{src:ej.Z,alt:"logo",className:"dark:hidden",width:128}),(0,r.jsx)(eg(),{src:ew.Z,alt:"logo",width:96,className:"hidden dark:block"})]})]})})}),(0,r.jsx)(V,{children:(0,r.jsx)(D,{className:"list-none space-y-2 text-sm font-medium leading-normal",children:(0,r.jsx)(eE.Z,{loading:a,children:e_.map(t=>s||t.allowUser?t.items?(0,r.jsx)(ek,{defaultOpen:!0,asChild:!0,className:"group/collapsible",children:(0,r.jsxs)(Q,{children:[(0,r.jsxs)(eC.zs,{openDelay:200,closeDelay:200,children:[(0,r.jsx)(eC.Yi,{asChild:!0,children:(0,r.jsx)(eR,{asChild:!0,children:(0,r.jsxs)(q,{children:[!!t.icon&&(0,r.jsx)(t.icon,{}),(0,r.jsx)("span",{children:t.title}),(0,r.jsx)(C.IconChevronRight,{className:"ml-auto transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90"})]},t.title)})}),(0,r.jsx)(eN.E,{children:(0,r.jsx)(eC.bZ,{align:"start",side:"right",sideOffset:4,hidden:"collapsed"!==n||i,className:"w-[theme(space.48)] py-2",children:(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"mb-2 ml-2 mt-1 text-sm font-medium text-muted-foreground",children:t.title}),(0,r.jsx)("div",{className:"space-y-1",children:t.items.map(t=>s||t.allowUser?(0,r.jsx)(q,{asChild:!0,isActive:e.startsWith(t.href),children:(0,r.jsx)(ev(),{href:t.href,children:(0,r.jsx)("span",{children:t.title})})},t.title):null)})]},t.title)})})]}),(0,r.jsx)(ez,{children:(0,r.jsx)($,{children:t.items.map(t=>{if(s||t.allowUser)return(0,r.jsx)(ee,{children:(0,r.jsx)(et,{asChild:!0,isActive:e.startsWith(t.href),children:(0,r.jsx)(ev(),{href:t.href,children:(0,r.jsx)("span",{children:t.title})})})},t.title)})})})]})},"collapsible_".concat(t.title)):(0,r.jsx)(Q,{children:(0,r.jsx)(q,{asChild:!0,isActive:e.startsWith(t.href),tooltip:{children:(0,r.jsx)("span",{className:"text-sm font-medium text-muted-foreground",children:t.title})},children:(0,r.jsxs)(ev(),{href:t.href,children:[!!t.icon&&(0,r.jsx)(t.icon,{}),(0,r.jsx)("span",{children:t.title})]})})},t.title):null)})})})]})}function eL(e){let{children:t}=e,a=(0,s.U)(),i=l(e=>e.isSidebarExpanded);return a?(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(U,{className:"relative",open:i,onOpenChange:e=>c(e),children:[(0,r.jsx)(eU,{}),(0,r.jsx)(em,{children:t})]})}):null}},90155:function(e,t,a){"use strict";a.r(t),a.d(t,{BANNER_HEIGHT:function(){return f},LicenseBanner:function(){return h},ShowLicenseBannerProvider:function(){return b},useShowLicenseBanner:function(){return m}});var r=a(36164),s=a(3546),i=a(70652),n=a.n(i),d=a(11978),l=a(29917),o=a(57288),c=a(81565),u=a(31458);let f="3.5rem",p=s.createContext({}),b=e=>{let{children:t}=e,{isExpired:a,isSeatsExceeded:i,isLicenseOK:n}=(0,l.Cz)(),[d,o]=s.useState(!1);return s.useEffect(()=>{let e=window.self!==window.top;!e&&(a||i?o(!0):n&&o(!1))},[n,a,i]),(0,r.jsx)(p.Provider,{value:{isShowLicenseBanner:d,setIsShowLicenseBanner:o},children:t})};function m(){let{isShowLicenseBanner:e,setIsShowLicenseBanner:t}=s.useContext(p);return[e,t]}function h(){let[e,t]=m(),{isExpired:a,isSeatsExceeded:i}=(0,l.Cz)(),p=(0,d.usePathname)(),b=(0,s.useMemo)(()=>a?"Your subscription is expired.":i?"You have more active users than seats included in your subscription.":"No valid license configured",[a,i]);return(0,r.jsxs)("div",{className:(0,o.cn)("flex items-center justify-between bg-secondary px-4 text-secondary-foreground transition-[height,opacity] md:px-5",{"opacity-100 pointer-events-auto border-b":e,"opacity-0 pointer-events-none":!e}),style:e?{height:f}:{height:0},children:[(0,r.jsxs)("div",{className:"flex items-center gap-1 font-semibold text-destructive",children:[(0,r.jsx)(c.IconNotice,{}),b]}),(0,r.jsxs)("div",{className:"flex items-center gap-x-4 md:gap-x-8",children:["/settings/subscription"!==p&&(0,r.jsx)(n(),{href:"/settings/subscription",className:(0,o.cn)((0,u.d)(),"gap-1"),children:"See more"}),(0,r.jsx)(c.IconClose,{className:"cursor-pointer transition-all hover:opacity-70",onClick:()=>t(!1)})]})]})}},90615:function(e,t,a){"use strict";a.d(t,{Yi:function(){return l},bZ:function(){return o},zs:function(){return d}});var r=a(36164),s=a(3546),i=a(38421),n=a(57288);let d=i.fC,l=i.xz;i.h_;let o=s.forwardRef((e,t)=>{let{className:a,align:s="center",sideOffset:d=4,...l}=e;return(0,r.jsx)(i.VY,{ref:t,align:s,sideOffset:d,className:(0,n.cn)("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...l})});o.displayName=i.VY.displayName},6246:function(e,t,a){"use strict";a.d(t,{Q:function(){return i}});var r=a(21454),s=a(3765);function i(){return(0,r.ZP)("/v1/health",e=>(0,s.Z)(e,{errorHandler:e=>{throw Error((null==e?void 0:e.statusText.toString())||"Unhealth")}}),{shouldRetryOnError:!1})}},29917:function(e,t,a){"use strict";a.d(t,{Cz:function(){return c},Gm:function(){return o},jp:function(){return l}});var r=a(11978),s=a(40055),i=a(43240),n=a(18500);let d=(0,i.BX)("\n query GetLicenseInfo {\n license {\n type\n status\n seats\n seatsUsed\n issuedAt\n expiresAt\n }\n }\n"),l=()=>(0,s.aM)({query:d}),o=()=>{let[{data:e}]=l();return null==e?void 0:e.license},c=e=>{var t;let[{data:a}]=l(),s=null==a?void 0:a.license,i=(0,r.useSearchParams)(),d=!!s&&(!(null==e?void 0:null===(t=e.licenses)||void 0===t?void 0:t.length)||e.licenses.includes(s.type)),o=(null==s?void 0:s.status)===n.Rj.Ok,c=(null==s?void 0:s.status)===n.Rj.Expired,u=(null==s?void 0:s.status)===(null===n.Rj||void 0===n.Rj?void 0:n.Rj.SeatsExceeded),f="expired"===i.get("licenseError"),p="seatsExceed"===i.get("licenseError");return{hasLicense:!!s,isLicenseOK:o&&!(f||p),isExpired:c||f,isSeatsExceeded:u||p,hasSufficientLicense:d}}},76531:function(e,t){"use strict";t.Z={src:"/_next/static/media/logo.526f7cf9.png",height:184,width:607,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAYAAABllJ3tAAAASklEQVR4nGPsKQh1f/HshV/PqtNtagrC8p++//rDAgQM//9/ZWJifMZYnRqg9+bVq6iZ51+1SP/5ovH//z8eRgbGbwyMjPxA9n0AMi8g2L1xUkUAAAAASUVORK5CYII=",blurWidth:8,blurHeight:2}},23342:function(e,t){"use strict";t.Z={src:"/_next/static/media/tabby.16ac81a9.png",height:175,width:175,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAA50lEQVR42mMAgUWTGw3KsqO9QOypZeG6NekBuQzI4NCmmaZtFam/K6PtHzYlOH5ysDX7n5QYboJQsKrfd1JN6v+ldXH/F+fa/fWyNf4fEebXBlcwsSbNeWV/+f9FE+t+za2K+xNjLfPf293u6v///xkZQGDDwr7gfetm/d8xr+VPkpXgnzR3nf/xAY6vt6yfK84AUrV5+US9HWtnnVgyrfm/tiTD/9JAo//5Ea5nGUDAkoGBCUQHWEiZysuI7LcwN7wb6WV1IT7YzR7uhh3Lepg+AU2av2AiT0pCuDKDayAvSLwsM4oJAH4LXl0Gpb0HAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8}}},function(e){e.O(0,[8415,7565,7430,55,7812,4007,9643,4752,3449,2578,8511,4421,1454,1002,4546,4553,9275,9148,4405,5083,6044,3817,7288,1565,4656,9634,3375,5289,1744],function(){return e(e.s=11513)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/profile/page-92fdb6fc86588b59.js b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/profile/page-92fdb6fc86588b59.js deleted file mode 100644 index 5523227a2c58..000000000000 --- a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/profile/page-92fdb6fc86588b59.js +++ /dev/null @@ -1,5 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5688],{61886:function(e,r,t){Promise.resolve().then(t.bind(t,79879))},79879:function(e,r,t){"use strict";t.r(r),t.d(r,{default:function(){return M}});var n=t(36164),a=t(3546),s=t(2578),l=t(43240),o=t(98454),i=t(11634),u=t(57288),c=t(31458),d=t(81565),f=t(11208),m=t(52569);let p=(0,l.BX)("\n mutation uploadUserAvatarBase64($id: ID!, $avatarBase64: String!) {\n uploadUserAvatarBase64(id: $id, avatarBase64: $avatarBase64)\n }\n"),x=()=>{var e;let[r,t]=(0,a.useState)(!1),[l,x]=(0,a.useState)(""),[{data:h}]=(0,o.P)(),v=(0,i.Db)(p,{onError(e){s.A.error(e.message)}});if(!(null==h?void 0:null===(e=h.me)||void 0===e?void 0:e.email))return null;let w=async()=>{var e;t(!0);let r=await v({avatarBase64:l.split(",")[1],id:h.me.id});(null==r?void 0:null===(e=r.data)||void 0===e?void 0:e.uploadUserAvatarBase64)===!0&&(await (0,u.gw)(1e3),(0,m.nY)(h.me.id),s.A.success("Successfully updated your profile picture!"),await (0,u.gw)(200)),x(""),t(!1)};return(0,n.jsxs)("div",{className:"grid gap-6",children:[(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsx)("label",{htmlFor:"avatar-file",className:"absolute left-0 top-0 z-20 flex h-16 w-16 cursor-pointer items-center justify-center rounded-full bg-background/90 opacity-0 transition-opacity hover:opacity-100",children:(0,n.jsx)(d.IconCloudUpload,{})}),(0,n.jsx)("input",{id:"avatar-file",type:"file",accept:"image/png, image/jpeg",className:"hidden",onChange:e=>{let r=e.target.files?e.target.files[0]:null;if(r){let e=parseFloat((r.size/1024).toFixed(2));if(e>500)return s.A.error("The image you are attempting to upload is too large. Please ensure the file size is under ".concat(500,"KB and try again."));let t=new FileReader;t.onloadend=()=>{let e=t.result;x(e)},t.readAsDataURL(r)}}}),l&&(0,n.jsx)("img",{src:l,className:"absolute left-0 top-0 z-10 h-16 w-16 rounded-full border object-cover",alt:"avatar to be uploaded"}),(0,n.jsx)(m.SQ,{className:(0,u.cn)("relative h-16 w-16 border",{"opacity-0":l})})]}),(0,n.jsx)(f.Z,{}),(0,n.jsxs)("div",{className:"flex items-center justify-between",children:[(0,n.jsxs)(c.z,{type:"submit",disabled:!l||r,onClick:w,className:"mr-5 w-40",children:[r&&(0,n.jsx)(d.IconSpinner,{className:"mr-2 h-4 w-4 animate-spin"}),"Save Changes"]}),(0,n.jsx)("div",{className:"flex flex-1 justify-end",children:(0,n.jsx)("p",{className:" text-xs text-muted-foreground lg:text-sm",children:"Square image recommended. Accepted file types: .png, .jpg. Max file size: ".concat(500,"KB.")})})]})]})};var h=t(84381),v=t(5493),w=t(23782),N=t(98150),j=t(82394),g=t(90379);let b=(0,l.BX)("\n mutation UpdateUserName($id: ID!, $name: String!) {\n updateUserName(id: $id, name: $name)\n }\n"),S=e=>{let{onSuccess:r,defaultValues:t}=e,[{data:a}]=(0,o.P)(),s=w.Ry({name:w.Z_()}),l=(0,v.cI)({resolver:(0,h.F)(s),defaultValues:t}),{isSubmitting:u}=l.formState,{name:m}=l.watch(),p=(0,i.Db)(b,{form:l,onCompleted(e){(null==e?void 0:e.updateUserName)&&(null==r||r())}}),x=async e=>{await p({id:a.me.id,name:e.name})},g=m!==t.name;return(0,n.jsx)(N.l0,{...l,children:(0,n.jsxs)("form",{className:"grid gap-6",onSubmit:l.handleSubmit(x),children:[(0,n.jsx)(N.Wi,{control:l.control,name:"name",render:e=>{let{field:r}=e;return(0,n.jsxs)(N.xJ,{children:[(0,n.jsx)(N.lX,{children:"Name"}),(0,n.jsx)(N.NI,{children:(0,n.jsx)(j.I,{className:"w-[350px]",...r})}),(0,n.jsx)(N.zG,{})]})}}),(0,n.jsx)(N.zG,{}),(0,n.jsx)(f.Z,{}),(0,n.jsx)("div",{className:"flex",children:(0,n.jsxs)(c.z,{type:"submit",disabled:!m||!g||u,className:"w-40",children:[u&&(0,n.jsx)(d.IconSpinner,{className:"mr-2 h-4 w-4 animate-spin"}),"Save Changes"]})})]})})},C=()=>{let[{data:e},r]=(0,o.P)();return e?(0,n.jsx)(S,{onSuccess:()=>{s.A.success("Name is updated"),r()},defaultValues:{name:e.me.name}}):(0,n.jsx)(g.cg,{})};var y=t(4302);let _=(0,l.BX)("\n mutation PasswordChange($input: PasswordChangeInput!) {\n passwordChange(input: $input)\n }\n"),I=e=>{let{onSuccess:r,showOldPassword:t}=e,[s,l]=a.useState(!1),[o,u]=a.useState(!1),m=w.Ry({oldPassword:t?w.Z_():w.Z_().optional(),newPassword1:w.Z_(),newPassword2:w.Z_()}),p=(0,v.cI)({resolver:(0,h.F)(m)}),{isSubmitting:x}=p.formState,{newPassword1:g}=p.watch(),[b]=(0,y.Y0)(g),S=(0,i.Db)(_,{form:p,onCompleted(e){(null==e?void 0:e.passwordChange)&&(null==r||r(),p.reset({newPassword1:"",newPassword2:"",oldPassword:""}))}}),C=async e=>{await S({input:e})},I=()=>{if(0===b.length)return l(!1);u(!0)};return(0,n.jsx)(N.l0,{...p,children:(0,n.jsxs)("form",{className:"grid gap-6",onSubmit:p.handleSubmit(C),children:[t&&(0,n.jsx)(N.Wi,{control:p.control,name:"oldPassword",render:e=>{let{field:r}=e;return(0,n.jsxs)(N.xJ,{children:[(0,n.jsx)(N.lX,{required:!0,children:"Old password"}),(0,n.jsx)(N.NI,{children:(0,n.jsx)(j.I,{className:"w-[350px]",autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",type:"password",...r})}),(0,n.jsx)(N.zG,{})]})}}),(0,n.jsxs)("div",{children:[(0,n.jsx)(N.Wi,{control:p.control,name:"newPassword1",render:e=>{let{field:r}=e;return(0,n.jsxs)(N.xJ,{children:[(0,n.jsx)(N.lX,{required:!0,children:"New password"}),(0,n.jsx)(N.NI,{children:(0,n.jsx)(j.I,{className:"w-[350px]",autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",type:"password",...r,onFocus:()=>l(!0),onBlur:I})})]})}}),(0,n.jsx)(y.Lu,{password:g||"",showPasswordSchema:s,passworErrors:b,showPasswordError:o})]}),(0,n.jsx)(N.Wi,{control:p.control,name:"newPassword2",render:e=>{let{field:r}=e;return(0,n.jsxs)(N.xJ,{children:[(0,n.jsx)(N.lX,{required:!0,children:"Confirm new password"}),(0,n.jsx)(N.NI,{children:(0,n.jsx)(j.I,{className:"w-[350px]",autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",type:"password",...r})}),(0,n.jsx)(N.zG,{})]})}}),(0,n.jsx)(N.zG,{}),(0,n.jsx)(f.Z,{}),(0,n.jsx)("div",{className:"flex",children:(0,n.jsxs)(c.z,{type:"submit",disabled:x,className:"w-40",children:[x&&(0,n.jsx)(d.IconSpinner,{className:"mr-2 h-4 w-4 animate-spin"}),"Save Changes"]})})]})})},E=()=>{var e;let[{data:r},t]=(0,o.P)();return r?(0,n.jsx)(I,{onSuccess:()=>{s.A.success("Password is updated"),t()},showOldPassword:null==r?void 0:null===(e=r.me)||void 0===e?void 0:e.isPasswordSet}):(0,n.jsx)(g.cg,{})};var A=t(71480);let P=()=>{var e;let[{data:r}]=(0,o.P)();return(0,n.jsx)("div",{children:(0,n.jsx)(j.I,{disabled:!0,className:"w-[350px]",value:null==r?void 0:null===(e=r.me)||void 0===e?void 0:e.email,onChange:A.Z})})};var R=t(79972);let T=e=>{let{title:r,description:t,footer:a,footerClassname:s,className:l,children:o,...i}=e;return(0,n.jsxs)("div",{className:(0,u.cn)("flex w-full flex-col gap-8 rounded-lg border p-6 pb-0 xl:w-[800px]",l),...i,children:[(0,n.jsxs)("div",{children:[(0,n.jsx)(R.ll,{children:r}),t&&(0,n.jsx)("div",{className:"mt-4 text-sm text-muted-foreground",children:t})]}),(0,n.jsx)(R.aY,{className:"p-0",children:o}),(0,n.jsxs)("div",{className:(0,u.cn)("rounded-b-lg pb-6 text-sm text-muted-foreground",s),children:[!!a&&(0,n.jsx)(f.Z,{className:"mb-6"}),a]})]})};function M(){return(0,n.jsxs)("div",{className:"flex flex-col items-center gap-6",children:[(0,n.jsx)(T,{title:"Your Name",footerClassname:"pb-0",children:(0,n.jsx)(C,{})}),(0,n.jsx)(T,{title:"Your Email",description:"This will be the email you use to log in and receive notifications.",footer:"The feature to change your email address will be available in a future release.",children:(0,n.jsx)(P,{})}),(0,n.jsx)(T,{title:"Your Avatar",description:"This is your avatar image.",footerClassname:"pb-0",children:(0,n.jsx)(x,{})}),(0,n.jsx)(T,{title:"Change Password",footerClassname:"pb-0",children:(0,n.jsx)(E,{})})]})}},4302:function(e,r,t){"use strict";t.d(r,{Lu:function(){return f},Y0:function(){return d}});var n,a,s=t(36164),l=t(3546),o=t(74630),i=t(23782),u=t(57288);(n=a||(a={})).LOWERCASE_MSISSING="lowercase_missing",n.UPPERCASE_MSISSING="uppercase_missing",n.NUMBER_MISSING="number_missing",n.SPECIAL_CHAR_MISSING="special_char_missing",n.AT_LEAST_EIGHT_CHAR="at_least_eight_char",n.AT_MOST_TWENTY_CHAT="at_most_twenty_char";let c=i.Z_().refine(e=>/[a-z]/.test(e),{params:{errorCode:a.LOWERCASE_MSISSING}}).refine(e=>/[A-Z]/.test(e),{params:{errorCode:a.UPPERCASE_MSISSING}}).refine(e=>/\d/.test(e),{params:{errorCode:a.NUMBER_MISSING}}).refine(e=>/[!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?]+/.test(e),{params:{errorCode:a.SPECIAL_CHAR_MISSING}}).refine(e=>e.length>=8,{params:{errorCode:a.AT_LEAST_EIGHT_CHAR}}).refine(e=>e.length<=20,{params:{errorCode:a.AT_MOST_TWENTY_CHAT}}),d=e=>{let[r,t]=l.useState([]);return l.useEffect(()=>{if(!(0,o.Z)(e))try{c.parse(e),t([])}catch(e){e instanceof i.jm&&t(e.issues.map(e=>e.params.errorCode))}},[e]),[r,t]};function f(e){let{password:r,showPasswordSchema:t,passworErrors:n,showPasswordError:l}=e;function o(e){let{errorCode:t,text:a}=e;return(0,s.jsx)("li",{className:(0,u.cn)("py-0.5",{"text-green-600 dark:text-green-500":r.length>0&&!n.includes(t),"text-red-600 dark:text-red-500":l&&r.length>0&&n.includes(t)}),children:a})}return(0,s.jsxs)("div",{className:(0,u.cn)("relative text-sm transition-all",{"h-0 opacity-0 -z-10":!t,"mt-4 h-40 opacity-100":t}),children:[(0,s.jsx)("p",{className:"mb-0.5 text-xs text-muted-foreground",children:"Set up a strong password with"}),(0,s.jsxs)("ul",{className:"list-disc pl-4",children:[(0,s.jsx)(o,{errorCode:a.AT_LEAST_EIGHT_CHAR,text:"At least 8 characters long"}),(0,s.jsx)(o,{errorCode:a.AT_MOST_TWENTY_CHAT,text:"No more than 20 characters long"}),(0,s.jsx)(o,{errorCode:a.LOWERCASE_MSISSING,text:"At least one lowercase character"}),(0,s.jsx)(o,{errorCode:a.UPPERCASE_MSISSING,text:"At least one uppercase character"}),(0,s.jsx)(o,{errorCode:a.NUMBER_MISSING,text:"At least one numeric character"}),(0,s.jsx)(o,{errorCode:a.SPECIAL_CHAR_MISSING,text:"At least one special character , such as @#$%^&{}"})]})]})}},90379:function(e,r,t){"use strict";t.d(r,{PF:function(){return i},cg:function(){return l},tB:function(){return o}});var n=t(36164),a=t(57288),s=t(3448);let l=e=>{let{className:r,...t}=e;return(0,n.jsxs)("div",{className:(0,a.cn)("space-y-3",r),...t,children:[(0,n.jsx)(s.O,{className:"h-4 w-full"}),(0,n.jsx)(s.O,{className:"h-4 w-full"}),(0,n.jsx)(s.O,{className:"h-4 w-full"}),(0,n.jsx)(s.O,{className:"h-4 w-full"})]})},o=e=>{let{className:r,...t}=e;return(0,n.jsx)(s.O,{className:(0,a.cn)("h-4 w-full",r),...t})},i=e=>{let{className:r,...t}=e;return(0,n.jsxs)("div",{className:(0,a.cn)("flex flex-col gap-3",r),...t,children:[(0,n.jsx)(s.O,{className:"h-4 w-[20%]"}),(0,n.jsx)(s.O,{className:"h-4 w-full"}),(0,n.jsx)(s.O,{className:"h-4 w-[20%]"}),(0,n.jsx)(s.O,{className:"h-4 w-full"})]})}},79972:function(e,r,t){"use strict";t.d(r,{Ol:function(){return o},Zb:function(){return l},aY:function(){return c},eW:function(){return d},ll:function(){return i}});var n=t(36164),a=t(3546),s=t(57288);let l=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,n.jsx)("div",{ref:r,className:(0,s.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",t),...a})});l.displayName="Card";let o=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,n.jsx)("div",{ref:r,className:(0,s.cn)("flex flex-col space-y-1.5 p-6",t),...a})});o.displayName="CardHeader";let i=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,n.jsx)("h3",{ref:r,className:(0,s.cn)("text-2xl font-semibold leading-none tracking-tight",t),...a})});i.displayName="CardTitle";let u=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,n.jsx)("p",{ref:r,className:(0,s.cn)("text-sm text-muted-foreground",t),...a})});u.displayName="CardDescription";let c=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,n.jsx)("div",{ref:r,className:(0,s.cn)("p-6 pt-0",t),...a})});c.displayName="CardContent";let d=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,n.jsx)("div",{ref:r,className:(0,s.cn)("flex items-center p-6 pt-0",t),...a})});d.displayName="CardFooter"},98150:function(e,r,t){"use strict";t.d(r,{NI:function(){return h},Wi:function(){return d},l0:function(){return u},lX:function(){return x},pf:function(){return v},xJ:function(){return p},zG:function(){return w}});var n=t(36164),a=t(3546),s=t(74047),l=t(5493),o=t(57288),i=t(5266);let u=l.RV,c=a.createContext({}),d=e=>{let{...r}=e;return(0,n.jsx)(c.Provider,{value:{name:r.name},children:(0,n.jsx)(l.Qr,{...r})})},f=()=>{let e=a.useContext(c),r=a.useContext(m),{getFieldState:t,formState:n}=(0,l.Gc)(),s=e.name||"root",o=t(s,n);if(!n)throw Error("useFormField should be used within
");let{id:i}=r;return{id:i,name:s,formItemId:"".concat(i,"-form-item"),formDescriptionId:"".concat(i,"-form-item-description"),formMessageId:"".concat(i,"-form-item-message"),...o}},m=a.createContext({}),p=a.forwardRef((e,r)=>{let{className:t,...s}=e,l=a.useId();return(0,n.jsx)(m.Provider,{value:{id:l},children:(0,n.jsx)("div",{ref:r,className:(0,o.cn)("space-y-2",t),...s})})});p.displayName="FormItem";let x=a.forwardRef((e,r)=>{let{className:t,required:a,...s}=e,{error:l,formItemId:u}=f();return(0,n.jsx)(i._,{ref:r,className:(0,o.cn)(l&&"text-destructive",a&&'after:ml-0.5 after:text-destructive after:content-["*"]',t),htmlFor:u,...s})});x.displayName="FormLabel";let h=a.forwardRef((e,r)=>{let{...t}=e,{error:a,formItemId:l,formDescriptionId:o,formMessageId:i}=f();return(0,n.jsx)(s.g7,{ref:r,id:l,"aria-describedby":a?"".concat(o," ").concat(i):"".concat(o),"aria-invalid":!!a,...t})});h.displayName="FormControl";let v=a.forwardRef((e,r)=>{let{className:t,...a}=e,{formDescriptionId:s}=f();return(0,n.jsx)("div",{ref:r,id:s,className:(0,o.cn)("text-sm text-muted-foreground",t),...a})});v.displayName="FormDescription";let w=a.forwardRef((e,r)=>{let{className:t,children:a,...s}=e,{error:l,formMessageId:i}=f(),u=l?String(null==l?void 0:l.message):a;return u?(0,n.jsx)("p",{ref:r,id:i,className:(0,o.cn)("text-sm font-medium text-destructive",t),...s,children:u}):null});w.displayName="FormMessage"},82394:function(e,r,t){"use strict";t.d(r,{I:function(){return l}});var n=t(36164),a=t(3546),s=t(57288);let l=a.forwardRef((e,r)=>{let{className:t,type:a,...l}=e;return(0,n.jsx)("input",{type:a,className:(0,s.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),ref:r,...l})});l.displayName="Input"},5266:function(e,r,t){"use strict";t.d(r,{_:function(){return u}});var n=t(36164),a=t(3546),s=t(90893),l=t(14375),o=t(57288);let i=(0,l.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),u=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,n.jsx)(s.f,{ref:r,className:(0,o.cn)(i(),t),...a})});u.displayName=s.f.displayName},11208:function(e,r,t){"use strict";t.d(r,{Z:function(){return o}});var n=t(36164),a=t(3546),s=t(74225),l=t(57288);let o=a.forwardRef((e,r)=>{let{className:t,orientation:a="horizontal",decorative:o=!0,...i}=e;return(0,n.jsx)(s.f,{ref:r,decorative:o,orientation:a,className:(0,l.cn)("shrink-0 bg-border","horizontal"===a?"h-[1px] w-full":"h-full w-[1px]",t),...i})});o.displayName=s.f.displayName},3448:function(e,r,t){"use strict";t.d(r,{O:function(){return s}});var n=t(36164),a=t(57288);function s(e){let{className:r,...t}=e;return(0,n.jsx)("div",{className:(0,a.cn)("h-4 animate-pulse rounded-md bg-border",r),...t})}},52569:function(e,r,t){"use strict";t.d(r,{SQ:function(){return g},Yt:function(){return j},nY:function(){return N}});var n=t(36164),a=t(3546),s=t(87782),l=t(21454),o=t(36327),i=t(98454),u=t(3765),c=t(57288),d=t(66612);let f=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,n.jsx)(d.fC,{ref:r,className:(0,c.cn)("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",t),...a})});f.displayName=d.fC.displayName;let m=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,n.jsx)(d.Ee,{ref:r,className:(0,c.cn)("aspect-square h-full w-full",t),...a})});m.displayName=d.Ee.displayName;let p=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,n.jsx)(d.NY,{ref:r,className:(0,c.cn)("flex h-full w-full items-center justify-center rounded-full bg-muted",t),...a})});p.displayName=d.NY.displayName;var x=t(3448),h=t(30410).lW;let v="not_found",w=new Set,N=e=>{w.delete(e),(0,l.JG)("/avatar/".concat(e))};function j(e){var r;let{user:t,className:l,fallback:i}=e,d=null==t?void 0:t.id,N=d?"/avatar/".concat(d):null,{data:j,isLoading:g,error:b}=(0,o.Z)(N,e=>{if(!(!d||w.has(d)))return(0,u.Z)(e,{responseFormatter:async e=>{let r=await e.blob(),t=h.from(await r.arrayBuffer());return"data:image/png;base64,".concat(t.toString("base64"))},errorHandler:e=>{if(404===e.status)throw Error(v)}})}),S=a.useMemo(()=>{if(null==t?void 0:t.email)return(0,s.B)(t.email)},[null==t?void 0:t.email]);return g?(0,n.jsx)(x.O,{className:(0,c.cn)("h-16 w-16 rounded-full",l)}):((null==b?void 0:b.message)===v&&d&&w.add(d),j||S||!i)?!j&&S?(0,n.jsx)(s.Z,{className:(0,c.cn)("h-16 w-16",l),...S}):(0,n.jsxs)(f,{className:(0,c.cn)("h-16 w-16",l),children:[(0,n.jsx)(m,{src:j,alt:null==t?void 0:t.email,className:"object-cover"}),(0,n.jsx)(p,{children:null==t?void 0:null===(r=t.email)||void 0===r?void 0:r.substring(0,2)})]}):i}function g(e){let[{data:r}]=(0,i.P)();return(0,n.jsx)(j,{user:null==r?void 0:r.me,...e})}},98454:function(e,r,t){"use strict";t.d(r,{P:function(){return l}});var n=t(40055),a=t(43240);let s=(0,a.BX)("\n query MeQuery {\n me {\n id\n authToken\n email\n isAdmin\n isOwner\n isPasswordSet\n name\n }\n }\n"),l=()=>(0,n.aM)({query:s})},3765:function(e,r,t){"use strict";t.d(r,{Z:function(){return i}});var n=t(44745),a=t(57778),s=t(79716),l=t(91302),o=t(66794);async function i(e,r){var t;let n=null!==(t=null==r?void 0:r.customFetch)&&void 0!==t?t:window.fetch;if(function(e){var r;if(e.startsWith("/oauth/providers"))return!1;let t=null===(r=(0,o.bW)())||void 0===r?void 0:r.accessToken;if(!t)return!0;try{let{exp:e}=(0,s.o)(t);return(0,o.pw)(e)}catch(e){return!0}}(e))return o.gN.refreshToken(u).then(t=>f(e,r));let a=await n(e,c(r));return 401===a.status?(o.gN.clearAccessToken(),o.gN.refreshToken(u).then(t=>f(e,r))):m(a,r)}async function u(){var e,r;let t=null===(e=(0,o.bW)())||void 0===e?void 0:e.refreshToken;if(!t)return;let n=await d(t);return null==n?void 0:null===(r=n.data)||void 0===r?void 0:r.refreshToken}function c(e){var r;let t=new Headers(null==e?void 0:e.headers);return t.append("authorization","Bearer ".concat(null===(r=(0,o.bW)())||void 0===r?void 0:r.accessToken)),{...e||{},headers:t}}async function d(e){let r=new n.KU({url:"/graphql",requestPolicy:"network-only",exchanges:[n.Ek]}),t=r.createRequestOperation("mutation",(0,a.h)(l.Dp,{refreshToken:e}));return r.executeMutation(t)}function f(e,r){var t;let n=null!==(t=null==r?void 0:r.customFetch)&&void 0!==t?t:window.fetch;return n(e,c(r)).then(e=>m(e,r))}function m(e,r){return(null==e?void 0:e.ok)?(null==r?void 0:r.responseFormatter)?r.responseFormatter(e):(null==r?void 0:r.responseFormat)==="blob"?e.blob():e.json():(null==r?void 0:r.errorHandler)?r.errorHandler(e):void 0}},47091:function(e,r,t){"use strict";t.d(r,{b:function(){return s},k:function(){return a}});var n=t(3546);function a(e,r){let t=(0,n.createContext)(r);function a(e){let{children:r,...a}=e,s=(0,n.useMemo)(()=>a,Object.values(a));return(0,n.createElement)(t.Provider,{value:s},r)}return a.displayName=e+"Provider",[a,function(a){let s=(0,n.useContext)(t);if(s)return s;if(void 0!==r)return r;throw Error(`\`${a}\` must be used within \`${e}\``)}]}function s(e,r=[]){let t=[],a=()=>{let r=t.map(e=>(0,n.createContext)(e));return function(t){let a=(null==t?void 0:t[e])||r;return(0,n.useMemo)(()=>({[`__scope${e}`]:{...t,[e]:a}}),[t,a])}};return a.scopeName=e,[function(r,a){let s=(0,n.createContext)(a),l=t.length;function o(r){let{scope:t,children:a,...o}=r,i=(null==t?void 0:t[e][l])||s,u=(0,n.useMemo)(()=>o,Object.values(o));return(0,n.createElement)(i.Provider,{value:u},a)}return t=[...t,a],o.displayName=r+"Provider",[o,function(t,o){let i=(null==o?void 0:o[e][l])||s,u=(0,n.useContext)(i);if(u)return u;if(void 0!==a)return a;throw Error(`\`${t}\` must be used within \`${r}\``)}]},function(...e){let r=e[0];if(1===e.length)return r;let t=()=>{let t=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let a=t.reduce((r,{useScope:t,scopeName:n})=>{let a=t(e),s=a[`__scope${n}`];return{...r,...s}},{});return(0,n.useMemo)(()=>({[`__scope${r.scopeName}`]:a}),[a])}};return t.scopeName=r.scopeName,t}(a,...r)]}},74225:function(e,r,t){"use strict";t.d(r,{f:function(){return c}});var n=t(65122),a=t(3546),s=t(72205);let l="horizontal",o=["horizontal","vertical"],i=(0,a.forwardRef)((e,r)=>{let{decorative:t,orientation:o=l,...i}=e,c=u(o)?o:l;return(0,a.createElement)(s.WV.div,(0,n.Z)({"data-orientation":c},t?{role:"none"}:{"aria-orientation":"vertical"===c?c:void 0,role:"separator"},i,{ref:r}))});function u(e){return o.includes(e)}i.propTypes={orientation(e,r,t){let n=e[r],a=String(n);return n&&!u(n)?Error(`Invalid prop \`orientation\` of value \`${a}\` supplied to \`${t}\`, expected one of: - - horizontal - - vertical - -Defaulting to \`${l}\`.`):null}};let c=i},17957:function(e,r,t){"use strict";t.d(r,{W:function(){return a}});var n=t(3546);function a(e){let r=(0,n.useRef)(e);return(0,n.useEffect)(()=>{r.current=e}),(0,n.useMemo)(()=>(...e)=>{var t;return null===(t=r.current)||void 0===t?void 0:t.call(r,...e)},[])}},65292:function(e,r,t){"use strict";t.d(r,{b:function(){return a}});var n=t(3546);let a=(null==globalThis?void 0:globalThis.document)?n.useLayoutEffect:()=>{}}},function(e){e.O(0,[8415,7430,55,7812,9643,2578,240,1454,4546,9275,7288,1565,3240,4656,3375,5289,1744],function(){return e(e.s=61886)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/profile/page-d70b7b8f32582491.js b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/profile/page-d70b7b8f32582491.js new file mode 100644 index 000000000000..0f15bbb5dc4e --- /dev/null +++ b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/profile/page-d70b7b8f32582491.js @@ -0,0 +1,5 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5688],{61886:function(e,r,t){Promise.resolve().then(t.bind(t,79879))},79879:function(e,r,t){"use strict";t.r(r),t.d(r,{default:function(){return M}});var n=t(36164),a=t(3546),s=t(2578),l=t(43240),o=t(98454),i=t(11634),u=t(57288),c=t(31458),d=t(81565),f=t(11208),m=t(52569);let p=(0,l.BX)("\n mutation uploadUserAvatarBase64($id: ID!, $avatarBase64: String!) {\n uploadUserAvatarBase64(id: $id, avatarBase64: $avatarBase64)\n }\n"),x=()=>{var e;let[r,t]=(0,a.useState)(!1),[l,x]=(0,a.useState)(""),[{data:h}]=(0,o.P)(),v=(0,i.Db)(p,{onError(e){s.A.error(e.message)}});if(!(null==h?void 0:null===(e=h.me)||void 0===e?void 0:e.email))return null;let w=async()=>{var e;t(!0);let r=await v({avatarBase64:l.split(",")[1],id:h.me.id});(null==r?void 0:null===(e=r.data)||void 0===e?void 0:e.uploadUserAvatarBase64)===!0&&(await (0,u.gw)(1e3),(0,m.nY)(h.me.id),s.A.success("Successfully updated your profile picture!"),await (0,u.gw)(200)),x(""),t(!1)};return(0,n.jsxs)("div",{className:"grid gap-6",children:[(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsx)("label",{htmlFor:"avatar-file",className:"absolute left-0 top-0 z-20 flex h-16 w-16 cursor-pointer items-center justify-center rounded-full bg-background/90 opacity-0 transition-opacity hover:opacity-100",children:(0,n.jsx)(d.IconCloudUpload,{})}),(0,n.jsx)("input",{id:"avatar-file",type:"file",accept:"image/png, image/jpeg",className:"hidden",onChange:e=>{let r=e.target.files?e.target.files[0]:null;if(r){let e=parseFloat((r.size/1024).toFixed(2));if(e>500)return s.A.error("The image you are attempting to upload is too large. Please ensure the file size is under ".concat(500,"KB and try again."));let t=new FileReader;t.onloadend=()=>{let e=t.result;x(e)},t.readAsDataURL(r)}}}),l&&(0,n.jsx)("img",{src:l,className:"absolute left-0 top-0 z-10 h-16 w-16 rounded-full border object-cover",alt:"avatar to be uploaded"}),(0,n.jsx)(m.SQ,{className:(0,u.cn)("relative h-16 w-16 border",{"opacity-0":l})})]}),(0,n.jsx)(f.Z,{}),(0,n.jsxs)("div",{className:"flex items-center justify-between",children:[(0,n.jsxs)(c.z,{type:"submit",disabled:!l||r,onClick:w,className:"mr-5 w-40",children:[r&&(0,n.jsx)(d.IconSpinner,{className:"mr-2 h-4 w-4 animate-spin"}),"Save Changes"]}),(0,n.jsx)("div",{className:"flex flex-1 justify-end",children:(0,n.jsx)("p",{className:" text-xs text-muted-foreground lg:text-sm",children:"Square image recommended. Accepted file types: .png, .jpg. Max file size: ".concat(500,"KB.")})})]})]})};var h=t(84381),v=t(5493),w=t(23782),N=t(98150),j=t(82394),g=t(90379);let b=(0,l.BX)("\n mutation UpdateUserName($id: ID!, $name: String!) {\n updateUserName(id: $id, name: $name)\n }\n"),S=e=>{let{onSuccess:r,defaultValues:t}=e,[{data:a}]=(0,o.P)(),s=w.Ry({name:w.Z_()}),l=(0,v.cI)({resolver:(0,h.F)(s),defaultValues:t}),{isSubmitting:u}=l.formState,{name:m}=l.watch(),p=(0,i.Db)(b,{form:l,onCompleted(e){(null==e?void 0:e.updateUserName)&&(null==r||r())}}),x=async e=>{await p({id:a.me.id,name:e.name})},g=m!==t.name;return(0,n.jsx)(N.l0,{...l,children:(0,n.jsxs)("form",{className:"grid gap-6",onSubmit:l.handleSubmit(x),children:[(0,n.jsx)(N.Wi,{control:l.control,name:"name",render:e=>{let{field:r}=e;return(0,n.jsxs)(N.xJ,{children:[(0,n.jsx)(N.lX,{children:"Name"}),(0,n.jsx)(N.NI,{children:(0,n.jsx)(j.I,{className:"w-full md:w-[350px]",...r})}),(0,n.jsx)(N.zG,{})]})}}),(0,n.jsx)(N.zG,{}),(0,n.jsx)(f.Z,{}),(0,n.jsx)("div",{className:"flex",children:(0,n.jsxs)(c.z,{type:"submit",disabled:!m||!g||u,className:"w-40",children:[u&&(0,n.jsx)(d.IconSpinner,{className:"mr-2 h-4 w-4 animate-spin"}),"Save Changes"]})})]})})},C=()=>{let[{data:e},r]=(0,o.P)();return e?(0,n.jsx)(S,{onSuccess:()=>{s.A.success("Name is updated"),r()},defaultValues:{name:e.me.name}}):(0,n.jsx)(g.cg,{})};var y=t(4302);let _=(0,l.BX)("\n mutation PasswordChange($input: PasswordChangeInput!) {\n passwordChange(input: $input)\n }\n"),I=e=>{let{onSuccess:r,showOldPassword:t}=e,[s,l]=a.useState(!1),[o,u]=a.useState(!1),m=w.Ry({oldPassword:t?w.Z_():w.Z_().optional(),newPassword1:w.Z_(),newPassword2:w.Z_()}),p=(0,v.cI)({resolver:(0,h.F)(m)}),{isSubmitting:x}=p.formState,{newPassword1:g}=p.watch(),[b]=(0,y.Y0)(g),S=(0,i.Db)(_,{form:p,onCompleted(e){(null==e?void 0:e.passwordChange)&&(null==r||r(),p.reset({newPassword1:"",newPassword2:"",oldPassword:""}))}}),C=async e=>{await S({input:e})},I=()=>{if(0===b.length)return l(!1);u(!0)};return(0,n.jsx)(N.l0,{...p,children:(0,n.jsxs)("form",{className:"grid gap-6",onSubmit:p.handleSubmit(C),children:[t&&(0,n.jsx)(N.Wi,{control:p.control,name:"oldPassword",render:e=>{let{field:r}=e;return(0,n.jsxs)(N.xJ,{children:[(0,n.jsx)(N.lX,{required:!0,children:"Old password"}),(0,n.jsx)(N.NI,{children:(0,n.jsx)(j.I,{className:"w-full md:w-[350px]",autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",type:"password",...r})}),(0,n.jsx)(N.zG,{})]})}}),(0,n.jsxs)("div",{children:[(0,n.jsx)(N.Wi,{control:p.control,name:"newPassword1",render:e=>{let{field:r}=e;return(0,n.jsxs)(N.xJ,{children:[(0,n.jsx)(N.lX,{required:!0,children:"New password"}),(0,n.jsx)(N.NI,{children:(0,n.jsx)(j.I,{className:"w-full md:w-[350px]",autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",type:"password",...r,onFocus:()=>l(!0),onBlur:I})})]})}}),(0,n.jsx)(y.Lu,{password:g||"",showPasswordSchema:s,passworErrors:b,showPasswordError:o})]}),(0,n.jsx)(N.Wi,{control:p.control,name:"newPassword2",render:e=>{let{field:r}=e;return(0,n.jsxs)(N.xJ,{children:[(0,n.jsx)(N.lX,{required:!0,children:"Confirm new password"}),(0,n.jsx)(N.NI,{children:(0,n.jsx)(j.I,{className:"w-full md:w-[350px]",autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",type:"password",...r})}),(0,n.jsx)(N.zG,{})]})}}),(0,n.jsx)(N.zG,{}),(0,n.jsx)(f.Z,{}),(0,n.jsx)("div",{className:"flex",children:(0,n.jsxs)(c.z,{type:"submit",disabled:x,className:"w-40",children:[x&&(0,n.jsx)(d.IconSpinner,{className:"mr-2 h-4 w-4 animate-spin"}),"Save Changes"]})})]})})},E=()=>{var e;let[{data:r},t]=(0,o.P)();return r?(0,n.jsx)(I,{onSuccess:()=>{s.A.success("Password is updated"),t()},showOldPassword:null==r?void 0:null===(e=r.me)||void 0===e?void 0:e.isPasswordSet}):(0,n.jsx)(g.cg,{})};var A=t(71480);let P=()=>{var e;let[{data:r}]=(0,o.P)();return(0,n.jsx)("div",{children:(0,n.jsx)(j.I,{disabled:!0,className:"w-full md:w-[350px]",value:null==r?void 0:null===(e=r.me)||void 0===e?void 0:e.email,onChange:A.Z})})};var R=t(79972);let T=e=>{let{title:r,description:t,footer:a,footerClassname:s,className:l,children:o,...i}=e;return(0,n.jsxs)("div",{className:(0,u.cn)("flex w-full flex-col gap-8 rounded-lg border p-6 pb-0 xl:w-[800px]",l),...i,children:[(0,n.jsxs)("div",{children:[(0,n.jsx)(R.ll,{children:r}),t&&(0,n.jsx)("div",{className:"mt-4 text-sm text-muted-foreground",children:t})]}),(0,n.jsx)(R.aY,{className:"p-0",children:o}),(0,n.jsxs)("div",{className:(0,u.cn)("rounded-b-lg pb-6 text-sm text-muted-foreground",s),children:[!!a&&(0,n.jsx)(f.Z,{className:"mb-6"}),a]})]})};function M(){return(0,n.jsxs)("div",{className:"flex flex-col items-center gap-6",children:[(0,n.jsx)(T,{title:"Your Name",footerClassname:"pb-0",children:(0,n.jsx)(C,{})}),(0,n.jsx)(T,{title:"Your Email",description:"This will be the email you use to log in and receive notifications.",footer:"The feature to change your email address will be available in a future release.",children:(0,n.jsx)(P,{})}),(0,n.jsx)(T,{title:"Your Avatar",description:"This is your avatar image.",footerClassname:"pb-0",children:(0,n.jsx)(x,{})}),(0,n.jsx)(T,{title:"Change Password",footerClassname:"pb-0",children:(0,n.jsx)(E,{})})]})}},4302:function(e,r,t){"use strict";t.d(r,{Lu:function(){return f},Y0:function(){return d}});var n,a,s=t(36164),l=t(3546),o=t(74630),i=t(23782),u=t(57288);(n=a||(a={})).LOWERCASE_MSISSING="lowercase_missing",n.UPPERCASE_MSISSING="uppercase_missing",n.NUMBER_MISSING="number_missing",n.SPECIAL_CHAR_MISSING="special_char_missing",n.AT_LEAST_EIGHT_CHAR="at_least_eight_char",n.AT_MOST_TWENTY_CHAT="at_most_twenty_char";let c=i.Z_().refine(e=>/[a-z]/.test(e),{params:{errorCode:a.LOWERCASE_MSISSING}}).refine(e=>/[A-Z]/.test(e),{params:{errorCode:a.UPPERCASE_MSISSING}}).refine(e=>/\d/.test(e),{params:{errorCode:a.NUMBER_MISSING}}).refine(e=>/[!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?]+/.test(e),{params:{errorCode:a.SPECIAL_CHAR_MISSING}}).refine(e=>e.length>=8,{params:{errorCode:a.AT_LEAST_EIGHT_CHAR}}).refine(e=>e.length<=20,{params:{errorCode:a.AT_MOST_TWENTY_CHAT}}),d=e=>{let[r,t]=l.useState([]);return l.useEffect(()=>{if(!(0,o.Z)(e))try{c.parse(e),t([])}catch(e){e instanceof i.jm&&t(e.issues.map(e=>e.params.errorCode))}},[e]),[r,t]};function f(e){let{password:r,showPasswordSchema:t,passworErrors:n,showPasswordError:l}=e;function o(e){let{errorCode:t,text:a}=e;return(0,s.jsx)("li",{className:(0,u.cn)("py-0.5",{"text-green-600 dark:text-green-500":r.length>0&&!n.includes(t),"text-red-600 dark:text-red-500":l&&r.length>0&&n.includes(t)}),children:a})}return(0,s.jsxs)("div",{className:(0,u.cn)("relative text-sm transition-all",{"h-0 opacity-0 -z-10":!t,"mt-4 h-40 opacity-100":t}),children:[(0,s.jsx)("p",{className:"mb-0.5 text-xs text-muted-foreground",children:"Set up a strong password with"}),(0,s.jsxs)("ul",{className:"list-disc pl-4",children:[(0,s.jsx)(o,{errorCode:a.AT_LEAST_EIGHT_CHAR,text:"At least 8 characters long"}),(0,s.jsx)(o,{errorCode:a.AT_MOST_TWENTY_CHAT,text:"No more than 20 characters long"}),(0,s.jsx)(o,{errorCode:a.LOWERCASE_MSISSING,text:"At least one lowercase character"}),(0,s.jsx)(o,{errorCode:a.UPPERCASE_MSISSING,text:"At least one uppercase character"}),(0,s.jsx)(o,{errorCode:a.NUMBER_MISSING,text:"At least one numeric character"}),(0,s.jsx)(o,{errorCode:a.SPECIAL_CHAR_MISSING,text:"At least one special character , such as @#$%^&{}"})]})]})}},90379:function(e,r,t){"use strict";t.d(r,{PF:function(){return i},cg:function(){return l},tB:function(){return o}});var n=t(36164),a=t(57288),s=t(3448);let l=e=>{let{className:r,...t}=e;return(0,n.jsxs)("div",{className:(0,a.cn)("space-y-3",r),...t,children:[(0,n.jsx)(s.O,{className:"h-4 w-full"}),(0,n.jsx)(s.O,{className:"h-4 w-full"}),(0,n.jsx)(s.O,{className:"h-4 w-full"}),(0,n.jsx)(s.O,{className:"h-4 w-full"})]})},o=e=>{let{className:r,...t}=e;return(0,n.jsx)(s.O,{className:(0,a.cn)("h-4 w-full",r),...t})},i=e=>{let{className:r,...t}=e;return(0,n.jsxs)("div",{className:(0,a.cn)("flex flex-col gap-3",r),...t,children:[(0,n.jsx)(s.O,{className:"h-4 w-[20%]"}),(0,n.jsx)(s.O,{className:"h-4 w-full"}),(0,n.jsx)(s.O,{className:"h-4 w-[20%]"}),(0,n.jsx)(s.O,{className:"h-4 w-full"})]})}},79972:function(e,r,t){"use strict";t.d(r,{Ol:function(){return o},Zb:function(){return l},aY:function(){return c},eW:function(){return d},ll:function(){return i}});var n=t(36164),a=t(3546),s=t(57288);let l=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,n.jsx)("div",{ref:r,className:(0,s.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",t),...a})});l.displayName="Card";let o=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,n.jsx)("div",{ref:r,className:(0,s.cn)("flex flex-col space-y-1.5 p-6",t),...a})});o.displayName="CardHeader";let i=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,n.jsx)("h3",{ref:r,className:(0,s.cn)("text-2xl font-semibold leading-none tracking-tight",t),...a})});i.displayName="CardTitle";let u=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,n.jsx)("p",{ref:r,className:(0,s.cn)("text-sm text-muted-foreground",t),...a})});u.displayName="CardDescription";let c=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,n.jsx)("div",{ref:r,className:(0,s.cn)("p-6 pt-0",t),...a})});c.displayName="CardContent";let d=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,n.jsx)("div",{ref:r,className:(0,s.cn)("flex items-center p-6 pt-0",t),...a})});d.displayName="CardFooter"},98150:function(e,r,t){"use strict";t.d(r,{NI:function(){return h},Wi:function(){return d},l0:function(){return u},lX:function(){return x},pf:function(){return v},xJ:function(){return p},zG:function(){return w}});var n=t(36164),a=t(3546),s=t(74047),l=t(5493),o=t(57288),i=t(5266);let u=l.RV,c=a.createContext({}),d=e=>{let{...r}=e;return(0,n.jsx)(c.Provider,{value:{name:r.name},children:(0,n.jsx)(l.Qr,{...r})})},f=()=>{let e=a.useContext(c),r=a.useContext(m),{getFieldState:t,formState:n}=(0,l.Gc)(),s=e.name||"root",o=t(s,n);if(!n)throw Error("useFormField should be used within ");let{id:i}=r;return{id:i,name:s,formItemId:"".concat(i,"-form-item"),formDescriptionId:"".concat(i,"-form-item-description"),formMessageId:"".concat(i,"-form-item-message"),...o}},m=a.createContext({}),p=a.forwardRef((e,r)=>{let{className:t,...s}=e,l=a.useId();return(0,n.jsx)(m.Provider,{value:{id:l},children:(0,n.jsx)("div",{ref:r,className:(0,o.cn)("space-y-2",t),...s})})});p.displayName="FormItem";let x=a.forwardRef((e,r)=>{let{className:t,required:a,...s}=e,{error:l,formItemId:u}=f();return(0,n.jsx)(i._,{ref:r,className:(0,o.cn)(l&&"text-destructive",a&&'after:ml-0.5 after:text-destructive after:content-["*"]',t),htmlFor:u,...s})});x.displayName="FormLabel";let h=a.forwardRef((e,r)=>{let{...t}=e,{error:a,formItemId:l,formDescriptionId:o,formMessageId:i}=f();return(0,n.jsx)(s.g7,{ref:r,id:l,"aria-describedby":a?"".concat(o," ").concat(i):"".concat(o),"aria-invalid":!!a,...t})});h.displayName="FormControl";let v=a.forwardRef((e,r)=>{let{className:t,...a}=e,{formDescriptionId:s}=f();return(0,n.jsx)("div",{ref:r,id:s,className:(0,o.cn)("text-sm text-muted-foreground",t),...a})});v.displayName="FormDescription";let w=a.forwardRef((e,r)=>{let{className:t,children:a,...s}=e,{error:l,formMessageId:i}=f(),u=l?String(null==l?void 0:l.message):a;return u?(0,n.jsx)("p",{ref:r,id:i,className:(0,o.cn)("text-sm font-medium text-destructive",t),...s,children:u}):null});w.displayName="FormMessage"},82394:function(e,r,t){"use strict";t.d(r,{I:function(){return l}});var n=t(36164),a=t(3546),s=t(57288);let l=a.forwardRef((e,r)=>{let{className:t,type:a,...l}=e;return(0,n.jsx)("input",{type:a,className:(0,s.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),ref:r,...l})});l.displayName="Input"},5266:function(e,r,t){"use strict";t.d(r,{_:function(){return u}});var n=t(36164),a=t(3546),s=t(90893),l=t(14375),o=t(57288);let i=(0,l.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),u=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,n.jsx)(s.f,{ref:r,className:(0,o.cn)(i(),t),...a})});u.displayName=s.f.displayName},11208:function(e,r,t){"use strict";t.d(r,{Z:function(){return o}});var n=t(36164),a=t(3546),s=t(74225),l=t(57288);let o=a.forwardRef((e,r)=>{let{className:t,orientation:a="horizontal",decorative:o=!0,...i}=e;return(0,n.jsx)(s.f,{ref:r,decorative:o,orientation:a,className:(0,l.cn)("shrink-0 bg-border","horizontal"===a?"h-[1px] w-full":"h-full w-[1px]",t),...i})});o.displayName=s.f.displayName},3448:function(e,r,t){"use strict";t.d(r,{O:function(){return s}});var n=t(36164),a=t(57288);function s(e){let{className:r,...t}=e;return(0,n.jsx)("div",{className:(0,a.cn)("h-4 animate-pulse rounded-md bg-border",r),...t})}},52569:function(e,r,t){"use strict";t.d(r,{SQ:function(){return g},Yt:function(){return j},nY:function(){return N}});var n=t(36164),a=t(3546),s=t(87782),l=t(21454),o=t(36327),i=t(98454),u=t(3765),c=t(57288),d=t(66612);let f=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,n.jsx)(d.fC,{ref:r,className:(0,c.cn)("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",t),...a})});f.displayName=d.fC.displayName;let m=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,n.jsx)(d.Ee,{ref:r,className:(0,c.cn)("aspect-square h-full w-full",t),...a})});m.displayName=d.Ee.displayName;let p=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,n.jsx)(d.NY,{ref:r,className:(0,c.cn)("flex h-full w-full items-center justify-center rounded-full bg-muted",t),...a})});p.displayName=d.NY.displayName;var x=t(3448),h=t(30410).lW;let v="not_found",w=new Set,N=e=>{w.delete(e),(0,l.JG)("/avatar/".concat(e))};function j(e){var r;let{user:t,className:l,fallback:i}=e,d=null==t?void 0:t.id,N=d?"/avatar/".concat(d):null,{data:j,isLoading:g,error:b}=(0,o.Z)(N,e=>{if(!(!d||w.has(d)))return(0,u.Z)(e,{responseFormatter:async e=>{let r=await e.blob(),t=h.from(await r.arrayBuffer());return"data:image/png;base64,".concat(t.toString("base64"))},errorHandler:e=>{if(404===e.status)throw Error(v)}})}),S=a.useMemo(()=>{if(null==t?void 0:t.email)return(0,s.B)(t.email)},[null==t?void 0:t.email]);return g?(0,n.jsx)(x.O,{className:(0,c.cn)("h-16 w-16 rounded-full",l)}):((null==b?void 0:b.message)===v&&d&&w.add(d),j||S||!i)?!j&&S?(0,n.jsx)(s.Z,{className:(0,c.cn)("h-16 w-16",l),...S}):(0,n.jsxs)(f,{className:(0,c.cn)("h-16 w-16",l),children:[(0,n.jsx)(m,{src:j,alt:null==t?void 0:t.email,className:"object-cover"}),(0,n.jsx)(p,{children:null==t?void 0:null===(r=t.email)||void 0===r?void 0:r.substring(0,2)})]}):i}function g(e){let[{data:r}]=(0,i.P)();return(0,n.jsx)(j,{user:null==r?void 0:r.me,...e})}},98454:function(e,r,t){"use strict";t.d(r,{P:function(){return l}});var n=t(40055),a=t(43240);let s=(0,a.BX)("\n query MeQuery {\n me {\n id\n authToken\n email\n isAdmin\n isOwner\n isPasswordSet\n name\n }\n }\n"),l=()=>(0,n.aM)({query:s})},3765:function(e,r,t){"use strict";t.d(r,{Z:function(){return i}});var n=t(44745),a=t(57778),s=t(79716),l=t(91302),o=t(66794);async function i(e,r){var t;let n=null!==(t=null==r?void 0:r.customFetch)&&void 0!==t?t:window.fetch;if(function(e){var r;if(e.startsWith("/oauth/providers"))return!1;let t=null===(r=(0,o.bW)())||void 0===r?void 0:r.accessToken;if(!t)return!0;try{let{exp:e}=(0,s.o)(t);return(0,o.pw)(e)}catch(e){return!0}}(e))return o.gN.refreshToken(u).then(t=>f(e,r));let a=await n(e,c(r));return 401===a.status?(o.gN.clearAccessToken(),o.gN.refreshToken(u).then(t=>f(e,r))):m(a,r)}async function u(){var e,r;let t=null===(e=(0,o.bW)())||void 0===e?void 0:e.refreshToken;if(!t)return;let n=await d(t);return null==n?void 0:null===(r=n.data)||void 0===r?void 0:r.refreshToken}function c(e){var r;let t=new Headers(null==e?void 0:e.headers);return t.append("authorization","Bearer ".concat(null===(r=(0,o.bW)())||void 0===r?void 0:r.accessToken)),{...e||{},headers:t}}async function d(e){let r=new n.KU({url:"/graphql",requestPolicy:"network-only",exchanges:[n.Ek]}),t=r.createRequestOperation("mutation",(0,a.h)(l.Dp,{refreshToken:e}));return r.executeMutation(t)}function f(e,r){var t;let n=null!==(t=null==r?void 0:r.customFetch)&&void 0!==t?t:window.fetch;return n(e,c(r)).then(e=>m(e,r))}function m(e,r){return(null==e?void 0:e.ok)?(null==r?void 0:r.responseFormatter)?r.responseFormatter(e):(null==r?void 0:r.responseFormat)==="blob"?e.blob():e.json():(null==r?void 0:r.errorHandler)?r.errorHandler(e):void 0}},47091:function(e,r,t){"use strict";t.d(r,{b:function(){return s},k:function(){return a}});var n=t(3546);function a(e,r){let t=(0,n.createContext)(r);function a(e){let{children:r,...a}=e,s=(0,n.useMemo)(()=>a,Object.values(a));return(0,n.createElement)(t.Provider,{value:s},r)}return a.displayName=e+"Provider",[a,function(a){let s=(0,n.useContext)(t);if(s)return s;if(void 0!==r)return r;throw Error(`\`${a}\` must be used within \`${e}\``)}]}function s(e,r=[]){let t=[],a=()=>{let r=t.map(e=>(0,n.createContext)(e));return function(t){let a=(null==t?void 0:t[e])||r;return(0,n.useMemo)(()=>({[`__scope${e}`]:{...t,[e]:a}}),[t,a])}};return a.scopeName=e,[function(r,a){let s=(0,n.createContext)(a),l=t.length;function o(r){let{scope:t,children:a,...o}=r,i=(null==t?void 0:t[e][l])||s,u=(0,n.useMemo)(()=>o,Object.values(o));return(0,n.createElement)(i.Provider,{value:u},a)}return t=[...t,a],o.displayName=r+"Provider",[o,function(t,o){let i=(null==o?void 0:o[e][l])||s,u=(0,n.useContext)(i);if(u)return u;if(void 0!==a)return a;throw Error(`\`${t}\` must be used within \`${r}\``)}]},function(...e){let r=e[0];if(1===e.length)return r;let t=()=>{let t=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let a=t.reduce((r,{useScope:t,scopeName:n})=>{let a=t(e),s=a[`__scope${n}`];return{...r,...s}},{});return(0,n.useMemo)(()=>({[`__scope${r.scopeName}`]:a}),[a])}};return t.scopeName=r.scopeName,t}(a,...r)]}},74225:function(e,r,t){"use strict";t.d(r,{f:function(){return c}});var n=t(65122),a=t(3546),s=t(72205);let l="horizontal",o=["horizontal","vertical"],i=(0,a.forwardRef)((e,r)=>{let{decorative:t,orientation:o=l,...i}=e,c=u(o)?o:l;return(0,a.createElement)(s.WV.div,(0,n.Z)({"data-orientation":c},t?{role:"none"}:{"aria-orientation":"vertical"===c?c:void 0,role:"separator"},i,{ref:r}))});function u(e){return o.includes(e)}i.propTypes={orientation(e,r,t){let n=e[r],a=String(n);return n&&!u(n)?Error(`Invalid prop \`orientation\` of value \`${a}\` supplied to \`${t}\`, expected one of: + - horizontal + - vertical + +Defaulting to \`${l}\`.`):null}};let c=i},17957:function(e,r,t){"use strict";t.d(r,{W:function(){return a}});var n=t(3546);function a(e){let r=(0,n.useRef)(e);return(0,n.useEffect)(()=>{r.current=e}),(0,n.useMemo)(()=>(...e)=>{var t;return null===(t=r.current)||void 0===t?void 0:t.call(r,...e)},[])}},65292:function(e,r,t){"use strict";t.d(r,{b:function(){return a}});var n=t(3546);let a=(null==globalThis?void 0:globalThis.document)?n.useLayoutEffect:()=>{}}},function(e){e.O(0,[8415,7430,55,7812,9643,2578,240,1454,4546,9275,7288,1565,3240,4656,3375,5289,1744],function(){return e(e.s=61886)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/reports/page-441d1c99f4e7a2ad.js b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/reports/page-d9a884bc36d6502f.js similarity index 99% rename from ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/reports/page-441d1c99f4e7a2ad.js rename to ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/reports/page-d9a884bc36d6502f.js index 86825d8f7dad..3d54cbfa699e 100644 --- a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/reports/page-441d1c99f4e7a2ad.js +++ b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/reports/page-d9a884bc36d6502f.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[960],{97895:function(){},31800:function(e,a,s){Promise.resolve().then(s.bind(s,66408))},66408:function(e,a,s){"use strict";s.r(a),s.d(a,{Report:function(){return G}});var t=s(36164),l=s(3546),n=s(11978),i=s(36619),r=s(35814),m=s(99092),c=s.n(m),o=s(39018),f=s.n(o),d=s(42390),x=s.n(d),p=s(40055),u=s(18500),h=s(36758),b=s(80605),g=s(63484),j=s(70410),y=s(57288),v=s(79972),k=s(36065),w=s(81565),N=s(84942),S=s(54594),C=s(3448),D=s(22119),M=s(6230),L=s(73051),Y=s(94755),A=s(72223),F=s(9010);function E(e){let{data:a}=e,{theme:s}=(0,F.X)(),l=(0,Y.iP)(),n=l.width||0;return(0,t.jsx)(A.ZP,{data:a,colorScheme:"dark"===s?"dark":"light",theme:{light:["#ebedf0","#9be9a8","#40c463","#30a14e","#216e39"],dark:["rgb(45, 51, 59)","#0e4429","#006d32","#26a641","#39d353"]},blockSize:n>=1300?13:n>=1100?9:n>=900?6:5,hideTotalCount:!0})}function P(e){let{yearlyStats:a}=e,s=0,l=(null==a?void 0:a.reduce((e,a)=>{let t=c().utc(a.start).format("YYYY-MM-DD");return s+=a.views+a.selects,{...e,[t]:a.views}},{}))||{},n=Array(365).fill("").map((e,a)=>{let s=c()().subtract(a,"days").format("YYYY-MM-DD"),t=l[s]||0;return{date:s,count:t,level:Math.min(4,Math.ceil(t/5))}}).reverse();return(0,t.jsxs)("div",{className:"flex h-full flex-col rounded-lg border bg-primary-foreground/30 px-6 py-4",children:[(0,t.jsxs)("h3",{className:"mb-5 text-sm font-medium tracking-tight",children:[(0,t.jsx)("b",{children:s})," activities in the last year"]}),(0,t.jsx)("div",{className:"flex flex-1 items-center justify-center",children:(0,t.jsx)(E,{data:n})})]})}var B=s(60079),O=s(82382),z=s(85948),R=s(25442),I=s(81040),_=s(16294);function q(e){let{active:a,payload:s,label:l}=e;if(a&&s&&s.length){let{views:e,selects:a}=s[0].payload;return e?(0,t.jsx)(v.Zb,{children:(0,t.jsxs)(v.aY,{className:"flex flex-col gap-y-0.5 px-4 py-2 text-sm",children:[(0,t.jsxs)("p",{className:"flex items-center",children:[(0,t.jsx)("span",{className:"mr-3 inline-block w-20",children:"Completion:"}),(0,t.jsx)("b",{children:e})]}),(0,t.jsxs)("p",{className:"flex items-center",children:[(0,t.jsx)("span",{className:"mr-3 inline-block w-20",children:"Acceptance:"}),(0,t.jsx)("b",{children:a})]}),(0,t.jsx)("p",{className:"text-muted-foreground",children:l})]})}):null}return null}function Z(e){let{dailyStats:a,dateRange:s}=e,{theme:l}=(0,F.X)(),n=s.from||new Date,r=s.to||n,m={},o={};null==a||a.forEach(e=>{let a=c()(e.start).format("YYYY-MM-DD");m[a]=m[a]||0,o[a]=o[a]||0,m[a]+=e.views,o[a]+=e.selects},{});let f=(0,i.Z)({start:n,end:r}),d=f.map(e=>{let a=c()(e).format("YYYY-MM-DD"),s=m[a]||0,t=o[a]||0;return{name:c()(e).format("MMMM D"),views:s,selects:t,pendings:s-t}});return(0,t.jsxs)("div",{className:"rounded-lg border bg-primary-foreground/30 px-6 py-4",children:[(0,t.jsx)("h3",{className:"mb-5 text-sm font-medium tracking-tight",children:"Daily Statistics"}),(0,t.jsx)(B.h,{width:"100%",height:300,children:(0,t.jsxs)(O.v,{data:d,margin:{top:5,right:20,left:20,bottom:5},children:[(0,t.jsx)(z.$,{dataKey:"selects",stackId:"stats",fill:"dark"===l?"#e8e1d3":"#54452c",radius:3}),(0,t.jsx)(z.$,{dataKey:"pendings",stackId:"stats",fill:"dark"===l?"#423929":"#e8e1d3",radius:3}),(0,t.jsx)(R.K,{dataKey:"name",fontSize:12}),(0,t.jsx)(I.B,{fontSize:12,width:20,allowDecimals:!1}),(0,t.jsx)(_.u,{cursor:{fill:"transparent"},content:(0,t.jsx)(q,{})})]})})]})}let T="-14d";function V(e){let{dailyStats:a}=e,s=(0,r.Z)(null==a?void 0:a.map(e=>e.views)),l=(0,r.Z)(null==a?void 0:a.map(e=>e.selects)),n=0===l?0:(l/s*100).toFixed(2);return(0,t.jsxs)("div",{className:"flex w-full flex-col items-start justify-center space-y-3 md:flex-row md:items-center md:space-x-6 md:space-y-0 xl:justify-start",children:[(0,t.jsxs)(v.Zb,{className:"flex flex-1 flex-col justify-between self-stretch bg-primary-foreground/30 lg:block",children:[(0,t.jsxs)(v.Ol,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[(0,t.jsx)(v.ll,{className:"text-sm font-medium",children:"Acceptance Rate"}),(0,t.jsx)(w.IconActivity,{className:"text-muted-foreground"})]}),(0,t.jsx)(v.aY,{children:(0,t.jsxs)("div",{className:"text-2xl font-bold",children:[n,"%"]})})]}),(0,t.jsxs)(v.Zb,{className:"flex flex-1 flex-col justify-between self-stretch bg-primary-foreground/30 lg:block",children:[(0,t.jsxs)(v.Ol,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[(0,t.jsx)(v.ll,{className:"text-sm font-medium",children:"Total Completions"}),(0,t.jsx)(w.IconCode,{className:"text-muted-foreground"})]}),(0,t.jsx)(v.aY,{children:(0,t.jsx)("div",{className:"text-2xl font-bold",children:f()(s).format("0,0")})})]}),(0,t.jsxs)(v.Zb,{className:"flex flex-1 flex-col justify-between self-stretch bg-primary-foreground/30 lg:block",children:[(0,t.jsxs)(v.Ol,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[(0,t.jsx)(v.ll,{className:"text-sm font-medium",children:"Total Acceptances"}),(0,t.jsx)(w.IconCheck,{className:"h-4 w-4 text-muted-foreground"})]}),(0,t.jsx)(v.aY,{children:(0,t.jsx)("div",{className:"text-2xl font-bold",children:l})})]})]})}function G(){let e,a;let s=(0,n.useSearchParams)(),[r]=(0,h.d)(),m=(0,b.UA)(),[o,f]=(0,l.useState)({from:c()().add(parseInt(T,10),"day").toDate(),to:c()().toDate()}),[d,v]=(0,l.useState)("all"),[Y,A]=(0,l.useState)([]),F=m||"true"===s.get("sample"),[{data:E,fetching:B}]=(0,p.aM)({query:j.Cl,variables:{start:c()(o.from).startOf("day").utc().format(),end:c()(o.to).endOf("day").utc().format(),users:"all"===d?void 0:[d]}});if(F){let a=(0,i.Z)({start:o.from,end:o.to||o.from});e=a.map(e=>{let a=[u.SQ.Typescript,u.SQ.Python,u.SQ.Rust],s=x()(c()(e).format("YYYY-MM-DD")+d+Y),t=Math.ceil(20*s()),l=Math.ceil(t/.35);return{start:c()(e).utc().format(),end:c()(e).add(1,"day").utc().format(),completions:l,selects:t,views:l,language:a[t%a.length]}})}else e=null==E?void 0:E.dailyStats.map(e=>({start:e.start,end:e.end,completions:e.completions,selects:e.selects,views:e.views,language:e.language}));e=null==e?void 0:e.filter(e=>0===Y.length||Y.includes(e.language));let[{data:O,fetching:z}]=(0,p.aM)({query:j.Y6,variables:{users:"all"===d?void 0:d}});if(F){let e=(0,i.Z)({start:c()().toDate(),end:c()().subtract(365,"days").toDate()});a=e.map(e=>{let a=x()(c()(e).format("YYYY-MM-DD")+d+Y),s=Math.ceil(20*a()),t=s+Math.floor(10*a());return{start:c()(e).format("YYYY-MM-DD[T]HH:mm:ss[Z]"),end:c()(e).add(1,"day").format("YYYY-MM-DD[T]HH:mm:ss[Z]"),completions:t,selects:s,views:t}})}else a=null==O?void 0:O.dailyStatsInPastYear.map(e=>({start:e.start,end:e.end,completions:e.completions,selects:e.selects,views:e.views}));return(0,t.jsxs)("div",{className:"w-[calc(100vw-2rem)] md:w-auto 2xl:mx-auto 2xl:max-w-5xl",children:[(0,t.jsxs)("div",{className:"mb-4 flex flex-col items-center justify-between gap-y-2 lg:flex-row lg:items-end lg:gap-y-0",children:[(0,t.jsx)(L.b,{className:"mb-0",children:"Statistics around Tabby IDE / Extensions"}),(0,t.jsx)(M.Z,{loading:B,fallback:(0,t.jsx)(C.O,{className:"h-6 w-32"}),children:(0,t.jsxs)(S.Ph,{defaultValue:"all",onValueChange:v,children:[(0,t.jsx)(S.i4,{className:"h-auto w-auto border-none py-0 shadow-none",children:(0,t.jsxs)("div",{className:"flex h-6 items-center",children:[(0,t.jsx)(w.IconUsers,{className:"mr-[0.45rem]"}),(0,t.jsx)("div",{className:"w-[190px] overflow-hidden text-ellipsis text-left",children:(0,t.jsx)(S.ki,{})})]})}),(0,t.jsx)(S.Bw,{align:"end",children:(0,t.jsxs)(S.DI,{children:[(0,t.jsx)(S.Ql,{value:"all",children:"All members"}),r.map(e=>(0,t.jsx)(S.Ql,{value:e.id,children:e.name||e.email},e.id))]})})]})})]}),(0,t.jsx)(M.Z,{loading:z,fallback:(0,t.jsx)(C.O,{className:"mb-8 h-48"}),children:(0,t.jsxs)("div",{className:"mb-8",children:[(0,t.jsx)("h1",{className:"mb-2 text-center text-xl font-semibold md:text-start",children:"Activity"}),(0,t.jsx)(P,{yearlyStats:a})]})}),(0,t.jsx)(M.Z,{loading:B,fallback:(0,t.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,t.jsxs)("div",{className:"flex justify-between gap-5",children:[(0,t.jsx)(C.O,{className:"h-32 flex-1"}),(0,t.jsx)(C.O,{className:"h-32 flex-1"}),(0,t.jsx)(C.O,{className:"h-32 flex-1"})]}),(0,t.jsx)(C.O,{className:"h-56"})]}),children:(0,t.jsxs)("div",{className:"mb-10 flex flex-col gap-y-5",children:[(0,t.jsxs)("div",{className:"-mb-2 flex flex-col items-center justify-between gap-y-1 md:flex-row md:gap-y-0",children:[(0,t.jsx)("h1",{className:"text-xl font-semibold",children:"Usage"}),(0,t.jsxs)("div",{className:"flex flex-col gap-3 md:flex-row md:items-center md:gap-y-0",children:[(0,t.jsxs)(N.J2,{children:[(0,t.jsx)(N.xo,{asChild:!0,children:(0,t.jsxs)("div",{className:"flex h-9 w-[240px] items-center justify-between rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed md:w-[150px]",children:[(0,t.jsxs)("div",{className:"w-full",children:[0===Y.length&&(0,t.jsx)("p",{className:"w-full overflow-hidden text-ellipsis",children:"All languages"}),1===Y.length&&(0,t.jsx)("p",{className:"w-full overflow-hidden text-ellipsis",children:(0,g.t)(Y[0])}),Y.length>1&&(0,t.jsxs)("span",{className:"px-1",children:[Y.length," selected"]})]}),(0,t.jsx)(w.IconChevronUpDown,{className:"h-3 w-3"})]})}),(0,t.jsx)(N.yk,{className:"w-[240px] p-0 md:w-[180px]",align:"end",children:(0,t.jsxs)(k.mY,{children:[(0,t.jsx)(k.sZ,{placeholder:"Language"}),(0,t.jsxs)(k.e8,{children:[(0,t.jsx)(k.rb,{children:"No results found."}),(0,t.jsx)(k.fu,{children:Object.entries(u.SQ).sort((e,a)=>a[1]===u.SQ.Other?-1:0).map(e=>{let[a,s]=e,l=Y.includes(s);return(0,t.jsxs)(k.di,{onSelect:()=>{let e=[...Y];if(l){let a=e.findIndex(e=>e===s);-1!==a&&e.splice(a,1)}else e.push(s);A(e)},className:"!pointer-events-auto cursor-pointer !opacity-100",children:[(0,t.jsx)("div",{className:(0,y.cn)("mr-2 flex h-4 w-4 items-center justify-center rounded-sm border border-primary",l?"bg-primary text-primary-foreground":"opacity-50 [&_svg]:invisible"),children:(0,t.jsx)(w.IconCheck,{className:(0,y.cn)("h-4 w-4")})}),(0,t.jsx)("span",{children:(0,g.t)(s)})]},s)})}),Y.length>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(k.zz,{}),(0,t.jsx)(k.fu,{children:(0,t.jsx)(k.di,{onSelect:()=>A([]),className:"!pointer-events-auto cursor-pointer justify-center text-center !opacity-100",children:"Clear filters"})})]})]})]})})]}),(0,t.jsx)(D.Z,{options:[{label:"Last 7 days",value:"-7d"},{label:"Last 14 days",value:"-14d"},{label:"Last 30 days",value:"-30d"}],defaultValue:T,onSelect:f,hasToday:!0,hasYesterday:!0})]})]}),(0,t.jsx)(V,{dailyStats:e}),(0,t.jsx)(Z,{dailyStats:e,dateRange:o})]})})]})}},73051:function(e,a,s){"use strict";s.d(a,{b:function(){return m}});var t=s(36164);s(3546);var l=s(70652),n=s.n(l),i=s(57288),r=s(81565);let m=e=>{let{className:a,externalLink:s,externalLinkText:l="Learn more",children:m}=e;return(0,t.jsx)("div",{className:(0,i.cn)("mb-4 flex items-center gap-4",a),children:(0,t.jsxs)("div",{className:"flex-1 text-sm text-muted-foreground",children:[m,!!s&&(0,t.jsxs)(n(),{className:"ml-2 inline-flex cursor-pointer flex-row items-center text-primary hover:underline",href:s,target:"_blank",children:[l,(0,t.jsx)(r.IconExternalLink,{className:"ml-1"})]})]})})}},36065:function(e,a,s){"use strict";s.d(a,{di:function(){return p},e8:function(){return o},fu:function(){return d},mY:function(){return m},rb:function(){return f},sZ:function(){return c},zz:function(){return x}});var t=s(36164),l=s(3546),n=s(53241),i=s(93170),r=s(57288);s(30220);let m=l.forwardRef((e,a)=>{let{className:s,...l}=e;return(0,t.jsx)(n.mY,{ref:a,className:(0,r.cn)("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",s),...l})});m.displayName=n.mY.displayName;let c=l.forwardRef((e,a)=>{let{className:s,...l}=e;return(0,t.jsxs)("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,t.jsx)(i.Z,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),(0,t.jsx)(n.mY.Input,{ref:a,className:(0,r.cn)("flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",s),...l})]})});c.displayName=n.mY.Input.displayName;let o=l.forwardRef((e,a)=>{let{className:s,...l}=e;return(0,t.jsx)(n.mY.List,{ref:a,className:(0,r.cn)("max-h-[300px] overflow-y-auto overflow-x-hidden",s),...l})});o.displayName=n.mY.List.displayName;let f=l.forwardRef((e,a)=>(0,t.jsx)(n.mY.Empty,{ref:a,className:"py-6 text-center text-sm",...e}));f.displayName=n.mY.Empty.displayName;let d=l.forwardRef((e,a)=>{let{className:s,...l}=e;return(0,t.jsx)(n.mY.Group,{ref:a,className:(0,r.cn)("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",s),...l})});d.displayName=n.mY.Group.displayName;let x=l.forwardRef((e,a)=>{let{className:s,...l}=e;return(0,t.jsx)(n.mY.Separator,{ref:a,className:(0,r.cn)("-mx-1 h-px bg-border",s),...l})});x.displayName=n.mY.Separator.displayName;let p=l.forwardRef((e,a)=>{let{className:s,...l}=e;return(0,t.jsx)(n.mY.Item,{ref:a,className:(0,r.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-disabled:pointer-events-none aria-disabled:opacity-50 aria-selected:bg-accent aria-selected:text-accent-foreground",s),...l})});p.displayName=n.mY.Item.displayName},30220:function(e,a,s){"use strict";s.d(a,{$N:function(){return u},Be:function(){return h},Vq:function(){return m},cN:function(){return p},cZ:function(){return d},fK:function(){return x},hg:function(){return c}});var t=s(36164),l=s(3546),n=s(4318),i=s(1663),r=s(57288);let m=n.fC,c=n.xz,o=n.h_;n.x8;let f=l.forwardRef((e,a)=>{let{className:s,...l}=e;return(0,t.jsx)(n.aV,{ref:a,className:(0,r.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",s),...l})});f.displayName=n.aV.displayName;let d=l.forwardRef((e,a)=>{let{className:s,children:l,...m}=e;return(0,t.jsxs)(o,{children:[(0,t.jsx)(f,{}),(0,t.jsxs)(n.VY,{ref:a,className:(0,r.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",s),...m,children:[l,(0,t.jsxs)(n.x8,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,t.jsx)(i.Z,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});d.displayName=n.VY.displayName;let x=e=>{let{className:a,...s}=e;return(0,t.jsx)("div",{className:(0,r.cn)("flex flex-col space-y-1.5 text-center sm:text-left",a),...s})};x.displayName="DialogHeader";let p=e=>{let{className:a,...s}=e;return(0,t.jsx)("div",{className:(0,r.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...s})};p.displayName="DialogFooter";let u=l.forwardRef((e,a)=>{let{className:s,...l}=e;return(0,t.jsx)(n.Dx,{ref:a,className:(0,r.cn)("text-lg font-semibold leading-none tracking-tight",s),...l})});u.displayName=n.Dx.displayName;let h=l.forwardRef((e,a)=>{let{className:s,...l}=e;return(0,t.jsx)(n.dk,{ref:a,className:(0,r.cn)("text-sm text-muted-foreground",s),...l})});h.displayName=n.dk.displayName},84942:function(e,a,s){"use strict";s.d(a,{J2:function(){return r},i9:function(){return o},tW:function(){return f},xo:function(){return m},xp:function(){return c},yk:function(){return d}});var t=s(36164),l=s(3546),n=s(83299),i=s(57288);let r=n.fC,m=n.xz,c=n.x8,o=n.h_,f=n.ee,d=l.forwardRef((e,a)=>{let{className:s,sideOffset:l=4,...r}=e;return(0,t.jsx)(n.VY,{ref:a,sideOffset:l,className:(0,i.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow animate-in data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",s),...r})});d.displayName=n.VY.displayName},80605:function(e,a,s){"use strict";s.d(a,{UA:function(){return d},Uw:function(){return o},c7:function(){return c},jJ:function(){return f},vN:function(){return r},xG:function(){return m}});var t=s(40055),l=s(43240);let n=(0,l.BX)("\n query GetServerInfo {\n serverInfo {\n isAdminInitialized\n isEmailConfigured\n isChatEnabled\n allowSelfSignup\n isDemoMode\n }\n }\n"),i=()=>{let[{data:e}]=(0,t.aM)({query:n});return null==e?void 0:e.serverInfo},r=()=>{let[{fetching:e}]=(0,t.aM)({query:n});return e},m=()=>{var e;return null===(e=i())||void 0===e?void 0:e.isChatEnabled},c=()=>{var e;return null===(e=i())||void 0===e?void 0:e.isAdminInitialized},o=()=>{var e;return null===(e=i())||void 0===e?void 0:e.isEmailConfigured},f=()=>{var e;return null===(e=i())||void 0===e?void 0:e.allowSelfSignup},d=()=>{var e;return null===(e=i())||void 0===e?void 0:e.isDemoMode}},63484:function(e,a,s){"use strict";s.d(a,{U$:function(){return o},t:function(){return f}});var t=s(14283),l=s.n(t),n=s(34021),i=s(74630),r=s(18500),m=JSON.parse('{"Mercury":"#ff2b2b","TypeScript":"#2b7489","PureBasic":"#5a6986","Objective-C++":"#6866fb","Self":"#0579aa","edn":"#db5855","NewLisp":"#87AED7","Jupyter Notebook":"#DA5B0B","Rebol":"#358a5b","Frege":"#00cafe","Dart":"#00B4AB","AspectJ":"#a957b0","Shell":"#89e051","Web Ontology Language":"#9cc9dd","xBase":"#403a40","Eiffel":"#946d57","Nix":"#7e7eff","RAML":"#77d9fb","MTML":"#b7e1f4","Racket":"#22228f","Elixir":"#6e4a7e","SAS":"#B34936","Agda":"#315665","wisp":"#7582D1","D":"#ba595e","Kotlin":"#F18E33","Opal":"#f7ede0","Crystal":"#776791","Objective-C":"#438eff","ColdFusion CFC":"#ed2cd6","Oz":"#fab738","Mirah":"#c7a938","Objective-J":"#ff0c5a","Gosu":"#82937f","FreeMarker":"#0050b2","Ruby":"#701516","Component Pascal":"#b0ce4e","Arc":"#aa2afe","Brainfuck":"#2F2530","Nit":"#009917","APL":"#5A8164","Go":"#375eab","Visual Basic":"#945db7","PHP":"#4F5D95","Cirru":"#ccccff","SQF":"#3F3F3F","Glyph":"#e4cc98","Java":"#b07219","MAXScript":"#00a6a6","Scala":"#DC322F","Makefile":"#427819","ColdFusion":"#ed2cd6","Perl":"#0298c3","Lua":"#000080","Vue":"#2c3e50","Verilog":"#b2b7f8","Factor":"#636746","Haxe":"#df7900","Pure Data":"#91de79","Forth":"#341708","Red":"#ee0000","Hy":"#7790B2","Volt":"#1F1F1F","LSL":"#3d9970","eC":"#913960","CoffeeScript":"#244776","HTML":"#e44b23","Lex":"#DBCA00","API Blueprint":"#2ACCA8","Swift":"#ffac45","C":"#555555","AutoHotkey":"#6594b9","Isabelle":"#FEFE00","Metal":"#8f14e9","Clarion":"#db901e","JSONiq":"#40d47e","Boo":"#d4bec1","AutoIt":"#1C3552","Clojure":"#db5855","Rust":"#dea584","Prolog":"#74283c","SourcePawn":"#5c7611","AMPL":"#E6EFBB","FORTRAN":"#4d41b1","ANTLR":"#9DC3FF","Harbour":"#0e60e3","Tcl":"#e4cc98","BlitzMax":"#cd6400","PigLatin":"#fcd7de","Lasso":"#999999","ECL":"#8a1267","VHDL":"#adb2cb","Elm":"#60B5CC","Propeller Spin":"#7fa2a7","X10":"#4B6BEF","IDL":"#a3522f","ATS":"#1ac620","Ada":"#02f88c","Unity3D Asset":"#ab69a1","Nu":"#c9df40","LFE":"#004200","SuperCollider":"#46390b","Oxygene":"#cdd0e3","ASP":"#6a40fd","Assembly":"#6E4C13","Gnuplot":"#f0a9f0","JFlex":"#DBCA00","NetLinx":"#0aa0ff","Turing":"#45f715","Vala":"#fbe5cd","Processing":"#0096D8","Arduino":"#bd79d1","FLUX":"#88ccff","NetLogo":"#ff6375","CSharp":"#178600","CSS":"#563d7c","Emacs Lisp":"#c065db","Stan":"#b2011d","SaltStack":"#646464","QML":"#44a51c","Pike":"#005390","LOLCODE":"#cc9900","ooc":"#b0b77e","Handlebars":"#01a9d6","J":"#9EEDFF","Mask":"#f97732","EmberScript":"#FFF4F3","TeX":"#3D6117","Nemerle":"#3d3c6e","KRL":"#28431f","Ren\'Py":"#ff7f7f","Unified Parallel C":"#4e3617","Golo":"#88562A","Fancy":"#7b9db4","OCaml":"#3be133","Shen":"#120F14","Pascal":"#b0ce4e","F#":"#b845fc","Puppet":"#302B6D","ActionScript":"#882B0F","Diff":"#88dddd","Ragel in Ruby Host":"#9d5200","Fantom":"#dbded5","Zephir":"#118f9e","Click":"#E4E6F3","Smalltalk":"#596706","DM":"#447265","Ioke":"#078193","PogoScript":"#d80074","LiveScript":"#499886","JavaScript":"#f1e05a","VimL":"#199f4b","PureScript":"#1D222D","ABAP":"#E8274B","Matlab":"#bb92ac","Slash":"#007eff","R":"#198ce7","Erlang":"#B83998","Pan":"#cc0000","LookML":"#652B81","Eagle":"#814C05","Scheme":"#1e4aec","PLSQL":"#dad8d8","Python":"#3572A5","Max":"#c4a79c","Common Lisp":"#3fb68b","Latte":"#A8FF97","XQuery":"#5232e7","Omgrofl":"#cabbff","XC":"#99DA07","Nimrod":"#37775b","SystemVerilog":"#DAE1C2","Chapel":"#8dc63f","Groovy":"#e69f56","Dylan":"#6c616e","E":"#ccce35","Parrot":"#f3ca0a","Grammatical Framework":"#79aa7a","Game Maker Language":"#8fb200","Papyrus":"#6600cc","NetLinx+ERB":"#747faa","Clean":"#3F85AF","Alloy":"#64C800","Squirrel":"#800000","PAWN":"#dbb284","UnrealScript":"#a54c4d","Standard ML":"#dc566d","Slim":"#ff8f77","Perl6":"#0000fb","Julia":"#a270ba","Haskell":"#29b544","NCL":"#28431f","Io":"#a9188d","Rouge":"#cc0088","cpp":"#f34b7d","AGS Script":"#B9D9FF","Dogescript":"#cca760","nesC":"#94B0C7"}'),c={abap:{filenames:[],extnames:["abap"]},actionscript:{filenames:[],extnames:["as"]},ada:{filenames:[],extnames:["ada","adb","ads"]},apacheconf:{filenames:[".htaccess","apache2.conf","httpd.conf"],extnames:["apacheconf","vhost"]},apl:{filenames:[],extnames:["apl","dyalog"]},applescript:{filenames:[],extnames:["applescript","scpt"]},arff:{filenames:[],extnames:["arff"]},asciidoc:{filenames:[],extnames:["asciidoc","adoc","asc"]},asm6502:{filenames:[],extnames:["asm"]},autohotkey:{filenames:[],extnames:["ahk","ahkl"]},autoit:{filenames:[],extnames:["au3"]},bash:{filenames:[".bash_history",".bash_logout",".bash_profile",".bashrc",".cshrc",".login",".profile",".zlogin",".zlogout",".zprofile",".zshenv",".zshrc","9fs","PKGBUILD","bash_logout","bash_profile","bashrc","cshrc","gradlew","login","man","profile","zlogin","zlogout","zprofile","zshenv","zshrc"],extnames:["sh","bash","bats","cgi","command","fcgi","ksh","tmux","tool","zsh"]},basic:{filenames:[],extnames:["vb","bas","cls","frm","frx","vba","vbhtml","vbs"]},batch:{filenames:[],extnames:["bat","cmd"]},bison:{filenames:[],extnames:["bison"]},brainfuck:{filenames:[],extnames:["b","bf"]},bro:{filenames:[],extnames:["bro"]},c:{filenames:[],extnames:["c","cats","h","idc"]},csharp:{filenames:[],extnames:["cs","cake","cshtml","csx"]},cpp:{filenames:[],extnames:["cpp","c++","cc","cp","cxx","h","h++","hh","hpp","hxx","inc","inl","ino","ipp","re","tcc","tpp"]},coffeescript:{filenames:["Cakefile"],extnames:["coffee","_coffee","cake","cjsx","iced"]},clojure:{filenames:["riemann.config"],extnames:["clj","boot","cl2","cljc","cljs","cljs.hl","cljscm","cljx","hic"]},crystal:{filenames:[],extnames:["cr"]},css:{filenames:[],extnames:["css"]},d:{filenames:[],extnames:["d","di"]},dart:{filenames:[],extnames:["dart"]},diff:{filenames:[],extnames:["diff","patch"]},django:{filenames:[],extnames:["jinja","jinja2","mustache","njk"]},dockerfile:{filenames:["Dockerfile"],extnames:["dockerfile"]},eiffel:{filenames:[],extnames:["e"]},elixir:{filenames:["mix.lock"],extnames:["ex","exs"]},elm:{filenames:[],extnames:["elm"]},erb:{filenames:[],extnames:["erb"]},erlang:{filenames:["Emakefile","rebar.config","rebar.config.lock","rebar.lock"],extnames:["erl","app.src","es","escript","hrl","xrl","yrl"]},fsharp:{filenames:[],extnames:["fs","fsi","fsx"]},fortran:{filenames:[],extnames:["f90","f","f03","f08","f77","f95","for","fpp"]},gedcom:{filenames:[],extnames:["ged"]},gherkin:{filenames:[],extnames:["feature"]},glsl:{filenames:[],extnames:["glsl","fp","frag","frg","fs","fsh","fshader","geo","geom","glslv","gshader","shader","tesc","tese","vert","vrx","vsh","vshader"]},go:{filenames:[],extnames:["go"]},graphql:{filenames:[],extnames:["graphql","gql"]},groovy:{filenames:["Jenkinsfile"],extnames:["groovy","grt","gtpl","gvy"]},haml:{filenames:[],extnames:["haml"]},handlebars:{filenames:[],extnames:["handlebars","hbs"]},haskell:{filenames:[],extnames:["hs","hsc"]},haxe:{filenames:[],extnames:["hx","hxsl"]},http:{filenames:[],extnames:["http"]},icon:{filenames:[],extnames:["icn"]},inform7:{filenames:[],extnames:["ni","i7x"]},ini:{filenames:[".editorconfig",".gitconfig"],extnames:["ini","cfg","lektorproject","prefs","pro","properties"]},io:{filenames:[],extnames:["io"]},j:{filenames:[],extnames:["ijs"]},java:{filenames:[],extnames:["java"]},javascript:{filenames:["Jakefile"],extnames:["js","_js","cjs","bones","es","es6","frag","gs","jake","jsb","jscad","jsfl","jsm","jss","mjs","njs","pac","sjs","ssjs","xsjs","xsjslib"]},jolie:{filenames:[],extnames:["ol","iol"]},json:{filenames:[".arcconfig",".htmlhintrc",".tern-config",".tern-project","composer.lock","mcmod.info"],extnames:["json","avsc","geojson","gltf","JSON-tmLanguage","jsonl","tfstate","topojson","webapp","webmanifest","yy","yyp"]},julia:{filenames:[],extnames:["jl"]},keyman:{filenames:[],extnames:["kmn"]},kotlin:{filenames:[],extnames:["kt","ktm","kts"]},latex:{filenames:[],extnames:["tex","aux","bbx","bib","cbx","cls","dtx","ins","lbx","ltx","mkii","mkiv","mkvi","sty","toc"]},less:{filenames:[],extnames:["less"]},liquid:{filenames:[],extnames:["liquid"]},lisp:{filenames:[],extnames:["lisp","asd","cl","l","lsp","ny","podsl","sexp"]},livescript:{filenames:["Slakefile"],extnames:["ls","_ls"]},lolcode:{filenames:[],extnames:["lol"]},lua:{filenames:[],extnames:["lua","fcgi","nse","p8","pd_lua","rbxs","wlua"]},cmake:{filenames:["BSDmakefile","GNUmakefile","Kbuild","Makefile","Makefile.am","Makefile.boot","Makefile.frag","Makefile.in","Makefile.inc","Makefile.wat","makefile","makefile.sco","mkfile"],extnames:["mak","d","make","mk","mkfile"]},markdown:{filenames:["contents.lr","LICENSE"],extnames:["md","markdown","mdown","mdwn","mkd","mkdn","mkdown","ronn","workbook"]},markup:{filenames:[],extnames:["apib","blade","chem","ecr","eex","ejs","html","htm","ipynb","kit","latte","marko","mask","mtml","phtml","pic","raml","rhtml","vue","xht","xhtml"]},matlab:{filenames:[],extnames:["matlab","m"]},mel:{filenames:[],extnames:["mel"]},mizar:{filenames:[],extnames:["miz","voc"]},monkey:{filenames:[],extnames:["monkey","monkey2"]},n4js:{filenames:[],extnames:["n4jsd"]},nasm:{filenames:[],extnames:["nasm"]},nginx:{filenames:["nginx.conf"],extnames:["nginxconf","vhost"]},nim:{filenames:[],extnames:["nim","nimrod"]},nix:{filenames:[],extnames:["nix"]},nsis:{filenames:[],extnames:["nsi","nsh"]},objectivec:{filenames:[],extnames:["m","h"]},ocaml:{filenames:[],extnames:["ml","eliom","eliomi","ml4","mli","mll","mly"]},opencl:{filenames:[],extnames:["opencl","cl"]},oz:{filenames:[],extnames:["oz"]},pascal:{filenames:[],extnames:["pas","dfm","dpr","inc","lpr","pascal","pp"]},perl:{filenames:["Makefile.PL","Rexfile","ack","cpanfile"],extnames:["pl","al","cgi","fcgi","perl","ph","plx","pm","psgi","t"]},php:{filenames:[".php",".php_cs",".php_cs.dist","Phakefile"],extnames:["php","aw","ctp","fcgi","inc","php3","php4","php5","phps","phpt"]},plsql:{filenames:[],extnames:["pls","bdy","ddl","fnc","pck","pkb","pks","plb","plsql","prc","spc","tpb","tps","trg","vw"]},powershell:{filenames:[],extnames:["ps1","psd1","psm1"]},processing:{filenames:[],extnames:["pde"]},prolog:{filenames:[],extnames:["pl","pro","prolog","yap"]},properties:{filenames:[],extnames:["properties"]},protobuf:{filenames:[],extnames:["proto"]},pug:{filenames:[],extnames:["jade","pug"]},puppet:{filenames:["Modulefile"],extnames:["pp"]},pure:{filenames:[],extnames:["pure"]},python:{filenames:[".gclient","BUCK","BUILD","BUILD.bazel","SConscript","SConstruct","Snakefile","WORKSPACE","wscript"],extnames:["py","bzl","cgi","fcgi","gyp","gypi","lmi","py3","pyde","pyi","pyp","pyt","pyw","rpy","spec","tac","wsgi","xpy"]},q:{filenames:[],extnames:["q"]},qore:{filenames:[],extnames:["q","qm","qtest"]},r:{filenames:[".Rprofile","expr-dist"],extnames:["r","rd","rsx"]},jsx:{filenames:[],extnames:["jsx"]},toml:{filenames:[],extnames:["toml"]},tsx:{filenames:[],extnames:["tsx"]},renpy:{filenames:[],extnames:["rpy"]},reason:{filenames:[],extnames:["re","rei"]},rest:{filenames:[],extnames:["rst","rest"]},rip:{filenames:[],extnames:["rip"]},ruby:{filenames:[".irbrc",".pryrc","Appraisals","Berksfile","Brewfile","Buildfile","Capfile","Dangerfile","Deliverfile","Fastfile","Gemfile","Gemfile.lock","Guardfile","Jarfile","Mavenfile","Podfile","Puppetfile","Rakefile","Snapfile","Thorfile","Vagrantfile","buildfile"],extnames:["rb","builder","eye","fcgi","gemspec","god","jbuilder","mspec","pluginspec","podspec","rabl","rake","rbuild","rbw","rbx","ru","ruby","spec","thor","watchr"]},rust:{filenames:[],extnames:["rs"]},sas:{filenames:[],extnames:["sas"]},sass:{filenames:[],extnames:["sass"]},scss:{filenames:[],extnames:["scss"]},scala:{filenames:[],extnames:["scala","kojo","sbt","sc"]},scheme:{filenames:[],extnames:["scm","sch","sld","sls","sps","ss"]},smalltalk:{filenames:[],extnames:["st","cs"]},smarty:{filenames:[],extnames:["tpl"]},sql:{filenames:[],extnames:["sql","cql","ddl","inc","mysql","prc","tab","udf","viw"]},soy:{filenames:[],extnames:["soy"]},stylus:{filenames:[],extnames:["styl"]},swift:{filenames:[],extnames:["swift"]},tcl:{filenames:["owh","starfield"],extnames:["tcl","adp","tm"]},textile:{filenames:[],extnames:["textile"]},tt2:{filenames:[],extnames:["pm"]},twig:{filenames:[],extnames:["twig"]},typescript:{filenames:[],extnames:["ts"]},velocity:{filenames:[],extnames:["vm"]},verilog:{filenames:[],extnames:["v","veo"]},vhdl:{filenames:[],extnames:["vhdl","vhd","vhf","vhi","vho","vhs","vht","vhw"]},vim:{filenames:[".gvimrc",".nvimrc",".vimrc","_vimrc","gvimrc","nvimrc","vimrc"],extnames:["vim"]},"visual-basic":{filenames:[],extnames:["vb","bas","cls","frm","frx","vba","vbhtml","vbs"]},wasm:{filenames:[],extnames:["wast","wat"]},xojo:{filenames:[],extnames:["xojo_code","xojo_menu","xojo_report","xojo_script","xojo_toolbar","xojo_window"]},xquery:{filenames:[],extnames:["xquery","xq","xql","xqm","xqy"]},yaml:{filenames:[".clang-format",".clang-tidy",".gemrc","glide.lock"],extnames:["yml","mir","reek","rviz","sublime-syntax","syntax","yaml","yaml-tmlanguage"]}};Object.entries(m).reduce((e,a)=>{let[s,t]=a;return{...e,[s.toLocaleLowerCase()]:t}},{});let o=e=>{let a={},s={};for(let[e,t]of Object.entries(c)){for(let s of t.filenames)(0,n.Z)(a,s)||(a[s]=[]),a[s].push(e);for(let a of t.extnames)(0,n.Z)(s,a)||(s[a]=[]),s[a].push(e)}return[].concat(a[l().basename(e)],s[l().extname(e).substring(1)]).filter(Boolean)},f=(e,a)=>{let s=()=>(0,i.Z)(a)?"Other":a;if(!e)return s();let t=Object.values(r.SQ).map(e=>e.toLocaleLowerCase()).indexOf(e.toLocaleLowerCase());if(-1===t)return s();let l=Object.keys(r.SQ)[t];return({csharp:"C#",cpp:"C++",javascript:"JavaScript",typescript:"TypeScript"})[l.toLocaleLowerCase()]||l}}},function(e){e.O(0,[8415,7565,7430,55,7812,4007,4752,3449,8511,2287,5669,4546,6805,1889,3752,5223,8009,7288,1565,3240,4017,3375,5289,1744],function(){return e(e.s=31800)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[960],{97895:function(){},31800:function(e,a,s){Promise.resolve().then(s.bind(s,66408))},66408:function(e,a,s){"use strict";s.r(a),s.d(a,{Report:function(){return G}});var t=s(36164),l=s(3546),n=s(11978),i=s(36619),r=s(35814),m=s(99092),c=s.n(m),o=s(39018),f=s.n(o),d=s(42390),x=s.n(d),p=s(40055),u=s(18500),h=s(36758),b=s(80605),g=s(63484),j=s(70410),y=s(57288),v=s(79972),k=s(36065),w=s(81565),N=s(84942),S=s(54594),C=s(3448),D=s(22119),M=s(6230),L=s(73051),Y=s(94755),A=s(72223),F=s(9010);function E(e){let{data:a}=e,{theme:s}=(0,F.X)(),l=(0,Y.iP)(),n=l.width||0;return(0,t.jsx)(A.ZP,{data:a,colorScheme:"dark"===s?"dark":"light",theme:{light:["#ebedf0","#9be9a8","#40c463","#30a14e","#216e39"],dark:["rgb(45, 51, 59)","#0e4429","#006d32","#26a641","#39d353"]},blockSize:n>=1300?13:n>=1100?9:n>=900?6:5,hideTotalCount:!0})}function P(e){let{yearlyStats:a}=e,s=0,l=(null==a?void 0:a.reduce((e,a)=>{let t=c().utc(a.start).format("YYYY-MM-DD");return s+=a.views+a.selects,{...e,[t]:a.views}},{}))||{},n=Array(365).fill("").map((e,a)=>{let s=c()().subtract(a,"days").format("YYYY-MM-DD"),t=l[s]||0;return{date:s,count:t,level:Math.min(4,Math.ceil(t/5))}}).reverse();return(0,t.jsxs)("div",{className:"flex h-full flex-col rounded-lg border bg-primary-foreground/30 px-6 py-4",children:[(0,t.jsxs)("h3",{className:"mb-5 text-sm font-medium tracking-tight",children:[(0,t.jsx)("b",{children:s})," activities in the last year"]}),(0,t.jsx)("div",{className:"flex flex-1 items-center justify-center",children:(0,t.jsx)(E,{data:n})})]})}var B=s(60079),O=s(82382),z=s(85948),R=s(25442),I=s(81040),_=s(16294);function q(e){let{active:a,payload:s,label:l}=e;if(a&&s&&s.length){let{views:e,selects:a}=s[0].payload;return e?(0,t.jsx)(v.Zb,{children:(0,t.jsxs)(v.aY,{className:"flex flex-col gap-y-0.5 px-4 py-2 text-sm",children:[(0,t.jsxs)("p",{className:"flex items-center",children:[(0,t.jsx)("span",{className:"mr-3 inline-block w-20",children:"Completion:"}),(0,t.jsx)("b",{children:e})]}),(0,t.jsxs)("p",{className:"flex items-center",children:[(0,t.jsx)("span",{className:"mr-3 inline-block w-20",children:"Acceptance:"}),(0,t.jsx)("b",{children:a})]}),(0,t.jsx)("p",{className:"text-muted-foreground",children:l})]})}):null}return null}function Z(e){let{dailyStats:a,dateRange:s}=e,{theme:l}=(0,F.X)(),n=s.from||new Date,r=s.to||n,m={},o={};null==a||a.forEach(e=>{let a=c()(e.start).format("YYYY-MM-DD");m[a]=m[a]||0,o[a]=o[a]||0,m[a]+=e.views,o[a]+=e.selects},{});let f=(0,i.Z)({start:n,end:r}),d=f.map(e=>{let a=c()(e).format("YYYY-MM-DD"),s=m[a]||0,t=o[a]||0;return{name:c()(e).format("MMMM D"),views:s,selects:t,pendings:s-t}});return(0,t.jsxs)("div",{className:"rounded-lg border bg-primary-foreground/30 px-6 py-4",children:[(0,t.jsx)("h3",{className:"mb-5 text-sm font-medium tracking-tight",children:"Daily Statistics"}),(0,t.jsx)(B.h,{width:"100%",height:300,children:(0,t.jsxs)(O.v,{data:d,margin:{top:5,right:20,left:20,bottom:5},children:[(0,t.jsx)(z.$,{dataKey:"selects",stackId:"stats",fill:"dark"===l?"#e8e1d3":"#54452c",radius:3}),(0,t.jsx)(z.$,{dataKey:"pendings",stackId:"stats",fill:"dark"===l?"#423929":"#e8e1d3",radius:3}),(0,t.jsx)(R.K,{dataKey:"name",fontSize:12}),(0,t.jsx)(I.B,{fontSize:12,width:20,allowDecimals:!1}),(0,t.jsx)(_.u,{cursor:{fill:"transparent"},content:(0,t.jsx)(q,{})})]})})]})}let T="-14d";function V(e){let{dailyStats:a}=e,s=(0,r.Z)(null==a?void 0:a.map(e=>e.views)),l=(0,r.Z)(null==a?void 0:a.map(e=>e.selects)),n=0===l?0:(l/s*100).toFixed(2);return(0,t.jsxs)("div",{className:"flex w-full flex-col items-start justify-center space-y-3 md:flex-row md:items-center md:space-x-6 md:space-y-0 xl:justify-start",children:[(0,t.jsxs)(v.Zb,{className:"flex flex-1 flex-col justify-between self-stretch bg-primary-foreground/30 lg:block",children:[(0,t.jsxs)(v.Ol,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[(0,t.jsx)(v.ll,{className:"text-sm font-medium",children:"Acceptance Rate"}),(0,t.jsx)(w.IconActivity,{className:"text-muted-foreground"})]}),(0,t.jsx)(v.aY,{children:(0,t.jsxs)("div",{className:"text-2xl font-bold",children:[n,"%"]})})]}),(0,t.jsxs)(v.Zb,{className:"flex flex-1 flex-col justify-between self-stretch bg-primary-foreground/30 lg:block",children:[(0,t.jsxs)(v.Ol,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[(0,t.jsx)(v.ll,{className:"text-sm font-medium",children:"Total Completions"}),(0,t.jsx)(w.IconCode,{className:"text-muted-foreground"})]}),(0,t.jsx)(v.aY,{children:(0,t.jsx)("div",{className:"text-2xl font-bold",children:f()(s).format("0,0")})})]}),(0,t.jsxs)(v.Zb,{className:"flex flex-1 flex-col justify-between self-stretch bg-primary-foreground/30 lg:block",children:[(0,t.jsxs)(v.Ol,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[(0,t.jsx)(v.ll,{className:"text-sm font-medium",children:"Total Acceptances"}),(0,t.jsx)(w.IconCheck,{className:"h-4 w-4 text-muted-foreground"})]}),(0,t.jsx)(v.aY,{children:(0,t.jsx)("div",{className:"text-2xl font-bold",children:l})})]})]})}function G(){let e,a;let s=(0,n.useSearchParams)(),[r]=(0,h.d)(),m=(0,b.UA)(),[o,f]=(0,l.useState)({from:c()().add(parseInt(T,10),"day").toDate(),to:c()().toDate()}),[d,v]=(0,l.useState)("all"),[Y,A]=(0,l.useState)([]),F=m||"true"===s.get("sample"),[{data:E,fetching:B}]=(0,p.aM)({query:j.Cl,variables:{start:c()(o.from).startOf("day").utc().format(),end:c()(o.to).endOf("day").utc().format(),users:"all"===d?void 0:[d]}});if(F){let a=(0,i.Z)({start:o.from,end:o.to||o.from});e=a.map(e=>{let a=[u.SQ.Typescript,u.SQ.Python,u.SQ.Rust],s=x()(c()(e).format("YYYY-MM-DD")+d+Y),t=Math.ceil(20*s()),l=Math.ceil(t/.35);return{start:c()(e).utc().format(),end:c()(e).add(1,"day").utc().format(),completions:l,selects:t,views:l,language:a[t%a.length]}})}else e=null==E?void 0:E.dailyStats.map(e=>({start:e.start,end:e.end,completions:e.completions,selects:e.selects,views:e.views,language:e.language}));e=null==e?void 0:e.filter(e=>0===Y.length||Y.includes(e.language));let[{data:O,fetching:z}]=(0,p.aM)({query:j.Y6,variables:{users:"all"===d?void 0:d}});if(F){let e=(0,i.Z)({start:c()().toDate(),end:c()().subtract(365,"days").toDate()});a=e.map(e=>{let a=x()(c()(e).format("YYYY-MM-DD")+d+Y),s=Math.ceil(20*a()),t=s+Math.floor(10*a());return{start:c()(e).format("YYYY-MM-DD[T]HH:mm:ss[Z]"),end:c()(e).add(1,"day").format("YYYY-MM-DD[T]HH:mm:ss[Z]"),completions:t,selects:s,views:t}})}else a=null==O?void 0:O.dailyStatsInPastYear.map(e=>({start:e.start,end:e.end,completions:e.completions,selects:e.selects,views:e.views}));return(0,t.jsxs)("div",{className:"w-[calc(100vw-2rem)] md:w-auto 2xl:mx-auto 2xl:max-w-5xl",children:[(0,t.jsxs)("div",{className:"mb-4 flex flex-col items-center justify-between gap-y-2 lg:flex-row lg:items-end lg:gap-y-0",children:[(0,t.jsx)(L.b,{className:"mb-0",children:"Statistics around Tabby IDE / Extensions"}),(0,t.jsx)(M.Z,{loading:B,fallback:(0,t.jsx)(C.O,{className:"h-6 w-32"}),children:(0,t.jsxs)(S.Ph,{defaultValue:"all",onValueChange:v,children:[(0,t.jsx)(S.i4,{className:"h-auto w-auto border-none py-0 shadow-none",children:(0,t.jsxs)("div",{className:"flex h-6 items-center",children:[(0,t.jsx)(w.IconUsers,{className:"mr-[0.45rem]"}),(0,t.jsx)("div",{className:"w-[190px] overflow-hidden text-ellipsis text-left",children:(0,t.jsx)(S.ki,{})})]})}),(0,t.jsx)(S.Bw,{align:"end",children:(0,t.jsxs)(S.DI,{children:[(0,t.jsx)(S.Ql,{value:"all",children:"All members"}),r.map(e=>(0,t.jsx)(S.Ql,{value:e.id,children:e.name||e.email},e.id))]})})]})})]}),(0,t.jsx)(M.Z,{loading:z,fallback:(0,t.jsx)(C.O,{className:"mb-8 h-48"}),children:(0,t.jsxs)("div",{className:"mb-8",children:[(0,t.jsx)("h1",{className:"mb-2 text-center text-xl font-semibold md:text-start",children:"Activity"}),(0,t.jsx)(P,{yearlyStats:a})]})}),(0,t.jsx)(M.Z,{loading:B,fallback:(0,t.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,t.jsxs)("div",{className:"flex justify-between gap-5",children:[(0,t.jsx)(C.O,{className:"h-32 flex-1"}),(0,t.jsx)(C.O,{className:"h-32 flex-1"}),(0,t.jsx)(C.O,{className:"h-32 flex-1"})]}),(0,t.jsx)(C.O,{className:"h-56"})]}),children:(0,t.jsxs)("div",{className:"mb-10 flex flex-col gap-y-5",children:[(0,t.jsxs)("div",{className:"-mb-2 flex flex-col items-center justify-between gap-y-1 md:flex-row md:gap-y-0",children:[(0,t.jsx)("h1",{className:"text-xl font-semibold",children:"Usage"}),(0,t.jsxs)("div",{className:"flex flex-col gap-3 md:flex-row md:items-center md:gap-y-0",children:[(0,t.jsxs)(N.J2,{children:[(0,t.jsx)(N.xo,{asChild:!0,children:(0,t.jsxs)("div",{className:"flex h-9 w-[240px] items-center justify-between rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed md:w-[150px]",children:[(0,t.jsxs)("div",{className:"w-full",children:[0===Y.length&&(0,t.jsx)("p",{className:"w-full overflow-hidden text-ellipsis",children:"All languages"}),1===Y.length&&(0,t.jsx)("p",{className:"w-full overflow-hidden text-ellipsis",children:(0,g.t)(Y[0])}),Y.length>1&&(0,t.jsxs)("span",{className:"px-1",children:[Y.length," selected"]})]}),(0,t.jsx)(w.IconChevronUpDown,{className:"h-3 w-3"})]})}),(0,t.jsx)(N.yk,{className:"w-[240px] p-0 md:w-[180px]",align:"end",children:(0,t.jsxs)(k.mY,{children:[(0,t.jsx)(k.sZ,{placeholder:"Language"}),(0,t.jsxs)(k.e8,{children:[(0,t.jsx)(k.rb,{children:"No results found."}),(0,t.jsx)(k.fu,{children:Object.entries(u.SQ).sort((e,a)=>a[1]===u.SQ.Other?-1:0).map(e=>{let[a,s]=e,l=Y.includes(s);return(0,t.jsxs)(k.di,{onSelect:()=>{let e=[...Y];if(l){let a=e.findIndex(e=>e===s);-1!==a&&e.splice(a,1)}else e.push(s);A(e)},className:"!pointer-events-auto cursor-pointer !opacity-100",children:[(0,t.jsx)("div",{className:(0,y.cn)("mr-2 flex h-4 w-4 items-center justify-center rounded-sm border border-primary",l?"bg-primary text-primary-foreground":"opacity-50 [&_svg]:invisible"),children:(0,t.jsx)(w.IconCheck,{className:(0,y.cn)("h-4 w-4")})}),(0,t.jsx)("span",{children:(0,g.t)(s)})]},s)})}),Y.length>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(k.zz,{}),(0,t.jsx)(k.fu,{children:(0,t.jsx)(k.di,{onSelect:()=>A([]),className:"!pointer-events-auto cursor-pointer justify-center text-center !opacity-100",children:"Clear filters"})})]})]})]})})]}),(0,t.jsx)(D.Z,{options:[{label:"Last 7 days",value:"-7d"},{label:"Last 14 days",value:"-14d"},{label:"Last 30 days",value:"-30d"}],defaultValue:T,onSelect:f,hasToday:!0,hasYesterday:!0})]})]}),(0,t.jsx)(V,{dailyStats:e}),(0,t.jsx)(Z,{dailyStats:e,dateRange:o})]})})]})}},73051:function(e,a,s){"use strict";s.d(a,{b:function(){return m}});var t=s(36164);s(3546);var l=s(70652),n=s.n(l),i=s(57288),r=s(81565);let m=e=>{let{className:a,externalLink:s,externalLinkText:l="Learn more",children:m}=e;return(0,t.jsx)("div",{className:(0,i.cn)("mb-4 flex items-center gap-4",a),children:(0,t.jsxs)("div",{className:"flex-1 text-sm text-muted-foreground",children:[m,!!s&&(0,t.jsxs)(n(),{className:"ml-2 inline-flex cursor-pointer flex-row items-center text-primary hover:underline",href:s,target:"_blank",children:[l,(0,t.jsx)(r.IconExternalLink,{className:"ml-1"})]})]})})}},36065:function(e,a,s){"use strict";s.d(a,{di:function(){return p},e8:function(){return o},fu:function(){return d},mY:function(){return m},rb:function(){return f},sZ:function(){return c},zz:function(){return x}});var t=s(36164),l=s(3546),n=s(53241),i=s(93170),r=s(57288);s(30220);let m=l.forwardRef((e,a)=>{let{className:s,...l}=e;return(0,t.jsx)(n.mY,{ref:a,className:(0,r.cn)("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",s),...l})});m.displayName=n.mY.displayName;let c=l.forwardRef((e,a)=>{let{className:s,...l}=e;return(0,t.jsxs)("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,t.jsx)(i.Z,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),(0,t.jsx)(n.mY.Input,{ref:a,className:(0,r.cn)("flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",s),...l})]})});c.displayName=n.mY.Input.displayName;let o=l.forwardRef((e,a)=>{let{className:s,...l}=e;return(0,t.jsx)(n.mY.List,{ref:a,className:(0,r.cn)("max-h-[300px] overflow-y-auto overflow-x-hidden",s),...l})});o.displayName=n.mY.List.displayName;let f=l.forwardRef((e,a)=>(0,t.jsx)(n.mY.Empty,{ref:a,className:"py-6 text-center text-sm",...e}));f.displayName=n.mY.Empty.displayName;let d=l.forwardRef((e,a)=>{let{className:s,...l}=e;return(0,t.jsx)(n.mY.Group,{ref:a,className:(0,r.cn)("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",s),...l})});d.displayName=n.mY.Group.displayName;let x=l.forwardRef((e,a)=>{let{className:s,...l}=e;return(0,t.jsx)(n.mY.Separator,{ref:a,className:(0,r.cn)("-mx-1 h-px bg-border",s),...l})});x.displayName=n.mY.Separator.displayName;let p=l.forwardRef((e,a)=>{let{className:s,...l}=e;return(0,t.jsx)(n.mY.Item,{ref:a,className:(0,r.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-disabled:pointer-events-none aria-disabled:opacity-50 aria-selected:bg-accent aria-selected:text-accent-foreground",s),...l})});p.displayName=n.mY.Item.displayName},30220:function(e,a,s){"use strict";s.d(a,{$N:function(){return u},Be:function(){return h},Vq:function(){return m},cN:function(){return p},cZ:function(){return d},fK:function(){return x},hg:function(){return c}});var t=s(36164),l=s(3546),n=s(4318),i=s(1663),r=s(57288);let m=n.fC,c=n.xz,o=n.h_;n.x8;let f=l.forwardRef((e,a)=>{let{className:s,...l}=e;return(0,t.jsx)(n.aV,{ref:a,className:(0,r.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",s),...l})});f.displayName=n.aV.displayName;let d=l.forwardRef((e,a)=>{let{className:s,children:l,...m}=e;return(0,t.jsxs)(o,{children:[(0,t.jsx)(f,{}),(0,t.jsxs)(n.VY,{ref:a,className:(0,r.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",s),...m,children:[l,(0,t.jsxs)(n.x8,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,t.jsx)(i.Z,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});d.displayName=n.VY.displayName;let x=e=>{let{className:a,...s}=e;return(0,t.jsx)("div",{className:(0,r.cn)("flex flex-col space-y-1.5 text-center sm:text-left",a),...s})};x.displayName="DialogHeader";let p=e=>{let{className:a,...s}=e;return(0,t.jsx)("div",{className:(0,r.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...s})};p.displayName="DialogFooter";let u=l.forwardRef((e,a)=>{let{className:s,...l}=e;return(0,t.jsx)(n.Dx,{ref:a,className:(0,r.cn)("text-lg font-semibold leading-none tracking-tight",s),...l})});u.displayName=n.Dx.displayName;let h=l.forwardRef((e,a)=>{let{className:s,...l}=e;return(0,t.jsx)(n.dk,{ref:a,className:(0,r.cn)("text-sm text-muted-foreground",s),...l})});h.displayName=n.dk.displayName},84942:function(e,a,s){"use strict";s.d(a,{J2:function(){return r},i9:function(){return o},tW:function(){return f},xo:function(){return m},xp:function(){return c},yk:function(){return d}});var t=s(36164),l=s(3546),n=s(83299),i=s(57288);let r=n.fC,m=n.xz,c=n.x8,o=n.h_,f=n.ee,d=l.forwardRef((e,a)=>{let{className:s,sideOffset:l=4,...r}=e;return(0,t.jsx)(n.VY,{ref:a,sideOffset:l,className:(0,i.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow animate-in data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",s),...r})});d.displayName=n.VY.displayName},80605:function(e,a,s){"use strict";s.d(a,{UA:function(){return d},Uw:function(){return o},c7:function(){return c},jJ:function(){return f},vN:function(){return r},xG:function(){return m}});var t=s(40055),l=s(43240);let n=(0,l.BX)("\n query GetServerInfo {\n serverInfo {\n isAdminInitialized\n isEmailConfigured\n isChatEnabled\n allowSelfSignup\n isDemoMode\n }\n }\n"),i=()=>{let[{data:e}]=(0,t.aM)({query:n});return null==e?void 0:e.serverInfo},r=()=>{let[{fetching:e}]=(0,t.aM)({query:n});return e},m=()=>{var e;return null===(e=i())||void 0===e?void 0:e.isChatEnabled},c=()=>{var e;return null===(e=i())||void 0===e?void 0:e.isAdminInitialized},o=()=>{var e;return null===(e=i())||void 0===e?void 0:e.isEmailConfigured},f=()=>{var e;return null===(e=i())||void 0===e?void 0:e.allowSelfSignup},d=()=>{var e;return null===(e=i())||void 0===e?void 0:e.isDemoMode}},63484:function(e,a,s){"use strict";s.d(a,{U$:function(){return o},t:function(){return f}});var t=s(14283),l=s.n(t),n=s(34021),i=s(74630),r=s(18500),m=JSON.parse('{"Mercury":"#ff2b2b","TypeScript":"#2b7489","PureBasic":"#5a6986","Objective-C++":"#6866fb","Self":"#0579aa","edn":"#db5855","NewLisp":"#87AED7","Jupyter Notebook":"#DA5B0B","Rebol":"#358a5b","Frege":"#00cafe","Dart":"#00B4AB","AspectJ":"#a957b0","Shell":"#89e051","Web Ontology Language":"#9cc9dd","xBase":"#403a40","Eiffel":"#946d57","Nix":"#7e7eff","RAML":"#77d9fb","MTML":"#b7e1f4","Racket":"#22228f","Elixir":"#6e4a7e","SAS":"#B34936","Agda":"#315665","wisp":"#7582D1","D":"#ba595e","Kotlin":"#F18E33","Opal":"#f7ede0","Crystal":"#776791","Objective-C":"#438eff","ColdFusion CFC":"#ed2cd6","Oz":"#fab738","Mirah":"#c7a938","Objective-J":"#ff0c5a","Gosu":"#82937f","FreeMarker":"#0050b2","Ruby":"#701516","Component Pascal":"#b0ce4e","Arc":"#aa2afe","Brainfuck":"#2F2530","Nit":"#009917","APL":"#5A8164","Go":"#375eab","Visual Basic":"#945db7","PHP":"#4F5D95","Cirru":"#ccccff","SQF":"#3F3F3F","Glyph":"#e4cc98","Java":"#b07219","MAXScript":"#00a6a6","Scala":"#DC322F","Makefile":"#427819","ColdFusion":"#ed2cd6","Perl":"#0298c3","Lua":"#000080","Vue":"#2c3e50","Verilog":"#b2b7f8","Factor":"#636746","Haxe":"#df7900","Pure Data":"#91de79","Forth":"#341708","Red":"#ee0000","Hy":"#7790B2","Volt":"#1F1F1F","LSL":"#3d9970","eC":"#913960","CoffeeScript":"#244776","HTML":"#e44b23","Lex":"#DBCA00","API Blueprint":"#2ACCA8","Swift":"#ffac45","C":"#555555","AutoHotkey":"#6594b9","Isabelle":"#FEFE00","Metal":"#8f14e9","Clarion":"#db901e","JSONiq":"#40d47e","Boo":"#d4bec1","AutoIt":"#1C3552","Clojure":"#db5855","Rust":"#dea584","Prolog":"#74283c","SourcePawn":"#5c7611","AMPL":"#E6EFBB","FORTRAN":"#4d41b1","ANTLR":"#9DC3FF","Harbour":"#0e60e3","Tcl":"#e4cc98","BlitzMax":"#cd6400","PigLatin":"#fcd7de","Lasso":"#999999","ECL":"#8a1267","VHDL":"#adb2cb","Elm":"#60B5CC","Propeller Spin":"#7fa2a7","X10":"#4B6BEF","IDL":"#a3522f","ATS":"#1ac620","Ada":"#02f88c","Unity3D Asset":"#ab69a1","Nu":"#c9df40","LFE":"#004200","SuperCollider":"#46390b","Oxygene":"#cdd0e3","ASP":"#6a40fd","Assembly":"#6E4C13","Gnuplot":"#f0a9f0","JFlex":"#DBCA00","NetLinx":"#0aa0ff","Turing":"#45f715","Vala":"#fbe5cd","Processing":"#0096D8","Arduino":"#bd79d1","FLUX":"#88ccff","NetLogo":"#ff6375","CSharp":"#178600","CSS":"#563d7c","Emacs Lisp":"#c065db","Stan":"#b2011d","SaltStack":"#646464","QML":"#44a51c","Pike":"#005390","LOLCODE":"#cc9900","ooc":"#b0b77e","Handlebars":"#01a9d6","J":"#9EEDFF","Mask":"#f97732","EmberScript":"#FFF4F3","TeX":"#3D6117","Nemerle":"#3d3c6e","KRL":"#28431f","Ren\'Py":"#ff7f7f","Unified Parallel C":"#4e3617","Golo":"#88562A","Fancy":"#7b9db4","OCaml":"#3be133","Shen":"#120F14","Pascal":"#b0ce4e","F#":"#b845fc","Puppet":"#302B6D","ActionScript":"#882B0F","Diff":"#88dddd","Ragel in Ruby Host":"#9d5200","Fantom":"#dbded5","Zephir":"#118f9e","Click":"#E4E6F3","Smalltalk":"#596706","DM":"#447265","Ioke":"#078193","PogoScript":"#d80074","LiveScript":"#499886","JavaScript":"#f1e05a","VimL":"#199f4b","PureScript":"#1D222D","ABAP":"#E8274B","Matlab":"#bb92ac","Slash":"#007eff","R":"#198ce7","Erlang":"#B83998","Pan":"#cc0000","LookML":"#652B81","Eagle":"#814C05","Scheme":"#1e4aec","PLSQL":"#dad8d8","Python":"#3572A5","Max":"#c4a79c","Common Lisp":"#3fb68b","Latte":"#A8FF97","XQuery":"#5232e7","Omgrofl":"#cabbff","XC":"#99DA07","Nimrod":"#37775b","SystemVerilog":"#DAE1C2","Chapel":"#8dc63f","Groovy":"#e69f56","Dylan":"#6c616e","E":"#ccce35","Parrot":"#f3ca0a","Grammatical Framework":"#79aa7a","Game Maker Language":"#8fb200","Papyrus":"#6600cc","NetLinx+ERB":"#747faa","Clean":"#3F85AF","Alloy":"#64C800","Squirrel":"#800000","PAWN":"#dbb284","UnrealScript":"#a54c4d","Standard ML":"#dc566d","Slim":"#ff8f77","Perl6":"#0000fb","Julia":"#a270ba","Haskell":"#29b544","NCL":"#28431f","Io":"#a9188d","Rouge":"#cc0088","cpp":"#f34b7d","AGS Script":"#B9D9FF","Dogescript":"#cca760","nesC":"#94B0C7"}'),c={abap:{filenames:[],extnames:["abap"]},actionscript:{filenames:[],extnames:["as"]},ada:{filenames:[],extnames:["ada","adb","ads"]},apacheconf:{filenames:[".htaccess","apache2.conf","httpd.conf"],extnames:["apacheconf","vhost"]},apl:{filenames:[],extnames:["apl","dyalog"]},applescript:{filenames:[],extnames:["applescript","scpt"]},arff:{filenames:[],extnames:["arff"]},asciidoc:{filenames:[],extnames:["asciidoc","adoc","asc"]},asm6502:{filenames:[],extnames:["asm"]},autohotkey:{filenames:[],extnames:["ahk","ahkl"]},autoit:{filenames:[],extnames:["au3"]},bash:{filenames:[".bash_history",".bash_logout",".bash_profile",".bashrc",".cshrc",".login",".profile",".zlogin",".zlogout",".zprofile",".zshenv",".zshrc","9fs","PKGBUILD","bash_logout","bash_profile","bashrc","cshrc","gradlew","login","man","profile","zlogin","zlogout","zprofile","zshenv","zshrc"],extnames:["sh","bash","bats","cgi","command","fcgi","ksh","tmux","tool","zsh"]},basic:{filenames:[],extnames:["vb","bas","cls","frm","frx","vba","vbhtml","vbs"]},batch:{filenames:[],extnames:["bat","cmd"]},bison:{filenames:[],extnames:["bison"]},brainfuck:{filenames:[],extnames:["b","bf"]},bro:{filenames:[],extnames:["bro"]},c:{filenames:[],extnames:["c","cats","h","idc"]},csharp:{filenames:[],extnames:["cs","cake","cshtml","csx"]},cpp:{filenames:[],extnames:["cpp","c++","cc","cp","cxx","h","h++","hh","hpp","hxx","inc","inl","ino","ipp","re","tcc","tpp"]},coffeescript:{filenames:["Cakefile"],extnames:["coffee","_coffee","cake","cjsx","iced"]},clojure:{filenames:["riemann.config"],extnames:["clj","boot","cl2","cljc","cljs","cljs.hl","cljscm","cljx","hic"]},crystal:{filenames:[],extnames:["cr"]},css:{filenames:[],extnames:["css"]},d:{filenames:[],extnames:["d","di"]},dart:{filenames:[],extnames:["dart"]},diff:{filenames:[],extnames:["diff","patch"]},django:{filenames:[],extnames:["jinja","jinja2","mustache","njk"]},dockerfile:{filenames:["Dockerfile"],extnames:["dockerfile"]},eiffel:{filenames:[],extnames:["e"]},elixir:{filenames:["mix.lock"],extnames:["ex","exs"]},elm:{filenames:[],extnames:["elm"]},erb:{filenames:[],extnames:["erb"]},erlang:{filenames:["Emakefile","rebar.config","rebar.config.lock","rebar.lock"],extnames:["erl","app.src","es","escript","hrl","xrl","yrl"]},fsharp:{filenames:[],extnames:["fs","fsi","fsx"]},fortran:{filenames:[],extnames:["f90","f","f03","f08","f77","f95","for","fpp"]},gedcom:{filenames:[],extnames:["ged"]},gherkin:{filenames:[],extnames:["feature"]},glsl:{filenames:[],extnames:["glsl","fp","frag","frg","fs","fsh","fshader","geo","geom","glslv","gshader","shader","tesc","tese","vert","vrx","vsh","vshader"]},go:{filenames:[],extnames:["go"]},graphql:{filenames:[],extnames:["graphql","gql"]},groovy:{filenames:["Jenkinsfile"],extnames:["groovy","grt","gtpl","gvy"]},haml:{filenames:[],extnames:["haml"]},handlebars:{filenames:[],extnames:["handlebars","hbs"]},haskell:{filenames:[],extnames:["hs","hsc"]},haxe:{filenames:[],extnames:["hx","hxsl"]},http:{filenames:[],extnames:["http"]},icon:{filenames:[],extnames:["icn"]},inform7:{filenames:[],extnames:["ni","i7x"]},ini:{filenames:[".editorconfig",".gitconfig"],extnames:["ini","cfg","lektorproject","prefs","pro","properties"]},io:{filenames:[],extnames:["io"]},j:{filenames:[],extnames:["ijs"]},java:{filenames:[],extnames:["java"]},javascript:{filenames:["Jakefile"],extnames:["js","_js","cjs","bones","es","es6","frag","gs","jake","jsb","jscad","jsfl","jsm","jss","mjs","njs","pac","sjs","ssjs","xsjs","xsjslib"]},jolie:{filenames:[],extnames:["ol","iol"]},json:{filenames:[".arcconfig",".htmlhintrc",".tern-config",".tern-project","composer.lock","mcmod.info"],extnames:["json","avsc","geojson","gltf","JSON-tmLanguage","jsonl","tfstate","topojson","webapp","webmanifest","yy","yyp"]},julia:{filenames:[],extnames:["jl"]},keyman:{filenames:[],extnames:["kmn"]},kotlin:{filenames:[],extnames:["kt","ktm","kts"]},latex:{filenames:[],extnames:["tex","aux","bbx","bib","cbx","cls","dtx","ins","lbx","ltx","mkii","mkiv","mkvi","sty","toc"]},less:{filenames:[],extnames:["less"]},liquid:{filenames:[],extnames:["liquid"]},lisp:{filenames:[],extnames:["lisp","asd","cl","l","lsp","ny","podsl","sexp"]},livescript:{filenames:["Slakefile"],extnames:["ls","_ls"]},lolcode:{filenames:[],extnames:["lol"]},lua:{filenames:[],extnames:["lua","fcgi","nse","p8","pd_lua","rbxs","wlua"]},cmake:{filenames:["BSDmakefile","GNUmakefile","Kbuild","Makefile","Makefile.am","Makefile.boot","Makefile.frag","Makefile.in","Makefile.inc","Makefile.wat","makefile","makefile.sco","mkfile"],extnames:["mak","d","make","mk","mkfile"]},markdown:{filenames:["contents.lr","LICENSE"],extnames:["md","markdown","mdown","mdwn","mkd","mkdn","mkdown","ronn","workbook"]},markup:{filenames:[],extnames:["apib","blade","chem","ecr","eex","ejs","html","htm","ipynb","kit","latte","marko","mask","mtml","phtml","pic","raml","rhtml","vue","xht","xhtml"]},matlab:{filenames:[],extnames:["matlab","m"]},mel:{filenames:[],extnames:["mel"]},mizar:{filenames:[],extnames:["miz","voc"]},monkey:{filenames:[],extnames:["monkey","monkey2"]},n4js:{filenames:[],extnames:["n4jsd"]},nasm:{filenames:[],extnames:["nasm"]},nginx:{filenames:["nginx.conf"],extnames:["nginxconf","vhost"]},nim:{filenames:[],extnames:["nim","nimrod"]},nix:{filenames:[],extnames:["nix"]},nsis:{filenames:[],extnames:["nsi","nsh"]},objectivec:{filenames:[],extnames:["m","h"]},ocaml:{filenames:[],extnames:["ml","eliom","eliomi","ml4","mli","mll","mly"]},opencl:{filenames:[],extnames:["opencl","cl"]},oz:{filenames:[],extnames:["oz"]},pascal:{filenames:[],extnames:["pas","dfm","dpr","inc","lpr","pascal","pp"]},perl:{filenames:["Makefile.PL","Rexfile","ack","cpanfile"],extnames:["pl","al","cgi","fcgi","perl","ph","plx","pm","psgi","t"]},php:{filenames:[".php",".php_cs",".php_cs.dist","Phakefile"],extnames:["php","aw","ctp","fcgi","inc","php3","php4","php5","phps","phpt"]},plsql:{filenames:[],extnames:["pls","bdy","ddl","fnc","pck","pkb","pks","plb","plsql","prc","spc","tpb","tps","trg","vw"]},powershell:{filenames:[],extnames:["ps1","psd1","psm1"]},processing:{filenames:[],extnames:["pde"]},prolog:{filenames:[],extnames:["pl","pro","prolog","yap"]},properties:{filenames:[],extnames:["properties"]},protobuf:{filenames:[],extnames:["proto"]},pug:{filenames:[],extnames:["jade","pug"]},puppet:{filenames:["Modulefile"],extnames:["pp"]},pure:{filenames:[],extnames:["pure"]},python:{filenames:[".gclient","BUCK","BUILD","BUILD.bazel","SConscript","SConstruct","Snakefile","WORKSPACE","wscript"],extnames:["py","bzl","cgi","fcgi","gyp","gypi","lmi","py3","pyde","pyi","pyp","pyt","pyw","rpy","spec","tac","wsgi","xpy"]},q:{filenames:[],extnames:["q"]},qore:{filenames:[],extnames:["q","qm","qtest"]},r:{filenames:[".Rprofile","expr-dist"],extnames:["r","rd","rsx"]},jsx:{filenames:[],extnames:["jsx"]},toml:{filenames:[],extnames:["toml"]},tsx:{filenames:[],extnames:["tsx"]},renpy:{filenames:[],extnames:["rpy"]},reason:{filenames:[],extnames:["re","rei"]},rest:{filenames:[],extnames:["rst","rest"]},rip:{filenames:[],extnames:["rip"]},ruby:{filenames:[".irbrc",".pryrc","Appraisals","Berksfile","Brewfile","Buildfile","Capfile","Dangerfile","Deliverfile","Fastfile","Gemfile","Gemfile.lock","Guardfile","Jarfile","Mavenfile","Podfile","Puppetfile","Rakefile","Snapfile","Thorfile","Vagrantfile","buildfile"],extnames:["rb","builder","eye","fcgi","gemspec","god","jbuilder","mspec","pluginspec","podspec","rabl","rake","rbuild","rbw","rbx","ru","ruby","spec","thor","watchr"]},rust:{filenames:[],extnames:["rs"]},sas:{filenames:[],extnames:["sas"]},sass:{filenames:[],extnames:["sass"]},scss:{filenames:[],extnames:["scss"]},scala:{filenames:[],extnames:["scala","kojo","sbt","sc"]},scheme:{filenames:[],extnames:["scm","sch","sld","sls","sps","ss"]},smalltalk:{filenames:[],extnames:["st","cs"]},smarty:{filenames:[],extnames:["tpl"]},sql:{filenames:[],extnames:["sql","cql","ddl","inc","mysql","prc","tab","udf","viw"]},soy:{filenames:[],extnames:["soy"]},stylus:{filenames:[],extnames:["styl"]},swift:{filenames:[],extnames:["swift"]},tcl:{filenames:["owh","starfield"],extnames:["tcl","adp","tm"]},textile:{filenames:[],extnames:["textile"]},tt2:{filenames:[],extnames:["pm"]},twig:{filenames:[],extnames:["twig"]},typescript:{filenames:[],extnames:["ts"]},velocity:{filenames:[],extnames:["vm"]},verilog:{filenames:[],extnames:["v","veo"]},vhdl:{filenames:[],extnames:["vhdl","vhd","vhf","vhi","vho","vhs","vht","vhw"]},vim:{filenames:[".gvimrc",".nvimrc",".vimrc","_vimrc","gvimrc","nvimrc","vimrc"],extnames:["vim"]},"visual-basic":{filenames:[],extnames:["vb","bas","cls","frm","frx","vba","vbhtml","vbs"]},wasm:{filenames:[],extnames:["wast","wat"]},xojo:{filenames:[],extnames:["xojo_code","xojo_menu","xojo_report","xojo_script","xojo_toolbar","xojo_window"]},xquery:{filenames:[],extnames:["xquery","xq","xql","xqm","xqy"]},yaml:{filenames:[".clang-format",".clang-tidy",".gemrc","glide.lock"],extnames:["yml","mir","reek","rviz","sublime-syntax","syntax","yaml","yaml-tmlanguage"]}};Object.entries(m).reduce((e,a)=>{let[s,t]=a;return{...e,[s.toLocaleLowerCase()]:t}},{});let o=e=>{let a={},s={};for(let[e,t]of Object.entries(c)){for(let s of t.filenames)(0,n.Z)(a,s)||(a[s]=[]),a[s].push(e);for(let a of t.extnames)(0,n.Z)(s,a)||(s[a]=[]),s[a].push(e)}return[].concat(a[l().basename(e)],s[l().extname(e).substring(1)]).filter(Boolean)},f=(e,a)=>{let s=()=>(0,i.Z)(a)?"Other":a;if(!e)return s();let t=Object.values(r.SQ).map(e=>e.toLocaleLowerCase()).indexOf(e.toLocaleLowerCase());if(-1===t)return s();let l=Object.keys(r.SQ)[t];return({csharp:"C#",cpp:"C++",javascript:"JavaScript",typescript:"TypeScript"})[l.toLocaleLowerCase()]||l}}},function(e){e.O(0,[8415,7565,7430,55,7812,4007,4752,3449,8511,2287,1002,6805,4546,1889,3752,803,8009,7288,1565,3240,4017,3375,5289,1744],function(){return e(e.s=31800)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/mail/page-b88c7843415c6b1b.js b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/mail/page-79d1bc9820509aaf.js similarity index 67% rename from ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/mail/page-b88c7843415c6b1b.js rename to ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/mail/page-79d1bc9820509aaf.js index ce29d58d0afe..be2b1e72ff21 100644 --- a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/mail/page-b88c7843415c6b1b.js +++ b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/mail/page-79d1bc9820509aaf.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[951],{19866:function(e,t,r){Promise.resolve().then(r.bind(r,86921))},86921:function(e,t,r){"use strict";r.r(t),r.d(t,{Mail:function(){return E}});var n=r(36164),s=r(3546),a=r(43240),i=r(11634),l=r(90379),o=r(73051);let c=e=>{let{className:t}=e;return(0,n.jsx)(o.b,{className:t,children:"Configuring SMTP information will enable users to receive database reports via email, such as slow query weekly reports."})};var u=r(84381),d=r(94909),m=r(5493),f=r(2578),x=r(23782),p=r(18500),j=r(73460),h=r(31458),y=r(98150),b=r(82394),v=r(54594);let N=(0,a.BX)("\n mutation updateEmailSetting($input: EmailSettingInput!) {\n updateEmailSetting(input: $input)\n }\n"),g=(0,a.BX)("\n mutation deleteEmailSetting {\n deleteEmailSetting\n }\n"),w=x.Ry({smtpUsername:x.Z_(),smtpPassword:x.Z_(),smtpServer:x.Z_(),smtpPort:x.oQ.number({invalid_type_error:"Invalid port",required_error:"Required"}),fromAddress:x.Z_(),encryption:x.jb(p.dW),authMethod:x.jb(p.Hi)}),Z=s.forwardRef((e,t)=>{let{isNew:r,onSuccess:a,onDelete:l,defaultValues:o}=e,c=s.useMemo(()=>({encryption:p.dW.None,authMethod:p.Hi.None,...o||{}}),[o]),x=(0,m.cI)({resolver:(0,u.F)(w),defaultValues:c}),Z=!(0,d.Z)(x.formState.dirtyFields),[S,I]=s.useState(!1),_=(0,i.Db)(N,{form:x,onCompleted(e){(null==e?void 0:e.updateEmailSetting)&&(null==a||a(),f.A.success("Email configuration is updated."))}}),C=(0,i.Db)(g,{onCompleted(e){(null==e?void 0:e.deleteEmailSetting)&&(null==l||l())},onError(e){f.A.error(e.message)}}),O=async e=>{e.preventDefault(),await C()},A=async e=>{await _({input:{...e,smtpPassword:e.smtpPassword!==(null==o?void 0:o.smtpPassword)?e.smtpPassword:void 0}})};return s.useImperativeHandle(t,()=>({form:x}),[x]),(0,n.jsx)(y.l0,{...x,children:(0,n.jsxs)("div",{className:"grid gap-2",children:[(0,n.jsxs)("form",{className:"grid gap-6",onSubmit:x.handleSubmit(A),children:[(0,n.jsxs)("div",{className:"flex flex-col gap-6 lg:flex-row",children:[(0,n.jsx)(y.Wi,{control:x.control,name:"smtpServer",render:e=>{let{field:t}=e;return(0,n.jsxs)(y.xJ,{children:[(0,n.jsx)(y.lX,{required:!0,children:"SMTP Server Host"}),(0,n.jsx)(y.NI,{children:(0,n.jsx)(b.I,{placeholder:"e.g. smtp.gmail.com",autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",className:"w-80 min-w-max",...t})}),(0,n.jsx)(y.zG,{})]})}}),(0,n.jsx)(y.Wi,{control:x.control,name:"smtpPort",render:e=>{let{field:t}=e;return(0,n.jsxs)(y.xJ,{children:[(0,n.jsx)(y.lX,{required:!0,children:"SMTP Server Port"}),(0,n.jsx)(y.NI,{children:(0,n.jsx)(b.I,{type:"number",placeholder:"e.g. 25",className:"w-80 min-w-max",...t})}),(0,n.jsx)(y.zG,{})]})}})]}),(0,n.jsx)(y.Wi,{control:x.control,name:"fromAddress",render:e=>{let{field:t}=e;return(0,n.jsxs)(y.xJ,{children:[(0,n.jsx)(y.lX,{required:!0,children:"From"}),(0,n.jsx)(y.NI,{children:(0,n.jsx)(b.I,{placeholder:"e.g. from@gmail.com",autoCapitalize:"none",autoComplete:"email",autoCorrect:"off",className:"w-80 min-w-max",...t})}),(0,n.jsx)(y.zG,{})]})}}),(0,n.jsx)(y.Wi,{control:x.control,name:"authMethod",render:e=>{let{field:t}=e;return(0,n.jsxs)(y.xJ,{children:[(0,n.jsx)(y.lX,{required:!0,children:"Authentication Method"}),(0,n.jsxs)(v.Ph,{onValueChange:t.onChange,defaultValue:t.value,name:t.name,children:[(0,n.jsx)(y.NI,{children:(0,n.jsx)(v.i4,{className:"w-80 min-w-max",children:(0,n.jsx)(v.ki,{placeholder:"Select a method"})})}),(0,n.jsxs)(v.Bw,{children:[(0,n.jsx)(v.Ql,{value:p.Hi.None,children:"NONE"}),(0,n.jsx)(v.Ql,{value:p.Hi.Plain,children:"PLAIN"}),(0,n.jsx)(v.Ql,{value:p.Hi.Login,children:"LOGIN"})]})]}),(0,n.jsx)(y.zG,{})]})}}),(0,n.jsxs)("div",{className:"flex flex-col gap-6 lg:flex-row",children:[(0,n.jsx)(y.Wi,{control:x.control,name:"smtpUsername",render:e=>{let{field:t}=e;return(0,n.jsxs)(y.xJ,{children:[(0,n.jsx)(y.lX,{required:!0,children:"SMTP Username"}),(0,n.jsx)(y.NI,{children:(0,n.jsx)(b.I,{type:"string",placeholder:"e.g. support@yourcompany.com",autoCapitalize:"none",autoCorrect:"off",className:"w-80 min-w-max",...t})}),(0,n.jsx)(y.zG,{})]})}}),(0,n.jsx)(y.Wi,{control:x.control,name:"smtpPassword",render:e=>{let{field:t}=e;return(0,n.jsxs)(y.xJ,{children:[(0,n.jsx)(y.lX,{required:!0,children:"SMTP Password"}),(0,n.jsx)(y.NI,{children:(0,n.jsx)(b.I,{type:"password",autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",className:"w-80 min-w-max",...t})}),(0,n.jsx)(y.zG,{})]})}})]}),(0,n.jsx)(y.Wi,{control:x.control,name:"encryption",render:e=>{let{field:t}=e;return(0,n.jsxs)(y.xJ,{children:[(0,n.jsx)(y.lX,{required:!0,children:"Encryption"}),(0,n.jsxs)(v.Ph,{onValueChange:t.onChange,defaultValue:t.value,name:t.name,children:[(0,n.jsx)(y.NI,{children:(0,n.jsx)(v.i4,{className:"w-80 min-w-max",children:(0,n.jsx)(v.ki,{placeholder:"Select an encryption"})})}),(0,n.jsxs)(v.Bw,{children:[(0,n.jsx)(v.Ql,{value:p.dW.None,children:"NONE"}),(0,n.jsx)(v.Ql,{value:p.dW.SslTls,children:"SSL/TLS"}),(0,n.jsx)(v.Ql,{value:p.dW.StartTls,children:"STARTTLS"})]})]}),(0,n.jsx)(y.zG,{})]})}}),(0,n.jsxs)("div",{className:"flex items-center gap-4",children:[!r&&(0,n.jsxs)(j.aR,{open:S,onOpenChange:I,children:[(0,n.jsx)(j.vW,{asChild:!0,children:(0,n.jsx)(h.z,{variant:"hover-destructive",children:"Delete"})}),(0,n.jsxs)(j._T,{children:[(0,n.jsxs)(j.fY,{children:[(0,n.jsx)(j.f$,{children:"Are you absolutely sure?"}),(0,n.jsx)(j.yT,{children:"This action cannot be undone. It will permanently delete the current setting."})]}),(0,n.jsxs)(j.xo,{children:[(0,n.jsx)(j.le,{children:"Cancel"}),(0,n.jsx)(j.OL,{className:(0,h.d)({variant:"destructive"}),onClick:O,children:"Yes, delete it"})]})]})]}),(0,n.jsx)(h.z,{type:"submit",disabled:!r&&!Z,children:r?"Create":"Update"})]})]}),(0,n.jsx)(y.zG,{className:"text-center"})]})})});Z.displayName="MailForm";var S=r(21808),I=r(75561),_=r(81565),C=r(5266);let O=(0,I.B)("\n mutation SendTestEmail($to: String!) {\n sendTestEmail(to: $to)\n }\n"),A=x.Ry({to:x.Z_().email("Invalid email address")});function T(e){let{onSuccess:t}=e,r=(0,m.cI)({resolver:(0,u.F)(A)}),{isSubmitting:s}=r.formState,a=(0,i.Db)(O,{form:r});return(0,n.jsx)(y.l0,{...r,children:(0,n.jsxs)("div",{className:"grid gap-2",children:[(0,n.jsxs)("form",{className:"grid gap-4",onSubmit:r.handleSubmit(e=>a(e).then(e=>{var r;(null==e?void 0:null===(r=e.data)||void 0===r?void 0:r.sendTestEmail)&&(f.A.info("A test email has been sent. If your configuration is correct, you should receive an email shortly."),null==t||t())})),children:[(0,n.jsx)(C._,{children:"Send Test Email To"}),(0,n.jsxs)("div",{className:"flex gap-4",children:[(0,n.jsx)(y.Wi,{control:r.control,name:"to",render:e=>{let{field:t}=e;return(0,n.jsxs)(y.xJ,{children:[(0,n.jsx)(y.NI,{children:(0,n.jsx)(b.I,{placeholder:"e.g. ".concat(S.o0),type:"email",autoCapitalize:"none",autoComplete:"email",autoCorrect:"off",className:"w-80",...t})}),(0,n.jsx)(y.zG,{})]})}}),(0,n.jsxs)(h.z,{className:"self-start",type:"submit",disabled:s,children:[s&&(0,n.jsx)(_.IconSpinner,{className:"mr-2 h-4 w-4 animate-spin"}),"Send"]})]})]}),(0,n.jsx)(y.zG,{className:"text-center"})]})})}let P=(0,a.BX)("\n query emailSetting {\n emailSetting {\n smtpUsername\n smtpServer\n fromAddress\n encryption\n authMethod\n smtpPort\n }\n }\n"),R="********************************",E=()=>{var e,t;let[r,a]=s.useState(),[o,u]=s.useState(!1),d=s.useRef(null),m=()=>i.Lp.query(P,{}).toPromise().then(e=>(a(e),u(!0),e)),f=!(null==r?void 0:null===(e=r.data)||void 0===e?void 0:e.emailSetting),x=f?{}:{...null==r?void 0:null===(t=r.data)||void 0===t?void 0:t.emailSetting,smtpPassword:R};return s.useEffect(()=>{m()},[]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(c,{}),o?(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"mb-8 border-b pb-4",children:(0,n.jsx)(Z,{defaultValues:x,isNew:f,onSuccess:()=>{m().then(e=>{var t,r,n;let s=null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.emailSetting;s&&(null===(n=d.current)||void 0===n||null===(r=n.form)||void 0===r||r.reset({...s,smtpPassword:R}))})},onDelete:()=>{u(!1),m()},ref:d})}),(0,n.jsx)(T,{})]}):(0,n.jsx)(l.cg,{})]})}},90379:function(e,t,r){"use strict";r.d(t,{PF:function(){return o},cg:function(){return i},tB:function(){return l}});var n=r(36164),s=r(57288),a=r(3448);let i=e=>{let{className:t,...r}=e;return(0,n.jsxs)("div",{className:(0,s.cn)("space-y-3",t),...r,children:[(0,n.jsx)(a.O,{className:"h-4 w-full"}),(0,n.jsx)(a.O,{className:"h-4 w-full"}),(0,n.jsx)(a.O,{className:"h-4 w-full"}),(0,n.jsx)(a.O,{className:"h-4 w-full"})]})},l=e=>{let{className:t,...r}=e;return(0,n.jsx)(a.O,{className:(0,s.cn)("h-4 w-full",t),...r})},o=e=>{let{className:t,...r}=e;return(0,n.jsxs)("div",{className:(0,s.cn)("flex flex-col gap-3",t),...r,children:[(0,n.jsx)(a.O,{className:"h-4 w-[20%]"}),(0,n.jsx)(a.O,{className:"h-4 w-full"}),(0,n.jsx)(a.O,{className:"h-4 w-[20%]"}),(0,n.jsx)(a.O,{className:"h-4 w-full"})]})}},73051:function(e,t,r){"use strict";r.d(t,{b:function(){return o}});var n=r(36164);r(3546);var s=r(70652),a=r.n(s),i=r(57288),l=r(81565);let o=e=>{let{className:t,externalLink:r,externalLinkText:s="Learn more",children:o}=e;return(0,n.jsx)("div",{className:(0,i.cn)("mb-4 flex items-center gap-4",t),children:(0,n.jsxs)("div",{className:"flex-1 text-sm text-muted-foreground",children:[o,!!r&&(0,n.jsxs)(a(),{className:"ml-2 inline-flex cursor-pointer flex-row items-center text-primary hover:underline",href:r,target:"_blank",children:[s,(0,n.jsx)(l.IconExternalLink,{className:"ml-1"})]})]})})}},73460:function(e,t,r){"use strict";r.d(t,{OL:function(){return h},_T:function(){return m},aR:function(){return o},f$:function(){return p},fY:function(){return f},le:function(){return y},vW:function(){return c},xo:function(){return x},yT:function(){return j}});var n=r(36164),s=r(3546),a=r(28961),i=r(57288),l=r(31458);let o=a.fC,c=a.xz,u=e=>{let{className:t,children:r,...s}=e;return(0,n.jsx)(a.h_,{className:(0,i.cn)(t),...s,children:(0,n.jsx)("div",{className:"fixed inset-0 z-50 flex items-end justify-center sm:items-center",children:r})})};u.displayName=a.h_.displayName;let d=s.forwardRef((e,t)=>{let{className:r,children:s,...l}=e;return(0,n.jsx)(a.aV,{className:(0,i.cn)("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm transition-opacity animate-in fade-in",r),...l,ref:t})});d.displayName=a.aV.displayName;let m=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsxs)(u,{children:[(0,n.jsx)(d,{}),(0,n.jsx)(a.VY,{ref:t,className:(0,i.cn)("fixed z-50 grid w-full max-w-lg scale-100 gap-4 border bg-background p-6 opacity-100 shadow-lg animate-in fade-in-90 slide-in-from-bottom-10 sm:rounded-lg sm:zoom-in-90 sm:slide-in-from-bottom-0 md:w-full",r),...s})]})});m.displayName=a.VY.displayName;let f=e=>{let{className:t,...r}=e;return(0,n.jsx)("div",{className:(0,i.cn)("flex flex-col space-y-2 text-center sm:text-left",t),...r})};f.displayName="AlertDialogHeader";let x=e=>{let{className:t,...r}=e;return(0,n.jsx)("div",{className:(0,i.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...r})};x.displayName="AlertDialogFooter";let p=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.Dx,{ref:t,className:(0,i.cn)("text-lg font-semibold",r),...s})});p.displayName=a.Dx.displayName;let j=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.dk,{ref:t,className:(0,i.cn)("text-sm text-muted-foreground",r),...s})});j.displayName=a.dk.displayName;let h=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.aU,{ref:t,className:(0,i.cn)((0,l.d)(),r),...s})});h.displayName=a.aU.displayName;let y=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.$j,{ref:t,className:(0,i.cn)((0,l.d)({variant:"outline"}),"mt-2 sm:mt-0",r),...s})});y.displayName=a.$j.displayName},98150:function(e,t,r){"use strict";r.d(t,{NI:function(){return j},Wi:function(){return d},l0:function(){return c},lX:function(){return p},pf:function(){return h},xJ:function(){return x},zG:function(){return y}});var n=r(36164),s=r(3546),a=r(74047),i=r(5493),l=r(57288),o=r(5266);let c=i.RV,u=s.createContext({}),d=e=>{let{...t}=e;return(0,n.jsx)(u.Provider,{value:{name:t.name},children:(0,n.jsx)(i.Qr,{...t})})},m=()=>{let e=s.useContext(u),t=s.useContext(f),{getFieldState:r,formState:n}=(0,i.Gc)(),a=e.name||"root",l=r(a,n);if(!n)throw Error("useFormField should be used within ");let{id:o}=t;return{id:o,name:a,formItemId:"".concat(o,"-form-item"),formDescriptionId:"".concat(o,"-form-item-description"),formMessageId:"".concat(o,"-form-item-message"),...l}},f=s.createContext({}),x=s.forwardRef((e,t)=>{let{className:r,...a}=e,i=s.useId();return(0,n.jsx)(f.Provider,{value:{id:i},children:(0,n.jsx)("div",{ref:t,className:(0,l.cn)("space-y-2",r),...a})})});x.displayName="FormItem";let p=s.forwardRef((e,t)=>{let{className:r,required:s,...a}=e,{error:i,formItemId:c}=m();return(0,n.jsx)(o._,{ref:t,className:(0,l.cn)(i&&"text-destructive",s&&'after:ml-0.5 after:text-destructive after:content-["*"]',r),htmlFor:c,...a})});p.displayName="FormLabel";let j=s.forwardRef((e,t)=>{let{...r}=e,{error:s,formItemId:i,formDescriptionId:l,formMessageId:o}=m();return(0,n.jsx)(a.g7,{ref:t,id:i,"aria-describedby":s?"".concat(l," ").concat(o):"".concat(l),"aria-invalid":!!s,...r})});j.displayName="FormControl";let h=s.forwardRef((e,t)=>{let{className:r,...s}=e,{formDescriptionId:a}=m();return(0,n.jsx)("div",{ref:t,id:a,className:(0,l.cn)("text-sm text-muted-foreground",r),...s})});h.displayName="FormDescription";let y=s.forwardRef((e,t)=>{let{className:r,children:s,...a}=e,{error:i,formMessageId:o}=m(),c=i?String(null==i?void 0:i.message):s;return c?(0,n.jsx)("p",{ref:t,id:o,className:(0,l.cn)("text-sm font-medium text-destructive",r),...a,children:c}):null});y.displayName="FormMessage"},82394:function(e,t,r){"use strict";r.d(t,{I:function(){return i}});var n=r(36164),s=r(3546),a=r(57288);let i=s.forwardRef((e,t)=>{let{className:r,type:s,...i}=e;return(0,n.jsx)("input",{type:s,className:(0,a.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...i})});i.displayName="Input"},5266:function(e,t,r){"use strict";r.d(t,{_:function(){return c}});var n=r(36164),s=r(3546),a=r(90893),i=r(14375),l=r(57288);let o=(0,i.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),c=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.f,{ref:t,className:(0,l.cn)(o(),r),...s})});c.displayName=a.f.displayName},54594:function(e,t,r){"use strict";r.d(t,{Bw:function(){return m},DI:function(){return c},Ph:function(){return o},Ql:function(){return x},U$:function(){return p},i4:function(){return d},ki:function(){return u}});var n=r(36164),s=r(3546),a=r(31889),i=r(57288),l=r(81565);let o=a.fC,c=a.ZA,u=a.B4,d=s.forwardRef((e,t)=>{let{className:r,children:s,...o}=e;return(0,n.jsxs)(a.xz,{ref:t,className:(0,i.cn)("flex h-9 w-full items-center justify-between rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",r),...o,children:[s,(0,n.jsx)(a.JO,{asChild:!0,children:(0,n.jsx)(l.IconChevronUpDown,{className:"opacity-50"})})]})});d.displayName=a.xz.displayName;let m=s.forwardRef((e,t)=>{let{className:r,children:s,position:l="popper",...o}=e;return(0,n.jsx)(a.h_,{children:(0,n.jsx)(a.VY,{ref:t,className:(0,i.cn)("relative z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md animate-in fade-in-80","popper"===l&&"translate-y-1",r),position:l,...o,children:(0,n.jsx)(a.l_,{className:(0,i.cn)("p-1","popper"===l&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:s})})})});m.displayName=a.VY.displayName;let f=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.__,{ref:t,className:(0,i.cn)("py-1.5 pl-8 pr-2 text-sm font-semibold",r),...s})});f.displayName=a.__.displayName;let x=s.forwardRef((e,t)=>{let{className:r,children:s,isPlaceHolder:o,...c}=e;return(0,n.jsxs)(a.ck,{ref:t,className:(0,i.cn)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r),...c,children:[!o&&(0,n.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,n.jsx)(a.wU,{children:(0,n.jsx)(l.IconCheck,{className:"h-4 w-4"})})}),(0,n.jsx)(a.eT,{children:s})]})});x.displayName=a.ck.displayName;let p=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.Z0,{ref:t,className:(0,i.cn)("-mx-1 my-1 h-px bg-muted",r),...s})});p.displayName=a.Z0.displayName},3448:function(e,t,r){"use strict";r.d(t,{O:function(){return a}});var n=r(36164),s=r(57288);function a(e){let{className:t,...r}=e;return(0,n.jsx)("div",{className:(0,s.cn)("h-4 animate-pulse rounded-md bg-border",t),...r})}},21808:function(e,t,r){"use strict";r.d(t,{$6:function(){return a},$I:function(){return i},L8:function(){return s},ir:function(){return l},o0:function(){return n},rZ:function(){return o}});let n="name@yourcompany.com",s=20,a={DEMO_AUTO_LOGIN:"_tabby_demo_autologin",SEARCH_INITIAL_MSG:"_tabby_search_initial_msg",SEARCH_INITIAL_CONTEXTS:"_tabby_search_initial_contexts"},i=48,l="NOT_FOUND",o="\n"},70652:function(e,t,r){e.exports=r(54007)},99807:function(e,t,r){"use strict";r.d(t,{T:function(){return i},f:function(){return l}});var n=r(65122),s=r(3546),a=r(72205);let i=(0,s.forwardRef)((e,t)=>(0,s.createElement)(a.WV.span,(0,n.Z)({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),l=i},63563:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(36586),s=(0,r(34659).Z)(Object.keys,Object),a=Object.prototype.hasOwnProperty,i=function(e){if(!(0,n.Z)(e))return s(e);var t=[];for(var r in Object(e))a.call(e,r)&&"constructor"!=r&&t.push(r);return t}},35270:function(e,t){"use strict";t.Z=function(e){return function(t){return e(t)}}},43108:function(e,t,r){"use strict";r.d(t,{Z:function(){return w}});var n=r(47404),s=r(48717),a=(0,n.Z)(s.Z,"DataView"),i=r(98512),l=(0,n.Z)(s.Z,"Promise"),o=r(57390),c=(0,n.Z)(s.Z,"WeakMap"),u=r(17996),d=r(36423),m="[object Map]",f="[object Promise]",x="[object Set]",p="[object WeakMap]",j="[object DataView]",h=(0,d.Z)(a),y=(0,d.Z)(i.Z),b=(0,d.Z)(l),v=(0,d.Z)(o.Z),N=(0,d.Z)(c),g=u.Z;(a&&g(new a(new ArrayBuffer(1)))!=j||i.Z&&g(new i.Z)!=m||l&&g(l.resolve())!=f||o.Z&&g(new o.Z)!=x||c&&g(new c)!=p)&&(g=function(e){var t=(0,u.Z)(e),r="[object Object]"==t?e.constructor:void 0,n=r?(0,d.Z)(r):"";if(n)switch(n){case h:return j;case y:return m;case b:return f;case v:return x;case N:return p}return t});var w=g},36586:function(e,t){"use strict";var r=Object.prototype;t.Z=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}},20697:function(e,t,r){"use strict";var n=r(64380),s="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=s&&"object"==typeof module&&module&&!module.nodeType&&module,i=a&&a.exports===s&&n.Z.process,l=function(){try{var e=a&&a.require&&a.require("util").types;if(e)return e;return i&&i.binding&&i.binding("util")}catch(e){}}();t.Z=l},34659:function(e,t){"use strict";t.Z=function(e,t){return function(r){return e(t(r))}}},97589:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(17996),s=r(96786),a=function(e){return(0,s.Z)(e)&&"[object Arguments]"==(0,n.Z)(e)},i=Object.prototype,l=i.hasOwnProperty,o=i.propertyIsEnumerable,c=a(function(){return arguments}())?a:function(e){return(0,s.Z)(e)&&l.call(e,"callee")&&!o.call(e,"callee")}},38813:function(e,t){"use strict";var r=Array.isArray;t.Z=r},20568:function(e,t,r){"use strict";var n=r(11146),s=r(69006);t.Z=function(e){return null!=e&&(0,s.Z)(e.length)&&!(0,n.Z)(e)}},90328:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(48717),s="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=s&&"object"==typeof module&&module&&!module.nodeType&&module,i=a&&a.exports===s?n.Z.Buffer:void 0,l=(i?i.isBuffer:void 0)||function(){return!1}},94909:function(e,t,r){"use strict";var n=r(63563),s=r(43108),a=r(97589),i=r(38813),l=r(20568),o=r(90328),c=r(36586),u=r(33321),d=Object.prototype.hasOwnProperty;t.Z=function(e){if(null==e)return!0;if((0,l.Z)(e)&&((0,i.Z)(e)||"string"==typeof e||"function"==typeof e.splice||(0,o.Z)(e)||(0,u.Z)(e)||(0,a.Z)(e)))return!e.length;var t=(0,s.Z)(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if((0,c.Z)(e))return!(0,n.Z)(e).length;for(var r in e)if(d.call(e,r))return!1;return!0}},69006:function(e,t){"use strict";t.Z=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},33321:function(e,t,r){"use strict";r.d(t,{Z:function(){return u}});var n=r(17996),s=r(69006),a=r(96786),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1;var l=r(35270),o=r(20697),c=o.Z&&o.Z.isTypedArray,u=c?(0,l.Z)(c):function(e){return(0,a.Z)(e)&&(0,s.Z)(e.length)&&!!i[(0,n.Z)(e)]}}},function(e){e.O(0,[8415,7430,55,7812,4007,9643,4752,2578,8511,240,2287,8961,1889,7288,1565,3240,4656,3375,5289,1744],function(){return e(e.s=19866)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[951],{19866:function(e,t,r){Promise.resolve().then(r.bind(r,86921))},86921:function(e,t,r){"use strict";r.r(t),r.d(t,{Mail:function(){return z}});var n=r(36164),s=r(3546),a=r(43240),i=r(11634),l=r(90379),o=r(73051);let c=e=>{let{className:t}=e;return(0,n.jsx)(o.b,{className:t,children:"Configuring SMTP information will enable users to receive database reports via email, such as slow query weekly reports."})};var u=r(84381),d=r(94909),m=r(5493),f=r(2578),x=r(23782),p=r(18500),j=r(73460),h=r(31458),y=r(98150),v=r(82394),b=r(54594);let N=(0,a.BX)("\n mutation updateEmailSetting($input: EmailSettingInput!) {\n updateEmailSetting(input: $input)\n }\n"),g=(0,a.BX)("\n mutation deleteEmailSetting {\n deleteEmailSetting\n }\n"),w=x.Ry({smtpUsername:x.Z_(),smtpPassword:x.Z_(),smtpServer:x.Z_(),smtpPort:x.oQ.number({invalid_type_error:"Invalid port",required_error:"Required"}),fromAddress:x.Z_(),encryption:x.jb(p.dW),authMethod:x.jb(p.Hi)}),Z=s.forwardRef((e,t)=>{let{isNew:r,onSuccess:a,onDelete:l,defaultValues:o}=e,c=s.useMemo(()=>({encryption:p.dW.None,authMethod:p.Hi.None,...o||{}}),[o]),x=(0,m.cI)({resolver:(0,u.F)(w),defaultValues:c}),Z=!(0,d.Z)(x.formState.dirtyFields),[S,I]=s.useState(!1),C=(0,i.Db)(N,{form:x,onCompleted(e){(null==e?void 0:e.updateEmailSetting)&&(null==a||a(),f.A.success("Email configuration is updated."))}}),O=(0,i.Db)(g,{onCompleted(e){(null==e?void 0:e.deleteEmailSetting)&&(null==l||l())},onError(e){f.A.error(e.message)}}),_=async e=>{e.preventDefault(),await O()},P=async e=>{await C({input:{...e,smtpPassword:e.smtpPassword!==(null==o?void 0:o.smtpPassword)?e.smtpPassword:void 0}})};return s.useImperativeHandle(t,()=>({form:x}),[x]),(0,n.jsx)(y.l0,{...x,children:(0,n.jsxs)("div",{className:"grid gap-2",children:[(0,n.jsxs)("form",{className:"grid gap-6",onSubmit:x.handleSubmit(P),children:[(0,n.jsxs)("div",{className:"flex flex-col gap-6 lg:flex-row",children:[(0,n.jsx)(y.Wi,{control:x.control,name:"smtpServer",render:e=>{let{field:t}=e;return(0,n.jsxs)(y.xJ,{children:[(0,n.jsx)(y.lX,{required:!0,children:"SMTP Server Host"}),(0,n.jsx)(y.NI,{children:(0,n.jsx)(v.I,{placeholder:"e.g. smtp.gmail.com",autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",className:"w-80 min-w-max",...t})}),(0,n.jsx)(y.zG,{})]})}}),(0,n.jsx)(y.Wi,{control:x.control,name:"smtpPort",render:e=>{let{field:t}=e;return(0,n.jsxs)(y.xJ,{children:[(0,n.jsx)(y.lX,{required:!0,children:"SMTP Server Port"}),(0,n.jsx)(y.NI,{children:(0,n.jsx)(v.I,{type:"number",placeholder:"e.g. 25",className:"w-80 min-w-max",...t})}),(0,n.jsx)(y.zG,{})]})}})]}),(0,n.jsx)(y.Wi,{control:x.control,name:"fromAddress",render:e=>{let{field:t}=e;return(0,n.jsxs)(y.xJ,{children:[(0,n.jsx)(y.lX,{required:!0,children:"From"}),(0,n.jsx)(y.NI,{children:(0,n.jsx)(v.I,{placeholder:"e.g. from@gmail.com",autoCapitalize:"none",autoComplete:"email",autoCorrect:"off",className:"w-80 min-w-max",...t})}),(0,n.jsx)(y.zG,{})]})}}),(0,n.jsx)(y.Wi,{control:x.control,name:"authMethod",render:e=>{let{field:t}=e;return(0,n.jsxs)(y.xJ,{children:[(0,n.jsx)(y.lX,{required:!0,children:"Authentication Method"}),(0,n.jsxs)(b.Ph,{onValueChange:t.onChange,defaultValue:t.value,name:t.name,children:[(0,n.jsx)(y.NI,{children:(0,n.jsx)(b.i4,{className:"w-80 min-w-max",children:(0,n.jsx)(b.ki,{placeholder:"Select a method"})})}),(0,n.jsxs)(b.Bw,{children:[(0,n.jsx)(b.Ql,{value:p.Hi.None,children:"NONE"}),(0,n.jsx)(b.Ql,{value:p.Hi.Plain,children:"PLAIN"}),(0,n.jsx)(b.Ql,{value:p.Hi.Login,children:"LOGIN"})]})]}),(0,n.jsx)(y.zG,{})]})}}),(0,n.jsxs)("div",{className:"flex flex-col gap-6 lg:flex-row",children:[(0,n.jsx)(y.Wi,{control:x.control,name:"smtpUsername",render:e=>{let{field:t}=e;return(0,n.jsxs)(y.xJ,{children:[(0,n.jsx)(y.lX,{required:!0,children:"SMTP Username"}),(0,n.jsx)(y.NI,{children:(0,n.jsx)(v.I,{type:"string",placeholder:"e.g. support@yourcompany.com",autoCapitalize:"none",autoCorrect:"off",className:"w-80 min-w-max",...t})}),(0,n.jsx)(y.zG,{})]})}}),(0,n.jsx)(y.Wi,{control:x.control,name:"smtpPassword",render:e=>{let{field:t}=e;return(0,n.jsxs)(y.xJ,{children:[(0,n.jsx)(y.lX,{required:!0,children:"SMTP Password"}),(0,n.jsx)(y.NI,{children:(0,n.jsx)(v.I,{type:"password",autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",className:"w-80 min-w-max",...t})}),(0,n.jsx)(y.zG,{})]})}})]}),(0,n.jsx)(y.Wi,{control:x.control,name:"encryption",render:e=>{let{field:t}=e;return(0,n.jsxs)(y.xJ,{children:[(0,n.jsx)(y.lX,{required:!0,children:"Encryption"}),(0,n.jsxs)(b.Ph,{onValueChange:t.onChange,defaultValue:t.value,name:t.name,children:[(0,n.jsx)(y.NI,{children:(0,n.jsx)(b.i4,{className:"w-80 min-w-max",children:(0,n.jsx)(b.ki,{placeholder:"Select an encryption"})})}),(0,n.jsxs)(b.Bw,{children:[(0,n.jsx)(b.Ql,{value:p.dW.None,children:"NONE"}),(0,n.jsx)(b.Ql,{value:p.dW.SslTls,children:"SSL/TLS"}),(0,n.jsx)(b.Ql,{value:p.dW.StartTls,children:"STARTTLS"})]})]}),(0,n.jsx)(y.zG,{})]})}}),(0,n.jsxs)("div",{className:"flex items-center gap-4",children:[!r&&(0,n.jsxs)(j.aR,{open:S,onOpenChange:I,children:[(0,n.jsx)(j.vW,{asChild:!0,children:(0,n.jsx)(h.z,{variant:"hover-destructive",children:"Delete"})}),(0,n.jsxs)(j._T,{children:[(0,n.jsxs)(j.fY,{children:[(0,n.jsx)(j.f$,{children:"Are you absolutely sure?"}),(0,n.jsx)(j.yT,{children:"This action cannot be undone. It will permanently delete the current setting."})]}),(0,n.jsxs)(j.xo,{children:[(0,n.jsx)(j.le,{children:"Cancel"}),(0,n.jsx)(j.OL,{className:(0,h.d)({variant:"destructive"}),onClick:_,children:"Yes, delete it"})]})]})]}),(0,n.jsx)(h.z,{type:"submit",disabled:!r&&!Z,children:r?"Create":"Update"})]})]}),(0,n.jsx)(y.zG,{className:"text-center"})]})})});Z.displayName="MailForm";var S=r(21808),I=r(75561),C=r(81565),O=r(5266);let _=(0,I.B)("\n mutation SendTestEmail($to: String!) {\n sendTestEmail(to: $to)\n }\n"),P=x.Ry({to:x.Z_().email("Invalid email address")});function A(e){let{onSuccess:t}=e,r=(0,m.cI)({resolver:(0,u.F)(P)}),{isSubmitting:s}=r.formState,a=(0,i.Db)(_,{form:r});return(0,n.jsx)(y.l0,{...r,children:(0,n.jsxs)("div",{className:"grid gap-2",children:[(0,n.jsxs)("form",{className:"grid gap-4",onSubmit:r.handleSubmit(e=>a(e).then(e=>{var r;(null==e?void 0:null===(r=e.data)||void 0===r?void 0:r.sendTestEmail)&&(f.A.info("A test email has been sent. If your configuration is correct, you should receive an email shortly."),null==t||t())})),children:[(0,n.jsx)(O._,{children:"Send Test Email To"}),(0,n.jsxs)("div",{className:"flex gap-4",children:[(0,n.jsx)(y.Wi,{control:r.control,name:"to",render:e=>{let{field:t}=e;return(0,n.jsxs)(y.xJ,{children:[(0,n.jsx)(y.NI,{children:(0,n.jsx)(v.I,{placeholder:"e.g. ".concat(S.o0),type:"email",autoCapitalize:"none",autoComplete:"email",autoCorrect:"off",className:"w-80",...t})}),(0,n.jsx)(y.zG,{})]})}}),(0,n.jsxs)(h.z,{className:"self-start",type:"submit",disabled:s,children:[s&&(0,n.jsx)(C.IconSpinner,{className:"mr-2 h-4 w-4 animate-spin"}),"Send"]})]})]}),(0,n.jsx)(y.zG,{className:"text-center"})]})})}let T=(0,a.BX)("\n query emailSetting {\n emailSetting {\n smtpUsername\n smtpServer\n fromAddress\n encryption\n authMethod\n smtpPort\n }\n }\n"),R="********************************",z=()=>{var e,t;let[r,a]=s.useState(),[o,u]=s.useState(!1),d=s.useRef(null),m=()=>i.Lp.query(T,{}).toPromise().then(e=>(a(e),u(!0),e)),f=!(null==r?void 0:null===(e=r.data)||void 0===e?void 0:e.emailSetting),x=f?{}:{...null==r?void 0:null===(t=r.data)||void 0===t?void 0:t.emailSetting,smtpPassword:R};return s.useEffect(()=>{m()},[]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(c,{}),o?(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"mb-8 border-b pb-4",children:(0,n.jsx)(Z,{defaultValues:x,isNew:f,onSuccess:()=>{m().then(e=>{var t,r,n;let s=null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.emailSetting;s&&(null===(n=d.current)||void 0===n||null===(r=n.form)||void 0===r||r.reset({...s,smtpPassword:R}))})},onDelete:()=>{u(!1),m()},ref:d})}),(0,n.jsx)(A,{})]}):(0,n.jsx)(l.cg,{})]})}},90379:function(e,t,r){"use strict";r.d(t,{PF:function(){return o},cg:function(){return i},tB:function(){return l}});var n=r(36164),s=r(57288),a=r(3448);let i=e=>{let{className:t,...r}=e;return(0,n.jsxs)("div",{className:(0,s.cn)("space-y-3",t),...r,children:[(0,n.jsx)(a.O,{className:"h-4 w-full"}),(0,n.jsx)(a.O,{className:"h-4 w-full"}),(0,n.jsx)(a.O,{className:"h-4 w-full"}),(0,n.jsx)(a.O,{className:"h-4 w-full"})]})},l=e=>{let{className:t,...r}=e;return(0,n.jsx)(a.O,{className:(0,s.cn)("h-4 w-full",t),...r})},o=e=>{let{className:t,...r}=e;return(0,n.jsxs)("div",{className:(0,s.cn)("flex flex-col gap-3",t),...r,children:[(0,n.jsx)(a.O,{className:"h-4 w-[20%]"}),(0,n.jsx)(a.O,{className:"h-4 w-full"}),(0,n.jsx)(a.O,{className:"h-4 w-[20%]"}),(0,n.jsx)(a.O,{className:"h-4 w-full"})]})}},73051:function(e,t,r){"use strict";r.d(t,{b:function(){return o}});var n=r(36164);r(3546);var s=r(70652),a=r.n(s),i=r(57288),l=r(81565);let o=e=>{let{className:t,externalLink:r,externalLinkText:s="Learn more",children:o}=e;return(0,n.jsx)("div",{className:(0,i.cn)("mb-4 flex items-center gap-4",t),children:(0,n.jsxs)("div",{className:"flex-1 text-sm text-muted-foreground",children:[o,!!r&&(0,n.jsxs)(a(),{className:"ml-2 inline-flex cursor-pointer flex-row items-center text-primary hover:underline",href:r,target:"_blank",children:[s,(0,n.jsx)(l.IconExternalLink,{className:"ml-1"})]})]})})}},73460:function(e,t,r){"use strict";r.d(t,{OL:function(){return h},_T:function(){return m},aR:function(){return o},f$:function(){return p},fY:function(){return f},le:function(){return y},vW:function(){return c},xo:function(){return x},yT:function(){return j}});var n=r(36164),s=r(3546),a=r(28961),i=r(57288),l=r(31458);let o=a.fC,c=a.xz,u=e=>{let{className:t,children:r,...s}=e;return(0,n.jsx)(a.h_,{className:(0,i.cn)(t),...s,children:(0,n.jsx)("div",{className:"fixed inset-0 z-50 flex items-end justify-center sm:items-center",children:r})})};u.displayName=a.h_.displayName;let d=s.forwardRef((e,t)=>{let{className:r,children:s,...l}=e;return(0,n.jsx)(a.aV,{className:(0,i.cn)("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm transition-opacity animate-in fade-in",r),...l,ref:t})});d.displayName=a.aV.displayName;let m=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsxs)(u,{children:[(0,n.jsx)(d,{}),(0,n.jsx)(a.VY,{ref:t,className:(0,i.cn)("fixed z-50 grid w-full max-w-lg scale-100 gap-4 border bg-background p-6 opacity-100 shadow-lg animate-in fade-in-90 slide-in-from-bottom-10 sm:rounded-lg sm:zoom-in-90 sm:slide-in-from-bottom-0 md:w-full",r),...s})]})});m.displayName=a.VY.displayName;let f=e=>{let{className:t,...r}=e;return(0,n.jsx)("div",{className:(0,i.cn)("flex flex-col space-y-2 text-center sm:text-left",t),...r})};f.displayName="AlertDialogHeader";let x=e=>{let{className:t,...r}=e;return(0,n.jsx)("div",{className:(0,i.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...r})};x.displayName="AlertDialogFooter";let p=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.Dx,{ref:t,className:(0,i.cn)("text-lg font-semibold",r),...s})});p.displayName=a.Dx.displayName;let j=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.dk,{ref:t,className:(0,i.cn)("text-sm text-muted-foreground",r),...s})});j.displayName=a.dk.displayName;let h=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.aU,{ref:t,className:(0,i.cn)((0,l.d)(),r),...s})});h.displayName=a.aU.displayName;let y=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.$j,{ref:t,className:(0,i.cn)((0,l.d)({variant:"outline"}),"mt-2 sm:mt-0",r),...s})});y.displayName=a.$j.displayName},98150:function(e,t,r){"use strict";r.d(t,{NI:function(){return j},Wi:function(){return d},l0:function(){return c},lX:function(){return p},pf:function(){return h},xJ:function(){return x},zG:function(){return y}});var n=r(36164),s=r(3546),a=r(74047),i=r(5493),l=r(57288),o=r(5266);let c=i.RV,u=s.createContext({}),d=e=>{let{...t}=e;return(0,n.jsx)(u.Provider,{value:{name:t.name},children:(0,n.jsx)(i.Qr,{...t})})},m=()=>{let e=s.useContext(u),t=s.useContext(f),{getFieldState:r,formState:n}=(0,i.Gc)(),a=e.name||"root",l=r(a,n);if(!n)throw Error("useFormField should be used within ");let{id:o}=t;return{id:o,name:a,formItemId:"".concat(o,"-form-item"),formDescriptionId:"".concat(o,"-form-item-description"),formMessageId:"".concat(o,"-form-item-message"),...l}},f=s.createContext({}),x=s.forwardRef((e,t)=>{let{className:r,...a}=e,i=s.useId();return(0,n.jsx)(f.Provider,{value:{id:i},children:(0,n.jsx)("div",{ref:t,className:(0,l.cn)("space-y-2",r),...a})})});x.displayName="FormItem";let p=s.forwardRef((e,t)=>{let{className:r,required:s,...a}=e,{error:i,formItemId:c}=m();return(0,n.jsx)(o._,{ref:t,className:(0,l.cn)(i&&"text-destructive",s&&'after:ml-0.5 after:text-destructive after:content-["*"]',r),htmlFor:c,...a})});p.displayName="FormLabel";let j=s.forwardRef((e,t)=>{let{...r}=e,{error:s,formItemId:i,formDescriptionId:l,formMessageId:o}=m();return(0,n.jsx)(a.g7,{ref:t,id:i,"aria-describedby":s?"".concat(l," ").concat(o):"".concat(l),"aria-invalid":!!s,...r})});j.displayName="FormControl";let h=s.forwardRef((e,t)=>{let{className:r,...s}=e,{formDescriptionId:a}=m();return(0,n.jsx)("div",{ref:t,id:a,className:(0,l.cn)("text-sm text-muted-foreground",r),...s})});h.displayName="FormDescription";let y=s.forwardRef((e,t)=>{let{className:r,children:s,...a}=e,{error:i,formMessageId:o}=m(),c=i?String(null==i?void 0:i.message):s;return c?(0,n.jsx)("p",{ref:t,id:o,className:(0,l.cn)("text-sm font-medium text-destructive",r),...a,children:c}):null});y.displayName="FormMessage"},82394:function(e,t,r){"use strict";r.d(t,{I:function(){return i}});var n=r(36164),s=r(3546),a=r(57288);let i=s.forwardRef((e,t)=>{let{className:r,type:s,...i}=e;return(0,n.jsx)("input",{type:s,className:(0,a.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...i})});i.displayName="Input"},5266:function(e,t,r){"use strict";r.d(t,{_:function(){return c}});var n=r(36164),s=r(3546),a=r(90893),i=r(14375),l=r(57288);let o=(0,i.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),c=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.f,{ref:t,className:(0,l.cn)(o(),r),...s})});c.displayName=a.f.displayName},54594:function(e,t,r){"use strict";r.d(t,{Bw:function(){return m},DI:function(){return c},Ph:function(){return o},Ql:function(){return x},U$:function(){return p},i4:function(){return d},ki:function(){return u}});var n=r(36164),s=r(3546),a=r(31889),i=r(57288),l=r(81565);let o=a.fC,c=a.ZA,u=a.B4,d=s.forwardRef((e,t)=>{let{className:r,children:s,...o}=e;return(0,n.jsxs)(a.xz,{ref:t,className:(0,i.cn)("flex h-9 w-full items-center justify-between rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",r),...o,children:[s,(0,n.jsx)(a.JO,{asChild:!0,children:(0,n.jsx)(l.IconChevronUpDown,{className:"opacity-50"})})]})});d.displayName=a.xz.displayName;let m=s.forwardRef((e,t)=>{let{className:r,children:s,position:l="popper",...o}=e;return(0,n.jsx)(a.h_,{children:(0,n.jsx)(a.VY,{ref:t,className:(0,i.cn)("relative z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md animate-in fade-in-80","popper"===l&&"translate-y-1",r),position:l,...o,children:(0,n.jsx)(a.l_,{className:(0,i.cn)("p-1","popper"===l&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:s})})})});m.displayName=a.VY.displayName;let f=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.__,{ref:t,className:(0,i.cn)("py-1.5 pl-8 pr-2 text-sm font-semibold",r),...s})});f.displayName=a.__.displayName;let x=s.forwardRef((e,t)=>{let{className:r,children:s,isPlaceHolder:o,...c}=e;return(0,n.jsxs)(a.ck,{ref:t,className:(0,i.cn)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r),...c,children:[!o&&(0,n.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,n.jsx)(a.wU,{children:(0,n.jsx)(l.IconCheck,{className:"h-4 w-4"})})}),(0,n.jsx)(a.eT,{children:s})]})});x.displayName=a.ck.displayName;let p=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.Z0,{ref:t,className:(0,i.cn)("-mx-1 my-1 h-px bg-muted",r),...s})});p.displayName=a.Z0.displayName},3448:function(e,t,r){"use strict";r.d(t,{O:function(){return a}});var n=r(36164),s=r(57288);function a(e){let{className:t,...r}=e;return(0,n.jsx)("div",{className:(0,s.cn)("h-4 animate-pulse rounded-md bg-border",t),...r})}},21808:function(e,t,r){"use strict";r.d(t,{$6:function(){return a},$I:function(){return i},L8:function(){return s},ir:function(){return l},o0:function(){return n},rZ:function(){return o}});let n="name@yourcompany.com",s=20,a={DEMO_AUTO_LOGIN:"_tabby_demo_autologin"},i=48,l="NOT_FOUND",o="\n"},70652:function(e,t,r){e.exports=r(54007)},54491:function(e,t,r){"use strict";function n(e,[t,r]){return Math.min(r,Math.max(t,e))}r.d(t,{u:function(){return n}})},57541:function(e,t,r){"use strict";r.d(t,{gm:function(){return a}});var n=r(3546);let s=(0,n.createContext)(void 0);function a(e){let t=(0,n.useContext)(s);return e||t||"ltr"}},99807:function(e,t,r){"use strict";r.d(t,{T:function(){return i},f:function(){return l}});var n=r(65122),s=r(3546),a=r(72205);let i=(0,s.forwardRef)((e,t)=>(0,s.createElement)(a.WV.span,(0,n.Z)({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),l=i},63563:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(36586),s=(0,r(34659).Z)(Object.keys,Object),a=Object.prototype.hasOwnProperty,i=function(e){if(!(0,n.Z)(e))return s(e);var t=[];for(var r in Object(e))a.call(e,r)&&"constructor"!=r&&t.push(r);return t}},35270:function(e,t){"use strict";t.Z=function(e){return function(t){return e(t)}}},43108:function(e,t,r){"use strict";r.d(t,{Z:function(){return w}});var n=r(47404),s=r(48717),a=(0,n.Z)(s.Z,"DataView"),i=r(98512),l=(0,n.Z)(s.Z,"Promise"),o=r(57390),c=(0,n.Z)(s.Z,"WeakMap"),u=r(17996),d=r(36423),m="[object Map]",f="[object Promise]",x="[object Set]",p="[object WeakMap]",j="[object DataView]",h=(0,d.Z)(a),y=(0,d.Z)(i.Z),v=(0,d.Z)(l),b=(0,d.Z)(o.Z),N=(0,d.Z)(c),g=u.Z;(a&&g(new a(new ArrayBuffer(1)))!=j||i.Z&&g(new i.Z)!=m||l&&g(l.resolve())!=f||o.Z&&g(new o.Z)!=x||c&&g(new c)!=p)&&(g=function(e){var t=(0,u.Z)(e),r="[object Object]"==t?e.constructor:void 0,n=r?(0,d.Z)(r):"";if(n)switch(n){case h:return j;case y:return m;case v:return f;case b:return x;case N:return p}return t});var w=g},36586:function(e,t){"use strict";var r=Object.prototype;t.Z=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}},20697:function(e,t,r){"use strict";var n=r(64380),s="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=s&&"object"==typeof module&&module&&!module.nodeType&&module,i=a&&a.exports===s&&n.Z.process,l=function(){try{var e=a&&a.require&&a.require("util").types;if(e)return e;return i&&i.binding&&i.binding("util")}catch(e){}}();t.Z=l},34659:function(e,t){"use strict";t.Z=function(e,t){return function(r){return e(t(r))}}},97589:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(17996),s=r(96786),a=function(e){return(0,s.Z)(e)&&"[object Arguments]"==(0,n.Z)(e)},i=Object.prototype,l=i.hasOwnProperty,o=i.propertyIsEnumerable,c=a(function(){return arguments}())?a:function(e){return(0,s.Z)(e)&&l.call(e,"callee")&&!o.call(e,"callee")}},38813:function(e,t){"use strict";var r=Array.isArray;t.Z=r},20568:function(e,t,r){"use strict";var n=r(11146),s=r(69006);t.Z=function(e){return null!=e&&(0,s.Z)(e.length)&&!(0,n.Z)(e)}},90328:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(48717),s="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=s&&"object"==typeof module&&module&&!module.nodeType&&module,i=a&&a.exports===s?n.Z.Buffer:void 0,l=(i?i.isBuffer:void 0)||function(){return!1}},94909:function(e,t,r){"use strict";var n=r(63563),s=r(43108),a=r(97589),i=r(38813),l=r(20568),o=r(90328),c=r(36586),u=r(33321),d=Object.prototype.hasOwnProperty;t.Z=function(e){if(null==e)return!0;if((0,l.Z)(e)&&((0,i.Z)(e)||"string"==typeof e||"function"==typeof e.splice||(0,o.Z)(e)||(0,u.Z)(e)||(0,a.Z)(e)))return!e.length;var t=(0,s.Z)(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if((0,c.Z)(e))return!(0,n.Z)(e).length;for(var r in e)if(d.call(e,r))return!1;return!0}},69006:function(e,t){"use strict";t.Z=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},33321:function(e,t,r){"use strict";r.d(t,{Z:function(){return u}});var n=r(17996),s=r(69006),a=r(96786),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1;var l=r(35270),o=r(20697),c=o.Z&&o.Z.isTypedArray,u=c?(0,l.Z)(c):function(e){return(0,a.Z)(e)&&(0,s.Z)(e.length)&&!!i[(0,n.Z)(e)]}}},function(e){e.O(0,[8415,7430,55,7812,4007,9643,4752,2578,8511,240,2287,8961,1889,7288,1565,3240,4656,3375,5289,1744],function(){return e(e.s=19866)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/detail/page-2a964ef4c1daf3cd.js b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/detail/page-2a964ef4c1daf3cd.js deleted file mode 100644 index e190d176cf5a..000000000000 --- a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/detail/page-2a964ef4c1daf3cd.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9464],{5034:function(e,t,r){Promise.resolve().then(r.bind(r,48973))},85156:function(e,t,r){"use strict";r.d(t,{Kb:function(){return I},fB:function(){return S}});var n=r(36164),s=r(3546),a=r(70652),i=r.n(a),l=r(11978),o=r(84381),d=r(94909),c=r(5493),u=r(2578),f=r(23782),m=r(18500),x=r(57288),h=r(73460),p=r(31458),v=r(98150),j=r(81565),g=r(82394),b=r(39231);let N=f.Ry({displayName:f.Z_().trim(),accessToken:f.Z_(),apiBase:f.Z_().url().optional().nullable()}),y=N.extend({apiBase:f.Z_().url()}),w=N.extend({accessToken:f.Z_().optional()}),C=y.extend({accessToken:f.Z_().optional()});function I(e){var t;let{isNew:r,form:a,onSubmit:i,onDelete:o,cancleable:c=!0,deletable:f}=e,N=(0,b.A)(),y=(0,l.useRouter)(),[w,C]=s.useState(!1),[I,S]=s.useState(!1),{isSubmitting:R,dirtyFields:_}=a.formState,A=!(0,d.Z)(_),G=async e=>{if(e.preventDefault(),o){S(!0);try{await o()}catch(e){u.A.error("Failed to delete GitHub repository provider")}finally{S(!1)}}},z=s.useMemo(()=>{switch(N){case m.q6.Github:return"e.g. GitHub";case m.q6.GithubSelfHosted:return"e.g. GitHub-Self-Hosted";case m.q6.Gitlab:return"e.g. GitLab";case m.q6.GitlabSelfHosted:return"e.g. GitLab-Self-Hosted";default:return""}},[N]),q=s.useMemo(()=>{if(!r)return Array(36).fill("*").join("");switch(N){case m.q6.Github:case m.q6.GithubSelfHosted:return"e.g. github_pat_1ABCD1234ABCD1234ABCD1234ABCD1234ABCD1234";case m.q6.Gitlab:case m.q6.GitlabSelfHosted:return"e.g. glpat_1ABCD1234ABCD1234ABCD1234ABCD1234";default:return""}},[N,r]),D=s.useMemo(()=>{switch(N){case m.q6.GithubSelfHosted:return"e.g. https://api.github.yourcompany.com";case m.q6.GitlabSelfHosted:return"e.g. https://gitlab.yourcompany.com";default:return""}},[N]),Z=[m.q6.GithubSelfHosted,m.q6.GitlabSelfHosted].includes(N);return(0,n.jsx)(v.l0,{...a,children:(0,n.jsx)("div",{className:"grid gap-2",children:(0,n.jsxs)("form",{className:"grid gap-6",onSubmit:a.handleSubmit(i),children:[(0,n.jsx)(v.Wi,{control:a.control,name:"displayName",render:e=>{let{field:t}=e;return(0,n.jsxs)(v.xJ,{children:[(0,n.jsx)(v.lX,{required:!0,children:"Display name"}),(0,n.jsx)(v.pf,{children:"A display name to help identifying different providers."}),(0,n.jsx)(v.NI,{children:(0,n.jsx)(g.I,{placeholder:z,autoCapitalize:"none",autoCorrect:"off",autoComplete:"off",...t})}),(0,n.jsx)(v.zG,{})]})}}),Z&&(0,n.jsx)(v.Wi,{control:a.control,name:"apiBase",render:e=>{let{field:r}=e;return(0,n.jsxs)(v.xJ,{children:[(0,n.jsx)(v.lX,{required:!0,children:"Instance URL"}),(0,n.jsx)(v.pf,{children:"The VCS instance URL. Make sure this instance and Tabby are network reachable from each other."}),(0,n.jsx)(v.NI,{children:(0,n.jsx)(g.I,{placeholder:D,autoCapitalize:"none",autoCorrect:"off",autoComplete:"off",value:null!==(t=r.value)&&void 0!==t?t:"",onChange:e=>r.onChange(e.target.value)})}),(0,n.jsx)(v.zG,{})]})}}),(0,n.jsx)(v.Wi,{control:a.control,name:"accessToken",render:e=>{let{field:t}=e;return(0,n.jsxs)(v.xJ,{children:[(0,n.jsx)(v.lX,{required:r,children:"Personal Access Token"}),(0,n.jsx)(v.pf,{children:(0,n.jsx)(k,{})}),(0,n.jsx)(v.NI,{children:(0,n.jsx)(g.I,{placeholder:q,className:(0,x.cn)({"placeholder:translate-y-[10%] !placeholder-foreground":!r}),autoCapitalize:"none",autoCorrect:"off",autoComplete:"off",...t})}),(0,n.jsx)(v.zG,{})]})}}),(0,n.jsxs)("div",{className:"flex items-center justify-between",children:[(0,n.jsx)("div",{children:(0,n.jsx)(v.zG,{})}),(0,n.jsxs)("div",{className:"flex gap-2",children:[c&&(0,n.jsx)(p.z,{type:"button",variant:"ghost",disabled:R,onClick:()=>y.back(),children:"Cancel"}),f&&(0,n.jsxs)(h.aR,{open:w,onOpenChange:C,children:[(0,n.jsx)(h.vW,{asChild:!0,children:(0,n.jsx)(p.z,{type:"button",variant:"hover-destructive",children:"Delete"})}),(0,n.jsxs)(h._T,{children:[(0,n.jsxs)(h.fY,{children:[(0,n.jsx)(h.f$,{children:"Are you absolutely sure?"}),(0,n.jsx)(h.yT,{children:"This will delete the provider and remove any repositories that have already been added to the provider."})]}),(0,n.jsxs)(h.xo,{children:[(0,n.jsx)(h.le,{children:"Cancel"}),(0,n.jsxs)(h.OL,{className:(0,p.d)({variant:"destructive"}),onClick:G,disabled:I,children:[I&&(0,n.jsx)(j.IconSpinner,{className:"mr-2"}),"Yes, delete it"]})]})]})]}),(0,n.jsxs)(p.z,{type:"submit",disabled:R||!r&&!A,children:[R&&(0,n.jsx)(j.IconSpinner,{className:"mr-2"}),r?"Create":"Update"]})]})]})]})})})}function S(e,t,r){let n=[m.q6.GithubSelfHosted,m.q6.GitlabSelfHosted].includes(t),s=e?n?y:N:n?C:w;return(0,c.cI)({resolver:(0,o.F)(s),defaultValues:r})}function k(){let e=(0,b.A)();return e===m.q6.Github||e===m.q6.GithubSelfHosted?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{children:["Create a dedicated service user and generate a"," ",(0,n.jsx)(R,{href:"https://github.com/settings/personal-access-tokens/new",children:"fine-grained personal access"})," ","token with the member role for the organization or all projects to be managed."]}),(0,n.jsx)("div",{className:"my-2 ml-3",children:"• Contents (Read-only)"}),(0,n.jsx)("div",{className:"my-2 ml-3",children:"• Pull requests (Read-only)"}),(0,n.jsx)("div",{className:"my-2 ml-3",children:"• Issues (Read-only)"})]}):e===m.q6.Gitlab||e===m.q6.GitlabSelfHosted?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{children:["Create a dedicated service user and generate a"," ",(0,n.jsx)(R,{href:"https://gitlab.com/-/user_settings/personal_access_tokens",children:"personal access token"})," ","with the maintainer role and at least following permissions for the group or projects to be managed. You can generate a project access token for managing a single project, or generate a group access token to manage all projects within the group."]}),(0,n.jsx)("div",{className:"my-2 ml-3",children:"• api"})]}):null}function R(e){let{href:t,children:r}=e;return(0,n.jsxs)(i(),{className:"inline-flex cursor-pointer flex-row items-center underline",href:t,target:"_blank",children:[r,(0,n.jsx)(j.IconExternalLink,{className:"ml-1"})]})}},48973:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return M}});var n=r(36164),s=r(3546),a=r(11978),i=r(2578),l=r(40055),o=r(21808),d=r(18500),c=r(24449),u=r(11634),f=r(70410),m=r(63795),x=r(31458),h=r(79972),p=r(30220),v=r(81565),j=r(57830),g=r(99047),b=r(6230),N=r(90379),y=r(40030),w=r(55137),C=r(14522),I=r(39231),S=r(43240);let k=(0,S.BX)("\n mutation UpdateIntegratedRepositoryActive($id: ID!, $active: Boolean!) {\n updateIntegratedRepositoryActive(id: $id, active: $active)\n }\n");var R=r(84381),_=r(5493),A=r(23782),G=r(57288),z=r(36065),q=r(98150),D=r(84942);let Z=A.Ry({id:A.Z_()});function H(e){let{onCreated:t,onCancel:r,repositories:a,providerStatus:i,fetchingRepos:l}=e,[o,c]=s.useState(!1),f=(0,_.cI)({resolver:(0,R.F)(Z)}),m=s.useRef(null),{isSubmitting:h}=f.formState,p=s.useMemo(()=>{switch(i){case d.Ij.Pending:return"Awaiting the next data synchronization";case d.Ij.Failed:return"Synchronizing error. Please check if the access token is still valid";default:return"No repository found"}},[i]),j=(0,u.Db)(k,{form:f}),g=()=>{requestAnimationFrame(()=>{m.current&&(m.current.scrollTop=0)})},b=()=>{g()};return(0,n.jsx)(q.l0,{...f,children:(0,n.jsxs)("div",{className:"grid gap-2",children:[(0,n.jsxs)("form",{className:"grid gap-6",onSubmit:f.handleSubmit(e=>{let r=e.id;return j({id:e.id,active:!0}).then(e=>{var n;(null==e?void 0:null===(n=e.data)||void 0===n?void 0:n.updateIntegratedRepositoryActive)&&(f.reset({id:void 0}),null==t||t(r))})}),children:[(0,n.jsx)(q.Wi,{control:f.control,name:"id",render:e=>{var t,r;let{field:s}=e;return(0,n.jsxs)(q.xJ,{className:"flex flex-col",children:[(0,n.jsxs)(D.J2,{open:o,onOpenChange:c,children:[(0,n.jsx)(D.xo,{asChild:!0,children:(0,n.jsx)(q.NI,{children:(0,n.jsxs)(x.z,{variant:"outline",role:"combobox",className:(0,G.cn)("justify-between font-normal",!s.value&&"text-muted-foreground"),children:[s.value?null==a?void 0:null===(r=a.find(e=>e.node.id===s.value))||void 0===r?void 0:null===(t=r.node)||void 0===t?void 0:t.gitUrl:"Select repository",(0,n.jsx)(v.IconChevronUpDown,{})]})})}),(0,n.jsx)(D.yk,{className:"w-[var(--radix-popover-trigger-width)] p-0",align:"start",side:"bottom",children:(0,n.jsxs)(z.mY,{children:[(0,n.jsx)(z.sZ,{placeholder:"Search repository...",onValueChange:b}),(0,n.jsxs)(z.e8,{className:"max-h-[30vh]",ref:m,children:[(0,n.jsx)(z.rb,{children:l?(0,n.jsx)("div",{className:"flex justify-center",children:(0,n.jsx)(v.IconSpinner,{className:"h-6 w-6"})}):p}),(0,n.jsx)(z.fu,{children:i!==d.Ij.Pending&&(null==a?void 0:a.map(e=>(0,n.jsxs)(z.di,{onSelect:()=>{f.setValue("id",e.node.id),c(!1)},children:[(0,n.jsx)(v.IconCheck,{className:(0,G.cn)("mr-2",e.node.id===s.value?"opacity-100":"opacity-0")}),e.node.gitUrl]},e.node.id)))})]})]})})]}),(0,n.jsx)(q.zG,{})]})}}),(0,n.jsxs)("div",{className:"flex justify-end gap-4",children:[(0,n.jsx)(x.z,{type:"button",variant:"ghost",disabled:h,onClick:r,children:"Cancel"}),(0,n.jsx)(x.z,{type:"submit",disabled:h,children:"Add"})]})]}),(0,n.jsx)(q.zG,{className:"text-center"})]})})}var F=r(85156);let T=(0,S.BX)("\n mutation UpdateIntegration($input: UpdateIntegrationInput!) {\n updateIntegration(input: $input)\n }\n"),P=(0,S.BX)("\n mutation DeleteIntegration($id: ID!, $kind: IntegrationKind!) {\n deleteIntegration(id: $id, kind: $kind)\n }\n"),B=e=>{let{defaultValues:t,onSuccess:r,onDelete:s,onUpdate:a,id:l,kind:o}=e,d=(0,F.fB)(!1,o,t),c=(0,u.Db)(P),f=(0,u.Db)(T,{form:d}),m=async e=>{var t;let n=await f({input:{id:l,...e,kind:o}});(null==n?void 0:null===(t=n.data)||void 0===t?void 0:t.updateIntegration)&&(i.A.success("Updated provider successfully"),null==d||d.reset(null==d?void 0:d.getValues()),null==r||r(),null==a||a())},x=async()=>{var e,t;let r=await c({id:l,kind:o});(null==r?void 0:null===(e=r.data)||void 0===e?void 0:e.deleteIntegration)?null==s||s():i.A.error((null==r?void 0:null===(t=r.error)||void 0===t?void 0:t.message)||"Failed to delete provider")};return(0,n.jsx)(F.Kb,{onSubmit:m,onDelete:x,deletable:!0,cancleable:!1,form:d,isNew:!1})},L=o.L8,U=e=>{var t,r;let{providerStatus:a,providerId:o,kind:d}=e,[m,h]=s.useState(1),[{data:j,fetching:N}]=(0,l.aM)({query:f.gI}),{repositories:I,setRepositories:S,isAllLoaded:R}=function(e,t){let[r,n]=(0,s.useState)({ids:[e],first:L,active:!1,kind:t}),[a,i]=(0,s.useState)([]),[o,d]=(0,s.useState)(!e),[{data:c,fetching:u}]=(0,l.aM)({query:f.ts,variables:r,pause:!e});return(0,s.useEffect)(()=>{if(!o&&!u&&c){var t,r;let s=null==c?void 0:null===(t=c.integratedRepositories)||void 0===t?void 0:t.pageInfo,l=[...a];i(l.concat(null==c?void 0:null===(r=c.integratedRepositories)||void 0===r?void 0:r.edges)),(null==s?void 0:s.hasNextPage)?n({ids:[e],first:L,after:s.endCursor,active:!1}):d(!0)}},[u,c]),{repositories:a,setRepositories:i,isAllLoaded:o}}(o,d),_=e=>u.Lp.query(f.ts,e).toPromise(),A=async(e,t)=>{var r;let n=await _({ids:[o],first:L,after:t,active:!0,kind:d}),s=null==n?void 0:null===(r=n.data)||void 0===r?void 0:r.integratedRepositories,a=null==s?void 0:s.pageInfo;return e-1>0&&(null==a?void 0:a.hasNextPage)&&(null==a?void 0:a.endCursor)?A(e-1,a.endCursor):null==n?void 0:n.data},[G,z]=s.useState(),[q,D]=s.useState(!0),[Z,F]=s.useState([]),T=null==G?void 0:null===(t=G.integratedRepositories)||void 0===t?void 0:t.edges,P=null==G?void 0:null===(r=G.integratedRepositories)||void 0===r?void 0:r.pageInfo,B=(0,u.Db)(k,{onError(e){i.A.error(e.message||"Failed to delete")}}),U=(0,u.Db)(C.C),M=async(e,t)=>{B({id:e.node.id,active:!1}).then(r=>{var n;if(null==r?void 0:null===(n=r.data)||void 0===n?void 0:n.updateIntegratedRepositoryActive){S(Y([...I,e]));let r=t?m-1:m;$(r||1)}})},$=async e=>{try{D(!0);let t=await A(e);z(t),h(e)}catch(e){}finally{D(!1)}},O=(0,c.S)(e=>{F([]),$(e)},3e3),[E,V]=s.useState(!1),Y=e=>(null==e?void 0:e.length)?e.sort((e,t)=>{var r;return null===(r=e.node.displayName)||void 0===r?void 0:r.localeCompare(t.node.displayName)}):e,J=e=>{O.cancel(),F([]),$(e)},K=e=>U({command:e}).then(e=>{var t,r;(null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.triggerJobRun)?(i.A.success("The job has been triggered successfully, it may take a few minutes to process."),J(m)):i.A.error((null==e?void 0:null===(r=e.error)||void 0===r?void 0:r.message)||"Failed to trigger job")});return s.useEffect(()=>($(1),()=>O.cancel()),[]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(b.Z,{loading:q,children:[(0,n.jsxs)(g.iA,{className:"table-fixed",children:[(0,n.jsx)(g.xD,{children:(0,n.jsxs)(g.SC,{children:[(0,n.jsx)(g.ss,{className:"w-[25%]",children:"Name"}),(0,n.jsx)(g.ss,{className:"w-[35%]",children:"URL"}),(0,n.jsx)(g.ss,{className:"w-[140px]",children:"Access"}),(0,n.jsx)(g.ss,{className:"w-[180px]",children:"Job"}),(0,n.jsx)(g.ss,{className:"w-[60px] text-right",children:(0,n.jsx)(x.z,{variant:"outline",size:"icon",className:"shadow-none",onClick:e=>V(!0),children:(0,n.jsx)(v.IconPlus,{})})})]})}),(0,n.jsx)(g.RM,{children:(null==T?void 0:T.length)||(null==Z?void 0:Z.length)?(0,n.jsxs)(n.Fragment,{children:[null==Z?void 0:Z.map(e=>(0,n.jsxs)(g.SC,{className:"!bg-muted/80",children:[(0,n.jsx)(g.pj,{className:"break-all lg:break-words",children:e.node.displayName}),(0,n.jsx)(g.pj,{className:"break-all lg:break-words",children:e.node.gitUrl}),(0,n.jsx)(g.pj,{}),(0,n.jsx)(g.pj,{}),(0,n.jsx)(g.pj,{className:"flex justify-end",children:(0,n.jsx)("div",{className:(0,x.d)({variant:"ghost",size:"icon"}),children:(0,n.jsx)(v.IconSpinner,{})})})]},e.node.id)),null==T?void 0:T.map(e=>(0,n.jsxs)(g.SC,{children:[(0,n.jsx)(g.pj,{className:"break-all lg:break-words",children:e.node.displayName}),(0,n.jsx)(g.pj,{className:"break-all lg:break-words",children:e.node.gitUrl}),(0,n.jsx)(g.pj,{className:"break-all lg:break-words",children:(0,n.jsx)(y.r,{sourceId:e.node.sourceId,sourceName:e.node.displayName,editable:!0,fetchingUserGroups:N,userGroups:null==j?void 0:j.userGroups})}),(0,n.jsx)(g.pj,{children:(0,n.jsx)(w._,{jobInfo:e.node.jobInfo,onTrigger:()=>K(e.node.jobInfo.command)})}),(0,n.jsx)(g.pj,{className:"text-right",children:(0,n.jsx)(x.z,{size:"icon",variant:"hover-destructive",onClick:t=>M(e,(null==T?void 0:T.length)===1),children:(0,n.jsx)(v.IconTrash,{})})})]},e.node.id))]}):(0,n.jsx)(g.SC,{children:(0,n.jsx)(g.pj,{colSpan:5,className:"h-[100px] text-center hover:bg-background",children:(0,n.jsxs)("div",{className:"mt-4 flex flex-col items-center gap-4",children:[(0,n.jsx)("span",{children:"No repositories"}),(0,n.jsxs)(x.z,{onClick:e=>V(!0),className:"gap-1",children:[(0,n.jsx)(v.IconPlus,{}),"Add"]})]})})})})]}),(m>1||(null==P?void 0:P.hasNextPage))&&(0,n.jsxs)("div",{className:"mt-2 flex justify-end",children:[(0,n.jsxs)("div",{className:"flex w-[100px] items-center justify-center text-sm font-medium",children:[" ","Page ",m]}),(0,n.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,n.jsx)(x.z,{variant:"outline",className:"h-8 w-8 p-0",disabled:q||1===m,onClick:e=>{J(m-1)},children:(0,n.jsx)(v.IconChevronLeft,{className:"h-4 w-4"})}),(0,n.jsx)(x.z,{variant:"outline",className:"h-8 w-8 p-0",disabled:q||!(null==P?void 0:P.hasNextPage),onClick:e=>{J(m+1)},children:(0,n.jsx)(v.IconChevronRight,{className:"h-4 w-4"})})]})]})]}),(0,n.jsx)(p.Vq,{open:E,onOpenChange:V,children:(0,n.jsxs)(p.cZ,{className:"top-[20vh]",children:[(0,n.jsxs)(p.fK,{className:"gap-3",children:[(0,n.jsx)(p.$N,{children:"Add new repository"}),(0,n.jsx)(p.Be,{children:"Add new repository from this provider"})]}),(0,n.jsx)(H,{onCancel:()=>V(!1),onCreated:e=>{let t=null==I?void 0:I.find(t=>{var r;return(null==t?void 0:null===(r=t.node)||void 0===r?void 0:r.id)===e});t&&(F([t,...Z]),S(t=>Y(t.filter(t=>t.node.id!==e))),O.run(m)),V(!1)},repositories:I,kind:d,providerStatus:a,fetchingRepos:!R})]})})]})};var M=()=>{var e,t,r,s,i;let o=(0,a.useSearchParams)(),c=(0,I.A)(),u=(0,a.useRouter)(),p=null!==(i=null===(e=o.get("id"))||void 0===e?void 0:e.toString())&&void 0!==i?i:"",[{data:g,fetching:y},w]=(0,l.aM)({query:f.kb,variables:{ids:[p],kind:c},pause:!p||!c}),C=null==g?void 0:null===(s=g.integrations)||void 0===s?void 0:null===(r=s.edges)||void 0===r?void 0:null===(t=r[0])||void 0===t?void 0:t.node;return p&&(!p||y||C)?(0,n.jsxs)(b.Z,{loading:y,children:[(0,n.jsxs)(h.ll,{className:"flex items-center gap-4",children:[(0,n.jsxs)("div",{className:"-ml-2.5 flex items-center",children:[(0,n.jsx)(x.z,{onClick:()=>u.back(),variant:"ghost",className:"h-6 px-1",children:(0,n.jsx)(v.IconChevronLeft,{className:"h-5 w-5"})}),(0,n.jsx)("span",{className:"ml-1",children:null==C?void 0:C.displayName})]}),(0,n.jsx)("div",{className:"flex items-center gap-2 text-base",children:(0,n.jsx)("div",{className:"ml-1",children:C&&function(e){switch(e){case d.Ij.Ready:return(0,n.jsx)(m.C,{variant:"successful",children:"Ready"});case d.Ij.Failed:return(0,n.jsx)(m.C,{variant:"destructive",children:"Error"});case d.Ij.Pending:return(0,n.jsx)(m.C,{children:"Pending"})}}(C.status)})})]}),(0,n.jsx)(h.aY,{className:"mt-8",children:(0,n.jsx)(b.Z,{loading:y,fallback:(0,n.jsx)(N.cg,{}),children:(0,n.jsx)(B,{defaultValues:C,onDelete:()=>{u.back()},onUpdate:()=>{w()},id:p,kind:c})})}),(0,n.jsxs)(j.ScrollArea,{children:[(0,n.jsx)(U,{kind:c,providerStatus:null==C?void 0:C.status,providerId:p}),(0,n.jsx)(j.ScrollBar,{orientation:"horizontal"})]})]}):(0,n.jsx)("div",{className:"flex h-[250px] w-full items-center justify-center rounded-lg border",children:"Provider not found"})}},39231:function(e,t,r){"use strict";r.d(t,{A:function(){return i}});var n=r(11978),s=r(78613),a=r(11529);function i(){let e=(0,n.useParams)(),t=(0,s.Z)(a.K,t=>{var r;return t.name===(null===(r=e.kind)||void 0===r?void 0:r.toLowerCase())}),r=t>-1?a.K[t].enum:a.K[0].enum;return r}},11529:function(e,t,r){"use strict";r.d(t,{K:function(){return s}});var n=r(18500);let s=[{name:"github",enum:n.q6.Github,meta:{displayName:"GitHub"}},{name:"github-self-hosted",enum:n.q6.GithubSelfHosted,meta:{displayName:"GitHub Self-Hosted"}},{name:"gitlab",enum:n.q6.Gitlab,meta:{displayName:"GitLab"}},{name:"gitlab-self-hosted",enum:n.q6.GitlabSelfHosted,meta:{displayName:"GitLab Self-Hosted"}}]},73460:function(e,t,r){"use strict";r.d(t,{OL:function(){return v},_T:function(){return f},aR:function(){return o},f$:function(){return h},fY:function(){return m},le:function(){return j},vW:function(){return d},xo:function(){return x},yT:function(){return p}});var n=r(36164),s=r(3546),a=r(28961),i=r(57288),l=r(31458);let o=a.fC,d=a.xz,c=e=>{let{className:t,children:r,...s}=e;return(0,n.jsx)(a.h_,{className:(0,i.cn)(t),...s,children:(0,n.jsx)("div",{className:"fixed inset-0 z-50 flex items-end justify-center sm:items-center",children:r})})};c.displayName=a.h_.displayName;let u=s.forwardRef((e,t)=>{let{className:r,children:s,...l}=e;return(0,n.jsx)(a.aV,{className:(0,i.cn)("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm transition-opacity animate-in fade-in",r),...l,ref:t})});u.displayName=a.aV.displayName;let f=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsxs)(c,{children:[(0,n.jsx)(u,{}),(0,n.jsx)(a.VY,{ref:t,className:(0,i.cn)("fixed z-50 grid w-full max-w-lg scale-100 gap-4 border bg-background p-6 opacity-100 shadow-lg animate-in fade-in-90 slide-in-from-bottom-10 sm:rounded-lg sm:zoom-in-90 sm:slide-in-from-bottom-0 md:w-full",r),...s})]})});f.displayName=a.VY.displayName;let m=e=>{let{className:t,...r}=e;return(0,n.jsx)("div",{className:(0,i.cn)("flex flex-col space-y-2 text-center sm:text-left",t),...r})};m.displayName="AlertDialogHeader";let x=e=>{let{className:t,...r}=e;return(0,n.jsx)("div",{className:(0,i.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...r})};x.displayName="AlertDialogFooter";let h=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.Dx,{ref:t,className:(0,i.cn)("text-lg font-semibold",r),...s})});h.displayName=a.Dx.displayName;let p=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.dk,{ref:t,className:(0,i.cn)("text-sm text-muted-foreground",r),...s})});p.displayName=a.dk.displayName;let v=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.aU,{ref:t,className:(0,i.cn)((0,l.d)(),r),...s})});v.displayName=a.aU.displayName;let j=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.$j,{ref:t,className:(0,i.cn)((0,l.d)({variant:"outline"}),"mt-2 sm:mt-0",r),...s})});j.displayName=a.$j.displayName},63795:function(e,t,r){"use strict";r.d(t,{C:function(){return l}});var n=r(36164);r(3546);var s=r(14375),a=r(57288);let i=(0,s.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",successful:"border-transparent bg-successful text-successful-foreground hover:bg-successful/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function l(e){let{className:t,variant:r,...s}=e;return(0,n.jsx)("div",{className:(0,a.cn)(i({variant:r}),t),...s})}},79972:function(e,t,r){"use strict";r.d(t,{Ol:function(){return l},Zb:function(){return i},aY:function(){return c},eW:function(){return u},ll:function(){return o}});var n=r(36164),s=r(3546),a=r(57288);let i=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,a.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",r),...s})});i.displayName="Card";let l=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,a.cn)("flex flex-col space-y-1.5 p-6",r),...s})});l.displayName="CardHeader";let o=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("h3",{ref:t,className:(0,a.cn)("text-2xl font-semibold leading-none tracking-tight",r),...s})});o.displayName="CardTitle";let d=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("p",{ref:t,className:(0,a.cn)("text-sm text-muted-foreground",r),...s})});d.displayName="CardDescription";let c=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,a.cn)("p-6 pt-0",r),...s})});c.displayName="CardContent";let u=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,a.cn)("flex items-center p-6 pt-0",r),...s})});u.displayName="CardFooter"},98150:function(e,t,r){"use strict";r.d(t,{NI:function(){return p},Wi:function(){return u},l0:function(){return d},lX:function(){return h},pf:function(){return v},xJ:function(){return x},zG:function(){return j}});var n=r(36164),s=r(3546),a=r(74047),i=r(5493),l=r(57288),o=r(5266);let d=i.RV,c=s.createContext({}),u=e=>{let{...t}=e;return(0,n.jsx)(c.Provider,{value:{name:t.name},children:(0,n.jsx)(i.Qr,{...t})})},f=()=>{let e=s.useContext(c),t=s.useContext(m),{getFieldState:r,formState:n}=(0,i.Gc)(),a=e.name||"root",l=r(a,n);if(!n)throw Error("useFormField should be used within ");let{id:o}=t;return{id:o,name:a,formItemId:"".concat(o,"-form-item"),formDescriptionId:"".concat(o,"-form-item-description"),formMessageId:"".concat(o,"-form-item-message"),...l}},m=s.createContext({}),x=s.forwardRef((e,t)=>{let{className:r,...a}=e,i=s.useId();return(0,n.jsx)(m.Provider,{value:{id:i},children:(0,n.jsx)("div",{ref:t,className:(0,l.cn)("space-y-2",r),...a})})});x.displayName="FormItem";let h=s.forwardRef((e,t)=>{let{className:r,required:s,...a}=e,{error:i,formItemId:d}=f();return(0,n.jsx)(o._,{ref:t,className:(0,l.cn)(i&&"text-destructive",s&&'after:ml-0.5 after:text-destructive after:content-["*"]',r),htmlFor:d,...a})});h.displayName="FormLabel";let p=s.forwardRef((e,t)=>{let{...r}=e,{error:s,formItemId:i,formDescriptionId:l,formMessageId:o}=f();return(0,n.jsx)(a.g7,{ref:t,id:i,"aria-describedby":s?"".concat(l," ").concat(o):"".concat(l),"aria-invalid":!!s,...r})});p.displayName="FormControl";let v=s.forwardRef((e,t)=>{let{className:r,...s}=e,{formDescriptionId:a}=f();return(0,n.jsx)("div",{ref:t,id:a,className:(0,l.cn)("text-sm text-muted-foreground",r),...s})});v.displayName="FormDescription";let j=s.forwardRef((e,t)=>{let{className:r,children:s,...a}=e,{error:i,formMessageId:o}=f(),d=i?String(null==i?void 0:i.message):s;return d?(0,n.jsx)("p",{ref:t,id:o,className:(0,l.cn)("text-sm font-medium text-destructive",r),...a,children:d}):null});j.displayName="FormMessage"},82394:function(e,t,r){"use strict";r.d(t,{I:function(){return i}});var n=r(36164),s=r(3546),a=r(57288);let i=s.forwardRef((e,t)=>{let{className:r,type:s,...i}=e;return(0,n.jsx)("input",{type:s,className:(0,a.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...i})});i.displayName="Input"},5266:function(e,t,r){"use strict";r.d(t,{_:function(){return d}});var n=r(36164),s=r(3546),a=r(90893),i=r(14375),l=r(57288);let o=(0,i.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.f,{ref:t,className:(0,l.cn)(o(),r),...s})});d.displayName=a.f.displayName},57830:function(e,t,r){"use strict";r.r(t),r.d(t,{ScrollArea:function(){return l},ScrollBar:function(){return o}});var n=r(36164),s=r(3546),a=r(50778),i=r(57288);let l=s.forwardRef((e,t)=>{let{className:r,children:s,...l}=e;return(0,n.jsxs)(a.fC,{className:(0,i.cn)("relative overflow-hidden",r),...l,children:[(0,n.jsx)(a.l_,{ref:t,className:"h-full w-full rounded-[inherit] [&>div]:!block",children:s}),(0,n.jsx)(o,{}),(0,n.jsx)(a.Ns,{})]})});l.displayName=a.fC.displayName;let o=s.forwardRef((e,t)=>{let{className:r,orientation:s="vertical",...l}=e;return(0,n.jsx)(a.gb,{ref:t,orientation:s,className:(0,i.cn)("flex touch-none select-none transition-colors","vertical"===s&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===s&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",r),...l,children:(0,n.jsx)(a.q4,{className:"relative flex-1 rounded-full bg-border"})})});o.displayName=a.gb.displayName},21808:function(e,t,r){"use strict";r.d(t,{$6:function(){return a},$I:function(){return i},L8:function(){return s},ir:function(){return l},o0:function(){return n},rZ:function(){return o}});let n="name@yourcompany.com",s=20,a={DEMO_AUTO_LOGIN:"_tabby_demo_autologin",SEARCH_INITIAL_MSG:"_tabby_search_initial_msg",SEARCH_INITIAL_CONTEXTS:"_tabby_search_initial_contexts"},i=48,l="NOT_FOUND",o="\n"},54491:function(e,t,r){"use strict";function n(e,[t,r]){return Math.min(r,Math.max(t,e))}r.d(t,{u:function(){return n}})},57541:function(e,t,r){"use strict";r.d(t,{gm:function(){return a}});var n=r(3546);let s=(0,n.createContext)(void 0);function a(e){let t=(0,n.useContext)(s);return e||t||"ltr"}},78613:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var n=r(96703),s=r(51722),a=r(26165),i=1/0,l=function(e){var t,r=(t=e)?(t=(0,a.Z)(t))===i||t===-i?(t<0?-1:1)*17976931348623157e292:t==t?t:0:0===t?t:0,n=r%1;return r==r?n?r-n:r:0},o=Math.max,d=function(e,t,r){var a=null==e?0:e.length;if(!a)return -1;var i=null==r?0:l(r);return i<0&&(i=o(a+i,0)),(0,n.Z)(e,(0,s.Z)(t,3),i)}},94909:function(e,t,r){"use strict";var n=r(63563),s=r(43108),a=r(97589),i=r(38813),l=r(20568),o=r(90328),d=r(36586),c=r(33321),u=Object.prototype.hasOwnProperty;t.Z=function(e){if(null==e)return!0;if((0,l.Z)(e)&&((0,i.Z)(e)||"string"==typeof e||"function"==typeof e.splice||(0,o.Z)(e)||(0,c.Z)(e)||(0,a.Z)(e)))return!e.length;var t=(0,s.Z)(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if((0,d.Z)(e))return!(0,n.Z)(e).length;for(var r in e)if(u.call(e,r))return!1;return!0}}},function(e){e.O(0,[8415,7565,7430,55,7812,4007,9643,4752,3449,2578,8511,240,2287,4421,7070,5669,8961,6805,4553,7288,1565,3240,4656,2869,3375,5289,1744],function(){return e(e.s=5034)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/detail/page-d4914a1650f426fa.js b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/detail/page-d4914a1650f426fa.js new file mode 100644 index 000000000000..25bd2b74cdbc --- /dev/null +++ b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/detail/page-d4914a1650f426fa.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9464],{5034:function(e,t,r){Promise.resolve().then(r.bind(r,48973))},85156:function(e,t,r){"use strict";r.d(t,{Kb:function(){return I},fB:function(){return k}});var n=r(36164),s=r(3546),a=r(70652),i=r.n(a),l=r(11978),o=r(84381),d=r(94909),c=r(5493),u=r(2578),f=r(23782),m=r(18500),x=r(57288),h=r(73460),p=r(31458),v=r(98150),j=r(81565),g=r(82394),b=r(39231);let N=f.Ry({displayName:f.Z_().trim(),accessToken:f.Z_(),apiBase:f.Z_().url().optional().nullable()}),y=N.extend({apiBase:f.Z_().url()}),w=N.extend({accessToken:f.Z_().optional()}),C=y.extend({accessToken:f.Z_().optional()});function I(e){var t;let{isNew:r,form:a,onSubmit:i,onDelete:o,cancleable:c=!0,deletable:f}=e,N=(0,b.A)(),y=(0,l.useRouter)(),[w,C]=s.useState(!1),[I,k]=s.useState(!1),{isSubmitting:R,dirtyFields:G}=a.formState,A=!(0,d.Z)(G),z=async e=>{if(e.preventDefault(),o){k(!0);try{await o()}catch(e){u.A.error("Failed to delete GitHub repository provider")}finally{k(!1)}}},D=s.useMemo(()=>{switch(N){case m.q6.Github:return"e.g. GitHub";case m.q6.GithubSelfHosted:return"e.g. GitHub-Self-Hosted";case m.q6.Gitlab:return"e.g. GitLab";case m.q6.GitlabSelfHosted:return"e.g. GitLab-Self-Hosted";default:return""}},[N]),_=s.useMemo(()=>{if(!r)return Array(36).fill("*").join("");switch(N){case m.q6.Github:case m.q6.GithubSelfHosted:return"e.g. github_pat_1ABCD1234ABCD1234ABCD1234ABCD1234ABCD1234";case m.q6.Gitlab:case m.q6.GitlabSelfHosted:return"e.g. glpat_1ABCD1234ABCD1234ABCD1234ABCD1234";default:return""}},[N,r]),q=s.useMemo(()=>{switch(N){case m.q6.GithubSelfHosted:return"e.g. https://api.github.yourcompany.com";case m.q6.GitlabSelfHosted:return"e.g. https://gitlab.yourcompany.com";default:return""}},[N]),Z=[m.q6.GithubSelfHosted,m.q6.GitlabSelfHosted].includes(N);return(0,n.jsx)(v.l0,{...a,children:(0,n.jsx)("div",{className:"grid gap-2",children:(0,n.jsxs)("form",{className:"grid gap-6",onSubmit:a.handleSubmit(i),children:[(0,n.jsx)(v.Wi,{control:a.control,name:"displayName",render:e=>{let{field:t}=e;return(0,n.jsxs)(v.xJ,{children:[(0,n.jsx)(v.lX,{required:!0,children:"Display name"}),(0,n.jsx)(v.pf,{children:"A display name to help identifying different providers."}),(0,n.jsx)(v.NI,{children:(0,n.jsx)(g.I,{placeholder:D,autoCapitalize:"none",autoCorrect:"off",autoComplete:"off",...t})}),(0,n.jsx)(v.zG,{})]})}}),Z&&(0,n.jsx)(v.Wi,{control:a.control,name:"apiBase",render:e=>{let{field:r}=e;return(0,n.jsxs)(v.xJ,{children:[(0,n.jsx)(v.lX,{required:!0,children:"Instance URL"}),(0,n.jsx)(v.pf,{children:"The VCS instance URL. Make sure this instance and Tabby are network reachable from each other."}),(0,n.jsx)(v.NI,{children:(0,n.jsx)(g.I,{placeholder:q,autoCapitalize:"none",autoCorrect:"off",autoComplete:"off",value:null!==(t=r.value)&&void 0!==t?t:"",onChange:e=>r.onChange(e.target.value)})}),(0,n.jsx)(v.zG,{})]})}}),(0,n.jsx)(v.Wi,{control:a.control,name:"accessToken",render:e=>{let{field:t}=e;return(0,n.jsxs)(v.xJ,{children:[(0,n.jsx)(v.lX,{required:r,children:"Personal Access Token"}),(0,n.jsx)(v.pf,{children:(0,n.jsx)(S,{})}),(0,n.jsx)(v.NI,{children:(0,n.jsx)(g.I,{placeholder:_,className:(0,x.cn)({"placeholder:translate-y-[10%] !placeholder-foreground":!r}),autoCapitalize:"none",autoCorrect:"off",autoComplete:"off",...t})}),(0,n.jsx)(v.zG,{})]})}}),(0,n.jsxs)("div",{className:"flex items-center justify-between",children:[(0,n.jsx)("div",{children:(0,n.jsx)(v.zG,{})}),(0,n.jsxs)("div",{className:"flex gap-2",children:[c&&(0,n.jsx)(p.z,{type:"button",variant:"ghost",disabled:R,onClick:()=>y.back(),children:"Cancel"}),f&&(0,n.jsxs)(h.aR,{open:w,onOpenChange:C,children:[(0,n.jsx)(h.vW,{asChild:!0,children:(0,n.jsx)(p.z,{type:"button",variant:"hover-destructive",children:"Delete"})}),(0,n.jsxs)(h._T,{children:[(0,n.jsxs)(h.fY,{children:[(0,n.jsx)(h.f$,{children:"Are you absolutely sure?"}),(0,n.jsx)(h.yT,{children:"This will delete the provider and remove any repositories that have already been added to the provider."})]}),(0,n.jsxs)(h.xo,{children:[(0,n.jsx)(h.le,{children:"Cancel"}),(0,n.jsxs)(h.OL,{className:(0,p.d)({variant:"destructive"}),onClick:z,disabled:I,children:[I&&(0,n.jsx)(j.IconSpinner,{className:"mr-2"}),"Yes, delete it"]})]})]})]}),(0,n.jsxs)(p.z,{type:"submit",disabled:R||!r&&!A,children:[R&&(0,n.jsx)(j.IconSpinner,{className:"mr-2"}),r?"Create":"Update"]})]})]})]})})})}function k(e,t,r){let n=[m.q6.GithubSelfHosted,m.q6.GitlabSelfHosted].includes(t),s=e?n?y:N:n?C:w;return(0,c.cI)({resolver:(0,o.F)(s),defaultValues:r})}function S(){let e=(0,b.A)();return e===m.q6.Github||e===m.q6.GithubSelfHosted?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{children:["Create a dedicated service user and generate a"," ",(0,n.jsx)(R,{href:"https://github.com/settings/personal-access-tokens/new",children:"fine-grained personal access"})," ","token with the member role for the organization or all projects to be managed."]}),(0,n.jsx)("div",{className:"my-2 ml-3",children:"• Contents (Read-only)"}),(0,n.jsx)("div",{className:"my-2 ml-3",children:"• Pull requests (Read-only)"}),(0,n.jsx)("div",{className:"my-2 ml-3",children:"• Issues (Read-only)"})]}):e===m.q6.Gitlab||e===m.q6.GitlabSelfHosted?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{children:["Create a dedicated service user and generate a"," ",(0,n.jsx)(R,{href:"https://gitlab.com/-/user_settings/personal_access_tokens",children:"personal access token"})," ","with the maintainer role and at least following permissions for the group or projects to be managed. You can generate a project access token for managing a single project, or generate a group access token to manage all projects within the group."]}),(0,n.jsx)("div",{className:"my-2 ml-3",children:"• api"})]}):null}function R(e){let{href:t,children:r}=e;return(0,n.jsxs)(i(),{className:"inline-flex cursor-pointer flex-row items-center underline",href:t,target:"_blank",children:[r,(0,n.jsx)(j.IconExternalLink,{className:"ml-1"})]})}},48973:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return $}});var n=r(36164),s=r(3546),a=r(11978),i=r(2578),l=r(40055),o=r(21808),d=r(18500),c=r(24449),u=r(11634),f=r(70410),m=r(63795),x=r(31458),h=r(79972),p=r(30220),v=r(81565),j=r(57830),g=r(99047),b=r(6230),N=r(90379),y=r(40030),w=r(55137),C=r(14522),I=r(39231),k=r(43240);let S=(0,k.BX)("\n mutation UpdateIntegratedRepositoryActive($id: ID!, $active: Boolean!) {\n updateIntegratedRepositoryActive(id: $id, active: $active)\n }\n");var R=r(84381),G=r(5493),A=r(23782),z=r(57288),D=r(36065),_=r(98150),q=r(84942);let Z=A.Ry({id:A.Z_()});function F(e){let{onCreated:t,onCancel:r,repositories:a,providerStatus:i,fetchingRepos:l}=e,[o,c]=s.useState(!1),f=(0,G.cI)({resolver:(0,R.F)(Z)}),m=s.useRef(null),{isSubmitting:h}=f.formState,p=s.useMemo(()=>{switch(i){case d.Ij.Pending:return"Awaiting the next data synchronization";case d.Ij.Failed:return"Synchronizing error. Please check if the access token is still valid";default:return"No repository found"}},[i]),j=(0,u.Db)(S,{form:f}),g=()=>{requestAnimationFrame(()=>{m.current&&(m.current.scrollTop=0)})},b=()=>{g()};return(0,n.jsx)(_.l0,{...f,children:(0,n.jsxs)("div",{className:"grid gap-2",children:[(0,n.jsxs)("form",{className:"grid gap-6",onSubmit:f.handleSubmit(e=>{let r=e.id;return j({id:e.id,active:!0}).then(e=>{var n;(null==e?void 0:null===(n=e.data)||void 0===n?void 0:n.updateIntegratedRepositoryActive)&&(f.reset({id:void 0}),null==t||t(r))})}),children:[(0,n.jsx)(_.Wi,{control:f.control,name:"id",render:e=>{var t,r;let{field:s}=e;return(0,n.jsxs)(_.xJ,{className:"flex flex-col",children:[(0,n.jsxs)(q.J2,{open:o,onOpenChange:c,children:[(0,n.jsx)(q.xo,{asChild:!0,children:(0,n.jsx)(_.NI,{children:(0,n.jsxs)(x.z,{variant:"outline",role:"combobox",className:(0,z.cn)("justify-between font-normal",!s.value&&"text-muted-foreground"),children:[s.value?null==a?void 0:null===(r=a.find(e=>e.node.id===s.value))||void 0===r?void 0:null===(t=r.node)||void 0===t?void 0:t.gitUrl:"Select repository",(0,n.jsx)(v.IconChevronUpDown,{})]})})}),(0,n.jsx)(q.yk,{className:"w-[var(--radix-popover-trigger-width)] p-0",align:"start",side:"bottom",children:(0,n.jsxs)(D.mY,{children:[(0,n.jsx)(D.sZ,{placeholder:"Search repository...",onValueChange:b}),(0,n.jsxs)(D.e8,{className:"max-h-[30vh]",ref:m,children:[(0,n.jsx)(D.rb,{children:l?(0,n.jsx)("div",{className:"flex justify-center",children:(0,n.jsx)(v.IconSpinner,{className:"h-6 w-6"})}):p}),(0,n.jsx)(D.fu,{children:i!==d.Ij.Pending&&(null==a?void 0:a.map(e=>(0,n.jsxs)(D.di,{onSelect:()=>{f.setValue("id",e.node.id),c(!1)},children:[(0,n.jsx)(v.IconCheck,{className:(0,z.cn)("mr-2",e.node.id===s.value?"opacity-100":"opacity-0")}),e.node.gitUrl]},e.node.id)))})]})]})})]}),(0,n.jsx)(_.zG,{})]})}}),(0,n.jsxs)("div",{className:"flex justify-end gap-4",children:[(0,n.jsx)(x.z,{type:"button",variant:"ghost",disabled:h,onClick:r,children:"Cancel"}),(0,n.jsx)(x.z,{type:"submit",disabled:h,children:"Add"})]})]}),(0,n.jsx)(_.zG,{className:"text-center"})]})})}var H=r(85156);let P=(0,k.BX)("\n mutation UpdateIntegration($input: UpdateIntegrationInput!) {\n updateIntegration(input: $input)\n }\n"),B=(0,k.BX)("\n mutation DeleteIntegration($id: ID!, $kind: IntegrationKind!) {\n deleteIntegration(id: $id, kind: $kind)\n }\n"),L=e=>{let{defaultValues:t,onSuccess:r,onDelete:s,onUpdate:a,id:l,kind:o}=e,d=(0,H.fB)(!1,o,t),c=(0,u.Db)(B),f=(0,u.Db)(P,{form:d}),m=async e=>{var t;let n=await f({input:{id:l,...e,kind:o}});(null==n?void 0:null===(t=n.data)||void 0===t?void 0:t.updateIntegration)&&(i.A.success("Updated provider successfully"),null==d||d.reset(null==d?void 0:d.getValues()),null==r||r(),null==a||a())},x=async()=>{var e,t;let r=await c({id:l,kind:o});(null==r?void 0:null===(e=r.data)||void 0===e?void 0:e.deleteIntegration)?null==s||s():i.A.error((null==r?void 0:null===(t=r.error)||void 0===t?void 0:t.message)||"Failed to delete provider")};return(0,n.jsx)(H.Kb,{onSubmit:m,onDelete:x,deletable:!0,cancleable:!1,form:d,isNew:!1})},T=o.L8,U=e=>{var t,r;let{providerStatus:a,providerId:o,kind:d}=e,[m,h]=s.useState(1),[{data:N,fetching:I}]=(0,l.aM)({query:f.gI}),{repositories:k,setRepositories:R,isAllLoaded:G}=function(e,t){let[r,n]=(0,s.useState)({ids:[e],first:T,active:!1,kind:t}),[a,i]=(0,s.useState)([]),[o,d]=(0,s.useState)(!e),[{data:c,fetching:u}]=(0,l.aM)({query:f.ts,variables:r,pause:!e});return(0,s.useEffect)(()=>{if(!o&&!u&&c){var t,r;let s=null==c?void 0:null===(t=c.integratedRepositories)||void 0===t?void 0:t.pageInfo,l=[...a];i(l.concat(null==c?void 0:null===(r=c.integratedRepositories)||void 0===r?void 0:r.edges)),(null==s?void 0:s.hasNextPage)?n({ids:[e],first:T,after:s.endCursor,active:!1}):d(!0)}},[u,c]),{repositories:a,setRepositories:i,isAllLoaded:o}}(o,d),A=e=>u.Lp.query(f.ts,e).toPromise(),z=async(e,t)=>{var r;let n=await A({ids:[o],first:T,after:t,active:!0,kind:d}),s=null==n?void 0:null===(r=n.data)||void 0===r?void 0:r.integratedRepositories,a=null==s?void 0:s.pageInfo;return e-1>0&&(null==a?void 0:a.hasNextPage)&&(null==a?void 0:a.endCursor)?z(e-1,a.endCursor):null==n?void 0:n.data},[D,_]=s.useState(),[q,Z]=s.useState(!0),[H,P]=s.useState([]),B=null==D?void 0:null===(t=D.integratedRepositories)||void 0===t?void 0:t.edges,L=null==D?void 0:null===(r=D.integratedRepositories)||void 0===r?void 0:r.pageInfo,U=(0,u.Db)(S,{onError(e){i.A.error(e.message||"Failed to delete")}}),$=(0,u.Db)(C.C),O=async(e,t)=>{U({id:e.node.id,active:!1}).then(r=>{var n;if(null==r?void 0:null===(n=r.data)||void 0===n?void 0:n.updateIntegratedRepositoryActive){R(J([...k,e]));let r=t?m-1:m;M(r||1)}})},M=async e=>{try{Z(!0);let t=await z(e);_(t),h(e)}catch(e){}finally{Z(!1)}},V=(0,c.S)(e=>{P([]),M(e)},3e3),[E,Y]=s.useState(!1),J=e=>(null==e?void 0:e.length)?e.sort((e,t)=>{var r;return null===(r=e.node.displayName)||void 0===r?void 0:r.localeCompare(t.node.displayName)}):e,K=e=>{V.cancel(),P([]),M(e)},W=e=>$({command:e}).then(e=>{var t,r;(null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.triggerJobRun)?(i.A.success("The job has been triggered successfully, it may take a few minutes to process."),K(m)):i.A.error((null==e?void 0:null===(r=e.error)||void 0===r?void 0:r.message)||"Failed to trigger job")});return s.useEffect(()=>(M(1),()=>V.cancel()),[]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(b.Z,{loading:q,children:[(0,n.jsxs)(j.ScrollArea,{children:[(0,n.jsxs)(g.iA,{className:"min-w-[400px]",children:[(0,n.jsx)(g.xD,{children:(0,n.jsxs)(g.SC,{children:[(0,n.jsx)(g.ss,{className:"w-[25%]",children:"Name"}),(0,n.jsx)(g.ss,{className:"w-[35%]",children:"URL"}),(0,n.jsx)(g.ss,{className:"w-[140px]",children:"Access"}),(0,n.jsx)(g.ss,{children:"Job"}),(0,n.jsx)(g.ss,{className:"w-[60px] text-right",children:(0,n.jsx)(x.z,{variant:"outline",size:"icon",className:"shadow-none",onClick:e=>Y(!0),children:(0,n.jsx)(v.IconPlus,{})})})]})}),(0,n.jsx)(g.RM,{children:(null==B?void 0:B.length)||(null==H?void 0:H.length)?(0,n.jsxs)(n.Fragment,{children:[null==H?void 0:H.map(e=>(0,n.jsxs)(g.SC,{className:"!bg-muted/80",children:[(0,n.jsx)(g.pj,{className:"break-all lg:break-words",children:e.node.displayName}),(0,n.jsx)(g.pj,{className:"break-all lg:break-words",children:e.node.gitUrl}),(0,n.jsx)(g.pj,{}),(0,n.jsx)(g.pj,{}),(0,n.jsx)(g.pj,{className:"flex justify-end",children:(0,n.jsx)("div",{className:(0,x.d)({variant:"ghost",size:"icon"}),children:(0,n.jsx)(v.IconSpinner,{})})})]},e.node.id)),null==B?void 0:B.map(e=>(0,n.jsxs)(g.SC,{children:[(0,n.jsx)(g.pj,{className:"break-all lg:break-words",children:e.node.displayName}),(0,n.jsx)(g.pj,{className:"break-all lg:break-words",children:e.node.gitUrl}),(0,n.jsx)(g.pj,{className:"break-all lg:break-words",children:(0,n.jsx)(y.r,{sourceId:e.node.sourceId,sourceName:e.node.displayName,editable:!0,fetchingUserGroups:I,userGroups:null==N?void 0:N.userGroups})}),(0,n.jsx)(g.pj,{children:(0,n.jsx)(w._,{jobInfo:e.node.jobInfo,onTrigger:()=>W(e.node.jobInfo.command)})}),(0,n.jsx)(g.pj,{className:"text-right",children:(0,n.jsx)(x.z,{size:"icon",variant:"hover-destructive",onClick:t=>O(e,(null==B?void 0:B.length)===1),children:(0,n.jsx)(v.IconTrash,{})})})]},e.node.id))]}):(0,n.jsx)(g.SC,{children:(0,n.jsx)(g.pj,{colSpan:5,className:"h-[100px] text-center hover:bg-background",children:(0,n.jsxs)("div",{className:"mt-4 flex flex-col items-center gap-4",children:[(0,n.jsx)("span",{children:"No repositories"}),(0,n.jsxs)(x.z,{onClick:e=>Y(!0),className:"gap-1",children:[(0,n.jsx)(v.IconPlus,{}),"Add"]})]})})})})]}),(0,n.jsx)(j.ScrollBar,{orientation:"horizontal"})]}),(m>1||(null==L?void 0:L.hasNextPage))&&(0,n.jsxs)("div",{className:"mt-2 flex justify-end",children:[(0,n.jsxs)("div",{className:"flex w-[100px] items-center justify-center text-sm font-medium",children:[" ","Page ",m]}),(0,n.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,n.jsx)(x.z,{variant:"outline",className:"h-8 w-8 p-0",disabled:q||1===m,onClick:e=>{K(m-1)},children:(0,n.jsx)(v.IconChevronLeft,{className:"h-4 w-4"})}),(0,n.jsx)(x.z,{variant:"outline",className:"h-8 w-8 p-0",disabled:q||!(null==L?void 0:L.hasNextPage),onClick:e=>{K(m+1)},children:(0,n.jsx)(v.IconChevronRight,{className:"h-4 w-4"})})]})]})]}),(0,n.jsx)(p.Vq,{open:E,onOpenChange:Y,children:(0,n.jsxs)(p.cZ,{className:"top-[20vh]",children:[(0,n.jsxs)(p.fK,{className:"gap-3",children:[(0,n.jsx)(p.$N,{children:"Add new repository"}),(0,n.jsx)(p.Be,{children:"Add new repository from this provider"})]}),(0,n.jsx)(F,{onCancel:()=>Y(!1),onCreated:e=>{let t=null==k?void 0:k.find(t=>{var r;return(null==t?void 0:null===(r=t.node)||void 0===r?void 0:r.id)===e});t&&(P([t,...H]),R(t=>J(t.filter(t=>t.node.id!==e))),V.run(m)),Y(!1)},repositories:k,kind:d,providerStatus:a,fetchingRepos:!G})]})})]})};var $=()=>{var e,t,r,s,i;let o=(0,a.useSearchParams)(),c=(0,I.A)(),u=(0,a.useRouter)(),p=null!==(i=null===(e=o.get("id"))||void 0===e?void 0:e.toString())&&void 0!==i?i:"",[{data:g,fetching:y},w]=(0,l.aM)({query:f.kb,variables:{ids:[p],kind:c},pause:!p||!c}),C=null==g?void 0:null===(s=g.integrations)||void 0===s?void 0:null===(r=s.edges)||void 0===r?void 0:null===(t=r[0])||void 0===t?void 0:t.node;return p&&(!p||y||C)?(0,n.jsxs)(b.Z,{loading:y,children:[(0,n.jsxs)(h.ll,{className:"flex items-center gap-4",children:[(0,n.jsxs)("div",{className:"-ml-2.5 flex items-center",children:[(0,n.jsx)(x.z,{onClick:()=>u.back(),variant:"ghost",className:"h-6 px-1",children:(0,n.jsx)(v.IconChevronLeft,{className:"h-5 w-5"})}),(0,n.jsx)("span",{className:"ml-1",children:null==C?void 0:C.displayName})]}),(0,n.jsx)("div",{className:"flex items-center gap-2 text-base",children:(0,n.jsx)("div",{className:"ml-1",children:C&&function(e){switch(e){case d.Ij.Ready:return(0,n.jsx)(m.C,{variant:"successful",children:"Ready"});case d.Ij.Failed:return(0,n.jsx)(m.C,{variant:"destructive",children:"Error"});case d.Ij.Pending:return(0,n.jsx)(m.C,{children:"Pending"})}}(C.status)})})]}),(0,n.jsx)(h.aY,{className:"mt-8",children:(0,n.jsx)(b.Z,{loading:y,fallback:(0,n.jsx)(N.cg,{}),children:(0,n.jsx)(L,{defaultValues:C,onDelete:()=>{u.back()},onUpdate:()=>{w()},id:p,kind:c})})}),(0,n.jsxs)(j.ScrollArea,{children:[(0,n.jsx)(U,{kind:c,providerStatus:null==C?void 0:C.status,providerId:p}),(0,n.jsx)(j.ScrollBar,{orientation:"horizontal"})]})]}):(0,n.jsx)("div",{className:"flex h-[250px] w-full items-center justify-center rounded-lg border",children:"Provider not found"})}},39231:function(e,t,r){"use strict";r.d(t,{A:function(){return i}});var n=r(11978),s=r(78613),a=r(11529);function i(){let e=(0,n.useParams)(),t=(0,s.Z)(a.K,t=>{var r;return t.name===(null===(r=e.kind)||void 0===r?void 0:r.toLowerCase())}),r=t>-1?a.K[t].enum:a.K[0].enum;return r}},11529:function(e,t,r){"use strict";r.d(t,{K:function(){return s}});var n=r(18500);let s=[{name:"github",enum:n.q6.Github,meta:{displayName:"GitHub"}},{name:"github-self-hosted",enum:n.q6.GithubSelfHosted,meta:{displayName:"GitHub Self-Hosted"}},{name:"gitlab",enum:n.q6.Gitlab,meta:{displayName:"GitLab"}},{name:"gitlab-self-hosted",enum:n.q6.GitlabSelfHosted,meta:{displayName:"GitLab Self-Hosted"}}]},73460:function(e,t,r){"use strict";r.d(t,{OL:function(){return v},_T:function(){return f},aR:function(){return o},f$:function(){return h},fY:function(){return m},le:function(){return j},vW:function(){return d},xo:function(){return x},yT:function(){return p}});var n=r(36164),s=r(3546),a=r(28961),i=r(57288),l=r(31458);let o=a.fC,d=a.xz,c=e=>{let{className:t,children:r,...s}=e;return(0,n.jsx)(a.h_,{className:(0,i.cn)(t),...s,children:(0,n.jsx)("div",{className:"fixed inset-0 z-50 flex items-end justify-center sm:items-center",children:r})})};c.displayName=a.h_.displayName;let u=s.forwardRef((e,t)=>{let{className:r,children:s,...l}=e;return(0,n.jsx)(a.aV,{className:(0,i.cn)("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm transition-opacity animate-in fade-in",r),...l,ref:t})});u.displayName=a.aV.displayName;let f=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsxs)(c,{children:[(0,n.jsx)(u,{}),(0,n.jsx)(a.VY,{ref:t,className:(0,i.cn)("fixed z-50 grid w-full max-w-lg scale-100 gap-4 border bg-background p-6 opacity-100 shadow-lg animate-in fade-in-90 slide-in-from-bottom-10 sm:rounded-lg sm:zoom-in-90 sm:slide-in-from-bottom-0 md:w-full",r),...s})]})});f.displayName=a.VY.displayName;let m=e=>{let{className:t,...r}=e;return(0,n.jsx)("div",{className:(0,i.cn)("flex flex-col space-y-2 text-center sm:text-left",t),...r})};m.displayName="AlertDialogHeader";let x=e=>{let{className:t,...r}=e;return(0,n.jsx)("div",{className:(0,i.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...r})};x.displayName="AlertDialogFooter";let h=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.Dx,{ref:t,className:(0,i.cn)("text-lg font-semibold",r),...s})});h.displayName=a.Dx.displayName;let p=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.dk,{ref:t,className:(0,i.cn)("text-sm text-muted-foreground",r),...s})});p.displayName=a.dk.displayName;let v=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.aU,{ref:t,className:(0,i.cn)((0,l.d)(),r),...s})});v.displayName=a.aU.displayName;let j=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.$j,{ref:t,className:(0,i.cn)((0,l.d)({variant:"outline"}),"mt-2 sm:mt-0",r),...s})});j.displayName=a.$j.displayName},63795:function(e,t,r){"use strict";r.d(t,{C:function(){return l}});var n=r(36164);r(3546);var s=r(14375),a=r(57288);let i=(0,s.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",successful:"border-transparent bg-successful text-successful-foreground hover:bg-successful/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function l(e){let{className:t,variant:r,...s}=e;return(0,n.jsx)("div",{className:(0,a.cn)(i({variant:r}),t),...s})}},79972:function(e,t,r){"use strict";r.d(t,{Ol:function(){return l},Zb:function(){return i},aY:function(){return c},eW:function(){return u},ll:function(){return o}});var n=r(36164),s=r(3546),a=r(57288);let i=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,a.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",r),...s})});i.displayName="Card";let l=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,a.cn)("flex flex-col space-y-1.5 p-6",r),...s})});l.displayName="CardHeader";let o=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("h3",{ref:t,className:(0,a.cn)("text-2xl font-semibold leading-none tracking-tight",r),...s})});o.displayName="CardTitle";let d=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("p",{ref:t,className:(0,a.cn)("text-sm text-muted-foreground",r),...s})});d.displayName="CardDescription";let c=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,a.cn)("p-6 pt-0",r),...s})});c.displayName="CardContent";let u=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,a.cn)("flex items-center p-6 pt-0",r),...s})});u.displayName="CardFooter"},98150:function(e,t,r){"use strict";r.d(t,{NI:function(){return p},Wi:function(){return u},l0:function(){return d},lX:function(){return h},pf:function(){return v},xJ:function(){return x},zG:function(){return j}});var n=r(36164),s=r(3546),a=r(74047),i=r(5493),l=r(57288),o=r(5266);let d=i.RV,c=s.createContext({}),u=e=>{let{...t}=e;return(0,n.jsx)(c.Provider,{value:{name:t.name},children:(0,n.jsx)(i.Qr,{...t})})},f=()=>{let e=s.useContext(c),t=s.useContext(m),{getFieldState:r,formState:n}=(0,i.Gc)(),a=e.name||"root",l=r(a,n);if(!n)throw Error("useFormField should be used within ");let{id:o}=t;return{id:o,name:a,formItemId:"".concat(o,"-form-item"),formDescriptionId:"".concat(o,"-form-item-description"),formMessageId:"".concat(o,"-form-item-message"),...l}},m=s.createContext({}),x=s.forwardRef((e,t)=>{let{className:r,...a}=e,i=s.useId();return(0,n.jsx)(m.Provider,{value:{id:i},children:(0,n.jsx)("div",{ref:t,className:(0,l.cn)("space-y-2",r),...a})})});x.displayName="FormItem";let h=s.forwardRef((e,t)=>{let{className:r,required:s,...a}=e,{error:i,formItemId:d}=f();return(0,n.jsx)(o._,{ref:t,className:(0,l.cn)(i&&"text-destructive",s&&'after:ml-0.5 after:text-destructive after:content-["*"]',r),htmlFor:d,...a})});h.displayName="FormLabel";let p=s.forwardRef((e,t)=>{let{...r}=e,{error:s,formItemId:i,formDescriptionId:l,formMessageId:o}=f();return(0,n.jsx)(a.g7,{ref:t,id:i,"aria-describedby":s?"".concat(l," ").concat(o):"".concat(l),"aria-invalid":!!s,...r})});p.displayName="FormControl";let v=s.forwardRef((e,t)=>{let{className:r,...s}=e,{formDescriptionId:a}=f();return(0,n.jsx)("div",{ref:t,id:a,className:(0,l.cn)("text-sm text-muted-foreground",r),...s})});v.displayName="FormDescription";let j=s.forwardRef((e,t)=>{let{className:r,children:s,...a}=e,{error:i,formMessageId:o}=f(),d=i?String(null==i?void 0:i.message):s;return d?(0,n.jsx)("p",{ref:t,id:o,className:(0,l.cn)("text-sm font-medium text-destructive",r),...a,children:d}):null});j.displayName="FormMessage"},82394:function(e,t,r){"use strict";r.d(t,{I:function(){return i}});var n=r(36164),s=r(3546),a=r(57288);let i=s.forwardRef((e,t)=>{let{className:r,type:s,...i}=e;return(0,n.jsx)("input",{type:s,className:(0,a.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...i})});i.displayName="Input"},5266:function(e,t,r){"use strict";r.d(t,{_:function(){return d}});var n=r(36164),s=r(3546),a=r(90893),i=r(14375),l=r(57288);let o=(0,i.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.f,{ref:t,className:(0,l.cn)(o(),r),...s})});d.displayName=a.f.displayName},21808:function(e,t,r){"use strict";r.d(t,{$6:function(){return a},$I:function(){return i},L8:function(){return s},ir:function(){return l},o0:function(){return n},rZ:function(){return o}});let n="name@yourcompany.com",s=20,a={DEMO_AUTO_LOGIN:"_tabby_demo_autologin"},i=48,l="NOT_FOUND",o="\n"},78613:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var n=r(96703),s=r(51722),a=r(26165),i=1/0,l=function(e){var t,r=(t=e)?(t=(0,a.Z)(t))===i||t===-i?(t<0?-1:1)*17976931348623157e292:t==t?t:0:0===t?t:0,n=r%1;return r==r?n?r-n:r:0},o=Math.max,d=function(e,t,r){var a=null==e?0:e.length;if(!a)return -1;var i=null==r?0:l(r);return i<0&&(i=o(a+i,0)),(0,n.Z)(e,(0,s.Z)(t,3),i)}},94909:function(e,t,r){"use strict";var n=r(63563),s=r(43108),a=r(97589),i=r(38813),l=r(20568),o=r(90328),d=r(36586),c=r(33321),u=Object.prototype.hasOwnProperty;t.Z=function(e){if(null==e)return!0;if((0,l.Z)(e)&&((0,i.Z)(e)||"string"==typeof e||"function"==typeof e.splice||(0,o.Z)(e)||(0,c.Z)(e)||(0,a.Z)(e)))return!e.length;var t=(0,s.Z)(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if((0,d.Z)(e))return!(0,n.Z)(e).length;for(var r in e)if(u.call(e,r))return!1;return!0}}},function(e){e.O(0,[8415,7565,7430,55,7812,4007,9643,4752,3449,2578,8511,240,2287,4421,7070,1002,8961,6805,4553,7288,1565,3240,4656,4731,3375,5289,1744],function(){return e(e.s=5034)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-7fd8f4cfd414892f.js b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-9385614eab1bf0bd.js similarity index 100% rename from ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-7fd8f4cfd414892f.js rename to ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-9385614eab1bf0bd.js diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/new/page-842d420f2e26348f.js b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/new/page-9dd8ae2030523f11.js similarity index 100% rename from ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/new/page-842d420f2e26348f.js rename to ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/new/page-9dd8ae2030523f11.js diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/page-6c7398237f23875c.js b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/page-6c7398237f23875c.js new file mode 100644 index 000000000000..cc0f3c9239cb --- /dev/null +++ b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/page-6c7398237f23875c.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9667],{41274:function(n,e,t){Promise.resolve().then(t.bind(t,19847))},19847:function(n,e,t){"use strict";t.r(e),t.d(e,{default:function(){return j}});var r=t(36164),s=t(3546),a=t(70652),i=t.n(a),o=t(11978),d=t(40055),u=t(21808),l=t(18500),c=t(70410),f=t(31458),m=t(79972),g=t(3448),h=t(76297),$=t(57288);let x=n=>{let{onLoad:e,isFetching:t,children:a,className:i,intersectionOptions:o}=n,{ref:d,inView:u}=(0,h.YD)(o);return s.useEffect(()=>{u&&!t&&(null==e||e())},[u]),(0,r.jsx)("div",{className:(0,$.cn)("w-full",i),ref:d,children:null!=a?a:(0,r.jsx)("div",{children:"loading..."})})},v=n=>(0,r.jsx)(x,{...n});var b=t(6230),p=t(39231);let y=u.L8;function j(){var n,e;let t=(0,p.A)(),a=(0,o.useParams)(),[u,g]=s.useState(void 0),[{data:h,fetching:$}]=(0,d.aM)({query:c.kb,variables:{kind:t,last:y,before:u}}),x=s.useMemo(()=>{var n,e;return null==h?void 0:null===(e=h.integrations)||void 0===e?void 0:null===(n=e.edges)||void 0===n?void 0:n.slice().reverse()},[null==h?void 0:null===(n=h.integrations)||void 0===n?void 0:n.edges]),j=null==h?void 0:null===(e=h.integrations)||void 0===e?void 0:e.pageInfo;return(0,r.jsx)(b.Z,{loading:$,fallback:(0,r.jsx)(S,{}),children:(null==x?void 0:x.length)?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(N,{}),(0,r.jsxs)("div",{className:"space-y-8",children:[null==x?void 0:x.map(n=>(0,r.jsxs)(m.Zb,{children:[(0,r.jsx)(m.Ol,{className:"border-b px-6 py-4",children:(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)(m.ll,{className:"text-xl",children:(0,r.jsx)("div",{className:"flex items-center gap-2",children:n.node.displayName})}),(0,r.jsx)(i(),{href:"".concat(a.kind,"/detail?id=").concat(n.node.id),className:(0,f.d)({variant:"secondary"}),children:"View"})]})}),(0,r.jsx)(m.aY,{className:"p-0 text-sm",children:(0,r.jsxs)("div",{className:"flex px-6 py-4",children:[(0,r.jsx)("span",{className:"w-[30%] shrink-0 text-muted-foreground",children:"Status"}),(0,r.jsx)("span",{children:function(n){switch(n){case l.Ij.Ready:return"Ready";case l.Ij.Failed:return"Processing error. Please check if the access token is still valid";case l.Ij.Pending:return"Awaiting the next data synchronization"}}(n.node.status)})]})})]},n.node.id)),!!(null==j?void 0:j.hasPreviousPage)&&(0,r.jsx)(v,{onLoad:()=>{(null==j?void 0:j.startCursor)&&g(j.startCursor)},isFetching:$,children:(0,r.jsx)(S,{})})]})]}):(0,r.jsx)(I,{})})}function N(){let n=(0,o.useParams)();return(0,r.jsx)("div",{className:"my-4 flex justify-end",children:(0,r.jsx)(i(),{href:"./".concat(n.kind,"/new"),className:(0,f.d)(),children:"Create"})})}function I(){let n=(0,o.useParams)();return(0,r.jsxs)("div",{className:"flex flex-col items-center gap-4 rounded-lg border-4 border-dashed py-8",children:[(0,r.jsx)("div",{children:"No Data"}),(0,r.jsx)("div",{className:"flex justify-center",children:(0,r.jsx)(i(),{href:"./".concat(n.kind,"/new"),className:(0,f.d)({variant:"default"}),children:"Create"})})]})}function P(){return(0,r.jsxs)(m.Zb,{className:"w-full bg-transparent",children:[(0,r.jsx)(m.Ol,{className:"border-b px-6 py-4",children:(0,r.jsx)(m.ll,{children:(0,r.jsx)(g.O,{className:"w-[20%]"})})}),(0,r.jsx)(m.aY,{className:"px-6 py-4",children:(0,r.jsx)(g.O,{className:"w-[80%]"})})]})}function S(){return(0,r.jsxs)("div",{className:"space-y-8",children:[(0,r.jsx)(P,{}),(0,r.jsx)(P,{})]})}},39231:function(n,e,t){"use strict";t.d(e,{A:function(){return i}});var r=t(11978),s=t(78613),a=t(11529);function i(){let n=(0,r.useParams)(),e=(0,s.Z)(a.K,e=>{var t;return e.name===(null===(t=n.kind)||void 0===t?void 0:t.toLowerCase())}),t=e>-1?a.K[e].enum:a.K[0].enum;return t}},11529:function(n,e,t){"use strict";t.d(e,{K:function(){return s}});var r=t(18500);let s=[{name:"github",enum:r.q6.Github,meta:{displayName:"GitHub"}},{name:"github-self-hosted",enum:r.q6.GithubSelfHosted,meta:{displayName:"GitHub Self-Hosted"}},{name:"gitlab",enum:r.q6.Gitlab,meta:{displayName:"GitLab"}},{name:"gitlab-self-hosted",enum:r.q6.GitlabSelfHosted,meta:{displayName:"GitLab Self-Hosted"}}]},6230:function(n,e,t){"use strict";var r=t(36164),s=t(3546),a=t(24449),i=t(90379);e.Z=n=>{let{loading:e,fallback:t,delay:o,children:d}=n,[u,l]=s.useState(!e),[c]=(0,a.n)(u,null!=o?o:200);return(s.useEffect(()=>{e||u||l(!0)},[e]),c)?d:t||(0,r.jsx)(i.cg,{})}},90379:function(n,e,t){"use strict";t.d(e,{PF:function(){return d},cg:function(){return i},tB:function(){return o}});var r=t(36164),s=t(57288),a=t(3448);let i=n=>{let{className:e,...t}=n;return(0,r.jsxs)("div",{className:(0,s.cn)("space-y-3",e),...t,children:[(0,r.jsx)(a.O,{className:"h-4 w-full"}),(0,r.jsx)(a.O,{className:"h-4 w-full"}),(0,r.jsx)(a.O,{className:"h-4 w-full"}),(0,r.jsx)(a.O,{className:"h-4 w-full"})]})},o=n=>{let{className:e,...t}=n;return(0,r.jsx)(a.O,{className:(0,s.cn)("h-4 w-full",e),...t})},d=n=>{let{className:e,...t}=n;return(0,r.jsxs)("div",{className:(0,s.cn)("flex flex-col gap-3",e),...t,children:[(0,r.jsx)(a.O,{className:"h-4 w-[20%]"}),(0,r.jsx)(a.O,{className:"h-4 w-full"}),(0,r.jsx)(a.O,{className:"h-4 w-[20%]"}),(0,r.jsx)(a.O,{className:"h-4 w-full"})]})}},31458:function(n,e,t){"use strict";t.d(e,{d:function(){return d},z:function(){return u}});var r=t(36164),s=t(3546),a=t(74047),i=t(14375),o=t(57288);let d=(0,i.j)("inline-flex items-center justify-center rounded-md text-sm font-medium shadow ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-md hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90","hover-destructive":"shadow-none hover:bg-destructive/90 hover:text-destructive-foreground",outline:"border border-input hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"shadow-none hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 shadow-none hover:underline"},size:{default:"h-8 px-4 py-2",sm:"h-8 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-8 w-8 p-0"}},defaultVariants:{variant:"default",size:"default"}}),u=s.forwardRef((n,e)=>{let{className:t,variant:s,size:i,asChild:u=!1,...l}=n,c=u?a.g7:"button";return(0,r.jsx)(c,{className:(0,o.cn)(d({variant:s,size:i,className:t})),ref:e,...l})});u.displayName="Button"},79972:function(n,e,t){"use strict";t.d(e,{Ol:function(){return o},Zb:function(){return i},aY:function(){return l},eW:function(){return c},ll:function(){return d}});var r=t(36164),s=t(3546),a=t(57288);let i=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)("div",{ref:e,className:(0,a.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",t),...s})});i.displayName="Card";let o=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)("div",{ref:e,className:(0,a.cn)("flex flex-col space-y-1.5 p-6",t),...s})});o.displayName="CardHeader";let d=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)("h3",{ref:e,className:(0,a.cn)("text-2xl font-semibold leading-none tracking-tight",t),...s})});d.displayName="CardTitle";let u=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)("p",{ref:e,className:(0,a.cn)("text-sm text-muted-foreground",t),...s})});u.displayName="CardDescription";let l=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)("div",{ref:e,className:(0,a.cn)("p-6 pt-0",t),...s})});l.displayName="CardContent";let c=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)("div",{ref:e,className:(0,a.cn)("flex items-center p-6 pt-0",t),...s})});c.displayName="CardFooter"},3448:function(n,e,t){"use strict";t.d(e,{O:function(){return a}});var r=t(36164),s=t(57288);function a(n){let{className:e,...t}=n;return(0,r.jsx)("div",{className:(0,s.cn)("h-4 animate-pulse rounded-md bg-border",e),...t})}},21808:function(n,e,t){"use strict";t.d(e,{$6:function(){return a},$I:function(){return i},L8:function(){return s},ir:function(){return o},o0:function(){return r},rZ:function(){return d}});let r="name@yourcompany.com",s=20,a={DEMO_AUTO_LOGIN:"_tabby_demo_autologin"},i=48,o="NOT_FOUND",d="\n"},24449:function(n,e,t){"use strict";t.d(e,{S:function(){return o},n:function(){return d}});var r=t(3546),s=t(45391),a=t(16784);let i=n=>{let e=(0,a.d)(n);r.useEffect(()=>()=>{e.current()},[])};function o(n,e,t){let o=(0,a.d)(n),d=r.useMemo(()=>(0,s.Z)(function(){for(var n=arguments.length,e=Array(n),t=0;t{var n;null==t||null===(n=t.onUnmount)||void 0===n||n.call(t,d),d.cancel()}),{run:d,cancel:d.cancel,flush:d.flush}}function d(n,e,t){let[s,a]=r.useState(n),{run:i}=o(()=>{a(n)},e,t);return r.useEffect(()=>{i()},[n]),[s,a]}},16784:function(n,e,t){"use strict";t.d(e,{d:function(){return s}});var r=t(3546);function s(n){let e=r.useRef(n);return e.current=n,e}},70410:function(n,e,t){"use strict";t.d(e,{Cl:function(){return c},D7:function(){return h},DQ:function(){return d},GG:function(){return i},Gx:function(){return $},K5:function(){return N},S1:function(){return a},TH:function(){return u},XL:function(){return b},Y6:function(){return l},g0:function(){return j},gI:function(){return x},hA:function(){return v},kb:function(){return f},lE:function(){return s},md:function(){return y},r4:function(){return p},ts:function(){return m},yB:function(){return o},zz:function(){return g}});var r=t(43240);let s=(0,r.BX)("\n query ListInvitations(\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n invitations(after: $after, before: $before, first: $first, last: $last) {\n edges {\n node {\n id\n email\n code\n createdAt\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),a=(0,r.BX)("\n query gitRepositories(\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n gitRepositories(\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n name\n gitUrl\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),i=(0,r.BX)("\n query ListJobRuns(\n $ids: [ID!]\n $jobs: [String!]\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n jobRuns(\n ids: $ids\n jobs: $jobs\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n job\n createdAt\n startedAt\n finishedAt\n exitCode\n stdout\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),o=(0,r.BX)("\n query GetJobRunStats($jobs: [String!]) {\n jobRunStats(jobs: $jobs) {\n success\n failed\n pending\n }\n }\n"),d=(0,r.BX)("\n query ListJobs {\n jobs\n }\n"),u=(0,r.BX)("\n query ListUsers($after: String, $before: String, $first: Int, $last: Int) {\n users(after: $after, before: $before, first: $first, last: $last) {\n edges {\n node {\n id\n email\n isAdmin\n isOwner\n createdAt\n active\n name\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),l=(0,r.BX)("\n query DailyStatsInPastYear($users: [ID!]) {\n dailyStatsInPastYear(users: $users) {\n start\n end\n completions\n selects\n views\n }\n }\n"),c=(0,r.BX)("\n query DailyStats(\n $start: DateTime!\n $end: DateTime!\n $users: [ID!]\n $languages: [Language!]\n ) {\n dailyStats(start: $start, end: $end, users: $users, languages: $languages) {\n start\n end\n completions\n selects\n views\n language\n }\n }\n"),f=(0,r.BX)("\n query ListIntegrations(\n $ids: [ID!]\n $kind: IntegrationKind\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n integrations(\n ids: $ids\n kind: $kind\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n displayName\n status\n apiBase\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),m=(0,r.BX)("\n query ListIntegratedRepositories(\n $ids: [ID!]\n $kind: IntegrationKind\n $active: Boolean\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n integratedRepositories(\n ids: $ids\n kind: $kind\n active: $active\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n displayName\n gitUrl\n active\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n startedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),g=(0,r.BX)("\n query RepositoryList {\n repositoryList {\n id\n name\n kind\n gitUrl\n refs {\n name\n commit\n }\n }\n }\n"),h=(0,r.BX)("\n query RepositorySearch(\n $kind: RepositoryKind!\n $id: ID!\n $rev: String\n $pattern: String!\n ) {\n repositorySearch(kind: $kind, id: $id, rev: $rev, pattern: $pattern) {\n type\n path\n indices\n }\n }\n"),$=(0,r.BX)("\n query ContextInfo {\n contextInfo {\n sources {\n id\n sourceKind\n sourceId\n sourceName\n }\n }\n }\n"),x=(0,r.BX)("\n query UserGroups {\n userGroups {\n id\n name\n createdAt\n updatedAt\n members {\n user {\n id\n email\n name\n createdAt\n }\n isGroupAdmin\n createdAt\n updatedAt\n }\n }\n }\n"),v=(0,r.BX)("\n query sourceIdAccessPolicies($sourceId: String!) {\n sourceIdAccessPolicies(sourceId: $sourceId) {\n sourceId\n read {\n id\n name\n }\n }\n }\n"),b=(0,r.BX)("\n query ListThreads(\n $ids: [ID!]\n $isEphemeral: Boolean\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n threads(\n ids: $ids\n isEphemeral: $isEphemeral\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n userId\n createdAt\n updatedAt\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),p=(0,r.BX)("\n query ListThreadMessages(\n $threadId: ID!\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n threadMessages(\n threadId: $threadId\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n threadId\n codeSourceId\n role\n content\n attachment {\n code {\n gitUrl\n commit\n filepath\n language\n content\n startLine\n }\n clientCode {\n filepath\n content\n startLine\n }\n doc {\n __typename\n ... on MessageAttachmentWebDoc {\n title\n link\n content\n }\n ... on MessageAttachmentIssueDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n closed\n }\n ... on MessageAttachmentPullDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n merged\n }\n }\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),y=(0,r.BX)("\n mutation SetThreadPersisted($threadId: ID!) {\n setThreadPersisted(threadId: $threadId)\n }\n"),j=(0,r.BX)("\n query Notifications {\n notifications {\n id\n content\n read\n createdAt\n }\n }\n"),N=(0,r.BX)("\n query RepositorySourceList {\n repositoryList {\n id\n name\n kind\n gitUrl\n sourceId\n sourceName\n sourceKind\n }\n }\n")}},function(n){n.O(0,[7430,55,4007,7070,9624,7288,3240,3375,5289,1744],function(){return n(n.s=41274)}),_N_E=n.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/page-73c4bfa404d5d481.js b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/page-73c4bfa404d5d481.js deleted file mode 100644 index f697a5768d19..000000000000 --- a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/page-73c4bfa404d5d481.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9667],{41274:function(n,e,t){Promise.resolve().then(t.bind(t,19847))},19847:function(n,e,t){"use strict";t.r(e),t.d(e,{default:function(){return j}});var r=t(36164),s=t(3546),a=t(70652),i=t.n(a),o=t(11978),d=t(40055),u=t(21808),l=t(18500),c=t(70410),f=t(31458),m=t(79972),g=t(3448),h=t(76297),$=t(57288);let x=n=>{let{onLoad:e,isFetching:t,children:a,className:i,intersectionOptions:o}=n,{ref:d,inView:u}=(0,h.YD)(o);return s.useEffect(()=>{u&&!t&&(null==e||e())},[u]),(0,r.jsx)("div",{className:(0,$.cn)("w-full",i),ref:d,children:null!=a?a:(0,r.jsx)("div",{children:"loading..."})})},b=n=>(0,r.jsx)(x,{...n});var v=t(6230),p=t(39231);let y=u.L8;function j(){var n,e;let t=(0,p.A)(),a=(0,o.useParams)(),[u,g]=s.useState(void 0),[{data:h,fetching:$}]=(0,d.aM)({query:c.kb,variables:{kind:t,last:y,before:u}}),x=s.useMemo(()=>{var n,e;return null==h?void 0:null===(e=h.integrations)||void 0===e?void 0:null===(n=e.edges)||void 0===n?void 0:n.slice().reverse()},[null==h?void 0:null===(n=h.integrations)||void 0===n?void 0:n.edges]),j=null==h?void 0:null===(e=h.integrations)||void 0===e?void 0:e.pageInfo;return(0,r.jsx)(v.Z,{loading:$,fallback:(0,r.jsx)(P,{}),children:(null==x?void 0:x.length)?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(I,{}),(0,r.jsxs)("div",{className:"space-y-8",children:[null==x?void 0:x.map(n=>(0,r.jsxs)(m.Zb,{children:[(0,r.jsx)(m.Ol,{className:"border-b px-6 py-4",children:(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)(m.ll,{className:"text-xl",children:(0,r.jsx)("div",{className:"flex items-center gap-2",children:n.node.displayName})}),(0,r.jsx)(i(),{href:"".concat(a.kind,"/detail?id=").concat(n.node.id),className:(0,f.d)({variant:"secondary"}),children:"View"})]})}),(0,r.jsx)(m.aY,{className:"p-0 text-sm",children:(0,r.jsxs)("div",{className:"flex px-6 py-4",children:[(0,r.jsx)("span",{className:"w-[30%] shrink-0 text-muted-foreground",children:"Status"}),(0,r.jsx)("span",{children:function(n){switch(n){case l.Ij.Ready:return"Ready";case l.Ij.Failed:return"Processing error. Please check if the access token is still valid";case l.Ij.Pending:return"Awaiting the next data synchronization"}}(n.node.status)})]})})]},n.node.id)),!!(null==j?void 0:j.hasPreviousPage)&&(0,r.jsx)(b,{onLoad:()=>{(null==j?void 0:j.startCursor)&&g(j.startCursor)},isFetching:$,children:(0,r.jsx)(P,{})})]})]}):(0,r.jsx)(N,{})})}function I(){let n=(0,o.useParams)();return(0,r.jsx)("div",{className:"my-4 flex justify-end",children:(0,r.jsx)(i(),{href:"./".concat(n.kind,"/new"),className:(0,f.d)(),children:"Create"})})}function N(){let n=(0,o.useParams)();return(0,r.jsxs)("div",{className:"flex flex-col items-center gap-4 rounded-lg border-4 border-dashed py-8",children:[(0,r.jsx)("div",{children:"No Data"}),(0,r.jsx)("div",{className:"flex justify-center",children:(0,r.jsx)(i(),{href:"./".concat(n.kind,"/new"),className:(0,f.d)({variant:"default"}),children:"Create"})})]})}function S(){return(0,r.jsxs)(m.Zb,{className:"w-full bg-transparent",children:[(0,r.jsx)(m.Ol,{className:"border-b px-6 py-4",children:(0,r.jsx)(m.ll,{children:(0,r.jsx)(g.O,{className:"w-[20%]"})})}),(0,r.jsx)(m.aY,{className:"px-6 py-4",children:(0,r.jsx)(g.O,{className:"w-[80%]"})})]})}function P(){return(0,r.jsxs)("div",{className:"space-y-8",children:[(0,r.jsx)(S,{}),(0,r.jsx)(S,{})]})}},39231:function(n,e,t){"use strict";t.d(e,{A:function(){return i}});var r=t(11978),s=t(78613),a=t(11529);function i(){let n=(0,r.useParams)(),e=(0,s.Z)(a.K,e=>{var t;return e.name===(null===(t=n.kind)||void 0===t?void 0:t.toLowerCase())}),t=e>-1?a.K[e].enum:a.K[0].enum;return t}},11529:function(n,e,t){"use strict";t.d(e,{K:function(){return s}});var r=t(18500);let s=[{name:"github",enum:r.q6.Github,meta:{displayName:"GitHub"}},{name:"github-self-hosted",enum:r.q6.GithubSelfHosted,meta:{displayName:"GitHub Self-Hosted"}},{name:"gitlab",enum:r.q6.Gitlab,meta:{displayName:"GitLab"}},{name:"gitlab-self-hosted",enum:r.q6.GitlabSelfHosted,meta:{displayName:"GitLab Self-Hosted"}}]},6230:function(n,e,t){"use strict";var r=t(36164),s=t(3546),a=t(24449),i=t(90379);e.Z=n=>{let{loading:e,fallback:t,delay:o,children:d}=n,[u,l]=s.useState(!e),[c]=(0,a.n)(u,null!=o?o:200);return(s.useEffect(()=>{e||u||l(!0)},[e]),c)?d:t||(0,r.jsx)(i.cg,{})}},90379:function(n,e,t){"use strict";t.d(e,{PF:function(){return d},cg:function(){return i},tB:function(){return o}});var r=t(36164),s=t(57288),a=t(3448);let i=n=>{let{className:e,...t}=n;return(0,r.jsxs)("div",{className:(0,s.cn)("space-y-3",e),...t,children:[(0,r.jsx)(a.O,{className:"h-4 w-full"}),(0,r.jsx)(a.O,{className:"h-4 w-full"}),(0,r.jsx)(a.O,{className:"h-4 w-full"}),(0,r.jsx)(a.O,{className:"h-4 w-full"})]})},o=n=>{let{className:e,...t}=n;return(0,r.jsx)(a.O,{className:(0,s.cn)("h-4 w-full",e),...t})},d=n=>{let{className:e,...t}=n;return(0,r.jsxs)("div",{className:(0,s.cn)("flex flex-col gap-3",e),...t,children:[(0,r.jsx)(a.O,{className:"h-4 w-[20%]"}),(0,r.jsx)(a.O,{className:"h-4 w-full"}),(0,r.jsx)(a.O,{className:"h-4 w-[20%]"}),(0,r.jsx)(a.O,{className:"h-4 w-full"})]})}},31458:function(n,e,t){"use strict";t.d(e,{d:function(){return d},z:function(){return u}});var r=t(36164),s=t(3546),a=t(74047),i=t(14375),o=t(57288);let d=(0,i.j)("inline-flex items-center justify-center rounded-md text-sm font-medium shadow ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-md hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90","hover-destructive":"shadow-none hover:bg-destructive/90 hover:text-destructive-foreground",outline:"border border-input hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"shadow-none hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 shadow-none hover:underline"},size:{default:"h-8 px-4 py-2",sm:"h-8 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-8 w-8 p-0"}},defaultVariants:{variant:"default",size:"default"}}),u=s.forwardRef((n,e)=>{let{className:t,variant:s,size:i,asChild:u=!1,...l}=n,c=u?a.g7:"button";return(0,r.jsx)(c,{className:(0,o.cn)(d({variant:s,size:i,className:t})),ref:e,...l})});u.displayName="Button"},79972:function(n,e,t){"use strict";t.d(e,{Ol:function(){return o},Zb:function(){return i},aY:function(){return l},eW:function(){return c},ll:function(){return d}});var r=t(36164),s=t(3546),a=t(57288);let i=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)("div",{ref:e,className:(0,a.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",t),...s})});i.displayName="Card";let o=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)("div",{ref:e,className:(0,a.cn)("flex flex-col space-y-1.5 p-6",t),...s})});o.displayName="CardHeader";let d=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)("h3",{ref:e,className:(0,a.cn)("text-2xl font-semibold leading-none tracking-tight",t),...s})});d.displayName="CardTitle";let u=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)("p",{ref:e,className:(0,a.cn)("text-sm text-muted-foreground",t),...s})});u.displayName="CardDescription";let l=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)("div",{ref:e,className:(0,a.cn)("p-6 pt-0",t),...s})});l.displayName="CardContent";let c=s.forwardRef((n,e)=>{let{className:t,...s}=n;return(0,r.jsx)("div",{ref:e,className:(0,a.cn)("flex items-center p-6 pt-0",t),...s})});c.displayName="CardFooter"},3448:function(n,e,t){"use strict";t.d(e,{O:function(){return a}});var r=t(36164),s=t(57288);function a(n){let{className:e,...t}=n;return(0,r.jsx)("div",{className:(0,s.cn)("h-4 animate-pulse rounded-md bg-border",e),...t})}},21808:function(n,e,t){"use strict";t.d(e,{$6:function(){return a},$I:function(){return i},L8:function(){return s},ir:function(){return o},o0:function(){return r},rZ:function(){return d}});let r="name@yourcompany.com",s=20,a={DEMO_AUTO_LOGIN:"_tabby_demo_autologin",SEARCH_INITIAL_MSG:"_tabby_search_initial_msg",SEARCH_INITIAL_CONTEXTS:"_tabby_search_initial_contexts"},i=48,o="NOT_FOUND",d="\n"},24449:function(n,e,t){"use strict";t.d(e,{S:function(){return o},n:function(){return d}});var r=t(3546),s=t(45391),a=t(16784);let i=n=>{let e=(0,a.d)(n);r.useEffect(()=>()=>{e.current()},[])};function o(n,e,t){let o=(0,a.d)(n),d=r.useMemo(()=>(0,s.Z)(function(){for(var n=arguments.length,e=Array(n),t=0;t{var n;null==t||null===(n=t.onUnmount)||void 0===n||n.call(t,d),d.cancel()}),{run:d,cancel:d.cancel,flush:d.flush}}function d(n,e,t){let[s,a]=r.useState(n),{run:i}=o(()=>{a(n)},e,t);return r.useEffect(()=>{i()},[n]),[s,a]}},16784:function(n,e,t){"use strict";t.d(e,{d:function(){return s}});var r=t(3546);function s(n){let e=r.useRef(n);return e.current=n,e}},70410:function(n,e,t){"use strict";t.d(e,{Cl:function(){return c},D7:function(){return h},DQ:function(){return d},GG:function(){return i},Gx:function(){return $},S1:function(){return a},TH:function(){return u},XL:function(){return v},Y6:function(){return l},g0:function(){return j},gI:function(){return x},hA:function(){return b},kb:function(){return f},lE:function(){return s},md:function(){return y},r4:function(){return p},ts:function(){return m},yB:function(){return o},zz:function(){return g}});var r=t(43240);let s=(0,r.BX)("\n query ListInvitations(\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n invitations(after: $after, before: $before, first: $first, last: $last) {\n edges {\n node {\n id\n email\n code\n createdAt\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),a=(0,r.BX)("\n query gitRepositories(\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n gitRepositories(\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n name\n gitUrl\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),i=(0,r.BX)("\n query ListJobRuns(\n $ids: [ID!]\n $jobs: [String!]\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n jobRuns(\n ids: $ids\n jobs: $jobs\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n job\n createdAt\n startedAt\n finishedAt\n exitCode\n stdout\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),o=(0,r.BX)("\n query GetJobRunStats($jobs: [String!]) {\n jobRunStats(jobs: $jobs) {\n success\n failed\n pending\n }\n }\n"),d=(0,r.BX)("\n query ListJobs {\n jobs\n }\n"),u=(0,r.BX)("\n query ListUsers($after: String, $before: String, $first: Int, $last: Int) {\n users(after: $after, before: $before, first: $first, last: $last) {\n edges {\n node {\n id\n email\n isAdmin\n isOwner\n createdAt\n active\n name\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),l=(0,r.BX)("\n query DailyStatsInPastYear($users: [ID!]) {\n dailyStatsInPastYear(users: $users) {\n start\n end\n completions\n selects\n views\n }\n }\n"),c=(0,r.BX)("\n query DailyStats(\n $start: DateTime!\n $end: DateTime!\n $users: [ID!]\n $languages: [Language!]\n ) {\n dailyStats(start: $start, end: $end, users: $users, languages: $languages) {\n start\n end\n completions\n selects\n views\n language\n }\n }\n"),f=(0,r.BX)("\n query ListIntegrations(\n $ids: [ID!]\n $kind: IntegrationKind\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n integrations(\n ids: $ids\n kind: $kind\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n displayName\n status\n apiBase\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),m=(0,r.BX)("\n query ListIntegratedRepositories(\n $ids: [ID!]\n $kind: IntegrationKind\n $active: Boolean\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n integratedRepositories(\n ids: $ids\n kind: $kind\n active: $active\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n displayName\n gitUrl\n active\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n startedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),g=(0,r.BX)("\n query RepositoryList {\n repositoryList {\n id\n name\n kind\n gitUrl\n refs {\n name\n commit\n }\n }\n }\n"),h=(0,r.BX)("\n query RepositorySearch(\n $kind: RepositoryKind!\n $id: ID!\n $rev: String\n $pattern: String!\n ) {\n repositorySearch(kind: $kind, id: $id, rev: $rev, pattern: $pattern) {\n type\n path\n indices\n }\n }\n"),$=(0,r.BX)("\n query ContextInfo {\n contextInfo {\n sources {\n id\n sourceKind\n sourceId\n sourceName\n }\n }\n }\n"),x=(0,r.BX)("\n query UserGroups {\n userGroups {\n id\n name\n createdAt\n updatedAt\n members {\n user {\n id\n email\n name\n createdAt\n }\n isGroupAdmin\n createdAt\n updatedAt\n }\n }\n }\n"),b=(0,r.BX)("\n query sourceIdAccessPolicies($sourceId: String!) {\n sourceIdAccessPolicies(sourceId: $sourceId) {\n sourceId\n read {\n id\n name\n }\n }\n }\n"),v=(0,r.BX)("\n query ListThreads(\n $ids: [ID!]\n $isEphemeral: Boolean\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n threads(\n ids: $ids\n isEphemeral: $isEphemeral\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n userId\n createdAt\n updatedAt\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),p=(0,r.BX)("\n query ListThreadMessages(\n $threadId: ID!\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n threadMessages(\n threadId: $threadId\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n threadId\n role\n content\n attachment {\n code {\n gitUrl\n filepath\n language\n content\n startLine\n }\n clientCode {\n filepath\n content\n startLine\n }\n doc {\n __typename\n ... on MessageAttachmentWebDoc {\n title\n link\n content\n }\n ... on MessageAttachmentIssueDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n closed\n }\n ... on MessageAttachmentPullDoc {\n title\n link\n author {\n id\n email\n name\n }\n body\n merged\n }\n }\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),y=(0,r.BX)("\n mutation SetThreadPersisted($threadId: ID!) {\n setThreadPersisted(threadId: $threadId)\n }\n"),j=(0,r.BX)("\n query Notifications {\n notifications {\n id\n content\n read\n createdAt\n }\n }\n")}},function(n){n.O(0,[7430,55,4007,7070,9624,7288,3240,3375,5289,1744],function(){return n(n.s=41274)}),_N_E=n.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/doc/new/page-1ef17208e54641eb.js b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/doc/new/page-617dcbfdf2620118.js similarity index 100% rename from ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/doc/new/page-1ef17208e54641eb.js rename to ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/doc/new/page-617dcbfdf2620118.js diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/doc/page-60e5387a44f13784.js b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/doc/page-60e5387a44f13784.js deleted file mode 100644 index 2f89e0f85221..000000000000 --- a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/doc/page-60e5387a44f13784.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9631],{67817:function(e,n,s){Promise.resolve().then(s.bind(s,81487)),Promise.resolve().then(s.bind(s,10059)),Promise.resolve().then(s.bind(s,81565)),Promise.resolve().then(s.t.bind(s,54007,23))},81487:function(e,n,s){"use strict";s.r(n),s.d(n,{default:function(){return k}});var t=s(36164),r=s(3546),i=s(70652),l=s.n(i),o=s(2578),a=s(40055),d=s(43240),c=s(24449),u=s(11634),f=s(70410),m=s(31458),h=s(81565),v=s(82394),x=s(84942),p=s(99047),g=s(6230),j=s(7121),b=s(40030),N=s(55137),w=s(14522);let y=(0,d.BX)("\n query CustomWebDocuments(\n $ids: [ID!]\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n customWebDocuments(\n ids: $ids\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n url\n name\n id\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),C=(0,d.BX)("\n mutation DeleteCustomDocument($id: ID!) {\n deleteCustomDocument(id: $id)\n }\n");function k(){var e;let[n,s]=(0,r.useState)(1),[i,d]=(0,r.useState)(8),[k,I]=(0,r.useState)(),[S]=(0,c.n)(k,200),[D,A]=(0,r.useState)(),P=(0,r.useRef)(null),[$,z]=(0,r.useState)(!1),[{fetching:R,data:E,stale:_}]=(0,a.aM)({query:y}),[{data:M,fetching:F}]=(0,a.aM)({query:f.gI}),J=(0,u.Db)(C),B=e=>{J({id:e}).then(n=>{var s,t;if(null==n?void 0:null===(s=n.data)||void 0===s?void 0:s.deleteCustomDocument)A(n=>null==n?void 0:n.filter(n=>n.node.id!==e));else{let e=(null==n?void 0:null===(t=n.error)||void 0===t?void 0:t.message)||"Failed to delete";o.A.error(e)}}).catch(e=>{let n=(null==e?void 0:e.message)||"Failed to delete";o.A.error(n)})},W=async e=>{if(e)try{var n,s,t;let r=await u.Lp.query(y,{ids:[e]}).toPromise(),i=null==r?void 0:null===(t=r.data)||void 0===t?void 0:null===(s=t.customWebDocuments)||void 0===s?void 0:null===(n=s.edges)||void 0===n?void 0:n[0];return i}catch(e){return}},q=async e=>{try{var n;let s=await W(e);if(!(null==s?void 0:null===(n=s.node)||void 0===n?void 0:n.id)||!(null==D?void 0:D.length))return;let t=D.findIndex(e=>{var n;return(null===(n=e.node)||void 0===n?void 0:n.id)===s.node.id});t>-1&&A(e=>null==e?void 0:e.map(e=>e.node.id===s.node.id?s:e))}catch(e){}},L=(0,u.Db)(w.C),T=(e,n)=>L({command:n}).then(n=>{var s,t;(null==n?void 0:null===(s=n.data)||void 0===s?void 0:s.triggerJobRun)?(o.A.success("The job has been triggered successfully, it may take a few minutes to process."),q(e)):o.A.error((null==n?void 0:null===(t=n.error)||void 0===t?void 0:t.message)||"Failed to trigger job")});(0,r.useEffect)(()=>{var e;A(null==E?void 0:null===(e=E.customWebDocuments)||void 0===e?void 0:e.edges)},[E]);let G=(0,r.useMemo)(()=>{var e;return S?null!==(e=null==D?void 0:D.filter(e=>e.node.name.toLowerCase().includes(S)))&&void 0!==e?e:[]:D},[S,D]),O=(0,r.useMemo)(()=>null==G?void 0:G.slice((n-1)*i,n*i),[G,n,i]);return(0,r.useEffect)(()=>{s(1)},[S]),(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(g.Z,{loading:R,children:[(0,t.jsxs)(p.iA,{className:"min-w-[300px] table-fixed border-b",children:[(0,t.jsx)(p.xD,{children:(0,t.jsxs)(p.SC,{children:[(0,t.jsxs)(p.ss,{className:"flex items-center gap-1.5",children:["Name",(0,t.jsxs)(x.J2,{open:$,onOpenChange:z,children:[(0,t.jsx)(x.xo,{asChild:!0,children:(0,t.jsxs)(m.z,{size:"icon",variant:"ghost",className:"relative shrink-0",children:[(0,t.jsx)(h.IconListFilter,{}),!!S&&(0,t.jsx)("div",{className:"absolute right-0 top-1 h-1.5 w-1.5 rounded-full bg-red-400"})]})}),(0,t.jsx)(x.yk,{align:"end",side:"right",className:"p-1",children:(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(h.IconSearch,{className:"absolute left-3 top-2.5 cursor-text text-muted-foreground",onClick:()=>{var e;return null===(e=P.current)||void 0===e?void 0:e.focus()}}),(0,t.jsx)(v.I,{size:30,className:"w-48 px-8",value:k,onChange:e=>I(e.target.value),ref:P,placeholder:"Search...",onKeyDown:e=>{"Enter"!==e.key||e.nativeEvent.isComposing||z(!1)}}),k?(0,t.jsx)(m.z,{variant:"ghost",size:"icon",className:"absolute right-3 top-1.5 h-6 w-6 cursor-pointer",onClick:()=>{var e;I(""),null===(e=P.current)||void 0===e||e.focus()},children:(0,t.jsx)(h.IconClose,{})}):null]})})]}),(0,t.jsx)("div",{children:(0,t.jsx)(l(),{href:"./doc/new",className:(0,m.d)({size:"icon",variant:"ghost"}),children:(0,t.jsx)(h.IconPlus,{})})})]}),(0,t.jsx)(p.ss,{className:"w-[140px]",children:"Access"}),(0,t.jsx)(p.ss,{className:"w-[180px]",children:"Job"}),(0,t.jsx)(p.ss,{className:"w-[60px]"})]})}),(0,t.jsx)(p.RM,{children:(null==O?void 0:O.length)||R?(0,t.jsx)(t.Fragment,{children:null==O?void 0:O.map(e=>(0,t.jsxs)(p.SC,{children:[(0,t.jsxs)(p.pj,{className:"break-all lg:break-words",children:[(0,t.jsx)("p",{children:e.node.name}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:e.node.url})]}),(0,t.jsx)(p.pj,{children:(0,t.jsx)(b.r,{sourceId:e.node.sourceId,sourceName:e.node.name,fetchingUserGroups:F,userGroups:null==M?void 0:M.userGroups,editable:!0})}),(0,t.jsx)(p.pj,{children:(0,t.jsx)(N._,{jobInfo:e.node.jobInfo,onTrigger:async()=>{var n,s,t;(null===(s=e.node)||void 0===s?void 0:null===(n=s.jobInfo)||void 0===n?void 0:n.command)&&T(e.node.id,null===(t=e.node)||void 0===t?void 0:t.jobInfo.command)}})}),(0,t.jsx)(p.pj,{className:"text-right",children:(0,t.jsx)(m.z,{size:"icon",variant:"hover-destructive",onClick:()=>B(e.node.id),children:(0,t.jsx)(h.IconTrash,{})})})]},e.node.id))}):(0,t.jsx)(p.SC,{className:"hover:bg-background",children:(0,t.jsx)(p.pj,{colSpan:4,className:"h-[100px] text-center",children:(null==D?void 0:D.length)?"No matches data":(0,t.jsxs)("div",{className:"my-4 flex flex-col items-center gap-4",children:["No data",(0,t.jsxs)(l(),{href:"./doc/new",className:(0,m.d)(),children:[(0,t.jsx)(h.IconPlus,{}),"Add"]})]})})})})]}),(0,t.jsx)(j.x,{className:"mt-2 flex justify-end",page:n,pageSize:i,showQuickJumper:!0,totalCount:null!==(e=null==G?void 0:G.length)&&void 0!==e?e:0,onChange:(e,n)=>{s(e),d(n)}})]})})}},10059:function(e,n,s){"use strict";s.r(n),s.d(n,{default:function(){return y}});var t=s(36164),r=s(3546),i=s(45238),l=s(2578),o=s(40055),a=s(43240),d=s(24449),c=s(11634),u=s(31458),f=s(81565),m=s(82394),h=s(84942),v=s(98815),x=s(99047),p=s(6230),g=s(7121),j=s(55137),b=s(14522);let N=(0,a.BX)("\n query PresetWebDocuments(\n $ids: [ID!]\n $after: String\n $before: String\n $first: Int\n $last: Int\n $isActive: Boolean\n ) {\n presetWebDocuments(\n ids: $ids\n after: $after\n before: $before\n first: $first\n last: $last\n isActive: $isActive\n ) {\n edges {\n node {\n id\n name\n isActive\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),w=(0,a.BX)("\n mutation SetPresetDocumentActive($input: SetPresetDocumentActiveInput!) {\n setPresetDocumentActive(input: $input)\n }\n");function y(){var e;let[n,s]=(0,r.useState)(1),[a,y]=(0,r.useState)(8),[C,k]=(0,r.useState)(),[I]=(0,d.n)(C,200),[S,D]=(0,r.useState)(),[A,P]=(0,r.useState)(new Set),$=(0,r.useRef)(null),[z,R]=(0,r.useState)(!1),[{data:E,stale:_}]=(0,o.aM)({query:N}),M=(0,c.Db)(w),F=async e=>{if(e)try{var n,s,t;let r=await c.Lp.query(N,{ids:[e]}).toPromise(),i=null==r?void 0:null===(t=r.data)||void 0===t?void 0:null===(s=t.presetWebDocuments)||void 0===s?void 0:null===(n=s.edges)||void 0===n?void 0:n[0];return i}catch(e){return}},J=async e=>{try{var n;let s=await F(e);if(!(null==s?void 0:null===(n=s.node)||void 0===n?void 0:n.id)||!(null==S?void 0:S.length))return;let t=S.findIndex(e=>{var n;return(null===(n=e.node)||void 0===n?void 0:n.id)===s.node.id});t>-1&&D(e=>null==e?void 0:e.map(e=>e.node.id===s.node.id?s:e))}catch(e){}},B=(0,c.Db)(b.C),W=(e,n)=>B({command:n}).then(n=>{var s,t;(null==n?void 0:null===(s=n.data)||void 0===s?void 0:s.triggerJobRun)?(l.A.success("The job has been triggered successfully, it may take a few minutes to process."),J(e)):l.A.error((null==n?void 0:null===(t=n.error)||void 0===t?void 0:t.message)||"Failed to trigger job")}),q=(e,n)=>{A.has(e)||(P(n=>{let s=new Set(n);return s.add(e),s}),D(s=>null==s?void 0:s.map(s=>s.node.id===e?{...s,node:{...s.node,isActive:n}}:s)),M({input:{id:e,active:n}}).then(s=>{var t,r,i;if(!(null==s?void 0:null===(t=s.data)||void 0===t?void 0:t.setPresetDocumentActive)){let t=null!==(i=null==s?void 0:null===(r=s.error)||void 0===r?void 0:r.message)&&void 0!==i?i:"Failed to update";l.A.error(t),D(s=>null==s?void 0:s.map(s=>s.node.id!==e?s:{...s,node:{...s.node,isActive:!n}}))}}).finally(()=>{P(n=>{let s=new Set(n);return s.delete(e),s}),J(e)}))};(0,r.useEffect)(()=>{var e;D(null==E?void 0:null===(e=E.presetWebDocuments)||void 0===e?void 0:e.edges)},[E]);let L=(0,r.useMemo)(()=>{if(!I||!(null==S?void 0:S.length))return null!=S?S:[];let e=(0,i.go)(I,S,{key:e=>e.node.name});return e.map(e=>e.obj)},[I,S]),T=(0,r.useMemo)(()=>null==L?void 0:L.slice((n-1)*a,n*a),[L,n,a]);return(0,r.useEffect)(()=>{s(1)},[I]),(0,t.jsx)("div",{className:"min-h-[30.5rem]",children:(0,t.jsxs)(p.Z,{loading:!E||_,children:[(0,t.jsxs)(x.iA,{className:"min-w-[300px] table-fixed border-b",children:[(0,t.jsx)(x.xD,{children:(0,t.jsxs)(x.SC,{children:[(0,t.jsxs)(x.ss,{className:"flex items-center gap-1.5",children:["Name",(0,t.jsxs)(h.J2,{open:z,onOpenChange:R,children:[(0,t.jsx)(h.xo,{asChild:!0,children:(0,t.jsxs)(u.z,{size:"icon",variant:"ghost",className:"relative shrink-0",children:[(0,t.jsx)(f.IconListFilter,{}),!!I&&(0,t.jsx)("div",{className:"absolute right-0 top-1 h-1.5 w-1.5 rounded-full bg-red-400"})]})}),(0,t.jsx)(h.yk,{align:"end",side:"right",className:"p-1",children:(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(f.IconSearch,{className:"absolute left-3 top-2.5 cursor-text text-muted-foreground",onClick:()=>{var e;return null===(e=$.current)||void 0===e?void 0:e.focus()}}),(0,t.jsx)(m.I,{size:30,className:"w-48 px-8",value:C,onChange:e=>k(e.target.value),ref:$,placeholder:"Search...",onKeyDown:e=>{"Enter"!==e.key||e.nativeEvent.isComposing||R(!1)}}),C?(0,t.jsx)(u.z,{variant:"ghost",size:"icon",className:"absolute right-3 top-1.5 h-6 w-6 cursor-pointer",onClick:()=>{var e;k(""),null===(e=$.current)||void 0===e||e.focus()},children:(0,t.jsx)(f.IconClose,{})}):null]})})]})]}),(0,t.jsx)(x.ss,{className:"w-[100px] lg:w-[200px]",children:"Job"}),(0,t.jsx)(x.ss,{className:"w-[100px] text-right"})]})}),(0,t.jsx)(x.RM,{children:(null==T?void 0:T.length)?(0,t.jsx)(t.Fragment,{children:null==T?void 0:T.map(e=>(0,t.jsxs)(x.SC,{children:[(0,t.jsx)(x.pj,{className:"break-all lg:break-words",children:e.node.name}),(0,t.jsx)(x.pj,{children:e.node.isActive?(0,t.jsx)(j._,{jobInfo:e.node.jobInfo,onTrigger:async()=>{var n,s,t;(null===(s=e.node)||void 0===s?void 0:null===(n=s.jobInfo)||void 0===n?void 0:n.command)&&W(e.node.id,null===(t=e.node)||void 0===t?void 0:t.jobInfo.command)}}):null}),(0,t.jsx)(x.pj,{className:"text-right",children:(0,t.jsx)(v.r,{checked:e.node.isActive,onCheckedChange:n=>q(e.node.id,n),className:"my-1"})})]},e.node.id))}):(0,t.jsx)(x.SC,{children:(0,t.jsx)(x.pj,{colSpan:3,className:"h-[100px] text-center",children:(null==S?void 0:S.length)?"No matches data":"No data"})})})]}),(0,t.jsx)(g.x,{className:"mt-2 flex justify-end",page:n,pageSize:a,showQuickJumper:!0,totalCount:null!==(e=null==L?void 0:L.length)&&void 0!==e?e:0,onChange:(e,n)=>{s(e),y(n)}})]})})}},7121:function(e,n,s){"use strict";s.d(n,{x:function(){return d}});var t=s(36164),r=s(3546),i=s(79876),l=s(49506),o=s(54594);let a=["5","10","20","30","50"],d=e=>{let{className:n,page:s,totalCount:d,pageSize:c=10,showQuickJumper:u=!1,showSizeChanger:f=!1,onChange:m}=e,[h,v]=(0,r.useState)(s),[x,p]=(0,r.useState)(c),g=Math.ceil(d/x),j=(0,i.S)(d,h,x);return((0,r.useEffect)(()=>{s&&s!==h&&v(s)},[s]),(0,r.useEffect)(()=>{c&&c!==x&&p(c)},[c]),j.length<=1)?null:(0,t.jsx)(l.tl,{className:n,children:(0,t.jsxs)(l.ng,{children:[f&&(0,t.jsxs)("div",{className:"mr-2 flex items-center space-x-2",children:[(0,t.jsx)("span",{className:"text-sm font-medium",children:"Rows per page"}),(0,t.jsxs)(o.Ph,{value:String(x),onValueChange:e=>{null==m||m(h,+e)},children:[(0,t.jsx)(o.i4,{className:"h-8 w-[70px]",children:(0,t.jsx)(o.ki,{})}),(0,t.jsx)(o.Bw,{align:"end",children:a.map(e=>(0,t.jsx)(o.Ql,{value:e,children:e},e))})]})]}),(0,t.jsx)(l.nt,{children:(0,t.jsx)(l.dN,{disabled:1===h,onClick:()=>{if(1===h)return;let e=h-1;v(e),null==m||m(e,x)}})}),u&&(0,t.jsx)(t.Fragment,{children:j.map((e,n)=>(0,t.jsx)(l.nt,{onClick:()=>{"number"==typeof e&&(v(e),null==m||m(e,x))},children:"number"==typeof e?(0,t.jsx)(l.kN,{className:"cursor-pointer",isActive:e===h,children:e}):(0,t.jsx)(l.Dj,{})},"".concat(e,"-").concat(n)))}),(0,t.jsx)(l.nt,{children:(0,t.jsx)(l.$0,{disabled:h===g,onClick:()=>{if(h===g)return;let e=h+1;v(e),null==m||m(e,x)}})})]})})}},82394:function(e,n,s){"use strict";s.d(n,{I:function(){return l}});var t=s(36164),r=s(3546),i=s(57288);let l=r.forwardRef((e,n)=>{let{className:s,type:r,...l}=e;return(0,t.jsx)("input",{type:r,className:(0,i.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",s),ref:n,...l})});l.displayName="Input"},49506:function(e,n,s){"use strict";s.d(n,{$0:function(){return m},Dj:function(){return h},dN:function(){return f},kN:function(){return u},ng:function(){return d},nt:function(){return c},tl:function(){return a}});var t=s(36164),r=s(3546),i=s(57288),l=s(31458),o=s(81565);let a=e=>{let{className:n,...s}=e;return(0,t.jsx)("nav",{role:"navigation","aria-label":"pagination",className:(0,i.cn)("mx-auto flex w-full justify-center",n),...s})};a.displayName="Pagination";let d=r.forwardRef((e,n)=>{let{className:s,...r}=e;return(0,t.jsx)("ul",{ref:n,className:(0,i.cn)("flex flex-row items-center gap-1",s),...r})});d.displayName="PaginationContent";let c=r.forwardRef((e,n)=>{let{className:s,...r}=e;return(0,t.jsx)("li",{ref:n,className:(0,i.cn)("",s),...r})});c.displayName="PaginationItem";let u=e=>{let{className:n,isActive:s,size:r="icon",...o}=e;return(0,t.jsx)("a",{"aria-current":s?"page":void 0,className:(0,i.cn)("select-none",(0,l.d)({variant:s?"outline":"ghost",size:r}),n),...o})};u.displayName="PaginationLink";let f=e=>{let{className:n,disabled:s,...r}=e;return(0,t.jsxs)(u,{"aria-label":"Go to previous page",size:"default",className:(0,i.cn)("cursor-pointer select-none gap-1 pl-2.5",s&&"cursor-not-allowed text-muted-foreground",n),...r,children:[(0,t.jsx)(o.IconChevronLeft,{className:"h-4 w-4"}),(0,t.jsx)("span",{children:"Previous"})]})};f.displayName="PaginationPrevious";let m=e=>{let{className:n,disabled:s,...r}=e;return(0,t.jsxs)(u,{"aria-label":"Go to next page",size:"default",className:(0,i.cn)("cursor-pointer select-none gap-1 pr-2.5",s&&"cursor-not-allowed text-muted-foreground",n),...r,children:[(0,t.jsx)("span",{children:"Next"}),(0,t.jsx)(o.IconChevronRight,{className:"h-4 w-4"})]})};m.displayName="PaginationNext";let h=e=>{let{className:n,...s}=e;return(0,t.jsxs)("span",{"aria-hidden":!0,className:(0,i.cn)("flex h-9 w-9 items-center justify-center",n),...s,children:[(0,t.jsx)(o.IconMore,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"More pages"})]})};h.displayName="PaginationEllipsis"},54594:function(e,n,s){"use strict";s.d(n,{Bw:function(){return f},DI:function(){return d},Ph:function(){return a},Ql:function(){return h},U$:function(){return v},i4:function(){return u},ki:function(){return c}});var t=s(36164),r=s(3546),i=s(31889),l=s(57288),o=s(81565);let a=i.fC,d=i.ZA,c=i.B4,u=r.forwardRef((e,n)=>{let{className:s,children:r,...a}=e;return(0,t.jsxs)(i.xz,{ref:n,className:(0,l.cn)("flex h-9 w-full items-center justify-between rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",s),...a,children:[r,(0,t.jsx)(i.JO,{asChild:!0,children:(0,t.jsx)(o.IconChevronUpDown,{className:"opacity-50"})})]})});u.displayName=i.xz.displayName;let f=r.forwardRef((e,n)=>{let{className:s,children:r,position:o="popper",...a}=e;return(0,t.jsx)(i.h_,{children:(0,t.jsx)(i.VY,{ref:n,className:(0,l.cn)("relative z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md animate-in fade-in-80","popper"===o&&"translate-y-1",s),position:o,...a,children:(0,t.jsx)(i.l_,{className:(0,l.cn)("p-1","popper"===o&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:r})})})});f.displayName=i.VY.displayName;let m=r.forwardRef((e,n)=>{let{className:s,...r}=e;return(0,t.jsx)(i.__,{ref:n,className:(0,l.cn)("py-1.5 pl-8 pr-2 text-sm font-semibold",s),...r})});m.displayName=i.__.displayName;let h=r.forwardRef((e,n)=>{let{className:s,children:r,isPlaceHolder:a,...d}=e;return(0,t.jsxs)(i.ck,{ref:n,className:(0,l.cn)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",s),...d,children:[!a&&(0,t.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,t.jsx)(i.wU,{children:(0,t.jsx)(o.IconCheck,{className:"h-4 w-4"})})}),(0,t.jsx)(i.eT,{children:r})]})});h.displayName=i.ck.displayName;let v=r.forwardRef((e,n)=>{let{className:s,...r}=e;return(0,t.jsx)(i.Z0,{ref:n,className:(0,l.cn)("-mx-1 my-1 h-px bg-muted",s),...r})});v.displayName=i.Z0.displayName},98815:function(e,n,s){"use strict";s.d(n,{r:function(){return o}});var t=s(36164),r=s(3546),i=s(96887),l=s(57288);let o=r.forwardRef((e,n)=>{let{className:s,...r}=e;return(0,t.jsx)(i.fC,{className:(0,l.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",s),...r,ref:n,children:(0,t.jsx)(i.bU,{className:(0,l.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")})})});o.displayName=i.fC.displayName},79876:function(e,n,s){"use strict";s.d(n,{S:function(){return r}});let t=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Array.from({length:e},(e,s)=>s+n)},r=(e,n,s)=>{let r=Math.ceil(e/s);return r<=5?t(r):n<=3?[1,2,3,4,"...",r]:n{B({id:e}).then(n=>{var s,t;if(null==n?void 0:null===(s=n.data)||void 0===s?void 0:s.deleteCustomDocument)P(n=>null==n?void 0:n.filter(n=>n.node.id!==e));else{let e=(null==n?void 0:null===(t=n.error)||void 0===t?void 0:t.message)||"Failed to delete";o.A.error(e)}}).catch(e=>{let n=(null==e?void 0:e.message)||"Failed to delete";o.A.error(n)})},q=async e=>{if(e)try{var n,s,t;let r=await u.Lp.query(C,{ids:[e]}).toPromise(),i=null==r?void 0:null===(t=r.data)||void 0===t?void 0:null===(s=t.customWebDocuments)||void 0===s?void 0:null===(n=s.edges)||void 0===n?void 0:n[0];return i}catch(e){return}},L=async e=>{try{var n;let s=await q(e);if(!(null==s?void 0:null===(n=s.node)||void 0===n?void 0:n.id)||!(null==D?void 0:D.length))return;let t=D.findIndex(e=>{var n;return(null===(n=e.node)||void 0===n?void 0:n.id)===s.node.id});t>-1&&P(e=>null==e?void 0:e.map(e=>e.node.id===s.node.id?s:e))}catch(e){}},T=(0,u.Db)(y.C),G=(e,n)=>T({command:n}).then(n=>{var s,t;(null==n?void 0:null===(s=n.data)||void 0===s?void 0:s.triggerJobRun)?(o.A.success("The job has been triggered successfully, it may take a few minutes to process."),L(e)):o.A.error((null==n?void 0:null===(t=n.error)||void 0===t?void 0:t.message)||"Failed to trigger job")});(0,r.useEffect)(()=>{var e;P(null==_?void 0:null===(e=_.customWebDocuments)||void 0===e?void 0:e.edges)},[_]);let O=(0,r.useMemo)(()=>{var e;return A?null!==(e=null==D?void 0:D.filter(e=>e.node.name.toLowerCase().includes(A)))&&void 0!==e?e:[]:D},[A,D]),U=(0,r.useMemo)(()=>null==O?void 0:O.slice((n-1)*i,n*i),[O,n,i]);return(0,r.useEffect)(()=>{s(1)},[A]),(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(j.Z,{loading:E,children:[(0,t.jsxs)(p.ScrollArea,{children:[(0,t.jsxs)(g.iA,{className:"min-w-[400px] border-b",children:[(0,t.jsx)(g.xD,{children:(0,t.jsxs)(g.SC,{children:[(0,t.jsxs)(g.ss,{className:"flex items-center gap-1.5",children:["Name",(0,t.jsxs)(x.J2,{open:z,onOpenChange:R,children:[(0,t.jsx)(x.xo,{asChild:!0,children:(0,t.jsxs)(m.z,{size:"icon",variant:"ghost",className:"relative shrink-0",children:[(0,t.jsx)(h.IconListFilter,{}),!!A&&(0,t.jsx)("div",{className:"absolute right-0 top-1 h-1.5 w-1.5 rounded-full bg-red-400"})]})}),(0,t.jsx)(x.yk,{align:"end",side:"right",className:"p-1",children:(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(h.IconSearch,{className:"absolute left-3 top-2.5 cursor-text text-muted-foreground",onClick:()=>{var e;return null===(e=$.current)||void 0===e?void 0:e.focus()}}),(0,t.jsx)(v.I,{size:30,className:"w-48 px-8",value:I,onChange:e=>S(e.target.value),ref:$,placeholder:"Search...",onKeyDown:e=>{"Enter"!==e.key||e.nativeEvent.isComposing||R(!1)}}),I?(0,t.jsx)(m.z,{variant:"ghost",size:"icon",className:"absolute right-3 top-1.5 h-6 w-6 cursor-pointer",onClick:()=>{var e;S(""),null===(e=$.current)||void 0===e||e.focus()},children:(0,t.jsx)(h.IconClose,{})}):null]})})]}),(0,t.jsx)("div",{children:(0,t.jsx)(l(),{href:"./doc/new",className:(0,m.d)({size:"icon",variant:"ghost"}),children:(0,t.jsx)(h.IconPlus,{})})})]}),(0,t.jsx)(g.ss,{className:"w-[140px]",children:"Access"}),(0,t.jsx)(g.ss,{children:"Job"}),(0,t.jsx)(g.ss,{className:"w-[60px]"})]})}),(0,t.jsx)(g.RM,{children:(null==U?void 0:U.length)||E?(0,t.jsx)(t.Fragment,{children:null==U?void 0:U.map(e=>(0,t.jsxs)(g.SC,{children:[(0,t.jsxs)(g.pj,{className:"break-all lg:break-words",children:[(0,t.jsx)("p",{children:e.node.name}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:e.node.url})]}),(0,t.jsx)(g.pj,{children:(0,t.jsx)(N.r,{sourceId:e.node.sourceId,sourceName:e.node.name,fetchingUserGroups:J,userGroups:null==F?void 0:F.userGroups,editable:!0})}),(0,t.jsx)(g.pj,{children:(0,t.jsx)(w._,{jobInfo:e.node.jobInfo,onTrigger:async()=>{var n,s,t;(null===(s=e.node)||void 0===s?void 0:null===(n=s.jobInfo)||void 0===n?void 0:n.command)&&G(e.node.id,null===(t=e.node)||void 0===t?void 0:t.jobInfo.command)}})}),(0,t.jsx)(g.pj,{className:"text-right",children:(0,t.jsx)(m.z,{size:"icon",variant:"hover-destructive",onClick:()=>W(e.node.id),children:(0,t.jsx)(h.IconTrash,{})})})]},e.node.id))}):(0,t.jsx)(g.SC,{className:"hover:bg-background",children:(0,t.jsx)(g.pj,{colSpan:4,className:"h-[100px] text-center",children:(null==D?void 0:D.length)?"No matches data":(0,t.jsxs)("div",{className:"my-4 flex flex-col items-center gap-4",children:["No data",(0,t.jsxs)(l(),{href:"./doc/new",className:(0,m.d)(),children:[(0,t.jsx)(h.IconPlus,{}),"Add"]})]})})})})]}),(0,t.jsx)(p.ScrollBar,{orientation:"horizontal"})]}),(0,t.jsx)(b.x,{className:"mt-2 flex justify-end",page:n,pageSize:i,showQuickJumper:!0,totalCount:null!==(e=null==O?void 0:O.length)&&void 0!==e?e:0,onChange:(e,n)=>{s(e),d(n)}})]})})}},10059:function(e,n,s){"use strict";s.r(n),s.d(n,{default:function(){return y}});var t=s(36164),r=s(3546),i=s(45238),l=s(2578),o=s(40055),a=s(43240),d=s(24449),c=s(11634),u=s(31458),f=s(81565),m=s(82394),h=s(84942),v=s(98815),x=s(99047),p=s(6230),g=s(7121),j=s(55137),b=s(14522);let N=(0,a.BX)("\n query PresetWebDocuments(\n $ids: [ID!]\n $after: String\n $before: String\n $first: Int\n $last: Int\n $isActive: Boolean\n ) {\n presetWebDocuments(\n ids: $ids\n after: $after\n before: $before\n first: $first\n last: $last\n isActive: $isActive\n ) {\n edges {\n node {\n id\n name\n isActive\n sourceId\n jobInfo {\n lastJobRun {\n id\n job\n createdAt\n finishedAt\n exitCode\n }\n command\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n"),w=(0,a.BX)("\n mutation SetPresetDocumentActive($input: SetPresetDocumentActiveInput!) {\n setPresetDocumentActive(input: $input)\n }\n");function y(){var e;let[n,s]=(0,r.useState)(1),[a,y]=(0,r.useState)(8),[C,k]=(0,r.useState)(),[I]=(0,d.n)(C,200),[S,A]=(0,r.useState)(),[D,P]=(0,r.useState)(new Set),$=(0,r.useRef)(null),[z,R]=(0,r.useState)(!1),[{data:E,stale:_}]=(0,o.aM)({query:N}),M=(0,c.Db)(w),F=async e=>{if(e)try{var n,s,t;let r=await c.Lp.query(N,{ids:[e]}).toPromise(),i=null==r?void 0:null===(t=r.data)||void 0===t?void 0:null===(s=t.presetWebDocuments)||void 0===s?void 0:null===(n=s.edges)||void 0===n?void 0:n[0];return i}catch(e){return}},J=async e=>{try{var n;let s=await F(e);if(!(null==s?void 0:null===(n=s.node)||void 0===n?void 0:n.id)||!(null==S?void 0:S.length))return;let t=S.findIndex(e=>{var n;return(null===(n=e.node)||void 0===n?void 0:n.id)===s.node.id});t>-1&&A(e=>null==e?void 0:e.map(e=>e.node.id===s.node.id?s:e))}catch(e){}},B=(0,c.Db)(b.C),W=(e,n)=>B({command:n}).then(n=>{var s,t;(null==n?void 0:null===(s=n.data)||void 0===s?void 0:s.triggerJobRun)?(l.A.success("The job has been triggered successfully, it may take a few minutes to process."),J(e)):l.A.error((null==n?void 0:null===(t=n.error)||void 0===t?void 0:t.message)||"Failed to trigger job")}),q=(e,n)=>{D.has(e)||(P(n=>{let s=new Set(n);return s.add(e),s}),A(s=>null==s?void 0:s.map(s=>s.node.id===e?{...s,node:{...s.node,isActive:n}}:s)),M({input:{id:e,active:n}}).then(s=>{var t,r,i;if(!(null==s?void 0:null===(t=s.data)||void 0===t?void 0:t.setPresetDocumentActive)){let t=null!==(i=null==s?void 0:null===(r=s.error)||void 0===r?void 0:r.message)&&void 0!==i?i:"Failed to update";l.A.error(t),A(s=>null==s?void 0:s.map(s=>s.node.id!==e?s:{...s,node:{...s.node,isActive:!n}}))}}).finally(()=>{P(n=>{let s=new Set(n);return s.delete(e),s}),J(e)}))};(0,r.useEffect)(()=>{var e;A(null==E?void 0:null===(e=E.presetWebDocuments)||void 0===e?void 0:e.edges)},[E]);let L=(0,r.useMemo)(()=>{if(!I||!(null==S?void 0:S.length))return null!=S?S:[];let e=(0,i.go)(I,S,{key:e=>e.node.name});return e.map(e=>e.obj)},[I,S]),T=(0,r.useMemo)(()=>null==L?void 0:L.slice((n-1)*a,n*a),[L,n,a]);return(0,r.useEffect)(()=>{s(1)},[I]),(0,t.jsx)("div",{className:"min-h-[30.5rem]",children:(0,t.jsxs)(p.Z,{loading:!E||_,children:[(0,t.jsxs)(x.iA,{className:"min-w-[300px] table-fixed border-b",children:[(0,t.jsx)(x.xD,{children:(0,t.jsxs)(x.SC,{children:[(0,t.jsxs)(x.ss,{className:"flex items-center gap-1.5",children:["Name",(0,t.jsxs)(h.J2,{open:z,onOpenChange:R,children:[(0,t.jsx)(h.xo,{asChild:!0,children:(0,t.jsxs)(u.z,{size:"icon",variant:"ghost",className:"relative shrink-0",children:[(0,t.jsx)(f.IconListFilter,{}),!!I&&(0,t.jsx)("div",{className:"absolute right-0 top-1 h-1.5 w-1.5 rounded-full bg-red-400"})]})}),(0,t.jsx)(h.yk,{align:"end",side:"right",className:"p-1",children:(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(f.IconSearch,{className:"absolute left-3 top-2.5 cursor-text text-muted-foreground",onClick:()=>{var e;return null===(e=$.current)||void 0===e?void 0:e.focus()}}),(0,t.jsx)(m.I,{size:30,className:"w-48 px-8",value:C,onChange:e=>k(e.target.value),ref:$,placeholder:"Search...",onKeyDown:e=>{"Enter"!==e.key||e.nativeEvent.isComposing||R(!1)}}),C?(0,t.jsx)(u.z,{variant:"ghost",size:"icon",className:"absolute right-3 top-1.5 h-6 w-6 cursor-pointer",onClick:()=>{var e;k(""),null===(e=$.current)||void 0===e||e.focus()},children:(0,t.jsx)(f.IconClose,{})}):null]})})]})]}),(0,t.jsx)(x.ss,{className:"w-[100px] lg:w-[200px]",children:"Job"}),(0,t.jsx)(x.ss,{className:"w-[100px] text-right"})]})}),(0,t.jsx)(x.RM,{children:(null==T?void 0:T.length)?(0,t.jsx)(t.Fragment,{children:null==T?void 0:T.map(e=>(0,t.jsxs)(x.SC,{children:[(0,t.jsx)(x.pj,{className:"break-all lg:break-words",children:e.node.name}),(0,t.jsx)(x.pj,{children:e.node.isActive?(0,t.jsx)(j._,{jobInfo:e.node.jobInfo,onTrigger:async()=>{var n,s,t;(null===(s=e.node)||void 0===s?void 0:null===(n=s.jobInfo)||void 0===n?void 0:n.command)&&W(e.node.id,null===(t=e.node)||void 0===t?void 0:t.jobInfo.command)}}):null}),(0,t.jsx)(x.pj,{className:"text-right",children:(0,t.jsx)(v.r,{checked:e.node.isActive,onCheckedChange:n=>q(e.node.id,n),className:"my-1"})})]},e.node.id))}):(0,t.jsx)(x.SC,{children:(0,t.jsx)(x.pj,{colSpan:3,className:"h-[100px] text-center",children:(null==S?void 0:S.length)?"No matches data":"No data"})})})]}),(0,t.jsx)(g.x,{className:"mt-2 flex justify-end",page:n,pageSize:a,showQuickJumper:!0,totalCount:null!==(e=null==L?void 0:L.length)&&void 0!==e?e:0,onChange:(e,n)=>{s(e),y(n)}})]})})}},7121:function(e,n,s){"use strict";s.d(n,{x:function(){return d}});var t=s(36164),r=s(3546),i=s(79876),l=s(49506),o=s(54594);let a=["5","10","20","30","50"],d=e=>{let{className:n,page:s,totalCount:d,pageSize:c=10,showQuickJumper:u=!1,showSizeChanger:f=!1,onChange:m}=e,[h,v]=(0,r.useState)(s),[x,p]=(0,r.useState)(c),g=Math.ceil(d/x),j=(0,i.S)(d,h,x);return((0,r.useEffect)(()=>{s&&s!==h&&v(s)},[s]),(0,r.useEffect)(()=>{c&&c!==x&&p(c)},[c]),j.length<=1)?null:(0,t.jsx)(l.tl,{className:n,children:(0,t.jsxs)(l.ng,{children:[f&&(0,t.jsxs)("div",{className:"mr-2 flex items-center space-x-2",children:[(0,t.jsx)("span",{className:"text-sm font-medium",children:"Rows per page"}),(0,t.jsxs)(o.Ph,{value:String(x),onValueChange:e=>{null==m||m(h,+e)},children:[(0,t.jsx)(o.i4,{className:"h-8 w-[70px]",children:(0,t.jsx)(o.ki,{})}),(0,t.jsx)(o.Bw,{align:"end",children:a.map(e=>(0,t.jsx)(o.Ql,{value:e,children:e},e))})]})]}),(0,t.jsx)(l.nt,{children:(0,t.jsx)(l.dN,{disabled:1===h,onClick:()=>{if(1===h)return;let e=h-1;v(e),null==m||m(e,x)}})}),u&&(0,t.jsx)(t.Fragment,{children:j.map((e,n)=>(0,t.jsx)(l.nt,{onClick:()=>{"number"==typeof e&&(v(e),null==m||m(e,x))},children:"number"==typeof e?(0,t.jsx)(l.kN,{className:"cursor-pointer",isActive:e===h,children:e}):(0,t.jsx)(l.Dj,{})},"".concat(e,"-").concat(n)))}),(0,t.jsx)(l.nt,{children:(0,t.jsx)(l.$0,{disabled:h===g,onClick:()=>{if(h===g)return;let e=h+1;v(e),null==m||m(e,x)}})})]})})}},82394:function(e,n,s){"use strict";s.d(n,{I:function(){return l}});var t=s(36164),r=s(3546),i=s(57288);let l=r.forwardRef((e,n)=>{let{className:s,type:r,...l}=e;return(0,t.jsx)("input",{type:r,className:(0,i.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",s),ref:n,...l})});l.displayName="Input"},49506:function(e,n,s){"use strict";s.d(n,{$0:function(){return m},Dj:function(){return h},dN:function(){return f},kN:function(){return u},ng:function(){return d},nt:function(){return c},tl:function(){return a}});var t=s(36164),r=s(3546),i=s(57288),l=s(31458),o=s(81565);let a=e=>{let{className:n,...s}=e;return(0,t.jsx)("nav",{role:"navigation","aria-label":"pagination",className:(0,i.cn)("mx-auto flex w-full justify-center",n),...s})};a.displayName="Pagination";let d=r.forwardRef((e,n)=>{let{className:s,...r}=e;return(0,t.jsx)("ul",{ref:n,className:(0,i.cn)("flex flex-row items-center gap-1",s),...r})});d.displayName="PaginationContent";let c=r.forwardRef((e,n)=>{let{className:s,...r}=e;return(0,t.jsx)("li",{ref:n,className:(0,i.cn)("",s),...r})});c.displayName="PaginationItem";let u=e=>{let{className:n,isActive:s,size:r="icon",...o}=e;return(0,t.jsx)("a",{"aria-current":s?"page":void 0,className:(0,i.cn)("select-none",(0,l.d)({variant:s?"outline":"ghost",size:r}),n),...o})};u.displayName="PaginationLink";let f=e=>{let{className:n,disabled:s,...r}=e;return(0,t.jsxs)(u,{"aria-label":"Go to previous page",size:"default",className:(0,i.cn)("cursor-pointer select-none gap-1 pl-2.5",s&&"cursor-not-allowed text-muted-foreground",n),...r,children:[(0,t.jsx)(o.IconChevronLeft,{className:"h-4 w-4"}),(0,t.jsx)("span",{children:"Previous"})]})};f.displayName="PaginationPrevious";let m=e=>{let{className:n,disabled:s,...r}=e;return(0,t.jsxs)(u,{"aria-label":"Go to next page",size:"default",className:(0,i.cn)("cursor-pointer select-none gap-1 pr-2.5",s&&"cursor-not-allowed text-muted-foreground",n),...r,children:[(0,t.jsx)("span",{children:"Next"}),(0,t.jsx)(o.IconChevronRight,{className:"h-4 w-4"})]})};m.displayName="PaginationNext";let h=e=>{let{className:n,...s}=e;return(0,t.jsxs)("span",{"aria-hidden":!0,className:(0,i.cn)("flex h-9 w-9 items-center justify-center",n),...s,children:[(0,t.jsx)(o.IconMore,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"More pages"})]})};h.displayName="PaginationEllipsis"},54594:function(e,n,s){"use strict";s.d(n,{Bw:function(){return f},DI:function(){return d},Ph:function(){return a},Ql:function(){return h},U$:function(){return v},i4:function(){return u},ki:function(){return c}});var t=s(36164),r=s(3546),i=s(31889),l=s(57288),o=s(81565);let a=i.fC,d=i.ZA,c=i.B4,u=r.forwardRef((e,n)=>{let{className:s,children:r,...a}=e;return(0,t.jsxs)(i.xz,{ref:n,className:(0,l.cn)("flex h-9 w-full items-center justify-between rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",s),...a,children:[r,(0,t.jsx)(i.JO,{asChild:!0,children:(0,t.jsx)(o.IconChevronUpDown,{className:"opacity-50"})})]})});u.displayName=i.xz.displayName;let f=r.forwardRef((e,n)=>{let{className:s,children:r,position:o="popper",...a}=e;return(0,t.jsx)(i.h_,{children:(0,t.jsx)(i.VY,{ref:n,className:(0,l.cn)("relative z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md animate-in fade-in-80","popper"===o&&"translate-y-1",s),position:o,...a,children:(0,t.jsx)(i.l_,{className:(0,l.cn)("p-1","popper"===o&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:r})})})});f.displayName=i.VY.displayName;let m=r.forwardRef((e,n)=>{let{className:s,...r}=e;return(0,t.jsx)(i.__,{ref:n,className:(0,l.cn)("py-1.5 pl-8 pr-2 text-sm font-semibold",s),...r})});m.displayName=i.__.displayName;let h=r.forwardRef((e,n)=>{let{className:s,children:r,isPlaceHolder:a,...d}=e;return(0,t.jsxs)(i.ck,{ref:n,className:(0,l.cn)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",s),...d,children:[!a&&(0,t.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,t.jsx)(i.wU,{children:(0,t.jsx)(o.IconCheck,{className:"h-4 w-4"})})}),(0,t.jsx)(i.eT,{children:r})]})});h.displayName=i.ck.displayName;let v=r.forwardRef((e,n)=>{let{className:s,...r}=e;return(0,t.jsx)(i.Z0,{ref:n,className:(0,l.cn)("-mx-1 my-1 h-px bg-muted",s),...r})});v.displayName=i.Z0.displayName},98815:function(e,n,s){"use strict";s.d(n,{r:function(){return o}});var t=s(36164),r=s(3546),i=s(96887),l=s(57288);let o=r.forwardRef((e,n)=>{let{className:s,...r}=e;return(0,t.jsx)(i.fC,{className:(0,l.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",s),...r,ref:n,children:(0,t.jsx)(i.bU,{className:(0,l.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")})})});o.displayName=i.fC.displayName},79876:function(e,n,s){"use strict";s.d(n,{S:function(){return r}});let t=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Array.from({length:e},(e,s)=>s+n)},r=(e,n,s)=>{let r=Math.ceil(e/s);return r<=5?t(r):n<=3?[1,2,3,4,"...",r]:n{var e,n;return null==i?void 0:null===(n=i.gitRepositories)||void 0===n?void 0:null===(e=n.edges)||void 0===e?void 0:e.slice().reverse()},[null==i?void 0:null===(e=i.gitRepositories)||void 0===e?void 0:e.edges]),R=null==i?void 0:null===(n=i.gitRepositories)||void 0===n?void 0:n.pageInfo,Z=Math.ceil(((null==C?void 0:C.length)||0)/y),P=e=>{var n,t;return null==C?void 0:null===(t=C.slice(0,(e-1)*y))||void 0===t?void 0:null===(n=t.pop())||void 0===n?void 0:n.cursor},S=e=>{s(P(e))},A=o.useMemo(()=>{var e;return null==C?void 0:null===(e=C.slice)||void 0===e?void 0:e.call(C,(I-1)*y,I*y)},[I,C]),G=(null==R?void 0:R.hasPreviousPage)||I1,O=!!(null==A?void 0:A.length)&&(G||M),E=(0,f.Db)(b),T=(0,f.Db)(N.C),$=(e,n)=>{E({id:e}).then(e=>{var t,r;(null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.deleteGitRepository)?S(n?I-1:I):a.A.error((null==e?void 0:null===(r=e.error)||void 0===r?void 0:r.message)||"Failed to delete repository")})},D=e=>T({command:e}).then(e=>{var n,t;(null==e?void 0:null===(n=e.data)||void 0===n?void 0:n.triggerJobRun)?(a.A.success("The job has been triggered successfully, it may take a few minutes to process."),d()):a.A.error((null==e?void 0:null===(t=e.error)||void 0===t?void 0:t.message)||"Failed to trigger job")});return o.useEffect(()=>{!u&&Z1&&k(Z)},[Z,I]),(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(j.Z,{loading:u,children:[(0,r.jsxs)(m.iA,{className:"table-fixed border-t",children:[(0,r.jsx)(m.xD,{children:(0,r.jsxs)(m.SC,{children:[(0,r.jsx)(m.ss,{className:"w-[25%]",children:"Name"}),(0,r.jsx)(m.ss,{className:"w-[45%]",children:"Git URL"}),(0,r.jsx)(m.ss,{className:"w-[140px]",children:"Access"}),(0,r.jsx)(m.ss,{className:"w-[180px]",children:"Job"}),(0,r.jsx)(m.ss,{className:"w-[60px]"})]})}),(0,r.jsx)(m.RM,{children:(null==A?void 0:A.length)||1!==I?(0,r.jsx)(r.Fragment,{children:null==A?void 0:A.map(e=>(0,r.jsxs)(m.SC,{children:[(0,r.jsx)(m.pj,{className:"break-all lg:break-words",title:e.node.name,children:e.node.name}),(0,r.jsx)(m.pj,{className:"break-all lg:break-words",title:e.node.gitUrl,children:e.node.gitUrl}),(0,r.jsx)(m.pj,{className:"break-all lg:break-words",children:(0,r.jsx)(p.r,{sourceId:e.node.sourceId,sourceName:e.node.name,fetchingUserGroups:w,userGroups:null==_?void 0:_.userGroups,editable:!0})}),(0,r.jsx)(m.pj,{children:(0,r.jsx)(g._,{jobInfo:e.node.jobInfo,onTrigger:()=>D(e.node.jobInfo.command)})}),(0,r.jsx)(m.pj,{className:"text-right",children:(0,r.jsx)(l.z,{size:"icon",variant:"hover-destructive",onClick:()=>$(e.node.id,1===A.length),children:(0,r.jsx)(x.IconTrash,{})})})]},e.node.id))}):(0,r.jsx)(m.SC,{children:(0,r.jsx)(m.pj,{colSpan:5,className:"h-[100px] text-center",children:"No Data"})})})]}),O&&(0,r.jsx)(h.tl,{className:"my-4",children:(0,r.jsxs)(h.ng,{children:[(0,r.jsx)(h.nt,{children:(0,r.jsx)(h.dN,{disabled:!M,onClick:()=>{if(I<=1||u)return;let e=I-1;S(e),k(e)}})}),(0,r.jsx)(h.nt,{children:(0,r.jsx)(h.$0,{disabled:!G,onClick:()=>{if(!G||u)return;let e=I+1;S(e),k(e)}})})]})})]})})}function w(){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"my-4 flex justify-end",children:(0,r.jsx)(i(),{href:"./git/new",className:(0,l.d)(),children:"Create"})}),(0,r.jsx)(_,{})]})}},49506:function(e,n,t){"use strict";t.d(n,{$0:function(){return v},Dj:function(){return x},dN:function(){return f},kN:function(){return d},ng:function(){return c},nt:function(){return u},tl:function(){return a}});var r=t(36164),s=t(3546),i=t(57288),l=t(31458),o=t(81565);let a=e=>{let{className:n,...t}=e;return(0,r.jsx)("nav",{role:"navigation","aria-label":"pagination",className:(0,i.cn)("mx-auto flex w-full justify-center",n),...t})};a.displayName="Pagination";let c=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("ul",{ref:n,className:(0,i.cn)("flex flex-row items-center gap-1",t),...s})});c.displayName="PaginationContent";let u=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("li",{ref:n,className:(0,i.cn)("",t),...s})});u.displayName="PaginationItem";let d=e=>{let{className:n,isActive:t,size:s="icon",...o}=e;return(0,r.jsx)("a",{"aria-current":t?"page":void 0,className:(0,i.cn)("select-none",(0,l.d)({variant:t?"outline":"ghost",size:s}),n),...o})};d.displayName="PaginationLink";let f=e=>{let{className:n,disabled:t,...s}=e;return(0,r.jsxs)(d,{"aria-label":"Go to previous page",size:"default",className:(0,i.cn)("cursor-pointer select-none gap-1 pl-2.5",t&&"cursor-not-allowed text-muted-foreground",n),...s,children:[(0,r.jsx)(o.IconChevronLeft,{className:"h-4 w-4"}),(0,r.jsx)("span",{children:"Previous"})]})};f.displayName="PaginationPrevious";let v=e=>{let{className:n,disabled:t,...s}=e;return(0,r.jsxs)(d,{"aria-label":"Go to next page",size:"default",className:(0,i.cn)("cursor-pointer select-none gap-1 pr-2.5",t&&"cursor-not-allowed text-muted-foreground",n),...s,children:[(0,r.jsx)("span",{children:"Next"}),(0,r.jsx)(o.IconChevronRight,{className:"h-4 w-4"})]})};v.displayName="PaginationNext";let x=e=>{let{className:n,...t}=e;return(0,r.jsxs)("span",{"aria-hidden":!0,className:(0,i.cn)("flex h-9 w-9 items-center justify-center",n),...t,children:[(0,r.jsx)(o.IconMore,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"More pages"})]})};x.displayName="PaginationEllipsis"},21808:function(e,n,t){"use strict";t.d(n,{$6:function(){return i},$I:function(){return l},L8:function(){return s},ir:function(){return o},o0:function(){return r},rZ:function(){return a}});let r="name@yourcompany.com",s=20,i={DEMO_AUTO_LOGIN:"_tabby_demo_autologin",SEARCH_INITIAL_MSG:"_tabby_search_initial_msg",SEARCH_INITIAL_CONTEXTS:"_tabby_search_initial_contexts"},l=48,o="NOT_FOUND",a="\n"},70652:function(e,n,t){e.exports=t(54007)},18216:function(e,n,t){"use strict";var r=t(6670),s=/^\s+/;n.Z=function(e){return e?e.slice(0,(0,r.Z)(e)+1).replace(s,""):e}},6670:function(e,n){"use strict";var t=/\s/;n.Z=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},96786:function(e,n){"use strict";n.Z=function(e){return null!=e&&"object"==typeof e}},55357:function(e,n,t){"use strict";var r=t(17996),s=t(96786);n.Z=function(e){return"symbol"==typeof e||(0,s.Z)(e)&&"[object Symbol]"==(0,r.Z)(e)}},26165:function(e,n,t){"use strict";var r=t(18216),s=t(84639),i=t(55357),l=0/0,o=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;n.Z=function(e){if("number"==typeof e)return e;if((0,i.Z)(e))return l;if((0,s.Z)(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=(0,s.Z)(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=(0,r.Z)(e);var t=a.test(e);return t||c.test(e)?u(e.slice(2),t?2:8):o.test(e)?l:+e}}},function(e){e.O(0,[8415,7565,7430,55,7812,4007,9643,4752,3449,2578,8511,4421,5669,6805,7288,1565,3240,4656,2869,3375,5289,1744],function(){return e(e.s=88722)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/git/page-b23c8461039e85f2.js b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/git/page-b23c8461039e85f2.js new file mode 100644 index 000000000000..5ade36f6acbc --- /dev/null +++ b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/git/page-b23c8461039e85f2.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[214],{88722:function(e,n,r){Promise.resolve().then(r.bind(r,71901))},71901:function(e,n,r){"use strict";r.r(n),r.d(n,{default:function(){return I}});var t=r(36164),i=r(70652),s=r.n(i),l=r(31458),o=r(3546),a=r(2578),c=r(40055),u=r(21808),d=r(43240),f=r(11634),v=r(70410),x=r(81565),h=r(49506),j=r(57830),m=r(99047),p=r(6230),g=r(40030),N=r(55137),b=r(14522);let y=(0,d.BX)("\n mutation deleteGitRepository($id: ID!) {\n deleteGitRepository(id: $id)\n }\n"),w=u.L8;function k(){var e,n;let[r,i]=o.useState(),[{data:s,fetching:u},d]=(0,c.aM)({query:v.S1,variables:{last:w,before:r}}),[{data:k,fetching:I}]=(0,c.aM)({query:v.gI}),[Z,C]=o.useState(1),_=o.useMemo(()=>{var e,n;return null==s?void 0:null===(n=s.gitRepositories)||void 0===n?void 0:null===(e=n.edges)||void 0===e?void 0:e.slice().reverse()},[null==s?void 0:null===(e=s.gitRepositories)||void 0===e?void 0:e.edges]),P=null==s?void 0:null===(n=s.gitRepositories)||void 0===n?void 0:n.pageInfo,R=Math.ceil(((null==_?void 0:_.length)||0)/w),G=e=>{var n,r;return null==_?void 0:null===(r=_.slice(0,(e-1)*w))||void 0===r?void 0:null===(n=r.pop())||void 0===n?void 0:n.cursor},S=e=>{i(G(e))},M=o.useMemo(()=>{var e;return null==_?void 0:null===(e=_.slice)||void 0===e?void 0:e.call(_,(Z-1)*w,Z*w)},[Z,_]),O=(null==P?void 0:P.hasPreviousPage)||Z1,A=!!(null==M?void 0:M.length)&&(O||$),D=(0,f.Db)(y),E=(0,f.Db)(b.C),F=(e,n)=>{D({id:e}).then(e=>{var r,t;(null==e?void 0:null===(r=e.data)||void 0===r?void 0:r.deleteGitRepository)?S(n?Z-1:Z):a.A.error((null==e?void 0:null===(t=e.error)||void 0===t?void 0:t.message)||"Failed to delete repository")})},L=e=>E({command:e}).then(e=>{var n,r;(null==e?void 0:null===(n=e.data)||void 0===n?void 0:n.triggerJobRun)?(a.A.success("The job has been triggered successfully, it may take a few minutes to process."),d()):a.A.error((null==e?void 0:null===(r=e.error)||void 0===r?void 0:r.message)||"Failed to trigger job")});return o.useEffect(()=>{!u&&R1&&C(R)},[R,Z]),(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(p.Z,{loading:u,children:[(0,t.jsxs)(j.ScrollArea,{children:[(0,t.jsxs)(m.iA,{className:"min-w-[400px] border-t",children:[(0,t.jsx)(m.xD,{children:(0,t.jsxs)(m.SC,{children:[(0,t.jsx)(m.ss,{className:"w-[25%]",children:"Name"}),(0,t.jsx)(m.ss,{className:"w-[45%]",children:"Git URL"}),(0,t.jsx)(m.ss,{className:"w-[140px]",children:"Access"}),(0,t.jsx)(m.ss,{children:"Job"}),(0,t.jsx)(m.ss,{className:"w-[60px]"})]})}),(0,t.jsx)(m.RM,{children:(null==M?void 0:M.length)||1!==Z?(0,t.jsx)(t.Fragment,{children:null==M?void 0:M.map(e=>(0,t.jsxs)(m.SC,{children:[(0,t.jsx)(m.pj,{className:"break-all lg:break-words",title:e.node.name,children:e.node.name}),(0,t.jsx)(m.pj,{className:"break-all lg:break-words",title:e.node.gitUrl,children:e.node.gitUrl}),(0,t.jsx)(m.pj,{className:"break-all lg:break-words",children:(0,t.jsx)(g.r,{sourceId:e.node.sourceId,sourceName:e.node.name,fetchingUserGroups:I,userGroups:null==k?void 0:k.userGroups,editable:!0})}),(0,t.jsx)(m.pj,{children:(0,t.jsx)(N._,{jobInfo:e.node.jobInfo,onTrigger:()=>L(e.node.jobInfo.command)})}),(0,t.jsx)(m.pj,{className:"text-right",children:(0,t.jsx)(l.z,{size:"icon",variant:"hover-destructive",onClick:()=>F(e.node.id,1===M.length),children:(0,t.jsx)(x.IconTrash,{})})})]},e.node.id))}):(0,t.jsx)(m.SC,{children:(0,t.jsx)(m.pj,{colSpan:5,className:"h-[100px] text-center",children:"No Data"})})})]}),(0,t.jsx)(j.ScrollBar,{orientation:"horizontal"})]}),A&&(0,t.jsx)(h.tl,{className:"my-4",children:(0,t.jsxs)(h.ng,{children:[(0,t.jsx)(h.nt,{children:(0,t.jsx)(h.dN,{disabled:!$,onClick:()=>{if(Z<=1||u)return;let e=Z-1;S(e),C(e)}})}),(0,t.jsx)(h.nt,{children:(0,t.jsx)(h.$0,{disabled:!O,onClick:()=>{if(!O||u)return;let e=Z+1;S(e),C(e)}})})]})})]})})}function I(){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"my-4 flex justify-end",children:(0,t.jsx)(s(),{href:"./git/new",className:(0,l.d)(),children:"Create"})}),(0,t.jsx)(k,{})]})}},49506:function(e,n,r){"use strict";r.d(n,{$0:function(){return v},Dj:function(){return x},dN:function(){return f},kN:function(){return d},ng:function(){return c},nt:function(){return u},tl:function(){return a}});var t=r(36164),i=r(3546),s=r(57288),l=r(31458),o=r(81565);let a=e=>{let{className:n,...r}=e;return(0,t.jsx)("nav",{role:"navigation","aria-label":"pagination",className:(0,s.cn)("mx-auto flex w-full justify-center",n),...r})};a.displayName="Pagination";let c=i.forwardRef((e,n)=>{let{className:r,...i}=e;return(0,t.jsx)("ul",{ref:n,className:(0,s.cn)("flex flex-row items-center gap-1",r),...i})});c.displayName="PaginationContent";let u=i.forwardRef((e,n)=>{let{className:r,...i}=e;return(0,t.jsx)("li",{ref:n,className:(0,s.cn)("",r),...i})});u.displayName="PaginationItem";let d=e=>{let{className:n,isActive:r,size:i="icon",...o}=e;return(0,t.jsx)("a",{"aria-current":r?"page":void 0,className:(0,s.cn)("select-none",(0,l.d)({variant:r?"outline":"ghost",size:i}),n),...o})};d.displayName="PaginationLink";let f=e=>{let{className:n,disabled:r,...i}=e;return(0,t.jsxs)(d,{"aria-label":"Go to previous page",size:"default",className:(0,s.cn)("cursor-pointer select-none gap-1 pl-2.5",r&&"cursor-not-allowed text-muted-foreground",n),...i,children:[(0,t.jsx)(o.IconChevronLeft,{className:"h-4 w-4"}),(0,t.jsx)("span",{children:"Previous"})]})};f.displayName="PaginationPrevious";let v=e=>{let{className:n,disabled:r,...i}=e;return(0,t.jsxs)(d,{"aria-label":"Go to next page",size:"default",className:(0,s.cn)("cursor-pointer select-none gap-1 pr-2.5",r&&"cursor-not-allowed text-muted-foreground",n),...i,children:[(0,t.jsx)("span",{children:"Next"}),(0,t.jsx)(o.IconChevronRight,{className:"h-4 w-4"})]})};v.displayName="PaginationNext";let x=e=>{let{className:n,...r}=e;return(0,t.jsxs)("span",{"aria-hidden":!0,className:(0,s.cn)("flex h-9 w-9 items-center justify-center",n),...r,children:[(0,t.jsx)(o.IconMore,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"More pages"})]})};x.displayName="PaginationEllipsis"},21808:function(e,n,r){"use strict";r.d(n,{$6:function(){return s},$I:function(){return l},L8:function(){return i},ir:function(){return o},o0:function(){return t},rZ:function(){return a}});let t="name@yourcompany.com",i=20,s={DEMO_AUTO_LOGIN:"_tabby_demo_autologin"},l=48,o="NOT_FOUND",a="\n"},18216:function(e,n,r){"use strict";var t=r(6670),i=/^\s+/;n.Z=function(e){return e?e.slice(0,(0,t.Z)(e)+1).replace(i,""):e}},6670:function(e,n){"use strict";var r=/\s/;n.Z=function(e){for(var n=e.length;n--&&r.test(e.charAt(n)););return n}},96786:function(e,n){"use strict";n.Z=function(e){return null!=e&&"object"==typeof e}},55357:function(e,n,r){"use strict";var t=r(17996),i=r(96786);n.Z=function(e){return"symbol"==typeof e||(0,i.Z)(e)&&"[object Symbol]"==(0,t.Z)(e)}},26165:function(e,n,r){"use strict";var t=r(18216),i=r(84639),s=r(55357),l=0/0,o=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;n.Z=function(e){if("number"==typeof e)return e;if((0,s.Z)(e))return l;if((0,i.Z)(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=(0,i.Z)(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=(0,t.Z)(e);var r=a.test(e);return r||c.test(e)?u(e.slice(2),r?2:8):o.test(e)?l:+e}}},function(e){e.O(0,[8415,7565,7430,55,7812,4007,9643,4752,3449,2578,8511,4421,1002,6805,4553,7288,1565,3240,4656,4731,3375,5289,1744],function(){return e(e.s=88722)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-d7262c1e7c5683d4.js b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-80834c5ba4f4197c.js similarity index 99% rename from ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-d7262c1e7c5683d4.js rename to ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-80834c5ba4f4197c.js index ee4025aec76c..2c932b8bd31e 100644 --- a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-d7262c1e7c5683d4.js +++ b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-80834c5ba4f4197c.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6807],{23968:function(e,t,n){Promise.resolve().then(n.bind(n,69145)),Promise.resolve().then(n.bind(n,57830))},69145:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return m}});var r=n(36164),s=n(3546),i=n(70652),o=n.n(i),a=n(11978),l=n(14375),c=n(57288),u=n(63795),d=n(30601),f=n(90155),h=n(11529);let v=(0,l.j)("flex items-center gap-1 rounded-lg px-3 py-2 transition-all hover:bg-accent",{variants:{state:{selected:"bg-accent","not-selected":""}},defaultVariants:{state:"not-selected"}});function m(e){let{className:t}=e,[n]=(0,d.Hb)(),[s]=(0,f.useShowLicenseBanner)();return(0,r.jsxs)("div",{className:(0,c.cn)("sticky top-16 space-y-1 overflow-y-auto border-r pr-4 text-sm font-medium",t),style:n||s?{height:"calc(100vh - ".concat(n&&s?"7rem":"3.5rem"," - 4rem)")}:{height:"calc(100vh - 4rem)"},children:[(0,r.jsx)(p,{href:"/settings/providers/git",children:"Git"}),h.K.map(e=>(0,r.jsx)(p,{href:"/settings/providers/".concat(e.name),children:e.meta.displayName},e.name)),(0,r.jsxs)(p,{href:"/settings/providers/doc",children:["Developer Docs",(0,r.jsx)(u.C,{variant:"outline",className:"h-3.5 border-secondary-foreground/60 px-1.5 text-[10px] text-secondary-foreground/60",children:"Beta"})]})]})}function p(e){let{href:t,children:n}=e,i=(0,a.usePathname)(),l=s.useMemo(()=>{var e;let n="/settings/providers/doc";if(null==i?void 0:i.startsWith(n))return t.startsWith(n);let r=null===(e=i.match(/^(\/settings\/providers\/[\w-]+)/))||void 0===e?void 0:e[1];return r===t},[i,t]);return(0,r.jsx)(o(),{className:v({state:l?"selected":"not-selected"}),href:t,children:n})}},11529:function(e,t,n){"use strict";n.d(t,{K:function(){return s}});var r=n(18500);let s=[{name:"github",enum:r.q6.Github,meta:{displayName:"GitHub"}},{name:"github-self-hosted",enum:r.q6.GithubSelfHosted,meta:{displayName:"GitHub Self-Hosted"}},{name:"gitlab",enum:r.q6.Gitlab,meta:{displayName:"GitLab"}},{name:"gitlab-self-hosted",enum:r.q6.GitlabSelfHosted,meta:{displayName:"GitLab Self-Hosted"}}]},30601:function(e,t,n){"use strict";n.d(t,{Hb:function(){return h},wt:function(){return u},xc:function(){return v},yo:function(){return f}});var r=n(36164),s=n(3546),i=n(74630),o=n(36327),a=n(80605),l=n(57288),c=n(81565);let u="3.5rem",d=s.createContext({}),f=e=>{let{children:t}=e,n=(0,a.UA)(),[o,l]=s.useState(!1);return s.useEffect(()=>{let e=window.self!==window.top;e||(0,i.Z)(n)||l(n)},[n]),(0,r.jsx)(d.Provider,{value:{isShowDemoBanner:o,setIsShowDemoBanner:l},children:t})};function h(){let{isShowDemoBanner:e,setIsShowDemoBanner:t}=s.useContext(d);return[e,t]}function v(){let[e,t]=h(),{data:n}=(0,o.Z)("https://api.github.com/repos/TabbyML/tabby",e=>fetch(e).then(e=>e.json()));return(0,r.jsxs)("div",{className:(0,l.cn)("flex items-center justify-between bg-primary px-4 text-primary-foreground transition-[opacity,height] md:px-5",{"opacity-100 pointer-events-auto":e,"opacity-0 pointer-events-none":!e}),style:e?{height:u}:{height:0},children:[(0,r.jsxs)("a",{href:"https://links.tabbyml.com/schedule-a-demo",target:"_blank",className:"flex items-center gap-x-2 text-xs font-semibold underline md:text-sm",children:[(0,r.jsx)("span",{children:"\uD83D\uDCC6"}),(0,r.jsx)("span",{children:"Book a 30-minute product demo."})]}),e&&(0,r.jsx)("img",{referrerPolicy:"no-referrer-when-downgrade",src:"https://static.scarf.sh/a.png?x-pxid=b1d0308a-b3c5-425a-972a-378d883a2bca"}),(0,r.jsxs)("div",{className:"flex items-center gap-x-4 md:gap-x-8",children:[(0,r.jsxs)("a",{href:"https://github.com/TabbyML/tabby",target:"_blank",className:"flex items-center transition-all hover:opacity-70",children:[(0,r.jsx)(c.IconGithub,{}),(0,r.jsxs)("div",{className:"ml-2 hidden md:block",children:[(0,r.jsx)("p",{className:"text-xs font-semibold",children:"TabbyML/tabby"}),(0,r.jsxs)("div",{className:(0,l.cn)("flex items-center text-xs transition-all",{"h-4 opacity-70":n,"h-0 opacity-0":!n}),children:[(0,r.jsx)(c.IconStar,{className:"mr-1 h-2.5 w-2.5"}),(0,r.jsx)("span",{children:null==n?void 0:n.stargazers_count}),(0,r.jsx)(c.IconGitFork,{className:"ml-2 mr-1 h-2.5 w-2.5"}),(0,r.jsx)("span",{children:null==n?void 0:n.forks_count})]})]})]}),(0,r.jsx)(c.IconClose,{className:"cursor-pointer transition-all hover:opacity-70",onClick:()=>t(!1)})]})]})}},90155:function(e,t,n){"use strict";n.r(t),n.d(t,{BANNER_HEIGHT:function(){return f},LicenseBanner:function(){return p},ShowLicenseBannerProvider:function(){return v},useShowLicenseBanner:function(){return m}});var r=n(36164),s=n(3546),i=n(70652),o=n.n(i),a=n(11978),l=n(29917),c=n(57288),u=n(81565),d=n(31458);let f="3.5rem",h=s.createContext({}),v=e=>{let{children:t}=e,{isExpired:n,isSeatsExceeded:i,isLicenseOK:o}=(0,l.Cz)(),[a,c]=s.useState(!1);return s.useEffect(()=>{let e=window.self!==window.top;!e&&(n||i?c(!0):o&&c(!1))},[o,n,i]),(0,r.jsx)(h.Provider,{value:{isShowLicenseBanner:a,setIsShowLicenseBanner:c},children:t})};function m(){let{isShowLicenseBanner:e,setIsShowLicenseBanner:t}=s.useContext(h);return[e,t]}function p(){let[e,t]=m(),{isExpired:n,isSeatsExceeded:i}=(0,l.Cz)(),h=(0,a.usePathname)(),v=(0,s.useMemo)(()=>n?"Your subscription is expired.":i?"You have more active users than seats included in your subscription.":"No valid license configured",[n,i]);return(0,r.jsxs)("div",{className:(0,c.cn)("flex items-center justify-between bg-secondary px-4 text-secondary-foreground transition-[height,opacity] md:px-5",{"opacity-100 pointer-events-auto border-b":e,"opacity-0 pointer-events-none":!e}),style:e?{height:f}:{height:0},children:[(0,r.jsxs)("div",{className:"flex items-center gap-1 font-semibold text-destructive",children:[(0,r.jsx)(u.IconNotice,{}),v]}),(0,r.jsxs)("div",{className:"flex items-center gap-x-4 md:gap-x-8",children:["/settings/subscription"!==h&&(0,r.jsx)(o(),{href:"/settings/subscription",className:(0,c.cn)((0,d.d)(),"gap-1"),children:"See more"}),(0,r.jsx)(u.IconClose,{className:"cursor-pointer transition-all hover:opacity-70",onClick:()=>t(!1)})]})]})}},63795:function(e,t,n){"use strict";n.d(t,{C:function(){return a}});var r=n(36164);n(3546);var s=n(14375),i=n(57288);let o=(0,s.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",successful:"border-transparent bg-successful text-successful-foreground hover:bg-successful/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function a(e){let{className:t,variant:n,...s}=e;return(0,r.jsx)("div",{className:(0,i.cn)(o({variant:n}),t),...s})}},31458:function(e,t,n){"use strict";n.d(t,{d:function(){return l},z:function(){return c}});var r=n(36164),s=n(3546),i=n(74047),o=n(14375),a=n(57288);let l=(0,o.j)("inline-flex items-center justify-center rounded-md text-sm font-medium shadow ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-md hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90","hover-destructive":"shadow-none hover:bg-destructive/90 hover:text-destructive-foreground",outline:"border border-input hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"shadow-none hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 shadow-none hover:underline"},size:{default:"h-8 px-4 py-2",sm:"h-8 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-8 w-8 p-0"}},defaultVariants:{variant:"default",size:"default"}}),c=s.forwardRef((e,t)=>{let{className:n,variant:s,size:o,asChild:c=!1,...u}=e,d=c?i.g7:"button";return(0,r.jsx)(d,{className:(0,a.cn)(l({variant:s,size:o,className:n})),ref:t,...u})});c.displayName="Button"},57830:function(e,t,n){"use strict";n.r(t),n.d(t,{ScrollArea:function(){return a},ScrollBar:function(){return l}});var r=n(36164),s=n(3546),i=n(50778),o=n(57288);let a=s.forwardRef((e,t)=>{let{className:n,children:s,...a}=e;return(0,r.jsxs)(i.fC,{className:(0,o.cn)("relative overflow-hidden",n),...a,children:[(0,r.jsx)(i.l_,{ref:t,className:"h-full w-full rounded-[inherit] [&>div]:!block",children:s}),(0,r.jsx)(l,{}),(0,r.jsx)(i.Ns,{})]})});a.displayName=i.fC.displayName;let l=s.forwardRef((e,t)=>{let{className:n,orientation:s="vertical",...a}=e;return(0,r.jsx)(i.gb,{ref:t,orientation:s,className:(0,o.cn)("flex touch-none select-none transition-colors","vertical"===s&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===s&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",n),...a,children:(0,r.jsx)(i.q4,{className:"relative flex-1 rounded-full bg-border"})})});l.displayName=i.gb.displayName},29917:function(e,t,n){"use strict";n.d(t,{Cz:function(){return u},Gm:function(){return c},jp:function(){return l}});var r=n(11978),s=n(40055),i=n(43240),o=n(18500);let a=(0,i.BX)("\n query GetLicenseInfo {\n license {\n type\n status\n seats\n seatsUsed\n issuedAt\n expiresAt\n }\n }\n"),l=()=>(0,s.aM)({query:a}),c=()=>{let[{data:e}]=l();return null==e?void 0:e.license},u=e=>{var t;let[{data:n}]=l(),s=null==n?void 0:n.license,i=(0,r.useSearchParams)(),a=!!s&&(!(null==e?void 0:null===(t=e.licenses)||void 0===t?void 0:t.length)||e.licenses.includes(s.type)),c=(null==s?void 0:s.status)===o.Rj.Ok,u=(null==s?void 0:s.status)===o.Rj.Expired,d=(null==s?void 0:s.status)===(null===o.Rj||void 0===o.Rj?void 0:o.Rj.SeatsExceeded),f="expired"===i.get("licenseError"),h="seatsExceed"===i.get("licenseError");return{hasLicense:!!s,isLicenseOK:c&&!(f||h),isExpired:u||f,isSeatsExceeded:d||h,hasSufficientLicense:a}}},80605:function(e,t,n){"use strict";n.d(t,{UA:function(){return f},Uw:function(){return u},c7:function(){return c},jJ:function(){return d},vN:function(){return a},xG:function(){return l}});var r=n(40055),s=n(43240);let i=(0,s.BX)("\n query GetServerInfo {\n serverInfo {\n isAdminInitialized\n isEmailConfigured\n isChatEnabled\n allowSelfSignup\n isDemoMode\n }\n }\n"),o=()=>{let[{data:e}]=(0,r.aM)({query:i});return null==e?void 0:e.serverInfo},a=()=>{let[{fetching:e}]=(0,r.aM)({query:i});return e},l=()=>{var e;return null===(e=o())||void 0===e?void 0:e.isChatEnabled},c=()=>{var e;return null===(e=o())||void 0===e?void 0:e.isAdminInitialized},u=()=>{var e;return null===(e=o())||void 0===e?void 0:e.isEmailConfigured},d=()=>{var e;return null===(e=o())||void 0===e?void 0:e.allowSelfSignup},f=()=>{var e;return null===(e=o())||void 0===e?void 0:e.isDemoMode}}},function(e){e.O(0,[8415,7430,55,7812,4007,1454,4553,8939,7288,1565,3240,3375,5289,1744],function(){return e(e.s=23968)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6807],{23968:function(e,t,n){Promise.resolve().then(n.bind(n,69145)),Promise.resolve().then(n.bind(n,57830))},69145:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return m}});var r=n(36164),s=n(3546),i=n(70652),o=n.n(i),a=n(11978),l=n(14375),c=n(57288),u=n(63795),d=n(30601),f=n(90155),h=n(11529);let v=(0,l.j)("flex items-center gap-1 rounded-lg px-3 py-2 transition-all hover:bg-accent",{variants:{state:{selected:"bg-accent","not-selected":""}},defaultVariants:{state:"not-selected"}});function m(e){let{className:t}=e,[n]=(0,d.Hb)(),[s]=(0,f.useShowLicenseBanner)();return(0,r.jsxs)("div",{className:(0,c.cn)("sticky top-16 space-y-1 overflow-y-auto border-r pr-4 text-sm font-medium",t),style:n||s?{height:"calc(100vh - ".concat(n&&s?"7rem":"3.5rem"," - 4rem)")}:{height:"calc(100vh - 4rem)"},children:[(0,r.jsx)(p,{href:"/settings/providers/git",children:"Git"}),h.K.map(e=>(0,r.jsx)(p,{href:"/settings/providers/".concat(e.name),children:e.meta.displayName},e.name)),(0,r.jsxs)(p,{href:"/settings/providers/doc",children:["Developer Docs",(0,r.jsx)(u.C,{variant:"outline",className:"h-3.5 border-secondary-foreground/60 px-1.5 text-[10px] text-secondary-foreground/60",children:"Beta"})]})]})}function p(e){let{href:t,children:n}=e,i=(0,a.usePathname)(),l=s.useMemo(()=>{var e;let n="/settings/providers/doc";if(null==i?void 0:i.startsWith(n))return t.startsWith(n);let r=null===(e=i.match(/^(\/settings\/providers\/[\w-]+)/))||void 0===e?void 0:e[1];return r===t},[i,t]);return(0,r.jsx)(o(),{className:v({state:l?"selected":"not-selected"}),href:t,children:n})}},11529:function(e,t,n){"use strict";n.d(t,{K:function(){return s}});var r=n(18500);let s=[{name:"github",enum:r.q6.Github,meta:{displayName:"GitHub"}},{name:"github-self-hosted",enum:r.q6.GithubSelfHosted,meta:{displayName:"GitHub Self-Hosted"}},{name:"gitlab",enum:r.q6.Gitlab,meta:{displayName:"GitLab"}},{name:"gitlab-self-hosted",enum:r.q6.GitlabSelfHosted,meta:{displayName:"GitLab Self-Hosted"}}]},30601:function(e,t,n){"use strict";n.d(t,{Hb:function(){return h},wt:function(){return u},xc:function(){return v},yo:function(){return f}});var r=n(36164),s=n(3546),i=n(74630),o=n(36327),a=n(80605),l=n(57288),c=n(81565);let u="3.5rem",d=s.createContext({}),f=e=>{let{children:t}=e,n=(0,a.UA)(),[o,l]=s.useState(!1);return s.useEffect(()=>{let e=window.self!==window.top;e||(0,i.Z)(n)||l(n)},[n]),(0,r.jsx)(d.Provider,{value:{isShowDemoBanner:o,setIsShowDemoBanner:l},children:t})};function h(){let{isShowDemoBanner:e,setIsShowDemoBanner:t}=s.useContext(d);return[e,t]}function v(){let[e,t]=h(),{data:n}=(0,o.Z)("https://api.github.com/repos/TabbyML/tabby",e=>fetch(e).then(e=>e.json()));return(0,r.jsxs)("div",{className:(0,l.cn)("flex items-center justify-between bg-primary px-4 text-primary-foreground transition-[opacity,height] md:px-5",{"opacity-100 pointer-events-auto":e,"opacity-0 pointer-events-none":!e}),style:e?{height:u}:{height:0},children:[(0,r.jsxs)("a",{href:"https://links.tabbyml.com/schedule-a-demo",target:"_blank",className:"flex items-center gap-x-2 text-xs font-semibold underline md:text-sm",children:[(0,r.jsx)("span",{children:"\uD83D\uDCC6"}),(0,r.jsx)("span",{children:"Book a 30-minute product demo."})]}),e&&(0,r.jsx)("img",{referrerPolicy:"no-referrer-when-downgrade",src:"https://static.scarf.sh/a.png?x-pxid=b1d0308a-b3c5-425a-972a-378d883a2bca"}),(0,r.jsxs)("div",{className:"flex items-center gap-x-4 md:gap-x-8",children:[(0,r.jsxs)("a",{href:"https://github.com/TabbyML/tabby",target:"_blank",className:"flex items-center transition-all hover:opacity-70",children:[(0,r.jsx)(c.IconGithub,{}),(0,r.jsxs)("div",{className:"ml-2 hidden md:block",children:[(0,r.jsx)("p",{className:"text-xs font-semibold",children:"TabbyML/tabby"}),(0,r.jsxs)("div",{className:(0,l.cn)("flex items-center text-xs transition-all",{"h-4 opacity-70":n,"h-0 opacity-0":!n}),children:[(0,r.jsx)(c.IconStar,{className:"mr-1 h-2.5 w-2.5"}),(0,r.jsx)("span",{children:null==n?void 0:n.stargazers_count}),(0,r.jsx)(c.IconGitFork,{className:"ml-2 mr-1 h-2.5 w-2.5"}),(0,r.jsx)("span",{children:null==n?void 0:n.forks_count})]})]})]}),(0,r.jsx)(c.IconClose,{className:"cursor-pointer transition-all hover:opacity-70",onClick:()=>t(!1)})]})]})}},90155:function(e,t,n){"use strict";n.r(t),n.d(t,{BANNER_HEIGHT:function(){return f},LicenseBanner:function(){return p},ShowLicenseBannerProvider:function(){return v},useShowLicenseBanner:function(){return m}});var r=n(36164),s=n(3546),i=n(70652),o=n.n(i),a=n(11978),l=n(29917),c=n(57288),u=n(81565),d=n(31458);let f="3.5rem",h=s.createContext({}),v=e=>{let{children:t}=e,{isExpired:n,isSeatsExceeded:i,isLicenseOK:o}=(0,l.Cz)(),[a,c]=s.useState(!1);return s.useEffect(()=>{let e=window.self!==window.top;!e&&(n||i?c(!0):o&&c(!1))},[o,n,i]),(0,r.jsx)(h.Provider,{value:{isShowLicenseBanner:a,setIsShowLicenseBanner:c},children:t})};function m(){let{isShowLicenseBanner:e,setIsShowLicenseBanner:t}=s.useContext(h);return[e,t]}function p(){let[e,t]=m(),{isExpired:n,isSeatsExceeded:i}=(0,l.Cz)(),h=(0,a.usePathname)(),v=(0,s.useMemo)(()=>n?"Your subscription is expired.":i?"You have more active users than seats included in your subscription.":"No valid license configured",[n,i]);return(0,r.jsxs)("div",{className:(0,c.cn)("flex items-center justify-between bg-secondary px-4 text-secondary-foreground transition-[height,opacity] md:px-5",{"opacity-100 pointer-events-auto border-b":e,"opacity-0 pointer-events-none":!e}),style:e?{height:f}:{height:0},children:[(0,r.jsxs)("div",{className:"flex items-center gap-1 font-semibold text-destructive",children:[(0,r.jsx)(u.IconNotice,{}),v]}),(0,r.jsxs)("div",{className:"flex items-center gap-x-4 md:gap-x-8",children:["/settings/subscription"!==h&&(0,r.jsx)(o(),{href:"/settings/subscription",className:(0,c.cn)((0,d.d)(),"gap-1"),children:"See more"}),(0,r.jsx)(u.IconClose,{className:"cursor-pointer transition-all hover:opacity-70",onClick:()=>t(!1)})]})]})}},63795:function(e,t,n){"use strict";n.d(t,{C:function(){return a}});var r=n(36164);n(3546);var s=n(14375),i=n(57288);let o=(0,s.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",successful:"border-transparent bg-successful text-successful-foreground hover:bg-successful/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function a(e){let{className:t,variant:n,...s}=e;return(0,r.jsx)("div",{className:(0,i.cn)(o({variant:n}),t),...s})}},31458:function(e,t,n){"use strict";n.d(t,{d:function(){return l},z:function(){return c}});var r=n(36164),s=n(3546),i=n(74047),o=n(14375),a=n(57288);let l=(0,o.j)("inline-flex items-center justify-center rounded-md text-sm font-medium shadow ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-md hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90","hover-destructive":"shadow-none hover:bg-destructive/90 hover:text-destructive-foreground",outline:"border border-input hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"shadow-none hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 shadow-none hover:underline"},size:{default:"h-8 px-4 py-2",sm:"h-8 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-8 w-8 p-0"}},defaultVariants:{variant:"default",size:"default"}}),c=s.forwardRef((e,t)=>{let{className:n,variant:s,size:o,asChild:c=!1,...u}=e,d=c?i.g7:"button";return(0,r.jsx)(d,{className:(0,a.cn)(l({variant:s,size:o,className:n})),ref:t,...u})});c.displayName="Button"},57830:function(e,t,n){"use strict";n.r(t),n.d(t,{ScrollArea:function(){return a},ScrollBar:function(){return l}});var r=n(36164),s=n(3546),i=n(50778),o=n(57288);let a=s.forwardRef((e,t)=>{let{className:n,children:s,...a}=e;return(0,r.jsxs)(i.fC,{className:(0,o.cn)("relative overflow-hidden",n),...a,children:[(0,r.jsx)(i.l_,{ref:t,className:"h-full w-full rounded-[inherit] [&>div]:!block",children:s}),(0,r.jsx)(l,{}),(0,r.jsx)(i.Ns,{})]})});a.displayName=i.fC.displayName;let l=s.forwardRef((e,t)=>{let{className:n,orientation:s="vertical",...a}=e;return(0,r.jsx)(i.gb,{ref:t,orientation:s,className:(0,o.cn)("flex touch-none select-none transition-colors","vertical"===s&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===s&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",n),...a,children:(0,r.jsx)(i.q4,{className:"relative flex-1 rounded-full bg-border"})})});l.displayName=i.gb.displayName},29917:function(e,t,n){"use strict";n.d(t,{Cz:function(){return u},Gm:function(){return c},jp:function(){return l}});var r=n(11978),s=n(40055),i=n(43240),o=n(18500);let a=(0,i.BX)("\n query GetLicenseInfo {\n license {\n type\n status\n seats\n seatsUsed\n issuedAt\n expiresAt\n }\n }\n"),l=()=>(0,s.aM)({query:a}),c=()=>{let[{data:e}]=l();return null==e?void 0:e.license},u=e=>{var t;let[{data:n}]=l(),s=null==n?void 0:n.license,i=(0,r.useSearchParams)(),a=!!s&&(!(null==e?void 0:null===(t=e.licenses)||void 0===t?void 0:t.length)||e.licenses.includes(s.type)),c=(null==s?void 0:s.status)===o.Rj.Ok,u=(null==s?void 0:s.status)===o.Rj.Expired,d=(null==s?void 0:s.status)===(null===o.Rj||void 0===o.Rj?void 0:o.Rj.SeatsExceeded),f="expired"===i.get("licenseError"),h="seatsExceed"===i.get("licenseError");return{hasLicense:!!s,isLicenseOK:c&&!(f||h),isExpired:u||f,isSeatsExceeded:d||h,hasSufficientLicense:a}}},80605:function(e,t,n){"use strict";n.d(t,{UA:function(){return f},Uw:function(){return u},c7:function(){return c},jJ:function(){return d},vN:function(){return a},xG:function(){return l}});var r=n(40055),s=n(43240);let i=(0,s.BX)("\n query GetServerInfo {\n serverInfo {\n isAdminInitialized\n isEmailConfigured\n isChatEnabled\n allowSelfSignup\n isDemoMode\n }\n }\n"),o=()=>{let[{data:e}]=(0,r.aM)({query:i});return null==e?void 0:e.serverInfo},a=()=>{let[{fetching:e}]=(0,r.aM)({query:i});return e},l=()=>{var e;return null===(e=o())||void 0===e?void 0:e.isChatEnabled},c=()=>{var e;return null===(e=o())||void 0===e?void 0:e.isAdminInitialized},u=()=>{var e;return null===(e=o())||void 0===e?void 0:e.isEmailConfigured},d=()=>{var e;return null===(e=o())||void 0===e?void 0:e.allowSelfSignup},f=()=>{var e;return null===(e=o())||void 0===e?void 0:e.isDemoMode}}},function(e){e.O(0,[8415,7430,55,7812,4007,1454,4553,9515,7288,1565,3240,3375,5289,1744],function(){return e(e.s=23968)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/sso/detail/[provider]/page-c9aa57444abbc436.js b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/sso/detail/[provider]/page-95ade37b0f177c9a.js similarity index 100% rename from ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/sso/detail/[provider]/page-c9aa57444abbc436.js rename to ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/sso/detail/[provider]/page-95ade37b0f177c9a.js diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/sso/page-4de3f16ab15d44fe.js b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/sso/page-538e50b87dffca54.js similarity index 100% rename from ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/sso/page-4de3f16ab15d44fe.js rename to ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/(integrations)/sso/page-538e50b87dffca54.js diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/general/page-61422be03475e14a.js b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/general/page-811b7348fc9cdea8.js similarity index 100% rename from ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/general/page-61422be03475e14a.js rename to ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/general/page-811b7348fc9cdea8.js diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/subscription/page-d960181935ba68b0.js b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/subscription/page-6ce2ee42726345f1.js similarity index 100% rename from ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/subscription/page-d960181935ba68b0.js rename to ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/subscription/page-6ce2ee42726345f1.js diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/team/groups/page-d7d6fa5cb02875e3.js b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/team/groups/page-9e968e5b8ce0eb09.js similarity index 99% rename from ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/team/groups/page-d7d6fa5cb02875e3.js rename to ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/team/groups/page-9e968e5b8ce0eb09.js index d0be0af14beb..d40ee6e7e2ee 100644 --- a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/team/groups/page-d7d6fa5cb02875e3.js +++ b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/team/groups/page-9e968e5b8ce0eb09.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1760],{93837:function(e,r,t){Promise.resolve().then(t.bind(t,67220))},67220:function(e,r,t){"use strict";t.r(r),t.d(r,{UserGroupContext:function(){return P},default:function(){return $}});var n=t(36164),s=t(3546),a=t(2578),l=t(40055),i=t(36758),o=t(98454),d=t(70410),u=t(31458),c=t(79972),m=t(81565),f=t(6230),p=t(90379),x=t(84381),h=t(5493),v=t(23782),N=t(43240),j=t(11634),g=t(30220),b=t(98150),y=t(82394);let w=(0,N.BX)("\n mutation createUserGroup($input: CreateUserGroupInput!) {\n createUserGroup(input: $input)\n }\n"),C=v.Ry({name:v.Z_().trim()});function R(e){let{onSubmit:r,children:t}=e,[a,l]=s.useState(!1),i=(0,h.cI)({resolver:(0,x.F)(C)}),{isSubmitting:o}=i.formState,d=e=>{o||(e||setTimeout(()=>{i.reset()},500),l(e))},c=(0,j.Db)(w,{form:i}),f=async e=>c({input:{name:e.name}}).then(e=>{var t;(null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.createUserGroup)&&(null==r||r(e.data.createUserGroup),d(!1))}).catch(()=>{});return(0,n.jsxs)(g.Vq,{open:a,onOpenChange:d,children:[(0,n.jsxs)(g.cZ,{children:[(0,n.jsx)(g.fK,{className:"gap-3",children:(0,n.jsx)(g.$N,{children:"Create Group"})}),(0,n.jsx)(b.l0,{...i,children:(0,n.jsx)("div",{className:"grid gap-2",children:(0,n.jsxs)("form",{className:"grid gap-6",onSubmit:i.handleSubmit(f),children:[(0,n.jsxs)("div",{className:"grid gap-2",children:[(0,n.jsx)(b.Wi,{control:i.control,name:"name",render:e=>{let{field:r}=e;return(0,n.jsxs)(b.xJ,{children:[(0,n.jsx)(b.lX,{required:!0,children:"Name"}),(0,n.jsx)(b.pf,{children:"Group name need to be unique, and it cannot be changed after creation."}),(0,n.jsx)(b.NI,{children:(0,n.jsx)(y.I,{placeholder:"e.g backend-dev",autoCapitalize:"none",autoCorrect:"off",autoComplete:"off",...r})}),(0,n.jsx)(b.zG,{})]})}}),(0,n.jsx)(b.zG,{})]}),(0,n.jsxs)("div",{className:"flex justify-end gap-4",children:[(0,n.jsx)(u.z,{type:"button",variant:"ghost",disabled:o,onClick:()=>d(!1),children:"Cancel"}),(0,n.jsxs)(u.z,{type:"submit",disabled:o,children:[o&&(0,n.jsx)(m.IconSpinner,{className:"mr-2"}),"Create"]})]})]})})})]}),(0,n.jsx)(g.hg,{asChild:!0,children:t})]})}var k=t(57288),I=t(73460),G=t(82030),Y=t(36065),z=t(84942),S=t(54594),A=t(99047),D=t(52569);let _=(0,N.BX)("\n mutation DeleteUserGroupMembership($userGroupId: ID!, $userId: ID!) {\n deleteUserGroupMembership(userGroupId: $userGroupId, userId: $userId)\n }\n"),F=(0,N.BX)("\n mutation UpsertUserGroupMembership($input: UpsertUserGroupMembershipInput!) {\n upsertUserGroupMembership(input: $input)\n }\n");function T(e){let{className:r,members:t}=e,{isServerAdmin:a,isGroupAdmin:l}=(0,s.useContext)(E),[i,o]=(0,s.useState)(!1);return(0,n.jsxs)("div",{className:(0,k.cn)("flex flex-col gap-2 border-b px-1 py-2",r),children:[(0,n.jsx)("div",{className:"max-h-[286px] flex-1 overflow-auto",children:t.length||i?(0,n.jsx)(A.iA,{className:"table-fixed",children:(0,n.jsxs)(A.RM,{children:[t.map(e=>(0,n.jsx)(U,{member:e,onRemoveEmptyItem:()=>o(!1)},e.user.id)),i&&(0,n.jsx)(U,{onRemoveEmptyItem:()=>o(!1)})]})}):(0,n.jsx)("div",{className:"p-3 pl-4 text-muted-foreground",children:"No members"})}),(a||l)&&(0,n.jsx)("div",{className:"mb-2 ml-2 flex justify-start",children:(0,n.jsxs)(u.z,{variant:"outline",disabled:i,onClick:()=>{i||o(!0)},children:[(0,n.jsx)(m.IconPlus,{className:"mr-2"}),"Add Member"]})})]})}function U(e){let{member:r,onRemoveEmptyItem:t}=e,{isServerAdmin:l,isGroupAdmin:i,memberIds:o,userGroupId:d}=(0,s.useContext)(E),c=(0,s.useRef)(null),[f,p]=(0,s.useState)(l?o.length?"0":"1":"0");(0,s.useEffect)(()=>{r&&r.isGroupAdmin!==("1"===f)&&p(r.isGroupAdmin?"1":"0")},[r]),(0,s.useEffect)(()=>{if(!r){var e;null===(e=c.current)||void 0===e||e.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}},[]);let x=(0,j.Db)(_),h=(0,j.Db)(F),v=(e,r,t)=>h({input:r,extraParams:{user:t,isInsert:e}}).then(e=>{var r,n;if(!(null==e?void 0:null===(r=e.data)||void 0===r?void 0:r.upsertUserGroupMembership)){let r=(null==e?void 0:null===(n=e.error)||void 0===n?void 0:n.message)||"Failed to update ".concat(t.name||t.email);a.A.error(r),p(f);return}}).catch(e=>{a.A.error(e.message||"Failed to update ".concat(t.name||t.email)),p(f)}),N=l||i&&(!r||!r.isGroupAdmin);return(0,n.jsxs)(A.SC,{className:"border-0 !bg-background pl-1",ref:c,children:[(0,n.jsx)(A.pj,{children:(0,n.jsx)(O,{membership:r,onChange:(e,r)=>{v(!0,{userId:e,userGroupId:d,isGroupAdmin:"1"===f},(0,G.Z)(r,"id","email","createdAt","name")),t()}})}),(0,n.jsx)(A.pj,{className:"w-[30%]",children:(0,n.jsxs)(S.Ph,{onValueChange:e=>{p(e),r&&v(!1,{userGroupId:d,userId:r.user.id,isGroupAdmin:"1"===e},r.user)},value:f,disabled:!l,children:[(0,n.jsx)(S.i4,{className:"h-10",children:(0,n.jsx)(S.ki,{placeholder:"Select role"})}),(0,n.jsxs)(S.Bw,{children:[(0,n.jsx)(S.Ql,{value:"1",children:"Group Admin"}),(0,n.jsx)(S.Ql,{value:"0",children:"Group Member"})]})]})}),(0,n.jsx)(A.pj,{className:"w-[100px] text-right",children:N&&(0,n.jsx)(u.z,{size:"icon",variant:"hover-destructive",onClick:()=>{if(!r){t();return}x({userGroupId:d,userId:r.user.id}).then(e=>{var t,n;if(!(null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.deleteUserGroupMembership)){let t=(null==e?void 0:null===(n=e.error)||void 0===n?void 0:n.message)||"Failed to delete ".concat(r.user.name||r.user.email);a.A.error(t);return}}).catch(e=>{a.A.error(e.message||"Failed to delete ".concat(r.user.name||r.user.email))})},children:(0,n.jsx)(m.IconTrash,{})})})]})}function O(e){let{membership:r,onChange:t}=e,a=null==r?void 0:r.user.id,{fetchingAllUsers:l,allUsers:i}=(0,s.useContext)(P),{memberIds:o}=(0,s.useContext)(E),[d,c]=(0,s.useState)(!1),f=(0,s.useRef)(null),p=(0,s.useMemo)(()=>i.filter(e=>!o.includes(e.id)),[o,i]),x=()=>{requestAnimationFrame(()=>{f.current&&(f.current.scrollTop=0)})},h=e=>{c(!1),t(e,p.find(r=>r.id===e))};return(0,n.jsxs)(z.J2,{open:d,onOpenChange:c,children:[(0,n.jsx)(z.xo,{asChild:!0,children:(0,n.jsxs)(u.z,{variant:"outline",role:"combobox",className:(0,k.cn)("h-10 w-full justify-between font-normal",{"text-muted-foreground hover:text-muted-foreground":!a,"cursor-auto shadow-none hover:bg-background":!!a}),onClick:e=>{a&&e.preventDefault()},children:[l?"Loading...":a?(0,n.jsx)(M,{user:r.user}):"Select member",!a&&(0,n.jsx)(m.IconChevronUpDown,{})]})}),(0,n.jsx)(z.yk,{className:"w-[var(--radix-popover-trigger-width)] p-0",align:"start",side:"bottom",children:(0,n.jsxs)(Y.mY,{children:[(0,n.jsx)(Y.sZ,{placeholder:"Search member...",onValueChange:()=>{x()}}),(0,n.jsxs)(Y.e8,{className:"max-h-[30vh]",ref:f,children:[(0,n.jsx)(Y.rb,{children:l?(0,n.jsx)("div",{className:"flex justify-center",children:(0,n.jsx)(m.IconSpinner,{className:"h-6 w-6"})}):"No user found"}),(0,n.jsx)(Y.fu,{children:p.map(e=>(0,n.jsx)(Y.di,{onSelect:()=>h(e.id),children:(0,n.jsx)(M,{user:e})},e.id))})]})]})})]})}function M(e){let{user:r}=e,t=r.name;return(0,n.jsxs)("div",{className:"flex h-10 items-center gap-2",children:[(0,n.jsx)(D.Yt,{user:r,className:"h-7 w-7"}),(0,n.jsxs)("span",{className:"space-x-1",children:[r.name,(0,n.jsx)("span",{className:(0,k.cn)("text-sm",{"text-muted-foreground":!!t}),children:t?"(".concat(r.email,")"):r.email})]})]})}let Z=(0,N.BX)("\n mutation DeleteUserGroup($id: ID!) {\n deleteUserGroup(id: $id)\n }\n"),E=(0,s.createContext)({});function V(e){let{onSuccess:r,userGroup:t,isLastItem:l}=e,{me:i}=(0,s.useContext)(P),o=!!((null==i?void 0:i.isOwner)||(null==i?void 0:i.isAdmin)),d=(0,s.useMemo)(()=>{let e=t.members.filter(e=>e.isGroupAdmin).map(e=>e.user.id);return null!=i&&!!i.id&&e.includes(i.id)},[i,t]),[c,f]=(0,s.useState)(!1),[p,x]=(0,s.useState)(!1),[h,v]=(0,s.useState)(!1),N=(0,j.Db)(Z),g=(0,s.useMemo)(()=>t.members.map(e=>e.user.id),[t.members]),b=t.members.length;return(0,n.jsx)(E.Provider,{value:{isGroupAdmin:d,isServerAdmin:o,memberIds:g,userGroupId:t.id},children:(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:(0,k.cn)("flex cursor-pointer items-center gap-2 border-b p-3 hover:bg-muted/50",{"border-b-0":!!l&&!p}),onClick:()=>x(!p),children:[(0,n.jsx)(m.IconChevronRight,{className:(0,k.cn)("shrink-0 transition-all",{"rotate-90":p})}),(0,n.jsx)(m.IconUsers,{className:"shrink-0"}),(0,n.jsxs)("div",{className:"flex flex-1 items-center gap-2 overflow-hidden",children:[(0,n.jsx)("div",{className:"font-semibold",children:t.name}),(0,n.jsx)("span",{className:"text-sm text-muted-foreground",children:"(".concat(b," member").concat(b>1?"s":"",")")})]}),(0,n.jsx)("div",{onClick:e=>e.stopPropagation(),className:"flex items-center gap-2",children:o&&(0,n.jsxs)(I.aR,{open:c,onOpenChange:f,children:[(0,n.jsx)(I.vW,{asChild:!0,children:(0,n.jsx)(u.z,{size:"icon",variant:"hover-destructive",children:(0,n.jsx)(m.IconTrash,{})})}),(0,n.jsxs)(I._T,{children:[(0,n.jsxs)(I.fY,{children:[(0,n.jsx)(I.f$,{children:"Delete this group"}),(0,n.jsxs)(I.yT,{children:["Are you sure you want to delete user group",(0,n.jsx)("span",{className:"ml-1 font-bold",children:'"'.concat(t.name,'"')}),"? This operation is not revertible."]})]}),(0,n.jsxs)(I.xo,{children:[(0,n.jsx)(I.le,{children:"Cancel"}),(0,n.jsxs)(I.OL,{className:(0,u.d)({variant:"destructive"}),onClick:e=>{e.preventDefault(),v(!0),N({id:t.id}).then(e=>{var t,n;if(null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.deleteUserGroup)null==r||r(),x(!1);else{let r=(null==e?void 0:null===(n=e.error)||void 0===n?void 0:n.message)||"Failed to delete";a.A.error(r)}}).catch(e=>{let r=(null==e?void 0:e.message)||"Failed to delete";a.A.error(r)}).finally(()=>{v(!1)})},children:[h&&(0,n.jsx)(m.IconSpinner,{className:"mr-2 h-4 w-4 animate-spin"}),"Yes, delete it"]})]})]})]})})]}),p&&(0,n.jsx)(T,{members:t.members,userGroupId:t.id,userGroupName:t.name,className:l?"border-b-0":void 0})]})})}let P=s.createContext({});function $(){let[e,r]=(0,i.d)(),[{data:t,error:x,fetching:h},v]=(0,l.aM)({query:d.gI}),[{data:N}]=(0,o.P)(),j=!!((null==N?void 0:N.me.isOwner)||(null==N?void 0:N.me.isAdmin));s.useEffect(()=>{(null==x?void 0:x.message)&&a.A.error(x.message)},[x]);let g=async()=>{v()},b=null==t?void 0:t.userGroups;return(0,n.jsxs)(P.Provider,{value:{allUsers:e,fetchingAllUsers:r,refreshUserGroups:v,me:null==N?void 0:N.me},children:[(0,n.jsx)(c.Ol,{className:"px-0 pt-0",children:(0,n.jsxs)(c.ll,{className:"flex min-h-[2rem] items-start justify-between",children:["Groups",(null==N?void 0:N.me.isAdmin)&&(0,n.jsx)(R,{onSubmit:g,children:(0,n.jsxs)(u.z,{className:"gap-1",children:[(0,n.jsx)(m.IconPlus,{}),"Create"]})})]})}),(0,n.jsx)(f.Z,{loading:h,fallback:(0,n.jsx)(p.cg,{}),children:(null==b?void 0:b.length)?(0,n.jsx)("div",{className:"overflow-hidden rounded-lg border",children:b.map((e,r)=>(0,n.jsx)(V,{userGroup:e,onSuccess:()=>v(),isLastItem:r===b.length-1},e.id))}):(0,n.jsxs)("div",{className:"flex flex-col items-center gap-4 rounded-lg border-4 border-dashed py-8",children:[(0,n.jsx)("div",{children:"No Data"}),j&&(0,n.jsx)("div",{className:"mb-4 flex justify-end",children:(0,n.jsx)(R,{onSubmit:g,children:(0,n.jsx)(u.z,{type:"button",children:"Create"})})})]})})]})}},6230:function(e,r,t){"use strict";var n=t(36164),s=t(3546),a=t(24449),l=t(90379);r.Z=e=>{let{loading:r,fallback:t,delay:i,children:o}=e,[d,u]=s.useState(!r),[c]=(0,a.n)(d,null!=i?i:200);return(s.useEffect(()=>{r||d||u(!0)},[r]),c)?o:t||(0,n.jsx)(l.cg,{})}},90379:function(e,r,t){"use strict";t.d(r,{PF:function(){return o},cg:function(){return l},tB:function(){return i}});var n=t(36164),s=t(57288),a=t(3448);let l=e=>{let{className:r,...t}=e;return(0,n.jsxs)("div",{className:(0,s.cn)("space-y-3",r),...t,children:[(0,n.jsx)(a.O,{className:"h-4 w-full"}),(0,n.jsx)(a.O,{className:"h-4 w-full"}),(0,n.jsx)(a.O,{className:"h-4 w-full"}),(0,n.jsx)(a.O,{className:"h-4 w-full"})]})},i=e=>{let{className:r,...t}=e;return(0,n.jsx)(a.O,{className:(0,s.cn)("h-4 w-full",r),...t})},o=e=>{let{className:r,...t}=e;return(0,n.jsxs)("div",{className:(0,s.cn)("flex flex-col gap-3",r),...t,children:[(0,n.jsx)(a.O,{className:"h-4 w-[20%]"}),(0,n.jsx)(a.O,{className:"h-4 w-full"}),(0,n.jsx)(a.O,{className:"h-4 w-[20%]"}),(0,n.jsx)(a.O,{className:"h-4 w-full"})]})}},73460:function(e,r,t){"use strict";t.d(r,{OL:function(){return v},_T:function(){return m},aR:function(){return o},f$:function(){return x},fY:function(){return f},le:function(){return N},vW:function(){return d},xo:function(){return p},yT:function(){return h}});var n=t(36164),s=t(3546),a=t(28961),l=t(57288),i=t(31458);let o=a.fC,d=a.xz,u=e=>{let{className:r,children:t,...s}=e;return(0,n.jsx)(a.h_,{className:(0,l.cn)(r),...s,children:(0,n.jsx)("div",{className:"fixed inset-0 z-50 flex items-end justify-center sm:items-center",children:t})})};u.displayName=a.h_.displayName;let c=s.forwardRef((e,r)=>{let{className:t,children:s,...i}=e;return(0,n.jsx)(a.aV,{className:(0,l.cn)("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm transition-opacity animate-in fade-in",t),...i,ref:r})});c.displayName=a.aV.displayName;let m=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsxs)(u,{children:[(0,n.jsx)(c,{}),(0,n.jsx)(a.VY,{ref:r,className:(0,l.cn)("fixed z-50 grid w-full max-w-lg scale-100 gap-4 border bg-background p-6 opacity-100 shadow-lg animate-in fade-in-90 slide-in-from-bottom-10 sm:rounded-lg sm:zoom-in-90 sm:slide-in-from-bottom-0 md:w-full",t),...s})]})});m.displayName=a.VY.displayName;let f=e=>{let{className:r,...t}=e;return(0,n.jsx)("div",{className:(0,l.cn)("flex flex-col space-y-2 text-center sm:text-left",r),...t})};f.displayName="AlertDialogHeader";let p=e=>{let{className:r,...t}=e;return(0,n.jsx)("div",{className:(0,l.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",r),...t})};p.displayName="AlertDialogFooter";let x=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)(a.Dx,{ref:r,className:(0,l.cn)("text-lg font-semibold",t),...s})});x.displayName=a.Dx.displayName;let h=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)(a.dk,{ref:r,className:(0,l.cn)("text-sm text-muted-foreground",t),...s})});h.displayName=a.dk.displayName;let v=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)(a.aU,{ref:r,className:(0,l.cn)((0,i.d)(),t),...s})});v.displayName=a.aU.displayName;let N=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)(a.$j,{ref:r,className:(0,l.cn)((0,i.d)({variant:"outline"}),"mt-2 sm:mt-0",t),...s})});N.displayName=a.$j.displayName},79972:function(e,r,t){"use strict";t.d(r,{Ol:function(){return i},Zb:function(){return l},aY:function(){return u},eW:function(){return c},ll:function(){return o}});var n=t(36164),s=t(3546),a=t(57288);let l=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)("div",{ref:r,className:(0,a.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",t),...s})});l.displayName="Card";let i=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)("div",{ref:r,className:(0,a.cn)("flex flex-col space-y-1.5 p-6",t),...s})});i.displayName="CardHeader";let o=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)("h3",{ref:r,className:(0,a.cn)("text-2xl font-semibold leading-none tracking-tight",t),...s})});o.displayName="CardTitle";let d=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)("p",{ref:r,className:(0,a.cn)("text-sm text-muted-foreground",t),...s})});d.displayName="CardDescription";let u=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)("div",{ref:r,className:(0,a.cn)("p-6 pt-0",t),...s})});u.displayName="CardContent";let c=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)("div",{ref:r,className:(0,a.cn)("flex items-center p-6 pt-0",t),...s})});c.displayName="CardFooter"},36065:function(e,r,t){"use strict";t.d(r,{di:function(){return p},e8:function(){return u},fu:function(){return m},mY:function(){return o},rb:function(){return c},sZ:function(){return d},zz:function(){return f}});var n=t(36164),s=t(3546),a=t(53241),l=t(93170),i=t(57288);t(30220);let o=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)(a.mY,{ref:r,className:(0,i.cn)("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",t),...s})});o.displayName=a.mY.displayName;let d=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsxs)("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,n.jsx)(l.Z,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),(0,n.jsx)(a.mY.Input,{ref:r,className:(0,i.cn)("flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",t),...s})]})});d.displayName=a.mY.Input.displayName;let u=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)(a.mY.List,{ref:r,className:(0,i.cn)("max-h-[300px] overflow-y-auto overflow-x-hidden",t),...s})});u.displayName=a.mY.List.displayName;let c=s.forwardRef((e,r)=>(0,n.jsx)(a.mY.Empty,{ref:r,className:"py-6 text-center text-sm",...e}));c.displayName=a.mY.Empty.displayName;let m=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)(a.mY.Group,{ref:r,className:(0,i.cn)("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",t),...s})});m.displayName=a.mY.Group.displayName;let f=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)(a.mY.Separator,{ref:r,className:(0,i.cn)("-mx-1 h-px bg-border",t),...s})});f.displayName=a.mY.Separator.displayName;let p=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)(a.mY.Item,{ref:r,className:(0,i.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-disabled:pointer-events-none aria-disabled:opacity-50 aria-selected:bg-accent aria-selected:text-accent-foreground",t),...s})});p.displayName=a.mY.Item.displayName},30220:function(e,r,t){"use strict";t.d(r,{$N:function(){return x},Be:function(){return h},Vq:function(){return o},cN:function(){return p},cZ:function(){return m},fK:function(){return f},hg:function(){return d}});var n=t(36164),s=t(3546),a=t(4318),l=t(1663),i=t(57288);let o=a.fC,d=a.xz,u=a.h_;a.x8;let c=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)(a.aV,{ref:r,className:(0,i.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...s})});c.displayName=a.aV.displayName;let m=s.forwardRef((e,r)=>{let{className:t,children:s,...o}=e;return(0,n.jsxs)(u,{children:[(0,n.jsx)(c,{}),(0,n.jsxs)(a.VY,{ref:r,className:(0,i.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",t),...o,children:[s,(0,n.jsxs)(a.x8,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,n.jsx)(l.Z,{className:"h-4 w-4"}),(0,n.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});m.displayName=a.VY.displayName;let f=e=>{let{className:r,...t}=e;return(0,n.jsx)("div",{className:(0,i.cn)("flex flex-col space-y-1.5 text-center sm:text-left",r),...t})};f.displayName="DialogHeader";let p=e=>{let{className:r,...t}=e;return(0,n.jsx)("div",{className:(0,i.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",r),...t})};p.displayName="DialogFooter";let x=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)(a.Dx,{ref:r,className:(0,i.cn)("text-lg font-semibold leading-none tracking-tight",t),...s})});x.displayName=a.Dx.displayName;let h=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)(a.dk,{ref:r,className:(0,i.cn)("text-sm text-muted-foreground",t),...s})});h.displayName=a.dk.displayName},98150:function(e,r,t){"use strict";t.d(r,{NI:function(){return h},Wi:function(){return c},l0:function(){return d},lX:function(){return x},pf:function(){return v},xJ:function(){return p},zG:function(){return N}});var n=t(36164),s=t(3546),a=t(74047),l=t(5493),i=t(57288),o=t(5266);let d=l.RV,u=s.createContext({}),c=e=>{let{...r}=e;return(0,n.jsx)(u.Provider,{value:{name:r.name},children:(0,n.jsx)(l.Qr,{...r})})},m=()=>{let e=s.useContext(u),r=s.useContext(f),{getFieldState:t,formState:n}=(0,l.Gc)(),a=e.name||"root",i=t(a,n);if(!n)throw Error("useFormField should be used within ");let{id:o}=r;return{id:o,name:a,formItemId:"".concat(o,"-form-item"),formDescriptionId:"".concat(o,"-form-item-description"),formMessageId:"".concat(o,"-form-item-message"),...i}},f=s.createContext({}),p=s.forwardRef((e,r)=>{let{className:t,...a}=e,l=s.useId();return(0,n.jsx)(f.Provider,{value:{id:l},children:(0,n.jsx)("div",{ref:r,className:(0,i.cn)("space-y-2",t),...a})})});p.displayName="FormItem";let x=s.forwardRef((e,r)=>{let{className:t,required:s,...a}=e,{error:l,formItemId:d}=m();return(0,n.jsx)(o._,{ref:r,className:(0,i.cn)(l&&"text-destructive",s&&'after:ml-0.5 after:text-destructive after:content-["*"]',t),htmlFor:d,...a})});x.displayName="FormLabel";let h=s.forwardRef((e,r)=>{let{...t}=e,{error:s,formItemId:l,formDescriptionId:i,formMessageId:o}=m();return(0,n.jsx)(a.g7,{ref:r,id:l,"aria-describedby":s?"".concat(i," ").concat(o):"".concat(i),"aria-invalid":!!s,...t})});h.displayName="FormControl";let v=s.forwardRef((e,r)=>{let{className:t,...s}=e,{formDescriptionId:a}=m();return(0,n.jsx)("div",{ref:r,id:a,className:(0,i.cn)("text-sm text-muted-foreground",t),...s})});v.displayName="FormDescription";let N=s.forwardRef((e,r)=>{let{className:t,children:s,...a}=e,{error:l,formMessageId:o}=m(),d=l?String(null==l?void 0:l.message):s;return d?(0,n.jsx)("p",{ref:r,id:o,className:(0,i.cn)("text-sm font-medium text-destructive",t),...a,children:d}):null});N.displayName="FormMessage"},82394:function(e,r,t){"use strict";t.d(r,{I:function(){return l}});var n=t(36164),s=t(3546),a=t(57288);let l=s.forwardRef((e,r)=>{let{className:t,type:s,...l}=e;return(0,n.jsx)("input",{type:s,className:(0,a.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),ref:r,...l})});l.displayName="Input"},5266:function(e,r,t){"use strict";t.d(r,{_:function(){return d}});var n=t(36164),s=t(3546),a=t(90893),l=t(14375),i=t(57288);let o=(0,l.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)(a.f,{ref:r,className:(0,i.cn)(o(),t),...s})});d.displayName=a.f.displayName},84942:function(e,r,t){"use strict";t.d(r,{J2:function(){return i},i9:function(){return u},tW:function(){return c},xo:function(){return o},xp:function(){return d},yk:function(){return m}});var n=t(36164),s=t(3546),a=t(83299),l=t(57288);let i=a.fC,o=a.xz,d=a.x8,u=a.h_,c=a.ee,m=s.forwardRef((e,r)=>{let{className:t,sideOffset:s=4,...i}=e;return(0,n.jsx)(a.VY,{ref:r,sideOffset:s,className:(0,l.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow animate-in data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...i})});m.displayName=a.VY.displayName},54594:function(e,r,t){"use strict";t.d(r,{Bw:function(){return m},DI:function(){return d},Ph:function(){return o},Ql:function(){return p},U$:function(){return x},i4:function(){return c},ki:function(){return u}});var n=t(36164),s=t(3546),a=t(31889),l=t(57288),i=t(81565);let o=a.fC,d=a.ZA,u=a.B4,c=s.forwardRef((e,r)=>{let{className:t,children:s,...o}=e;return(0,n.jsxs)(a.xz,{ref:r,className:(0,l.cn)("flex h-9 w-full items-center justify-between rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),...o,children:[s,(0,n.jsx)(a.JO,{asChild:!0,children:(0,n.jsx)(i.IconChevronUpDown,{className:"opacity-50"})})]})});c.displayName=a.xz.displayName;let m=s.forwardRef((e,r)=>{let{className:t,children:s,position:i="popper",...o}=e;return(0,n.jsx)(a.h_,{children:(0,n.jsx)(a.VY,{ref:r,className:(0,l.cn)("relative z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md animate-in fade-in-80","popper"===i&&"translate-y-1",t),position:i,...o,children:(0,n.jsx)(a.l_,{className:(0,l.cn)("p-1","popper"===i&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:s})})})});m.displayName=a.VY.displayName;let f=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)(a.__,{ref:r,className:(0,l.cn)("py-1.5 pl-8 pr-2 text-sm font-semibold",t),...s})});f.displayName=a.__.displayName;let p=s.forwardRef((e,r)=>{let{className:t,children:s,isPlaceHolder:o,...d}=e;return(0,n.jsxs)(a.ck,{ref:r,className:(0,l.cn)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...d,children:[!o&&(0,n.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,n.jsx)(a.wU,{children:(0,n.jsx)(i.IconCheck,{className:"h-4 w-4"})})}),(0,n.jsx)(a.eT,{children:s})]})});p.displayName=a.ck.displayName;let x=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)(a.Z0,{ref:r,className:(0,l.cn)("-mx-1 my-1 h-px bg-muted",t),...s})});x.displayName=a.Z0.displayName},3448:function(e,r,t){"use strict";t.d(r,{O:function(){return a}});var n=t(36164),s=t(57288);function a(e){let{className:r,...t}=e;return(0,n.jsx)("div",{className:(0,s.cn)("h-4 animate-pulse rounded-md bg-border",r),...t})}},99047:function(e,r,t){"use strict";t.d(r,{RM:function(){return o},SC:function(){return u},iA:function(){return l},pj:function(){return m},ss:function(){return c},xD:function(){return i}});var n=t(36164),s=t(3546),a=t(57288);let l=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)("table",{ref:r,className:(0,a.cn)("w-full caption-bottom text-sm",t),...s})});l.displayName="Table";let i=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)("thead",{ref:r,className:(0,a.cn)("[&_tr]:border-b",t),...s})});i.displayName="TableHeader";let o=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)("tbody",{ref:r,className:(0,a.cn)("[&_tr:last-child]:border-0",t),...s})});o.displayName="TableBody";let d=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)("tfoot",{ref:r,className:(0,a.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",t),...s})});d.displayName="TableFooter";let u=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)("tr",{ref:r,className:(0,a.cn)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",t),...s})});u.displayName="TableRow";let c=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)("th",{ref:r,className:(0,a.cn)("h-12 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",t),...s})});c.displayName="TableHead";let m=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)("td",{ref:r,className:(0,a.cn)("p-2 align-middle [&:has([role=checkbox])]:pr-0",t),...s})});m.displayName="TableCell";let f=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)("caption",{ref:r,className:(0,a.cn)("mt-4 text-sm text-muted-foreground",t),...s})});f.displayName="TableCaption"},52569:function(e,r,t){"use strict";t.d(r,{SQ:function(){return b},Yt:function(){return g},nY:function(){return j}});var n=t(36164),s=t(3546),a=t(87782),l=t(21454),i=t(36327),o=t(98454),d=t(3765),u=t(57288),c=t(66612);let m=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)(c.fC,{ref:r,className:(0,u.cn)("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",t),...s})});m.displayName=c.fC.displayName;let f=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)(c.Ee,{ref:r,className:(0,u.cn)("aspect-square h-full w-full",t),...s})});f.displayName=c.Ee.displayName;let p=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)(c.NY,{ref:r,className:(0,u.cn)("flex h-full w-full items-center justify-center rounded-full bg-muted",t),...s})});p.displayName=c.NY.displayName;var x=t(3448),h=t(30410).lW;let v="not_found",N=new Set,j=e=>{N.delete(e),(0,l.JG)("/avatar/".concat(e))};function g(e){var r;let{user:t,className:l,fallback:o}=e,c=null==t?void 0:t.id,j=c?"/avatar/".concat(c):null,{data:g,isLoading:b,error:y}=(0,i.Z)(j,e=>{if(!(!c||N.has(c)))return(0,d.Z)(e,{responseFormatter:async e=>{let r=await e.blob(),t=h.from(await r.arrayBuffer());return"data:image/png;base64,".concat(t.toString("base64"))},errorHandler:e=>{if(404===e.status)throw Error(v)}})}),w=s.useMemo(()=>{if(null==t?void 0:t.email)return(0,a.B)(t.email)},[null==t?void 0:t.email]);return b?(0,n.jsx)(x.O,{className:(0,u.cn)("h-16 w-16 rounded-full",l)}):((null==y?void 0:y.message)===v&&c&&N.add(c),g||w||!o)?!g&&w?(0,n.jsx)(a.Z,{className:(0,u.cn)("h-16 w-16",l),...w}):(0,n.jsxs)(m,{className:(0,u.cn)("h-16 w-16",l),children:[(0,n.jsx)(f,{src:g,alt:null==t?void 0:t.email,className:"object-cover"}),(0,n.jsx)(p,{children:null==t?void 0:null===(r=t.email)||void 0===r?void 0:r.substring(0,2)})]}):o}function b(e){let[{data:r}]=(0,o.P)();return(0,n.jsx)(g,{user:null==r?void 0:r.me,...e})}},36758:function(e,r,t){"use strict";t.d(r,{d:function(){return l}});var n=t(3546),s=t(40055),a=t(70410);function l(){let[{data:e,fetching:r,error:t}]=(0,s.aM)({query:a.TH}),l=(0,n.useMemo)(()=>{var r;return null!==(r=null==e?void 0:e.users.edges.map(e=>e.node))&&void 0!==r?r:[]},[null==e?void 0:e.users]);return[l,r,t]}},24449:function(e,r,t){"use strict";t.d(r,{S:function(){return i},n:function(){return o}});var n=t(3546),s=t(45391),a=t(16784);let l=e=>{let r=(0,a.d)(e);n.useEffect(()=>()=>{r.current()},[])};function i(e,r,t){let i=(0,a.d)(e),o=n.useMemo(()=>(0,s.Z)(function(){for(var e=arguments.length,r=Array(e),t=0;t{var e;null==t||null===(e=t.onUnmount)||void 0===e||e.call(t,o),o.cancel()}),{run:o,cancel:o.cancel,flush:o.flush}}function o(e,r,t){let[s,a]=n.useState(e),{run:l}=i(()=>{a(e)},r,t);return n.useEffect(()=>{l()},[e]),[s,a]}},16784:function(e,r,t){"use strict";t.d(r,{d:function(){return s}});var n=t(3546);function s(e){let r=n.useRef(e);return r.current=e,r}},98454:function(e,r,t){"use strict";t.d(r,{P:function(){return l}});var n=t(40055),s=t(43240);let a=(0,s.BX)("\n query MeQuery {\n me {\n id\n authToken\n email\n isAdmin\n isOwner\n isPasswordSet\n name\n }\n }\n"),l=()=>(0,n.aM)({query:a})},3765:function(e,r,t){"use strict";t.d(r,{Z:function(){return o}});var n=t(44745),s=t(57778),a=t(79716),l=t(91302),i=t(66794);async function o(e,r){var t;let n=null!==(t=null==r?void 0:r.customFetch)&&void 0!==t?t:window.fetch;if(function(e){var r;if(e.startsWith("/oauth/providers"))return!1;let t=null===(r=(0,i.bW)())||void 0===r?void 0:r.accessToken;if(!t)return!0;try{let{exp:e}=(0,a.o)(t);return(0,i.pw)(e)}catch(e){return!0}}(e))return i.gN.refreshToken(d).then(t=>m(e,r));let s=await n(e,u(r));return 401===s.status?(i.gN.clearAccessToken(),i.gN.refreshToken(d).then(t=>m(e,r))):f(s,r)}async function d(){var e,r;let t=null===(e=(0,i.bW)())||void 0===e?void 0:e.refreshToken;if(!t)return;let n=await c(t);return null==n?void 0:null===(r=n.data)||void 0===r?void 0:r.refreshToken}function u(e){var r;let t=new Headers(null==e?void 0:e.headers);return t.append("authorization","Bearer ".concat(null===(r=(0,i.bW)())||void 0===r?void 0:r.accessToken)),{...e||{},headers:t}}async function c(e){let r=new n.KU({url:"/graphql",requestPolicy:"network-only",exchanges:[n.Ek]}),t=r.createRequestOperation("mutation",(0,s.h)(l.Dp,{refreshToken:e}));return r.executeMutation(t)}function m(e,r){var t;let n=null!==(t=null==r?void 0:r.customFetch)&&void 0!==t?t:window.fetch;return n(e,u(r)).then(e=>f(e,r))}function f(e,r){return(null==e?void 0:e.ok)?(null==r?void 0:r.responseFormatter)?r.responseFormatter(e):(null==r?void 0:r.responseFormat)==="blob"?e.blob():e.json():(null==r?void 0:r.errorHandler)?r.errorHandler(e):void 0}}},function(e){e.O(0,[8415,7430,55,7812,9643,4752,3449,2578,8511,240,2287,1454,5669,8961,4546,6805,9275,1889,4595,7288,1565,3240,4656,3375,5289,1744],function(){return e(e.s=93837)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1760],{93837:function(e,r,t){Promise.resolve().then(t.bind(t,67220))},67220:function(e,r,t){"use strict";t.r(r),t.d(r,{UserGroupContext:function(){return P},default:function(){return $}});var n=t(36164),s=t(3546),a=t(2578),l=t(40055),i=t(36758),o=t(98454),d=t(70410),u=t(31458),c=t(79972),m=t(81565),f=t(6230),p=t(90379),x=t(84381),h=t(5493),v=t(23782),N=t(43240),j=t(11634),g=t(30220),b=t(98150),y=t(82394);let w=(0,N.BX)("\n mutation createUserGroup($input: CreateUserGroupInput!) {\n createUserGroup(input: $input)\n }\n"),C=v.Ry({name:v.Z_().trim()});function R(e){let{onSubmit:r,children:t}=e,[a,l]=s.useState(!1),i=(0,h.cI)({resolver:(0,x.F)(C)}),{isSubmitting:o}=i.formState,d=e=>{o||(e||setTimeout(()=>{i.reset()},500),l(e))},c=(0,j.Db)(w,{form:i}),f=async e=>c({input:{name:e.name}}).then(e=>{var t;(null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.createUserGroup)&&(null==r||r(e.data.createUserGroup),d(!1))}).catch(()=>{});return(0,n.jsxs)(g.Vq,{open:a,onOpenChange:d,children:[(0,n.jsxs)(g.cZ,{children:[(0,n.jsx)(g.fK,{className:"gap-3",children:(0,n.jsx)(g.$N,{children:"Create Group"})}),(0,n.jsx)(b.l0,{...i,children:(0,n.jsx)("div",{className:"grid gap-2",children:(0,n.jsxs)("form",{className:"grid gap-6",onSubmit:i.handleSubmit(f),children:[(0,n.jsxs)("div",{className:"grid gap-2",children:[(0,n.jsx)(b.Wi,{control:i.control,name:"name",render:e=>{let{field:r}=e;return(0,n.jsxs)(b.xJ,{children:[(0,n.jsx)(b.lX,{required:!0,children:"Name"}),(0,n.jsx)(b.pf,{children:"Group name need to be unique, and it cannot be changed after creation."}),(0,n.jsx)(b.NI,{children:(0,n.jsx)(y.I,{placeholder:"e.g backend-dev",autoCapitalize:"none",autoCorrect:"off",autoComplete:"off",...r})}),(0,n.jsx)(b.zG,{})]})}}),(0,n.jsx)(b.zG,{})]}),(0,n.jsxs)("div",{className:"flex justify-end gap-4",children:[(0,n.jsx)(u.z,{type:"button",variant:"ghost",disabled:o,onClick:()=>d(!1),children:"Cancel"}),(0,n.jsxs)(u.z,{type:"submit",disabled:o,children:[o&&(0,n.jsx)(m.IconSpinner,{className:"mr-2"}),"Create"]})]})]})})})]}),(0,n.jsx)(g.hg,{asChild:!0,children:t})]})}var k=t(57288),I=t(73460),G=t(82030),Y=t(36065),z=t(84942),S=t(54594),A=t(99047),D=t(52569);let _=(0,N.BX)("\n mutation DeleteUserGroupMembership($userGroupId: ID!, $userId: ID!) {\n deleteUserGroupMembership(userGroupId: $userGroupId, userId: $userId)\n }\n"),F=(0,N.BX)("\n mutation UpsertUserGroupMembership($input: UpsertUserGroupMembershipInput!) {\n upsertUserGroupMembership(input: $input)\n }\n");function T(e){let{className:r,members:t}=e,{isServerAdmin:a,isGroupAdmin:l}=(0,s.useContext)(E),[i,o]=(0,s.useState)(!1);return(0,n.jsxs)("div",{className:(0,k.cn)("flex flex-col gap-2 border-b px-1 py-2",r),children:[(0,n.jsx)("div",{className:"max-h-[286px] flex-1 overflow-auto",children:t.length||i?(0,n.jsx)(A.iA,{className:"table-fixed",children:(0,n.jsxs)(A.RM,{children:[t.map(e=>(0,n.jsx)(U,{member:e,onRemoveEmptyItem:()=>o(!1)},e.user.id)),i&&(0,n.jsx)(U,{onRemoveEmptyItem:()=>o(!1)})]})}):(0,n.jsx)("div",{className:"p-3 pl-4 text-muted-foreground",children:"No members"})}),(a||l)&&(0,n.jsx)("div",{className:"mb-2 ml-2 flex justify-start",children:(0,n.jsxs)(u.z,{variant:"outline",disabled:i,onClick:()=>{i||o(!0)},children:[(0,n.jsx)(m.IconPlus,{className:"mr-2"}),"Add Member"]})})]})}function U(e){let{member:r,onRemoveEmptyItem:t}=e,{isServerAdmin:l,isGroupAdmin:i,memberIds:o,userGroupId:d}=(0,s.useContext)(E),c=(0,s.useRef)(null),[f,p]=(0,s.useState)(l?o.length?"0":"1":"0");(0,s.useEffect)(()=>{r&&r.isGroupAdmin!==("1"===f)&&p(r.isGroupAdmin?"1":"0")},[r]),(0,s.useEffect)(()=>{if(!r){var e;null===(e=c.current)||void 0===e||e.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}},[]);let x=(0,j.Db)(_),h=(0,j.Db)(F),v=(e,r,t)=>h({input:r,extraParams:{user:t,isInsert:e}}).then(e=>{var r,n;if(!(null==e?void 0:null===(r=e.data)||void 0===r?void 0:r.upsertUserGroupMembership)){let r=(null==e?void 0:null===(n=e.error)||void 0===n?void 0:n.message)||"Failed to update ".concat(t.name||t.email);a.A.error(r),p(f);return}}).catch(e=>{a.A.error(e.message||"Failed to update ".concat(t.name||t.email)),p(f)}),N=l||i&&(!r||!r.isGroupAdmin);return(0,n.jsxs)(A.SC,{className:"border-0 !bg-background pl-1",ref:c,children:[(0,n.jsx)(A.pj,{children:(0,n.jsx)(O,{membership:r,onChange:(e,r)=>{v(!0,{userId:e,userGroupId:d,isGroupAdmin:"1"===f},(0,G.Z)(r,"id","email","createdAt","name")),t()}})}),(0,n.jsx)(A.pj,{className:"w-[30%]",children:(0,n.jsxs)(S.Ph,{onValueChange:e=>{p(e),r&&v(!1,{userGroupId:d,userId:r.user.id,isGroupAdmin:"1"===e},r.user)},value:f,disabled:!l,children:[(0,n.jsx)(S.i4,{className:"h-10",children:(0,n.jsx)(S.ki,{placeholder:"Select role"})}),(0,n.jsxs)(S.Bw,{children:[(0,n.jsx)(S.Ql,{value:"1",children:"Group Admin"}),(0,n.jsx)(S.Ql,{value:"0",children:"Group Member"})]})]})}),(0,n.jsx)(A.pj,{className:"w-[100px] text-right",children:N&&(0,n.jsx)(u.z,{size:"icon",variant:"hover-destructive",onClick:()=>{if(!r){t();return}x({userGroupId:d,userId:r.user.id}).then(e=>{var t,n;if(!(null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.deleteUserGroupMembership)){let t=(null==e?void 0:null===(n=e.error)||void 0===n?void 0:n.message)||"Failed to delete ".concat(r.user.name||r.user.email);a.A.error(t);return}}).catch(e=>{a.A.error(e.message||"Failed to delete ".concat(r.user.name||r.user.email))})},children:(0,n.jsx)(m.IconTrash,{})})})]})}function O(e){let{membership:r,onChange:t}=e,a=null==r?void 0:r.user.id,{fetchingAllUsers:l,allUsers:i}=(0,s.useContext)(P),{memberIds:o}=(0,s.useContext)(E),[d,c]=(0,s.useState)(!1),f=(0,s.useRef)(null),p=(0,s.useMemo)(()=>i.filter(e=>!o.includes(e.id)),[o,i]),x=()=>{requestAnimationFrame(()=>{f.current&&(f.current.scrollTop=0)})},h=e=>{c(!1),t(e,p.find(r=>r.id===e))};return(0,n.jsxs)(z.J2,{open:d,onOpenChange:c,children:[(0,n.jsx)(z.xo,{asChild:!0,children:(0,n.jsxs)(u.z,{variant:"outline",role:"combobox",className:(0,k.cn)("h-10 w-full justify-between font-normal",{"text-muted-foreground hover:text-muted-foreground":!a,"cursor-auto shadow-none hover:bg-background":!!a}),onClick:e=>{a&&e.preventDefault()},children:[l?"Loading...":a?(0,n.jsx)(M,{user:r.user}):"Select member",!a&&(0,n.jsx)(m.IconChevronUpDown,{})]})}),(0,n.jsx)(z.yk,{className:"w-[var(--radix-popover-trigger-width)] p-0",align:"start",side:"bottom",children:(0,n.jsxs)(Y.mY,{children:[(0,n.jsx)(Y.sZ,{placeholder:"Search member...",onValueChange:()=>{x()}}),(0,n.jsxs)(Y.e8,{className:"max-h-[30vh]",ref:f,children:[(0,n.jsx)(Y.rb,{children:l?(0,n.jsx)("div",{className:"flex justify-center",children:(0,n.jsx)(m.IconSpinner,{className:"h-6 w-6"})}):"No user found"}),(0,n.jsx)(Y.fu,{children:p.map(e=>(0,n.jsx)(Y.di,{onSelect:()=>h(e.id),children:(0,n.jsx)(M,{user:e})},e.id))})]})]})})]})}function M(e){let{user:r}=e,t=r.name;return(0,n.jsxs)("div",{className:"flex h-10 items-center gap-2",children:[(0,n.jsx)(D.Yt,{user:r,className:"h-7 w-7"}),(0,n.jsxs)("span",{className:"space-x-1",children:[r.name,(0,n.jsx)("span",{className:(0,k.cn)("text-sm",{"text-muted-foreground":!!t}),children:t?"(".concat(r.email,")"):r.email})]})]})}let Z=(0,N.BX)("\n mutation DeleteUserGroup($id: ID!) {\n deleteUserGroup(id: $id)\n }\n"),E=(0,s.createContext)({});function V(e){let{onSuccess:r,userGroup:t,isLastItem:l}=e,{me:i}=(0,s.useContext)(P),o=!!((null==i?void 0:i.isOwner)||(null==i?void 0:i.isAdmin)),d=(0,s.useMemo)(()=>{let e=t.members.filter(e=>e.isGroupAdmin).map(e=>e.user.id);return null!=i&&!!i.id&&e.includes(i.id)},[i,t]),[c,f]=(0,s.useState)(!1),[p,x]=(0,s.useState)(!1),[h,v]=(0,s.useState)(!1),N=(0,j.Db)(Z),g=(0,s.useMemo)(()=>t.members.map(e=>e.user.id),[t.members]),b=t.members.length;return(0,n.jsx)(E.Provider,{value:{isGroupAdmin:d,isServerAdmin:o,memberIds:g,userGroupId:t.id},children:(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:(0,k.cn)("flex cursor-pointer items-center gap-2 border-b p-3 hover:bg-muted/50",{"border-b-0":!!l&&!p}),onClick:()=>x(!p),children:[(0,n.jsx)(m.IconChevronRight,{className:(0,k.cn)("shrink-0 transition-all",{"rotate-90":p})}),(0,n.jsx)(m.IconUsers,{className:"shrink-0"}),(0,n.jsxs)("div",{className:"flex flex-1 items-center gap-2 overflow-hidden",children:[(0,n.jsx)("div",{className:"font-semibold",children:t.name}),(0,n.jsx)("span",{className:"text-sm text-muted-foreground",children:"(".concat(b," member").concat(b>1?"s":"",")")})]}),(0,n.jsx)("div",{onClick:e=>e.stopPropagation(),className:"flex items-center gap-2",children:o&&(0,n.jsxs)(I.aR,{open:c,onOpenChange:f,children:[(0,n.jsx)(I.vW,{asChild:!0,children:(0,n.jsx)(u.z,{size:"icon",variant:"hover-destructive",children:(0,n.jsx)(m.IconTrash,{})})}),(0,n.jsxs)(I._T,{children:[(0,n.jsxs)(I.fY,{children:[(0,n.jsx)(I.f$,{children:"Delete this group"}),(0,n.jsxs)(I.yT,{children:["Are you sure you want to delete user group",(0,n.jsx)("span",{className:"ml-1 font-bold",children:'"'.concat(t.name,'"')}),"? This operation is not revertible."]})]}),(0,n.jsxs)(I.xo,{children:[(0,n.jsx)(I.le,{children:"Cancel"}),(0,n.jsxs)(I.OL,{className:(0,u.d)({variant:"destructive"}),onClick:e=>{e.preventDefault(),v(!0),N({id:t.id}).then(e=>{var t,n;if(null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.deleteUserGroup)null==r||r(),x(!1);else{let r=(null==e?void 0:null===(n=e.error)||void 0===n?void 0:n.message)||"Failed to delete";a.A.error(r)}}).catch(e=>{let r=(null==e?void 0:e.message)||"Failed to delete";a.A.error(r)}).finally(()=>{v(!1)})},children:[h&&(0,n.jsx)(m.IconSpinner,{className:"mr-2 h-4 w-4 animate-spin"}),"Yes, delete it"]})]})]})]})})]}),p&&(0,n.jsx)(T,{members:t.members,userGroupId:t.id,userGroupName:t.name,className:l?"border-b-0":void 0})]})})}let P=s.createContext({});function $(){let[e,r]=(0,i.d)(),[{data:t,error:x,fetching:h},v]=(0,l.aM)({query:d.gI}),[{data:N}]=(0,o.P)(),j=!!((null==N?void 0:N.me.isOwner)||(null==N?void 0:N.me.isAdmin));s.useEffect(()=>{(null==x?void 0:x.message)&&a.A.error(x.message)},[x]);let g=async()=>{v()},b=null==t?void 0:t.userGroups;return(0,n.jsxs)(P.Provider,{value:{allUsers:e,fetchingAllUsers:r,refreshUserGroups:v,me:null==N?void 0:N.me},children:[(0,n.jsx)(c.Ol,{className:"px-0 pt-0",children:(0,n.jsxs)(c.ll,{className:"flex min-h-[2rem] items-start justify-between",children:["Groups",(null==N?void 0:N.me.isAdmin)&&(0,n.jsx)(R,{onSubmit:g,children:(0,n.jsxs)(u.z,{className:"gap-1",children:[(0,n.jsx)(m.IconPlus,{}),"Create"]})})]})}),(0,n.jsx)(f.Z,{loading:h,fallback:(0,n.jsx)(p.cg,{}),children:(null==b?void 0:b.length)?(0,n.jsx)("div",{className:"overflow-hidden rounded-lg border",children:b.map((e,r)=>(0,n.jsx)(V,{userGroup:e,onSuccess:()=>v(),isLastItem:r===b.length-1},e.id))}):(0,n.jsxs)("div",{className:"flex flex-col items-center gap-4 rounded-lg border-4 border-dashed py-8",children:[(0,n.jsx)("div",{children:"No Data"}),j&&(0,n.jsx)("div",{className:"mb-4 flex justify-end",children:(0,n.jsx)(R,{onSubmit:g,children:(0,n.jsx)(u.z,{type:"button",children:"Create"})})})]})})]})}},6230:function(e,r,t){"use strict";var n=t(36164),s=t(3546),a=t(24449),l=t(90379);r.Z=e=>{let{loading:r,fallback:t,delay:i,children:o}=e,[d,u]=s.useState(!r),[c]=(0,a.n)(d,null!=i?i:200);return(s.useEffect(()=>{r||d||u(!0)},[r]),c)?o:t||(0,n.jsx)(l.cg,{})}},90379:function(e,r,t){"use strict";t.d(r,{PF:function(){return o},cg:function(){return l},tB:function(){return i}});var n=t(36164),s=t(57288),a=t(3448);let l=e=>{let{className:r,...t}=e;return(0,n.jsxs)("div",{className:(0,s.cn)("space-y-3",r),...t,children:[(0,n.jsx)(a.O,{className:"h-4 w-full"}),(0,n.jsx)(a.O,{className:"h-4 w-full"}),(0,n.jsx)(a.O,{className:"h-4 w-full"}),(0,n.jsx)(a.O,{className:"h-4 w-full"})]})},i=e=>{let{className:r,...t}=e;return(0,n.jsx)(a.O,{className:(0,s.cn)("h-4 w-full",r),...t})},o=e=>{let{className:r,...t}=e;return(0,n.jsxs)("div",{className:(0,s.cn)("flex flex-col gap-3",r),...t,children:[(0,n.jsx)(a.O,{className:"h-4 w-[20%]"}),(0,n.jsx)(a.O,{className:"h-4 w-full"}),(0,n.jsx)(a.O,{className:"h-4 w-[20%]"}),(0,n.jsx)(a.O,{className:"h-4 w-full"})]})}},73460:function(e,r,t){"use strict";t.d(r,{OL:function(){return v},_T:function(){return m},aR:function(){return o},f$:function(){return x},fY:function(){return f},le:function(){return N},vW:function(){return d},xo:function(){return p},yT:function(){return h}});var n=t(36164),s=t(3546),a=t(28961),l=t(57288),i=t(31458);let o=a.fC,d=a.xz,u=e=>{let{className:r,children:t,...s}=e;return(0,n.jsx)(a.h_,{className:(0,l.cn)(r),...s,children:(0,n.jsx)("div",{className:"fixed inset-0 z-50 flex items-end justify-center sm:items-center",children:t})})};u.displayName=a.h_.displayName;let c=s.forwardRef((e,r)=>{let{className:t,children:s,...i}=e;return(0,n.jsx)(a.aV,{className:(0,l.cn)("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm transition-opacity animate-in fade-in",t),...i,ref:r})});c.displayName=a.aV.displayName;let m=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsxs)(u,{children:[(0,n.jsx)(c,{}),(0,n.jsx)(a.VY,{ref:r,className:(0,l.cn)("fixed z-50 grid w-full max-w-lg scale-100 gap-4 border bg-background p-6 opacity-100 shadow-lg animate-in fade-in-90 slide-in-from-bottom-10 sm:rounded-lg sm:zoom-in-90 sm:slide-in-from-bottom-0 md:w-full",t),...s})]})});m.displayName=a.VY.displayName;let f=e=>{let{className:r,...t}=e;return(0,n.jsx)("div",{className:(0,l.cn)("flex flex-col space-y-2 text-center sm:text-left",r),...t})};f.displayName="AlertDialogHeader";let p=e=>{let{className:r,...t}=e;return(0,n.jsx)("div",{className:(0,l.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",r),...t})};p.displayName="AlertDialogFooter";let x=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)(a.Dx,{ref:r,className:(0,l.cn)("text-lg font-semibold",t),...s})});x.displayName=a.Dx.displayName;let h=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)(a.dk,{ref:r,className:(0,l.cn)("text-sm text-muted-foreground",t),...s})});h.displayName=a.dk.displayName;let v=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)(a.aU,{ref:r,className:(0,l.cn)((0,i.d)(),t),...s})});v.displayName=a.aU.displayName;let N=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)(a.$j,{ref:r,className:(0,l.cn)((0,i.d)({variant:"outline"}),"mt-2 sm:mt-0",t),...s})});N.displayName=a.$j.displayName},79972:function(e,r,t){"use strict";t.d(r,{Ol:function(){return i},Zb:function(){return l},aY:function(){return u},eW:function(){return c},ll:function(){return o}});var n=t(36164),s=t(3546),a=t(57288);let l=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)("div",{ref:r,className:(0,a.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",t),...s})});l.displayName="Card";let i=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)("div",{ref:r,className:(0,a.cn)("flex flex-col space-y-1.5 p-6",t),...s})});i.displayName="CardHeader";let o=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)("h3",{ref:r,className:(0,a.cn)("text-2xl font-semibold leading-none tracking-tight",t),...s})});o.displayName="CardTitle";let d=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)("p",{ref:r,className:(0,a.cn)("text-sm text-muted-foreground",t),...s})});d.displayName="CardDescription";let u=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)("div",{ref:r,className:(0,a.cn)("p-6 pt-0",t),...s})});u.displayName="CardContent";let c=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)("div",{ref:r,className:(0,a.cn)("flex items-center p-6 pt-0",t),...s})});c.displayName="CardFooter"},36065:function(e,r,t){"use strict";t.d(r,{di:function(){return p},e8:function(){return u},fu:function(){return m},mY:function(){return o},rb:function(){return c},sZ:function(){return d},zz:function(){return f}});var n=t(36164),s=t(3546),a=t(53241),l=t(93170),i=t(57288);t(30220);let o=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)(a.mY,{ref:r,className:(0,i.cn)("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",t),...s})});o.displayName=a.mY.displayName;let d=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsxs)("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,n.jsx)(l.Z,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),(0,n.jsx)(a.mY.Input,{ref:r,className:(0,i.cn)("flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",t),...s})]})});d.displayName=a.mY.Input.displayName;let u=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)(a.mY.List,{ref:r,className:(0,i.cn)("max-h-[300px] overflow-y-auto overflow-x-hidden",t),...s})});u.displayName=a.mY.List.displayName;let c=s.forwardRef((e,r)=>(0,n.jsx)(a.mY.Empty,{ref:r,className:"py-6 text-center text-sm",...e}));c.displayName=a.mY.Empty.displayName;let m=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)(a.mY.Group,{ref:r,className:(0,i.cn)("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",t),...s})});m.displayName=a.mY.Group.displayName;let f=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)(a.mY.Separator,{ref:r,className:(0,i.cn)("-mx-1 h-px bg-border",t),...s})});f.displayName=a.mY.Separator.displayName;let p=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)(a.mY.Item,{ref:r,className:(0,i.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-disabled:pointer-events-none aria-disabled:opacity-50 aria-selected:bg-accent aria-selected:text-accent-foreground",t),...s})});p.displayName=a.mY.Item.displayName},30220:function(e,r,t){"use strict";t.d(r,{$N:function(){return x},Be:function(){return h},Vq:function(){return o},cN:function(){return p},cZ:function(){return m},fK:function(){return f},hg:function(){return d}});var n=t(36164),s=t(3546),a=t(4318),l=t(1663),i=t(57288);let o=a.fC,d=a.xz,u=a.h_;a.x8;let c=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)(a.aV,{ref:r,className:(0,i.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...s})});c.displayName=a.aV.displayName;let m=s.forwardRef((e,r)=>{let{className:t,children:s,...o}=e;return(0,n.jsxs)(u,{children:[(0,n.jsx)(c,{}),(0,n.jsxs)(a.VY,{ref:r,className:(0,i.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",t),...o,children:[s,(0,n.jsxs)(a.x8,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,n.jsx)(l.Z,{className:"h-4 w-4"}),(0,n.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});m.displayName=a.VY.displayName;let f=e=>{let{className:r,...t}=e;return(0,n.jsx)("div",{className:(0,i.cn)("flex flex-col space-y-1.5 text-center sm:text-left",r),...t})};f.displayName="DialogHeader";let p=e=>{let{className:r,...t}=e;return(0,n.jsx)("div",{className:(0,i.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",r),...t})};p.displayName="DialogFooter";let x=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)(a.Dx,{ref:r,className:(0,i.cn)("text-lg font-semibold leading-none tracking-tight",t),...s})});x.displayName=a.Dx.displayName;let h=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)(a.dk,{ref:r,className:(0,i.cn)("text-sm text-muted-foreground",t),...s})});h.displayName=a.dk.displayName},98150:function(e,r,t){"use strict";t.d(r,{NI:function(){return h},Wi:function(){return c},l0:function(){return d},lX:function(){return x},pf:function(){return v},xJ:function(){return p},zG:function(){return N}});var n=t(36164),s=t(3546),a=t(74047),l=t(5493),i=t(57288),o=t(5266);let d=l.RV,u=s.createContext({}),c=e=>{let{...r}=e;return(0,n.jsx)(u.Provider,{value:{name:r.name},children:(0,n.jsx)(l.Qr,{...r})})},m=()=>{let e=s.useContext(u),r=s.useContext(f),{getFieldState:t,formState:n}=(0,l.Gc)(),a=e.name||"root",i=t(a,n);if(!n)throw Error("useFormField should be used within ");let{id:o}=r;return{id:o,name:a,formItemId:"".concat(o,"-form-item"),formDescriptionId:"".concat(o,"-form-item-description"),formMessageId:"".concat(o,"-form-item-message"),...i}},f=s.createContext({}),p=s.forwardRef((e,r)=>{let{className:t,...a}=e,l=s.useId();return(0,n.jsx)(f.Provider,{value:{id:l},children:(0,n.jsx)("div",{ref:r,className:(0,i.cn)("space-y-2",t),...a})})});p.displayName="FormItem";let x=s.forwardRef((e,r)=>{let{className:t,required:s,...a}=e,{error:l,formItemId:d}=m();return(0,n.jsx)(o._,{ref:r,className:(0,i.cn)(l&&"text-destructive",s&&'after:ml-0.5 after:text-destructive after:content-["*"]',t),htmlFor:d,...a})});x.displayName="FormLabel";let h=s.forwardRef((e,r)=>{let{...t}=e,{error:s,formItemId:l,formDescriptionId:i,formMessageId:o}=m();return(0,n.jsx)(a.g7,{ref:r,id:l,"aria-describedby":s?"".concat(i," ").concat(o):"".concat(i),"aria-invalid":!!s,...t})});h.displayName="FormControl";let v=s.forwardRef((e,r)=>{let{className:t,...s}=e,{formDescriptionId:a}=m();return(0,n.jsx)("div",{ref:r,id:a,className:(0,i.cn)("text-sm text-muted-foreground",t),...s})});v.displayName="FormDescription";let N=s.forwardRef((e,r)=>{let{className:t,children:s,...a}=e,{error:l,formMessageId:o}=m(),d=l?String(null==l?void 0:l.message):s;return d?(0,n.jsx)("p",{ref:r,id:o,className:(0,i.cn)("text-sm font-medium text-destructive",t),...a,children:d}):null});N.displayName="FormMessage"},82394:function(e,r,t){"use strict";t.d(r,{I:function(){return l}});var n=t(36164),s=t(3546),a=t(57288);let l=s.forwardRef((e,r)=>{let{className:t,type:s,...l}=e;return(0,n.jsx)("input",{type:s,className:(0,a.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),ref:r,...l})});l.displayName="Input"},5266:function(e,r,t){"use strict";t.d(r,{_:function(){return d}});var n=t(36164),s=t(3546),a=t(90893),l=t(14375),i=t(57288);let o=(0,l.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)(a.f,{ref:r,className:(0,i.cn)(o(),t),...s})});d.displayName=a.f.displayName},84942:function(e,r,t){"use strict";t.d(r,{J2:function(){return i},i9:function(){return u},tW:function(){return c},xo:function(){return o},xp:function(){return d},yk:function(){return m}});var n=t(36164),s=t(3546),a=t(83299),l=t(57288);let i=a.fC,o=a.xz,d=a.x8,u=a.h_,c=a.ee,m=s.forwardRef((e,r)=>{let{className:t,sideOffset:s=4,...i}=e;return(0,n.jsx)(a.VY,{ref:r,sideOffset:s,className:(0,l.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow animate-in data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...i})});m.displayName=a.VY.displayName},54594:function(e,r,t){"use strict";t.d(r,{Bw:function(){return m},DI:function(){return d},Ph:function(){return o},Ql:function(){return p},U$:function(){return x},i4:function(){return c},ki:function(){return u}});var n=t(36164),s=t(3546),a=t(31889),l=t(57288),i=t(81565);let o=a.fC,d=a.ZA,u=a.B4,c=s.forwardRef((e,r)=>{let{className:t,children:s,...o}=e;return(0,n.jsxs)(a.xz,{ref:r,className:(0,l.cn)("flex h-9 w-full items-center justify-between rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),...o,children:[s,(0,n.jsx)(a.JO,{asChild:!0,children:(0,n.jsx)(i.IconChevronUpDown,{className:"opacity-50"})})]})});c.displayName=a.xz.displayName;let m=s.forwardRef((e,r)=>{let{className:t,children:s,position:i="popper",...o}=e;return(0,n.jsx)(a.h_,{children:(0,n.jsx)(a.VY,{ref:r,className:(0,l.cn)("relative z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md animate-in fade-in-80","popper"===i&&"translate-y-1",t),position:i,...o,children:(0,n.jsx)(a.l_,{className:(0,l.cn)("p-1","popper"===i&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:s})})})});m.displayName=a.VY.displayName;let f=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)(a.__,{ref:r,className:(0,l.cn)("py-1.5 pl-8 pr-2 text-sm font-semibold",t),...s})});f.displayName=a.__.displayName;let p=s.forwardRef((e,r)=>{let{className:t,children:s,isPlaceHolder:o,...d}=e;return(0,n.jsxs)(a.ck,{ref:r,className:(0,l.cn)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...d,children:[!o&&(0,n.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,n.jsx)(a.wU,{children:(0,n.jsx)(i.IconCheck,{className:"h-4 w-4"})})}),(0,n.jsx)(a.eT,{children:s})]})});p.displayName=a.ck.displayName;let x=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)(a.Z0,{ref:r,className:(0,l.cn)("-mx-1 my-1 h-px bg-muted",t),...s})});x.displayName=a.Z0.displayName},3448:function(e,r,t){"use strict";t.d(r,{O:function(){return a}});var n=t(36164),s=t(57288);function a(e){let{className:r,...t}=e;return(0,n.jsx)("div",{className:(0,s.cn)("h-4 animate-pulse rounded-md bg-border",r),...t})}},99047:function(e,r,t){"use strict";t.d(r,{RM:function(){return o},SC:function(){return u},iA:function(){return l},pj:function(){return m},ss:function(){return c},xD:function(){return i}});var n=t(36164),s=t(3546),a=t(57288);let l=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)("table",{ref:r,className:(0,a.cn)("w-full caption-bottom text-sm",t),...s})});l.displayName="Table";let i=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)("thead",{ref:r,className:(0,a.cn)("[&_tr]:border-b",t),...s})});i.displayName="TableHeader";let o=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)("tbody",{ref:r,className:(0,a.cn)("[&_tr:last-child]:border-0",t),...s})});o.displayName="TableBody";let d=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)("tfoot",{ref:r,className:(0,a.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",t),...s})});d.displayName="TableFooter";let u=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)("tr",{ref:r,className:(0,a.cn)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",t),...s})});u.displayName="TableRow";let c=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)("th",{ref:r,className:(0,a.cn)("h-12 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",t),...s})});c.displayName="TableHead";let m=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)("td",{ref:r,className:(0,a.cn)("p-2 align-middle [&:has([role=checkbox])]:pr-0",t),...s})});m.displayName="TableCell";let f=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)("caption",{ref:r,className:(0,a.cn)("mt-4 text-sm text-muted-foreground",t),...s})});f.displayName="TableCaption"},52569:function(e,r,t){"use strict";t.d(r,{SQ:function(){return b},Yt:function(){return g},nY:function(){return j}});var n=t(36164),s=t(3546),a=t(87782),l=t(21454),i=t(36327),o=t(98454),d=t(3765),u=t(57288),c=t(66612);let m=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)(c.fC,{ref:r,className:(0,u.cn)("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",t),...s})});m.displayName=c.fC.displayName;let f=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)(c.Ee,{ref:r,className:(0,u.cn)("aspect-square h-full w-full",t),...s})});f.displayName=c.Ee.displayName;let p=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)(c.NY,{ref:r,className:(0,u.cn)("flex h-full w-full items-center justify-center rounded-full bg-muted",t),...s})});p.displayName=c.NY.displayName;var x=t(3448),h=t(30410).lW;let v="not_found",N=new Set,j=e=>{N.delete(e),(0,l.JG)("/avatar/".concat(e))};function g(e){var r;let{user:t,className:l,fallback:o}=e,c=null==t?void 0:t.id,j=c?"/avatar/".concat(c):null,{data:g,isLoading:b,error:y}=(0,i.Z)(j,e=>{if(!(!c||N.has(c)))return(0,d.Z)(e,{responseFormatter:async e=>{let r=await e.blob(),t=h.from(await r.arrayBuffer());return"data:image/png;base64,".concat(t.toString("base64"))},errorHandler:e=>{if(404===e.status)throw Error(v)}})}),w=s.useMemo(()=>{if(null==t?void 0:t.email)return(0,a.B)(t.email)},[null==t?void 0:t.email]);return b?(0,n.jsx)(x.O,{className:(0,u.cn)("h-16 w-16 rounded-full",l)}):((null==y?void 0:y.message)===v&&c&&N.add(c),g||w||!o)?!g&&w?(0,n.jsx)(a.Z,{className:(0,u.cn)("h-16 w-16",l),...w}):(0,n.jsxs)(m,{className:(0,u.cn)("h-16 w-16",l),children:[(0,n.jsx)(f,{src:g,alt:null==t?void 0:t.email,className:"object-cover"}),(0,n.jsx)(p,{children:null==t?void 0:null===(r=t.email)||void 0===r?void 0:r.substring(0,2)})]}):o}function b(e){let[{data:r}]=(0,o.P)();return(0,n.jsx)(g,{user:null==r?void 0:r.me,...e})}},36758:function(e,r,t){"use strict";t.d(r,{d:function(){return l}});var n=t(3546),s=t(40055),a=t(70410);function l(){let[{data:e,fetching:r,error:t}]=(0,s.aM)({query:a.TH}),l=(0,n.useMemo)(()=>{var r;return null!==(r=null==e?void 0:e.users.edges.map(e=>e.node))&&void 0!==r?r:[]},[null==e?void 0:e.users]);return[l,r,t]}},24449:function(e,r,t){"use strict";t.d(r,{S:function(){return i},n:function(){return o}});var n=t(3546),s=t(45391),a=t(16784);let l=e=>{let r=(0,a.d)(e);n.useEffect(()=>()=>{r.current()},[])};function i(e,r,t){let i=(0,a.d)(e),o=n.useMemo(()=>(0,s.Z)(function(){for(var e=arguments.length,r=Array(e),t=0;t{var e;null==t||null===(e=t.onUnmount)||void 0===e||e.call(t,o),o.cancel()}),{run:o,cancel:o.cancel,flush:o.flush}}function o(e,r,t){let[s,a]=n.useState(e),{run:l}=i(()=>{a(e)},r,t);return n.useEffect(()=>{l()},[e]),[s,a]}},16784:function(e,r,t){"use strict";t.d(r,{d:function(){return s}});var n=t(3546);function s(e){let r=n.useRef(e);return r.current=e,r}},98454:function(e,r,t){"use strict";t.d(r,{P:function(){return l}});var n=t(40055),s=t(43240);let a=(0,s.BX)("\n query MeQuery {\n me {\n id\n authToken\n email\n isAdmin\n isOwner\n isPasswordSet\n name\n }\n }\n"),l=()=>(0,n.aM)({query:a})},3765:function(e,r,t){"use strict";t.d(r,{Z:function(){return o}});var n=t(44745),s=t(57778),a=t(79716),l=t(91302),i=t(66794);async function o(e,r){var t;let n=null!==(t=null==r?void 0:r.customFetch)&&void 0!==t?t:window.fetch;if(function(e){var r;if(e.startsWith("/oauth/providers"))return!1;let t=null===(r=(0,i.bW)())||void 0===r?void 0:r.accessToken;if(!t)return!0;try{let{exp:e}=(0,a.o)(t);return(0,i.pw)(e)}catch(e){return!0}}(e))return i.gN.refreshToken(d).then(t=>m(e,r));let s=await n(e,u(r));return 401===s.status?(i.gN.clearAccessToken(),i.gN.refreshToken(d).then(t=>m(e,r))):f(s,r)}async function d(){var e,r;let t=null===(e=(0,i.bW)())||void 0===e?void 0:e.refreshToken;if(!t)return;let n=await c(t);return null==n?void 0:null===(r=n.data)||void 0===r?void 0:r.refreshToken}function u(e){var r;let t=new Headers(null==e?void 0:e.headers);return t.append("authorization","Bearer ".concat(null===(r=(0,i.bW)())||void 0===r?void 0:r.accessToken)),{...e||{},headers:t}}async function c(e){let r=new n.KU({url:"/graphql",requestPolicy:"network-only",exchanges:[n.Ek]}),t=r.createRequestOperation("mutation",(0,s.h)(l.Dp,{refreshToken:e}));return r.executeMutation(t)}function m(e,r){var t;let n=null!==(t=null==r?void 0:r.customFetch)&&void 0!==t?t:window.fetch;return n(e,u(r)).then(e=>f(e,r))}function f(e,r){return(null==e?void 0:e.ok)?(null==r?void 0:r.responseFormatter)?r.responseFormatter(e):(null==r?void 0:r.responseFormat)==="blob"?e.blob():e.json():(null==r?void 0:r.errorHandler)?r.errorHandler(e):void 0}}},function(e){e.O(0,[8415,7430,55,7812,9643,4752,3449,2578,8511,240,2287,1454,1002,8961,6805,4546,9275,1889,7463,7288,1565,3240,4656,3375,5289,1744],function(){return e(e.s=93837)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/team/layout-feb51db2be01b3a1.js b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/team/layout-de6fa2ff3c7ea574.js similarity index 100% rename from ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/team/layout-feb51db2be01b3a1.js rename to ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/team/layout-de6fa2ff3c7ea574.js diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/team/page-0ec3fe491b4296cd.js b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/team/page-6779d2add41ab01b.js similarity index 77% rename from ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/team/page-0ec3fe491b4296cd.js rename to ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/team/page-6779d2add41ab01b.js index b40aa8da4324..438dbc5eed48 100644 --- a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/team/page-0ec3fe491b4296cd.js +++ b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/settings/team/page-6779d2add41ab01b.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3816],{24306:function(e,n,t){Promise.resolve().then(t.bind(t,49016))},49016:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return V}});var r=t(36164),s=t(98454),a=t(79972),i=t(6230),l=t(3546),o=t(99092),d=t.n(o),c=t(2578),u=t(40055),f=t(21808),m=t(43240),x=t(70526),p=t(11634),v=t(70410),h=t(31458),j=t(81565),g=t(49506),N=t(99047),b=t(48537),y=t(84381),w=t(5493),C=t(23782),R=t(98150),I=t(82394);let A=(0,m.BX)("\n mutation CreateInvitation($email: String!) {\n createInvitation(email: $email)\n }\n"),S=C.Ry({email:C.Z_().email("Invalid email address")});function _(e){let{onCreated:n}=e,t=(0,w.cI)({resolver:(0,y.F)(S)}),{isSubmitting:s}=t.formState,a=(0,p.Db)(A,{onCompleted(){t.reset({email:""}),n()},form:t});return(0,r.jsx)(R.l0,{...t,children:(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsxs)("form",{className:"flex w-full items-center gap-4",onSubmit:t.handleSubmit(a),children:[(0,r.jsx)(R.Wi,{control:t.control,name:"email",render:e=>{let{field:n}=e;return(0,r.jsx)(R.xJ,{children:(0,r.jsx)(R.NI,{children:(0,r.jsx)(I.I,{className:"w-60",placeholder:"e.g. ".concat(f.o0),type:"email",autoCapitalize:"none",autoComplete:"email",autoCorrect:"off",...n})})})}}),(0,r.jsx)(h.z,{type:"submit",disabled:s,children:"Invite"})]}),(0,r.jsx)(R.zG,{})]})})}let k=(0,m.BX)("\n mutation DeleteInvitation($id: ID!) {\n deleteInvitation(id: $id)\n }\n"),P=f.L8;function O(){var e,n;let t=(0,u.m8)(),[{data:s,fetching:a}]=(0,u.aM)({query:v.lE,variables:{first:P}}),[o,f]=l.useState(!1),[m,y]=l.useState(1),w=null==s?void 0:null===(e=s.invitations)||void 0===e?void 0:e.edges,C=null==s?void 0:null===(n=s.invitations)||void 0===n?void 0:n.pageInfo,R=Math.ceil(((null==w?void 0:w.length)||0)/P),I=l.useMemo(()=>{var e;return null==w?void 0:null===(e=w.slice)||void 0===e?void 0:e.call(w,(m-1)*P,m*P)},[m,w]),A=(null==C?void 0:C.hasNextPage)||m1,O=e=>t.query(v.lE,e).toPromise(),T=async e=>{var n,t,r,s,a;let i=await O({first:P,after:e}),l=(null==i?void 0:null===(r=i.data)||void 0===r?void 0:null===(t=r.invitations)||void 0===t?void 0:null===(n=t.edges)||void 0===n?void 0:n.length)||0,o=null==i?void 0:null===(a=i.data)||void 0===a?void 0:null===(s=a.invitations)||void 0===s?void 0:s.pageInfo;return(null==o?void 0:o.hasNextPage)&&(null==o?void 0:o.endCursor)&&(l=await T(o.endCursor)),l},U=async()=>{try{var e;f(!0);let n=T(null!==(e=null==C?void 0:C.endCursor)&&void 0!==e?e:void 0);return n}catch(e){return 0}finally{f(!1)}},D=(0,x.j)(),E=(0,p.Db)(k),F=async()=>{c.A.success("Invitation created"),U().then(e=>{y(Math.ceil((e||0)/P))})},z=e=>{E({id:e.id}).then(n=>{var t;if(null==n?void 0:n.error){c.A.error(n.error.message);return}(null==n?void 0:null===(t=n.data)||void 0===t?void 0:t.deleteInvitation)&&c.A.success("".concat(e.email," deleted"))})};return l.useEffect(()=>{R1&&y(R)},[R,m]),(0,r.jsxs)("div",{children:[(0,r.jsx)(_,{onCreated:F}),(0,r.jsx)("div",{className:"mt-4",children:(0,r.jsx)(i.Z,{loading:a,children:(0,r.jsxs)(N.iA,{className:"border-b",children:[!!(null==I?void 0:I.length)&&(0,r.jsx)(N.xD,{children:(0,r.jsxs)(N.SC,{children:[(0,r.jsx)(N.ss,{className:"w-[25%]",children:"Invitee"}),(0,r.jsx)(N.ss,{className:"w-[45%]",children:"Created"}),(0,r.jsx)(N.ss,{})]})}),(0,r.jsx)(N.RM,{children:null==I?void 0:I.map(e=>{let n="".concat(D,"/auth/signup?invitationCode=").concat(e.node.code);return(0,r.jsxs)(N.SC,{children:[(0,r.jsx)(N.pj,{children:e.node.email}),(0,r.jsx)(N.pj,{children:d().utc(e.node.createdAt).fromNow()}),(0,r.jsx)(N.pj,{className:"flex justify-end",children:(0,r.jsxs)("div",{className:"flex gap-1",children:[(0,r.jsx)(b.q,{value:n}),(0,r.jsx)(h.z,{size:"icon",variant:"hover-destructive",onClick:()=>z(e.node),children:(0,r.jsx)(j.IconTrash,{})})]})})]},e.node.id)})})]})})}),(A||S)&&(0,r.jsx)(g.tl,{className:"my-4",children:(0,r.jsxs)(g.ng,{children:[(0,r.jsx)(g.nt,{children:(0,r.jsx)(g.dN,{disabled:!S,onClick:()=>{!(m<=1)&&(o||a||y(e=>e-1))}})}),(0,r.jsx)(g.nt,{children:(0,r.jsx)(g.$0,{disabled:!A,onClick:()=>{A&&(o||a||O({first:P,after:null==C?void 0:C.endCursor}).then(e=>{var n,t,r;(null==e?void 0:null===(r=e.data)||void 0===r?void 0:null===(t=r.invitations)||void 0===t?void 0:null===(n=t.edges)||void 0===n?void 0:n.length)&&y(e=>e+1)}))}})})]})})]})}var T=t(28312),U=t(57288),D=t(73460),E=t(63795),F=t(62202),z=t(75561),M=t(18500),$=t(94770);let L=(0,z.B)("\n mutation updateUserRole($id: ID!, $isAdmin: Boolean!) {\n updateUserRole(id: $id, isAdmin: $isAdmin)\n }\n"),Y=e=>{let{user:n,onSuccess:t,open:s,onOpenChange:a,isPromote:i}=e,[o,d]=l.useState(!1),u=(0,p.Db)(L),f=async e=>{if(e.preventDefault(),!(null==n?void 0:n.id)){c.A.error("Oops! Something went wrong. Please try again.");return}return d(!0),u({id:n.id,isAdmin:!!i}).then(e=>{var n,r,s;(null==e?void 0:null===(n=e.data)||void 0===n?void 0:n.updateUserRole)?null==t||t():(null==e?void 0:e.error)&&c.A.error(null!==(s=null===(r=e.error)||void 0===r?void 0:r.message)&&void 0!==s?s:"update failed")}).finally(()=>{d(!1)})},m=(0,r.jsx)("span",{className:"font-bold",children:null==n?void 0:n.email}),x=i?(0,r.jsxs)(r.Fragment,{children:["Are you sure you want to grant admin privileges to ",m]}):(0,r.jsxs)(r.Fragment,{children:["Are you sure you want to downgrade ",m," to a regular member?"]});return(0,r.jsx)(D.aR,{open:s,onOpenChange:a,children:(0,r.jsxs)(D._T,{children:[(0,r.jsxs)(D.fY,{className:"gap-3",children:[(0,r.jsx)(D.f$,{children:i?"Upgrade to admin":"Downgrade to member"}),(0,r.jsx)(D.yT,{children:x})]}),(0,r.jsxs)(D.xo,{children:[(0,r.jsx)(D.le,{children:"Cancel"}),(0,r.jsx)($.M,{licenses:[M.oj.Team,M.oj.Enterprise],children:e=>{let{hasValidLicense:n}=e;return(0,r.jsxs)(D.OL,{className:(0,h.d)(),onClick:f,disabled:!n||o,children:[o&&(0,r.jsx)(j.IconSpinner,{className:"mr-2 h-4 w-4 animate-spin"}),"Confirm"]})}})]})]})})},Z=(0,m.BX)("\n mutation UpdateUserActive($id: ID!, $active: Boolean!) {\n updateUserActive(id: $id, active: $active)\n }\n"),B=(0,m.BX)("\n mutation generateResetPasswordUrl($userId: ID!) {\n generateResetPasswordUrl(userId: $userId)\n }\n"),X=f.L8;function q(){var e;let[{data:n}]=(0,s.P)(),[t,a]=l.useState({first:X}),[{data:o,error:f,fetching:m},x]=(0,u.aM)({query:v.TH,variables:t}),[h,j]=l.useState(),[b,y]=l.useState(),[w,C]=l.useState(!1),[R,I]=l.useState(!1);l.useEffect(()=>{var e;let n=null==o?void 0:o.users;(null==n?void 0:null===(e=n.edges)||void 0===e?void 0:e.length)&&j(n)},[o]),l.useEffect(()=>{(null==f?void 0:f.message)&&c.A.error(f.message)},[f]);let A=(0,p.Db)(Z),S=(e,n)=>{A({id:e.id,active:n}).then(e=>{var t,r;if((null==e?void 0:e.error)||!(null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.updateUserActive)){c.A.error((null==e?void 0:null===(r=e.error)||void 0===r?void 0:r.message)||"".concat(n?"activate":"deactivate"," failed"));return}x()})},_=e=>{y(e),C(!0),I(!e.isAdmin)},k=null==h?void 0:h.pageInfo,P=e=>e.isOwner?(0,r.jsx)(E.C,{children:"OWNER"}):e.isAdmin?(0,r.jsx)(E.C,{children:"ADMIN"}):(0,r.jsx)(E.C,{variant:"secondary",children:"MEMBER"});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Z,{loading:m,children:!!(null==h?void 0:null===(e=h.edges)||void 0===e?void 0:e.length)&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(N.iA,{className:"border-b",children:[(0,r.jsx)(N.xD,{children:(0,r.jsxs)(N.SC,{children:[(0,r.jsx)(N.ss,{className:"w-[20%]",children:"Name"}),(0,r.jsx)(N.ss,{className:"w-[25%]",children:"Email"}),(0,r.jsx)(N.ss,{className:"w-[15%]",children:"Joined"}),(0,r.jsx)(N.ss,{className:"w-[20%] text-center",children:"Status"}),(0,r.jsx)(N.ss,{className:"w-[20%] text-center",children:"Level"}),(0,r.jsx)(N.ss,{className:"w-[100px]"})]})}),(0,r.jsx)(N.RM,{children:h.edges.map(e=>{var t;let s=!e.node.isOwner&&(null==n?void 0:null===(t=n.me)||void 0===t?void 0:t.isAdmin)&&e.node.id!==n.me.id;return(0,r.jsxs)(N.SC,{children:[(0,r.jsx)(N.pj,{children:e.node.name}),(0,r.jsx)(N.pj,{children:e.node.email}),(0,r.jsx)(N.pj,{children:d().utc(e.node.createdAt).fromNow()}),(0,r.jsx)(N.pj,{className:"text-center",children:e.node.active?(0,r.jsx)(E.C,{variant:"successful",children:"Active"}):(0,r.jsx)(E.C,{variant:"secondary",children:"Inactive"})}),(0,r.jsx)(N.pj,{className:"text-center",children:P(e.node)}),(0,r.jsx)(N.pj,{className:"text-end",children:s&&(0,r.jsx)(G,{user:e,onUpdateUserActive:S,onUpdateUserRole:_})})]},e.node.id)})})]}),((null==k?void 0:k.hasNextPage)||(null==k?void 0:k.hasPreviousPage))&&(0,r.jsx)(g.tl,{className:"my-4",children:(0,r.jsxs)(g.ng,{children:[(0,r.jsx)(g.nt,{children:(0,r.jsx)(g.dN,{disabled:!(null==k?void 0:k.hasPreviousPage),onClick:e=>a({last:X,before:null==k?void 0:k.startCursor})})}),(0,r.jsx)(g.nt,{children:(0,r.jsx)(g.$0,{disabled:!(null==k?void 0:k.hasNextPage),onClick:e=>a({first:X,after:null==k?void 0:k.endCursor})})})]})})]})}),(0,r.jsx)(Y,{onSuccess:()=>{x(),C(!1)},user:b,isPromote:R,open:w,onOpenChange:C})]})}function G(e){let{user:n,onUpdateUserActive:t,onUpdateUserRole:s}=e,[a,i]=(0,l.useState)(!1),[o,d]=(0,l.useState)(!1),{copyToClipboard:u,isCopied:f}=(0,T.m)({timeout:1e3}),m=(0,p.Db)(B);return(0,l.useEffect)(()=>{f&&c.A.success("Password reset link copied to clipboard")},[f]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(F.h_,{modal:!1,children:[(0,r.jsx)(F.$F,{asChild:!0,children:(0,r.jsx)(h.z,{size:"icon",variant:"ghost",children:(0,r.jsx)(j.IconMore,{})})}),(0,r.jsxs)(F.AW,{collisionPadding:{right:16},children:[!!n.node.active&&(0,r.jsx)(F.Xi,{onSelect:()=>s(n.node),className:"cursor-pointer",children:(0,r.jsx)("span",{className:"ml-2",children:n.node.isAdmin?"Downgrade to member":"Upgrade to admin"})}),!!n.node.active&&(0,r.jsx)(F.Xi,{onSelect:()=>t(n.node,!1),className:"cursor-pointer",children:(0,r.jsx)("span",{className:"ml-2",children:"Deactivate"})}),!n.node.active&&(0,r.jsx)(F.Xi,{onSelect:()=>t(n.node,!0),className:"cursor-pointer",children:(0,r.jsx)("span",{className:"ml-2",children:"Activate"})}),(0,r.jsx)(F.Xi,{onSelect:()=>i(!0),className:"cursor-pointer gap-1",children:(0,r.jsx)("span",{className:"ml-2",children:"Reset password"})})]})]}),(0,r.jsx)(D.aR,{open:a,onOpenChange:e=>{o||i(e)},children:(0,r.jsxs)(D._T,{children:[(0,r.jsxs)(D.fY,{children:[(0,r.jsx)(D.f$,{children:"Reset password"}),(0,r.jsxs)(D.yT,{children:["By clicking ",'"',"Yes",'"',", a password reset link will be generated for"," ",(0,r.jsx)("span",{className:"font-bold",children:n.node.name||n.node.email}),". The password won't be modified until the user follows the instructions in the link to make the change."]})]}),(0,r.jsxs)(D.xo,{children:[(0,r.jsx)(D.le,{disabled:o,children:"Cancel"}),(0,r.jsxs)(D.OL,{className:(0,U.cn)((0,h.d)(),"gap-1"),disabled:o,onClick:e=>{e.preventDefault(),o||(d(!0),m({userId:n.node.id}).then(e=>{var n,t;let r=null==e?void 0:null===(n=e.data)||void 0===n?void 0:n.generateResetPasswordUrl;r?(u(r),i(!1)):c.A.error((null==e?void 0:null===(t=e.error)||void 0===t?void 0:t.message)||"Failed to generate password reset link")}).catch(e=>{c.A.error((null==e?void 0:e.message)||"Failed to generate password reset link")}).finally(()=>{d(!1)}))},children:[o&&(0,r.jsx)(j.IconSpinner,{}),"Yes"]})]})]})})]})}function V(){let[{data:e,fetching:n}]=(0,s.P)();return(0,r.jsxs)(i.Z,{loading:n,children:[(null==e?void 0:e.me.isAdmin)&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(a.Ol,{className:"pl-0 pt-0",children:(0,r.jsx)(a.ll,{children:"Pending Invites"})}),(0,r.jsx)(a.aY,{className:"pl-0",children:(0,r.jsx)(O,{})})]}),(0,r.jsx)("div",{className:"h-16"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)(a.Ol,{className:"pl-0 pt-0",children:(0,r.jsx)(a.ll,{children:"Users"})}),(0,r.jsx)(a.aY,{className:"pl-0",children:(0,r.jsx)(q,{})})]})]})}},48537:function(e,n,t){"use strict";t.d(n,{q:function(){return l}});var r=t(36164);t(3546);var s=t(28312),a=t(31458),i=t(81565);function l(e){let{className:n,value:t,onCopyContent:l,text:o,...d}=e,{isCopied:c,copyToClipboard:u}=(0,s.m)({timeout:2e3,onCopyContent:l});return t?(0,r.jsxs)(a.z,{variant:"ghost",size:o?"default":"icon",className:n,onClick:()=>{c||u(t)},...d,children:[c?(0,r.jsx)(i.IconCheck,{className:"text-green-600"}):(0,r.jsx)(i.IconCopy,{}),o&&(0,r.jsx)("span",{children:o}),!o&&(0,r.jsx)("span",{className:"sr-only",children:"Copy"})]}):null}},94770:function(e,n,t){"use strict";t.d(n,{M:function(){return f}});var r=t(36164),s=t(3546),a=t(70652),i=t.n(a),l=t(88542),o=t(29917),d=t(57288),c=t(31458),u=t(90615);let f=e=>{let{licenses:n,children:t}=e,[a,i]=s.useState(!1),l=(0,o.Gm)(),c=(0,o.Cz)({licenses:n}),{isLicenseOK:f,hasSufficientLicense:x}=c,p=x&&f,v=e=>{p||i(e)};return(0,r.jsxs)(u.zs,{open:a,onOpenChange:v,openDelay:100,children:[(0,r.jsx)(u.bZ,{side:"top",collisionPadding:16,className:"w-[400px]",children:(0,r.jsx)(m,{licenses:n,...c})}),(0,r.jsx)(u.Yi,{asChild:!0,onClick:e=>{p||(e.preventDefault(),v(!0))},children:(0,r.jsx)("div",{className:(0,d.cn)(p?"":"cursor-not-allowed"),children:t({hasValidLicense:p,license:l})})})]})};function m(e){let{hasSufficientLicense:n,isExpired:t,isSeatsExceeded:s,licenses:a}=e,o=(0,l.Z)(a[0]),d=o;return(2==a.length&&(d="".concat((0,l.Z)(a[0])," or ").concat((0,l.Z)(a[1]))),n&&t)?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{children:"Your license has expired. Please update your license to use this feature."}),(0,r.jsx)("div",{className:"mt-4 text-center",children:(0,r.jsx)(i(),{className:(0,c.d)(),href:"/settings/subscription",children:"Update license"})})]}):n&&s?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{children:"Your seat count has exceeded the limit. Please upgrade your license to continue using this feature."}),(0,r.jsx)("div",{className:"mt-4 text-center",children:(0,r.jsx)(i(),{className:(0,c.d)(),href:"/settings/subscription",children:"Upgrade license"})})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{children:["This feature is only available on Tabby's"," ",(0,r.jsx)("span",{className:"font-semibold",children:d})," plan. Upgrade to use this feature."]}),(0,r.jsx)("div",{className:"mt-4 text-center",children:(0,r.jsxs)(i(),{className:(0,c.d)(),href:"/settings/subscription",children:["Upgrade to ",o]})})]})}f.displayName="LicenseGuard"},6230:function(e,n,t){"use strict";var r=t(36164),s=t(3546),a=t(24449),i=t(90379);n.Z=e=>{let{loading:n,fallback:t,delay:l,children:o}=e,[d,c]=s.useState(!n),[u]=(0,a.n)(d,null!=l?l:200);return(s.useEffect(()=>{n||d||c(!0)},[n]),u)?o:t||(0,r.jsx)(i.cg,{})}},90379:function(e,n,t){"use strict";t.d(n,{PF:function(){return o},cg:function(){return i},tB:function(){return l}});var r=t(36164),s=t(57288),a=t(3448);let i=e=>{let{className:n,...t}=e;return(0,r.jsxs)("div",{className:(0,s.cn)("space-y-3",n),...t,children:[(0,r.jsx)(a.O,{className:"h-4 w-full"}),(0,r.jsx)(a.O,{className:"h-4 w-full"}),(0,r.jsx)(a.O,{className:"h-4 w-full"}),(0,r.jsx)(a.O,{className:"h-4 w-full"})]})},l=e=>{let{className:n,...t}=e;return(0,r.jsx)(a.O,{className:(0,s.cn)("h-4 w-full",n),...t})},o=e=>{let{className:n,...t}=e;return(0,r.jsxs)("div",{className:(0,s.cn)("flex flex-col gap-3",n),...t,children:[(0,r.jsx)(a.O,{className:"h-4 w-[20%]"}),(0,r.jsx)(a.O,{className:"h-4 w-full"}),(0,r.jsx)(a.O,{className:"h-4 w-[20%]"}),(0,r.jsx)(a.O,{className:"h-4 w-full"})]})}},73460:function(e,n,t){"use strict";t.d(n,{OL:function(){return h},_T:function(){return f},aR:function(){return o},f$:function(){return p},fY:function(){return m},le:function(){return j},vW:function(){return d},xo:function(){return x},yT:function(){return v}});var r=t(36164),s=t(3546),a=t(28961),i=t(57288),l=t(31458);let o=a.fC,d=a.xz,c=e=>{let{className:n,children:t,...s}=e;return(0,r.jsx)(a.h_,{className:(0,i.cn)(n),...s,children:(0,r.jsx)("div",{className:"fixed inset-0 z-50 flex items-end justify-center sm:items-center",children:t})})};c.displayName=a.h_.displayName;let u=s.forwardRef((e,n)=>{let{className:t,children:s,...l}=e;return(0,r.jsx)(a.aV,{className:(0,i.cn)("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm transition-opacity animate-in fade-in",t),...l,ref:n})});u.displayName=a.aV.displayName;let f=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsxs)(c,{children:[(0,r.jsx)(u,{}),(0,r.jsx)(a.VY,{ref:n,className:(0,i.cn)("fixed z-50 grid w-full max-w-lg scale-100 gap-4 border bg-background p-6 opacity-100 shadow-lg animate-in fade-in-90 slide-in-from-bottom-10 sm:rounded-lg sm:zoom-in-90 sm:slide-in-from-bottom-0 md:w-full",t),...s})]})});f.displayName=a.VY.displayName;let m=e=>{let{className:n,...t}=e;return(0,r.jsx)("div",{className:(0,i.cn)("flex flex-col space-y-2 text-center sm:text-left",n),...t})};m.displayName="AlertDialogHeader";let x=e=>{let{className:n,...t}=e;return(0,r.jsx)("div",{className:(0,i.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",n),...t})};x.displayName="AlertDialogFooter";let p=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)(a.Dx,{ref:n,className:(0,i.cn)("text-lg font-semibold",t),...s})});p.displayName=a.Dx.displayName;let v=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)(a.dk,{ref:n,className:(0,i.cn)("text-sm text-muted-foreground",t),...s})});v.displayName=a.dk.displayName;let h=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)(a.aU,{ref:n,className:(0,i.cn)((0,l.d)(),t),...s})});h.displayName=a.aU.displayName;let j=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)(a.$j,{ref:n,className:(0,i.cn)((0,l.d)({variant:"outline"}),"mt-2 sm:mt-0",t),...s})});j.displayName=a.$j.displayName},63795:function(e,n,t){"use strict";t.d(n,{C:function(){return l}});var r=t(36164);t(3546);var s=t(14375),a=t(57288);let i=(0,s.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",successful:"border-transparent bg-successful text-successful-foreground hover:bg-successful/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function l(e){let{className:n,variant:t,...s}=e;return(0,r.jsx)("div",{className:(0,a.cn)(i({variant:t}),n),...s})}},79972:function(e,n,t){"use strict";t.d(n,{Ol:function(){return l},Zb:function(){return i},aY:function(){return c},eW:function(){return u},ll:function(){return o}});var r=t(36164),s=t(3546),a=t(57288);let i=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("div",{ref:n,className:(0,a.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",t),...s})});i.displayName="Card";let l=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("div",{ref:n,className:(0,a.cn)("flex flex-col space-y-1.5 p-6",t),...s})});l.displayName="CardHeader";let o=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("h3",{ref:n,className:(0,a.cn)("text-2xl font-semibold leading-none tracking-tight",t),...s})});o.displayName="CardTitle";let d=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("p",{ref:n,className:(0,a.cn)("text-sm text-muted-foreground",t),...s})});d.displayName="CardDescription";let c=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("div",{ref:n,className:(0,a.cn)("p-6 pt-0",t),...s})});c.displayName="CardContent";let u=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("div",{ref:n,className:(0,a.cn)("flex items-center p-6 pt-0",t),...s})});u.displayName="CardFooter"},62202:function(e,n,t){"use strict";t.d(n,{$F:function(){return o},AW:function(){return u},Ju:function(){return x},VD:function(){return p},Xi:function(){return f},_x:function(){return d},h_:function(){return l},qB:function(){return m}});var r=t(36164),s=t(3546),a=t(19148),i=t(57288);let l=a.fC,o=a.xz;a.ZA,a.Uv,a.Tr;let d=a.Ee;a.wU;let c=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)(a.tu,{ref:n,className:(0,i.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md animate-in data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-1 data-[side=right]:slide-in-from-left-1 data-[side=top]:slide-in-from-bottom-1",t),...s})});c.displayName=a.tu.displayName;let u=s.forwardRef((e,n)=>{let{className:t,sideOffset:s=4,...l}=e;return(0,r.jsx)(a.Uv,{children:(0,r.jsx)(a.VY,{ref:n,sideOffset:s,className:(0,i.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow animate-in data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...l})})});u.displayName=a.VY.displayName;let f=s.forwardRef((e,n)=>{let{className:t,inset:s,...l}=e;return(0,r.jsx)(a.ck,{ref:n,className:(0,i.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",s&&"pl-8",t),...l})});f.displayName=a.ck.displayName;let m=s.forwardRef((e,n)=>{let{className:t,inset:s,...l}=e;return(0,r.jsx)(a.Rk,{ref:n,className:(0,i.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",s&&"pl-8",t),...l})});m.displayName=a.Rk.displayName;let x=s.forwardRef((e,n)=>{let{className:t,inset:s,...l}=e;return(0,r.jsx)(a.__,{ref:n,className:(0,i.cn)("px-2 py-1.5 text-sm font-semibold",s&&"pl-8",t),...l})});x.displayName=a.__.displayName;let p=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)(a.Z0,{ref:n,className:(0,i.cn)("-mx-1 my-1 h-px bg-muted",t),...s})});p.displayName=a.Z0.displayName},98150:function(e,n,t){"use strict";t.d(n,{NI:function(){return v},Wi:function(){return u},l0:function(){return d},lX:function(){return p},pf:function(){return h},xJ:function(){return x},zG:function(){return j}});var r=t(36164),s=t(3546),a=t(74047),i=t(5493),l=t(57288),o=t(5266);let d=i.RV,c=s.createContext({}),u=e=>{let{...n}=e;return(0,r.jsx)(c.Provider,{value:{name:n.name},children:(0,r.jsx)(i.Qr,{...n})})},f=()=>{let e=s.useContext(c),n=s.useContext(m),{getFieldState:t,formState:r}=(0,i.Gc)(),a=e.name||"root",l=t(a,r);if(!r)throw Error("useFormField should be used within ");let{id:o}=n;return{id:o,name:a,formItemId:"".concat(o,"-form-item"),formDescriptionId:"".concat(o,"-form-item-description"),formMessageId:"".concat(o,"-form-item-message"),...l}},m=s.createContext({}),x=s.forwardRef((e,n)=>{let{className:t,...a}=e,i=s.useId();return(0,r.jsx)(m.Provider,{value:{id:i},children:(0,r.jsx)("div",{ref:n,className:(0,l.cn)("space-y-2",t),...a})})});x.displayName="FormItem";let p=s.forwardRef((e,n)=>{let{className:t,required:s,...a}=e,{error:i,formItemId:d}=f();return(0,r.jsx)(o._,{ref:n,className:(0,l.cn)(i&&"text-destructive",s&&'after:ml-0.5 after:text-destructive after:content-["*"]',t),htmlFor:d,...a})});p.displayName="FormLabel";let v=s.forwardRef((e,n)=>{let{...t}=e,{error:s,formItemId:i,formDescriptionId:l,formMessageId:o}=f();return(0,r.jsx)(a.g7,{ref:n,id:i,"aria-describedby":s?"".concat(l," ").concat(o):"".concat(l),"aria-invalid":!!s,...t})});v.displayName="FormControl";let h=s.forwardRef((e,n)=>{let{className:t,...s}=e,{formDescriptionId:a}=f();return(0,r.jsx)("div",{ref:n,id:a,className:(0,l.cn)("text-sm text-muted-foreground",t),...s})});h.displayName="FormDescription";let j=s.forwardRef((e,n)=>{let{className:t,children:s,...a}=e,{error:i,formMessageId:o}=f(),d=i?String(null==i?void 0:i.message):s;return d?(0,r.jsx)("p",{ref:n,id:o,className:(0,l.cn)("text-sm font-medium text-destructive",t),...a,children:d}):null});j.displayName="FormMessage"},90615:function(e,n,t){"use strict";t.d(n,{Yi:function(){return o},bZ:function(){return d},zs:function(){return l}});var r=t(36164),s=t(3546),a=t(38421),i=t(57288);let l=a.fC,o=a.xz;a.h_;let d=s.forwardRef((e,n)=>{let{className:t,align:s="center",sideOffset:l=4,...o}=e;return(0,r.jsx)(a.VY,{ref:n,align:s,sideOffset:l,className:(0,i.cn)("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...o})});d.displayName=a.VY.displayName},82394:function(e,n,t){"use strict";t.d(n,{I:function(){return i}});var r=t(36164),s=t(3546),a=t(57288);let i=s.forwardRef((e,n)=>{let{className:t,type:s,...i}=e;return(0,r.jsx)("input",{type:s,className:(0,a.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),ref:n,...i})});i.displayName="Input"},5266:function(e,n,t){"use strict";t.d(n,{_:function(){return d}});var r=t(36164),s=t(3546),a=t(90893),i=t(14375),l=t(57288);let o=(0,i.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)(a.f,{ref:n,className:(0,l.cn)(o(),t),...s})});d.displayName=a.f.displayName},49506:function(e,n,t){"use strict";t.d(n,{$0:function(){return m},Dj:function(){return x},dN:function(){return f},kN:function(){return u},ng:function(){return d},nt:function(){return c},tl:function(){return o}});var r=t(36164),s=t(3546),a=t(57288),i=t(31458),l=t(81565);let o=e=>{let{className:n,...t}=e;return(0,r.jsx)("nav",{role:"navigation","aria-label":"pagination",className:(0,a.cn)("mx-auto flex w-full justify-center",n),...t})};o.displayName="Pagination";let d=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("ul",{ref:n,className:(0,a.cn)("flex flex-row items-center gap-1",t),...s})});d.displayName="PaginationContent";let c=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("li",{ref:n,className:(0,a.cn)("",t),...s})});c.displayName="PaginationItem";let u=e=>{let{className:n,isActive:t,size:s="icon",...l}=e;return(0,r.jsx)("a",{"aria-current":t?"page":void 0,className:(0,a.cn)("select-none",(0,i.d)({variant:t?"outline":"ghost",size:s}),n),...l})};u.displayName="PaginationLink";let f=e=>{let{className:n,disabled:t,...s}=e;return(0,r.jsxs)(u,{"aria-label":"Go to previous page",size:"default",className:(0,a.cn)("cursor-pointer select-none gap-1 pl-2.5",t&&"cursor-not-allowed text-muted-foreground",n),...s,children:[(0,r.jsx)(l.IconChevronLeft,{className:"h-4 w-4"}),(0,r.jsx)("span",{children:"Previous"})]})};f.displayName="PaginationPrevious";let m=e=>{let{className:n,disabled:t,...s}=e;return(0,r.jsxs)(u,{"aria-label":"Go to next page",size:"default",className:(0,a.cn)("cursor-pointer select-none gap-1 pr-2.5",t&&"cursor-not-allowed text-muted-foreground",n),...s,children:[(0,r.jsx)("span",{children:"Next"}),(0,r.jsx)(l.IconChevronRight,{className:"h-4 w-4"})]})};m.displayName="PaginationNext";let x=e=>{let{className:n,...t}=e;return(0,r.jsxs)("span",{"aria-hidden":!0,className:(0,a.cn)("flex h-9 w-9 items-center justify-center",n),...t,children:[(0,r.jsx)(l.IconMore,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"More pages"})]})};x.displayName="PaginationEllipsis"},3448:function(e,n,t){"use strict";t.d(n,{O:function(){return a}});var r=t(36164),s=t(57288);function a(e){let{className:n,...t}=e;return(0,r.jsx)("div",{className:(0,s.cn)("h-4 animate-pulse rounded-md bg-border",n),...t})}},99047:function(e,n,t){"use strict";t.d(n,{RM:function(){return o},SC:function(){return c},iA:function(){return i},pj:function(){return f},ss:function(){return u},xD:function(){return l}});var r=t(36164),s=t(3546),a=t(57288);let i=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("table",{ref:n,className:(0,a.cn)("w-full caption-bottom text-sm",t),...s})});i.displayName="Table";let l=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("thead",{ref:n,className:(0,a.cn)("[&_tr]:border-b",t),...s})});l.displayName="TableHeader";let o=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("tbody",{ref:n,className:(0,a.cn)("[&_tr:last-child]:border-0",t),...s})});o.displayName="TableBody";let d=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("tfoot",{ref:n,className:(0,a.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",t),...s})});d.displayName="TableFooter";let c=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("tr",{ref:n,className:(0,a.cn)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",t),...s})});c.displayName="TableRow";let u=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("th",{ref:n,className:(0,a.cn)("h-12 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",t),...s})});u.displayName="TableHead";let f=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("td",{ref:n,className:(0,a.cn)("p-2 align-middle [&:has([role=checkbox])]:pr-0",t),...s})});f.displayName="TableCell";let m=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("caption",{ref:n,className:(0,a.cn)("mt-4 text-sm text-muted-foreground",t),...s})});m.displayName="TableCaption"},21808:function(e,n,t){"use strict";t.d(n,{$6:function(){return a},$I:function(){return i},L8:function(){return s},ir:function(){return l},o0:function(){return r},rZ:function(){return o}});let r="name@yourcompany.com",s=20,a={DEMO_AUTO_LOGIN:"_tabby_demo_autologin",SEARCH_INITIAL_MSG:"_tabby_search_initial_msg",SEARCH_INITIAL_CONTEXTS:"_tabby_search_initial_contexts"},i=48,l="NOT_FOUND",o="\n"},28312:function(e,n,t){"use strict";t.d(n,{m:function(){return l}});var r=t(3546),s=t(61200),a=t.n(s),i=t(2578);function l(e){let{timeout:n=2e3,onError:t,onCopyContent:s}=e,[l,o]=r.useState(!1),d=()=>{o(!0),setTimeout(()=>{o(!1)},n)},c=e=>{if("function"==typeof t){null==t||t(e);return}i.A.error("Failed to copy.")};return{isCopied:l,copyToClipboard:e=>{var n;if(e){if(s){s(e),d();return}if(null===(n=navigator.clipboard)||void 0===n?void 0:n.writeText)navigator.clipboard.writeText(e).then(d).catch(c);else{let n=a()(e);n?d():c()}}}}}},24449:function(e,n,t){"use strict";t.d(n,{S:function(){return l},n:function(){return o}});var r=t(3546),s=t(45391),a=t(16784);let i=e=>{let n=(0,a.d)(e);r.useEffect(()=>()=>{n.current()},[])};function l(e,n,t){let l=(0,a.d)(e),o=r.useMemo(()=>(0,s.Z)(function(){for(var e=arguments.length,n=Array(e),t=0;t{var e;null==t||null===(e=t.onUnmount)||void 0===e||e.call(t,o),o.cancel()}),{run:o,cancel:o.cancel,flush:o.flush}}function o(e,n,t){let[s,a]=r.useState(e),{run:i}=l(()=>{a(e)},n,t);return r.useEffect(()=>{i()},[e]),[s,a]}},16784:function(e,n,t){"use strict";t.d(n,{d:function(){return s}});var r=t(3546);function s(e){let n=r.useRef(e);return n.current=e,n}},29917:function(e,n,t){"use strict";t.d(n,{Cz:function(){return c},Gm:function(){return d},jp:function(){return o}});var r=t(11978),s=t(40055),a=t(43240),i=t(18500);let l=(0,a.BX)("\n query GetLicenseInfo {\n license {\n type\n status\n seats\n seatsUsed\n issuedAt\n expiresAt\n }\n }\n"),o=()=>(0,s.aM)({query:l}),d=()=>{let[{data:e}]=o();return null==e?void 0:e.license},c=e=>{var n;let[{data:t}]=o(),s=null==t?void 0:t.license,a=(0,r.useSearchParams)(),l=!!s&&(!(null==e?void 0:null===(n=e.licenses)||void 0===n?void 0:n.length)||e.licenses.includes(s.type)),d=(null==s?void 0:s.status)===i.Rj.Ok,c=(null==s?void 0:s.status)===i.Rj.Expired,u=(null==s?void 0:s.status)===(null===i.Rj||void 0===i.Rj?void 0:i.Rj.SeatsExceeded),f="expired"===a.get("licenseError"),m="seatsExceed"===a.get("licenseError");return{hasLicense:!!s,isLicenseOK:d&&!(f||m),isExpired:c||f,isSeatsExceeded:u||m,hasSufficientLicense:l}}},98454:function(e,n,t){"use strict";t.d(n,{P:function(){return i}});var r=t(40055),s=t(43240);let a=(0,s.BX)("\n query MeQuery {\n me {\n id\n authToken\n email\n isAdmin\n isOwner\n isPasswordSet\n name\n }\n }\n"),i=()=>(0,r.aM)({query:a})},70526:function(e,n,t){"use strict";t.d(n,{e:function(){return o},j:function(){return d}});var r=t(3546),s=t(40055),a=t(43240),i=t(57288);let l=(0,a.BX)("\n query NetworkSetting {\n networkSetting {\n externalUrl\n }\n }\n"),o=e=>(0,s.aM)({query:l,...e}),d=()=>{let[{data:e}]=o(),n=null==e?void 0:e.networkSetting,t=r.useMemo(()=>(null==n?void 0:n.externalUrl)||((0,i.S_)()?new URL(window.location.href).origin:""),[n]);return t}}},function(e){e.O(0,[8415,7565,7430,55,7812,4007,9643,4752,3449,2578,8511,240,2287,8961,9148,3707,389,7288,1565,3240,4656,3375,5289,1744],function(){return e(e.s=24306)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3816],{24306:function(e,n,t){Promise.resolve().then(t.bind(t,49016))},49016:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return G}});var r=t(36164),s=t(98454),a=t(79972),i=t(6230),l=t(3546),o=t(99092),d=t.n(o),c=t(2578),u=t(40055),f=t(21808),m=t(43240),x=t(70526),p=t(11634),v=t(70410),h=t(31458),j=t(81565),g=t(49506),N=t(99047),y=t(48537),b=t(84381),w=t(5493),C=t(23782),R=t(98150),I=t(82394);let A=(0,m.BX)("\n mutation CreateInvitation($email: String!) {\n createInvitation(email: $email)\n }\n"),S=C.Ry({email:C.Z_().email("Invalid email address")});function k(e){let{onCreated:n}=e,t=(0,w.cI)({resolver:(0,b.F)(S)}),{isSubmitting:s}=t.formState,a=(0,p.Db)(A,{onCompleted(){t.reset({email:""}),n()},form:t});return(0,r.jsx)(R.l0,{...t,children:(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsxs)("form",{className:"flex w-full items-center gap-4",onSubmit:t.handleSubmit(a),children:[(0,r.jsx)(R.Wi,{control:t.control,name:"email",render:e=>{let{field:n}=e;return(0,r.jsx)(R.xJ,{children:(0,r.jsx)(R.NI,{children:(0,r.jsx)(I.I,{className:"w-60",placeholder:"e.g. ".concat(f.o0),type:"email",autoCapitalize:"none",autoComplete:"email",autoCorrect:"off",...n})})})}}),(0,r.jsx)(h.z,{type:"submit",disabled:s,children:"Invite"})]}),(0,r.jsx)(R.zG,{})]})})}let P=(0,m.BX)("\n mutation DeleteInvitation($id: ID!) {\n deleteInvitation(id: $id)\n }\n"),O=f.L8;function U(){var e,n;let t=(0,u.m8)(),[{data:s,fetching:a}]=(0,u.aM)({query:v.lE,variables:{first:O}}),[o,f]=l.useState(!1),[m,b]=l.useState(1),w=null==s?void 0:null===(e=s.invitations)||void 0===e?void 0:e.edges,C=null==s?void 0:null===(n=s.invitations)||void 0===n?void 0:n.pageInfo,R=Math.ceil(((null==w?void 0:w.length)||0)/O),I=l.useMemo(()=>{var e;return null==w?void 0:null===(e=w.slice)||void 0===e?void 0:e.call(w,(m-1)*O,m*O)},[m,w]),A=(null==C?void 0:C.hasNextPage)||m1,U=e=>t.query(v.lE,e).toPromise(),D=async e=>{var n,t,r,s,a;let i=await U({first:O,after:e}),l=(null==i?void 0:null===(r=i.data)||void 0===r?void 0:null===(t=r.invitations)||void 0===t?void 0:null===(n=t.edges)||void 0===n?void 0:n.length)||0,o=null==i?void 0:null===(a=i.data)||void 0===a?void 0:null===(s=a.invitations)||void 0===s?void 0:s.pageInfo;return(null==o?void 0:o.hasNextPage)&&(null==o?void 0:o.endCursor)&&(l=await D(o.endCursor)),l},_=async()=>{try{var e;f(!0);let n=D(null!==(e=null==C?void 0:C.endCursor)&&void 0!==e?e:void 0);return n}catch(e){return 0}finally{f(!1)}},F=(0,x.j)(),T=(0,p.Db)(P),z=async()=>{c.A.success("Invitation created"),_().then(e=>{b(Math.ceil((e||0)/O))})},E=e=>{T({id:e.id}).then(n=>{var t;if(null==n?void 0:n.error){c.A.error(n.error.message);return}(null==n?void 0:null===(t=n.data)||void 0===t?void 0:t.deleteInvitation)&&c.A.success("".concat(e.email," deleted"))})};return l.useEffect(()=>{R1&&b(R)},[R,m]),(0,r.jsxs)("div",{children:[(0,r.jsx)(k,{onCreated:z}),(0,r.jsx)("div",{className:"mt-4",children:(0,r.jsx)(i.Z,{loading:a,children:(0,r.jsxs)(N.iA,{className:"border-b",children:[!!(null==I?void 0:I.length)&&(0,r.jsx)(N.xD,{children:(0,r.jsxs)(N.SC,{children:[(0,r.jsx)(N.ss,{className:"w-[25%]",children:"Invitee"}),(0,r.jsx)(N.ss,{className:"w-[45%]",children:"Created"}),(0,r.jsx)(N.ss,{})]})}),(0,r.jsx)(N.RM,{children:null==I?void 0:I.map(e=>{let n="".concat(F,"/auth/signup?invitationCode=").concat(e.node.code);return(0,r.jsxs)(N.SC,{children:[(0,r.jsx)(N.pj,{children:e.node.email}),(0,r.jsx)(N.pj,{children:d().utc(e.node.createdAt).fromNow()}),(0,r.jsx)(N.pj,{className:"flex justify-end",children:(0,r.jsxs)("div",{className:"flex gap-1",children:[(0,r.jsx)(y.q,{value:n}),(0,r.jsx)(h.z,{size:"icon",variant:"hover-destructive",onClick:()=>E(e.node),children:(0,r.jsx)(j.IconTrash,{})})]})})]},e.node.id)})})]})})}),(A||S)&&(0,r.jsx)(g.tl,{className:"my-4",children:(0,r.jsxs)(g.ng,{children:[(0,r.jsx)(g.nt,{children:(0,r.jsx)(g.dN,{disabled:!S,onClick:()=>{!(m<=1)&&(o||a||b(e=>e-1))}})}),(0,r.jsx)(g.nt,{children:(0,r.jsx)(g.$0,{disabled:!A,onClick:()=>{A&&(o||a||U({first:O,after:null==C?void 0:C.endCursor}).then(e=>{var n,t,r;(null==e?void 0:null===(r=e.data)||void 0===r?void 0:null===(t=r.invitations)||void 0===t?void 0:null===(n=t.edges)||void 0===n?void 0:n.length)&&b(e=>e+1)}))}})})]})})]})}var D=t(28312),_=t(57288),F=t(73460),T=t(63795),z=t(62202),E=t(75561),$=t(18500),M=t(94770);let Y=(0,E.B)("\n mutation updateUserRole($id: ID!, $isAdmin: Boolean!) {\n updateUserRole(id: $id, isAdmin: $isAdmin)\n }\n"),L=e=>{let{user:n,onSuccess:t,open:s,onOpenChange:a,isPromote:i}=e,[o,d]=l.useState(!1),u=(0,p.Db)(Y),f=async e=>{if(e.preventDefault(),!(null==n?void 0:n.id)){c.A.error("Oops! Something went wrong. Please try again.");return}return d(!0),u({id:n.id,isAdmin:!!i}).then(e=>{var n,r,s;(null==e?void 0:null===(n=e.data)||void 0===n?void 0:n.updateUserRole)?null==t||t():(null==e?void 0:e.error)&&c.A.error(null!==(s=null===(r=e.error)||void 0===r?void 0:r.message)&&void 0!==s?s:"update failed")}).finally(()=>{d(!1)})},m=(0,r.jsx)("span",{className:"font-bold",children:null==n?void 0:n.email}),x=i?(0,r.jsxs)(r.Fragment,{children:["Are you sure you want to grant admin privileges to ",m]}):(0,r.jsxs)(r.Fragment,{children:["Are you sure you want to downgrade ",m," to a regular member?"]});return(0,r.jsx)(F.aR,{open:s,onOpenChange:a,children:(0,r.jsxs)(F._T,{children:[(0,r.jsxs)(F.fY,{className:"gap-3",children:[(0,r.jsx)(F.f$,{children:i?"Upgrade to admin":"Downgrade to member"}),(0,r.jsx)(F.yT,{children:x})]}),(0,r.jsxs)(F.xo,{children:[(0,r.jsx)(F.le,{children:"Cancel"}),(0,r.jsx)(M.M,{licenses:[$.oj.Team,$.oj.Enterprise],children:e=>{let{hasValidLicense:n}=e;return(0,r.jsxs)(F.OL,{className:(0,h.d)(),onClick:f,disabled:!n||o,children:[o&&(0,r.jsx)(j.IconSpinner,{className:"mr-2 h-4 w-4 animate-spin"}),"Confirm"]})}})]})]})})},Z=(0,m.BX)("\n mutation UpdateUserActive($id: ID!, $active: Boolean!) {\n updateUserActive(id: $id, active: $active)\n }\n"),B=(0,m.BX)("\n mutation generateResetPasswordUrl($userId: ID!) {\n generateResetPasswordUrl(userId: $userId)\n }\n"),X=f.L8;function q(){var e;let[{data:n}]=(0,s.P)(),[t,a]=l.useState({first:X}),[{data:o,error:f,fetching:m},x]=(0,u.aM)({query:v.TH,variables:t}),[h,j]=l.useState(),[y,b]=l.useState(),[w,C]=l.useState(!1),[R,I]=l.useState(!1);l.useEffect(()=>{var e;let n=null==o?void 0:o.users;(null==n?void 0:null===(e=n.edges)||void 0===e?void 0:e.length)&&j(n)},[o]),l.useEffect(()=>{(null==f?void 0:f.message)&&c.A.error(f.message)},[f]);let A=(0,p.Db)(Z),S=(e,n)=>{A({id:e.id,active:n}).then(e=>{var t,r;if((null==e?void 0:e.error)||!(null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.updateUserActive)){c.A.error((null==e?void 0:null===(r=e.error)||void 0===r?void 0:r.message)||"".concat(n?"activate":"deactivate"," failed"));return}x()})},k=e=>{b(e),C(!0),I(!e.isAdmin)},P=null==h?void 0:h.pageInfo,O=e=>e.isOwner?(0,r.jsx)(T.C,{children:"OWNER"}):e.isAdmin?(0,r.jsx)(T.C,{children:"ADMIN"}):(0,r.jsx)(T.C,{variant:"secondary",children:"MEMBER"});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Z,{loading:m,children:!!(null==h?void 0:null===(e=h.edges)||void 0===e?void 0:e.length)&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(N.iA,{className:"border-b",children:[(0,r.jsx)(N.xD,{children:(0,r.jsxs)(N.SC,{children:[(0,r.jsx)(N.ss,{className:"w-[20%]",children:"Name"}),(0,r.jsx)(N.ss,{className:"w-[25%]",children:"Email"}),(0,r.jsx)(N.ss,{className:"w-[15%]",children:"Joined"}),(0,r.jsx)(N.ss,{className:"w-[20%] text-center",children:"Status"}),(0,r.jsx)(N.ss,{className:"w-[20%] text-center",children:"Level"}),(0,r.jsx)(N.ss,{className:"w-[100px]"})]})}),(0,r.jsx)(N.RM,{children:h.edges.map(e=>{var t;let s=!e.node.isOwner&&(null==n?void 0:null===(t=n.me)||void 0===t?void 0:t.isAdmin)&&e.node.id!==n.me.id;return(0,r.jsxs)(N.SC,{children:[(0,r.jsx)(N.pj,{children:e.node.name}),(0,r.jsx)(N.pj,{children:e.node.email}),(0,r.jsx)(N.pj,{children:d().utc(e.node.createdAt).fromNow()}),(0,r.jsx)(N.pj,{className:"text-center",children:e.node.active?(0,r.jsx)(T.C,{variant:"successful",children:"Active"}):(0,r.jsx)(T.C,{variant:"secondary",children:"Inactive"})}),(0,r.jsx)(N.pj,{className:"text-center",children:O(e.node)}),(0,r.jsx)(N.pj,{className:"text-end",children:s&&(0,r.jsx)(V,{user:e,onUpdateUserActive:S,onUpdateUserRole:k})})]},e.node.id)})})]}),((null==P?void 0:P.hasNextPage)||(null==P?void 0:P.hasPreviousPage))&&(0,r.jsx)(g.tl,{className:"my-4",children:(0,r.jsxs)(g.ng,{children:[(0,r.jsx)(g.nt,{children:(0,r.jsx)(g.dN,{disabled:!(null==P?void 0:P.hasPreviousPage),onClick:e=>a({last:X,before:null==P?void 0:P.startCursor})})}),(0,r.jsx)(g.nt,{children:(0,r.jsx)(g.$0,{disabled:!(null==P?void 0:P.hasNextPage),onClick:e=>a({first:X,after:null==P?void 0:P.endCursor})})})]})})]})}),(0,r.jsx)(L,{onSuccess:()=>{x(),C(!1)},user:y,isPromote:R,open:w,onOpenChange:C})]})}function V(e){let{user:n,onUpdateUserActive:t,onUpdateUserRole:s}=e,[a,i]=(0,l.useState)(!1),[o,d]=(0,l.useState)(!1),{copyToClipboard:u,isCopied:f}=(0,D.m)({timeout:1e3}),m=(0,p.Db)(B);return(0,l.useEffect)(()=>{f&&c.A.success("Password reset link copied to clipboard")},[f]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(z.h_,{modal:!1,children:[(0,r.jsx)(z.$F,{asChild:!0,children:(0,r.jsx)(h.z,{size:"icon",variant:"ghost",children:(0,r.jsx)(j.IconMore,{})})}),(0,r.jsxs)(z.AW,{collisionPadding:{right:16},children:[!!n.node.active&&(0,r.jsx)(z.Xi,{onSelect:()=>s(n.node),className:"cursor-pointer",children:(0,r.jsx)("span",{className:"ml-2",children:n.node.isAdmin?"Downgrade to member":"Upgrade to admin"})}),!!n.node.active&&(0,r.jsx)(z.Xi,{onSelect:()=>t(n.node,!1),className:"cursor-pointer",children:(0,r.jsx)("span",{className:"ml-2",children:"Deactivate"})}),!n.node.active&&(0,r.jsx)(z.Xi,{onSelect:()=>t(n.node,!0),className:"cursor-pointer",children:(0,r.jsx)("span",{className:"ml-2",children:"Activate"})}),(0,r.jsx)(z.Xi,{onSelect:()=>i(!0),className:"cursor-pointer gap-1",children:(0,r.jsx)("span",{className:"ml-2",children:"Reset password"})})]})]}),(0,r.jsx)(F.aR,{open:a,onOpenChange:e=>{o||i(e)},children:(0,r.jsxs)(F._T,{children:[(0,r.jsxs)(F.fY,{children:[(0,r.jsx)(F.f$,{children:"Reset password"}),(0,r.jsxs)(F.yT,{children:["By clicking ",'"',"Yes",'"',", a password reset link will be generated for"," ",(0,r.jsx)("span",{className:"font-bold",children:n.node.name||n.node.email}),". The password won't be modified until the user follows the instructions in the link to make the change."]})]}),(0,r.jsxs)(F.xo,{children:[(0,r.jsx)(F.le,{disabled:o,children:"Cancel"}),(0,r.jsxs)(F.OL,{className:(0,_.cn)((0,h.d)(),"gap-1"),disabled:o,onClick:e=>{e.preventDefault(),o||(d(!0),m({userId:n.node.id}).then(e=>{var n,t;let r=null==e?void 0:null===(n=e.data)||void 0===n?void 0:n.generateResetPasswordUrl;r?(u(r),i(!1)):c.A.error((null==e?void 0:null===(t=e.error)||void 0===t?void 0:t.message)||"Failed to generate password reset link")}).catch(e=>{c.A.error((null==e?void 0:e.message)||"Failed to generate password reset link")}).finally(()=>{d(!1)}))},children:[o&&(0,r.jsx)(j.IconSpinner,{}),"Yes"]})]})]})})]})}function G(){let[{data:e,fetching:n}]=(0,s.P)();return(0,r.jsxs)(i.Z,{loading:n,children:[(null==e?void 0:e.me.isAdmin)&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(a.Ol,{className:"pl-0 pt-0",children:(0,r.jsx)(a.ll,{children:"Pending Invites"})}),(0,r.jsx)(a.aY,{className:"pl-0",children:(0,r.jsx)(U,{})})]}),(0,r.jsx)("div",{className:"h-16"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)(a.Ol,{className:"pl-0 pt-0",children:(0,r.jsx)(a.ll,{children:"Users"})}),(0,r.jsx)(a.aY,{className:"pl-0",children:(0,r.jsx)(q,{})})]})]})}},48537:function(e,n,t){"use strict";t.d(n,{q:function(){return l}});var r=t(36164);t(3546);var s=t(28312),a=t(31458),i=t(81565);function l(e){let{className:n,value:t,onCopyContent:l,text:o,...d}=e,{isCopied:c,copyToClipboard:u}=(0,s.m)({timeout:2e3,onCopyContent:l});return t?(0,r.jsxs)(a.z,{variant:"ghost",size:o?"default":"icon",className:n,onClick:()=>{c||u(t)},...d,children:[c?(0,r.jsx)(i.IconCheck,{className:"text-green-600"}):(0,r.jsx)(i.IconCopy,{}),o&&(0,r.jsx)("span",{children:o}),!o&&(0,r.jsx)("span",{className:"sr-only",children:"Copy"})]}):null}},94770:function(e,n,t){"use strict";t.d(n,{M:function(){return f}});var r=t(36164),s=t(3546),a=t(70652),i=t.n(a),l=t(88542),o=t(29917),d=t(57288),c=t(31458),u=t(90615);let f=e=>{let{licenses:n,children:t}=e,[a,i]=s.useState(!1),l=(0,o.Gm)(),c=(0,o.Cz)({licenses:n}),{isLicenseOK:f,hasSufficientLicense:x}=c,p=x&&f,v=e=>{p||i(e)};return(0,r.jsxs)(u.zs,{open:a,onOpenChange:v,openDelay:100,children:[(0,r.jsx)(u.bZ,{side:"top",collisionPadding:16,className:"w-[400px]",children:(0,r.jsx)(m,{licenses:n,...c})}),(0,r.jsx)(u.Yi,{asChild:!0,onClick:e=>{p||(e.preventDefault(),v(!0))},children:(0,r.jsx)("div",{className:(0,d.cn)(p?"":"cursor-not-allowed"),children:t({hasValidLicense:p,license:l})})})]})};function m(e){let{hasSufficientLicense:n,isExpired:t,isSeatsExceeded:s,licenses:a}=e,o=(0,l.Z)(a[0]),d=o;return(2==a.length&&(d="".concat((0,l.Z)(a[0])," or ").concat((0,l.Z)(a[1]))),n&&t)?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{children:"Your license has expired. Please update your license to use this feature."}),(0,r.jsx)("div",{className:"mt-4 text-center",children:(0,r.jsx)(i(),{className:(0,c.d)(),href:"/settings/subscription",children:"Update license"})})]}):n&&s?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{children:"Your seat count has exceeded the limit. Please upgrade your license to continue using this feature."}),(0,r.jsx)("div",{className:"mt-4 text-center",children:(0,r.jsx)(i(),{className:(0,c.d)(),href:"/settings/subscription",children:"Upgrade license"})})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{children:["This feature is only available on Tabby's"," ",(0,r.jsx)("span",{className:"font-semibold",children:d})," plan. Upgrade to use this feature."]}),(0,r.jsx)("div",{className:"mt-4 text-center",children:(0,r.jsxs)(i(),{className:(0,c.d)(),href:"/settings/subscription",children:["Upgrade to ",o]})})]})}f.displayName="LicenseGuard"},6230:function(e,n,t){"use strict";var r=t(36164),s=t(3546),a=t(24449),i=t(90379);n.Z=e=>{let{loading:n,fallback:t,delay:l,children:o}=e,[d,c]=s.useState(!n),[u]=(0,a.n)(d,null!=l?l:200);return(s.useEffect(()=>{n||d||c(!0)},[n]),u)?o:t||(0,r.jsx)(i.cg,{})}},90379:function(e,n,t){"use strict";t.d(n,{PF:function(){return o},cg:function(){return i},tB:function(){return l}});var r=t(36164),s=t(57288),a=t(3448);let i=e=>{let{className:n,...t}=e;return(0,r.jsxs)("div",{className:(0,s.cn)("space-y-3",n),...t,children:[(0,r.jsx)(a.O,{className:"h-4 w-full"}),(0,r.jsx)(a.O,{className:"h-4 w-full"}),(0,r.jsx)(a.O,{className:"h-4 w-full"}),(0,r.jsx)(a.O,{className:"h-4 w-full"})]})},l=e=>{let{className:n,...t}=e;return(0,r.jsx)(a.O,{className:(0,s.cn)("h-4 w-full",n),...t})},o=e=>{let{className:n,...t}=e;return(0,r.jsxs)("div",{className:(0,s.cn)("flex flex-col gap-3",n),...t,children:[(0,r.jsx)(a.O,{className:"h-4 w-[20%]"}),(0,r.jsx)(a.O,{className:"h-4 w-full"}),(0,r.jsx)(a.O,{className:"h-4 w-[20%]"}),(0,r.jsx)(a.O,{className:"h-4 w-full"})]})}},73460:function(e,n,t){"use strict";t.d(n,{OL:function(){return h},_T:function(){return f},aR:function(){return o},f$:function(){return p},fY:function(){return m},le:function(){return j},vW:function(){return d},xo:function(){return x},yT:function(){return v}});var r=t(36164),s=t(3546),a=t(28961),i=t(57288),l=t(31458);let o=a.fC,d=a.xz,c=e=>{let{className:n,children:t,...s}=e;return(0,r.jsx)(a.h_,{className:(0,i.cn)(n),...s,children:(0,r.jsx)("div",{className:"fixed inset-0 z-50 flex items-end justify-center sm:items-center",children:t})})};c.displayName=a.h_.displayName;let u=s.forwardRef((e,n)=>{let{className:t,children:s,...l}=e;return(0,r.jsx)(a.aV,{className:(0,i.cn)("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm transition-opacity animate-in fade-in",t),...l,ref:n})});u.displayName=a.aV.displayName;let f=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsxs)(c,{children:[(0,r.jsx)(u,{}),(0,r.jsx)(a.VY,{ref:n,className:(0,i.cn)("fixed z-50 grid w-full max-w-lg scale-100 gap-4 border bg-background p-6 opacity-100 shadow-lg animate-in fade-in-90 slide-in-from-bottom-10 sm:rounded-lg sm:zoom-in-90 sm:slide-in-from-bottom-0 md:w-full",t),...s})]})});f.displayName=a.VY.displayName;let m=e=>{let{className:n,...t}=e;return(0,r.jsx)("div",{className:(0,i.cn)("flex flex-col space-y-2 text-center sm:text-left",n),...t})};m.displayName="AlertDialogHeader";let x=e=>{let{className:n,...t}=e;return(0,r.jsx)("div",{className:(0,i.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",n),...t})};x.displayName="AlertDialogFooter";let p=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)(a.Dx,{ref:n,className:(0,i.cn)("text-lg font-semibold",t),...s})});p.displayName=a.Dx.displayName;let v=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)(a.dk,{ref:n,className:(0,i.cn)("text-sm text-muted-foreground",t),...s})});v.displayName=a.dk.displayName;let h=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)(a.aU,{ref:n,className:(0,i.cn)((0,l.d)(),t),...s})});h.displayName=a.aU.displayName;let j=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)(a.$j,{ref:n,className:(0,i.cn)((0,l.d)({variant:"outline"}),"mt-2 sm:mt-0",t),...s})});j.displayName=a.$j.displayName},63795:function(e,n,t){"use strict";t.d(n,{C:function(){return l}});var r=t(36164);t(3546);var s=t(14375),a=t(57288);let i=(0,s.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",successful:"border-transparent bg-successful text-successful-foreground hover:bg-successful/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function l(e){let{className:n,variant:t,...s}=e;return(0,r.jsx)("div",{className:(0,a.cn)(i({variant:t}),n),...s})}},79972:function(e,n,t){"use strict";t.d(n,{Ol:function(){return l},Zb:function(){return i},aY:function(){return c},eW:function(){return u},ll:function(){return o}});var r=t(36164),s=t(3546),a=t(57288);let i=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("div",{ref:n,className:(0,a.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",t),...s})});i.displayName="Card";let l=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("div",{ref:n,className:(0,a.cn)("flex flex-col space-y-1.5 p-6",t),...s})});l.displayName="CardHeader";let o=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("h3",{ref:n,className:(0,a.cn)("text-2xl font-semibold leading-none tracking-tight",t),...s})});o.displayName="CardTitle";let d=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("p",{ref:n,className:(0,a.cn)("text-sm text-muted-foreground",t),...s})});d.displayName="CardDescription";let c=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("div",{ref:n,className:(0,a.cn)("p-6 pt-0",t),...s})});c.displayName="CardContent";let u=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("div",{ref:n,className:(0,a.cn)("flex items-center p-6 pt-0",t),...s})});u.displayName="CardFooter"},62202:function(e,n,t){"use strict";t.d(n,{$F:function(){return o},AW:function(){return u},Ju:function(){return x},VD:function(){return p},Xi:function(){return f},_x:function(){return d},h_:function(){return l},qB:function(){return m}});var r=t(36164),s=t(3546),a=t(19148),i=t(57288);let l=a.fC,o=a.xz;a.ZA,a.Uv,a.Tr;let d=a.Ee;a.wU;let c=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)(a.tu,{ref:n,className:(0,i.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md animate-in data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-1 data-[side=right]:slide-in-from-left-1 data-[side=top]:slide-in-from-bottom-1",t),...s})});c.displayName=a.tu.displayName;let u=s.forwardRef((e,n)=>{let{className:t,sideOffset:s=4,...l}=e;return(0,r.jsx)(a.Uv,{children:(0,r.jsx)(a.VY,{ref:n,sideOffset:s,className:(0,i.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow animate-in data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...l})})});u.displayName=a.VY.displayName;let f=s.forwardRef((e,n)=>{let{className:t,inset:s,...l}=e;return(0,r.jsx)(a.ck,{ref:n,className:(0,i.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",s&&"pl-8",t),...l})});f.displayName=a.ck.displayName;let m=s.forwardRef((e,n)=>{let{className:t,inset:s,...l}=e;return(0,r.jsx)(a.Rk,{ref:n,className:(0,i.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",s&&"pl-8",t),...l})});m.displayName=a.Rk.displayName;let x=s.forwardRef((e,n)=>{let{className:t,inset:s,...l}=e;return(0,r.jsx)(a.__,{ref:n,className:(0,i.cn)("px-2 py-1.5 text-sm font-semibold",s&&"pl-8",t),...l})});x.displayName=a.__.displayName;let p=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)(a.Z0,{ref:n,className:(0,i.cn)("-mx-1 my-1 h-px bg-muted",t),...s})});p.displayName=a.Z0.displayName},98150:function(e,n,t){"use strict";t.d(n,{NI:function(){return v},Wi:function(){return u},l0:function(){return d},lX:function(){return p},pf:function(){return h},xJ:function(){return x},zG:function(){return j}});var r=t(36164),s=t(3546),a=t(74047),i=t(5493),l=t(57288),o=t(5266);let d=i.RV,c=s.createContext({}),u=e=>{let{...n}=e;return(0,r.jsx)(c.Provider,{value:{name:n.name},children:(0,r.jsx)(i.Qr,{...n})})},f=()=>{let e=s.useContext(c),n=s.useContext(m),{getFieldState:t,formState:r}=(0,i.Gc)(),a=e.name||"root",l=t(a,r);if(!r)throw Error("useFormField should be used within ");let{id:o}=n;return{id:o,name:a,formItemId:"".concat(o,"-form-item"),formDescriptionId:"".concat(o,"-form-item-description"),formMessageId:"".concat(o,"-form-item-message"),...l}},m=s.createContext({}),x=s.forwardRef((e,n)=>{let{className:t,...a}=e,i=s.useId();return(0,r.jsx)(m.Provider,{value:{id:i},children:(0,r.jsx)("div",{ref:n,className:(0,l.cn)("space-y-2",t),...a})})});x.displayName="FormItem";let p=s.forwardRef((e,n)=>{let{className:t,required:s,...a}=e,{error:i,formItemId:d}=f();return(0,r.jsx)(o._,{ref:n,className:(0,l.cn)(i&&"text-destructive",s&&'after:ml-0.5 after:text-destructive after:content-["*"]',t),htmlFor:d,...a})});p.displayName="FormLabel";let v=s.forwardRef((e,n)=>{let{...t}=e,{error:s,formItemId:i,formDescriptionId:l,formMessageId:o}=f();return(0,r.jsx)(a.g7,{ref:n,id:i,"aria-describedby":s?"".concat(l," ").concat(o):"".concat(l),"aria-invalid":!!s,...t})});v.displayName="FormControl";let h=s.forwardRef((e,n)=>{let{className:t,...s}=e,{formDescriptionId:a}=f();return(0,r.jsx)("div",{ref:n,id:a,className:(0,l.cn)("text-sm text-muted-foreground",t),...s})});h.displayName="FormDescription";let j=s.forwardRef((e,n)=>{let{className:t,children:s,...a}=e,{error:i,formMessageId:o}=f(),d=i?String(null==i?void 0:i.message):s;return d?(0,r.jsx)("p",{ref:n,id:o,className:(0,l.cn)("text-sm font-medium text-destructive",t),...a,children:d}):null});j.displayName="FormMessage"},90615:function(e,n,t){"use strict";t.d(n,{Yi:function(){return o},bZ:function(){return d},zs:function(){return l}});var r=t(36164),s=t(3546),a=t(38421),i=t(57288);let l=a.fC,o=a.xz;a.h_;let d=s.forwardRef((e,n)=>{let{className:t,align:s="center",sideOffset:l=4,...o}=e;return(0,r.jsx)(a.VY,{ref:n,align:s,sideOffset:l,className:(0,i.cn)("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...o})});d.displayName=a.VY.displayName},82394:function(e,n,t){"use strict";t.d(n,{I:function(){return i}});var r=t(36164),s=t(3546),a=t(57288);let i=s.forwardRef((e,n)=>{let{className:t,type:s,...i}=e;return(0,r.jsx)("input",{type:s,className:(0,a.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),ref:n,...i})});i.displayName="Input"},5266:function(e,n,t){"use strict";t.d(n,{_:function(){return d}});var r=t(36164),s=t(3546),a=t(90893),i=t(14375),l=t(57288);let o=(0,i.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)(a.f,{ref:n,className:(0,l.cn)(o(),t),...s})});d.displayName=a.f.displayName},49506:function(e,n,t){"use strict";t.d(n,{$0:function(){return m},Dj:function(){return x},dN:function(){return f},kN:function(){return u},ng:function(){return d},nt:function(){return c},tl:function(){return o}});var r=t(36164),s=t(3546),a=t(57288),i=t(31458),l=t(81565);let o=e=>{let{className:n,...t}=e;return(0,r.jsx)("nav",{role:"navigation","aria-label":"pagination",className:(0,a.cn)("mx-auto flex w-full justify-center",n),...t})};o.displayName="Pagination";let d=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("ul",{ref:n,className:(0,a.cn)("flex flex-row items-center gap-1",t),...s})});d.displayName="PaginationContent";let c=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("li",{ref:n,className:(0,a.cn)("",t),...s})});c.displayName="PaginationItem";let u=e=>{let{className:n,isActive:t,size:s="icon",...l}=e;return(0,r.jsx)("a",{"aria-current":t?"page":void 0,className:(0,a.cn)("select-none",(0,i.d)({variant:t?"outline":"ghost",size:s}),n),...l})};u.displayName="PaginationLink";let f=e=>{let{className:n,disabled:t,...s}=e;return(0,r.jsxs)(u,{"aria-label":"Go to previous page",size:"default",className:(0,a.cn)("cursor-pointer select-none gap-1 pl-2.5",t&&"cursor-not-allowed text-muted-foreground",n),...s,children:[(0,r.jsx)(l.IconChevronLeft,{className:"h-4 w-4"}),(0,r.jsx)("span",{children:"Previous"})]})};f.displayName="PaginationPrevious";let m=e=>{let{className:n,disabled:t,...s}=e;return(0,r.jsxs)(u,{"aria-label":"Go to next page",size:"default",className:(0,a.cn)("cursor-pointer select-none gap-1 pr-2.5",t&&"cursor-not-allowed text-muted-foreground",n),...s,children:[(0,r.jsx)("span",{children:"Next"}),(0,r.jsx)(l.IconChevronRight,{className:"h-4 w-4"})]})};m.displayName="PaginationNext";let x=e=>{let{className:n,...t}=e;return(0,r.jsxs)("span",{"aria-hidden":!0,className:(0,a.cn)("flex h-9 w-9 items-center justify-center",n),...t,children:[(0,r.jsx)(l.IconMore,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"More pages"})]})};x.displayName="PaginationEllipsis"},3448:function(e,n,t){"use strict";t.d(n,{O:function(){return a}});var r=t(36164),s=t(57288);function a(e){let{className:n,...t}=e;return(0,r.jsx)("div",{className:(0,s.cn)("h-4 animate-pulse rounded-md bg-border",n),...t})}},99047:function(e,n,t){"use strict";t.d(n,{RM:function(){return o},SC:function(){return c},iA:function(){return i},pj:function(){return f},ss:function(){return u},xD:function(){return l}});var r=t(36164),s=t(3546),a=t(57288);let i=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("table",{ref:n,className:(0,a.cn)("w-full caption-bottom text-sm",t),...s})});i.displayName="Table";let l=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("thead",{ref:n,className:(0,a.cn)("[&_tr]:border-b",t),...s})});l.displayName="TableHeader";let o=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("tbody",{ref:n,className:(0,a.cn)("[&_tr:last-child]:border-0",t),...s})});o.displayName="TableBody";let d=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("tfoot",{ref:n,className:(0,a.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",t),...s})});d.displayName="TableFooter";let c=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("tr",{ref:n,className:(0,a.cn)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",t),...s})});c.displayName="TableRow";let u=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("th",{ref:n,className:(0,a.cn)("h-12 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",t),...s})});u.displayName="TableHead";let f=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("td",{ref:n,className:(0,a.cn)("p-2 align-middle [&:has([role=checkbox])]:pr-0",t),...s})});f.displayName="TableCell";let m=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("caption",{ref:n,className:(0,a.cn)("mt-4 text-sm text-muted-foreground",t),...s})});m.displayName="TableCaption"},21808:function(e,n,t){"use strict";t.d(n,{$6:function(){return a},$I:function(){return i},L8:function(){return s},ir:function(){return l},o0:function(){return r},rZ:function(){return o}});let r="name@yourcompany.com",s=20,a={DEMO_AUTO_LOGIN:"_tabby_demo_autologin"},i=48,l="NOT_FOUND",o="\n"},28312:function(e,n,t){"use strict";t.d(n,{m:function(){return l}});var r=t(3546),s=t(61200),a=t.n(s),i=t(2578);function l(e){let{timeout:n=2e3,onError:t,onCopyContent:s}=e,[l,o]=r.useState(!1),d=()=>{o(!0),setTimeout(()=>{o(!1)},n)},c=e=>{if("function"==typeof t){null==t||t(e);return}i.A.error("Failed to copy.")};return{isCopied:l,copyToClipboard:e=>{var n;if(e){if(s){s(e),d();return}if(null===(n=navigator.clipboard)||void 0===n?void 0:n.writeText)navigator.clipboard.writeText(e).then(d).catch(c);else{let n=a()(e);n?d():c()}}}}}},24449:function(e,n,t){"use strict";t.d(n,{S:function(){return l},n:function(){return o}});var r=t(3546),s=t(45391),a=t(16784);let i=e=>{let n=(0,a.d)(e);r.useEffect(()=>()=>{n.current()},[])};function l(e,n,t){let l=(0,a.d)(e),o=r.useMemo(()=>(0,s.Z)(function(){for(var e=arguments.length,n=Array(e),t=0;t{var e;null==t||null===(e=t.onUnmount)||void 0===e||e.call(t,o),o.cancel()}),{run:o,cancel:o.cancel,flush:o.flush}}function o(e,n,t){let[s,a]=r.useState(e),{run:i}=l(()=>{a(e)},n,t);return r.useEffect(()=>{i()},[e]),[s,a]}},16784:function(e,n,t){"use strict";t.d(n,{d:function(){return s}});var r=t(3546);function s(e){let n=r.useRef(e);return n.current=e,n}},29917:function(e,n,t){"use strict";t.d(n,{Cz:function(){return c},Gm:function(){return d},jp:function(){return o}});var r=t(11978),s=t(40055),a=t(43240),i=t(18500);let l=(0,a.BX)("\n query GetLicenseInfo {\n license {\n type\n status\n seats\n seatsUsed\n issuedAt\n expiresAt\n }\n }\n"),o=()=>(0,s.aM)({query:l}),d=()=>{let[{data:e}]=o();return null==e?void 0:e.license},c=e=>{var n;let[{data:t}]=o(),s=null==t?void 0:t.license,a=(0,r.useSearchParams)(),l=!!s&&(!(null==e?void 0:null===(n=e.licenses)||void 0===n?void 0:n.length)||e.licenses.includes(s.type)),d=(null==s?void 0:s.status)===i.Rj.Ok,c=(null==s?void 0:s.status)===i.Rj.Expired,u=(null==s?void 0:s.status)===(null===i.Rj||void 0===i.Rj?void 0:i.Rj.SeatsExceeded),f="expired"===a.get("licenseError"),m="seatsExceed"===a.get("licenseError");return{hasLicense:!!s,isLicenseOK:d&&!(f||m),isExpired:c||f,isSeatsExceeded:u||m,hasSufficientLicense:l}}},98454:function(e,n,t){"use strict";t.d(n,{P:function(){return i}});var r=t(40055),s=t(43240);let a=(0,s.BX)("\n query MeQuery {\n me {\n id\n authToken\n email\n isAdmin\n isOwner\n isPasswordSet\n name\n }\n }\n"),i=()=>(0,r.aM)({query:a})},70526:function(e,n,t){"use strict";t.d(n,{e:function(){return o},j:function(){return d}});var r=t(3546),s=t(40055),a=t(43240),i=t(57288);let l=(0,a.BX)("\n query NetworkSetting {\n networkSetting {\n externalUrl\n }\n }\n"),o=e=>(0,s.aM)({query:l,...e}),d=()=>{let[{data:e}]=o(),n=null==e?void 0:e.networkSetting,t=r.useMemo(()=>(null==n?void 0:n.externalUrl)||((0,i.S_)()?new URL(window.location.href).origin:""),[n]);return t}}},function(e){e.O(0,[8415,7565,7430,55,7812,4007,9643,4752,3449,2578,8511,240,2287,8961,9148,3707,389,7288,1565,3240,4656,3375,5289,1744],function(){return e(e.s=24306)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/system/page-b4105f7e8ea684dd.js b/ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/system/page-b6d923e357e74dc4.js similarity index 100% rename from ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/system/page-b4105f7e8ea684dd.js rename to ee/tabby-webserver/ui/_next/static/chunks/app/(dashboard)/system/page-b6d923e357e74dc4.js diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/(home)/page-24ab6315a1309f1d.js b/ee/tabby-webserver/ui/_next/static/chunks/app/(home)/page-24ab6315a1309f1d.js deleted file mode 100644 index 3ee1771e91a3..000000000000 --- a/ee/tabby-webserver/ui/_next/static/chunks/app/(home)/page-24ab6315a1309f1d.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5608],{97895:function(){},52419:function(e,t,n){Promise.resolve().then(n.bind(n,61207))},61207:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return te}});var r=n(36164),a=n(3546),s=n(42891),i=n.n(s),o=n(11978),l=n(83332),c=n(40055),d=n(27257),u=n(21808),m=n(98454),f=n(31159),h=n(80605);let p={threadsPageNo:1},x=(0,d.Ue)()(()=>({...p})),v=x.setState,y=()=>v(()=>({threadsPageNo:p.threadsPageNo})),g=e=>v(()=>({threadsPageNo:e}));var b=n(47241),j=n(37266),N=n(70410),w=n(57288),k=n(57830),S=n(68172),A=n(30601),P=n(61249),I=n(91302),M=n(31458),C=n(30220),E=n(81565);let O="community-dialog-shown";function D(){let{status:e}=(0,I.kP)(),[t,n]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{"authenticated"!==e||localStorage.getItem(O)||(n(!0),localStorage.setItem(O,"true"))},[e]),(0,r.jsx)(C.Vq,{open:t,onOpenChange:n,children:(0,r.jsxs)(C.cZ,{children:[(0,r.jsxs)(C.fK,{className:"gap-3",children:[(0,r.jsx)(C.$N,{children:"Join the Tabby community"}),(0,r.jsx)(C.Be,{children:"Connect with other contributors building Tabby. Share knowledge, get help, and contribute to the open-source project."})]}),(0,r.jsx)(C.cN,{className:"sm:justify-start",children:(0,r.jsxs)("a",{target:"_blank",href:"https://links.tabbyml.com/join-slack-webserver",className:(0,M.d)(),children:[(0,r.jsx)(E.IconSlack,{className:"-ml-2 h-8 w-8"}),"Join us on Slack"]})})]})})}var T=n(24203),Y=n(63743),L=n(52569),R=n(7449),_=n(84837);let Z={ease:"easeOut",duration:.1};function F(e){let{viewport:t,children:n,className:a,style:s,delay:i}=e;return(0,r.jsx)(_.E.div,{initial:"initial",whileInView:"onscreen",viewport:t,style:s,className:a,children:(0,r.jsx)(_.E.div,{variants:{initial:{opacity:0,y:30,transition:Z},onscreen:{opacity:1,y:0,transition:{...Z,delay:.2+(i||0)}}},children:n})})}var $=n(94755),H=n(36619),B=n(99092),z=n.n(B),K=n(72223),G=n(42390),V=n.n(G),W=n(18500),q=n(9010),U=n(35814),J=n(39018),X=n.n(J),Q=n(60079),ee=n(16250),et=n(67957),en=n(57868),er=n.n(en),ea=n(9869),es=n.n(ea),ei=n(1133),eo=n.n(ei),el=n(18315),ec=n(53800),ed=n(1349),eu=n(34635),em=n(14404),ef=n(6773),eh=n(54043),ep=n(72945),ex=n(11770),ev=n(1837),ey=["type","layout","connectNulls","ref"];function eg(e){return(eg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function eb(){return(eb=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);no){c=[].concat(ew(a.slice(0,d)),[o-u]);break}var m=c.length%2==0?[0,l]:[l];return[].concat(ew(r.repeat(a,i)),ew(c),m).map(function(e){return"".concat(e,"px")}).join(", ")}),eC(eI(e),"id",(0,eh.EL)("recharts-line-")),eC(eI(e),"pathRef",function(t){e.mainCurve=t}),eC(eI(e),"handleAnimationEnd",function(){e.setState({isAnimationFinished:!0}),e.props.onAnimationEnd&&e.props.onAnimationEnd()}),eC(eI(e),"handleAnimationStart",function(){e.setState({isAnimationFinished:!1}),e.props.onAnimationStart&&e.props.onAnimationStart()}),e}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&eM(e,t)}(r,e),t=[{key:"componentDidMount",value:function(){if(this.props.isAnimationActive){var e=this.getTotalLength();this.setState({totalLength:e})}}},{key:"componentDidUpdate",value:function(){if(this.props.isAnimationActive){var e=this.getTotalLength();e!==this.state.totalLength&&this.setState({totalLength:e})}}},{key:"getTotalLength",value:function(){var e=this.mainCurve;try{return e&&e.getTotalLength&&e.getTotalLength()||0}catch(e){return 0}}},{key:"renderErrorBar",value:function(e,t){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var n=this.props,r=n.points,s=n.xAxis,i=n.yAxis,o=n.layout,l=n.children,c=(0,ep.NN)(l,ef.W);if(!c)return null;var d=function(e,t){return{x:e.x,y:e.y,value:e.value,errorVal:(0,ev.F$)(e.payload,t)}};return a.createElement(eu.m,{clipPath:e?"url(#clipPath-".concat(t,")"):null},c.map(function(e){return a.cloneElement(e,{key:"bar-".concat(e.props.dataKey),data:r,xAxis:s,yAxis:i,layout:o,dataPointFormatter:d})}))}},{key:"renderDots",value:function(e,t,n){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var s=this.props,i=s.dot,o=s.points,l=s.dataKey,c=(0,ep.L6)(this.props,!1),d=(0,ep.L6)(i,!0),u=o.map(function(e,t){var n=eN(eN(eN({key:"dot-".concat(t),r:3},c),d),{},{value:e.value,dataKey:l,cx:e.x,cy:e.y,index:t,payload:e.payload});return r.renderDotItem(i,n)}),m={clipPath:e?"url(#clipPath-".concat(t?"":"dots-").concat(n,")"):null};return a.createElement(eu.m,eb({className:"recharts-line-dots",key:"dots"},m),u)}},{key:"renderCurveStatically",value:function(e,t,n,r){var s=this.props,i=s.type,o=s.layout,l=s.connectNulls,c=(s.ref,function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},s=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(s,ey)),d=eN(eN(eN({},(0,ep.L6)(c,!0)),{},{fill:"none",className:"recharts-line-curve",clipPath:t?"url(#clipPath-".concat(n,")"):null,points:e},r),{},{type:i,layout:o,connectNulls:l});return a.createElement(ec.H,eb({},d,{pathRef:this.pathRef}))}},{key:"renderCurveWithAnimation",value:function(e,t){var n=this,r=this.props,s=r.points,i=r.strokeDasharray,o=r.isAnimationActive,l=r.animationBegin,c=r.animationDuration,d=r.animationEasing,u=r.animationId,m=r.animateNewValues,f=r.width,h=r.height,p=this.state,x=p.prevPoints,v=p.totalLength;return a.createElement(et.ZP,{begin:l,duration:c,isActive:o,easing:d,from:{t:0},to:{t:1},key:"line-".concat(u),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(r){var a,o=r.t;if(x){var l=x.length/s.length,c=s.map(function(e,t){var n=Math.floor(t*l);if(x[n]){var r=x[n],a=(0,eh.k4)(r.x,e.x),s=(0,eh.k4)(r.y,e.y);return eN(eN({},e),{},{x:a(o),y:s(o)})}if(m){var i=(0,eh.k4)(2*f,e.x),c=(0,eh.k4)(h/2,e.y);return eN(eN({},e),{},{x:i(o),y:c(o)})}return eN(eN({},e),{},{x:e.x,y:e.y})});return n.renderCurveStatically(c,e,t)}var d=(0,eh.k4)(0,v)(o);if(i){var u="".concat(i).split(/[,\s]+/gim).map(function(e){return parseFloat(e)});a=n.getStrokeDasharray(d,v,u)}else a=n.generateSimpleStrokeDasharray(v,d);return n.renderCurveStatically(s,e,t,{strokeDasharray:a})})}},{key:"renderCurve",value:function(e,t){var n=this.props,r=n.points,a=n.isAnimationActive,s=this.state,i=s.prevPoints,o=s.totalLength;return a&&r&&r.length&&(!i&&o>0||!eo()(i,r))?this.renderCurveWithAnimation(e,t):this.renderCurveStatically(r,e,t)}},{key:"render",value:function(){var e,t=this.props,n=t.hide,r=t.dot,s=t.points,i=t.className,o=t.xAxis,l=t.yAxis,c=t.top,d=t.left,u=t.width,m=t.height,f=t.isAnimationActive,h=t.id;if(n||!s||!s.length)return null;var p=this.state.isAnimationFinished,x=1===s.length,v=(0,el.Z)("recharts-line",i),y=o&&o.allowDataOverflow,g=l&&l.allowDataOverflow,b=y||g,j=es()(h)?this.id:h,N=null!==(e=(0,ep.L6)(r,!1))&&void 0!==e?e:{r:3,strokeWidth:2},w=N.r,k=N.strokeWidth,S=((0,ep.$k)(r)?r:{}).clipDot,A=void 0===S||S,P=2*(void 0===w?3:w)+(void 0===k?2:k);return a.createElement(eu.m,{className:v},y||g?a.createElement("defs",null,a.createElement("clipPath",{id:"clipPath-".concat(j)},a.createElement("rect",{x:y?d:d-u/2,y:g?c:c-m/2,width:y?u:2*u,height:g?m:2*m})),!A&&a.createElement("clipPath",{id:"clipPath-dots-".concat(j)},a.createElement("rect",{x:d-P/2,y:c-P/2,width:u+P,height:m+P}))):null,!x&&this.renderCurve(b,j),this.renderErrorBar(b,j),(x||r)&&this.renderDots(b,A,j),(!f||p)&&em.e.renderCallByParent(this.props,s))}}],n=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curPoints:e.points,prevPoints:t.curPoints}:e.points!==t.curPoints?{curPoints:e.points}:null}},{key:"repeat",value:function(e,t){for(var n=e.length%2!=0?[].concat(ew(e),[0]):e,r=[],a=0;ae.views)),o=(0,U.Z)(null==a?void 0:a.map(e=>e.selects)),l=(0,H.Z)({start:t,end:n}),c={},d={};null==a||a.forEach(e=>{let t=z()(e.start).format("YYYY-MM-DD");c[t]=c[t]||0,d[t]=d[t]||0,c[t]+=e.views,d[t]+=e.selects},{});let u=0===i?0:(o/i*100).toFixed(2),m=l.map(e=>{let t=z()(e).format("YYYY-MM-DD"),n=c[t]||0,r=d[t]||0;return{name:z()(e).format("MMMM D"),value:0===n?0:parseFloat((r/n*100).toFixed(2)),selects:r,views:n}}),f=l.map(e=>{let t=z()(e).format("YYYY-MM-DD"),n=c[t]||0,r=d[t]||0,a=n-r;return{name:z()(e).format("MMMM D"),views:n,selects:r,pending:0===n?.5:a,realPending:0===n?0:a,viewPlaceholder:0===n?.5:0,selectPlaceholder:0===r?.5:0}});return(0,r.jsxs)("div",{className:"flex w-full flex-col items-center justify-center space-y-5 md:flex-row md:space-x-4 md:space-y-0 xl:justify-start",children:[(0,r.jsx)(F,{viewport:{amount:.1},delay:.15,className:"flex-1 self-stretch",children:(0,r.jsxs)(eF.Zb,{className:"flex flex-col justify-between self-stretch rounded-2xl bg-transparent pb-4",children:[(0,r.jsx)(eF.Ol,{className:"flex flex-row items-center justify-between space-y-0 px-4 pb-1 pt-4",children:(0,r.jsx)(eF.ll,{className:"text-base font-medium tracking-normal",children:"Acceptance Rate"})}),(0,r.jsx)(eF.aY,{className:"mb-1 px-4 py-0",children:(0,r.jsxs)("div",{className:"text-xl font-semibold",style:{fontFamily:"var(--font-montserrat)"},children:[u,"%"]})}),(0,r.jsx)(Q.h,{width:"100%",height:68,children:(0,r.jsxs)(eL,{data:m,margin:{top:10,right:20,left:15,bottom:5},children:[(0,r.jsx)(eO,{type:"monotone",dataKey:"value",stroke:"dark"===s?"#e8e1d3":"#54452c",strokeWidth:1.5}),(0,r.jsx)(eR.u,{cursor:{fill:"transparent"},content:(0,r.jsx)(e$,{})})]})})]})}),(0,r.jsx)(F,{viewport:{amount:.1},delay:.2,className:"flex-1 self-stretch",children:(0,r.jsxs)(eF.Zb,{className:"flex flex-col justify-between self-stretch bg-transparent pb-4",children:[(0,r.jsx)(eF.Ol,{className:"flex flex-row items-center justify-between space-y-0 px-4 pb-1 pt-4",children:(0,r.jsx)(eF.ll,{className:"text-base font-medium tracking-normal",children:"Completions"})}),(0,r.jsx)(eF.aY,{className:"mb-1 px-4 py-0",children:(0,r.jsx)("div",{className:"text-xl font-semibold",style:{fontFamily:"var(--font-montserrat)"},children:X()(i).format("0,0")})}),(0,r.jsx)(Q.h,{width:"100%",height:68,children:(0,r.jsxs)(e_.v,{data:f,margin:{top:0===i?30:5,right:15,left:15,bottom:0},children:[(0,r.jsx)(eZ.$,{dataKey:"views",stackId:"stats",fill:"dark"===s?"#e8e1d3":"#54452c",radius:3}),(0,r.jsx)(eZ.$,{dataKey:"viewPlaceholder",stackId:"stats",fill:"dark"===s?"#423929":"#e8e1d3",radius:3}),(0,r.jsx)(eR.u,{cursor:{fill:"transparent"},content:(0,r.jsx)(eH,{type:"view"})})]})})]})}),(0,r.jsx)(F,{viewport:{amount:.1},delay:.25,className:"flex-1 self-stretch",children:(0,r.jsxs)(eF.Zb,{className:"flex flex-col justify-between self-stretch bg-transparent pb-4",children:[(0,r.jsx)(eF.Ol,{className:"flex flex-row items-center justify-between space-y-0 px-4 pb-1 pt-4",children:(0,r.jsx)(eF.ll,{className:"text-base font-medium tracking-normal",children:"Acceptances"})}),(0,r.jsx)(eF.aY,{className:"mb-1 px-4 py-0",children:(0,r.jsx)("div",{className:"text-xl font-semibold",style:{fontFamily:"var(--font-montserrat)"},children:X()(o).format("0,0")})}),(0,r.jsx)(Q.h,{width:"100%",height:68,children:(0,r.jsxs)(e_.v,{data:f,margin:{top:0===i?30:5,right:15,left:15,bottom:0},children:[(0,r.jsx)(eZ.$,{dataKey:"selects",stackId:"stats",fill:"dark"===s?"#e8e1d3":"#54452c",radius:3}),(0,r.jsx)(eZ.$,{dataKey:"selectPlaceholder",stackId:"stats",fill:"dark"===s?"#423929":"#e8e1d3",radius:3}),(0,r.jsx)(eR.u,{cursor:{fill:"transparent"},content:(0,r.jsx)(eH,{type:"accept"})})]})})]})})]})}function ez(e){let{data:t}=e,{theme:n}=(0,q.X)(),a=(0,$.iP)(),s=a.width||0;return(0,r.jsx)("div",{className:"h-[152px]",children:(0,r.jsx)(K.ZP,{data:t,colorScheme:"dark"===n?"dark":"light",theme:{light:["#ebedf0","#9be9a8","#40c463","#30a14e","#216e39"],dark:["rgb(45, 51, 59)","#0e4429","#006d32","#26a641","#39d353"]},blockSize:s>=968?12:11,hideTotalCount:!0,fontSize:12})})}function eK(){var e,t,n;let a,s;let[{data:i}]=(0,m.P)(),l=(0,o.useSearchParams)(),d=(0,h.UA)(),u=d||"true"===l.get("sample"),f=z()().subtract(6,"day").startOf("day").utc().format(),p=z()().endOf("day").utc().format(),[{data:x,fetching:v}]=(0,c.aM)({query:N.Cl,variables:{start:f,end:p,users:null==i?void 0:null===(e=i.me)||void 0===e?void 0:e.id}});if(u){let e=(0,H.Z)({start:z()().subtract(6,"day").toDate(),end:z()().toDate()});a=e.map(e=>{let t=[W.SQ.Typescript,W.SQ.Python,W.SQ.Rust],n=V()(z()(e).format("YYYY-MM-DD")+(null==i?void 0:i.me.id)),r=Math.ceil(20*n()),a=Math.ceil(r/.35);return{start:z()(e).utc().format(),end:z()(e).add(1,"day").utc().format(),completions:a,selects:r,views:a,language:t[r%t.length]}})}else a=null==x?void 0:x.dailyStats.map(e=>({start:e.start,end:e.end,completions:e.completions,selects:e.selects,views:e.views,language:e.language}));let[{data:y,fetching:g}]=(0,c.aM)({query:N.Y6,variables:{users:null==i?void 0:null===(t=i.me)||void 0===t?void 0:t.id}}),b=0;if(u){let e=(0,H.Z)({start:z()().toDate(),end:z()().subtract(365,"days").toDate()});s=e.map(e=>{let t=V()(z()(e).format("YYYY-MM-DD")+(null==i?void 0:i.me.id)),n=Math.ceil(20*t()),r=n+Math.floor(10*t());return{start:z()(e).format("YYYY-MM-DD[T]HH:mm:ss[Z]"),end:z()(e).add(1,"day").format("YYYY-MM-DD[T]HH:mm:ss[Z]"),completions:r,selects:n,views:r}})}else s=null==y?void 0:y.dailyStatsInPastYear.map(e=>({start:e.start,end:e.end,completions:e.completions,selects:e.selects,views:e.views}));let j=(null==s?void 0:s.reduce((e,t)=>{let n=z().utc(t.start).format("YYYY-MM-DD");return b+=t.views+t.selects,{...e,[n]:t.views}},{}))||{},w=Array(365).fill("").map((e,t)=>{let n=z()().subtract(t,"days").format("YYYY-MM-DD"),r=j[n]||0;return{date:n,count:r,level:Math.min(4,Math.ceil(r/5))}}).reverse();return(null==i?void 0:null===(n=i.me)||void 0===n?void 0:n.id)?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(F,{viewport:{amount:.1},style:{width:"100%"},delay:.1,children:(0,r.jsxs)("div",{className:"rounded-2xl border px-[1.125rem] py-4",children:[(0,r.jsxs)("div",{className:"mb-3 text-base",children:[(0,r.jsx)("span",{className:"font-semibold",children:b})," ","activities in the past year"]}),(0,r.jsx)(ez,{data:w})]})}),(0,r.jsx)(eB,{dailyStats:a,from:z()().subtract(6,"day").toDate(),to:z()().toDate()})]}):(0,r.jsx)(r.Fragment,{})}var eG=n(70652),eV=n.n(eG),eW=n(54767),eq=n(74038),eU=n(43240),eJ=n(36758),eX=n(79876),eQ=n(49506),e0=n(11208),e1=n(3448),e5=n(6230),e2=n(83171);let e4=(0,a.createContext)({}),e3=(0,eU.BX)("\n query ListThreads(\n $ids: [ID!]\n $isEphemeral: Boolean\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n threads(\n ids: $ids\n isEphemeral: $isEphemeral\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n userId\n createdAt\n updatedAt\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n");function e8(e){var t,n,s;let{className:i,onNavigateToThread:o}=e,l=x(e=>e.threadsPageNo),[d,u]=(0,eJ.d)(),[m,f]=(0,a.useState)(),[h,p]=(0,a.useState)(l),[{data:v,fetching:g}]=(0,c.aM)({query:e3,variables:{last:25,before:m,isEphemeral:!1}}),[{data:b,fetching:j}]=(0,c.aM)({query:N.Gx}),k=null==v?void 0:v.threads.pageInfo,S=null==v?void 0:null===(n=v.threads)||void 0===n?void 0:null===(t=n.edges)||void 0===t?void 0:t.length,A=Math.ceil((S||0)/25),P=A>1||1===A&&(null==k?void 0:k.hasPreviousPage),I=(0,eX.S)(S||0,h,25),M=(0,a.useMemo)(()=>{var e;let t=null==v?void 0:null===(e=v.threads)||void 0===e?void 0:e.edges;if(!(null==t?void 0:t.length))return[];if(g&&h>=2){let e=t.slice().reverse().slice((h-2)*25,(h-1)*25);return e||[]}return t.slice().reverse().slice((h-1)*25,25*h)},[null==v?void 0:null===(s=v.threads)||void 0===s?void 0:s.edges,h,g]),C=()=>{let e=null==k?void 0:k.startCursor;if(e&&(null==v?void 0:v.threads.edges.length)&&v.threads.edges.findIndex(t=>t.cursor===e)>-1)f(e);else{var t;f(null==v?void 0:null===(t=v.threads.edges[0])||void 0===t?void 0:t.cursor)}},O=!!(null==k?void 0:k.hasPreviousPage),D=g||!M.length||h>=A&&!(null==k?void 0:k.hasPreviousPage);return(0,a.useEffect)(()=>{y()},[]),(0,r.jsx)(e4.Provider,{value:{allUsers:d,fetchingUsers:u,sources:null==b?void 0:b.contextInfo.sources,fetchingSources:j,onNavigateToThread:()=>{o({pageNo:h})}},children:(0,r.jsx)("div",{className:(0,w.cn)("w-full",i),children:(0,r.jsx)(_.E.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{ease:"easeOut",delay:.3},children:(0,r.jsxs)(e5.Z,{loading:g||u,fallback:(0,r.jsx)("div",{className:"flex justify-center",children:(0,r.jsx)(E.IconSpinner,{className:"h-8 w-8"})}),delay:600,children:[(0,r.jsx)("div",{className:"mb-2.5 w-full text-lg font-semibold",children:"Recent Activities"}),(0,r.jsx)(e0.Z,{className:"mb-4 w-full"}),(0,r.jsxs)("div",{className:"relative flex flex-col gap-3 text-sm",children:[M.map(e=>(0,r.jsx)(e6,{data:e},e.node.id)),g&&(0,r.jsx)("div",{className:"absolute inset-0 bottom-10 z-10 flex items-center justify-center backdrop-blur-sm"}),P&&(0,r.jsx)(eQ.tl,{className:(0,w.cn)("flex items-center justify-end"),children:(0,r.jsxs)(eQ.ng,{children:[(0,r.jsx)(eQ.nt,{children:(0,r.jsx)(eQ.dN,{disabled:1===h,onClick:()=>{if(1===h)return;let e=h-1;p(e)}})}),I.map((e,t)=>(0,r.jsx)(eQ.nt,{onClick:()=>{"number"==typeof e&&p(e)},children:"number"==typeof e?(0,r.jsx)(eQ.kN,{className:"cursor-pointer",isActive:e===h,children:e}):(0,r.jsx)(eQ.Dj,{})},"".concat(e,"-").concat(t))),O&&(0,r.jsx)(eQ.nt,{children:(0,r.jsx)(eQ.Dj,{})}),(0,r.jsx)(eQ.nt,{children:(0,r.jsx)(eQ.$0,{disabled:D,onClick:()=>{if(D)return;let e=h+1;p(e),e>A&&C()}})})]})})]})]})})})})}function e6(e){var t;let{data:n}=e,s=n.node.userId,i=n.node.id,{sources:o,allUsers:l,onNavigateToThread:d,fetchingSources:m}=(0,a.useContext)(e4),[{data:f,fetching:h}]=(0,c.aM)({query:N.r4,variables:{first:1,threadId:n.node.id}}),p=null==f?void 0:null===(t=f.threadMessages)||void 0===t?void 0:t.edges,x=(0,a.useMemo)(()=>(null==p?void 0:p.length)?(0,w.i8)(o||[],p[0].node.content):"",[p,o]),v=(0,a.useMemo)(()=>{let e=x.slice(0,u.$I);return(0,eW.Z)(e)},[x]),y=(0,a.useMemo)(()=>null==l?void 0:l.find(e=>e.id===n.node.userId),[l,s]);return(0,r.jsx)(eV(),{href:x?"/search/".concat(v,"-").concat(i):"/search/".concat(i),onClick:d,children:(0,r.jsxs)("div",{className:"transform-bg group flex-1 overflow-hidden rounded-lg px-3 py-2 hover:bg-accent",children:[(0,r.jsxs)("div",{className:"mb-1.5 flex items-center gap-2",children:[(0,r.jsx)(E.IconFiles,{className:"shrink-0"}),(0,r.jsx)(e5.Z,{loading:h||m,fallback:(0,r.jsx)("div",{className:"w-full py-1.5",children:(0,r.jsx)(e1.O,{className:"w-[60%]"})}),children:(0,r.jsx)(e7,{className:"break-anywhere truncate text-lg font-medium",sources:o,message:null==p?void 0:p[0].node.content})})]}),(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(L.Yt,{user:y,className:"mr-0.5 h-4 w-4 shrink-0"}),(0,r.jsxs)("div",{className:"flex items-baseline gap-0.5",children:[(0,r.jsx)("div",{className:"text-sm",children:(null==y?void 0:y.name)||(null==y?void 0:y.email)}),(0,r.jsx)("span",{className:"text-muted-foreground",children:"\xb7"}),(0,r.jsx)("div",{className:"whitespace-nowrap text-xs text-muted-foreground",children:function(e,t){let n=z()(e);if(n.isBefore(z()().subtract(1,"year"))){let e=n.format("MMM D, YYYY");return"".concat(t," on ").concat(e)}if(n.isBefore(z()().subtract(1,"month"))){let e=n.format("MMM D");return"".concat(t," on ").concat(e)}return"".concat(t," ").concat(n.fromNow())}(n.node.createdAt,"Asked")})]})]})]})})}function e7(e){let{message:t,sources:n,className:s}=e,i=(0,a.useMemo)(()=>{var e;if(!t)return null;let a=null!==(e=t.split("\n")[0])&&void 0!==e?e:"";return a.split(eq.z).map((e,t)=>{if(t%2==1){let a=null==n?void 0:n.find(t=>t.sourceId===e);return a?(0,r.jsx)(e2.p,{id:a.sourceId,kind:a.sourceKind,label:a.sourceName,className:"rounded-md border border-[#b3ada0] border-opacity-30 bg-[#e8e1d3] py-[1px] text-sm dark:bg-[#333333]"},t):null}return e})},[n,t]);return(0,r.jsx)("div",{className:(0,w.cn)(s),children:i})}function e9(){let e=(0,a.useRef)(!1),t=(0,a.useRef)(null),[{data:n}]=(0,m.P)(),s=(0,h.vN)(),p=(0,h.xG)(),[x]=(0,A.Hb)(),v=(0,a.useRef)(null),y=(0,o.useRouter)(),[I,M]=(0,a.useState)(!1),[{data:C,fetching:E}]=(0,c.aM)({query:N.Gx}),O=(0,d.oR)(j.CR,e=>e.homePage),{selectedModel:D,isModelLoading:_,models:Z}=(0,f.Vq)(),$=!!(null==n?void 0:n.me)||!s;(0,a.useEffect)(()=>{y.prefetch("/search")},[y]),(0,a.useLayoutEffect)(()=>{e.current||(O&&setTimeout(()=>{var e;null===(e=t.current)||void 0===e||e.scrollTo({top:Number(O)}),(0,j.wh)()}),e.current=!0)},[]);let H=x?{height:"calc(100vh - ".concat(A.wt,")")}:{height:"100vh"};return(0,r.jsxs)(k.ScrollArea,{style:H,ref:t,children:[(0,r.jsx)("header",{className:"transition-top fixed right-0 z-10 flex h-16 items-center justify-end px-4 lg:px-10",style:{top:x?A.wt:0},children:(0,r.jsxs)("div",{className:"flex items-center gap-x-6",children:[(0,r.jsx)(S.q,{children:(0,r.jsx)(Y.T,{})}),(0,r.jsx)(P.L,{}),(0,r.jsx)(R.Z,{showHome:!1,showSetting:!0,children:(0,r.jsx)(L.SQ,{className:"h-10 w-10 border"})})]})}),$&&(0,r.jsx)("main",{className:"flex-col items-center justify-center pb-4 pt-16 lg:flex",ref:v,children:(0,r.jsxs)("div",{className:"mx-auto flex w-full flex-col items-center gap-6 px-10 lg:-mt-[2vh] lg:max-w-4xl lg:px-0",children:[(0,r.jsx)(F,{viewport:{amount:.1},children:(0,r.jsx)(i(),{src:l.Z,alt:"logo",width:192,className:(0,w.cn)("mt-4 invert dark:invert-0",{"mb-4":p,"mb-2":!p})})}),p&&(0,r.jsx)(F,{viewport:{amount:.1},style:{width:"100%"},delay:.05,children:(0,r.jsx)(T.Z,{onSearch:(e,t)=>{M(!0),sessionStorage.setItem(u.$6.SEARCH_INITIAL_MSG,e),sessionStorage.setItem(u.$6.SEARCH_INITIAL_CONTEXTS,JSON.stringify(t)),y.push("/search")},showBetaBadge:!0,autoFocus:!0,loadingWithSpinning:!0,isLoading:I,cleanAfterSearch:!1,contextInfo:null==C?void 0:C.contextInfo,fetchingContextInfo:E,modelName:D,onModelSelect:e=>{(0,b.Eg)(e)},isModelLoading:_,models:Z})}),(0,r.jsx)(eK,{}),(0,r.jsx)(e8,{className:"lg:mt-8",onNavigateToThread:e=>{let{pageNo:n}=e;t.current&&((0,j.F0)(t.current.scrollTop),g(n))}})]})})]})}function te(){return(0,r.jsxs)("div",{children:[(0,r.jsx)(e9,{}),(0,r.jsx)(D,{})]})}},83171:function(e,t,n){"use strict";n.d(t,{p:function(){return l},t:function(){return c}});var r=n(36164);n(3546);var a=n(68035),s=n(18500),i=n(57288),o=n(81565);function l(e){let{kind:t,label:n,className:s}=e;return(0,r.jsxs)(a.T5,{as:"span",className:(0,i.cn)("source-mention rounded-sm px-1",s),children:[(0,r.jsx)(d,{kind:t,className:"self-center"}),(0,r.jsx)("span",{className:"whitespace-nowrap",children:n})]})}function c(e){let{kind:t,label:n,id:a}=e.node.attrs;return(0,r.jsx)(l,{kind:t,label:n,id:a})}function d(e){let{kind:t,...n}=e;switch(t){case s.ri.Doc:return(0,r.jsx)(o.IconEmojiBook,{...n});case s.ri.Web:return(0,r.jsx)(o.IconEmojiGlobe,{...n});case s.ri.Git:return(0,r.jsx)(o.IconCode,{...n});case s.ri.Github:return(0,r.jsx)(o.IconGitHub,{...n});case s.ri.Gitlab:return(0,r.jsx)(o.IconGitLab,{...n});default:return null}}},24203:function(e,t,n){"use strict";n.d(t,{Z:function(){return F}});var r=n(36164),a=n(3546),s=n(21808),i=n(9010),o=n(57288),l=n(62202),c=n(29),d=n(6230);n(15812);var u=n(46836),m=n(75866),f=n(97216),h=n(48497),p=n(10155),x=n(31408),v=n(68035),y=n(16784),g=n(10345),b=n(83171);let j="mention",N=g.ZP.extend({addNodeView:()=>(0,v.fW)(b.t),renderText(e){let{node:t}=e;return"[[source:".concat(t.attrs.id,"]]")},addAttributes:()=>({id:{default:null,parseHTML:e=>e.getAttribute("data-id"),renderHTML:e=>e.id?{"data-id":e.id}:{}},label:{default:null,parseHTML:e=>e.getAttribute("data-label"),renderHTML:e=>e.label?{"data-label":e.label}:{}},kind:{default:null,parseHTML:e=>e.getAttribute("data-kind"),renderHTML:e=>e.kind?{"data-kind":e.kind}:{}}})});n(44750);var w=n(31022),k=n(45238),S=n(18500),A=n(81565);let P=(0,a.forwardRef)((e,t)=>{let{query:n,command:s,category:i}=e,{list:l,pending:c}=(0,a.useContext)(Y),[d,u]=(0,a.useState)(0),m=(0,a.useMemo)(()=>{if(!(null==l?void 0:l.length))return[];let e=l.filter(e=>(0,o._q)(e.sourceKind)).map(e=>({type:"source",category:"doc",id:e.sourceId,label:e.sourceName,data:e})),t=l.filter(e=>(0,o.wO)(e.sourceKind)).map(e=>({type:"source",category:"code",id:e.sourceId,label:e.sourceName,data:e}));return"doc"===i?e:t},[i,l]),f=(0,a.useMemo)(()=>{if(!n)return m;let e=(0,k.go)(n,m,{key:e=>e.label});return e.map(e=>e.obj)},[n,m]),h=()=>{u((d+f.length-1)%f.length)},p=()=>{u((d+1)%f.length)},x=e=>{let t=f[e];t&&s({id:t.data.sourceId,label:t.label,kind:t.data.sourceKind})},v=()=>{x(d)};return(0,a.useEffect)(()=>u(0),[m]),(0,a.useImperativeHandle)(t,()=>({onKeyDown:e=>{let{event:t}=e;return"ArrowUp"===t.key?(h(),!0):"ArrowDown"===t.key?(p(),!0):"Enter"===t.key&&(v(),!0)}})),(0,r.jsx)("div",{className:"dropdown-menu max-h-[30vh] min-w-[20rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-2 text-popover-foreground shadow animate-in",children:c?(0,r.jsx)("div",{className:"px-2 py-1.5",children:(0,r.jsx)(A.IconSpinner,{})}):f.length?f.map((e,t)=>(0,r.jsx)(M,{onClick:()=>x(t),onMouseEnter:()=>u(t),title:e.label,data:e,isSelected:t===d},e.id)):(0,r.jsx)("div",{className:"px-2 py-1.5 text-sm text-muted-foreground",children:(null==m?void 0:m.length)?(0,r.jsx)("span",{children:"No matches results"}):(0,r.jsx)("span",{children:"No results"})})})});function I(e){let{kind:t}=e;switch(t){case S.ri.Doc:return(0,r.jsx)(A.IconEmojiBook,{});case S.ri.Web:return(0,r.jsx)(A.IconEmojiGlobe,{});case S.ri.Git:return(0,r.jsx)(A.IconCode,{});case S.ri.Github:return(0,r.jsx)(A.IconGitHub,{});case S.ri.Gitlab:return(0,r.jsx)(A.IconGitLab,{});default:return null}}function M(e){let{isSelected:t,data:n,...s}=e,i=(0,a.useRef)(null);return(0,a.useLayoutEffect)(()=>{if(t&&i.current){var e;null===(e=i.current)||void 0===e||e.scrollIntoView({block:"nearest",inline:"nearest"})}},[t]),(0,r.jsxs)("div",{className:(0,o.cn)("flex cursor-pointer gap-1 rounded-md px-2 py-1.5 text-sm",{"bg-accent text-accent-foreground":t}),...s,ref:i,children:[(0,r.jsx)("span",{className:"flex h-5 shrink-0 items-center",children:(0,r.jsx)(I,{kind:n.data.sourceKind})}),(0,r.jsx)("span",{className:"flex-1",children:n.label})]})}P.displayName="MetionList";let C=e=>{let t=e.getJSON(),n=[],r=0,a=e=>{var t,s;"text"===e.type?r+=(null==e?void 0:null===(t=e.text)||void 0===t?void 0:t.length)||0:"mention"===e.type&&(null==e?void 0:null===(s=e.attrs)||void 0===s?void 0:s.id)&&n.push({id:e.attrs.id,label:e.attrs.label,kind:e.attrs.kind}),e.content&&e.content.forEach(a)};return a(t),n};var E=e=>{let{disabled:t,category:n,placement:r,char:a="@",pluginKey:s}=e;return{render:()=>{let e,t;return{onStart:a=>{let s=C(a.editor);e=new v.M_(P,{props:{...a,mentions:s,category:n},editor:a.editor}),a.clientRect&&(t=(0,w.ZP)("body",{getReferenceClientRect:a.clientRect,appendTo:()=>document.body,content:e.element,showOnCreate:!0,interactive:!0,trigger:"manual",placement:r||"bottom-start",animation:"shift-away",maxWidth:"400px"}))},onUpdate(n){e.updateProps(n),n.clientRect&&t[0].setProps({getReferenceClientRect:n.clientRect})},onKeyDown(n){var r,a;return"Escape"===n.event.key?(t[0].hide(),!0):null!==(a=null===(r=e.ref)||void 0===r?void 0:r.onKeyDown(n))&&void 0!==a&&a},onExit(){t[0].destroy(),e.destroy()}}},char:a,pluginKey:s,command:e=>{var t,r,a;let{editor:s,range:i,props:l}=e;if("code"===n){!function(e,t,n){let r;let{doc:a}=e.state,s=e.state.selection.$from;a.descendants((e,t)=>!("mention"===e.type.name&&(0,o.wO)(e.attrs.kind))||(r=t,!1)),e.chain().deleteRange({from:t.from,to:t.to}).run();let i=void 0!==r,l=a.firstChild,c=i?[{type:j,attrs:n}]:[{type:j,attrs:n},{type:"text",text:" "}];if(l&&"paragraph"===l.type.name){let t=l.firstChild;if(t&&"mention"===t.type.name&&(0,o.wO)(t.attrs.kind)){let n=t.nodeSize;e.chain().deleteRange({from:1,to:1+n}).insertContentAt(1,c).focus().run()}else e.chain().insertContentAt(1,c).focus().run()}else e.chain().insertContentAt(0,c).focus().run();e.commands.focus(i?s.pos:s.pos+1)}(s,i,l);return}let c=s.view.state.selection.$to.nodeAfter,d=null==c?void 0:null===(t=c.text)||void 0===t?void 0:t.startsWith(" ");d&&(i.to+=1),s.chain().focus().insertContentAt(i,[{type:j,attrs:l},{type:"text",text:" "}]).run(),null===(a=s.view.dom.ownerDocument.defaultView)||void 0===a||null===(r=a.getSelection())||void 0===r||r.collapseToEnd()},allow:e=>{let{state:n,range:r}=e;if(t)return!1;let a=n.doc.resolve(r.from),s=n.schema.nodes[j],i=!!a.parent.type.contentMatch.matchType(s);return i}}};let O=new p.H$("mention-doc"),D=new p.H$("mention-code"),T=e=>x.hj.create({addKeyboardShortcuts(){return{Enter:t=>{let{editor:n}=t;return e(n),!0},"Shift-Enter":()=>this.editor.commands.first(e=>{let{commands:t}=e;return[()=>t.newlineInCode(),()=>t.createParagraphNear(),()=>t.liftEmptyBlock(),()=>t.splitBlock()]})}}}),Y=a.createContext({}),L=(0,a.forwardRef)((e,t)=>{let{editable:n,content:i,contextInfo:l,fetchingContextInfo:c,submitting:d,onSubmit:p,placeholder:x,onBlur:g,onFocus:b,onUpdate:j,autoFocus:w,className:k,editorClassName:S,placement:A}=e,[P,I]=(0,a.useState)(!c),M=(0,y.d)(e=>{if(d)return;let t=e.getText({blockSeparator:s.rZ}).trim();t&&(null==p||p(e))}),C=(0,a.useMemo)(()=>null!=l&&!!l.sources&&l.sources.some(e=>(0,o.wO)(e.sourceKind)),[null==l?void 0:l.sources]),L=(0,a.useMemo)(()=>null!=l&&!!l.sources&&l.sources.some(e=>(0,o._q)(e.sourceKind)),[null==l?void 0:l.sources]),R=(0,v.jE)({editable:!!P&&n,immediatelyRender:!1,extensions:[u.Z,m.Z,h.Z,f.Z.configure({showOnlyWhenEditable:!1,placeholder:P?x||"Ask anything...":"Loading..."}),T(e=>{M.current(e)}),N.configure({deleteTriggerWithBackspace:!0,HTMLAttributes:{class:"mention"},suggestion:E({category:"doc",char:"@",pluginKey:O,placement:"bottom"===A?"top-start":"bottom-start",disabled:!L})}),N.configure({deleteTriggerWithBackspace:!0,HTMLAttributes:{class:"mention-code"},suggestion:E({category:"code",char:"#",pluginKey:D,placement:"bottom"===A?"top-start":"bottom-start",disabled:!C})})],editorProps:{attributes:{class:(0,o.cn)("max-h-38 prose min-h-[3.5rem] max-w-none font-sans dark:prose-invert focus:outline-none prose-p:my-0",S)}},content:i,onBlur(e){null==g||g(e)},onFocus(e){null==b||b(e)},onUpdate(e){null==j||j(e)}},[P]);return((0,a.useImperativeHandle)(t,()=>({editor:R})),(0,a.useLayoutEffect)(()=>{R&&w&&R.commands.focus()},[R]),(0,a.useEffect)(()=>{c||P||I(!0)},[c]),R)?(0,r.jsx)(Y.Provider,{value:{list:null==l?void 0:l.sources,pending:!!c},children:(0,r.jsx)("div",{className:(0,o.cn)("text-area-autosize max-h-36 overflow-y-auto pr-1",k),children:(0,r.jsx)(v.kg,{editor:R})})}):null});L.displayName="PromptEditor";var R=n(31458),_=n(11208),Z=n(3448);function F(e){let{onSearch:t,onModelSelect:n,modelName:i,className:l,placeholder:u,showBetaBadge:m,isLoading:f,autoFocus:h,loadingWithSpinning:p,cleanAfterSearch:x=!0,isFollowup:v,contextInfo:y,fetchingContextInfo:g,isModelLoading:b,models:j}=e,[N,w]=(0,a.useState)(!1),[k,S]=(0,a.useState)(""),P=(0,a.useRef)(null),I=()=>{var e,t;null===(t=P.current)||void 0===t||null===(e=t.editor)||void 0===e||e.commands.focus()},M=e=>{n(e),setTimeout(()=>{I()})},C=e=>{if(!e||f||b)return;let n=e.getText({blockSeparator:s.rZ}).trim();if(!n)return;let r=(0,o.b)(n,null==y?void 0:y.sources),a={...(0,o.G8)(r),modelName:i};if(t(n,a),x){var l,c;null===(c=P.current)||void 0===c||null===(l=c.editor)||void 0===l||l.chain().clearContent().focus().run(),S("")}},E=e=>{var t;let n=null===(t=P.current)||void 0===t?void 0:t.editor;n&&n.chain().focus().command(t=>{var n,r,a;let{tr:s,state:i}=t,{$from:o}=i.selection,l=0===o.parentOffset,c=null!==(a=null===(r=o.nodeBefore)||void 0===r?void 0:null===(n=r.text)||void 0===n?void 0:n.endsWith(" "))&&void 0!==a&&a;return l||c?s.insertText(e):s.insertText(" "+e),!0}).run()},{hasCodebaseSource:O,hasDocumentSource:D}=(0,a.useMemo)(()=>(0,o.xV)(null==y?void 0:y.sources),[null==y?void 0:y.sources]),T=!!(null==j?void 0:j.length);return(0,r.jsxs)("div",{className:(0,o.cn)("relative w-full overflow-hidden rounded-xl border bg-background transition-all hover:border-ring dark:border-muted-foreground/60 dark:hover:border-muted-foreground",{"border-ring dark:border-muted-foreground":N},l),onClick:()=>{I()},children:[m&&(0,r.jsx)(H,{}),(0,r.jsxs)("div",{className:(0,o.cn)("flex items-end pr-4",{"min-h-[5.5rem]":!v,"min-h-[2.5rem]":v}),children:[(0,r.jsxs)("div",{className:"mr-1 flex-1 overflow-x-hidden pl-4",children:[(0,r.jsx)(L,{editable:!0,contextInfo:y,fetchingContextInfo:g,onSubmit:C,placeholder:u||"Ask anything...",autoFocus:h,onFocus:()=>w(!0),onBlur:()=>w(!1),onUpdate:e=>{let{editor:t}=e;return S(t.getText({blockSeparator:s.rZ}).trim())},ref:P,placement:v?"bottom":"top",className:(0,o.cn)("text-area-autosize resize-none rounded-lg !border-none bg-transparent !shadow-none !outline-none !ring-0 !ring-offset-0",{"py-3":!m,"py-4":m}),editorClassName:v&&T?"min-h-[1.75rem]":"min-h-[3.5em]"}),v&&T&&(0,r.jsx)("div",{className:"-ml-2 mb-2 flex",children:(0,r.jsx)($,{isInitializing:b,models:j,value:i,onChange:M})})]}),(0,r.jsx)("div",{className:(0,o.cn)("mb-3 flex items-center justify-between gap-2"),children:(0,r.jsxs)("div",{className:(0,o.cn)("flex items-center justify-center rounded-lg p-1 transition-all",{"bg-primary text-primary-foreground cursor-pointer":k.length>0,"!bg-muted !text-primary !cursor-default":f||0===k.length||b,"mr-1.5":!m}),onClick:()=>{var e;return C(null===(e=P.current)||void 0===e?void 0:e.editor)},children:[p&&f&&(0,r.jsx)(A.IconSpinner,{className:"h-4 w-4"}),(!p||!f)&&(0,r.jsx)(A.IconArrowRight,{className:"h-4 w-4"})]})})]}),!v&&(0,r.jsx)("div",{className:(0,o.cn)("flex items-center gap-2 border-t bg-[#F9F6EF] py-2 pl-2 pr-4 dark:border-muted-foreground/60 dark:bg-[#333333]"),onClick:e=>e.stopPropagation(),children:(0,r.jsxs)(d.Z,{loading:b||g,delay:0,fallback:(0,r.jsx)("div",{className:"flex h-8 w-[40%] items-center",children:(0,r.jsx)(Z.O,{className:"h-4 w-full"})}),children:[(0,r.jsxs)(c.u,{children:[(0,r.jsx)(c.aJ,{asChild:!0,children:(0,r.jsxs)(R.z,{variant:"ghost",className:"gap-2 px-1.5 py-1 text-foreground/70",onClick:e=>E("#"),disabled:!O,children:[(0,r.jsx)(A.IconHash,{}),"Codebase"]})}),(0,r.jsx)(c._v,{className:"max-w-md",children:"Select a codebase to chat with"})]}),(0,r.jsx)(_.Z,{orientation:"vertical",className:"h-5"}),(0,r.jsxs)(c.u,{children:[(0,r.jsx)(c.aJ,{asChild:!0,children:(0,r.jsxs)(R.z,{variant:"ghost",className:"gap-2 px-1.5 py-1 text-foreground/70",onClick:e=>E("@"),disabled:!D,children:[(0,r.jsx)(A.IconAtSign,{}),"Documents"]})}),(0,r.jsx)(c._v,{className:"max-w-md",children:"Select a document to bring into context"})]}),!!(null==j?void 0:j.length)&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(_.Z,{orientation:"vertical",className:"h-5"}),(0,r.jsx)($,{models:j,value:i,onChange:M})]})]})})]})}function $(e){let{models:t,value:n,onChange:a,isInitializing:s}=e,i=e=>{a(e)};return(0,r.jsx)(d.Z,{loading:s,fallback:(0,r.jsx)("div",{className:"w-full pl-2",children:(0,r.jsx)(Z.O,{className:"h-3 w-[20%]"})}),children:!!(null==t?void 0:t.length)&&(0,r.jsxs)(l.h_,{children:[(0,r.jsx)(l.$F,{asChild:!0,children:(0,r.jsxs)(R.z,{variant:"ghost",className:"gap-2 px-1.5 py-1 text-foreground/70",children:[(0,r.jsx)(A.IconBox,{}),n]})}),(0,r.jsx)(l.AW,{side:"bottom",align:"start",className:"dropdown-menu max-h-[30vh] min-w-[20rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-2 text-popover-foreground shadow animate-in",children:(0,r.jsx)(l._x,{value:n,onValueChange:a,children:t.map(e=>{let t=e===n;return(0,r.jsxs)(l.qB,{onClick:t=>{i(e),t.stopPropagation()},value:e,className:"cursor-pointer py-2 pl-3",children:[(0,r.jsx)(A.IconCheck,{className:(0,o.cn)("mr-2 shrink-0",e===n?"opacity-100":"opacity-0")}),(0,r.jsx)("span",{className:(0,o.cn)({"font-medium":t}),children:e})]},e)})})})]})})}function H(){let{theme:e}=(0,i.X)();return(0,r.jsxs)(c.u,{delayDuration:0,children:[(0,r.jsx)(c.aJ,{asChild:!0,children:(0,r.jsx)("span",{className:"absolute -right-8 top-1 mr-3 rotate-45 rounded-none border-none py-0.5 pl-6 pr-5 text-xs text-primary",style:{background:"dark"===e?"#333":"#e8e1d3"},children:"Beta"})}),(0,r.jsx)(c._v,{sideOffset:-8,className:"max-w-md",children:(0,r.jsx)("p",{children:"Please note that the answer engine is still in its early stages, and certain functionalities, such as finding the correct code context and the quality of summarizations, still have room for improvement. If you encounter an issue and believe it can be enhanced, consider sharing it in our Slack community!"})})]})}},30220:function(e,t,n){"use strict";n.d(t,{$N:function(){return p},Be:function(){return x},Vq:function(){return l},cN:function(){return h},cZ:function(){return m},fK:function(){return f},hg:function(){return c}});var r=n(36164),a=n(3546),s=n(4318),i=n(1663),o=n(57288);let l=s.fC,c=s.xz,d=s.h_;s.x8;let u=a.forwardRef((e,t)=>{let{className:n,...a}=e;return(0,r.jsx)(s.aV,{ref:t,className:(0,o.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",n),...a})});u.displayName=s.aV.displayName;let m=a.forwardRef((e,t)=>{let{className:n,children:a,...l}=e;return(0,r.jsxs)(d,{children:[(0,r.jsx)(u,{}),(0,r.jsxs)(s.VY,{ref:t,className:(0,o.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",n),...l,children:[a,(0,r.jsxs)(s.x8,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,r.jsx)(i.Z,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});m.displayName=s.VY.displayName;let f=e=>{let{className:t,...n}=e;return(0,r.jsx)("div",{className:(0,o.cn)("flex flex-col space-y-1.5 text-center sm:text-left",t),...n})};f.displayName="DialogHeader";let h=e=>{let{className:t,...n}=e;return(0,r.jsx)("div",{className:(0,o.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...n})};h.displayName="DialogFooter";let p=a.forwardRef((e,t)=>{let{className:n,...a}=e;return(0,r.jsx)(s.Dx,{ref:t,className:(0,o.cn)("text-lg font-semibold leading-none tracking-tight",n),...a})});p.displayName=s.Dx.displayName;let x=a.forwardRef((e,t)=>{let{className:n,...a}=e;return(0,r.jsx)(s.dk,{ref:t,className:(0,o.cn)("text-sm text-muted-foreground",n),...a})});x.displayName=s.dk.displayName},49506:function(e,t,n){"use strict";n.d(t,{$0:function(){return f},Dj:function(){return h},dN:function(){return m},kN:function(){return u},ng:function(){return c},nt:function(){return d},tl:function(){return l}});var r=n(36164),a=n(3546),s=n(57288),i=n(31458),o=n(81565);let l=e=>{let{className:t,...n}=e;return(0,r.jsx)("nav",{role:"navigation","aria-label":"pagination",className:(0,s.cn)("mx-auto flex w-full justify-center",t),...n})};l.displayName="Pagination";let c=a.forwardRef((e,t)=>{let{className:n,...a}=e;return(0,r.jsx)("ul",{ref:t,className:(0,s.cn)("flex flex-row items-center gap-1",n),...a})});c.displayName="PaginationContent";let d=a.forwardRef((e,t)=>{let{className:n,...a}=e;return(0,r.jsx)("li",{ref:t,className:(0,s.cn)("",n),...a})});d.displayName="PaginationItem";let u=e=>{let{className:t,isActive:n,size:a="icon",...o}=e;return(0,r.jsx)("a",{"aria-current":n?"page":void 0,className:(0,s.cn)("select-none",(0,i.d)({variant:n?"outline":"ghost",size:a}),t),...o})};u.displayName="PaginationLink";let m=e=>{let{className:t,disabled:n,...a}=e;return(0,r.jsxs)(u,{"aria-label":"Go to previous page",size:"default",className:(0,s.cn)("cursor-pointer select-none gap-1 pl-2.5",n&&"cursor-not-allowed text-muted-foreground",t),...a,children:[(0,r.jsx)(o.IconChevronLeft,{className:"h-4 w-4"}),(0,r.jsx)("span",{children:"Previous"})]})};m.displayName="PaginationPrevious";let f=e=>{let{className:t,disabled:n,...a}=e;return(0,r.jsxs)(u,{"aria-label":"Go to next page",size:"default",className:(0,s.cn)("cursor-pointer select-none gap-1 pr-2.5",n&&"cursor-not-allowed text-muted-foreground",t),...a,children:[(0,r.jsx)("span",{children:"Next"}),(0,r.jsx)(o.IconChevronRight,{className:"h-4 w-4"})]})};f.displayName="PaginationNext";let h=e=>{let{className:t,...n}=e;return(0,r.jsxs)("span",{"aria-hidden":!0,className:(0,s.cn)("flex h-9 w-9 items-center justify-center",t),...n,children:[(0,r.jsx)(o.IconMore,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"More pages"})]})};h.displayName="PaginationEllipsis"},21808:function(e,t,n){"use strict";n.d(t,{$6:function(){return s},$I:function(){return i},L8:function(){return a},ir:function(){return o},o0:function(){return r},rZ:function(){return l}});let r="name@yourcompany.com",a=20,s={DEMO_AUTO_LOGIN:"_tabby_demo_autologin",SEARCH_INITIAL_MSG:"_tabby_search_initial_msg",SEARCH_INITIAL_CONTEXTS:"_tabby_search_initial_contexts"},i=48,o="NOT_FOUND",l="\n"},36758:function(e,t,n){"use strict";n.d(t,{d:function(){return i}});var r=n(3546),a=n(40055),s=n(70410);function i(){let[{data:e,fetching:t,error:n}]=(0,a.aM)({query:s.TH}),i=(0,r.useMemo)(()=>{var t;return null!==(t=null==e?void 0:e.users.edges.map(e=>e.node))&&void 0!==t?t:[]},[null==e?void 0:e.users]);return[i,t,n]}},31159:function(e,t,n){"use strict";n.d(t,{Vq:function(){return c}});var r=n(3546),a=n(21454),s=n(27257),i=n(3765),o=n(47241),l=n(17451);function c(){let{data:e,isLoading:t}=(0,a.ZP)("/v1beta/models",e=>(0,i.Z)(e,{errorHandler:()=>{throw Error("Fetch supported model failed.")}}),{shouldRetryOnError:!1}),n=(0,s.oR)(l.a,e=>e.selectedModel);return(0,r.useEffect)(()=>{if(!t){let t=function(e,t){if(!(null==t?void 0:t.length))return;let n=!!e&&t.includes(e);return n?e:t[0]}(n,null==e?void 0:e.chat);(0,o.Eg)(t)}},[t]),{isModelLoading:t,selectedModel:n,models:null==e?void 0:e.chat}}},47241:function(e,t,n){"use strict";n.d(t,{Eg:function(){return s},qs:function(){return i}});var r=n(17451);let a=r.a.setState,s=e=>{a(()=>({selectedModel:e}))},i=e=>{a(()=>({enableActiveSelection:e}))}},17451:function(e,t,n){"use strict";n.d(t,{a:function(){return l}});var r=n(27257),a=n(85654),s=n(57288);let i=["activeChatId"],o={activeChatId:(0,s.x0)(),selectedModel:void 0,enableActiveSelection:!0},l=(0,r.Ue)()((0,a.tJ)(()=>({...o}),{name:"tabby-chat-storage",partialize:e=>Object.fromEntries(Object.entries(e).filter(e=>{let[t]=e;return!i.includes(t)})),version:1}))},37266:function(e,t,n){"use strict";n.d(t,{CR:function(){return s},F0:function(){return o},wh:function(){return l}});var r=n(27257);let a={homePage:void 0},s=(0,r.Ue)()(()=>({...a})),i=s.setState,o=e=>i(()=>({homePage:e})),l=()=>i(()=>({homePage:void 0}))},79876:function(e,t,n){"use strict";n.d(t,{S:function(){return a}});let r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Array.from({length:e},(e,n)=>n+t)},a=(e,t,n)=>{let a=Math.ceil(e/n);return a<=5?r(a):t<=3?[1,2,3,4,"...",a]:t(0,a.createElement)(s.WV.label,(0,r.Z)({},e,{ref:t,onMouseDown:t=>{var n;null===(n=e.onMouseDown)||void 0===n||n.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault()}}))),o=i},96786:function(e,t){"use strict";t.Z=function(e){return null!=e&&"object"==typeof e}}},function(e){e.O(0,[8415,7565,3078,753,7430,55,7812,4007,9643,4752,3449,2578,8511,4421,1454,5669,4546,9275,9148,4405,4553,5083,6044,1522,3752,6265,7288,1565,4656,9634,3375,5289,1744],function(){return e(e.s=52419)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/(home)/page-293192ed904d8626.js b/ee/tabby-webserver/ui/_next/static/chunks/app/(home)/page-293192ed904d8626.js new file mode 100644 index 000000000000..a5fc1a604516 --- /dev/null +++ b/ee/tabby-webserver/ui/_next/static/chunks/app/(home)/page-293192ed904d8626.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5608],{97895:function(){},52419:function(e,t,n){Promise.resolve().then(n.bind(n,61207))},61207:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return tt}});var r=n(36164),a=n(3546),s=n(42891),i=n.n(s),o=n(11978),l=n(83332),c=n(40055),d=n(27257),u=n(98454),f=n(31159),m=n(4951),p=n(80605);let h={threadsPageNo:1},x=(0,d.Ue)()(()=>({...h})),v=x.setState,y=()=>v(()=>({threadsPageNo:h.threadsPageNo})),g=e=>v(()=>({threadsPageNo:e}));var b=n(47241),j=n(37266),N=n(70410),w=n(57288),k=n(57830),P=n(68172),S=n(30601),A=n(61249),D=n(91302),M=n(31458),I=n(30220),O=n(81565);let Y="community-dialog-shown";function E(){let{status:e}=(0,D.kP)(),[t,n]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{"authenticated"!==e||localStorage.getItem(Y)||(n(!0),localStorage.setItem(Y,"true"))},[e]),(0,r.jsx)(I.Vq,{open:t,onOpenChange:n,children:(0,r.jsxs)(I.cZ,{children:[(0,r.jsxs)(I.fK,{className:"gap-3",children:[(0,r.jsx)(I.$N,{children:"Join the Tabby community"}),(0,r.jsx)(I.Be,{children:"Connect with other contributors building Tabby. Share knowledge, get help, and contribute to the open-source project."})]}),(0,r.jsx)(I.cN,{className:"sm:justify-start",children:(0,r.jsxs)("a",{target:"_blank",href:"https://links.tabbyml.com/join-slack-webserver",className:(0,M.d)(),children:[(0,r.jsx)(O.IconSlack,{className:"-ml-2 h-8 w-8"}),"Join us on Slack"]})})]})})}var C=n(23057),R=n(63743),T=n(52569),Z=n(7449),L=n(84837);let _={ease:"easeOut",duration:.1};function $(e){let{viewport:t,children:n,className:a,style:s,delay:i}=e;return(0,r.jsx)(L.E.div,{initial:"initial",whileInView:"onscreen",viewport:t,style:s,className:a,children:(0,r.jsx)(L.E.div,{variants:{initial:{opacity:0,y:30,transition:_},onscreen:{opacity:1,y:0,transition:{..._,delay:.2+(i||0)}}},children:n})})}var F=n(94755),z=n(36619),G=n(99092),B=n.n(G),V=n(72223),q=n(42390),H=n.n(q),K=n(18500),U=n(9010),W=n(35814),Q=n(39018),J=n.n(Q),X=n(60079),ee=n(16250),et=n(67957),en=n(57868),er=n.n(en),ea=n(9869),es=n.n(ea),ei=n(1133),eo=n.n(ei),el=n(18315),ec=n(53800),ed=n(1349),eu=n(34635),ef=n(14404),em=n(6773),ep=n(54043),eh=n(72945),ex=n(11770),ev=n(1837),ey=["type","layout","connectNulls","ref"];function eg(e){return(eg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function eb(){return(eb=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);no){c=[].concat(ew(a.slice(0,d)),[o-u]);break}var f=c.length%2==0?[0,l]:[l];return[].concat(ew(r.repeat(a,i)),ew(c),f).map(function(e){return"".concat(e,"px")}).join(", ")}),eI(eD(e),"id",(0,ep.EL)("recharts-line-")),eI(eD(e),"pathRef",function(t){e.mainCurve=t}),eI(eD(e),"handleAnimationEnd",function(){e.setState({isAnimationFinished:!0}),e.props.onAnimationEnd&&e.props.onAnimationEnd()}),eI(eD(e),"handleAnimationStart",function(){e.setState({isAnimationFinished:!1}),e.props.onAnimationStart&&e.props.onAnimationStart()}),e}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&eM(e,t)}(r,e),t=[{key:"componentDidMount",value:function(){if(this.props.isAnimationActive){var e=this.getTotalLength();this.setState({totalLength:e})}}},{key:"componentDidUpdate",value:function(){if(this.props.isAnimationActive){var e=this.getTotalLength();e!==this.state.totalLength&&this.setState({totalLength:e})}}},{key:"getTotalLength",value:function(){var e=this.mainCurve;try{return e&&e.getTotalLength&&e.getTotalLength()||0}catch(e){return 0}}},{key:"renderErrorBar",value:function(e,t){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var n=this.props,r=n.points,s=n.xAxis,i=n.yAxis,o=n.layout,l=n.children,c=(0,eh.NN)(l,em.W);if(!c)return null;var d=function(e,t){return{x:e.x,y:e.y,value:e.value,errorVal:(0,ev.F$)(e.payload,t)}};return a.createElement(eu.m,{clipPath:e?"url(#clipPath-".concat(t,")"):null},c.map(function(e){return a.cloneElement(e,{key:"bar-".concat(e.props.dataKey),data:r,xAxis:s,yAxis:i,layout:o,dataPointFormatter:d})}))}},{key:"renderDots",value:function(e,t,n){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var s=this.props,i=s.dot,o=s.points,l=s.dataKey,c=(0,eh.L6)(this.props,!1),d=(0,eh.L6)(i,!0),u=o.map(function(e,t){var n=eN(eN(eN({key:"dot-".concat(t),r:3},c),d),{},{value:e.value,dataKey:l,cx:e.x,cy:e.y,index:t,payload:e.payload});return r.renderDotItem(i,n)}),f={clipPath:e?"url(#clipPath-".concat(t?"":"dots-").concat(n,")"):null};return a.createElement(eu.m,eb({className:"recharts-line-dots",key:"dots"},f),u)}},{key:"renderCurveStatically",value:function(e,t,n,r){var s=this.props,i=s.type,o=s.layout,l=s.connectNulls,c=(s.ref,function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},s=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(s,ey)),d=eN(eN(eN({},(0,eh.L6)(c,!0)),{},{fill:"none",className:"recharts-line-curve",clipPath:t?"url(#clipPath-".concat(n,")"):null,points:e},r),{},{type:i,layout:o,connectNulls:l});return a.createElement(ec.H,eb({},d,{pathRef:this.pathRef}))}},{key:"renderCurveWithAnimation",value:function(e,t){var n=this,r=this.props,s=r.points,i=r.strokeDasharray,o=r.isAnimationActive,l=r.animationBegin,c=r.animationDuration,d=r.animationEasing,u=r.animationId,f=r.animateNewValues,m=r.width,p=r.height,h=this.state,x=h.prevPoints,v=h.totalLength;return a.createElement(et.ZP,{begin:l,duration:c,isActive:o,easing:d,from:{t:0},to:{t:1},key:"line-".concat(u),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(r){var a,o=r.t;if(x){var l=x.length/s.length,c=s.map(function(e,t){var n=Math.floor(t*l);if(x[n]){var r=x[n],a=(0,ep.k4)(r.x,e.x),s=(0,ep.k4)(r.y,e.y);return eN(eN({},e),{},{x:a(o),y:s(o)})}if(f){var i=(0,ep.k4)(2*m,e.x),c=(0,ep.k4)(p/2,e.y);return eN(eN({},e),{},{x:i(o),y:c(o)})}return eN(eN({},e),{},{x:e.x,y:e.y})});return n.renderCurveStatically(c,e,t)}var d=(0,ep.k4)(0,v)(o);if(i){var u="".concat(i).split(/[,\s]+/gim).map(function(e){return parseFloat(e)});a=n.getStrokeDasharray(d,v,u)}else a=n.generateSimpleStrokeDasharray(v,d);return n.renderCurveStatically(s,e,t,{strokeDasharray:a})})}},{key:"renderCurve",value:function(e,t){var n=this.props,r=n.points,a=n.isAnimationActive,s=this.state,i=s.prevPoints,o=s.totalLength;return a&&r&&r.length&&(!i&&o>0||!eo()(i,r))?this.renderCurveWithAnimation(e,t):this.renderCurveStatically(r,e,t)}},{key:"render",value:function(){var e,t=this.props,n=t.hide,r=t.dot,s=t.points,i=t.className,o=t.xAxis,l=t.yAxis,c=t.top,d=t.left,u=t.width,f=t.height,m=t.isAnimationActive,p=t.id;if(n||!s||!s.length)return null;var h=this.state.isAnimationFinished,x=1===s.length,v=(0,el.Z)("recharts-line",i),y=o&&o.allowDataOverflow,g=l&&l.allowDataOverflow,b=y||g,j=es()(p)?this.id:p,N=null!==(e=(0,eh.L6)(r,!1))&&void 0!==e?e:{r:3,strokeWidth:2},w=N.r,k=N.strokeWidth,P=((0,eh.$k)(r)?r:{}).clipDot,S=void 0===P||P,A=2*(void 0===w?3:w)+(void 0===k?2:k);return a.createElement(eu.m,{className:v},y||g?a.createElement("defs",null,a.createElement("clipPath",{id:"clipPath-".concat(j)},a.createElement("rect",{x:y?d:d-u/2,y:g?c:c-f/2,width:y?u:2*u,height:g?f:2*f})),!S&&a.createElement("clipPath",{id:"clipPath-dots-".concat(j)},a.createElement("rect",{x:d-A/2,y:c-A/2,width:u+A,height:f+A}))):null,!x&&this.renderCurve(b,j),this.renderErrorBar(b,j),(x||r)&&this.renderDots(b,S,j),(!m||h)&&ef.e.renderCallByParent(this.props,s))}}],n=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curPoints:e.points,prevPoints:t.curPoints}:e.points!==t.curPoints?{curPoints:e.points}:null}},{key:"repeat",value:function(e,t){for(var n=e.length%2!=0?[].concat(ew(e),[0]):e,r=[],a=0;ae.views)),o=(0,W.Z)(null==a?void 0:a.map(e=>e.selects)),l=(0,z.Z)({start:t,end:n}),c={},d={};null==a||a.forEach(e=>{let t=B()(e.start).format("YYYY-MM-DD");c[t]=c[t]||0,d[t]=d[t]||0,c[t]+=e.views,d[t]+=e.selects},{});let u=0===i?0:(o/i*100).toFixed(2),f=l.map(e=>{let t=B()(e).format("YYYY-MM-DD"),n=c[t]||0,r=d[t]||0;return{name:B()(e).format("MMMM D"),value:0===n?0:parseFloat((r/n*100).toFixed(2)),selects:r,views:n}}),m=l.map(e=>{let t=B()(e).format("YYYY-MM-DD"),n=c[t]||0,r=d[t]||0,a=n-r;return{name:B()(e).format("MMMM D"),views:n,selects:r,pending:0===n?.5:a,realPending:0===n?0:a,viewPlaceholder:0===n?.5:0,selectPlaceholder:0===r?.5:0}});return(0,r.jsxs)("div",{className:"flex w-full flex-col items-center justify-center space-y-5 md:flex-row md:space-x-4 md:space-y-0 xl:justify-start",children:[(0,r.jsx)($,{viewport:{amount:.1},delay:.15,className:"flex-1 self-stretch",children:(0,r.jsxs)(e$.Zb,{className:"flex flex-col justify-between self-stretch rounded-2xl bg-transparent pb-4",children:[(0,r.jsx)(e$.Ol,{className:"flex flex-row items-center justify-between space-y-0 px-4 pb-1 pt-4",children:(0,r.jsx)(e$.ll,{className:"text-base font-medium tracking-normal",children:"Acceptance Rate"})}),(0,r.jsx)(e$.aY,{className:"mb-1 px-4 py-0",children:(0,r.jsxs)("div",{className:"text-xl font-semibold",style:{fontFamily:"var(--font-montserrat)"},children:[u,"%"]})}),(0,r.jsx)(X.h,{width:"100%",height:68,children:(0,r.jsxs)(eT,{data:f,margin:{top:10,right:20,left:15,bottom:5},children:[(0,r.jsx)(eY,{type:"monotone",dataKey:"value",stroke:"dark"===s?"#e8e1d3":"#54452c",strokeWidth:1.5}),(0,r.jsx)(eZ.u,{cursor:{fill:"transparent"},content:(0,r.jsx)(eF,{})})]})})]})}),(0,r.jsx)($,{viewport:{amount:.1},delay:.2,className:"flex-1 self-stretch",children:(0,r.jsxs)(e$.Zb,{className:"flex flex-col justify-between self-stretch bg-transparent pb-4",children:[(0,r.jsx)(e$.Ol,{className:"flex flex-row items-center justify-between space-y-0 px-4 pb-1 pt-4",children:(0,r.jsx)(e$.ll,{className:"text-base font-medium tracking-normal",children:"Completions"})}),(0,r.jsx)(e$.aY,{className:"mb-1 px-4 py-0",children:(0,r.jsx)("div",{className:"text-xl font-semibold",style:{fontFamily:"var(--font-montserrat)"},children:J()(i).format("0,0")})}),(0,r.jsx)(X.h,{width:"100%",height:68,children:(0,r.jsxs)(eL.v,{data:m,margin:{top:0===i?30:5,right:15,left:15,bottom:0},children:[(0,r.jsx)(e_.$,{dataKey:"views",stackId:"stats",fill:"dark"===s?"#e8e1d3":"#54452c",radius:3}),(0,r.jsx)(e_.$,{dataKey:"viewPlaceholder",stackId:"stats",fill:"dark"===s?"#423929":"#e8e1d3",radius:3}),(0,r.jsx)(eZ.u,{cursor:{fill:"transparent"},content:(0,r.jsx)(ez,{type:"view"})})]})})]})}),(0,r.jsx)($,{viewport:{amount:.1},delay:.25,className:"flex-1 self-stretch",children:(0,r.jsxs)(e$.Zb,{className:"flex flex-col justify-between self-stretch bg-transparent pb-4",children:[(0,r.jsx)(e$.Ol,{className:"flex flex-row items-center justify-between space-y-0 px-4 pb-1 pt-4",children:(0,r.jsx)(e$.ll,{className:"text-base font-medium tracking-normal",children:"Acceptances"})}),(0,r.jsx)(e$.aY,{className:"mb-1 px-4 py-0",children:(0,r.jsx)("div",{className:"text-xl font-semibold",style:{fontFamily:"var(--font-montserrat)"},children:J()(o).format("0,0")})}),(0,r.jsx)(X.h,{width:"100%",height:68,children:(0,r.jsxs)(eL.v,{data:m,margin:{top:0===i?30:5,right:15,left:15,bottom:0},children:[(0,r.jsx)(e_.$,{dataKey:"selects",stackId:"stats",fill:"dark"===s?"#e8e1d3":"#54452c",radius:3}),(0,r.jsx)(e_.$,{dataKey:"selectPlaceholder",stackId:"stats",fill:"dark"===s?"#423929":"#e8e1d3",radius:3}),(0,r.jsx)(eZ.u,{cursor:{fill:"transparent"},content:(0,r.jsx)(ez,{type:"accept"})})]})})]})})]})}function eB(e){let{data:t}=e,{theme:n}=(0,U.X)(),a=(0,F.iP)(),s=a.width||0;return(0,r.jsx)("div",{className:"h-[152px]",children:(0,r.jsx)(V.ZP,{data:t,colorScheme:"dark"===n?"dark":"light",theme:{light:["#ebedf0","#9be9a8","#40c463","#30a14e","#216e39"],dark:["rgb(45, 51, 59)","#0e4429","#006d32","#26a641","#39d353"]},blockSize:s>=968?12:11,hideTotalCount:!0,fontSize:12})})}function eV(){var e,t,n;let a,s;let[{data:i}]=(0,u.P)(),l=(0,o.useSearchParams)(),d=(0,p.UA)(),f=d||"true"===l.get("sample"),m=B()().subtract(6,"day").startOf("day").utc().format(),h=B()().endOf("day").utc().format(),[{data:x,fetching:v}]=(0,c.aM)({query:N.Cl,variables:{start:m,end:h,users:null==i?void 0:null===(e=i.me)||void 0===e?void 0:e.id}});if(f){let e=(0,z.Z)({start:B()().subtract(6,"day").toDate(),end:B()().toDate()});a=e.map(e=>{let t=[K.SQ.Typescript,K.SQ.Python,K.SQ.Rust],n=H()(B()(e).format("YYYY-MM-DD")+(null==i?void 0:i.me.id)),r=Math.ceil(20*n()),a=Math.ceil(r/.35);return{start:B()(e).utc().format(),end:B()(e).add(1,"day").utc().format(),completions:a,selects:r,views:a,language:t[r%t.length]}})}else a=null==x?void 0:x.dailyStats.map(e=>({start:e.start,end:e.end,completions:e.completions,selects:e.selects,views:e.views,language:e.language}));let[{data:y,fetching:g}]=(0,c.aM)({query:N.Y6,variables:{users:null==i?void 0:null===(t=i.me)||void 0===t?void 0:t.id}}),b=0;if(f){let e=(0,z.Z)({start:B()().toDate(),end:B()().subtract(365,"days").toDate()});s=e.map(e=>{let t=H()(B()(e).format("YYYY-MM-DD")+(null==i?void 0:i.me.id)),n=Math.ceil(20*t()),r=n+Math.floor(10*t());return{start:B()(e).format("YYYY-MM-DD[T]HH:mm:ss[Z]"),end:B()(e).add(1,"day").format("YYYY-MM-DD[T]HH:mm:ss[Z]"),completions:r,selects:n,views:r}})}else s=null==y?void 0:y.dailyStatsInPastYear.map(e=>({start:e.start,end:e.end,completions:e.completions,selects:e.selects,views:e.views}));let j=(null==s?void 0:s.reduce((e,t)=>{let n=B().utc(t.start).format("YYYY-MM-DD");return b+=t.views+t.selects,{...e,[n]:t.views}},{}))||{},w=Array(365).fill("").map((e,t)=>{let n=B()().subtract(t,"days").format("YYYY-MM-DD"),r=j[n]||0;return{date:n,count:r,level:Math.min(4,Math.ceil(r/5))}}).reverse();return(null==i?void 0:null===(n=i.me)||void 0===n?void 0:n.id)?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)($,{viewport:{amount:.1},style:{width:"100%"},delay:.1,children:(0,r.jsxs)("div",{className:"rounded-2xl border px-[1.125rem] py-4",children:[(0,r.jsxs)("div",{className:"mb-3 text-base",children:[(0,r.jsx)("span",{className:"font-semibold",children:b})," ","activities in the past year"]}),(0,r.jsx)(eB,{data:w})]})}),(0,r.jsx)(eG,{dailyStats:a,from:B()().subtract(6,"day").toDate(),to:B()().toDate()})]}):(0,r.jsx)(r.Fragment,{})}var eq=n(70652),eH=n.n(eq),eK=n(54767),eU=n(21808),eW=n(74038),eQ=n(43240),eJ=n(36758),eX=n(79876),e0=n(49506),e1=n(11208),e5=n(3448),e4=n(6230),e2=n(83171);let e3=(0,a.createContext)({}),e8=(0,eQ.BX)("\n query ListThreads(\n $ids: [ID!]\n $isEphemeral: Boolean\n $after: String\n $before: String\n $first: Int\n $last: Int\n ) {\n threads(\n ids: $ids\n isEphemeral: $isEphemeral\n after: $after\n before: $before\n first: $first\n last: $last\n ) {\n edges {\n node {\n id\n userId\n createdAt\n updatedAt\n }\n cursor\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n");function e6(e){var t,n,s;let{className:i,onNavigateToThread:o}=e,l=x(e=>e.threadsPageNo),[d,u]=(0,eJ.d)(),[f,m]=(0,a.useState)(),[p,h]=(0,a.useState)(l),[{data:v,fetching:g}]=(0,c.aM)({query:e8,variables:{last:25,before:f,isEphemeral:!1}}),[{data:b,fetching:j}]=(0,c.aM)({query:N.Gx}),k=null==v?void 0:v.threads.pageInfo,P=null==v?void 0:null===(n=v.threads)||void 0===n?void 0:null===(t=n.edges)||void 0===t?void 0:t.length,S=Math.ceil((P||0)/25),A=S>1||1===S&&(null==k?void 0:k.hasPreviousPage),D=(0,eX.S)(P||0,p,25),M=(0,a.useMemo)(()=>{var e;let t=null==v?void 0:null===(e=v.threads)||void 0===e?void 0:e.edges;if(!(null==t?void 0:t.length))return[];if(g&&p>=2){let e=t.slice().reverse().slice((p-2)*25,(p-1)*25);return e||[]}return t.slice().reverse().slice((p-1)*25,25*p)},[null==v?void 0:null===(s=v.threads)||void 0===s?void 0:s.edges,p,g]),I=()=>{let e=null==k?void 0:k.startCursor;if(e&&(null==v?void 0:v.threads.edges.length)&&v.threads.edges.findIndex(t=>t.cursor===e)>-1)m(e);else{var t;m(null==v?void 0:null===(t=v.threads.edges[0])||void 0===t?void 0:t.cursor)}},Y=!!(null==k?void 0:k.hasPreviousPage),E=g||!M.length||p>=S&&!(null==k?void 0:k.hasPreviousPage);return(0,a.useEffect)(()=>{y()},[]),(0,r.jsx)(e3.Provider,{value:{allUsers:d,fetchingUsers:u,sources:null==b?void 0:b.contextInfo.sources,fetchingSources:j,onNavigateToThread:()=>{o({pageNo:p})}},children:(0,r.jsx)("div",{className:(0,w.cn)("w-full",i),children:(0,r.jsx)(L.E.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{ease:"easeOut",delay:.3},children:(0,r.jsxs)(e4.Z,{loading:g||u,fallback:(0,r.jsx)("div",{className:"flex justify-center",children:(0,r.jsx)(O.IconSpinner,{className:"h-8 w-8"})}),delay:600,children:[(0,r.jsx)("div",{className:"mb-2.5 w-full text-lg font-semibold",children:"Recent Activities"}),(0,r.jsx)(e1.Z,{className:"mb-4 w-full"}),(0,r.jsxs)("div",{className:"relative flex flex-col gap-3 text-sm",children:[M.map(e=>(0,r.jsx)(e7,{data:e},e.node.id)),g&&(0,r.jsx)("div",{className:"absolute inset-0 bottom-10 z-10 flex items-center justify-center backdrop-blur-sm"}),A&&(0,r.jsx)(e0.tl,{className:(0,w.cn)("flex items-center justify-end"),children:(0,r.jsxs)(e0.ng,{children:[(0,r.jsx)(e0.nt,{children:(0,r.jsx)(e0.dN,{disabled:1===p,onClick:()=>{if(1===p)return;let e=p-1;h(e)}})}),D.map((e,t)=>(0,r.jsx)(e0.nt,{onClick:()=>{"number"==typeof e&&h(e)},children:"number"==typeof e?(0,r.jsx)(e0.kN,{className:"cursor-pointer",isActive:e===p,children:e}):(0,r.jsx)(e0.Dj,{})},"".concat(e,"-").concat(t))),Y&&(0,r.jsx)(e0.nt,{children:(0,r.jsx)(e0.Dj,{})}),(0,r.jsx)(e0.nt,{children:(0,r.jsx)(e0.$0,{disabled:E,onClick:()=>{if(E)return;let e=p+1;h(e),e>S&&I()}})})]})})]})]})})})})}function e7(e){var t;let{data:n}=e,s=n.node.userId,i=n.node.id,{sources:o,allUsers:l,onNavigateToThread:d,fetchingSources:u}=(0,a.useContext)(e3),[{data:f,fetching:m}]=(0,c.aM)({query:N.r4,variables:{first:1,threadId:n.node.id}}),p=null==f?void 0:null===(t=f.threadMessages)||void 0===t?void 0:t.edges,h=(0,a.useMemo)(()=>(null==p?void 0:p.length)?(0,w.i8)(o||[],p[0].node.content):"",[p,o]),x=(0,a.useMemo)(()=>{let e=h.slice(0,eU.$I);return(0,eK.Z)(e)},[h]),v=(0,a.useMemo)(()=>null==l?void 0:l.find(e=>e.id===n.node.userId),[l,s]);return(0,r.jsx)(eH(),{href:h?"/search/".concat(x,"-").concat(i):"/search/".concat(i),onClick:d,children:(0,r.jsxs)("div",{className:"transform-bg group flex-1 overflow-hidden rounded-lg px-3 py-2 hover:bg-accent",children:[(0,r.jsxs)("div",{className:"mb-1.5 flex items-center gap-2",children:[(0,r.jsx)(O.IconFiles,{className:"shrink-0"}),(0,r.jsx)(e4.Z,{loading:m||u,fallback:(0,r.jsx)("div",{className:"w-full py-1.5",children:(0,r.jsx)(e5.O,{className:"w-[60%]"})}),children:(0,r.jsx)(e9,{className:"break-anywhere truncate text-lg font-medium",sources:o,message:null==p?void 0:p[0].node.content})})]}),(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(T.Yt,{user:v,className:"mr-0.5 h-4 w-4 shrink-0"}),(0,r.jsxs)("div",{className:"flex items-baseline gap-0.5",children:[(0,r.jsx)("div",{className:"text-sm",children:(null==v?void 0:v.name)||(null==v?void 0:v.email)}),(0,r.jsx)("span",{className:"text-muted-foreground",children:"\xb7"}),(0,r.jsx)("div",{className:"whitespace-nowrap text-xs text-muted-foreground",children:function(e,t){let n=B()(e);if(n.isBefore(B()().subtract(1,"year"))){let e=n.format("MMM D, YYYY");return"".concat(t," on ").concat(e)}if(n.isBefore(B()().subtract(1,"month"))){let e=n.format("MMM D");return"".concat(t," on ").concat(e)}return"".concat(t," ").concat(n.fromNow())}(n.node.createdAt,"Asked")})]})]})]})})}function e9(e){let{message:t,sources:n,className:s}=e,i=(0,a.useMemo)(()=>{var e;if(!t)return null;let a=null!==(e=t.split("\n")[0])&&void 0!==e?e:"";return a.split(eW.z).map((e,t)=>{if(t%2==1){let a=null==n?void 0:n.find(t=>t.sourceId===e);return a?(0,r.jsx)(e2.p,{id:a.sourceId,kind:a.sourceKind,label:a.sourceName,className:"rounded-md border border-[#b3ada0] border-opacity-30 bg-[#e8e1d3] py-[1px] text-sm dark:bg-[#333333]"},t):null}return e})},[n,t]);return(0,r.jsx)("div",{className:(0,w.cn)(s),children:i})}function te(){let e=(0,a.useRef)(!1),t=(0,a.useRef)(null),[{data:n}]=(0,u.P)(),s=(0,p.vN)(),h=(0,p.xG)(),[x]=(0,S.Hb)(),v=(0,a.useRef)(null),y=(0,o.useRouter)(),[D,M]=(0,a.useState)(!1),[{data:I,fetching:O}]=(0,c.aM)({query:N.Gx}),Y=(0,d.oR)(j.CR,e=>e.homePage),{selectedModel:E,isFetchingModels:L,models:_}=(0,f.Vq)(),{selectedRepository:F,isFetchingRepositories:z}=(0,m.Q)(),G=!!(null==n?void 0:n.me)||!s;(0,a.useEffect)(()=>{y.prefetch("/search")},[y]),(0,a.useLayoutEffect)(()=>{e.current||(Y&&setTimeout(()=>{var e;null===(e=t.current)||void 0===e||e.scrollTo({top:Number(Y)}),(0,j.wh)()}),e.current=!0)},[]);let B=x?{height:"calc(100vh - ".concat(S.wt,")")}:{height:"100vh"};return(0,r.jsxs)(k.ScrollArea,{style:B,ref:t,children:[(0,r.jsx)("header",{className:"transition-top fixed right-0 z-10 flex h-16 items-center justify-end px-4 lg:px-10",style:{top:x?S.wt:0},children:(0,r.jsxs)("div",{className:"flex items-center gap-x-6",children:[(0,r.jsx)(P.q,{children:(0,r.jsx)(R.T,{})}),(0,r.jsx)(A.L,{}),(0,r.jsx)(Z.Z,{showHome:!1,showSetting:!0,children:(0,r.jsx)(T.SQ,{className:"h-10 w-10 border"})})]})}),G&&(0,r.jsx)("main",{className:"flex-col items-center justify-center pb-4 pt-16 lg:flex",ref:v,children:(0,r.jsxs)("div",{className:"mx-auto flex w-full flex-col items-center gap-6 px-10 lg:-mt-[2vh] lg:max-w-4xl lg:px-0",children:[(0,r.jsx)($,{viewport:{amount:.1},children:(0,r.jsx)(i(),{src:l.Z,alt:"logo",width:192,className:(0,w.cn)("mt-4 invert dark:invert-0",{"mb-4":h,"mb-2":!h})})}),h&&(0,r.jsx)($,{viewport:{amount:.1},style:{width:"100%"},delay:.05,children:(0,r.jsx)(C.Z,{onSearch:(e,t)=>{M(!0),(0,b.UP)({content:e,context:t}),y.push("/search")},showBetaBadge:!0,autoFocus:!0,loadingWithSpinning:!0,isLoading:D,cleanAfterSearch:!1,contextInfo:null==I?void 0:I.contextInfo,fetchingContextInfo:O,modelName:E,onSelectModel:e=>{(0,b.Eg)(e)},repoSourceId:null==F?void 0:F.sourceId,onSelectRepo:e=>{(0,b.xt)(e)},isInitializingResources:L||z,models:_})}),(0,r.jsx)(eV,{}),(0,r.jsx)(e6,{className:"lg:mt-8",onNavigateToThread:e=>{let{pageNo:n}=e;t.current&&((0,j.F0)(t.current.scrollTop),g(n))}})]})})]})}function tt(){return(0,r.jsxs)("div",{children:[(0,r.jsx)(te,{}),(0,r.jsx)(E,{})]})}},83171:function(e,t,n){"use strict";n.d(t,{p:function(){return l},t:function(){return c}});var r=n(36164);n(3546);var a=n(68035),s=n(18500),i=n(57288),o=n(81565);function l(e){let{kind:t,label:n,className:s}=e;return(0,r.jsxs)(a.T5,{as:"span",className:(0,i.cn)("source-mention rounded-sm px-1",s),children:[(0,r.jsx)(d,{kind:t,className:"self-center"}),(0,r.jsx)("span",{className:"whitespace-nowrap",children:n})]})}function c(e){let{kind:t,label:n,id:a}=e.node.attrs;return(0,r.jsx)(l,{kind:t,label:n,id:a})}function d(e){let{kind:t,...n}=e;switch(t){case s.ri.Doc:return(0,r.jsx)(o.IconEmojiBook,{...n});case s.ri.Web:return(0,r.jsx)(o.IconEmojiGlobe,{...n});case s.ri.Git:return(0,r.jsx)(o.IconCode,{...n});case s.ri.Github:return(0,r.jsx)(o.IconGitHub,{...n});case s.ri.Gitlab:return(0,r.jsx)(o.IconGitLab,{...n});default:return null}}},37034:function(e,t,n){"use strict";n.d(t,{k:function(){return i}});var r=n(36164),a=n(18500),s=n(81565);function i(e){let{kind:t,gitIcon:n,...i}=e;switch(t){case a.ri.Doc:return(0,r.jsx)(s.IconEmojiBook,{...i});case a.ri.Web:return(0,r.jsx)(s.IconEmojiGlobe,{...i});case a.ri.Github:return(0,r.jsx)(s.IconGitHub,{...i});case a.ri.Gitlab:return(0,r.jsx)(s.IconGitLab,{...i});case a.ri.Git:return n||(0,r.jsx)(s.IconCode,{...i});default:return null}}},36065:function(e,t,n){"use strict";n.d(t,{di:function(){return p},e8:function(){return d},fu:function(){return f},mY:function(){return l},rb:function(){return u},sZ:function(){return c},zz:function(){return m}});var r=n(36164),a=n(3546),s=n(53241),i=n(93170),o=n(57288);n(30220);let l=a.forwardRef((e,t)=>{let{className:n,...a}=e;return(0,r.jsx)(s.mY,{ref:t,className:(0,o.cn)("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",n),...a})});l.displayName=s.mY.displayName;let c=a.forwardRef((e,t)=>{let{className:n,...a}=e;return(0,r.jsxs)("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,r.jsx)(i.Z,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),(0,r.jsx)(s.mY.Input,{ref:t,className:(0,o.cn)("flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",n),...a})]})});c.displayName=s.mY.Input.displayName;let d=a.forwardRef((e,t)=>{let{className:n,...a}=e;return(0,r.jsx)(s.mY.List,{ref:t,className:(0,o.cn)("max-h-[300px] overflow-y-auto overflow-x-hidden",n),...a})});d.displayName=s.mY.List.displayName;let u=a.forwardRef((e,t)=>(0,r.jsx)(s.mY.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));u.displayName=s.mY.Empty.displayName;let f=a.forwardRef((e,t)=>{let{className:n,...a}=e;return(0,r.jsx)(s.mY.Group,{ref:t,className:(0,o.cn)("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",n),...a})});f.displayName=s.mY.Group.displayName;let m=a.forwardRef((e,t)=>{let{className:n,...a}=e;return(0,r.jsx)(s.mY.Separator,{ref:t,className:(0,o.cn)("-mx-1 h-px bg-border",n),...a})});m.displayName=s.mY.Separator.displayName;let p=a.forwardRef((e,t)=>{let{className:n,...a}=e;return(0,r.jsx)(s.mY.Item,{ref:t,className:(0,o.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-disabled:pointer-events-none aria-disabled:opacity-50 aria-selected:bg-accent aria-selected:text-accent-foreground",n),...a})});p.displayName=s.mY.Item.displayName},30220:function(e,t,n){"use strict";n.d(t,{$N:function(){return h},Be:function(){return x},Vq:function(){return l},cN:function(){return p},cZ:function(){return f},fK:function(){return m},hg:function(){return c}});var r=n(36164),a=n(3546),s=n(4318),i=n(1663),o=n(57288);let l=s.fC,c=s.xz,d=s.h_;s.x8;let u=a.forwardRef((e,t)=>{let{className:n,...a}=e;return(0,r.jsx)(s.aV,{ref:t,className:(0,o.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",n),...a})});u.displayName=s.aV.displayName;let f=a.forwardRef((e,t)=>{let{className:n,children:a,...l}=e;return(0,r.jsxs)(d,{children:[(0,r.jsx)(u,{}),(0,r.jsxs)(s.VY,{ref:t,className:(0,o.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",n),...l,children:[a,(0,r.jsxs)(s.x8,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,r.jsx)(i.Z,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});f.displayName=s.VY.displayName;let m=e=>{let{className:t,...n}=e;return(0,r.jsx)("div",{className:(0,o.cn)("flex flex-col space-y-1.5 text-center sm:text-left",t),...n})};m.displayName="DialogHeader";let p=e=>{let{className:t,...n}=e;return(0,r.jsx)("div",{className:(0,o.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...n})};p.displayName="DialogFooter";let h=a.forwardRef((e,t)=>{let{className:n,...a}=e;return(0,r.jsx)(s.Dx,{ref:t,className:(0,o.cn)("text-lg font-semibold leading-none tracking-tight",n),...a})});h.displayName=s.Dx.displayName;let x=a.forwardRef((e,t)=>{let{className:n,...a}=e;return(0,r.jsx)(s.dk,{ref:t,className:(0,o.cn)("text-sm text-muted-foreground",n),...a})});x.displayName=s.dk.displayName},49506:function(e,t,n){"use strict";n.d(t,{$0:function(){return m},Dj:function(){return p},dN:function(){return f},kN:function(){return u},ng:function(){return c},nt:function(){return d},tl:function(){return l}});var r=n(36164),a=n(3546),s=n(57288),i=n(31458),o=n(81565);let l=e=>{let{className:t,...n}=e;return(0,r.jsx)("nav",{role:"navigation","aria-label":"pagination",className:(0,s.cn)("mx-auto flex w-full justify-center",t),...n})};l.displayName="Pagination";let c=a.forwardRef((e,t)=>{let{className:n,...a}=e;return(0,r.jsx)("ul",{ref:t,className:(0,s.cn)("flex flex-row items-center gap-1",n),...a})});c.displayName="PaginationContent";let d=a.forwardRef((e,t)=>{let{className:n,...a}=e;return(0,r.jsx)("li",{ref:t,className:(0,s.cn)("",n),...a})});d.displayName="PaginationItem";let u=e=>{let{className:t,isActive:n,size:a="icon",...o}=e;return(0,r.jsx)("a",{"aria-current":n?"page":void 0,className:(0,s.cn)("select-none",(0,i.d)({variant:n?"outline":"ghost",size:a}),t),...o})};u.displayName="PaginationLink";let f=e=>{let{className:t,disabled:n,...a}=e;return(0,r.jsxs)(u,{"aria-label":"Go to previous page",size:"default",className:(0,s.cn)("cursor-pointer select-none gap-1 pl-2.5",n&&"cursor-not-allowed text-muted-foreground",t),...a,children:[(0,r.jsx)(o.IconChevronLeft,{className:"h-4 w-4"}),(0,r.jsx)("span",{children:"Previous"})]})};f.displayName="PaginationPrevious";let m=e=>{let{className:t,disabled:n,...a}=e;return(0,r.jsxs)(u,{"aria-label":"Go to next page",size:"default",className:(0,s.cn)("cursor-pointer select-none gap-1 pr-2.5",n&&"cursor-not-allowed text-muted-foreground",t),...a,children:[(0,r.jsx)("span",{children:"Next"}),(0,r.jsx)(o.IconChevronRight,{className:"h-4 w-4"})]})};m.displayName="PaginationNext";let p=e=>{let{className:t,...n}=e;return(0,r.jsxs)("span",{"aria-hidden":!0,className:(0,s.cn)("flex h-9 w-9 items-center justify-center",t),...n,children:[(0,r.jsx)(o.IconMore,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"More pages"})]})};p.displayName="PaginationEllipsis"},84942:function(e,t,n){"use strict";n.d(t,{J2:function(){return o},i9:function(){return d},tW:function(){return u},xo:function(){return l},xp:function(){return c},yk:function(){return f}});var r=n(36164),a=n(3546),s=n(83299),i=n(57288);let o=s.fC,l=s.xz,c=s.x8,d=s.h_,u=s.ee,f=a.forwardRef((e,t)=>{let{className:n,sideOffset:a=4,...o}=e;return(0,r.jsx)(s.VY,{ref:t,sideOffset:a,className:(0,i.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow animate-in data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n),...o})});f.displayName=s.VY.displayName},21808:function(e,t,n){"use strict";n.d(t,{$6:function(){return s},$I:function(){return i},L8:function(){return a},ir:function(){return o},o0:function(){return r},rZ:function(){return l}});let r="name@yourcompany.com",a=20,s={DEMO_AUTO_LOGIN:"_tabby_demo_autologin"},i=48,o="NOT_FOUND",l="\n"},36758:function(e,t,n){"use strict";n.d(t,{d:function(){return i}});var r=n(3546),a=n(40055),s=n(70410);function i(){let[{data:e,fetching:t,error:n}]=(0,a.aM)({query:s.TH}),i=(0,r.useMemo)(()=>{var t;return null!==(t=null==e?void 0:e.users.edges.map(e=>e.node))&&void 0!==t?t:[]},[null==e?void 0:e.users]);return[i,t,n]}},47241:function(e,t,n){"use strict";n.d(t,{Eg:function(){return s},UP:function(){return l},qs:function(){return o},xt:function(){return i}});var r=n(17451);let a=r.a.setState,s=e=>{a(()=>({selectedModel:e}))},i=e=>{a(()=>({selectedRepoSourceId:e}))},o=e=>{a(()=>({enableActiveSelection:e}))},l=e=>{a(()=>({pendingUserMessage:e}))}},17451:function(e,t,n){"use strict";n.d(t,{a:function(){return l}});var r=n(27257),a=n(85654),s=n(57288);let i=["activeChatId","pendingUserMessage"],o={activeChatId:(0,s.x0)(),selectedModel:void 0,selectedRepoSourceId:void 0,enableActiveSelection:!0,pendingUserMessage:void 0},l=(0,r.Ue)()((0,a.tJ)(()=>({...o}),{name:"tabby-chat-storage",partialize:e=>Object.fromEntries(Object.entries(e).filter(e=>{let[t]=e;return!i.includes(t)})),version:1}))},79876:function(e,t,n){"use strict";n.d(t,{S:function(){return a}});let r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Array.from({length:e},(e,n)=>n+t)},a=(e,t,n)=>{let a=Math.ceil(e/n);return a<=5?r(a):t<=3?[1,2,3,4,"...",a]:t(0,a.createElement)(s.WV.label,(0,r.Z)({},e,{ref:t,onMouseDown:t=>{var n;null===(n=e.onMouseDown)||void 0===n||n.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault()}}))),o=i},96786:function(e,t){"use strict";t.Z=function(e){return null!=e&&"object"==typeof e}}},function(e){e.O(0,[8415,7565,3078,753,7430,55,7812,4007,9643,4752,3449,2578,8511,4421,1454,1002,6805,4546,4553,9275,9148,4405,5083,6044,8300,3752,4916,7288,1565,4656,9634,2685,3375,5289,1744],function(){return e(e.s=52419)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/auth/reset-password/page-6c4257f2fbf71e11.js b/ee/tabby-webserver/ui/_next/static/chunks/app/auth/reset-password/page-c8c2c17429ce6ace.js similarity index 100% rename from ee/tabby-webserver/ui/_next/static/chunks/app/auth/reset-password/page-6c4257f2fbf71e11.js rename to ee/tabby-webserver/ui/_next/static/chunks/app/auth/reset-password/page-c8c2c17429ce6ace.js diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/auth/signin/page-0eaf47e9e24dd44b.js b/ee/tabby-webserver/ui/_next/static/chunks/app/auth/signin/page-74ef2da8a9067bc9.js similarity index 63% rename from ee/tabby-webserver/ui/_next/static/chunks/app/auth/signin/page-0eaf47e9e24dd44b.js rename to ee/tabby-webserver/ui/_next/static/chunks/app/auth/signin/page-74ef2da8a9067bc9.js index 0c07d2cc0c99..51ae8de0c508 100644 --- a/ee/tabby-webserver/ui/_next/static/chunks/app/auth/signin/page-0eaf47e9e24dd44b.js +++ b/ee/tabby-webserver/ui/_next/static/chunks/app/auth/signin/page-74ef2da8a9067bc9.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8098],{90627:function(e,t,n){Promise.resolve().then(n.bind(n,95463))},95463:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return G}});var r=n(36164),s=n(3546),a=n(11978),i=n(80605),l=n(70652),o=n.n(l),c=n(31458),u=n(81565),d=n(84381),m=n(5493),x=n(23782),h=n(21808),f=n(75561),p=n(11634),v=n(98150),j=n(82394);let g=(0,f.B)("\n mutation requestPasswordResetEmail($input: RequestPasswordResetEmailInput!) {\n requestPasswordResetEmail(input: $input)\n }\n"),N=x.Ry({email:x.Z_().email("Invalid email address")}),b=e=>{let{onSuccess:t}=e,n=(0,m.cI)({resolver:(0,d.F)(N)}),{isSubmitting:s}=n.formState,a=(0,p.Db)(g,{form:n});return(0,r.jsx)(v.l0,{...n,children:(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsxs)("form",{className:"grid gap-4",onSubmit:n.handleSubmit(e=>a({input:e}).then(n=>{var r;(null==n?void 0:null===(r=n.data)||void 0===r?void 0:r.requestPasswordResetEmail)&&(null==t||t(e.email))})),children:[(0,r.jsx)(v.Wi,{control:n.control,name:"email",render:e=>{let{field:t}=e;return(0,r.jsxs)(v.xJ,{children:[(0,r.jsx)(v.lX,{children:"Email"}),(0,r.jsx)(v.NI,{children:(0,r.jsx)(j.I,{placeholder:h.o0,type:"email",autoCapitalize:"none",autoComplete:"email",autoCorrect:"off",...t})}),(0,r.jsx)(v.zG,{})]})}}),(0,r.jsxs)(c.z,{type:"submit",className:"mt-2",children:[s&&(0,r.jsx)(u.IconSpinner,{className:"mr-2 h-4 w-4 animate-spin"}),"Send Email"]})]}),(0,r.jsx)(v.zG,{className:"text-center"})]})})};function y(){let[e,t]=s.useState(),[n,a]=s.useState(!1);return n?(0,r.jsx)("div",{className:"w-[350px] space-y-6",children:(0,r.jsxs)("div",{className:"flex flex-col space-y-2 text-center",children:[(0,r.jsx)("div",{className:"flex justify-center",children:(0,r.jsx)(u.IconCheckCircled,{className:"h-12 w-12 text-successful-foreground"})}),(0,r.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:"Reset Password"}),(0,r.jsxs)("p",{className:"pb-4 text-sm text-muted-foreground",children:["Request received successfully! If the email"," ",(0,r.jsx)("span",{className:"font-bold",children:null!=e?e:""})," exists, you’ll receive an email with a reset link soon."]}),(0,r.jsx)(o(),{href:"/auth/signin",className:(0,c.d)(),children:"Back to Sign In"})]})}):(0,r.jsxs)("div",{className:"w-[350px] space-y-6",children:[(0,r.jsxs)("div",{className:"flex flex-col space-y-2 text-center",children:[(0,r.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:"Reset Password"}),(0,r.jsx)("p",{className:"text-sm text-muted-foreground",children:"Enter your email address. If an account exists, you’ll receive an email with a password reset link soon."})]}),(0,r.jsx)(b,{onSuccess:e=>{t(e),a(!0)}}),(0,r.jsx)("div",{className:"text-center",children:(0,r.jsx)(o(),{href:"/auth/signin",replace:!0,className:"text-primary hover:underline",children:"Cancel"})})]})}let w=(0,f.B)("\n mutation requestInvitationEmail($input: RequestInvitationInput!) {\n requestInvitationEmail(input: $input) {\n email\n code\n }\n }\n"),I=x.Ry({email:x.Z_().email("Invalid email address")}),S=e=>{let{onSuccess:t}=e,n=(0,m.cI)({resolver:(0,d.F)(I)}),{isSubmitting:s}=n.formState,a=(0,p.Db)(w,{form:n});return(0,r.jsx)(v.l0,{...n,children:(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsxs)("form",{className:"grid gap-4",onSubmit:n.handleSubmit(e=>a({input:e}).then(e=>{var n,r;(null==e?void 0:null===(r=e.data)||void 0===r?void 0:null===(n=r.requestInvitationEmail)||void 0===n?void 0:n.code)&&(null==t||t(e.data.requestInvitationEmail))})),children:[(0,r.jsx)(v.Wi,{control:n.control,name:"email",render:e=>{let{field:t}=e;return(0,r.jsxs)(v.xJ,{children:[(0,r.jsx)(v.lX,{children:"Email"}),(0,r.jsx)(v.NI,{children:(0,r.jsx)(j.I,{placeholder:h.o0,type:"email",autoCapitalize:"none",autoComplete:"email",autoCorrect:"off",...t})}),(0,r.jsx)(v.zG,{})]})}}),(0,r.jsxs)(c.z,{type:"submit",className:"mt-2",children:[s&&(0,r.jsx)(u.IconSpinner,{className:"mr-2 h-4 w-4 animate-spin"}),"Send Email"]})]}),(0,r.jsx)(v.zG,{className:"text-center"})]})})};function k(){let[e,t]=s.useState(),[n,a]=s.useState(!1);return n?(0,r.jsx)("div",{className:"w-[350px] space-y-6",children:(0,r.jsxs)("div",{className:"flex flex-col space-y-2 text-center",children:[(0,r.jsx)("div",{className:"flex justify-center",children:(0,r.jsx)(u.IconCheckCircled,{className:"h-12 w-12 text-successful-foreground"})}),(0,r.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:"Create your Tabby account"}),(0,r.jsx)("p",{className:"pb-4 text-sm text-muted-foreground",children:"Request received successfully! You’ll receive an email with a signup link soon."}),(0,r.jsx)(o(),{href:"/auth/signin",className:(0,c.d)(),children:"Back to Sign In"})]})}):(0,r.jsxs)("div",{className:"w-[350px] space-y-6",children:[(0,r.jsxs)("div",{className:"flex flex-col space-y-2 text-center",children:[(0,r.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:"Create your Tabby account"}),(0,r.jsx)("p",{className:"text-sm text-muted-foreground",children:"To register your account, please enter your email address."})]}),(0,r.jsx)(S,{onSuccess:e=>{t(e.email),a(!0)}}),(0,r.jsxs)("div",{className:"text-center text-sm",children:["Already have an accout?",(0,r.jsx)(o(),{href:"/auth/signin",className:"ml-1 font-semibold text-primary hover:underline",children:"Sign In"})]})]})}var E=n(36327),_=n(44645),R=n(91302),C=n(3765),P=n(43240),F=n(57288);let T=(0,P.BX)("\n mutation tokenAuth($email: String!, $password: String!) {\n tokenAuth(email: $email, password: $password) {\n accessToken\n refreshToken\n }\n }\n"),O=x.Ry({email:x.Z_().email("Invalid email address"),password:x.Z_()}),A={EMAIL:"demo@tabbyml.com",PASSWORD:"0$TabbyDemo"};function z(e){let{className:t,invitationCode:n,...a}=e,l=(0,i.Uw)(),x=(0,i.UA)(),f=(0,m.cI)({resolver:(0,d.F)(O)}),g=s.useRef(null);s.useEffect(()=>{let e=h.$6.DEMO_AUTO_LOGIN;if(x){if(f.setValue("email",A.EMAIL),f.setValue("password",A.PASSWORD),"true"===sessionStorage.getItem(e))return;if(g.current){let t=new Event("submit",{bubbles:!0,cancelable:!0});g.current.dispatchEvent(t),sessionStorage.setItem(e,"true")}}},[x]);let N=(0,R.zq)(),{isSubmitting:b}=f.formState,y=(0,p.Db)(T,{onCompleted(e){N(e.tokenAuth)},form:f});return(0,r.jsx)(v.l0,{...f,children:(0,r.jsxs)("div",{className:(0,F.cn)("grid gap-2",t),...a,children:[(0,r.jsxs)("form",{ref:g,className:"grid gap-4",onSubmit:f.handleSubmit(y),children:[(0,r.jsx)(v.Wi,{control:f.control,name:"email",render:e=>{let{field:t}=e;return(0,r.jsxs)(v.xJ,{children:[(0,r.jsx)(v.lX,{children:"Email"}),(0,r.jsx)(v.NI,{children:(0,r.jsx)(j.I,{placeholder:h.o0,type:"email",autoCapitalize:"none",autoComplete:"email",autoCorrect:"off",...t})}),(0,r.jsx)(v.zG,{})]})}}),(0,r.jsx)(v.Wi,{control:f.control,name:"password",render:e=>{let{field:t}=e;return(0,r.jsxs)(v.xJ,{children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)(v.lX,{children:"Password"}),!!l&&(0,r.jsx)("div",{className:"cursor-pointer text-right text-sm text-primary hover:underline",children:(0,r.jsx)(o(),{href:"/auth/signin?mode=reset",children:"Forgot password?"})})]}),(0,r.jsx)(v.NI,{children:(0,r.jsx)(j.I,{type:"password",...t})}),(0,r.jsx)(v.zG,{})]})}}),(0,r.jsxs)(c.z,{type:"submit",className:"mt-2",disabled:b,children:[b&&(0,r.jsx)(u.IconSpinner,{className:"mr-2 h-4 w-4 animate-spin"}),"Sign In"]})]}),(0,r.jsx)(v.zG,{className:"text-center"})]})})}function q(){let{router:e,searchParams:t}=(0,_.Z)(),n=(0,i.jJ)(),a=t.get("error_message"),l=t.get("access_token"),c=t.get("refresh_token"),d=!!l&&!!c,m=d&&!a,x=(0,R.zq)(),{data:h}=(0,E.Z)(d?null:"/oauth/providers",C.Z);(0,s.useEffect)(()=>{!a&&l&&c&&x({accessToken:l,refreshToken:c})},[t]);let{status:f}=(0,R.kP)();return((0,s.useEffect)(()=>{"authenticated"===f&&e.replace("/")},[f]),m)?(0,r.jsx)(u.IconSpinner,{className:"h-8 w-8 animate-spin"}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"w-[350px] space-y-6",children:[(0,r.jsxs)("div",{className:"flex flex-col space-y-2 text-center",children:[(0,r.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:"Sign In"}),(0,r.jsx)("p",{className:"text-sm text-muted-foreground",children:"Enter credentials to login to your account"})]}),(0,r.jsx)(z,{}),n&&(0,r.jsxs)("div",{className:"text-center text-sm",children:["Don’t have an accout?",(0,r.jsx)(o(),{href:"/auth/signin?mode=signup",className:"ml-1 font-semibold text-primary hover:underline",children:"Create an account"})]})]}),!!(null==h?void 0:h.length)&&(0,r.jsxs)("div",{className:"relative mt-4 flex w-[350px] items-center py-5",children:[(0,r.jsx)("div",{className:"grow border-t "}),(0,r.jsx)("span",{className:"mx-4 shrink text-sm text-muted-foreground",children:"Or Sign In with"}),(0,r.jsx)("div",{className:"grow border-t "})]}),(0,r.jsxs)("div",{className:"mx-auto flex items-center gap-8",children:[(null==h?void 0:h.includes("github"))&&(0,r.jsx)("a",{href:"/oauth/signin?provider=github",children:(0,r.jsx)(u.IconGithub,{className:"h-8 w-8"})}),(null==h?void 0:h.includes("google"))&&(0,r.jsx)("a",{href:"/oauth/signin?provider=google",children:(0,r.jsx)(u.IconGoogle,{className:"h-8 w-8"})}),(null==h?void 0:h.includes("gitlab"))&&(0,r.jsx)("a",{href:"/oauth/signin?provider=gitlab",children:(0,r.jsx)(u.IconGitLab,{className:"h-8 w-8"})})]}),!!a&&(0,r.jsx)("div",{className:"mt-4 text-destructive",children:a})]})}function G(){var e;let t=(0,a.useRouter)(),n=(0,a.useSearchParams)(),l=null===(e=n.get("mode"))||void 0===e?void 0:e.toString(),o=(0,i.Uw)(),c=(0,i.jJ)();return(s.useEffect(()=>{let e=!1===o&&"reset"===l||!1===c&&"signup"===l;e&&t.replace("/auth/signin")},[l,o,c]),"reset"===l)?(0,r.jsx)(y,{}):"signup"===l?(0,r.jsx)(k,{}):(0,r.jsx)(q,{})}},98150:function(e,t,n){"use strict";n.d(t,{NI:function(){return p},Wi:function(){return d},l0:function(){return c},lX:function(){return f},pf:function(){return v},xJ:function(){return h},zG:function(){return j}});var r=n(36164),s=n(3546),a=n(74047),i=n(5493),l=n(57288),o=n(5266);let c=i.RV,u=s.createContext({}),d=e=>{let{...t}=e;return(0,r.jsx)(u.Provider,{value:{name:t.name},children:(0,r.jsx)(i.Qr,{...t})})},m=()=>{let e=s.useContext(u),t=s.useContext(x),{getFieldState:n,formState:r}=(0,i.Gc)(),a=e.name||"root",l=n(a,r);if(!r)throw Error("useFormField should be used within ");let{id:o}=t;return{id:o,name:a,formItemId:"".concat(o,"-form-item"),formDescriptionId:"".concat(o,"-form-item-description"),formMessageId:"".concat(o,"-form-item-message"),...l}},x=s.createContext({}),h=s.forwardRef((e,t)=>{let{className:n,...a}=e,i=s.useId();return(0,r.jsx)(x.Provider,{value:{id:i},children:(0,r.jsx)("div",{ref:t,className:(0,l.cn)("space-y-2",n),...a})})});h.displayName="FormItem";let f=s.forwardRef((e,t)=>{let{className:n,required:s,...a}=e,{error:i,formItemId:c}=m();return(0,r.jsx)(o._,{ref:t,className:(0,l.cn)(i&&"text-destructive",s&&'after:ml-0.5 after:text-destructive after:content-["*"]',n),htmlFor:c,...a})});f.displayName="FormLabel";let p=s.forwardRef((e,t)=>{let{...n}=e,{error:s,formItemId:i,formDescriptionId:l,formMessageId:o}=m();return(0,r.jsx)(a.g7,{ref:t,id:i,"aria-describedby":s?"".concat(l," ").concat(o):"".concat(l),"aria-invalid":!!s,...n})});p.displayName="FormControl";let v=s.forwardRef((e,t)=>{let{className:n,...s}=e,{formDescriptionId:a}=m();return(0,r.jsx)("div",{ref:t,id:a,className:(0,l.cn)("text-sm text-muted-foreground",n),...s})});v.displayName="FormDescription";let j=s.forwardRef((e,t)=>{let{className:n,children:s,...a}=e,{error:i,formMessageId:o}=m(),c=i?String(null==i?void 0:i.message):s;return c?(0,r.jsx)("p",{ref:t,id:o,className:(0,l.cn)("text-sm font-medium text-destructive",n),...a,children:c}):null});j.displayName="FormMessage"},82394:function(e,t,n){"use strict";n.d(t,{I:function(){return i}});var r=n(36164),s=n(3546),a=n(57288);let i=s.forwardRef((e,t)=>{let{className:n,type:s,...i}=e;return(0,r.jsx)("input",{type:s,className:(0,a.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",n),ref:t,...i})});i.displayName="Input"},5266:function(e,t,n){"use strict";n.d(t,{_:function(){return c}});var r=n(36164),s=n(3546),a=n(90893),i=n(14375),l=n(57288);let o=(0,i.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),c=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,r.jsx)(a.f,{ref:t,className:(0,l.cn)(o(),n),...s})});c.displayName=a.f.displayName},21808:function(e,t,n){"use strict";n.d(t,{$6:function(){return a},$I:function(){return i},L8:function(){return s},ir:function(){return l},o0:function(){return r},rZ:function(){return o}});let r="name@yourcompany.com",s=20,a={DEMO_AUTO_LOGIN:"_tabby_demo_autologin",SEARCH_INITIAL_MSG:"_tabby_search_initial_msg",SEARCH_INITIAL_CONTEXTS:"_tabby_search_initial_contexts"},i=48,l="NOT_FOUND",o="\n"},44645:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(3546),s=n(11978);function a(){let e=(0,s.usePathname)(),t=(0,s.useRouter)(),n=(0,s.useSearchParams)(),a=(0,r.useCallback)(e=>{let t=new URLSearchParams(n);e&&Object.entries(e).forEach(e=>{let[n,r]=e;return t.set(n,r)});let r=t.toString();return r.length>0?"?".concat(r):""},[n]),i=(0,r.useCallback)(r=>{let s=function(e,t,n){var r,s;let a=null===(r=n.searchParams)||void 0===r?void 0:r.set,i=null===(s=n.searchParams)||void 0===s?void 0:s.del,l=new URLSearchParams(t);a&&Object.entries(a).forEach(e=>{let[t,n]=e;return l.set(t,n)}),i&&(Array.isArray(i)?i.forEach(e=>l.delete(e)):l.delete(i));let o=l.toString(),c=e;return o.length>0&&(c+="?".concat(o)),n.hash&&(c+="#".concat(n.hash.replace(/^#/,""))),c}((null==r?void 0:r.pathname)||e,n,r);return r.replace?t.replace(s):t.push(s),s},[e,n]);return{pathname:e,router:t,searchParams:n,getQueryString:a,updateUrlComponents:i}}},3765:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(44745),s=n(57778),a=n(79716),i=n(91302),l=n(66794);async function o(e,t){var n;let r=null!==(n=null==t?void 0:t.customFetch)&&void 0!==n?n:window.fetch;if(function(e){var t;if(e.startsWith("/oauth/providers"))return!1;let n=null===(t=(0,l.bW)())||void 0===t?void 0:t.accessToken;if(!n)return!0;try{let{exp:e}=(0,a.o)(n);return(0,l.pw)(e)}catch(e){return!0}}(e))return l.gN.refreshToken(c).then(n=>m(e,t));let s=await r(e,u(t));return 401===s.status?(l.gN.clearAccessToken(),l.gN.refreshToken(c).then(n=>m(e,t))):x(s,t)}async function c(){var e,t;let n=null===(e=(0,l.bW)())||void 0===e?void 0:e.refreshToken;if(!n)return;let r=await d(n);return null==r?void 0:null===(t=r.data)||void 0===t?void 0:t.refreshToken}function u(e){var t;let n=new Headers(null==e?void 0:e.headers);return n.append("authorization","Bearer ".concat(null===(t=(0,l.bW)())||void 0===t?void 0:t.accessToken)),{...e||{},headers:n}}async function d(e){let t=new r.KU({url:"/graphql",requestPolicy:"network-only",exchanges:[r.Ek]}),n=t.createRequestOperation("mutation",(0,s.h)(i.Dp,{refreshToken:e}));return t.executeMutation(n)}function m(e,t){var n;let r=null!==(n=null==t?void 0:t.customFetch)&&void 0!==n?n:window.fetch;return r(e,u(t)).then(e=>x(e,t))}function x(e,t){return(null==e?void 0:e.ok)?(null==t?void 0:t.responseFormatter)?t.responseFormatter(e):(null==t?void 0:t.responseFormat)==="blob"?e.blob():e.json():(null==t?void 0:t.errorHandler)?t.errorHandler(e):void 0}},70652:function(e,t,n){e.exports=n(54007)},36327:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(21454),s=n(54859);let a=(0,s.xD)(r.ZP,e=>(t,n,r)=>(r.revalidateOnFocus=!1,r.revalidateIfStale=!1,r.revalidateOnReconnect=!1,e(t,n,r)))}},function(e){e.O(0,[8415,7430,55,7812,4007,9643,240,1454,7288,1565,3240,4656,3375,5289,1744],function(){return e(e.s=90627)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8098],{90627:function(e,t,n){Promise.resolve().then(n.bind(n,95463))},95463:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return D}});var r=n(36164),s=n(3546),a=n(11978),i=n(80605),l=n(70652),o=n.n(l),c=n(31458),u=n(81565),d=n(84381),m=n(5493),x=n(23782),f=n(21808),h=n(75561),p=n(11634),v=n(98150),j=n(82394);let g=(0,h.B)("\n mutation requestPasswordResetEmail($input: RequestPasswordResetEmailInput!) {\n requestPasswordResetEmail(input: $input)\n }\n"),N=x.Ry({email:x.Z_().email("Invalid email address")}),b=e=>{let{onSuccess:t}=e,n=(0,m.cI)({resolver:(0,d.F)(N)}),{isSubmitting:s}=n.formState,a=(0,p.Db)(g,{form:n});return(0,r.jsx)(v.l0,{...n,children:(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsxs)("form",{className:"grid gap-4",onSubmit:n.handleSubmit(e=>a({input:e}).then(n=>{var r;(null==n?void 0:null===(r=n.data)||void 0===r?void 0:r.requestPasswordResetEmail)&&(null==t||t(e.email))})),children:[(0,r.jsx)(v.Wi,{control:n.control,name:"email",render:e=>{let{field:t}=e;return(0,r.jsxs)(v.xJ,{children:[(0,r.jsx)(v.lX,{children:"Email"}),(0,r.jsx)(v.NI,{children:(0,r.jsx)(j.I,{placeholder:f.o0,type:"email",autoCapitalize:"none",autoComplete:"email",autoCorrect:"off",...t})}),(0,r.jsx)(v.zG,{})]})}}),(0,r.jsxs)(c.z,{type:"submit",className:"mt-2",children:[s&&(0,r.jsx)(u.IconSpinner,{className:"mr-2 h-4 w-4 animate-spin"}),"Send Email"]})]}),(0,r.jsx)(v.zG,{className:"text-center"})]})})};function w(){let[e,t]=s.useState(),[n,a]=s.useState(!1);return n?(0,r.jsx)("div",{className:"w-[350px] space-y-6",children:(0,r.jsxs)("div",{className:"flex flex-col space-y-2 text-center",children:[(0,r.jsx)("div",{className:"flex justify-center",children:(0,r.jsx)(u.IconCheckCircled,{className:"h-12 w-12 text-successful-foreground"})}),(0,r.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:"Reset Password"}),(0,r.jsxs)("p",{className:"pb-4 text-sm text-muted-foreground",children:["Request received successfully! If the email"," ",(0,r.jsx)("span",{className:"font-bold",children:null!=e?e:""})," exists, you’ll receive an email with a reset link soon."]}),(0,r.jsx)(o(),{href:"/auth/signin",className:(0,c.d)(),children:"Back to Sign In"})]})}):(0,r.jsxs)("div",{className:"w-[350px] space-y-6",children:[(0,r.jsxs)("div",{className:"flex flex-col space-y-2 text-center",children:[(0,r.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:"Reset Password"}),(0,r.jsx)("p",{className:"text-sm text-muted-foreground",children:"Enter your email address. If an account exists, you’ll receive an email with a password reset link soon."})]}),(0,r.jsx)(b,{onSuccess:e=>{t(e),a(!0)}}),(0,r.jsx)("div",{className:"text-center",children:(0,r.jsx)(o(),{href:"/auth/signin",replace:!0,className:"text-primary hover:underline",children:"Cancel"})})]})}let y=(0,h.B)("\n mutation requestInvitationEmail($input: RequestInvitationInput!) {\n requestInvitationEmail(input: $input) {\n email\n code\n }\n }\n"),I=x.Ry({email:x.Z_().email("Invalid email address")}),S=e=>{let{onSuccess:t}=e,n=(0,m.cI)({resolver:(0,d.F)(I)}),{isSubmitting:s}=n.formState,a=(0,p.Db)(y,{form:n});return(0,r.jsx)(v.l0,{...n,children:(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsxs)("form",{className:"grid gap-4",onSubmit:n.handleSubmit(e=>a({input:e}).then(e=>{var n,r;(null==e?void 0:null===(r=e.data)||void 0===r?void 0:null===(n=r.requestInvitationEmail)||void 0===n?void 0:n.code)&&(null==t||t(e.data.requestInvitationEmail))})),children:[(0,r.jsx)(v.Wi,{control:n.control,name:"email",render:e=>{let{field:t}=e;return(0,r.jsxs)(v.xJ,{children:[(0,r.jsx)(v.lX,{children:"Email"}),(0,r.jsx)(v.NI,{children:(0,r.jsx)(j.I,{placeholder:f.o0,type:"email",autoCapitalize:"none",autoComplete:"email",autoCorrect:"off",...t})}),(0,r.jsx)(v.zG,{})]})}}),(0,r.jsxs)(c.z,{type:"submit",className:"mt-2",children:[s&&(0,r.jsx)(u.IconSpinner,{className:"mr-2 h-4 w-4 animate-spin"}),"Send Email"]})]}),(0,r.jsx)(v.zG,{className:"text-center"})]})})};function k(){let[e,t]=s.useState(),[n,a]=s.useState(!1);return n?(0,r.jsx)("div",{className:"w-[350px] space-y-6",children:(0,r.jsxs)("div",{className:"flex flex-col space-y-2 text-center",children:[(0,r.jsx)("div",{className:"flex justify-center",children:(0,r.jsx)(u.IconCheckCircled,{className:"h-12 w-12 text-successful-foreground"})}),(0,r.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:"Create your Tabby account"}),(0,r.jsx)("p",{className:"pb-4 text-sm text-muted-foreground",children:"Request received successfully! You’ll receive an email with a signup link soon."}),(0,r.jsx)(o(),{href:"/auth/signin",className:(0,c.d)(),children:"Back to Sign In"})]})}):(0,r.jsxs)("div",{className:"w-[350px] space-y-6",children:[(0,r.jsxs)("div",{className:"flex flex-col space-y-2 text-center",children:[(0,r.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:"Create your Tabby account"}),(0,r.jsx)("p",{className:"text-sm text-muted-foreground",children:"To register your account, please enter your email address."})]}),(0,r.jsx)(S,{onSuccess:e=>{t(e.email),a(!0)}}),(0,r.jsxs)("div",{className:"text-center text-sm",children:["Already have an accout?",(0,r.jsx)(o(),{href:"/auth/signin",className:"ml-1 font-semibold text-primary hover:underline",children:"Sign In"})]})]})}var E=n(36327),R=n(44645),C=n(91302),_=n(3765),P=n(43240),F=n(57288);let O=(0,P.BX)("\n mutation tokenAuth($email: String!, $password: String!) {\n tokenAuth(email: $email, password: $password) {\n accessToken\n refreshToken\n }\n }\n"),z=x.Ry({email:x.Z_().email("Invalid email address"),password:x.Z_()}),q={EMAIL:"demo@tabbyml.com",PASSWORD:"0$TabbyDemo"};function T(e){let{className:t,invitationCode:n,...a}=e,l=(0,i.Uw)(),x=(0,i.UA)(),h=(0,m.cI)({resolver:(0,d.F)(z)}),g=s.useRef(null);s.useEffect(()=>{let e=f.$6.DEMO_AUTO_LOGIN;if(x){if(h.setValue("email",q.EMAIL),h.setValue("password",q.PASSWORD),"true"===sessionStorage.getItem(e))return;if(g.current){let t=new Event("submit",{bubbles:!0,cancelable:!0});g.current.dispatchEvent(t),sessionStorage.setItem(e,"true")}}},[x]);let N=(0,C.zq)(),{isSubmitting:b}=h.formState,w=(0,p.Db)(O,{onCompleted(e){N(e.tokenAuth)},form:h});return(0,r.jsx)(v.l0,{...h,children:(0,r.jsxs)("div",{className:(0,F.cn)("grid gap-2",t),...a,children:[(0,r.jsxs)("form",{ref:g,className:"grid gap-4",onSubmit:h.handleSubmit(w),children:[(0,r.jsx)(v.Wi,{control:h.control,name:"email",render:e=>{let{field:t}=e;return(0,r.jsxs)(v.xJ,{children:[(0,r.jsx)(v.lX,{children:"Email"}),(0,r.jsx)(v.NI,{children:(0,r.jsx)(j.I,{placeholder:f.o0,type:"email",autoCapitalize:"none",autoComplete:"email",autoCorrect:"off",...t})}),(0,r.jsx)(v.zG,{})]})}}),(0,r.jsx)(v.Wi,{control:h.control,name:"password",render:e=>{let{field:t}=e;return(0,r.jsxs)(v.xJ,{children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)(v.lX,{children:"Password"}),!!l&&(0,r.jsx)("div",{className:"cursor-pointer text-right text-sm text-primary hover:underline",children:(0,r.jsx)(o(),{href:"/auth/signin?mode=reset",children:"Forgot password?"})})]}),(0,r.jsx)(v.NI,{children:(0,r.jsx)(j.I,{type:"password",...t})}),(0,r.jsx)(v.zG,{})]})}}),(0,r.jsxs)(c.z,{type:"submit",className:"mt-2",disabled:b,children:[b&&(0,r.jsx)(u.IconSpinner,{className:"mr-2 h-4 w-4 animate-spin"}),"Sign In"]})]}),(0,r.jsx)(v.zG,{className:"text-center"})]})})}function A(){let{router:e,searchParams:t}=(0,R.Z)(),n=(0,i.jJ)(),a=t.get("error_message"),l=t.get("access_token"),c=t.get("refresh_token"),d=!!l&&!!c,m=d&&!a,x=(0,C.zq)(),{data:f}=(0,E.Z)(d?null:"/oauth/providers",_.Z);(0,s.useEffect)(()=>{!a&&l&&c&&x({accessToken:l,refreshToken:c})},[t]);let{status:h}=(0,C.kP)();return((0,s.useEffect)(()=>{"authenticated"===h&&e.replace("/")},[h]),m)?(0,r.jsx)(u.IconSpinner,{className:"h-8 w-8 animate-spin"}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"w-[350px] space-y-6",children:[(0,r.jsxs)("div",{className:"flex flex-col space-y-2 text-center",children:[(0,r.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:"Sign In"}),(0,r.jsx)("p",{className:"text-sm text-muted-foreground",children:"Enter credentials to login to your account"})]}),(0,r.jsx)(T,{}),n&&(0,r.jsxs)("div",{className:"text-center text-sm",children:["Don’t have an accout?",(0,r.jsx)(o(),{href:"/auth/signin?mode=signup",className:"ml-1 font-semibold text-primary hover:underline",children:"Create an account"})]})]}),!!(null==f?void 0:f.length)&&(0,r.jsxs)("div",{className:"relative mt-4 flex w-[350px] items-center py-5",children:[(0,r.jsx)("div",{className:"grow border-t "}),(0,r.jsx)("span",{className:"mx-4 shrink text-sm text-muted-foreground",children:"Or Sign In with"}),(0,r.jsx)("div",{className:"grow border-t "})]}),(0,r.jsxs)("div",{className:"mx-auto flex items-center gap-8",children:[(null==f?void 0:f.includes("github"))&&(0,r.jsx)("a",{href:"/oauth/signin?provider=github",children:(0,r.jsx)(u.IconGithub,{className:"h-8 w-8"})}),(null==f?void 0:f.includes("google"))&&(0,r.jsx)("a",{href:"/oauth/signin?provider=google",children:(0,r.jsx)(u.IconGoogle,{className:"h-8 w-8"})}),(null==f?void 0:f.includes("gitlab"))&&(0,r.jsx)("a",{href:"/oauth/signin?provider=gitlab",children:(0,r.jsx)(u.IconGitLab,{className:"h-8 w-8"})})]}),!!a&&(0,r.jsx)("div",{className:"mt-4 text-destructive",children:a})]})}function D(){var e;let t=(0,a.useRouter)(),n=(0,a.useSearchParams)(),l=null===(e=n.get("mode"))||void 0===e?void 0:e.toString(),o=(0,i.Uw)(),c=(0,i.jJ)();return(s.useEffect(()=>{let e=!1===o&&"reset"===l||!1===c&&"signup"===l;e&&t.replace("/auth/signin")},[l,o,c]),"reset"===l)?(0,r.jsx)(w,{}):"signup"===l?(0,r.jsx)(k,{}):(0,r.jsx)(A,{})}},98150:function(e,t,n){"use strict";n.d(t,{NI:function(){return p},Wi:function(){return d},l0:function(){return c},lX:function(){return h},pf:function(){return v},xJ:function(){return f},zG:function(){return j}});var r=n(36164),s=n(3546),a=n(74047),i=n(5493),l=n(57288),o=n(5266);let c=i.RV,u=s.createContext({}),d=e=>{let{...t}=e;return(0,r.jsx)(u.Provider,{value:{name:t.name},children:(0,r.jsx)(i.Qr,{...t})})},m=()=>{let e=s.useContext(u),t=s.useContext(x),{getFieldState:n,formState:r}=(0,i.Gc)(),a=e.name||"root",l=n(a,r);if(!r)throw Error("useFormField should be used within ");let{id:o}=t;return{id:o,name:a,formItemId:"".concat(o,"-form-item"),formDescriptionId:"".concat(o,"-form-item-description"),formMessageId:"".concat(o,"-form-item-message"),...l}},x=s.createContext({}),f=s.forwardRef((e,t)=>{let{className:n,...a}=e,i=s.useId();return(0,r.jsx)(x.Provider,{value:{id:i},children:(0,r.jsx)("div",{ref:t,className:(0,l.cn)("space-y-2",n),...a})})});f.displayName="FormItem";let h=s.forwardRef((e,t)=>{let{className:n,required:s,...a}=e,{error:i,formItemId:c}=m();return(0,r.jsx)(o._,{ref:t,className:(0,l.cn)(i&&"text-destructive",s&&'after:ml-0.5 after:text-destructive after:content-["*"]',n),htmlFor:c,...a})});h.displayName="FormLabel";let p=s.forwardRef((e,t)=>{let{...n}=e,{error:s,formItemId:i,formDescriptionId:l,formMessageId:o}=m();return(0,r.jsx)(a.g7,{ref:t,id:i,"aria-describedby":s?"".concat(l," ").concat(o):"".concat(l),"aria-invalid":!!s,...n})});p.displayName="FormControl";let v=s.forwardRef((e,t)=>{let{className:n,...s}=e,{formDescriptionId:a}=m();return(0,r.jsx)("div",{ref:t,id:a,className:(0,l.cn)("text-sm text-muted-foreground",n),...s})});v.displayName="FormDescription";let j=s.forwardRef((e,t)=>{let{className:n,children:s,...a}=e,{error:i,formMessageId:o}=m(),c=i?String(null==i?void 0:i.message):s;return c?(0,r.jsx)("p",{ref:t,id:o,className:(0,l.cn)("text-sm font-medium text-destructive",n),...a,children:c}):null});j.displayName="FormMessage"},82394:function(e,t,n){"use strict";n.d(t,{I:function(){return i}});var r=n(36164),s=n(3546),a=n(57288);let i=s.forwardRef((e,t)=>{let{className:n,type:s,...i}=e;return(0,r.jsx)("input",{type:s,className:(0,a.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",n),ref:t,...i})});i.displayName="Input"},5266:function(e,t,n){"use strict";n.d(t,{_:function(){return c}});var r=n(36164),s=n(3546),a=n(90893),i=n(14375),l=n(57288);let o=(0,i.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),c=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,r.jsx)(a.f,{ref:t,className:(0,l.cn)(o(),n),...s})});c.displayName=a.f.displayName},21808:function(e,t,n){"use strict";n.d(t,{$6:function(){return a},$I:function(){return i},L8:function(){return s},ir:function(){return l},o0:function(){return r},rZ:function(){return o}});let r="name@yourcompany.com",s=20,a={DEMO_AUTO_LOGIN:"_tabby_demo_autologin"},i=48,l="NOT_FOUND",o="\n"},44645:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(3546),s=n(11978);function a(){let e=(0,s.usePathname)(),t=(0,s.useRouter)(),n=(0,s.useSearchParams)(),a=(0,r.useCallback)(e=>{let t=new URLSearchParams(n);e&&Object.entries(e).forEach(e=>{let[n,r]=e;return t.set(n,r)});let r=t.toString();return r.length>0?"?".concat(r):""},[n]),i=(0,r.useCallback)(r=>{let s=function(e,t,n){var r,s;let a=null===(r=n.searchParams)||void 0===r?void 0:r.set,i=null===(s=n.searchParams)||void 0===s?void 0:s.del,l=new URLSearchParams(t);a&&Object.entries(a).forEach(e=>{let[t,n]=e;return l.set(t,n)}),i&&(Array.isArray(i)?i.forEach(e=>l.delete(e)):l.delete(i));let o=l.toString(),c=e;return o.length>0&&(c+="?".concat(o)),n.hash&&(c+="#".concat(n.hash.replace(/^#/,""))),c}((null==r?void 0:r.pathname)||e,n,r);return r.replace?t.replace(s):t.push(s),s},[e,n]);return{pathname:e,router:t,searchParams:n,getQueryString:a,updateUrlComponents:i}}},3765:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(44745),s=n(57778),a=n(79716),i=n(91302),l=n(66794);async function o(e,t){var n;let r=null!==(n=null==t?void 0:t.customFetch)&&void 0!==n?n:window.fetch;if(function(e){var t;if(e.startsWith("/oauth/providers"))return!1;let n=null===(t=(0,l.bW)())||void 0===t?void 0:t.accessToken;if(!n)return!0;try{let{exp:e}=(0,a.o)(n);return(0,l.pw)(e)}catch(e){return!0}}(e))return l.gN.refreshToken(c).then(n=>m(e,t));let s=await r(e,u(t));return 401===s.status?(l.gN.clearAccessToken(),l.gN.refreshToken(c).then(n=>m(e,t))):x(s,t)}async function c(){var e,t;let n=null===(e=(0,l.bW)())||void 0===e?void 0:e.refreshToken;if(!n)return;let r=await d(n);return null==r?void 0:null===(t=r.data)||void 0===t?void 0:t.refreshToken}function u(e){var t;let n=new Headers(null==e?void 0:e.headers);return n.append("authorization","Bearer ".concat(null===(t=(0,l.bW)())||void 0===t?void 0:t.accessToken)),{...e||{},headers:n}}async function d(e){let t=new r.KU({url:"/graphql",requestPolicy:"network-only",exchanges:[r.Ek]}),n=t.createRequestOperation("mutation",(0,s.h)(i.Dp,{refreshToken:e}));return t.executeMutation(n)}function m(e,t){var n;let r=null!==(n=null==t?void 0:t.customFetch)&&void 0!==n?n:window.fetch;return r(e,u(t)).then(e=>x(e,t))}function x(e,t){return(null==e?void 0:e.ok)?(null==t?void 0:t.responseFormatter)?t.responseFormatter(e):(null==t?void 0:t.responseFormat)==="blob"?e.blob():e.json():(null==t?void 0:t.errorHandler)?t.errorHandler(e):void 0}},70652:function(e,t,n){e.exports=n(54007)},36327:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(21454),s=n(54859);let a=(0,s.xD)(r.ZP,e=>(t,n,r)=>(r.revalidateOnFocus=!1,r.revalidateIfStale=!1,r.revalidateOnReconnect=!1,e(t,n,r)))}},function(e){e.O(0,[8415,7430,55,7812,4007,9643,240,1454,7288,1565,3240,4656,3375,5289,1744],function(){return e(e.s=90627)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/auth/signup/page-3d8ded6cdcdb2ea1.js b/ee/tabby-webserver/ui/_next/static/chunks/app/auth/signup/page-3d8ded6cdcdb2ea1.js deleted file mode 100644 index 5bc87c0a2a9b..000000000000 --- a/ee/tabby-webserver/ui/_next/static/chunks/app/auth/signup/page-3d8ded6cdcdb2ea1.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5271],{92589:function(e,t,r){Promise.resolve().then(r.bind(r,4047))},4047:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return C}});var n=r(36164),s=r(11978),a=r(3546),o=r(57288),i=r(31458),l=r(84381),c=r(5493),d=r(23782),u=r(21808),m=r(43240),f=r(91302),x=r(11634),h=r(98150),p=r(81565),j=r(82394),g=r(4302);let _=(0,m.BX)("\n mutation register(\n $name: String!\n $email: String!\n $password1: String!\n $password2: String!\n $invitationCode: String\n ) {\n register(\n name: $name\n email: $email\n password1: $password1\n password2: $password2\n invitationCode: $invitationCode\n ) {\n accessToken\n refreshToken\n }\n }\n"),N=d.Ry({name:d.Z_(),email:d.Z_().email("Invalid email address"),password1:d.Z_(),password2:d.Z_(),invitationCode:d.Z_().optional()});function S(e){var t,r;let{className:d,invitationCode:m,onSuccess:S,buttonClass:v,...I}=e,[C,w]=a.useState(!1),[b,y]=a.useState(!1),A=(0,c.cI)({resolver:(0,l.F)(N),defaultValues:{invitationCode:m}}),{password1:E}=A.watch(),[T]=(0,g.Y0)(E),R=(0,s.useRouter)(),G=(0,f.zq)(),{isSubmitting:M}=A.formState,P=(0,x.Db)(_,{async onCompleted(e){await G(null==e?void 0:e.register)&&(S?S():R.replace("/"))},form:A}),k=()=>{if(0===T.length)return w(!1);y(!0)};return(0,n.jsx)(h.l0,{...A,children:(0,n.jsxs)("div",{className:(0,o.cn)("grid gap-2",d),...I,children:[(0,n.jsxs)("form",{className:"grid gap-4",onSubmit:A.handleSubmit(P),children:[(0,n.jsx)(h.Wi,{control:A.control,name:"name",render:e=>{let{field:t}=e;return(0,n.jsxs)(h.xJ,{children:[(0,n.jsx)(h.lX,{children:"Name"}),(0,n.jsx)(h.NI,{children:(0,n.jsx)(j.I,{...t,value:t.value})}),(0,n.jsx)(h.zG,{})]})}}),(0,n.jsx)(h.Wi,{control:A.control,name:"email",render:e=>{let{field:r}=e;return(0,n.jsxs)(h.xJ,{children:[(0,n.jsx)(h.lX,{children:"Email"}),(0,n.jsx)(h.NI,{children:(0,n.jsx)(j.I,{placeholder:"e.g. ".concat(u.o0),type:"email",autoCapitalize:"none",autoComplete:"email",autoCorrect:"off",...r,value:null!==(t=r.value)&&void 0!==t?t:""})}),(0,n.jsx)(h.zG,{})]})}}),(0,n.jsxs)("div",{children:[(0,n.jsx)(h.Wi,{control:A.control,name:"password1",render:e=>{let{field:t}=e;return(0,n.jsxs)(h.xJ,{children:[(0,n.jsx)(h.lX,{children:"Password"}),(0,n.jsx)(h.NI,{children:(0,n.jsx)(j.I,{type:"password",...t,onFocus:()=>w(!0),onBlur:k})})]})}}),(0,n.jsx)(g.Lu,{password:E||"",showPasswordSchema:C,passworErrors:T,showPasswordError:b})]}),(0,n.jsx)(h.Wi,{control:A.control,name:"password2",render:e=>{let{field:t}=e;return(0,n.jsxs)(h.xJ,{children:[(0,n.jsx)(h.lX,{children:"Confirm Password"}),(0,n.jsx)(h.NI,{children:(0,n.jsx)(j.I,{type:"password",...t,value:null!==(r=t.value)&&void 0!==r?r:""})}),(0,n.jsx)(h.zG,{})]})}}),(0,n.jsx)(h.Wi,{control:A.control,name:"invitationCode",render:e=>{let{field:t}=e;return(0,n.jsx)(h.xJ,{className:"hidden",children:(0,n.jsx)(h.NI,{children:(0,n.jsx)(j.I,{type:"hidden",...t})})})}}),(0,n.jsxs)(i.z,{type:"submit",className:(0,o.cn)("mt-2",v),disabled:M,children:[M&&(0,n.jsx)(p.IconSpinner,{className:"mr-2 h-4 w-4 animate-spin"}),"Register"]})]}),(0,n.jsx)(h.zG,{className:"text-center"})]})})}function v(e){let{step:t,currentStep:r,children:s}=e;return(0,n.jsx)("div",{id:"step-".concat(t),className:(0,o.cn)("border-l border-foreground py-8 pl-12 pr-2",{"step-mask":t!==r,remote:Math.abs(r-t)>1}),children:s})}function I(){let e=(0,s.useRouter)(),[t,r]=(0,a.useState)(1),o=(0,a.useRef)(null);return(0,a.useEffect)(()=>{var e;1!==t&&(null===(e=document.getElementById("step-".concat(t)))||void 0===e||e.scrollIntoView({behavior:"smooth"}))},[t]),(0,n.jsxs)("div",{className:"admin-register-wrap h-screen w-[600px] overflow-hidden",children:[(0,n.jsxs)(v,{step:1,currentStep:t,children:[(0,n.jsx)("h2",{className:"text-3xl font-semibold tracking-tight first:mt-0",children:"Welcome!"}),(0,n.jsx)("p",{className:"mt-2 leading-7 text-muted-foreground",children:"Your tabby server is live and ready to use. This step by step guide will help you set up your admin account."}),(0,n.jsx)("p",{className:"leading-7 text-muted-foreground",children:"Admin account is the highest level of access in your server. Once created, you can invite other members to join your server."}),(0,n.jsx)(i.z,{className:"mt-5 w-48",onClick:()=>r(2),children:"Start"})]}),(0,n.jsxs)(v,{step:2,currentStep:t,children:[(0,n.jsx)("h3",{className:"text-2xl font-semibold tracking-tight",children:"Create Admin Account"}),(0,n.jsx)("p",{className:"mb-3 leading-7 text-muted-foreground",children:"Please store your password in a safe place. We do not store your password and cannot recover it for you."}),(0,n.jsx)(S,{onSuccess:()=>{var e;r(3),null===(e=o.current)||void 0===e||e.focus()},buttonClass:"self-start w-48"})]}),(0,n.jsxs)(v,{step:3,currentStep:t,children:[(0,n.jsx)("h3",{className:"text-2xl font-semibold tracking-tight",children:"Congratulations!"}),(0,n.jsx)("p",{className:"leading-7 text-muted-foreground",children:"You have successfully created an admin account."}),(0,n.jsx)("p",{className:"mb-3 leading-7 text-muted-foreground",children:"To start, navigate to the dashboard and invite other members to join your server."}),(0,n.jsx)(i.z,{className:"mt-5 w-48 focus-visible:ring-0",onClick:()=>e.replace("/"),ref:o,children:"Go to dashboard"})]})]})}function C(){let e=(0,s.useSearchParams)(),t=e.get("invitationCode")||void 0,r=e.get("isAdmin")||!1;return r?(0,n.jsx)(I,{}):t?(0,n.jsx)(w,{title:"Create an account",description:"Fill form below to create your account",show:!0}):(0,n.jsx)(w,{title:"No invitation code",description:"Please contact your Tabby admin for an invitation code to register"})}function w(e){let{title:t,description:r,show:a}=e,o=(0,s.useSearchParams)(),i=o.get("invitationCode")||void 0;return(0,n.jsxs)("div",{className:"w-[350px] space-y-6",children:[(0,n.jsxs)("div",{className:"flex flex-col space-y-2 text-center",children:[(0,n.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:t}),(0,n.jsx)("p",{className:"text-sm text-muted-foreground",children:r})]}),a&&(0,n.jsx)(S,{invitationCode:i})]})}r(5499)},4302:function(e,t,r){"use strict";r.d(t,{Lu:function(){return m},Y0:function(){return u}});var n,s,a=r(36164),o=r(3546),i=r(74630),l=r(23782),c=r(57288);(n=s||(s={})).LOWERCASE_MSISSING="lowercase_missing",n.UPPERCASE_MSISSING="uppercase_missing",n.NUMBER_MISSING="number_missing",n.SPECIAL_CHAR_MISSING="special_char_missing",n.AT_LEAST_EIGHT_CHAR="at_least_eight_char",n.AT_MOST_TWENTY_CHAT="at_most_twenty_char";let d=l.Z_().refine(e=>/[a-z]/.test(e),{params:{errorCode:s.LOWERCASE_MSISSING}}).refine(e=>/[A-Z]/.test(e),{params:{errorCode:s.UPPERCASE_MSISSING}}).refine(e=>/\d/.test(e),{params:{errorCode:s.NUMBER_MISSING}}).refine(e=>/[!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?]+/.test(e),{params:{errorCode:s.SPECIAL_CHAR_MISSING}}).refine(e=>e.length>=8,{params:{errorCode:s.AT_LEAST_EIGHT_CHAR}}).refine(e=>e.length<=20,{params:{errorCode:s.AT_MOST_TWENTY_CHAT}}),u=e=>{let[t,r]=o.useState([]);return o.useEffect(()=>{if(!(0,i.Z)(e))try{d.parse(e),r([])}catch(e){e instanceof l.jm&&r(e.issues.map(e=>e.params.errorCode))}},[e]),[t,r]};function m(e){let{password:t,showPasswordSchema:r,passworErrors:n,showPasswordError:o}=e;function i(e){let{errorCode:r,text:s}=e;return(0,a.jsx)("li",{className:(0,c.cn)("py-0.5",{"text-green-600 dark:text-green-500":t.length>0&&!n.includes(r),"text-red-600 dark:text-red-500":o&&t.length>0&&n.includes(r)}),children:s})}return(0,a.jsxs)("div",{className:(0,c.cn)("relative text-sm transition-all",{"h-0 opacity-0 -z-10":!r,"mt-4 h-40 opacity-100":r}),children:[(0,a.jsx)("p",{className:"mb-0.5 text-xs text-muted-foreground",children:"Set up a strong password with"}),(0,a.jsxs)("ul",{className:"list-disc pl-4",children:[(0,a.jsx)(i,{errorCode:s.AT_LEAST_EIGHT_CHAR,text:"At least 8 characters long"}),(0,a.jsx)(i,{errorCode:s.AT_MOST_TWENTY_CHAT,text:"No more than 20 characters long"}),(0,a.jsx)(i,{errorCode:s.LOWERCASE_MSISSING,text:"At least one lowercase character"}),(0,a.jsx)(i,{errorCode:s.UPPERCASE_MSISSING,text:"At least one uppercase character"}),(0,a.jsx)(i,{errorCode:s.NUMBER_MISSING,text:"At least one numeric character"}),(0,a.jsx)(i,{errorCode:s.SPECIAL_CHAR_MISSING,text:"At least one special character , such as @#$%^&{}"})]})]})}},98150:function(e,t,r){"use strict";r.d(t,{NI:function(){return p},Wi:function(){return u},l0:function(){return c},lX:function(){return h},pf:function(){return j},xJ:function(){return x},zG:function(){return g}});var n=r(36164),s=r(3546),a=r(74047),o=r(5493),i=r(57288),l=r(5266);let c=o.RV,d=s.createContext({}),u=e=>{let{...t}=e;return(0,n.jsx)(d.Provider,{value:{name:t.name},children:(0,n.jsx)(o.Qr,{...t})})},m=()=>{let e=s.useContext(d),t=s.useContext(f),{getFieldState:r,formState:n}=(0,o.Gc)(),a=e.name||"root",i=r(a,n);if(!n)throw Error("useFormField should be used within ");let{id:l}=t;return{id:l,name:a,formItemId:"".concat(l,"-form-item"),formDescriptionId:"".concat(l,"-form-item-description"),formMessageId:"".concat(l,"-form-item-message"),...i}},f=s.createContext({}),x=s.forwardRef((e,t)=>{let{className:r,...a}=e,o=s.useId();return(0,n.jsx)(f.Provider,{value:{id:o},children:(0,n.jsx)("div",{ref:t,className:(0,i.cn)("space-y-2",r),...a})})});x.displayName="FormItem";let h=s.forwardRef((e,t)=>{let{className:r,required:s,...a}=e,{error:o,formItemId:c}=m();return(0,n.jsx)(l._,{ref:t,className:(0,i.cn)(o&&"text-destructive",s&&'after:ml-0.5 after:text-destructive after:content-["*"]',r),htmlFor:c,...a})});h.displayName="FormLabel";let p=s.forwardRef((e,t)=>{let{...r}=e,{error:s,formItemId:o,formDescriptionId:i,formMessageId:l}=m();return(0,n.jsx)(a.g7,{ref:t,id:o,"aria-describedby":s?"".concat(i," ").concat(l):"".concat(i),"aria-invalid":!!s,...r})});p.displayName="FormControl";let j=s.forwardRef((e,t)=>{let{className:r,...s}=e,{formDescriptionId:a}=m();return(0,n.jsx)("div",{ref:t,id:a,className:(0,i.cn)("text-sm text-muted-foreground",r),...s})});j.displayName="FormDescription";let g=s.forwardRef((e,t)=>{let{className:r,children:s,...a}=e,{error:o,formMessageId:l}=m(),c=o?String(null==o?void 0:o.message):s;return c?(0,n.jsx)("p",{ref:t,id:l,className:(0,i.cn)("text-sm font-medium text-destructive",r),...a,children:c}):null});g.displayName="FormMessage"},82394:function(e,t,r){"use strict";r.d(t,{I:function(){return o}});var n=r(36164),s=r(3546),a=r(57288);let o=s.forwardRef((e,t)=>{let{className:r,type:s,...o}=e;return(0,n.jsx)("input",{type:s,className:(0,a.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...o})});o.displayName="Input"},5266:function(e,t,r){"use strict";r.d(t,{_:function(){return c}});var n=r(36164),s=r(3546),a=r(90893),o=r(14375),i=r(57288);let l=(0,o.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),c=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.f,{ref:t,className:(0,i.cn)(l(),r),...s})});c.displayName=a.f.displayName},21808:function(e,t,r){"use strict";r.d(t,{$6:function(){return a},$I:function(){return o},L8:function(){return s},ir:function(){return i},o0:function(){return n},rZ:function(){return l}});let n="name@yourcompany.com",s=20,a={DEMO_AUTO_LOGIN:"_tabby_demo_autologin",SEARCH_INITIAL_MSG:"_tabby_search_initial_msg",SEARCH_INITIAL_CONTEXTS:"_tabby_search_initial_contexts"},o=48,i="NOT_FOUND",l="\n"},5499:function(){}},function(e){e.O(0,[8415,7430,55,7812,9643,240,7288,1565,3240,4656,3375,5289,1744],function(){return e(e.s=92589)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/auth/signup/page-90273ec575ae5f61.js b/ee/tabby-webserver/ui/_next/static/chunks/app/auth/signup/page-90273ec575ae5f61.js new file mode 100644 index 000000000000..de92bd9e445a --- /dev/null +++ b/ee/tabby-webserver/ui/_next/static/chunks/app/auth/signup/page-90273ec575ae5f61.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5271],{92589:function(e,r,t){Promise.resolve().then(t.bind(t,4047))},4047:function(e,r,t){"use strict";t.r(r),t.d(r,{default:function(){return C}});var n=t(36164),s=t(11978),a=t(3546),o=t(57288),i=t(31458),l=t(84381),c=t(5493),d=t(23782),u=t(21808),m=t(43240),f=t(91302),x=t(11634),p=t(98150),h=t(81565),j=t(82394),g=t(4302);let N=(0,m.BX)("\n mutation register(\n $name: String!\n $email: String!\n $password1: String!\n $password2: String!\n $invitationCode: String\n ) {\n register(\n name: $name\n email: $email\n password1: $password1\n password2: $password2\n invitationCode: $invitationCode\n ) {\n accessToken\n refreshToken\n }\n }\n"),v=d.Ry({name:d.Z_(),email:d.Z_().email("Invalid email address"),password1:d.Z_(),password2:d.Z_(),invitationCode:d.Z_().optional()});function S(e){var r,t;let{className:d,invitationCode:m,onSuccess:S,buttonClass:_,...w}=e,[C,I]=a.useState(!1),[b,y]=a.useState(!1),A=(0,c.cI)({resolver:(0,l.F)(v),defaultValues:{invitationCode:m}}),{password1:E}=A.watch(),[T]=(0,g.Y0)(E),R=(0,s.useRouter)(),G=(0,f.zq)(),{isSubmitting:M}=A.formState,P=(0,x.Db)(N,{async onCompleted(e){await G(null==e?void 0:e.register)&&(S?S():R.replace("/"))},form:A}),k=()=>{if(0===T.length)return I(!1);y(!0)};return(0,n.jsx)(p.l0,{...A,children:(0,n.jsxs)("div",{className:(0,o.cn)("grid gap-2",d),...w,children:[(0,n.jsxs)("form",{className:"grid gap-4",onSubmit:A.handleSubmit(P),children:[(0,n.jsx)(p.Wi,{control:A.control,name:"name",render:e=>{let{field:r}=e;return(0,n.jsxs)(p.xJ,{children:[(0,n.jsx)(p.lX,{children:"Name"}),(0,n.jsx)(p.NI,{children:(0,n.jsx)(j.I,{...r,value:r.value})}),(0,n.jsx)(p.zG,{})]})}}),(0,n.jsx)(p.Wi,{control:A.control,name:"email",render:e=>{let{field:t}=e;return(0,n.jsxs)(p.xJ,{children:[(0,n.jsx)(p.lX,{children:"Email"}),(0,n.jsx)(p.NI,{children:(0,n.jsx)(j.I,{placeholder:"e.g. ".concat(u.o0),type:"email",autoCapitalize:"none",autoComplete:"email",autoCorrect:"off",...t,value:null!==(r=t.value)&&void 0!==r?r:""})}),(0,n.jsx)(p.zG,{})]})}}),(0,n.jsxs)("div",{children:[(0,n.jsx)(p.Wi,{control:A.control,name:"password1",render:e=>{let{field:r}=e;return(0,n.jsxs)(p.xJ,{children:[(0,n.jsx)(p.lX,{children:"Password"}),(0,n.jsx)(p.NI,{children:(0,n.jsx)(j.I,{type:"password",...r,onFocus:()=>I(!0),onBlur:k})})]})}}),(0,n.jsx)(g.Lu,{password:E||"",showPasswordSchema:C,passworErrors:T,showPasswordError:b})]}),(0,n.jsx)(p.Wi,{control:A.control,name:"password2",render:e=>{let{field:r}=e;return(0,n.jsxs)(p.xJ,{children:[(0,n.jsx)(p.lX,{children:"Confirm Password"}),(0,n.jsx)(p.NI,{children:(0,n.jsx)(j.I,{type:"password",...r,value:null!==(t=r.value)&&void 0!==t?t:""})}),(0,n.jsx)(p.zG,{})]})}}),(0,n.jsx)(p.Wi,{control:A.control,name:"invitationCode",render:e=>{let{field:r}=e;return(0,n.jsx)(p.xJ,{className:"hidden",children:(0,n.jsx)(p.NI,{children:(0,n.jsx)(j.I,{type:"hidden",...r})})})}}),(0,n.jsxs)(i.z,{type:"submit",className:(0,o.cn)("mt-2",_),disabled:M,children:[M&&(0,n.jsx)(h.IconSpinner,{className:"mr-2 h-4 w-4 animate-spin"}),"Register"]})]}),(0,n.jsx)(p.zG,{className:"text-center"})]})})}function _(e){let{step:r,currentStep:t,children:s}=e;return(0,n.jsx)("div",{id:"step-".concat(r),className:(0,o.cn)("border-l border-foreground py-8 pl-12 pr-2",{"step-mask":r!==t,remote:Math.abs(t-r)>1}),children:s})}function w(){let e=(0,s.useRouter)(),[r,t]=(0,a.useState)(1),o=(0,a.useRef)(null);return(0,a.useEffect)(()=>{var e;1!==r&&(null===(e=document.getElementById("step-".concat(r)))||void 0===e||e.scrollIntoView({behavior:"smooth"}))},[r]),(0,n.jsxs)("div",{className:"admin-register-wrap h-screen w-[600px] overflow-hidden",children:[(0,n.jsxs)(_,{step:1,currentStep:r,children:[(0,n.jsx)("h2",{className:"text-3xl font-semibold tracking-tight first:mt-0",children:"Welcome!"}),(0,n.jsx)("p",{className:"mt-2 leading-7 text-muted-foreground",children:"Your tabby server is live and ready to use. This step by step guide will help you set up your admin account."}),(0,n.jsx)("p",{className:"leading-7 text-muted-foreground",children:"Admin account is the highest level of access in your server. Once created, you can invite other members to join your server."}),(0,n.jsx)(i.z,{className:"mt-5 w-48",onClick:()=>t(2),children:"Start"})]}),(0,n.jsxs)(_,{step:2,currentStep:r,children:[(0,n.jsx)("h3",{className:"text-2xl font-semibold tracking-tight",children:"Create Admin Account"}),(0,n.jsx)("p",{className:"mb-3 leading-7 text-muted-foreground",children:"Please store your password in a safe place. We do not store your password and cannot recover it for you."}),(0,n.jsx)(S,{onSuccess:()=>{var e;t(3),null===(e=o.current)||void 0===e||e.focus()},buttonClass:"self-start w-48"})]}),(0,n.jsxs)(_,{step:3,currentStep:r,children:[(0,n.jsx)("h3",{className:"text-2xl font-semibold tracking-tight",children:"Congratulations!"}),(0,n.jsx)("p",{className:"leading-7 text-muted-foreground",children:"You have successfully created an admin account."}),(0,n.jsx)("p",{className:"mb-3 leading-7 text-muted-foreground",children:"To start, navigate to the dashboard and invite other members to join your server."}),(0,n.jsx)(i.z,{className:"mt-5 w-48 focus-visible:ring-0",onClick:()=>e.replace("/"),ref:o,children:"Go to dashboard"})]})]})}function C(){let e=(0,s.useSearchParams)(),r=e.get("invitationCode")||void 0,t=e.get("isAdmin")||!1;return t?(0,n.jsx)(w,{}):r?(0,n.jsx)(I,{title:"Create an account",description:"Fill form below to create your account",show:!0}):(0,n.jsx)(I,{title:"No invitation code",description:"Please contact your Tabby admin for an invitation code to register"})}function I(e){let{title:r,description:t,show:a}=e,o=(0,s.useSearchParams)(),i=o.get("invitationCode")||void 0;return(0,n.jsxs)("div",{className:"w-[350px] space-y-6",children:[(0,n.jsxs)("div",{className:"flex flex-col space-y-2 text-center",children:[(0,n.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:r}),(0,n.jsx)("p",{className:"text-sm text-muted-foreground",children:t})]}),a&&(0,n.jsx)(S,{invitationCode:i})]})}t(5499)},4302:function(e,r,t){"use strict";t.d(r,{Lu:function(){return m},Y0:function(){return u}});var n,s,a=t(36164),o=t(3546),i=t(74630),l=t(23782),c=t(57288);(n=s||(s={})).LOWERCASE_MSISSING="lowercase_missing",n.UPPERCASE_MSISSING="uppercase_missing",n.NUMBER_MISSING="number_missing",n.SPECIAL_CHAR_MISSING="special_char_missing",n.AT_LEAST_EIGHT_CHAR="at_least_eight_char",n.AT_MOST_TWENTY_CHAT="at_most_twenty_char";let d=l.Z_().refine(e=>/[a-z]/.test(e),{params:{errorCode:s.LOWERCASE_MSISSING}}).refine(e=>/[A-Z]/.test(e),{params:{errorCode:s.UPPERCASE_MSISSING}}).refine(e=>/\d/.test(e),{params:{errorCode:s.NUMBER_MISSING}}).refine(e=>/[!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?]+/.test(e),{params:{errorCode:s.SPECIAL_CHAR_MISSING}}).refine(e=>e.length>=8,{params:{errorCode:s.AT_LEAST_EIGHT_CHAR}}).refine(e=>e.length<=20,{params:{errorCode:s.AT_MOST_TWENTY_CHAT}}),u=e=>{let[r,t]=o.useState([]);return o.useEffect(()=>{if(!(0,i.Z)(e))try{d.parse(e),t([])}catch(e){e instanceof l.jm&&t(e.issues.map(e=>e.params.errorCode))}},[e]),[r,t]};function m(e){let{password:r,showPasswordSchema:t,passworErrors:n,showPasswordError:o}=e;function i(e){let{errorCode:t,text:s}=e;return(0,a.jsx)("li",{className:(0,c.cn)("py-0.5",{"text-green-600 dark:text-green-500":r.length>0&&!n.includes(t),"text-red-600 dark:text-red-500":o&&r.length>0&&n.includes(t)}),children:s})}return(0,a.jsxs)("div",{className:(0,c.cn)("relative text-sm transition-all",{"h-0 opacity-0 -z-10":!t,"mt-4 h-40 opacity-100":t}),children:[(0,a.jsx)("p",{className:"mb-0.5 text-xs text-muted-foreground",children:"Set up a strong password with"}),(0,a.jsxs)("ul",{className:"list-disc pl-4",children:[(0,a.jsx)(i,{errorCode:s.AT_LEAST_EIGHT_CHAR,text:"At least 8 characters long"}),(0,a.jsx)(i,{errorCode:s.AT_MOST_TWENTY_CHAT,text:"No more than 20 characters long"}),(0,a.jsx)(i,{errorCode:s.LOWERCASE_MSISSING,text:"At least one lowercase character"}),(0,a.jsx)(i,{errorCode:s.UPPERCASE_MSISSING,text:"At least one uppercase character"}),(0,a.jsx)(i,{errorCode:s.NUMBER_MISSING,text:"At least one numeric character"}),(0,a.jsx)(i,{errorCode:s.SPECIAL_CHAR_MISSING,text:"At least one special character , such as @#$%^&{}"})]})]})}},98150:function(e,r,t){"use strict";t.d(r,{NI:function(){return h},Wi:function(){return u},l0:function(){return c},lX:function(){return p},pf:function(){return j},xJ:function(){return x},zG:function(){return g}});var n=t(36164),s=t(3546),a=t(74047),o=t(5493),i=t(57288),l=t(5266);let c=o.RV,d=s.createContext({}),u=e=>{let{...r}=e;return(0,n.jsx)(d.Provider,{value:{name:r.name},children:(0,n.jsx)(o.Qr,{...r})})},m=()=>{let e=s.useContext(d),r=s.useContext(f),{getFieldState:t,formState:n}=(0,o.Gc)(),a=e.name||"root",i=t(a,n);if(!n)throw Error("useFormField should be used within ");let{id:l}=r;return{id:l,name:a,formItemId:"".concat(l,"-form-item"),formDescriptionId:"".concat(l,"-form-item-description"),formMessageId:"".concat(l,"-form-item-message"),...i}},f=s.createContext({}),x=s.forwardRef((e,r)=>{let{className:t,...a}=e,o=s.useId();return(0,n.jsx)(f.Provider,{value:{id:o},children:(0,n.jsx)("div",{ref:r,className:(0,i.cn)("space-y-2",t),...a})})});x.displayName="FormItem";let p=s.forwardRef((e,r)=>{let{className:t,required:s,...a}=e,{error:o,formItemId:c}=m();return(0,n.jsx)(l._,{ref:r,className:(0,i.cn)(o&&"text-destructive",s&&'after:ml-0.5 after:text-destructive after:content-["*"]',t),htmlFor:c,...a})});p.displayName="FormLabel";let h=s.forwardRef((e,r)=>{let{...t}=e,{error:s,formItemId:o,formDescriptionId:i,formMessageId:l}=m();return(0,n.jsx)(a.g7,{ref:r,id:o,"aria-describedby":s?"".concat(i," ").concat(l):"".concat(i),"aria-invalid":!!s,...t})});h.displayName="FormControl";let j=s.forwardRef((e,r)=>{let{className:t,...s}=e,{formDescriptionId:a}=m();return(0,n.jsx)("div",{ref:r,id:a,className:(0,i.cn)("text-sm text-muted-foreground",t),...s})});j.displayName="FormDescription";let g=s.forwardRef((e,r)=>{let{className:t,children:s,...a}=e,{error:o,formMessageId:l}=m(),c=o?String(null==o?void 0:o.message):s;return c?(0,n.jsx)("p",{ref:r,id:l,className:(0,i.cn)("text-sm font-medium text-destructive",t),...a,children:c}):null});g.displayName="FormMessage"},82394:function(e,r,t){"use strict";t.d(r,{I:function(){return o}});var n=t(36164),s=t(3546),a=t(57288);let o=s.forwardRef((e,r)=>{let{className:t,type:s,...o}=e;return(0,n.jsx)("input",{type:s,className:(0,a.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),ref:r,...o})});o.displayName="Input"},5266:function(e,r,t){"use strict";t.d(r,{_:function(){return c}});var n=t(36164),s=t(3546),a=t(90893),o=t(14375),i=t(57288);let l=(0,o.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),c=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)(a.f,{ref:r,className:(0,i.cn)(l(),t),...s})});c.displayName=a.f.displayName},21808:function(e,r,t){"use strict";t.d(r,{$6:function(){return a},$I:function(){return o},L8:function(){return s},ir:function(){return i},o0:function(){return n},rZ:function(){return l}});let n="name@yourcompany.com",s=20,a={DEMO_AUTO_LOGIN:"_tabby_demo_autologin"},o=48,i="NOT_FOUND",l="\n"},5499:function(){}},function(e){e.O(0,[8415,7430,55,7812,9643,240,7288,1565,3240,4656,3375,5289,1744],function(){return e(e.s=92589)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/chat/page-07e6b44c42be9da2.js b/ee/tabby-webserver/ui/_next/static/chunks/app/chat/page-07e6b44c42be9da2.js new file mode 100644 index 000000000000..243a47996ce0 --- /dev/null +++ b/ee/tabby-webserver/ui/_next/static/chunks/app/chat/page-07e6b44c42be9da2.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1929],{14454:function(e,t,n){Promise.resolve().then(n.bind(n,7931))},7931:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return k}});var r=n(36164),l=n(3546),s=n(42891),a=n.n(s),o=n(11978),i=n(23342),c=n(94755),u=n(47190),d=n.n(u),m=n(42450),p=n(36982),f=n(93668),y=n(11075),h=n(14439),v=n(57288),x=n(31458),w=n(81565),j=n(3236),g=n(73033);n(2596);var E=n(66794);let b=e=>d()(e).hsl().toString().replace(/hsla?\(/,"").replace(")","").split(",").slice(0,3).map((e,t)=>0===t?parseFloat(e).toFixed(1):e).join("");function k(){let[e,t]=(0,l.useState)(!1),[n,s]=(0,l.useState)(null),[u,d]=(0,l.useState)(""),[k,N]=(0,l.useState)(),[S,C]=(0,l.useState)([]),[K,R]=(0,l.useState)(null),[L,I]=(0,l.useState)(null),[A,W]=(0,l.useState)(!1),O=(0,l.useRef)(null),[T,Z]=(0,l.useState)(!1),{width:_}=(0,c.iP)(),F=(0,l.useRef)(_),V=(0,l.useRef)(null),P=(0,o.useSearchParams)(),G=P.get("client"),Y=!!G||void 0,z=(0,l.useRef)(),[B,H]=(0,l.useState)(!1),[J,M]=(0,l.useState)(!1),[q,Q]=(0,l.useState)(!1),X=e=>{O.current?O.current.executeCommand(e):N(e)},D=e=>{if(O.current)O.current.addRelevantContext(e);else{let t=[...S];t.push(e),C(t)}},U=e=>{O.current?O.current.updateActiveSelection(e):e&&R(e)},$=(0,h.H)({init:e=>{O.current||(G&&(0,E.zr)(e.fetcherOptions),d((0,v.x0)()),t(!0),s(e.fetcherOptions),z.current=e.useMacOSKeyboardEventHandler)},executeCommand:async e=>X(e),showError:e=>{I(e)},cleanError:()=>{I(null)},addRelevantContext:e=>D(e),updateTheme:(e,t)=>{let n=e.split(";").filter(e=>e).map(e=>{let[t,n]=e.split(":"),r=n.trim(),l=r.startsWith("#")||r.startsWith("rgb");if(!l)return"".concat(t,": ").concat(n);let s=b(r);return"".concat(t,": ").concat(s)}).join(";");document.documentElement.style.cssText=n,document.documentElement.className=t+" client client-".concat(G)},updateActiveSelection:e=>U(e)});(0,l.useEffect)(()=>{let e=()=>{setTimeout(()=>{var e;null===(e=V.current)||void 0===e||e.focus()},0)};return window.addEventListener("focus",e),()=>{window.removeEventListener("focus",e)}}),(0,l.useEffect)(()=>{let e=(e,t)=>{null==$||$.onKeyboardEvent(e,{code:t.code,isComposing:t.isComposing,key:t.key,altKey:t.altKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,shiftKey:t.shiftKey,location:t.location,repeat:t.repeat,keyCode:t.keyCode})},t=t=>{z.current?t.metaKey&&"KeyC"===t.code?document.execCommand("copy"):t.metaKey&&"KeyX"===t.code?document.execCommand("cut"):t.metaKey&&"KeyV"===t.code?document.execCommand("paste"):t.metaKey&&"KeyA"===t.code?document.execCommand("selectAll"):e("keydown",t):e("keydown",t)},n=t=>{e("keyup",t)},r=t=>{e("keypress",t)};return window.addEventListener("keydown",t),window.addEventListener("keyup",n),window.addEventListener("keypress",r),()=>{window.removeEventListener("keydown",t),window.removeEventListener("keyup",n),window.removeEventListener("keypress",r)}},[$,G]),(0,l.useEffect)(()=>{if($){null==$||$.onLoaded({apiVersion:y.uL});let e=async()=>{null==$||$.hasCapability("onApplyInEditorV2").then(H),null==$||$.hasCapability("lookupSymbol").then(M),null==$||$.hasCapability("readWorkspaceGitRepositories").then(Q)};e()}},[$]),(0,l.useLayoutEffect)(()=>{if(T){if(_&&e&&n&&!L&&!F.current){var t;null===(t=O.current)||void 0===t||t.focus()}F.current=_}},[_,T]);let ee=()=>{C([]),N(void 0),R(null)},et=async e=>{var t;return null!==(t=null==$?void 0:$.openInEditor(e))&&void 0!==t&&t},en=async e=>null==$?void 0:$.openExternal(e),er=async()=>{W(!0),await (null==$?void 0:$.refresh()),W(!1)};function el(e){let{children:t}=e;return(0,r.jsxs)("div",{className:"h-screen w-screen",style:{padding:"intellij"==G?"20px":"5px 18px"},children:[(0,r.jsxs)("div",{className:"flex items-center",style:{marginBottom:"0.55em"},children:[(0,r.jsx)(a(),{src:i.Z,alt:"logo",className:"rounded-full",style:{background:"rgb(232, 226, 210)",marginRight:"0.375em",padding:"0.15em"},width:18}),(0,r.jsx)("p",{className:"font-semibold",children:"Tabby"})]}),t]})}return L?(0,r.jsx)(el,{children:(0,r.jsxs)(r.Fragment,{children:[L.title&&(0,r.jsx)("p",{className:"mb-1.5 mt-2 font-semibold",children:L.title}),(0,r.jsx)(g.s,{className:"prose max-w-none break-words dark:prose-invert prose-p:leading-relaxed prose-pre:mt-1 prose-pre:p-0",remarkPlugins:[p.Z,f.Z],children:L.content}),(0,r.jsxs)(x.z,{className:"mt-5 flex items-center gap-x-2 text-sm leading-none",onClick:er,children:[A&&(0,r.jsx)(w.IconSpinner,{}),"Refresh"]})]})}):e&&n?(0,r.jsx)(m.SV,{FallbackComponent:function(e){let{error:t}=e;return(0,r.jsxs)(el,{children:[(0,r.jsx)("p",{className:"mb-1.5 mt-2 font-semibold",children:"Something went wrong"}),(0,r.jsx)("p",{children:t.message}),(0,r.jsxs)(x.z,{className:"mt-5 flex items-center gap-x-2 text-sm leading-none",onClick:er,children:[A&&(0,r.jsx)(w.IconSpinner,{}),"Refresh"]})]})},children:(0,r.jsx)(j.e,{chatId:u,ref:O,chatInputRef:V,onLoaded:()=>{let e=O.current;e&&(S.forEach(t=>{e.addRelevantContext(t)}),K&&e.updateActiveSelection(K),k&&setTimeout(()=>{e.executeCommand(k)},500),ee(),Z(!0))},maxWidth:"vscode"===G?"5xl":void 0,onCopyContent:Y&&(null==$?void 0:$.onCopy),onApplyInEditor:Y&&(B?null==$?void 0:$.onApplyInEditorV2:null==$?void 0:$.onApplyInEditor),supportsOnApplyInEditorV2:B,onLookupSymbol:Y&&(J?null==$?void 0:$.lookupSymbol:void 0),openInEditor:et,openExternal:en,readWorkspaceGitRepositories:q?null==$?void 0:$.readWorkspaceGitRepositories:void 0},u)}):(0,r.jsx)(el,{children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{className:"opacity-80",children:"Welcome to Tabby Chat! Just a moment while we get things ready..."}),(0,r.jsx)(w.IconSpinner,{className:"mx-auto",style:{marginTop:"1.25em",width:"0.875em",height:"0.875em"}})]})})}},6230:function(e,t,n){"use strict";var r=n(36164),l=n(3546),s=n(24449),a=n(90379);t.Z=e=>{let{loading:t,fallback:n,delay:o,children:i}=e,[c,u]=l.useState(!t),[d]=(0,s.n)(c,null!=o?o:200);return(l.useEffect(()=>{t||c||u(!0)},[t]),d)?i:n||(0,r.jsx)(a.cg,{})}},52569:function(e,t,n){"use strict";n.d(t,{SQ:function(){return g},Yt:function(){return j},nY:function(){return w}});var r=n(36164),l=n(3546),s=n(87782),a=n(21454),o=n(36327),i=n(98454),c=n(3765),u=n(57288),d=n(66612);let m=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)(d.fC,{ref:t,className:(0,u.cn)("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",n),...l})});m.displayName=d.fC.displayName;let p=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)(d.Ee,{ref:t,className:(0,u.cn)("aspect-square h-full w-full",n),...l})});p.displayName=d.Ee.displayName;let f=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)(d.NY,{ref:t,className:(0,u.cn)("flex h-full w-full items-center justify-center rounded-full bg-muted",n),...l})});f.displayName=d.NY.displayName;var y=n(3448),h=n(30410).lW;let v="not_found",x=new Set,w=e=>{x.delete(e),(0,a.JG)("/avatar/".concat(e))};function j(e){var t;let{user:n,className:a,fallback:i}=e,d=null==n?void 0:n.id,w=d?"/avatar/".concat(d):null,{data:j,isLoading:g,error:E}=(0,o.Z)(w,e=>{if(!(!d||x.has(d)))return(0,c.Z)(e,{responseFormatter:async e=>{let t=await e.blob(),n=h.from(await t.arrayBuffer());return"data:image/png;base64,".concat(n.toString("base64"))},errorHandler:e=>{if(404===e.status)throw Error(v)}})}),b=l.useMemo(()=>{if(null==n?void 0:n.email)return(0,s.B)(n.email)},[null==n?void 0:n.email]);return g?(0,r.jsx)(y.O,{className:(0,u.cn)("h-16 w-16 rounded-full",a)}):((null==E?void 0:E.message)===v&&d&&x.add(d),j||b||!i)?!j&&b?(0,r.jsx)(s.Z,{className:(0,u.cn)("h-16 w-16",a),...b}):(0,r.jsxs)(m,{className:(0,u.cn)("h-16 w-16",a),children:[(0,r.jsx)(p,{src:j,alt:null==n?void 0:n.email,className:"object-cover"}),(0,r.jsx)(f,{children:null==n?void 0:null===(t=n.email)||void 0===t?void 0:t.substring(0,2)})]}):i}function g(e){let[{data:t}]=(0,i.P)();return(0,r.jsx)(j,{user:null==t?void 0:t.me,...e})}},2596:function(){}},function(e){e.O(0,[8415,3078,753,7430,55,7812,9643,4752,3449,2578,8511,4421,1454,7070,1002,6805,4546,9275,4405,5083,8300,1266,440,9427,2763,7288,1565,4656,3236,9002,3375,5289,1744],function(){return e(e.s=14454)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/chat/page-f3cdfa07815f5b3a.js b/ee/tabby-webserver/ui/_next/static/chunks/app/chat/page-f3cdfa07815f5b3a.js deleted file mode 100644 index 64baf1352e93..000000000000 --- a/ee/tabby-webserver/ui/_next/static/chunks/app/chat/page-f3cdfa07815f5b3a.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1929],{14454:function(e,t,n){Promise.resolve().then(n.bind(n,7931))},7931:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return k}});var s=n(36164),l=n(3546),r=n(42891),a=n.n(r),o=n(11978),i=n(23342),c=n(94755),u=n(47190),d=n.n(u),m=n(42450),p=n(36982),f=n(93668),h=n(11075),y=n(14439),v=n(57288),x=n(31458),w=n(81565),g=n(50445),j=n(73033);n(2596);var b=n(66794);let E=e=>d()(e).hsl().toString().replace(/hsla?\(/,"").replace(")","").split(",").slice(0,3).map((e,t)=>0===t?parseFloat(e).toFixed(1):e).join("");function k(){let[e,t]=(0,l.useState)(!1),[n,r]=(0,l.useState)(null),[u,d]=(0,l.useState)(""),[k,S]=(0,l.useState)([]),[N,C]=(0,l.useState)([]),[K,R]=(0,l.useState)(null),[L,I]=(0,l.useState)(null),[A,W]=(0,l.useState)(!1),O=(0,l.useRef)(null),[T,Z]=(0,l.useState)(!1),{width:_}=(0,c.iP)(),F=(0,l.useRef)(_),V=(0,l.useRef)(null),M=(0,o.useSearchParams)(),P=M.get("client"),G=!!P||void 0,Y=(0,l.useRef)(),[z,B]=(0,l.useState)(!1),[H,J]=(0,l.useState)(!1),[q,Q]=(0,l.useState)(!1),U=e=>{if(O.current)O.current.sendUserChat(e);else{let t=[...k];t.push(e),S(t)}},X=e=>{if(O.current)O.current.addRelevantContext(e);else{let t=[...N];t.push(e),C(t)}},D=(0,y.H)({init:e=>{O.current||(P&&(0,b.zr)(e.fetcherOptions),d((0,v.x0)()),t(!0),r(e.fetcherOptions),Y.current=e.useMacOSKeyboardEventHandler)},sendMessage:e=>U(e),showError:e=>{I(e)},cleanError:()=>{I(null)},addRelevantContext:e=>X(e),updateTheme:(e,t)=>{let n=e.split(";").filter(e=>e).map(e=>{let[t,n]=e.split(":"),s=n.trim(),l=s.startsWith("#")||s.startsWith("rgb");if(!l)return"".concat(t,": ").concat(n);let r=E(s);return"".concat(t,": ").concat(r)}).join(";");document.documentElement.style.cssText=n,document.documentElement.className=t+" client client-".concat(P)},updateActiveSelection:e=>{O.current?O.current.updateActiveSelection(e):e&&R(e)}});(0,l.useEffect)(()=>{let e=()=>{setTimeout(()=>{var e;null===(e=V.current)||void 0===e||e.focus()},0)};return window.addEventListener("focus",e),()=>{window.removeEventListener("focus",e)}}),(0,l.useEffect)(()=>{let e=(e,t)=>{null==D||D.onKeyboardEvent(e,{code:t.code,isComposing:t.isComposing,key:t.key,altKey:t.altKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,shiftKey:t.shiftKey,location:t.location,repeat:t.repeat,keyCode:t.keyCode})},t=t=>{Y.current?t.metaKey&&"KeyC"===t.code?document.execCommand("copy"):t.metaKey&&"KeyX"===t.code?document.execCommand("cut"):t.metaKey&&"KeyV"===t.code?document.execCommand("paste"):t.metaKey&&"KeyA"===t.code?document.execCommand("selectAll"):e("keydown",t):e("keydown",t)},n=t=>{e("keyup",t)},s=t=>{e("keypress",t)};return window.addEventListener("keydown",t),window.addEventListener("keyup",n),window.addEventListener("keypress",s),()=>{window.removeEventListener("keydown",t),window.removeEventListener("keyup",n),window.removeEventListener("keypress",s)}},[D,P]),(0,l.useEffect)(()=>{if(D){null==D||D.onLoaded({apiVersion:h.uL});let e=async()=>{null==D||D.hasCapability("onApplyInEditorV2").then(B),null==D||D.hasCapability("lookupSymbol").then(J),null==D||D.hasCapability("readWorkspaceGitRepositories").then(Q)};e()}},[D]),(0,l.useLayoutEffect)(()=>{if(T){if(_&&e&&n&&!L&&!F.current){var t;null===(t=O.current)||void 0===t||t.focus()}F.current=_}},[_,T]);let $=()=>{C([]),S([]),R(null)},ee=async()=>{W(!0),await (null==D?void 0:D.refresh()),W(!1)};function et(e){let{children:t}=e;return(0,s.jsxs)("div",{className:"h-screen w-screen",style:{padding:"intellij"==P?"20px":"5px 18px"},children:[(0,s.jsxs)("div",{className:"flex items-center",style:{marginBottom:"0.55em"},children:[(0,s.jsx)(a(),{src:i.Z,alt:"logo",className:"rounded-full",style:{background:"rgb(232, 226, 210)",marginRight:"0.375em",padding:"0.15em"},width:18}),(0,s.jsx)("p",{className:"font-semibold",children:"Tabby"})]}),t]})}return L?(0,s.jsx)(et,{children:(0,s.jsxs)(s.Fragment,{children:[L.title&&(0,s.jsx)("p",{className:"mb-1.5 mt-2 font-semibold",children:L.title}),(0,s.jsx)(j.s,{className:"prose max-w-none break-words dark:prose-invert prose-p:leading-relaxed prose-pre:mt-1 prose-pre:p-0",remarkPlugins:[p.Z,f.Z],children:L.content}),(0,s.jsxs)(x.z,{className:"mt-5 flex items-center gap-x-2 text-sm leading-none",onClick:ee,children:[A&&(0,s.jsx)(w.IconSpinner,{}),"Refresh"]})]})}):e&&n?(0,s.jsx)(m.SV,{FallbackComponent:function(e){let{error:t}=e;return(0,s.jsxs)(et,{children:[(0,s.jsx)("p",{className:"mb-1.5 mt-2 font-semibold",children:"Something went wrong"}),(0,s.jsx)("p",{children:t.message}),(0,s.jsxs)(x.z,{className:"mt-5 flex items-center gap-x-2 text-sm leading-none",onClick:ee,children:[A&&(0,s.jsx)(w.IconSpinner,{}),"Refresh"]})]})},children:(0,s.jsx)(g.e,{chatId:u,ref:O,chatInputRef:V,onNavigateToContext:(e,t)=>{null==D||D.navigate(e,t)},onLoaded:()=>{var e;N.forEach(X),k.forEach(U),null===(e=O.current)||void 0===e||e.updateActiveSelection(K),$(),Z(!0)},maxWidth:"vscode"===P?"5xl":void 0,onCopyContent:G&&(null==D?void 0:D.onCopy),onSubmitMessage:G&&(null==D?void 0:D.onSubmitMessage),onApplyInEditor:G&&(z?null==D?void 0:D.onApplyInEditorV2:null==D?void 0:D.onApplyInEditor),supportsOnApplyInEditorV2:z,onLookupSymbol:G&&(H?null==D?void 0:D.lookupSymbol:void 0),openInEditor:G&&(null==D?void 0:D.openInEditor),readWorkspaceGitRepositories:G&&q?null==D?void 0:D.readWorkspaceGitRepositories:void 0},u)}):(0,s.jsx)(et,{children:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("p",{className:"opacity-80",children:"Welcome to Tabby Chat! Just a moment while we get things ready..."}),(0,s.jsx)(w.IconSpinner,{className:"mx-auto",style:{marginTop:"1.25em",width:"0.875em",height:"0.875em"}})]})})}},6230:function(e,t,n){"use strict";var s=n(36164),l=n(3546),r=n(24449),a=n(90379);t.Z=e=>{let{loading:t,fallback:n,delay:o,children:i}=e,[c,u]=l.useState(!t),[d]=(0,r.n)(c,null!=o?o:200);return(l.useEffect(()=>{t||c||u(!0)},[t]),d)?i:n||(0,s.jsx)(a.cg,{})}},52569:function(e,t,n){"use strict";n.d(t,{SQ:function(){return j},Yt:function(){return g},nY:function(){return w}});var s=n(36164),l=n(3546),r=n(87782),a=n(21454),o=n(36327),i=n(98454),c=n(3765),u=n(57288),d=n(66612);let m=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,s.jsx)(d.fC,{ref:t,className:(0,u.cn)("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",n),...l})});m.displayName=d.fC.displayName;let p=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,s.jsx)(d.Ee,{ref:t,className:(0,u.cn)("aspect-square h-full w-full",n),...l})});p.displayName=d.Ee.displayName;let f=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,s.jsx)(d.NY,{ref:t,className:(0,u.cn)("flex h-full w-full items-center justify-center rounded-full bg-muted",n),...l})});f.displayName=d.NY.displayName;var h=n(3448),y=n(30410).lW;let v="not_found",x=new Set,w=e=>{x.delete(e),(0,a.JG)("/avatar/".concat(e))};function g(e){var t;let{user:n,className:a,fallback:i}=e,d=null==n?void 0:n.id,w=d?"/avatar/".concat(d):null,{data:g,isLoading:j,error:b}=(0,o.Z)(w,e=>{if(!(!d||x.has(d)))return(0,c.Z)(e,{responseFormatter:async e=>{let t=await e.blob(),n=y.from(await t.arrayBuffer());return"data:image/png;base64,".concat(n.toString("base64"))},errorHandler:e=>{if(404===e.status)throw Error(v)}})}),E=l.useMemo(()=>{if(null==n?void 0:n.email)return(0,r.B)(n.email)},[null==n?void 0:n.email]);return j?(0,s.jsx)(h.O,{className:(0,u.cn)("h-16 w-16 rounded-full",a)}):((null==b?void 0:b.message)===v&&d&&x.add(d),g||E||!i)?!g&&E?(0,s.jsx)(r.Z,{className:(0,u.cn)("h-16 w-16",a),...E}):(0,s.jsxs)(m,{className:(0,u.cn)("h-16 w-16",a),children:[(0,s.jsx)(p,{src:g,alt:null==n?void 0:n.email,className:"object-cover"}),(0,s.jsx)(f,{children:null==n?void 0:null===(t=n.email)||void 0===t?void 0:t.substring(0,2)})]}):i}function j(e){let[{data:t}]=(0,i.P)();return(0,s.jsx)(g,{user:null==t?void 0:t.me,...e})}},2596:function(){}},function(e){e.O(0,[8415,3078,753,7430,55,7812,9643,4752,3449,2578,8511,4421,1454,7070,5669,4546,6805,9275,4405,5083,1522,1266,440,9427,2763,7288,1565,4656,445,9002,3375,5289,1744],function(){return e(e.s=14454)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/files/page-3002ce5b43c39209.js b/ee/tabby-webserver/ui/_next/static/chunks/app/files/page-3002ce5b43c39209.js new file mode 100644 index 000000000000..29ca60b80bad --- /dev/null +++ b/ee/tabby-webserver/ui/_next/static/chunks/app/files/page-3002ce5b43c39209.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[357],{88177:function(e,t,n){Promise.resolve().then(n.bind(n,31919))},31919:function(e,t,n){"use strict";n.r(t),n.d(t,{SourceCodeBrowser:function(){return tl},SourceCodeBrowserContext:function(){return te}});var r=n(36164),l=n(3546),s=n(11978),a=n(57778),i=n(1853),o=n(94909),c=n(74630),d=n(26165),u=n(21454),f=n(43240),m=n(44645),p=n(80605),h=n(63484),x=n(3765),v=n(11634),g=n(70410),b=n(57288),j=n(53538),y=n(57830),N=n(30601),k=n(90379),w=n(38736),C=n(27064),S=n(50538),R=n(42891),I=n.n(R),E=n(23342),F=n(91655),O=n(2578),A=n(28312),L=n(31458),_=n(81565),P=n(29),D=n(48048);let T=e=>{let{blob:t,className:n,canCopy:s,hideBlobActions:a,contentLength:i,children:o,...c}=e,{chatSideBarVisible:d,setChatSideBarVisible:u,isChatEnabled:f}=l.useContext(te),{activePath:m}=l.useContext(te),{isCopied:p,copyToClipboard:h}=(0,A.m)({timeout:2e3}),x=f&&!d,v=i?(0,F.Z)(i):"",g=async()=>{if(!p&&t)try{let e=await t.text();h(e)}catch(e){O.A.error("Something went wrong. Please try again.")}};return(0,r.jsx)("div",{className:(0,b.cn)("rounded-t-lg border",n),...c,children:!a&&(0,r.jsxs)("div",{className:(0,b.cn)("flex items-center justify-between rounded-t-lg bg-secondary p-2 text-secondary-foreground"),children:[(0,r.jsxs)("div",{className:"flex h-8 items-center gap-4 leading-8",children:[o,(0,r.jsx)("span",{className:"ml-2 text-sm text-muted-foreground",children:v})]}),(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[s&&(0,r.jsxs)(P.u,{children:[(0,r.jsx)(P.aJ,{asChild:!0,children:(0,r.jsxs)(L.z,{variant:"ghost",size:"icon",onClick:g,children:[p?(0,r.jsx)(_.IconCheck,{className:"text-green-600"}):(0,r.jsx)(_.IconCopy,{}),(0,r.jsx)("span",{className:"sr-only",children:"Copy"})]})}),(0,r.jsx)(P._v,{children:"Copy raw file"})]}),!!t&&(0,r.jsxs)(P.u,{children:[(0,r.jsx)(P.aJ,{asChild:!0,children:(0,r.jsx)("a",{className:(0,L.d)({variant:"ghost",size:"icon"}),download:(0,D.i3)(null!=m?m:""),href:URL.createObjectURL(t),children:(0,r.jsx)(_.IconDownload,{})})}),(0,r.jsx)(P._v,{children:"Download raw file"})]}),x&&(0,r.jsxs)(P.u,{children:[(0,r.jsx)(P.aJ,{asChild:!0,children:(0,r.jsxs)(L.z,{variant:"ghost",className:"flex shrink-0 items-center gap-1 px-2",onClick:e=>u(!d),children:[(0,r.jsx)(I(),{alt:"Tabby logo",src:E.Z,width:24}),"Ask Tabby"]})}),(0,r.jsx)(P._v,{children:"Open chat panel"})]})]})]})})},z=e=>{let{className:t,blob:n,isImage:s}=e,{activePath:a}=(0,l.useContext)(te);return(0,r.jsx)("div",{className:(0,b.cn)(t),children:(0,r.jsx)("div",{className:"rounded-b-lg border border-t-0 p-2 text-center",children:s?(0,r.jsx)("img",{className:"mx-auto",src:n?URL.createObjectURL(n):void 0}):(0,r.jsx)("a",{className:"text-primary hover:underline",download:(0,D.i3)(null!=a?a:""),href:n?URL.createObjectURL(n):"",target:"_blank",children:"View raw"})})})},M=l.lazy(()=>Promise.all([n.e(9148),n.e(4015)]).then(n.bind(n,44015))),U=l.lazy(()=>Promise.all([n.e(1266),n.e(5395),n.e(557)]).then(n.bind(n,30557))),Z=e=>{var t;let{className:n}=e,{searchParams:s}=(0,m.Z)(),{activePath:a}=(0,l.useContext)(te),{textValue:i}=(0,l.useContext)(B),o=a?(0,h.U$)(a)[0]:void 0,c=null!=o?o:"plain",d=(null===(t=s.get("plain"))||void 0===t?void 0:t.toString())==="1";return(0,r.jsx)("div",{className:(0,b.cn)(n),children:(0,r.jsx)("div",{className:"rounded-b-lg border border-t-0",children:(0,r.jsx)(l.Suspense,{fallback:(0,r.jsx)(k.cg,{className:"p-2"}),children:i&&"markdown"===c&&!d?(0,r.jsx)(U,{value:i}):(0,r.jsx)(M,{value:null!=i?i:"",language:c})})})})},B=l.createContext({}),q=e=>{var t;let{className:n,blob:s,contentLength:a,fileDisplayType:i,loading:o}=e,{searchParams:c,updateUrlComponents:d}=(0,m.Z)(),{activePath:u}=l.useContext(te),{textValue:f}=l.useContext(B),p="raw"===i||"image"===i,x=u?(0,h.U$)(u)[0]:void 0,v=(null===(t=c.get("plain"))||void 0===t?void 0:t.toString())==="1";return(0,r.jsxs)("div",{className:(0,b.cn)(n),children:[(0,r.jsx)("div",{className:"sticky top-0 z-10 overflow-hidden bg-background",children:(0,r.jsx)(T,{blob:s,contentLength:a,canCopy:!p,children:!!f&&"markdown"===(null!=x?x:"plain")&&(0,r.jsx)(S.mQ,{value:v?"1":"0",onValueChange:e=>{"1"===e?d({searchParams:{set:{plain:"1"}}}):d({searchParams:{del:"plain"}})},children:(0,r.jsxs)(S.dr,{children:[(0,r.jsx)(S.SP,{value:"0",children:"Preview"}),(0,r.jsx)(S.SP,{value:"1",children:"Code"})]})})})}),o&&!s?(0,r.jsx)(k.cg,{className:"p-2"}):p?(0,r.jsx)(z,{blob:s,isImage:"image"===i}):(0,r.jsx)(Z,{})]})},V=e=>{let{blob:t,fileDisplayType:n,contentLength:s}=e,[a,i]=l.useState();return l.useEffect(()=>{let e=async e=>{try{let t=await e.text();i(t)}catch(e){i("")}};t&&"text"===n&&e(t)},[t,n]),(0,r.jsx)(B.Provider,{value:{textValue:a},children:(0,r.jsx)(q,{blob:t,fileDisplayType:n,contentLength:s})})};var G=n(826),Y=n(14439),H=n(16784),J=n(98454),W=n(17451);let K=e=>{let{activeRepo:t,className:n,...s}=e,[{data:a}]=(0,J.P)(),[i,o]=(0,l.useState)(!1),{pendingEvent:c,setPendingEvent:d,repoMap:u,updateActivePath:f}=l.useContext(te),m=(0,W.a)(e=>e.activeChatId),p=l.useRef(null);(0,l.useRef)(!1);let x=(0,H.d)(u),v=async e=>{let{filepath:t,location:n}=e;if("git"===t.kind){let e=(0,b.AV)(n),l=x.current,s=(0,G.Z)(Object.keys(l),e=>{var n;return(null==l?void 0:null===(n=l[e])||void 0===n?void 0:n.gitUrl)===t.gitUrl});if(s){let n=l[s];if(n){var r;let l=(0,D.s8)(n.refs),s=null===(r=(0,D.r2)(l))||void 0===r?void 0:r.name,a=(0,h.U$)(t.filepath)[0];return f((0,D.I)(n,s,t.filepath,"file"),{hash:e,replace:!1,plain:"markdown"===a&&!!e}),!0}}}return!1},g=(0,H.d)(()=>{if(!t)return[];let e=[{url:t.gitUrl}];return e}),j=(0,Y.m)(p,{refresh:async()=>{window.location.reload(),await new Promise(e=>{setTimeout(()=>e(null),1e3)})},onApplyInEditor(e){},onLoaded(){o(!0)},onCopy(e){},onKeyboardEvent(){},openInEditor:async e=>v(e),openExternal:async e=>{window.open(e,"_blank")},readWorkspaceGitRepositories:async()=>{var e;return null===(e=g.current)||void 0===e?void 0:e.call(g)}}),y=e=>{let{action:t}=e;switch(t){case"explain":return"explain";case"generate_unittest":return"generate-tests";case"generate_doc":return"generate-docs"}};return l.useEffect(()=>{(null==p?void 0:p.current)&&a&&(null==j||j.init({fetcherOptions:{authorization:a.me.authToken}}))},[null==p?void 0:p.current,null==j?void 0:j.init,a]),l.useEffect(()=>{if(c&&j&&i){let e=async()=>{let{lineFrom:e,lineTo:t,code:n,path:r,gitUrl:l}=c;j.updateActiveSelection({kind:"file",content:n,range:{start:e,end:null!=t?t:e},filepath:{kind:"git",filepath:r,gitUrl:l}});let s=y(c);setTimeout(()=>{j.executeCommand(s)},500),d(void 0)};e()}},[i,c]),(0,r.jsxs)("div",{className:(0,b.cn)("flex h-full flex-col",n),...s,children:[(0,r.jsx)(Q,{}),(0,r.jsx)("iframe",{src:"/chat",className:"w-full flex-1 border-0",ref:p},m)]})};function Q(){let{setChatSideBarVisible:e}=l.useContext(te);return(0,r.jsx)("div",{className:"sticky top-0 flex items-center justify-end px-2 py-1",children:(0,r.jsx)(L.z,{size:"icon",variant:"ghost",onClick:t=>e(!1),children:(0,r.jsx)(_.IconClose,{})})})}var $=n(24685),X=n(91299),ee=n(40055),et=n(24449),en=n(82394),er=n(11208);let el=e=>{var t;let{className:n}=e,a=(0,s.useRouter)(),i=(0,s.useSearchParams)(),{activeEntryInfo:o,activeRepo:c,activeRepoRef:d,updateActivePath:u}=l.useContext(te),[f,m]=l.useState(null===(t=i.get("q"))||void 0===t?void 0:t.toString()),[p]=(0,et.n)(f,300),h=l.useRef(null),x=null==c?void 0:c.kind,v=null==c?void 0:c.id,j=l.useMemo(()=>{if(p)return(0,X.Z)(p.replace(/-?(f|lang):\S+\s?/g,""))},[p]),[{data:y}]=(0,ee.aM)({query:g.D7,variables:{kind:x,id:v,pattern:null!=j?j:"",rev:null==d?void 0:d.name},pause:!v||!x||!j}),N=l.useMemo(()=>{var e,t;if(!j)return[];let n=null==y?void 0:null===(e=y.repositorySearch)||void 0===e?void 0:e.slice(0,5);return null!==(t=null==n?void 0:n.map(e=>({repositorySearch:e,value:e.path,label:e.path,type:"file"})))&&void 0!==t?t:[]},[null==y?void 0:y.repositorySearch,j]),k=l.useMemo(()=>{let e=[{label:"Include only results from file path matching the given search pattern.",value:"f",type:"tips"},{label:"Exclude results from file path matching the given search pattern.",value:"-f",type:"tips"},{label:"Include only results from the given language.",value:"lang",type:"tips"},{label:"Exclude results from the given language.",value:"-lang",type:"tips"}];if(!f)return[e[0],e[2]];let t=f.match(/(^|\s)-$/),n=f.match(/(^|\s)-?f$/),r=f.match(/(^|\s)-?l(a(n(g)?)?)?$/);return t?[e[1],e[3]]:n||r?n?e.slice(0,2):r?e.slice(2):[]:[]},[f]),{isOpen:w,getMenuProps:C,getInputProps:S,highlightedIndex:R,getItemProps:I,openMenu:E}=(0,$.Kb)({items:N,onSelectedItemChange(e){let{selectedItem:t}=e;if((null==t?void 0:t.type)==="file"&&t.repositorySearch){let e=(0,D.I)(c,null==d?void 0:d.name,t.repositorySearch.path,t.repositorySearch.type);u(e);return}O(null==t?void 0:t.value)},stateReducer(e,t){let{type:n,changes:r}=t;switch(n){case $.Kb.stateChangeTypes.InputClick:return{...r,highlightedIndex:void 0,isOpen:!0};case $.Kb.stateChangeTypes.InputKeyDownArrowDown:{if(!(null==N?void 0:N.length)||!e.isOpen)return r;let t=e.highlightedIndex===N.length-1;return{...r,highlightedIndex:t?void 0:r.highlightedIndex}}case $.Kb.stateChangeTypes.InputKeyDownArrowUp:{if(!(null==N?void 0:N.length)||!e.isOpen)return r;let t=0===e.highlightedIndex;return{...r,highlightedIndex:t?void 0:r.highlightedIndex}}default:return r}}}),F=e=>{w||E(),m(e)};l.useEffect(()=>{let e=e=>{var t,n;let r=e.target,l=null==r?void 0:null===(t=r.tagName)||void 0===t?void 0:t.toLowerCase();if("input"!==l&&"textarea"!==l&&"select"!==l&&"/"===e.key){e.preventDefault(),null===(n=h.current)||void 0===n||n.focus(),E();return}};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[]);let O=e=>{if(!e)return;let t=(0,D.I)(c,null==o?void 0:o.rev,"","search");a.push("/files/".concat(t,"?q=").concat(encodeURIComponent(e)))},A=!(null==k?void 0:k.length)&&!(null==N?void 0:N.length);return(0,r.jsx)("div",{className:(0,b.cn)("flex w-full shrink-0 items-center bg-background px-4 py-3.5 transition duration-500 ease-in-out",n),children:(0,r.jsxs)("div",{className:(0,b.cn)("relative w-full"),children:[(0,r.jsxs)("div",{className:"h-9",children:[(0,r.jsx)("div",{className:(0,b.cn)({"absolute z-10 inset-0":w}),children:(0,r.jsx)(en.I,{className:"w-full",...S({onKeyDown:e=>{"Enter"!==e.key||e.nativeEvent.isComposing||(e.preventDefault(),O(f))},ref:h}),value:f,onChange:e=>F(e.target.value)})}),!f&&(0,r.jsxs)("div",{className:"absolute left-3 top-1.5 cursor-text select-none text-muted-foreground",onClick:e=>{var t;e.preventDefault(),null===(t=h.current)||void 0===t||t.focus(),E()},children:["Type"," ",(0,r.jsx)("kbd",{className:"rounded border border-muted-foreground px-0.5",children:"/"})," ","to search"]})]}),(0,r.jsxs)("div",{className:"absolute right-2 top-0 z-20 flex h-full items-center",children:[f?(0,r.jsx)(L.z,{variant:"ghost",size:"icon",className:"h-6 w-6 cursor-pointer",onClick:()=>{var e;m(""),null===(e=h.current)||void 0===e||e.focus()},children:(0,r.jsx)(_.IconClose,{})}):null,(0,r.jsx)("div",{className:"z-20 ml-2 flex items-center border-l border-l-border pl-2",children:(0,r.jsx)(L.z,{variant:"ghost",className:"h-6 w-6 ",size:"icon",onClick:()=>O(f),children:(0,r.jsx)(_.IconSearch,{})})})]}),w&&(0,r.jsxs)("div",{className:(0,b.cn)("absolute -inset-x-3 -top-2.5 flex max-h-[60vh] flex-col overflow-hidden rounded-lg border bg-background p-4 shadow-2xl dark:border-2 dark:border-[#33363c] dark:bg-[hsl(0,0,13.5%)]",{"pb-0.5":A}),...C({suppressRefError:!0}),children:[(0,r.jsx)("div",{className:(0,b.cn)("shrink-0",A?"h-9":"h-12")}),(0,r.jsxs)("div",{className:"flex-1 overflow-y-auto",children:[!!(null==k?void 0:k.length)&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"text-md mb-2 pl-2 font-semibold",children:"Narrow your search"}),(0,r.jsx)("div",{className:"space-y-2",children:k.map(e=>(0,r.jsx)(ea,{data:e},e.value))})]}),!!(null==N?void 0:N.length)&&(0,r.jsxs)(r.Fragment,{children:[!!(null==k?void 0:k.length)&&(0,r.jsx)(er.Z,{className:"my-2"}),(0,r.jsx)("div",{className:"text-md mb-1 pl-2 font-semibold",children:"Code"}),N.map((e,t)=>{var n,l;let s=e.repositorySearch,a=R===t;return(0,r.jsxs)("div",{className:(0,b.cn)("relative flex cursor-default select-none items-center gap-1 rounded-sm px-2 py-1.5 text-sm",a&&"cursor-pointer bg-accent text-accent-foreground"),...I({item:e,index:t,onMouseLeave:e=>e.preventDefault(),onMouseOut:e=>e.preventDefault()}),children:[(0,r.jsx)("div",{className:"shrink-0",children:(null==e?void 0:null===(n=e.repositorySearch)||void 0===n?void 0:n.type)==="dir"?(0,r.jsx)(_.IconDirectorySolid,{style:{color:"rgb(84, 174, 255)"}}):(0,r.jsx)(_.IconFile,{})}),(0,r.jsx)("div",{className:"flex-1 break-all",children:(0,r.jsx)(es,{text:s.path,indices:s.indices})}),(0,r.jsx)("div",{className:"shrink-0 text-sm text-muted-foreground",children:"Jump to"})]},null===(l=e.repositorySearch)||void 0===l?void 0:l.path)})]})]})]})]})})};function es(e){let{text:t,indices:n}=e,s=l.useMemo(()=>new Set(n),[n]);return(0,r.jsx)("p",{className:"text-muted-foreground",children:t.split("").map((e,t)=>s.has(t)?(0,r.jsx)("span",{className:"font-semibold text-foreground",children:e},"".concat(e,"_").concat(t)):e)})}function ea(e){let{data:t}=e,{label:n,value:l}=t;return(0,r.jsxs)("div",{className:"flex items-center gap-1 px-2 text-sm",children:[(0,r.jsx)(_.IconFilter,{className:"shrink-0"}),(0,r.jsxs)("div",{className:"text-secondary-foreground",children:[(0,r.jsxs)("span",{className:"mr-0.5 rounded bg-secondary px-1 py-0.5 text-secondary-foreground",children:[l,":"]}),(0,r.jsx)("span",{children:n})]})]})}var ei=n(97651),eo=n.n(ei),ec=n(39018),ed=n.n(ec),eu=n(3448),ef=n(70652),em=n.n(ef),ep=n(88105),eh=n(58388),ex=n(28242),ev=n(33523),eg=n(85312);let eb=ep.tk.theme({".cm-line":{cursor:"pointer"},".cm-line:hover":{opacity:"60%"}});n(55823);let ej=ep.p.mark({class:"search-match-mark"}),ey=ep.tk.theme({".search-match-mark":{backgroundColor:"hsl(var(--mark-bg))"}});function eN(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.state.doc,r=n.length;if(!r)return ep.p.none;let l=[];for(let e of t){let t=n.line(e.lineNumber),s=t.from,a={start:s+e.bytesStart,end:s+e.bytesEnd};try{a&&a.start<=r&&a.end<=r&&l.push(ej.range(a.start,a.end))}catch(e){}}return l.length?ep.p.set(l):ep.p.none}let ek=e=>{let t=ep.lg.fromClass(class{update(t){(t.docChanged||t.viewportChanged)&&(this.marks=eN(t.view,e))}constructor(t){this.marks=eN(t,e)}},{decorations:e=>e.marks});return[t,ey]},ew=l.memo(e=>{let t,{path:n,pattern:l}=e;if(!l)return n;let s=RegExp((0,eh.Z)(l),"gi"),a=[];for(;null!==(t=s.exec(n));){let e=t.index,n=e+t[0].length;a.push({start:e,end:n})}return(0,r.jsx)(eS,{text:n,matches:a})});ew.displayName="FilePathView";let eC=e=>{let{result:t,query:n}=e,{theme:s}=(0,ex.F)(),{activeRepo:a,activeEntryInfo:i}=l.useContext(te),o=l.useMemo(()=>{var e;return null==n?void 0:null===(e=n.match(/f:(\S+)/))||void 0===e?void 0:e[1]},[n]),d=(0,h.U$)(t.path)[0],u=l.useMemo(()=>{var e;let n;let r=[],l=0,s=0,a=null!==(e=t.lines)&&void 0!==e?e:[];return a.forEach((e,t)=>{0===t?(l=t,s=t,n=e.lineNumber):((0,c.Z)(n)||e.lineNumber!==n+1?(n=e.lineNumber,r.push({start:l,end:s}),l=t):n=e.lineNumber,s=t)}),s!==(null==a?void 0:a.length)&&r.push({start:l,end:s}),r},[t.lines]),f="/files/".concat((0,D.I)(a,i.rev,t.path,"file"));return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"sticky top-9 z-10 border bg-secondary p-2 text-secondary-foreground",children:(0,r.jsx)(em(),{href:{pathname:f},className:"inline-flex font-medium text-primary hover:underline",children:(0,r.jsx)(ew,{path:t.path,pattern:o})})}),(0,r.jsx)("div",{className:"divide-y-border mb-6 grid divide-y overflow-x-auto border border-t-0",children:u.map((e,n)=>{let l=t.lines.slice(e.start,e.end+1);return(0,r.jsx)(ev.Z,{height:20*l.length+9,offset:300,children:(0,r.jsx)(eR,{language:d,theme:s,lines:l,path:t.path})},"".concat(t.path,"-").concat(e.start))})})]})};function eS(e){let{text:t,matches:n}=e;if(!n||0===n.length)return(0,r.jsx)("span",{children:t});let l=[],s=0;return n.forEach((e,n)=>{e.start>s&&l.push((0,r.jsx)("span",{children:t.substring(s,e.start)},"text-".concat(n))),l.push((0,r.jsx)("span",{className:"bg-[hsl(var(--mark-bg))]",children:t.substring(e.start,e.end)},"match-".concat(n))),s=e.end}),s{var e;let t=null!==(e=null==i?void 0:i.reduce((e,t)=>e+(t.line.text||atob(t.line.base64||"")||""),""))&&void 0!==e?e:"";return t.replace(/\n$/,"")},[]),m=(null==i?void 0:null===(t=i[0])||void 0===t?void 0:t.lineNumber)||0,p=l.useMemo(()=>{if(null==i?void 0:i.length){var e;let t=[];for(let e=0;e{let t="/files/".concat((0,D.I)(d,u.rev,o,"file"));c.push("".concat(t,"?plain=1#L").concat(m+e-1))},[eb,ep.tk.domEventHandlers({mousedown(t,n){let r=n.posAtCoords({x:t.clientX,y:t.clientY});if(null!=r){let l=n.state.doc.lineAt(r);e(l.number,t)}}})]),...ek(t)]}return[]},[i]);return(0,r.jsx)(eg.Z,{value:f,theme:n,language:a,readonly:!0,extensions:p})}let eI=e=>{var t,n,a;let i=(0,s.useSearchParams)(),o=null!==(n=null===(t=i.get("q"))||void 0===t?void 0:t.toString())&&void 0!==n?n:"",c=l.useMemo(()=>{var t;let n=e.results;return null!==(t=null==n?void 0:n.map(e=>({...e,blob:e.lines.reduce((e,t)=>{var n;return e+(null!==(n=t.line.text)&&void 0!==n?n:"")},"")})))&&void 0!==t?t:[]},[e.results]),d=l.useMemo(()=>{let t=0;if(!e.results)return"0";for(let n of e.results){let e=n.lines.reduce((e,t)=>{let n=t.subMatches.length;return e+n},0);t+=Math.max(e,1)}let n=t<1e3?"0":"0.0a";return ed()(t).format(n)},[e.results]),u=eo().humanizer({units:["d","h","m","s"],spacer:"",maxDecimalPoints:2,language:"shortEn",languages:{shortEn:{m:()=>"m",s:()=>"s"}}})(null!==(a=e.requestDuration)&&void 0!==a?a:0);return(0,r.jsx)(r.Fragment,{children:e.loading?(0,r.jsx)(eE,{className:"mt-3"}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("h1",{className:"sticky top-0 z-20 bg-background pb-2 pt-1 font-semibold",children:[d," results in ",u]}),null==c?void 0:c.map((e,t)=>(0,r.jsx)("div",{children:(0,r.jsx)(eC,{result:e,query:o})},"".concat(e.path,"-").concat(t)))]})})};function eE(e){let{className:t}=e;return(0,r.jsxs)("div",{className:(0,b.cn)("flex flex-col gap-3",t),children:[(0,r.jsx)(eu.O,{className:"h-4 w-[20%]"}),(0,r.jsx)(eu.O,{className:"h-4 w-full"}),(0,r.jsx)(eu.O,{className:"h-8 w-full"})]})}let eF=e=>{let{className:t,error:n}=e,l=(0,r.jsx)(eA,{});switch(null==n?void 0:n.message){case D.l8.REPOSITORY_NOT_FOUND:l=(0,r.jsx)(eO,{});break;case D.l8.REPOSITORY_SYNC_FAILED:l=(0,r.jsx)(eL,{});break;case D.l8.INVALID_URL:l=(0,r.jsx)(e_,{});break;case D.l8.FAILED_TO_FETCH:l=(0,r.jsx)(eP,{})}return(0,r.jsx)("div",{className:(0,b.cn)("flex min-h-[30vh] items-center justify-center",t),children:(0,r.jsx)("div",{className:"flex flex-col items-center gap-4",children:l})})};function eO(){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(_.IconFileSearch,{className:"h-6 w-6"}),(0,r.jsx)("div",{className:"text-xl font-semibold",children:"Repository not found"})]}),(0,r.jsxs)(em(),{href:"/files",className:(0,b.cn)((0,L.d)(),"gap-2"),children:[(0,r.jsx)("span",{children:"Back to repositories"}),(0,r.jsx)(_.IconArrowRight,{})]})]})}function eA(){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(_.IconFileSearch,{className:"h-6 w-6"}),(0,r.jsx)("div",{className:"text-xl font-semibold",children:"Not found"})]}),(0,r.jsxs)(em(),{href:"/files",className:(0,b.cn)((0,L.d)(),"gap-2"),children:[(0,r.jsx)("span",{children:"Back to repositories"}),(0,r.jsx)(_.IconArrowRight,{})]})]})}function eL(){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(_.IconFileSearch,{className:"h-6 w-6"}),(0,r.jsx)("div",{className:"text-xl font-semibold",children:"Repository is not cloned properly"})]}),(0,r.jsx)("div",{children:"The cloning of the repository has failed. Please verify your settings or attempt to retry the job."}),(0,r.jsxs)(em(),{href:"/settings/providers/git",className:(0,b.cn)((0,L.d)(),"gap-2"),children:[(0,r.jsx)("span",{children:"Providers Configuration"}),(0,r.jsx)(_.IconArrowRight,{})]})]})}function e_(){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(_.IconFileSearch,{className:"h-6 w-6"}),(0,r.jsx)("div",{className:"text-xl font-semibold",children:"Invalid URL"})]}),(0,r.jsxs)(em(),{href:"/files",className:(0,b.cn)((0,L.d)(),"gap-2"),children:[(0,r.jsx)("span",{children:"Back to repositories"}),(0,r.jsx)(_.IconArrowRight,{})]})]})}function eP(){return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(_.IconFileSearch,{className:"h-6 w-6"}),(0,r.jsx)("div",{className:"text-xl font-semibold",children:"Failed to fetch"})]})})}var eD=n(48537);let eT=e=>{let{className:t}=e,{currentFileRoutes:n,activeRepo:s,activeEntryInfo:a}=l.useContext(te),i=null==a?void 0:a.basename,o=l.useMemo(()=>{var e;let t=null==a?void 0:a.basename,n=[{name:null!==(e=null==a?void 0:a.repositoryName)&&void 0!==e?e:"",href:(0,D.I)(s,a.rev,"","dir")}];if(t){let e=decodeURIComponent(t).split("/")||[];for(let t=0;t{let n=0===t&&(null==o?void 0:o.length)>1,s=t===o.length-1,a=(0,b.cn)("whitespace-nowrap",n||s?"font-bold":"font-medium",s?"":"cursor-pointer text-primary hover:underline",n?"hover:underline":void 0);return(0,r.jsxs)(l.Fragment,{children:[s?(0,r.jsx)("div",{className:a,children:e.name}):(0,r.jsx)(em(),{className:a,href:"/files/".concat(e.href),children:e.name}),!s&&(0,r.jsx)("div",{children:"/"})]},e.href)})]}),!!(null==n?void 0:n.length)&&!!i&&(0,r.jsx)(eD.q,{className:"shrink-0",value:i})]})};var ez=n(76297),eM=n(36327);let eU=l.createContext({}),eZ=e=>{let{onSelectTreeNode:t,children:n,activePath:l,fileMap:s,updateFileMap:a,expandedKeys:i,toggleExpandedKey:o,initialized:c,fileTreeData:d,fetchingTreeEntries:u}=e;return(0,r.jsx)(eU.Provider,{value:{onSelectTreeNode:t,fileTreeData:d,expandedKeys:i,toggleExpandedKey:o,activePath:l,fileMap:s,updateFileMap:a,initialized:c,fetchingTreeEntries:u},children:n})},eB=e=>{let{level:t}=e,n=l.useMemo(()=>Array(t).fill(1),[t]);return(0,r.jsx)("div",{className:"flex h-full shrink-0 items-stretch",children:n.map((e,t)=>(0,r.jsx)("div",{className:"flex h-8 w-2 border-r border-transparent transition-colors duration-300 group-hover/filetree:border-border"},t))})},eq=()=>{let{ref:e,entry:t,inView:n}=(0,ez.YD)({trackVisibility:!0,delay:500});return l.useEffect(()=>{if((null==t?void 0:t.target)&&!n){var e;null==t||null===(e=t.target)||void 0===e||e.scrollIntoView({block:"center"})}},[null==t?void 0:t.target]),(0,r.jsx)("div",{ref:e,className:"absolute -left-2 h-8 w-1 rounded-md bg-primary"})},eV=e=>{let{isActive:t,level:n,children:l,className:s,...a}=e;return(0,r.jsxs)("div",{className:(0,b.cn)("relative flex h-8 cursor-pointer items-stretch rounded-sm hover:bg-accent focus:bg-accent focus:text-accent-foreground",t&&"bg-accent",s),...a,children:[t&&(0,r.jsx)(eq,{}),(0,r.jsx)(eB,{level:n}),(0,r.jsxs)("div",{className:"flex flex-nowrap items-center gap-2 truncate whitespace-nowrap",children:[(0,r.jsx)("div",{className:"h-4 w-4 shrink-0"}),l]})]})},eG=e=>{let{children:t,level:n,isActive:l,className:s,...a}=e;return(0,r.jsxs)("div",{className:(0,b.cn)("relative flex cursor-pointer items-stretch rounded-sm hover:bg-accent focus:bg-accent focus:text-accent-foreground",l?"bg-accent text-accent-foreground":void 0,s),...a,children:[l&&(0,r.jsx)(eq,{}),(0,r.jsx)(eB,{level:n}),(0,r.jsx)("div",{className:"flex flex-nowrap items-center gap-2 truncate whitespace-nowrap",children:t})]})},eY=e=>{let{node:t,level:n}=e,{activeEntryInfo:s}=l.useContext(te),{onSelectTreeNode:a}=l.useContext(eU),i="file"===t.file.kind,o=t.fullPath===(null==s?void 0:s.basename);return(0,r.jsxs)(eV,{level:n,onClick:e=>{i&&(null==a||a(t))},isActive:o,children:[(0,r.jsx)(_.IconFile,{className:"shrink-0"}),(0,r.jsx)("div",{className:"truncate",children:null==t?void 0:t.name})]})},eH=e=>{var t,n,s;let{node:a,level:i,root:o}=e,{activeRepo:c,activeEntryInfo:d}=l.useContext(te),{fileMap:u,updateFileMap:f,expandedKeys:m,toggleExpandedKey:p,onSelectTreeNode:h}=l.useContext(eU),v=l.useRef(!1),g=o?"":a.file.basename,b=m.has(g),j="dir"===a.file.kind&&!(null==u?void 0:null===(t=u[a.fullPath])||void 0===t?void 0:t.treeExpanded)&&b,{data:y,isLoading:N}=(0,eM.Z)(j?(0,D.Vq)(c,d.rev,g):null,x.Z,{revalidateIfStale:!1});l.useEffect(()=>{var e;if(!v.current&&(null==y?void 0:null===(e=y.entries)||void 0===e?void 0:e.length)){let e=y.entries.reduce((e,t)=>{let n=t.basename;return{...e,[n]:{file:t,name:(0,D.i3)(n),fullPath:n,treeExpanded:!1}}},{});f(e),v.current=!0}},[y]);let[k]=(0,et.n)(N,100),w=!!(null==a?void 0:null===(n=a.children)||void 0===n?void 0:n.length);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(eG,{level:i,onClick:e=>{null==h||h(a)},isActive:(null==d?void 0:d.basename)===a.fullPath,children:[(0,r.jsx)("div",{className:"flex h-8 shrink-0 items-center hover:bg-primary/10 hover:text-popover-foreground",onClick:e=>{k||(p(a.fullPath),e.stopPropagation())},children:k&&!v.current?(0,r.jsx)(_.IconSpinner,{}):b?(0,r.jsx)(_.IconChevronDown,{}):(0,r.jsx)(_.IconChevronRight,{})}),(0,r.jsx)("div",{className:"shrink-0",style:{color:"rgb(84, 174, 255)"},children:b?(0,r.jsx)(_.IconDirectoryExpandSolid,{}):(0,r.jsx)(_.IconDirectorySolid,{})}),(0,r.jsx)("div",{className:"truncate",children:null==a?void 0:a.name})]}),(0,r.jsx)(r.Fragment,{children:b&&w?(0,r.jsx)(r.Fragment,{children:null===(s=a.children)||void 0===s?void 0:s.map(e=>{let t=e.file.basename;return"dir"===e.file.kind?(0,r.jsx)(eH,{node:e,level:i+1},t):(0,r.jsx)(eY,{node:e,level:i+1},t)})}):null})]})},eJ=()=>{let{repoMap:e,activeEntryInfo:t}=l.useContext(te),{initialized:n,fileTreeData:s,fetchingTreeEntries:a}=l.useContext(eU),{repositorySpecifier:i}=t,o=!!i,c=o&&!(null==s?void 0:s.length);return n?o?c&&a?(0,r.jsx)(eK,{}):(0,r.jsx)(r.Fragment,{children:null==s?void 0:s.map(e=>{var t;let n=(null==e?void 0:null===(t=e.file)||void 0===t?void 0:t.kind)==="file";return n?(0,r.jsx)(eY,{level:0,node:e},e.fullPath):(0,r.jsx)(eH,{level:0,node:e},e.fullPath)})}):null:(0,r.jsx)(eK,{})},eW=e=>{let{className:t,...n}=e;return(0,r.jsx)("div",{className:(0,b.cn)("group/filetree",t),children:(0,r.jsx)(eZ,{...n,children:(0,r.jsx)(eJ,{})})})};function eK(){return(0,r.jsxs)("div",{className:"space-y-3 p-2",children:[(0,r.jsx)(eu.O,{}),(0,r.jsx)(eu.O,{className:"ml-4"}),(0,r.jsx)(eu.O,{className:"ml-4"}),(0,r.jsx)(eu.O,{}),(0,r.jsx)(eu.O,{className:"ml-4"})]})}var eQ=n(62940),e$=n(36065),eX=n(84942),e0=n(54594),e1=n(18500);function e2(e){let{kind:t,fallback:n}=e;switch(t){case e1.vW.Git:case e1.vW.GitConfig:return(0,r.jsx)(_.IconDirectorySolid,{style:{color:"rgb(84, 174, 255)"}});case e1.vW.Github:case e1.vW.GithubSelfHosted:return(0,r.jsx)(_.IconGitHub,{});case e1.vW.Gitlab:case e1.vW.GitlabSelfHosted:return(0,r.jsx)(_.IconGitLab,{});default:return null!=n?n:null}}let e4=e=>{var t,n,s,a,i;let{className:o,...d}=e,{updateActivePath:u,initialized:f,activeRepo:m,activeRepoRef:p,fileMap:h,repoMap:x,activeEntryInfo:v}=(0,l.useContext)(te),g=l.useMemo(()=>(0,D.UR)(x).map(e=>{let t=(0,D.Pj)(e);return{repo:e,repoSpecifier:t}}),[x]),[j,y]=l.useState(!1),[N,k]=l.useState(null!==(s=null==p?void 0:p.kind)&&void 0!==s?s:"branch"),{repositoryKind:w,repositoryName:C,repositorySpecifier:R}=v,I=null==m?void 0:m.refs,E=l.useMemo(()=>(null==I?void 0:I.length)?I.map(e=>(0,D.r2)(e)):[],[I]),F=E.filter(e=>"branch"===e.kind),O=E.filter(e=>"tag"===e.kind),A=f&&!(null==g?void 0:g.length),P=e=>{var t,n,r,l,s;if((0,c.Z)(e))return;let a=null!==(l=null===(t=(0,D.r2)(e))||void 0===t?void 0:t.name)&&void 0!==l?l:"",{basename:i=""}=v,o=null!==(s=null==h?void 0:null===(r=h[i])||void 0===r?void 0:null===(n=r.file)||void 0===n?void 0:n.kind)&&void 0!==s?s:"dir";u((0,D.I)(m,a,i,o))};return(0,r.jsxs)("div",{className:(0,b.cn)(o),...d,children:[(0,r.jsx)("div",{className:"py-4 font-bold leading-8",children:(0,r.jsx)("span",{className:(0,b.cn)("py-1",{"hover:underline cursor-pointer":!!m}),onClick:()=>{m&&u((0,D.I)(m,null==v?void 0:v.rev,"","dir"))},children:"Files"})}),(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsxs)(e0.Ph,{disabled:!f,onValueChange:e=>{var t;let n=null===(t=g.find(t=>t.repoSpecifier===e))||void 0===t?void 0:t.repo;if(n){let t="".concat(e,"/-/tree/").concat((0,D.r2)((0,D.s8)(n.refs)).name);u(t)}},value:R,children:[(0,r.jsx)(e0.i4,{children:(0,r.jsx)(e0.ki,{asChild:!0,children:(0,r.jsxs)("div",{className:"flex items-center gap-2 overflow-hidden",children:[(0,r.jsx)("div",{className:"shrink-0",children:(0,r.jsx)(e2,{kind:w,fallback:(0,r.jsx)(_.IconFolderGit,{})})}),(0,r.jsx)("span",{className:(0,b.cn)("truncate",!C&&"text-muted-foreground"),children:C||"Pick a repository"})]})})}),(0,r.jsx)(e0.Bw,{className:"max-h-[50vh] overflow-y-auto",children:A?(0,r.jsx)(e0.Ql,{isPlaceHolder:!0,value:"",disabled:!0,children:"No repositories"}):(0,r.jsx)(r.Fragment,{children:null==g?void 0:g.map(e=>(0,r.jsx)(e0.Ql,{value:e.repoSpecifier,children:(0,r.jsxs)("div",{className:"flex items-center gap-1",children:[(0,r.jsx)(e2,{kind:e.repo.kind,fallback:(0,r.jsx)(_.IconFolderGit,{})}),e.repo.name]})},e.repoSpecifier))})})]}),!!m&&(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(eX.J2,{open:j,onOpenChange:y,children:[(0,r.jsx)(eX.xo,{asChild:!0,children:(0,r.jsx)(L.z,{className:"w-full justify-start gap-2 px-3",variant:"outline",children:!!p&&(0,r.jsxs)(r.Fragment,{children:["tag"===p.kind?(0,r.jsx)(_.IconTag,{className:"shrink-0"}):(0,r.jsx)(_.IconGitFork,{className:"shrink-0"}),(0,r.jsx)("span",{className:"truncate",title:p.name,children:"commit"===p.kind?null===(n=p.ref)||void 0===n?void 0:null===(t=n.commit)||void 0===t?void 0:t.substring(0,7):p.name})]})})}),(0,r.jsx)(eX.yk,{className:"w-[var(--radix-popover-trigger-width)] p-0",align:"start",side:"bottom",sideOffset:-8,children:(0,r.jsxs)(e$.mY,{children:[(0,r.jsx)(e$.sZ,{placeholder:"tag"===N?"Find a tag":"Find a branch"}),(0,r.jsx)(S.mQ,{className:"my-1 border-b",value:N,onValueChange:e=>k(e),children:(0,r.jsxs)(S.dr,{className:"bg-popover py-0",children:[(0,r.jsx)(S.SP,{value:"branch",children:"Branches"}),(0,r.jsx)(S.SP,{value:"tag",children:"Tags"})]})}),(0,r.jsxs)(e$.e8,{className:"max-h-[30vh]",children:[(0,r.jsx)(e$.rb,{children:"Nothing to show"}),(0,r.jsx)(e$.fu,{children:("tag"===N?O:F).map((e,t)=>{var n;return(0,r.jsxs)(e$.di,{onSelect:()=>{y(!1),P(e.ref)},children:[(0,r.jsx)(_.IconCheck,{className:(0,b.cn)("mr-2 shrink-0",(null==e?void 0:e.name)&&e.name===(null==p?void 0:p.name)?"opacity-100":"opacity-0")}),(0,r.jsx)("span",{className:"truncate",title:e.name,children:null!==(a=e.name)&&void 0!==a?a:""})]},null!==(i=null==e?void 0:null===(n=e.ref)||void 0===n?void 0:n.name)&&void 0!==i?i:t)})})]})]})})]})})]})]})},e5=e=>{let{fetchingTreeEntries:t}=e,{activePath:n,updateActivePath:s,expandedKeys:a,updateFileMap:i,toggleExpandedKey:o,initialized:c,fileTreeData:d,fileMap:u,activeRepo:f,activeEntryInfo:m}=l.useContext(te),p=l.useRef(null),h=function(e,t){var n,r;let[s,a]=(0,l.useState)(null!==(r=null===(n=e.current)||void 0===n?void 0:n.scrollTop)&&void 0!==r?r:0);return(0,l.useEffect)(()=>{if(e.current){let n=(0,eQ.Z)(()=>{var t,n;a(null!==(n=null===(t=e.current)||void 0===t?void 0:t.scrollTop)&&void 0!==n?n:0)},t,{leading:!0}),r=e.current;return r.addEventListener("scroll",n),()=>{r.removeEventListener("scroll",n)}}},[e,t]),s}(p,200);return(0,r.jsxs)("div",{className:"flex h-full flex-col overflow-hidden",children:[(0,r.jsx)(e4,{className:"shrink-0 px-4 pb-3"}),h>0&&(0,r.jsx)("div",{className:"h-0 border-b shadow-[0px_3px_8px_rgba(0,0,0,0.3)] dark:shadow-[0px_3px_8px_rgba(255,255,255,0.3)]"}),(0,r.jsx)("div",{className:"flex-1 overflow-y-auto px-4",ref:p,children:(0,r.jsx)(eW,{onSelectTreeNode:e=>{let t=(0,D.I)(f,m.rev,e.file.basename,e.file.kind);s(t)},activePath:n,fileMap:u,updateFileMap:i,expandedKeys:a,toggleExpandedKey:o,initialized:c,fileTreeData:d,fetchingTreeEntries:t})})]})};var e8=n(2899),e3=n(99047);let e6=e=>{var t,n;let{className:s,loading:a,initialized:i}=e,{activePath:c,currentFileRoutes:d,fileTreeData:u,activeRepo:f,repoMap:m,activeEntryInfo:p}=l.useContext(te),h=l.useMemo(()=>(0,o.Z)(m)||f?function(e,t){if(!(null==e?void 0:e.length))return[];if(t){let{basename:n=""}=(0,D.Jt)(t);if(!n)return e;let r=decodeURIComponent(n).split("/"),l=e;for(let e=0;ee.fullPath===t);if(null==n||!n.children)return[];l=null==n?void 0:n.children}return(null==l?void 0:l.map(e=>(0,e8.Z)(e,"children")))||[]}{let t=e.map(e=>(0,e8.Z)(e,"children"))||[];return t}}(u,c):(0,D.UR)(m).map(e=>{var t;return{file:{basename:e.name,kind:"dir"},isRepository:!0,repository:e,fullPath:(0,D.I)(e,null===(t=(0,D.r2)((0,D.s8)(e.refs)))||void 0===t?void 0:t.name,"","dir"),name:e.name}}),[u,c,f,m]),[x]=(0,et.n)(a,300),v=!!(null==p?void 0:p.basename),g=d[(null==d?void 0:d.length)-2];return(0,r.jsx)("div",{className:(0,b.cn)("text-base",s),children:(!x||(null==h?void 0:h.length))&&i?(null==h?void 0:h.length)?(0,r.jsx)(e3.iA,{children:(0,r.jsxs)(e3.RM,{children:[v&&(0,r.jsx)(e3.SC,{className:"cursor-pointer",children:(0,r.jsx)(e3.pj,{className:"p-1 px-4",children:(0,r.jsx)(em(),{href:"/files/".concat((0,D.I)(f,p.rev,null==g?void 0:null===(t=g.file)||void 0===t?void 0:t.basename,null==g?void 0:null===(n=g.file)||void 0===n?void 0:n.kind)),children:(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("div",{className:"shrink-0",children:(0,r.jsx)(_.IconDirectorySolid,{style:{color:"rgb(84, 174, 255)"}})}),(0,r.jsx)("span",{className:"px-1 py-2",children:".."})]})})})}),(0,r.jsx)(r.Fragment,{children:h.map(e=>{var t;let n=e.isRepository,l=null===(t=e.repository)||void 0===t?void 0:t.kind;return(0,r.jsx)(e3.SC,{children:(0,r.jsx)(e3.pj,{className:"p-1 px-4 text-base",children:(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("div",{className:"shrink-0",children:n?(0,r.jsx)(e2,{kind:l,fallback:(0,r.jsx)(_.IconDirectorySolid,{style:{color:"rgb(84, 174, 255)"}})}):"dir"===e.file.kind?(0,r.jsx)(_.IconDirectorySolid,{style:{color:"rgb(84, 174, 255)"}}):(0,r.jsx)(_.IconFile,{})}),(0,r.jsx)(em(),{href:n?"/files/".concat(e.fullPath):"/files/".concat((0,D.I)(null!=f?f:e.repository,p.rev,e.file.basename,e.file.kind)),className:"cursor-pointer px-1 py-2 hover:text-primary hover:underline",children:e.name})]})})},e.fullPath)})})]})}):(0,o.Z)(m)?(0,r.jsx)("div",{className:"flex min-h-[30vh] items-center justify-center",children:(0,r.jsxs)("div",{className:"flex flex-col items-center gap-4",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(_.IconFileSearch,{className:"h-6 w-6"}),(0,r.jsx)("div",{className:"text-xl font-semibold",children:"No repositories"})]}),(0,r.jsxs)(em(),{href:"/settings/providers/git",className:(0,b.cn)((0,L.d)(),"gap-2"),children:[(0,r.jsx)("span",{children:"Connect"}),(0,r.jsx)(_.IconArrowRight,{})]})]})}):null:(0,r.jsx)(e7,{})})};function e7(){return(0,r.jsxs)("ul",{className:"space-y-3 p-2",children:[(0,r.jsx)(eu.O,{}),(0,r.jsx)(eu.O,{}),(0,r.jsx)(eu.O,{}),(0,r.jsx)(eu.O,{})]})}let e9=(0,f.BX)("\n query RepositoryGrep(\n $id: ID!\n $kind: RepositoryKind!\n $rev: String\n $query: String!\n ) {\n repositoryGrep(kind: $kind, id: $id, rev: $rev, query: $query) {\n files {\n path\n lines {\n line {\n text\n base64\n }\n byteOffset\n lineNumber\n subMatches {\n bytesStart\n bytesEnd\n }\n }\n }\n elapsedMs\n }\n }\n"),te=l.createContext({}),tt=e=>{var t;let{children:n}=e,a=(0,s.usePathname)(),{updateUrlComponents:o,searchParams:c}=(0,m.Z)(),d=null===(t=c.get("redirect_git_url"))||void 0===t?void 0:t.toString(),[u,f]=l.useState(!1),[h,x]=l.useState(),v=l.useMemo(()=>(0,D.Jt)(h),[h]),g=(0,p.xG)(),[b,j]=l.useState(!1),[y,N]=l.useState({}),[k,w]=l.useState({}),[C,S]=l.useState(new Set),[R,I]=l.useState(!1),[E,F]=l.useState(),[O,A]=(0,l.useState)(),L=l.useRef(),_=l.useCallback(async(e,t)=>{let n=null==t?void 0:t.replace;if(e){let r={},l=["redirect_filepath","redirect_git_url","redirect_rev","line"];(null==t?void 0:t.plain)?r.plain="1":l.push("plain"),o({pathname:"/files/".concat(e),searchParams:{set:r,del:l},replace:n,hash:null==t?void 0:t.hash})}else o({pathname:"/files",searchParams:{del:["path","plain","line"]},hash:null==t?void 0:t.hash,replace:n})},[]),P=l.useMemo(()=>(function e(t){if(!t.length)return[];for(let n of(t.sort((e,t)=>{let n="file"===e.file.kind?1:0,r="file"===t.file.kind?1:0;return n-r||e.name.localeCompare(t.name)}),t))(null==n?void 0:n.children)&&e(n.children);return t})(function(e){let t=[];if(!e)return t;let n=Object.keys(e);for(let r of n){let n=e[r],l=r.split("/"),s=t;for(let e=0;ee.fullPath===t);if(a)s=a.children||[];else{let e={file:n.file,name:n.name,fullPath:r,children:[],isRepository:n.isRepository,repository:n.repository};s.push(e),s=e.children}}}return t}(y)),[y]),T=l.useMemo(()=>{let{repositoryKind:e,repositoryName:t,repositorySpecifier:n}=v;if(e&&t)return n?k[n]:void 0},[k,v]),z=l.useMemo(()=>{var e,t;if(!v||!T)return;let n=null!==(t=null==v?void 0:v.rev)&&void 0!==t?t:"",r=null===(e=T.refs)||void 0===e?void 0:e.find(e=>(null==e?void 0:e.name)==="refs/heads/".concat(n)||(null==e?void 0:e.name)==="refs/tags/".concat(n)||(null==e?void 0:e.commit)===n);if(r){let e;return r.name==="refs/heads/".concat(n)?e="branch":r.name==="refs/tags/".concat(n)?e="tag":r.commit===n&&(e="commit"),(0,D.r2)(r,e)}},[v,T]),M=l.useMemo(()=>{var e;if(!h)return[];let{basename:t=""}=v,n=[{file:{kind:"dir",basename:""},isRepository:!0,repository:T,name:null!==(e=null==T?void 0:T.name)&&void 0!==e?e:"",fullPath:""}],r=(null==t?void 0:t.split("/"))||[];for(let e=0;e{var e;let t=null===(e=a.match(/^\/files\/(.*)/))||void 0===e?void 0:e[1];L.current=h,x(null!=t?t:""),u||f(!0),O&&A(void 0)},[a,d]),(0,r.jsx)(te.Provider,{value:{initialized:b,setInitialized:j,activePath:h,updateActivePath:_,fileMap:y,updateFileMap:(e,t)=>{e&&(t?N(e):N(t=>({...t,...e})))},expandedKeys:C,setExpandedKeys:S,toggleExpandedKey:e=>{let t=C.has(e),n=new Set(C);t?n.delete(e):n.add(e),S(n)},currentFileRoutes:M,fileTreeData:P,chatSideBarVisible:R,setChatSideBarVisible:I,pendingEvent:E,setPendingEvent:F,isChatEnabled:g,repoMap:k,setRepoMap:w,activeRepo:T,activeRepoRef:z,isPathInitialized:u,activeEntryInfo:v,prevActivePath:L,error:O,setError:A},children:n})},tn="application/vnd.directory+json",tr=e=>{var t;let{className:n}=e,{activePath:s,updateActivePath:a,initialized:i,setInitialized:f,chatSideBarVisible:p,setChatSideBarVisible:v,setPendingEvent:g,repoMap:N,setRepoMap:S,activeRepo:R,isPathInitialized:I,activeEntryInfo:E,prevActivePath:F,updateFileMap:O,setExpandedKeys:A,error:L,setError:_}=l.useContext(te),{searchParams:P}=(0,m.Z)(),T=l.useRef(!1),{progress:z,setProgress:M}=(0,w.U)(),U=l.useRef(null),[Z,B]=l.useState(35),[q,G]=(0,l.useState)(!1),Y=null===(t=P.get("q"))||void 0===t?void 0:t.toString(),H=l.useMemo(()=>(0,D.Jt)(s),[s]),J=null==H?void 0:H.basename,W=(null==E?void 0:E.viewMode)==="blob",Q=(null==E?void 0:E.viewMode)==="search",$=!!i&&!(0,o.Z)(N)&&!!s&&!Q,X=!!i&&!(0,o.Z)(N)&&!!s&&Q,ee=!!i&&W&&R,{data:et,isLoading:en,error:er}=(0,u.ZP)($?s:null,e=>{let{repositorySpecifier:t}=(0,D.Jt)(e);return ti(e,t?null==N?void 0:N[t]:void 0).then(t=>({entries:t,requestPathname:e}))},{revalidateOnFocus:!1,shouldRetryOnError:!1}),{data:es,isLoading:ea,error:ei}=(0,u.ZP)(ee?[(0,D.Vq)(R,E.rev,J),J]:null,e=>{let[t,n]=e;return(0,x.Z)(t,{responseFormatter:async e=>{let t=e.headers.get("Content-Type");if(t===tn)throw Error(D.l8.INVALID_URL);let r=(0,d.Z)(e.headers.get("Content-Length")),l=await e.blob(),s=await ta(null!=n?n:"",l);return{contentLength:r,blob:l,fileDisplayType:s}},errorHandler(){throw Error(D.l8.NOT_FOUND)}})},{revalidateOnFocus:!1,shouldRetryOnError:!1}),{data:eo,isLoading:ec,error:ed}=(0,u.ZP)(X&&Y?[s,Y]:null,e=>{let[t,n]=e,{repositorySpecifier:r}=(0,D.Jt)(t);return to(n,r?null==N?void 0:N[r]:void 0,E.rev)},{revalidateOnFocus:!1,shouldRetryOnError:!1}),eu=null==es?void 0:es.blob,ef=null==es?void 0:es.contentLength,em=null==es?void 0:es.fileDisplayType,ep=L||ei||er,eh=(null==E?void 0:E.viewMode)==="tree"||!(null==E?void 0:E.viewMode);return l.useEffect(()=>{let e=async()=>{if(T.current)return;T.current=!0;let e=await ts(),t=P.get("redirect_filepath"),n=P.get("redirect_git_url"),r=P.get("redirect_rev");if((null==e?void 0:e.length)&&t&&n){let o=e.find(e=>e.gitUrl===n);if(o){var l,s,i;let e="";if(r)e=r;else{let t=(0,D.s8)(o.refs);e=(null===(s=(0,D.r2)(t))||void 0===s?void 0:s.name)||""}let n=(0,D.kQ)(window.location.hash),d=!(0,c.Z)(null==n?void 0:n.start),u=parseInt(null!==(i=null===(l=P.get("line"))||void 0===l?void 0:l.toString())&&void 0!==i?i:""),f=d?window.location.hash:(0,b.nO)({start:u}),m=t?(0,h.U$)(t)[0]:void 0;a((0,D.I)(o,e,t,"file"),{replace:!0,hash:f,plain:"markdown"===m&&!!f}),T.current=!1;return}_(Error(D.l8.REPOSITORY_NOT_FOUND))}e&&S((0,D.fr)(e)),f(!0)};!i&&I&&e()},[s,i,I]),l.useEffect(()=>{if(!et)return;let{entries:e,requestPathname:t}=et,{repositorySpecifier:n,viewMode:r,basename:l,rev:s}=(0,D.Jt)(t),{repositorySpecifier:a,rev:i}=(0,D.Jt)(F.current),o=(0,D.yH)(l,"tree"===r),c={};if(e.length)for(let t of e){let e=t.basename;c[e]={file:t,name:(0,D.i3)(e),fullPath:e,treeExpanded:o.includes(t.basename)}}let d=o.filter(Boolean),u=n!==a||s!==i;c&&O(c,u),(null==d?void 0:d.length)&&(u?A(new Set(d)):A(e=>{let t=new Set(e);for(let e of d)t.add(e);return t}))},[et]),l.useEffect(()=>{!i||(!z&&(ea||en)?M(!0):ea||en||M(!1))},[ea,en]),l.useEffect(()=>{var e,t,n;p&&!q&&G(!0),p?(null===(e=U.current)||void 0===e||e.expand(),null===(t=U.current)||void 0===t||t.resize(Z)):null===(n=U.current)||void 0===n||n.collapse()},[p]),l.useEffect(()=>{if(!(ea||en))return;let{repositorySpecifier:e,rev:t}=E,{repositorySpecifier:n,rev:r}=(0,D.Jt)(F.current);(e!==n||t!==r)&&(O({},!0),A(new Set))},[E]),l.useEffect(()=>{let e=e=>{v(!0),g(e)};return C.u.on("code_browser_quick_action",e),()=>{C.u.off("code_browser_quick_action",e)}},[]),(0,r.jsxs)(j.pO,{direction:"horizontal",className:(0,b.cn)(n),onLayout:e=>{(null==e?void 0:e[2])&&B(e[2])},children:[(0,r.jsx)(j.ee,{defaultSize:20,minSize:20,maxSize:40,className:"hidden lg:block",children:(0,r.jsx)(e5,{fetchingTreeEntries:en})}),(0,r.jsx)(j.Dp,{className:"hidden w-1 bg-border/40 hover:bg-border active:bg-blue-500 lg:block"}),(0,r.jsx)(j.ee,{defaultSize:80,minSize:30,children:(0,r.jsxs)("div",{className:"mb-4 flex h-full flex-col",children:[(0,r.jsx)(el,{className:(0,b.cn)("z-40",(null==E?void 0:E.repositorySpecifier)?"block":"hidden")}),(eh||W)&&(0,r.jsx)(eT,{className:(0,b.cn)("px-4 pb-4",{"pt-4":!(null==E?void 0:E.repositorySpecifier)})}),(0,r.jsx)(y.ScrollArea,{children:(0,r.jsx)("div",{className:"flex h-full flex-col px-4 pb-4",children:i?ep?(0,r.jsx)(eF,{className:"rounded-lg border p-4",error:ep}):(0,r.jsxs)(r.Fragment,{children:[eh&&(0,r.jsx)(e6,{loading:en,initialized:i,className:"rounded-lg border"}),W&&(0,r.jsx)(V,{blob:eu,contentLength:ef,fileDisplayType:em,loading:ea||en}),Q&&(0,r.jsx)(eI,{results:null==eo?void 0:eo.files,requestDuration:null==eo?void 0:eo.elapsedMs,loading:ec})]}):(0,r.jsx)(k.cg,{className:"rounded-lg border p-4"})})})]})}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(j.Dp,{className:(0,b.cn)("hidden w-1 bg-border/40 hover:bg-border active:bg-blue-500",p&&"block")}),(0,r.jsx)(j.ee,{collapsible:!0,collapsedSize:0,defaultSize:0,minSize:25,ref:U,onCollapse:()=>v(!1),children:q?(0,r.jsx)(K,{activeRepo:R}):null})]})]})},tl=e=>{let[t]=(0,N.Hb)(),n=t?{height:"calc(100vh - ".concat(N.wt,")")}:{height:"100vh"};return(0,r.jsx)(tt,{children:(0,r.jsx)("div",{className:"transition-all",style:n,children:(0,r.jsx)(tr,{className:"source-code-browser",...e})})})};async function ts(){let e=v.Lp.createRequestOperation("query",(0,a.h)(g.zz,{}));return v.Lp.executeQuery(e).then(e=>{var t;return(null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.repositoryList)||[]})}async function ta(e,t){var n;if(!t)return;let r=null==t?void 0:t.type,l=null===(n=(0,h.U$)(e))||void 0===n?void 0:n[0];if(null==r?void 0:r.startsWith("image"))return"image";if(l||(null==r?void 0:r.startsWith("text")))return"text";let s=await new Promise((e,n)=>{let r=t.slice(0,1024),l=new FileReader;l.onloadend=function(t){var n;if((null==t?void 0:null===(n=t.target)||void 0===n?void 0:n.readyState)===FileReader.DONE){let n=t.target.result;"string"!=typeof n?e(!1):/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x9F]/.test(n)?e(!1):e(!0)}},l.onerror=function(){e(!1)},l.readAsText(r,"UTF-8")});return s?"text":"raw"}async function ti(e,t){if(!e)return[];if(!t)throw Error(D.l8.REPOSITORY_NOT_FOUND);if((0,o.Z)(t.refs))throw Error(D.l8.REPOSITORY_SYNC_FAILED);let{basename:n,rev:r,viewMode:l}=(0,D.Jt)(e);if(!r||!l)throw Error(D.l8.INVALID_URL);let s=(0,D.yH)(n,"tree"===l),a=s.map(e=>()=>(0,x.Z)((0,D.Vq)(t,r,e),{responseFormatter(e){let t=e.headers.get("Content-Type");if(t!==tn)throw Error(D.l8.INVALID_URL);return e.json()},errorHandler(){throw Error(D.l8.NOT_FOUND)}})),i=await Promise.all(a.map(e=>e())),c=[];for(let e of i){var d;(null==e?void 0:null===(d=e.entries)||void 0===d?void 0:d.length)&&(c=[...c,...e.entries])}return c}async function to(e,t,n){if(!t)throw Error(D.l8.REPOSITORY_NOT_FOUND);let r=v.Lp.query(e9,{id:t.id,kind:t.kind,query:e,rev:n,pause:!t}).toPromise();return null==r?void 0:r.then(e=>{var t;if(null==e?void 0:e.error)throw Error(D.l8.FAILED_TO_FETCH);return null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.repositoryGrep})}},48048:function(e,t,n){"use strict";n.d(t,{BX:function(){return y},I:function(){return N},Jt:function(){return f},Pj:function(){return h},UR:function(){return v},Vq:function(){return k},fr:function(){return x},i3:function(){return m},kQ:function(){return w},l8:function(){return l},p4:function(){return C},r2:function(){return b},s8:function(){return j},yH:function(){return p}});var r,l,s=n(74630),a=n(5035),i=n(64220),o=n(13420),c=n(18500);(r=l||(l={})).FAILED_TO_FETCH="FAILED_TO_FETCH",r.INVALID_URL="INVALID_URL",r.NOT_FOUND="NOT_FOUND",r.REPOSITORY_NOT_FOUND="REPOSITORY_NOT_FOUND",r.REPOSITORY_SYNC_FAILED="REPOSITORY_SYNC_FAILED";let d=Object.keys(c.vW).map(e=>u(e));function u(e){return e.toLowerCase().replaceAll("_","")}function f(e){let t,n,r;let l={};if(!e)return l;let a=e.indexOf("/-/"),i=e.split("/"),u=i[0],f=d.includes(u);if(!f||-1===a)return l;let m=c.vW.Git;switch(u){case"git":m=c.vW.Git;break;case"github":m=c.vW.Github;break;case"gitlab":m=c.vW.Gitlab;break;case"githubselfhosted":m=c.vW.GithubSelfHosted;break;case"gitlabselfhosted":m=c.vW.GitlabSelfHosted;case"gitconfig":m=c.vW.GitConfig}let p=e.indexOf("/-/tree/"),h=e.indexOf("/-/blob/"),x=e.indexOf("/-/search/");if(p>-1){n="tree";let l=e.slice(p+8),s=l.split("/");r=s[0],t=(0,o.Z)(s.slice(1).join("/"),"/")}if(h>-1){n="blob";let l=e.slice(h+8),s=l.split("/");r=s[0],t=(0,o.Z)(s.slice(1).join("/"),"/")}if(x>-1){n="search";let l=e.slice(x+10),s=l.split("/");r=s[0],t=""}let v=e.split("/-/")[0],g=v.split("/").slice(1).join("/");return{repositorySpecifier:e.split("/-/")[0],repositoryName:g,repositoryKind:m,rev:(0,s.Z)(r)?void 0:decodeURIComponent(r),viewMode:n,basename:(0,s.Z)(t)?void 0:decodeURIComponent(t)}}function m(e){if(!e)return"";let t=e.split("/");return t[t.length-1]}function p(e,t){if((0,s.Z)(e))return[];let n=[""],r=e.split("/"),l=t?r.length:r.length-1;for(let e=0;e"".concat(u(e.kind),"/").concat(e.name))}function v(e){let t=(0,i.Z)(e,e=>e);return t.sort((e,t)=>e.name.localeCompare(t.name)),t}function g(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}function b(e,t){if(!e)return{name:"",ref:void 0};let n=e.name.match(/refs\/(\w+)\/(.*)/);if(n){let r="tags"===n[1]?"tag":"branch";return{kind:null!=t?t:r,name:n[2],ref:e}}return"commit"===t?{kind:t,name:e.commit,ref:e}:{name:"",ref:e}}function j(e){let t,n,r,l;for(let s of e){let{name:e}=s;"refs/heads/main"===e?t=s:"refs/heads/master"===e?n=s:!r&&e.startsWith("refs/heads/")?r=s:!l&&e.startsWith("refs/tags/")&&(l=s)}return t||n||r||l}function y(e){return"blob"===e?"file":"dir"}function N(e,t,n,r){let l=h(e);return"".concat(l,"/-/").concat("search"===r?"search":"file"===r?"blob":"tree","/").concat(encodeURIComponent(null!=t?t:""),"/").concat(g(null!=n?n:""))}function k(e,t,n){let r=null==e?void 0:e.id,l=null==e?void 0:e.kind;if(!r||!l||!t)return null;let s="".concat(u(l),"/").concat(r);return"/repositories/".concat(s,"/rev/").concat(encodeURIComponent(t),"/").concat(g(null!=n?n:""))}function w(e){if(!e)return null;let t=/^#L(\d+)(?:-L(\d+))?/.exec(e);if(!t)return null;let[,n,r]=t,l=parseInt(n),s=parseInt(r);return{start:Number.isNaN(l)?void 0:l,end:Number.isNaN(s)?void 0:s}}function C(e){var t;return(null===(t=w(e))||void 0===t?void 0:t.start)!==void 0}},27064:function(e,t,n){"use strict";n.d(t,{u:function(){return l}});var r=n(18366);let l=(0,r.Z)()},85312:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(36164),l=n(3546),s=n(30352),a=n(94559),i=n(14679),o=n(88105),c=n(99641),d=n(21399),u=n(1853),f=n(49776);let m=[(0,o.AE)(),(0,f.sW)(),a.yy.allowMultipleSelections.of(!0),(0,s.nF)(s.R_,{fallback:!0}),(0,o.Zs)()];n(65001);var p=n(57288);let h=a.q6.define(),x=l.forwardRef((e,t)=>{let{value:n,theme:f,language:x,readonly:v=!0,extensions:g,height:b=null,width:j=null,viewDidUpdate:y,className:N}=e,k=l.useRef(!1),w=l.useRef(null),[C,S]=l.useState(null),R=o.tk.theme({"&":{height:b,width:j,outline:"none !important",background:"hsl(var(--background))"},"&.cm-focused":{outline:"none !important"},"& .cm-scroller":{height:"100% !important",outline:"none"},"& .cm-gutters":{background:"hsl(var(--background))"},"&.cm-focused .cm-selectionLayer .cm-selectionBackground":{backgroundColor:"hsl(var(--cm-selection-bg)) !important"},".cm-selectionLayer .cm-selectionBackground":{backgroundColor:"hsl(var(--cm-selection-bg)) !important"}}),I=[R,m,o.tk.baseTheme({".cm-line":{lineHeight:"20px"},".cm-scroller":{fontSize:"14px"},".cm-gutters":{backgroundColor:"transparent",borderRight:"none"}}),a.yy.readOnly.of(v)],E=e=>"graphql"===e?new s.ri(d.Wf):(0,c.vf)(function(e,t){switch(e){case"javascript-typescript":return"tsx";case"shellscript":case"bash":return"shell";default:return e}}(e)),F=()=>{let e=(0,u.Z)([...I,E(x)]);return"dark"===f?(e.push(i.pD),e.push((0,s.nF)(i.VE))):e.push((0,s.nF)(s.R_)),Array.isArray(g)&&(e=e.concat(g)),e};return l.useEffect(()=>{(()=>{if(!k.current&&w.current){k.current=!0;let e=a.yy.create({doc:n,extensions:F()}),t=new o.tk({state:e,parent:w.current});S(t)}})()},[]),l.useEffect(()=>{C&&C.dispatch({effects:a.Py.reconfigure.of(F())})},[b,j,f,x,g]),l.useEffect(()=>{(()=>{if(void 0===n||!C)return;let e=C?C.state.doc.toString():"";C&&n!==e&&C.dispatch({changes:{from:0,to:e.length,insert:n||""},annotations:[h.of(!0)]})})()},[n]),l.useEffect(()=>()=>{C&&(C.destroy(),S(null))},[]),l.useEffect(()=>{null==y||y(C)},[C]),l.useImperativeHandle(t,()=>({getView:()=>C}),[C]),(0,r.jsx)("div",{className:(0,p.cn)("codemirror-editor h-full",N),ref:w})});x.displayName="CodeMirrorEditor";var v=x},30601:function(e,t,n){"use strict";n.d(t,{Hb:function(){return m},wt:function(){return d},xc:function(){return p},yo:function(){return f}});var r=n(36164),l=n(3546),s=n(74630),a=n(36327),i=n(80605),o=n(57288),c=n(81565);let d="3.5rem",u=l.createContext({}),f=e=>{let{children:t}=e,n=(0,i.UA)(),[a,o]=l.useState(!1);return l.useEffect(()=>{let e=window.self!==window.top;e||(0,s.Z)(n)||o(n)},[n]),(0,r.jsx)(u.Provider,{value:{isShowDemoBanner:a,setIsShowDemoBanner:o},children:t})};function m(){let{isShowDemoBanner:e,setIsShowDemoBanner:t}=l.useContext(u);return[e,t]}function p(){let[e,t]=m(),{data:n}=(0,a.Z)("https://api.github.com/repos/TabbyML/tabby",e=>fetch(e).then(e=>e.json()));return(0,r.jsxs)("div",{className:(0,o.cn)("flex items-center justify-between bg-primary px-4 text-primary-foreground transition-[opacity,height] md:px-5",{"opacity-100 pointer-events-auto":e,"opacity-0 pointer-events-none":!e}),style:e?{height:d}:{height:0},children:[(0,r.jsxs)("a",{href:"https://links.tabbyml.com/schedule-a-demo",target:"_blank",className:"flex items-center gap-x-2 text-xs font-semibold underline md:text-sm",children:[(0,r.jsx)("span",{children:"\uD83D\uDCC6"}),(0,r.jsx)("span",{children:"Book a 30-minute product demo."})]}),e&&(0,r.jsx)("img",{referrerPolicy:"no-referrer-when-downgrade",src:"https://static.scarf.sh/a.png?x-pxid=b1d0308a-b3c5-425a-972a-378d883a2bca"}),(0,r.jsxs)("div",{className:"flex items-center gap-x-4 md:gap-x-8",children:[(0,r.jsxs)("a",{href:"https://github.com/TabbyML/tabby",target:"_blank",className:"flex items-center transition-all hover:opacity-70",children:[(0,r.jsx)(c.IconGithub,{}),(0,r.jsxs)("div",{className:"ml-2 hidden md:block",children:[(0,r.jsx)("p",{className:"text-xs font-semibold",children:"TabbyML/tabby"}),(0,r.jsxs)("div",{className:(0,o.cn)("flex items-center text-xs transition-all",{"h-4 opacity-70":n,"h-0 opacity-0":!n}),children:[(0,r.jsx)(c.IconStar,{className:"mr-1 h-2.5 w-2.5"}),(0,r.jsx)("span",{children:null==n?void 0:n.stargazers_count}),(0,r.jsx)(c.IconGitFork,{className:"ml-2 mr-1 h-2.5 w-2.5"}),(0,r.jsx)("span",{children:null==n?void 0:n.forks_count})]})]})]}),(0,r.jsx)(c.IconClose,{className:"cursor-pointer transition-all hover:opacity-70",onClick:()=>t(!1)})]})]})}},38736:function(e,t,n){"use strict";n.d(t,{J:function(){return u},U:function(){return f}});var r=n(36164),l=n(3546),s=n(7062),a=n.n(s),i=n(9010),o=n(24449),c=n(16784);let d=l.createContext({}),u=e=>{let{children:t}=e,{theme:n}=(0,i.X)(),[s,u]=l.useState(!1),[f]=(0,o.n)(s,200,{leading:!0}),m=(0,c.d)(s);l.useEffect(()=>{a().config({barColors:{0:"dark"===n?"#DC981A":"#B7942B"}})},[]);let p=l.useCallback(e=>{e&&e===m.current||u(e)},[]);return(0,r.jsxs)(d.Provider,{value:{progress:f,setProgress:p},children:[f&&(0,r.jsx)(a(),{}),t]})},f=()=>l.useContext(d)},36065:function(e,t,n){"use strict";n.d(t,{di:function(){return p},e8:function(){return d},fu:function(){return f},mY:function(){return o},rb:function(){return u},sZ:function(){return c},zz:function(){return m}});var r=n(36164),l=n(3546),s=n(53241),a=n(93170),i=n(57288);n(30220);let o=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)(s.mY,{ref:t,className:(0,i.cn)("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",n),...l})});o.displayName=s.mY.displayName;let c=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsxs)("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,r.jsx)(a.Z,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),(0,r.jsx)(s.mY.Input,{ref:t,className:(0,i.cn)("flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",n),...l})]})});c.displayName=s.mY.Input.displayName;let d=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)(s.mY.List,{ref:t,className:(0,i.cn)("max-h-[300px] overflow-y-auto overflow-x-hidden",n),...l})});d.displayName=s.mY.List.displayName;let u=l.forwardRef((e,t)=>(0,r.jsx)(s.mY.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));u.displayName=s.mY.Empty.displayName;let f=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)(s.mY.Group,{ref:t,className:(0,i.cn)("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",n),...l})});f.displayName=s.mY.Group.displayName;let m=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)(s.mY.Separator,{ref:t,className:(0,i.cn)("-mx-1 h-px bg-border",n),...l})});m.displayName=s.mY.Separator.displayName;let p=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)(s.mY.Item,{ref:t,className:(0,i.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-disabled:pointer-events-none aria-disabled:opacity-50 aria-selected:bg-accent aria-selected:text-accent-foreground",n),...l})});p.displayName=s.mY.Item.displayName},30220:function(e,t,n){"use strict";n.d(t,{$N:function(){return h},Be:function(){return x},Vq:function(){return o},cN:function(){return p},cZ:function(){return f},fK:function(){return m},hg:function(){return c}});var r=n(36164),l=n(3546),s=n(4318),a=n(1663),i=n(57288);let o=s.fC,c=s.xz,d=s.h_;s.x8;let u=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)(s.aV,{ref:t,className:(0,i.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",n),...l})});u.displayName=s.aV.displayName;let f=l.forwardRef((e,t)=>{let{className:n,children:l,...o}=e;return(0,r.jsxs)(d,{children:[(0,r.jsx)(u,{}),(0,r.jsxs)(s.VY,{ref:t,className:(0,i.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",n),...o,children:[l,(0,r.jsxs)(s.x8,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,r.jsx)(a.Z,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});f.displayName=s.VY.displayName;let m=e=>{let{className:t,...n}=e;return(0,r.jsx)("div",{className:(0,i.cn)("flex flex-col space-y-1.5 text-center sm:text-left",t),...n})};m.displayName="DialogHeader";let p=e=>{let{className:t,...n}=e;return(0,r.jsx)("div",{className:(0,i.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...n})};p.displayName="DialogFooter";let h=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)(s.Dx,{ref:t,className:(0,i.cn)("text-lg font-semibold leading-none tracking-tight",n),...l})});h.displayName=s.Dx.displayName;let x=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)(s.dk,{ref:t,className:(0,i.cn)("text-sm text-muted-foreground",n),...l})});x.displayName=s.dk.displayName},84942:function(e,t,n){"use strict";n.d(t,{J2:function(){return i},i9:function(){return d},tW:function(){return u},xo:function(){return o},xp:function(){return c},yk:function(){return f}});var r=n(36164),l=n(3546),s=n(83299),a=n(57288);let i=s.fC,o=s.xz,c=s.x8,d=s.h_,u=s.ee,f=l.forwardRef((e,t)=>{let{className:n,sideOffset:l=4,...i}=e;return(0,r.jsx)(s.VY,{ref:t,sideOffset:l,className:(0,a.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow animate-in data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n),...i})});f.displayName=s.VY.displayName},53538:function(e,t,n){"use strict";n.d(t,{Dp:function(){return o},ee:function(){return i},pO:function(){return a}});var r=n(36164),l=n(6618),s=n(57288);let a=e=>{let{className:t,...n}=e;return(0,r.jsx)(l.eh,{className:(0,s.cn)("flex h-full w-full data-[panel-group-direction=vertical]:flex-col",t),...n})},i=l.s_,o=e=>{let{withHandle:t,className:n,...a}=e;return(0,r.jsx)(l.OT,{className:(0,s.cn)("border-bg relative flex w-px items-center justify-center bg-border after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90",n),...a,children:t&&(0,r.jsx)("div",{className:"z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border"})})}},57830:function(e,t,n){"use strict";n.r(t),n.d(t,{ScrollArea:function(){return i},ScrollBar:function(){return o}});var r=n(36164),l=n(3546),s=n(50778),a=n(57288);let i=l.forwardRef((e,t)=>{let{className:n,children:l,...i}=e;return(0,r.jsxs)(s.fC,{className:(0,a.cn)("relative overflow-hidden",n),...i,children:[(0,r.jsx)(s.l_,{ref:t,className:"h-full w-full rounded-[inherit] [&>div]:!block",children:l}),(0,r.jsx)(o,{}),(0,r.jsx)(s.Ns,{})]})});i.displayName=s.fC.displayName;let o=l.forwardRef((e,t)=>{let{className:n,orientation:l="vertical",...i}=e;return(0,r.jsx)(s.gb,{ref:t,orientation:l,className:(0,a.cn)("flex touch-none select-none transition-colors","vertical"===l&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===l&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",n),...i,children:(0,r.jsx)(s.q4,{className:"relative flex-1 rounded-full bg-border"})})});o.displayName=s.gb.displayName},54594:function(e,t,n){"use strict";n.d(t,{Bw:function(){return f},DI:function(){return c},Ph:function(){return o},Ql:function(){return p},U$:function(){return h},i4:function(){return u},ki:function(){return d}});var r=n(36164),l=n(3546),s=n(31889),a=n(57288),i=n(81565);let o=s.fC,c=s.ZA,d=s.B4,u=l.forwardRef((e,t)=>{let{className:n,children:l,...o}=e;return(0,r.jsxs)(s.xz,{ref:t,className:(0,a.cn)("flex h-9 w-full items-center justify-between rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",n),...o,children:[l,(0,r.jsx)(s.JO,{asChild:!0,children:(0,r.jsx)(i.IconChevronUpDown,{className:"opacity-50"})})]})});u.displayName=s.xz.displayName;let f=l.forwardRef((e,t)=>{let{className:n,children:l,position:i="popper",...o}=e;return(0,r.jsx)(s.h_,{children:(0,r.jsx)(s.VY,{ref:t,className:(0,a.cn)("relative z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md animate-in fade-in-80","popper"===i&&"translate-y-1",n),position:i,...o,children:(0,r.jsx)(s.l_,{className:(0,a.cn)("p-1","popper"===i&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:l})})})});f.displayName=s.VY.displayName;let m=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)(s.__,{ref:t,className:(0,a.cn)("py-1.5 pl-8 pr-2 text-sm font-semibold",n),...l})});m.displayName=s.__.displayName;let p=l.forwardRef((e,t)=>{let{className:n,children:l,isPlaceHolder:o,...c}=e;return(0,r.jsxs)(s.ck,{ref:t,className:(0,a.cn)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",n),...c,children:[!o&&(0,r.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,r.jsx)(s.wU,{children:(0,r.jsx)(i.IconCheck,{className:"h-4 w-4"})})}),(0,r.jsx)(s.eT,{children:l})]})});p.displayName=s.ck.displayName;let h=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)(s.Z0,{ref:t,className:(0,a.cn)("-mx-1 my-1 h-px bg-muted",n),...l})});h.displayName=s.Z0.displayName},99047:function(e,t,n){"use strict";n.d(t,{RM:function(){return o},SC:function(){return d},iA:function(){return a},pj:function(){return f},ss:function(){return u},xD:function(){return i}});var r=n(36164),l=n(3546),s=n(57288);let a=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)("table",{ref:t,className:(0,s.cn)("w-full caption-bottom text-sm",n),...l})});a.displayName="Table";let i=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)("thead",{ref:t,className:(0,s.cn)("[&_tr]:border-b",n),...l})});i.displayName="TableHeader";let o=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)("tbody",{ref:t,className:(0,s.cn)("[&_tr:last-child]:border-0",n),...l})});o.displayName="TableBody";let c=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)("tfoot",{ref:t,className:(0,s.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",n),...l})});c.displayName="TableFooter";let d=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)("tr",{ref:t,className:(0,s.cn)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",n),...l})});d.displayName="TableRow";let u=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)("th",{ref:t,className:(0,s.cn)("h-12 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",n),...l})});u.displayName="TableHead";let f=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)("td",{ref:t,className:(0,s.cn)("p-2 align-middle [&:has([role=checkbox])]:pr-0",n),...l})});f.displayName="TableCell";let m=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)("caption",{ref:t,className:(0,s.cn)("mt-4 text-sm text-muted-foreground",n),...l})});m.displayName="TableCaption"},50538:function(e,t,n){"use strict";n.d(t,{SP:function(){return c},dr:function(){return o},mQ:function(){return i}});var r=n(36164),l=n(3546),s=n(6044),a=n(57288);let i=s.fC,o=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)(s.aV,{ref:t,className:(0,a.cn)("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",n),...l})});o.displayName=s.aV.displayName;let c=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)(s.xz,{ref:t,className:(0,a.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",n),...l})});c.displayName=s.xz.displayName;let d=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)(s.VY,{ref:t,className:(0,a.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",n),...l})});d.displayName=s.VY.displayName},9010:function(e,t,n){"use strict";n.d(t,{X:function(){return l}});var r=n(28242);function l(){let{theme:e,systemTheme:t,setTheme:n}=(0,r.F)();return{theme:e&&"system"!==e?e:t||"light",setTheme:n,systemTheme:t}}},44645:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(3546),l=n(11978);function s(){let e=(0,l.usePathname)(),t=(0,l.useRouter)(),n=(0,l.useSearchParams)(),s=(0,r.useCallback)(e=>{let t=new URLSearchParams(n);e&&Object.entries(e).forEach(e=>{let[n,r]=e;return t.set(n,r)});let r=t.toString();return r.length>0?"?".concat(r):""},[n]),a=(0,r.useCallback)(r=>{let l=function(e,t,n){var r,l;let s=null===(r=n.searchParams)||void 0===r?void 0:r.set,a=null===(l=n.searchParams)||void 0===l?void 0:l.del,i=new URLSearchParams(t);s&&Object.entries(s).forEach(e=>{let[t,n]=e;return i.set(t,n)}),a&&(Array.isArray(a)?a.forEach(e=>i.delete(e)):i.delete(a));let o=i.toString(),c=e;return o.length>0&&(c+="?".concat(o)),n.hash&&(c+="#".concat(n.hash.replace(/^#/,""))),c}((null==r?void 0:r.pathname)||e,n,r);return r.replace?t.replace(l):t.push(l),l},[e,n]);return{pathname:e,router:t,searchParams:n,getQueryString:s,updateUrlComponents:a}}},63484:function(e,t,n){"use strict";n.d(t,{U$:function(){return d},t:function(){return u}});var r=n(14283),l=n.n(r),s=n(34021),a=n(74630),i=n(18500),o=JSON.parse('{"Mercury":"#ff2b2b","TypeScript":"#2b7489","PureBasic":"#5a6986","Objective-C++":"#6866fb","Self":"#0579aa","edn":"#db5855","NewLisp":"#87AED7","Jupyter Notebook":"#DA5B0B","Rebol":"#358a5b","Frege":"#00cafe","Dart":"#00B4AB","AspectJ":"#a957b0","Shell":"#89e051","Web Ontology Language":"#9cc9dd","xBase":"#403a40","Eiffel":"#946d57","Nix":"#7e7eff","RAML":"#77d9fb","MTML":"#b7e1f4","Racket":"#22228f","Elixir":"#6e4a7e","SAS":"#B34936","Agda":"#315665","wisp":"#7582D1","D":"#ba595e","Kotlin":"#F18E33","Opal":"#f7ede0","Crystal":"#776791","Objective-C":"#438eff","ColdFusion CFC":"#ed2cd6","Oz":"#fab738","Mirah":"#c7a938","Objective-J":"#ff0c5a","Gosu":"#82937f","FreeMarker":"#0050b2","Ruby":"#701516","Component Pascal":"#b0ce4e","Arc":"#aa2afe","Brainfuck":"#2F2530","Nit":"#009917","APL":"#5A8164","Go":"#375eab","Visual Basic":"#945db7","PHP":"#4F5D95","Cirru":"#ccccff","SQF":"#3F3F3F","Glyph":"#e4cc98","Java":"#b07219","MAXScript":"#00a6a6","Scala":"#DC322F","Makefile":"#427819","ColdFusion":"#ed2cd6","Perl":"#0298c3","Lua":"#000080","Vue":"#2c3e50","Verilog":"#b2b7f8","Factor":"#636746","Haxe":"#df7900","Pure Data":"#91de79","Forth":"#341708","Red":"#ee0000","Hy":"#7790B2","Volt":"#1F1F1F","LSL":"#3d9970","eC":"#913960","CoffeeScript":"#244776","HTML":"#e44b23","Lex":"#DBCA00","API Blueprint":"#2ACCA8","Swift":"#ffac45","C":"#555555","AutoHotkey":"#6594b9","Isabelle":"#FEFE00","Metal":"#8f14e9","Clarion":"#db901e","JSONiq":"#40d47e","Boo":"#d4bec1","AutoIt":"#1C3552","Clojure":"#db5855","Rust":"#dea584","Prolog":"#74283c","SourcePawn":"#5c7611","AMPL":"#E6EFBB","FORTRAN":"#4d41b1","ANTLR":"#9DC3FF","Harbour":"#0e60e3","Tcl":"#e4cc98","BlitzMax":"#cd6400","PigLatin":"#fcd7de","Lasso":"#999999","ECL":"#8a1267","VHDL":"#adb2cb","Elm":"#60B5CC","Propeller Spin":"#7fa2a7","X10":"#4B6BEF","IDL":"#a3522f","ATS":"#1ac620","Ada":"#02f88c","Unity3D Asset":"#ab69a1","Nu":"#c9df40","LFE":"#004200","SuperCollider":"#46390b","Oxygene":"#cdd0e3","ASP":"#6a40fd","Assembly":"#6E4C13","Gnuplot":"#f0a9f0","JFlex":"#DBCA00","NetLinx":"#0aa0ff","Turing":"#45f715","Vala":"#fbe5cd","Processing":"#0096D8","Arduino":"#bd79d1","FLUX":"#88ccff","NetLogo":"#ff6375","CSharp":"#178600","CSS":"#563d7c","Emacs Lisp":"#c065db","Stan":"#b2011d","SaltStack":"#646464","QML":"#44a51c","Pike":"#005390","LOLCODE":"#cc9900","ooc":"#b0b77e","Handlebars":"#01a9d6","J":"#9EEDFF","Mask":"#f97732","EmberScript":"#FFF4F3","TeX":"#3D6117","Nemerle":"#3d3c6e","KRL":"#28431f","Ren\'Py":"#ff7f7f","Unified Parallel C":"#4e3617","Golo":"#88562A","Fancy":"#7b9db4","OCaml":"#3be133","Shen":"#120F14","Pascal":"#b0ce4e","F#":"#b845fc","Puppet":"#302B6D","ActionScript":"#882B0F","Diff":"#88dddd","Ragel in Ruby Host":"#9d5200","Fantom":"#dbded5","Zephir":"#118f9e","Click":"#E4E6F3","Smalltalk":"#596706","DM":"#447265","Ioke":"#078193","PogoScript":"#d80074","LiveScript":"#499886","JavaScript":"#f1e05a","VimL":"#199f4b","PureScript":"#1D222D","ABAP":"#E8274B","Matlab":"#bb92ac","Slash":"#007eff","R":"#198ce7","Erlang":"#B83998","Pan":"#cc0000","LookML":"#652B81","Eagle":"#814C05","Scheme":"#1e4aec","PLSQL":"#dad8d8","Python":"#3572A5","Max":"#c4a79c","Common Lisp":"#3fb68b","Latte":"#A8FF97","XQuery":"#5232e7","Omgrofl":"#cabbff","XC":"#99DA07","Nimrod":"#37775b","SystemVerilog":"#DAE1C2","Chapel":"#8dc63f","Groovy":"#e69f56","Dylan":"#6c616e","E":"#ccce35","Parrot":"#f3ca0a","Grammatical Framework":"#79aa7a","Game Maker Language":"#8fb200","Papyrus":"#6600cc","NetLinx+ERB":"#747faa","Clean":"#3F85AF","Alloy":"#64C800","Squirrel":"#800000","PAWN":"#dbb284","UnrealScript":"#a54c4d","Standard ML":"#dc566d","Slim":"#ff8f77","Perl6":"#0000fb","Julia":"#a270ba","Haskell":"#29b544","NCL":"#28431f","Io":"#a9188d","Rouge":"#cc0088","cpp":"#f34b7d","AGS Script":"#B9D9FF","Dogescript":"#cca760","nesC":"#94B0C7"}'),c={abap:{filenames:[],extnames:["abap"]},actionscript:{filenames:[],extnames:["as"]},ada:{filenames:[],extnames:["ada","adb","ads"]},apacheconf:{filenames:[".htaccess","apache2.conf","httpd.conf"],extnames:["apacheconf","vhost"]},apl:{filenames:[],extnames:["apl","dyalog"]},applescript:{filenames:[],extnames:["applescript","scpt"]},arff:{filenames:[],extnames:["arff"]},asciidoc:{filenames:[],extnames:["asciidoc","adoc","asc"]},asm6502:{filenames:[],extnames:["asm"]},autohotkey:{filenames:[],extnames:["ahk","ahkl"]},autoit:{filenames:[],extnames:["au3"]},bash:{filenames:[".bash_history",".bash_logout",".bash_profile",".bashrc",".cshrc",".login",".profile",".zlogin",".zlogout",".zprofile",".zshenv",".zshrc","9fs","PKGBUILD","bash_logout","bash_profile","bashrc","cshrc","gradlew","login","man","profile","zlogin","zlogout","zprofile","zshenv","zshrc"],extnames:["sh","bash","bats","cgi","command","fcgi","ksh","tmux","tool","zsh"]},basic:{filenames:[],extnames:["vb","bas","cls","frm","frx","vba","vbhtml","vbs"]},batch:{filenames:[],extnames:["bat","cmd"]},bison:{filenames:[],extnames:["bison"]},brainfuck:{filenames:[],extnames:["b","bf"]},bro:{filenames:[],extnames:["bro"]},c:{filenames:[],extnames:["c","cats","h","idc"]},csharp:{filenames:[],extnames:["cs","cake","cshtml","csx"]},cpp:{filenames:[],extnames:["cpp","c++","cc","cp","cxx","h","h++","hh","hpp","hxx","inc","inl","ino","ipp","re","tcc","tpp"]},coffeescript:{filenames:["Cakefile"],extnames:["coffee","_coffee","cake","cjsx","iced"]},clojure:{filenames:["riemann.config"],extnames:["clj","boot","cl2","cljc","cljs","cljs.hl","cljscm","cljx","hic"]},crystal:{filenames:[],extnames:["cr"]},css:{filenames:[],extnames:["css"]},d:{filenames:[],extnames:["d","di"]},dart:{filenames:[],extnames:["dart"]},diff:{filenames:[],extnames:["diff","patch"]},django:{filenames:[],extnames:["jinja","jinja2","mustache","njk"]},dockerfile:{filenames:["Dockerfile"],extnames:["dockerfile"]},eiffel:{filenames:[],extnames:["e"]},elixir:{filenames:["mix.lock"],extnames:["ex","exs"]},elm:{filenames:[],extnames:["elm"]},erb:{filenames:[],extnames:["erb"]},erlang:{filenames:["Emakefile","rebar.config","rebar.config.lock","rebar.lock"],extnames:["erl","app.src","es","escript","hrl","xrl","yrl"]},fsharp:{filenames:[],extnames:["fs","fsi","fsx"]},fortran:{filenames:[],extnames:["f90","f","f03","f08","f77","f95","for","fpp"]},gedcom:{filenames:[],extnames:["ged"]},gherkin:{filenames:[],extnames:["feature"]},glsl:{filenames:[],extnames:["glsl","fp","frag","frg","fs","fsh","fshader","geo","geom","glslv","gshader","shader","tesc","tese","vert","vrx","vsh","vshader"]},go:{filenames:[],extnames:["go"]},graphql:{filenames:[],extnames:["graphql","gql"]},groovy:{filenames:["Jenkinsfile"],extnames:["groovy","grt","gtpl","gvy"]},haml:{filenames:[],extnames:["haml"]},handlebars:{filenames:[],extnames:["handlebars","hbs"]},haskell:{filenames:[],extnames:["hs","hsc"]},haxe:{filenames:[],extnames:["hx","hxsl"]},http:{filenames:[],extnames:["http"]},icon:{filenames:[],extnames:["icn"]},inform7:{filenames:[],extnames:["ni","i7x"]},ini:{filenames:[".editorconfig",".gitconfig"],extnames:["ini","cfg","lektorproject","prefs","pro","properties"]},io:{filenames:[],extnames:["io"]},j:{filenames:[],extnames:["ijs"]},java:{filenames:[],extnames:["java"]},javascript:{filenames:["Jakefile"],extnames:["js","_js","cjs","bones","es","es6","frag","gs","jake","jsb","jscad","jsfl","jsm","jss","mjs","njs","pac","sjs","ssjs","xsjs","xsjslib"]},jolie:{filenames:[],extnames:["ol","iol"]},json:{filenames:[".arcconfig",".htmlhintrc",".tern-config",".tern-project","composer.lock","mcmod.info"],extnames:["json","avsc","geojson","gltf","JSON-tmLanguage","jsonl","tfstate","topojson","webapp","webmanifest","yy","yyp"]},julia:{filenames:[],extnames:["jl"]},keyman:{filenames:[],extnames:["kmn"]},kotlin:{filenames:[],extnames:["kt","ktm","kts"]},latex:{filenames:[],extnames:["tex","aux","bbx","bib","cbx","cls","dtx","ins","lbx","ltx","mkii","mkiv","mkvi","sty","toc"]},less:{filenames:[],extnames:["less"]},liquid:{filenames:[],extnames:["liquid"]},lisp:{filenames:[],extnames:["lisp","asd","cl","l","lsp","ny","podsl","sexp"]},livescript:{filenames:["Slakefile"],extnames:["ls","_ls"]},lolcode:{filenames:[],extnames:["lol"]},lua:{filenames:[],extnames:["lua","fcgi","nse","p8","pd_lua","rbxs","wlua"]},cmake:{filenames:["BSDmakefile","GNUmakefile","Kbuild","Makefile","Makefile.am","Makefile.boot","Makefile.frag","Makefile.in","Makefile.inc","Makefile.wat","makefile","makefile.sco","mkfile"],extnames:["mak","d","make","mk","mkfile"]},markdown:{filenames:["contents.lr","LICENSE"],extnames:["md","markdown","mdown","mdwn","mkd","mkdn","mkdown","ronn","workbook"]},markup:{filenames:[],extnames:["apib","blade","chem","ecr","eex","ejs","html","htm","ipynb","kit","latte","marko","mask","mtml","phtml","pic","raml","rhtml","vue","xht","xhtml"]},matlab:{filenames:[],extnames:["matlab","m"]},mel:{filenames:[],extnames:["mel"]},mizar:{filenames:[],extnames:["miz","voc"]},monkey:{filenames:[],extnames:["monkey","monkey2"]},n4js:{filenames:[],extnames:["n4jsd"]},nasm:{filenames:[],extnames:["nasm"]},nginx:{filenames:["nginx.conf"],extnames:["nginxconf","vhost"]},nim:{filenames:[],extnames:["nim","nimrod"]},nix:{filenames:[],extnames:["nix"]},nsis:{filenames:[],extnames:["nsi","nsh"]},objectivec:{filenames:[],extnames:["m","h"]},ocaml:{filenames:[],extnames:["ml","eliom","eliomi","ml4","mli","mll","mly"]},opencl:{filenames:[],extnames:["opencl","cl"]},oz:{filenames:[],extnames:["oz"]},pascal:{filenames:[],extnames:["pas","dfm","dpr","inc","lpr","pascal","pp"]},perl:{filenames:["Makefile.PL","Rexfile","ack","cpanfile"],extnames:["pl","al","cgi","fcgi","perl","ph","plx","pm","psgi","t"]},php:{filenames:[".php",".php_cs",".php_cs.dist","Phakefile"],extnames:["php","aw","ctp","fcgi","inc","php3","php4","php5","phps","phpt"]},plsql:{filenames:[],extnames:["pls","bdy","ddl","fnc","pck","pkb","pks","plb","plsql","prc","spc","tpb","tps","trg","vw"]},powershell:{filenames:[],extnames:["ps1","psd1","psm1"]},processing:{filenames:[],extnames:["pde"]},prolog:{filenames:[],extnames:["pl","pro","prolog","yap"]},properties:{filenames:[],extnames:["properties"]},protobuf:{filenames:[],extnames:["proto"]},pug:{filenames:[],extnames:["jade","pug"]},puppet:{filenames:["Modulefile"],extnames:["pp"]},pure:{filenames:[],extnames:["pure"]},python:{filenames:[".gclient","BUCK","BUILD","BUILD.bazel","SConscript","SConstruct","Snakefile","WORKSPACE","wscript"],extnames:["py","bzl","cgi","fcgi","gyp","gypi","lmi","py3","pyde","pyi","pyp","pyt","pyw","rpy","spec","tac","wsgi","xpy"]},q:{filenames:[],extnames:["q"]},qore:{filenames:[],extnames:["q","qm","qtest"]},r:{filenames:[".Rprofile","expr-dist"],extnames:["r","rd","rsx"]},jsx:{filenames:[],extnames:["jsx"]},toml:{filenames:[],extnames:["toml"]},tsx:{filenames:[],extnames:["tsx"]},renpy:{filenames:[],extnames:["rpy"]},reason:{filenames:[],extnames:["re","rei"]},rest:{filenames:[],extnames:["rst","rest"]},rip:{filenames:[],extnames:["rip"]},ruby:{filenames:[".irbrc",".pryrc","Appraisals","Berksfile","Brewfile","Buildfile","Capfile","Dangerfile","Deliverfile","Fastfile","Gemfile","Gemfile.lock","Guardfile","Jarfile","Mavenfile","Podfile","Puppetfile","Rakefile","Snapfile","Thorfile","Vagrantfile","buildfile"],extnames:["rb","builder","eye","fcgi","gemspec","god","jbuilder","mspec","pluginspec","podspec","rabl","rake","rbuild","rbw","rbx","ru","ruby","spec","thor","watchr"]},rust:{filenames:[],extnames:["rs"]},sas:{filenames:[],extnames:["sas"]},sass:{filenames:[],extnames:["sass"]},scss:{filenames:[],extnames:["scss"]},scala:{filenames:[],extnames:["scala","kojo","sbt","sc"]},scheme:{filenames:[],extnames:["scm","sch","sld","sls","sps","ss"]},smalltalk:{filenames:[],extnames:["st","cs"]},smarty:{filenames:[],extnames:["tpl"]},sql:{filenames:[],extnames:["sql","cql","ddl","inc","mysql","prc","tab","udf","viw"]},soy:{filenames:[],extnames:["soy"]},stylus:{filenames:[],extnames:["styl"]},swift:{filenames:[],extnames:["swift"]},tcl:{filenames:["owh","starfield"],extnames:["tcl","adp","tm"]},textile:{filenames:[],extnames:["textile"]},tt2:{filenames:[],extnames:["pm"]},twig:{filenames:[],extnames:["twig"]},typescript:{filenames:[],extnames:["ts"]},velocity:{filenames:[],extnames:["vm"]},verilog:{filenames:[],extnames:["v","veo"]},vhdl:{filenames:[],extnames:["vhdl","vhd","vhf","vhi","vho","vhs","vht","vhw"]},vim:{filenames:[".gvimrc",".nvimrc",".vimrc","_vimrc","gvimrc","nvimrc","vimrc"],extnames:["vim"]},"visual-basic":{filenames:[],extnames:["vb","bas","cls","frm","frx","vba","vbhtml","vbs"]},wasm:{filenames:[],extnames:["wast","wat"]},xojo:{filenames:[],extnames:["xojo_code","xojo_menu","xojo_report","xojo_script","xojo_toolbar","xojo_window"]},xquery:{filenames:[],extnames:["xquery","xq","xql","xqm","xqy"]},yaml:{filenames:[".clang-format",".clang-tidy",".gemrc","glide.lock"],extnames:["yml","mir","reek","rviz","sublime-syntax","syntax","yaml","yaml-tmlanguage"]}};Object.entries(o).reduce((e,t)=>{let[n,r]=t;return{...e,[n.toLocaleLowerCase()]:r}},{});let d=e=>{let t={},n={};for(let[e,r]of Object.entries(c)){for(let n of r.filenames)(0,s.Z)(t,n)||(t[n]=[]),t[n].push(e);for(let t of r.extnames)(0,s.Z)(n,t)||(n[t]=[]),n[t].push(e)}return[].concat(t[l().basename(e)],n[l().extname(e).substring(1)]).filter(Boolean)},u=(e,t)=>{let n=()=>(0,a.Z)(t)?"Other":t;if(!e)return n();let r=Object.values(i.SQ).map(e=>e.toLocaleLowerCase()).indexOf(e.toLocaleLowerCase());if(-1===r)return n();let l=Object.keys(i.SQ)[r];return({csharp:"C#",cpp:"C++",javascript:"JavaScript",typescript:"TypeScript"})[l.toLocaleLowerCase()]||l}},17451:function(e,t,n){"use strict";n.d(t,{a:function(){return o}});var r=n(27257),l=n(85654),s=n(57288);let a=["activeChatId","pendingUserMessage"],i={activeChatId:(0,s.x0)(),selectedModel:void 0,selectedRepoSourceId:void 0,enableActiveSelection:!0,pendingUserMessage:void 0},o=(0,r.Ue)()((0,l.tJ)(()=>({...i}),{name:"tabby-chat-storage",partialize:e=>Object.fromEntries(Object.entries(e).filter(e=>{let[t]=e;return!a.includes(t)})),version:1}))},55823:function(){},65001:function(){},23342:function(e,t){"use strict";t.Z={src:"/_next/static/media/tabby.16ac81a9.png",height:175,width:175,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAA50lEQVR42mMAgUWTGw3KsqO9QOypZeG6NekBuQzI4NCmmaZtFam/K6PtHzYlOH5ysDX7n5QYboJQsKrfd1JN6v+ldXH/F+fa/fWyNf4fEebXBlcwsSbNeWV/+f9FE+t+za2K+xNjLfPf293u6v///xkZQGDDwr7gfetm/d8xr+VPkpXgnzR3nf/xAY6vt6yfK84AUrV5+US9HWtnnVgyrfm/tiTD/9JAo//5Ea5nGUDAkoGBCUQHWEiZysuI7LcwN7wb6WV1IT7YzR7uhh3Lepg+AU2av2AiT0pCuDKDayAvSLwsM4oJAH4LXl0Gpb0HAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8}}},function(e){e.O(0,[8415,5870,6056,7430,55,7812,4007,9643,4752,3449,2578,8511,2287,4421,1454,7070,1002,6805,4553,1889,4405,5083,6044,440,5019,8545,7288,1565,4656,9002,3375,5289,1744],function(){return e(e.s=88177)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/files/page-9a142c6f88756224.js b/ee/tabby-webserver/ui/_next/static/chunks/app/files/page-9a142c6f88756224.js deleted file mode 100644 index f94c75fb2879..000000000000 --- a/ee/tabby-webserver/ui/_next/static/chunks/app/files/page-9a142c6f88756224.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[357],{88177:function(e,t,n){Promise.resolve().then(n.bind(n,31919))},31919:function(e,t,n){"use strict";n.r(t),n.d(t,{SourceCodeBrowser:function(){return tl},SourceCodeBrowserContext:function(){return te}});var r=n(36164),l=n(3546),s=n(11978),a=n(57778),i=n(1853),o=n(94909),c=n(74630),d=n(26165),u=n(21454),f=n(43240),m=n(44645),h=n(80605),p=n(63484),x=n(3765),v=n(11634),g=n(70410),b=n(57288),j=n(53538),y=n(57830),N=n(30601),k=n(90379),w=n(38736),C=n(27064),S=n(50538),R=n(42891),I=n.n(R),E=n(23342),F=n(91655),O=n(2578),L=n(28312),A=n(31458),_=n(81565),P=n(29),D=n(48048);let T=e=>{let{blob:t,className:n,canCopy:s,hideBlobActions:a,contentLength:i,children:o,...c}=e,{chatSideBarVisible:d,setChatSideBarVisible:u,isChatEnabled:f}=l.useContext(te),{activePath:m}=l.useContext(te),{isCopied:h,copyToClipboard:p}=(0,L.m)({timeout:2e3}),x=f&&!d,v=i?(0,F.Z)(i):"",g=async()=>{if(!h&&t)try{let e=await t.text();p(e)}catch(e){O.A.error("Something went wrong. Please try again.")}};return(0,r.jsx)("div",{className:(0,b.cn)("rounded-t-lg border",n),...c,children:!a&&(0,r.jsxs)("div",{className:(0,b.cn)("flex items-center justify-between rounded-t-lg bg-secondary p-2 text-secondary-foreground"),children:[(0,r.jsxs)("div",{className:"flex h-8 items-center gap-4 leading-8",children:[o,(0,r.jsx)("span",{className:"ml-2 text-sm text-muted-foreground",children:v})]}),(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[s&&(0,r.jsxs)(P.u,{children:[(0,r.jsx)(P.aJ,{asChild:!0,children:(0,r.jsxs)(A.z,{variant:"ghost",size:"icon",onClick:g,children:[h?(0,r.jsx)(_.IconCheck,{className:"text-green-600"}):(0,r.jsx)(_.IconCopy,{}),(0,r.jsx)("span",{className:"sr-only",children:"Copy"})]})}),(0,r.jsx)(P._v,{children:"Copy raw file"})]}),!!t&&(0,r.jsxs)(P.u,{children:[(0,r.jsx)(P.aJ,{asChild:!0,children:(0,r.jsx)("a",{className:(0,A.d)({variant:"ghost",size:"icon"}),download:(0,D.i3)(null!=m?m:""),href:URL.createObjectURL(t),children:(0,r.jsx)(_.IconDownload,{})})}),(0,r.jsx)(P._v,{children:"Download raw file"})]}),x&&(0,r.jsxs)(P.u,{children:[(0,r.jsx)(P.aJ,{asChild:!0,children:(0,r.jsxs)(A.z,{variant:"ghost",className:"flex shrink-0 items-center gap-1 px-2",onClick:e=>u(!d),children:[(0,r.jsx)(I(),{alt:"Tabby logo",src:E.Z,width:24}),"Ask Tabby"]})}),(0,r.jsx)(P._v,{children:"Open chat panel"})]})]})]})})},z=e=>{let{className:t,blob:n,isImage:s}=e,{activePath:a}=(0,l.useContext)(te);return(0,r.jsx)("div",{className:(0,b.cn)(t),children:(0,r.jsx)("div",{className:"rounded-b-lg border border-t-0 p-2 text-center",children:s?(0,r.jsx)("img",{className:"mx-auto",src:n?URL.createObjectURL(n):void 0}):(0,r.jsx)("a",{className:"text-primary hover:underline",download:(0,D.i3)(null!=a?a:""),href:n?URL.createObjectURL(n):"",target:"_blank",children:"View raw"})})})},M=l.lazy(()=>Promise.all([n.e(9148),n.e(4015)]).then(n.bind(n,44015))),U=l.lazy(()=>Promise.all([n.e(1266),n.e(5395),n.e(557)]).then(n.bind(n,30557))),Z=e=>{var t;let{className:n}=e,{searchParams:s}=(0,m.Z)(),{activePath:a}=(0,l.useContext)(te),{textValue:i}=(0,l.useContext)(B),o=a?(0,p.U$)(a)[0]:void 0,c=null!=o?o:"plain",d=(null===(t=s.get("plain"))||void 0===t?void 0:t.toString())==="1";return(0,r.jsx)("div",{className:(0,b.cn)(n),children:(0,r.jsx)("div",{className:"rounded-b-lg border border-t-0",children:(0,r.jsx)(l.Suspense,{fallback:(0,r.jsx)(k.cg,{className:"p-2"}),children:i&&"markdown"===c&&!d?(0,r.jsx)(U,{value:i}):(0,r.jsx)(M,{value:null!=i?i:"",language:c})})})})},B=l.createContext({}),q=e=>{var t;let{className:n,blob:s,contentLength:a,fileDisplayType:i,loading:o}=e,{searchParams:c,updateUrlComponents:d}=(0,m.Z)(),{activePath:u}=l.useContext(te),{textValue:f}=l.useContext(B),h="raw"===i||"image"===i,x=u?(0,p.U$)(u)[0]:void 0,v=(null===(t=c.get("plain"))||void 0===t?void 0:t.toString())==="1";return(0,r.jsxs)("div",{className:(0,b.cn)(n),children:[(0,r.jsx)("div",{className:"sticky top-0 z-10 overflow-hidden bg-background",children:(0,r.jsx)(T,{blob:s,contentLength:a,canCopy:!h,children:!!f&&"markdown"===(null!=x?x:"plain")&&(0,r.jsx)(S.mQ,{value:v?"1":"0",onValueChange:e=>{"1"===e?d({searchParams:{set:{plain:"1"}}}):d({searchParams:{del:"plain"}})},children:(0,r.jsxs)(S.dr,{children:[(0,r.jsx)(S.SP,{value:"0",children:"Preview"}),(0,r.jsx)(S.SP,{value:"1",children:"Code"})]})})})}),o&&!s?(0,r.jsx)(k.cg,{className:"p-2"}):h?(0,r.jsx)(z,{blob:s,isImage:"image"===i}):(0,r.jsx)(Z,{})]})},G=e=>{let{blob:t,fileDisplayType:n,contentLength:s}=e,[a,i]=l.useState();return l.useEffect(()=>{let e=async e=>{try{let t=await e.text();i(t)}catch(e){i("")}};t&&"text"===n&&e(t)},[t,n]),(0,r.jsx)(B.Provider,{value:{textValue:a},children:(0,r.jsx)(q,{blob:t,fileDisplayType:n,contentLength:s})})};var V=n(826),Y=n(14439),H=n(16784),J=n(98454),W=n(17451);let K=e=>{let{className:t,...n}=e,[{data:s}]=(0,J.P)(),{pendingEvent:a,setPendingEvent:i,repoMap:o,updateActivePath:c}=l.useContext(te),d=(0,W.a)(e=>e.activeChatId),u=l.useRef(null),f=(0,H.d)(o),m=async e=>{if((null==e?void 0:e.filepath)&&(null==e?void 0:e.git_url)){let n=(0,b.nO)(null==e?void 0:e.range),r=f.current,l=(0,V.Z)(Object.keys(r),t=>{var n;return(null==r?void 0:null===(n=r[t])||void 0===n?void 0:n.gitUrl)===e.git_url});if(l){let s=r[l];if(s){var t;let r=(0,D.s8)(s.refs),l=null===(t=(0,D.r2)(r))||void 0===t?void 0:t.name,a=e.filepath?(0,p.U$)(e.filepath)[0]:void 0;c((0,D.I)(s,l,e.filepath,e.kind),{hash:n,replace:!1,plain:"markdown"===a&&!!n});return}}}},h=(0,Y.m)(u,{navigate:m,refresh:async()=>{window.location.reload(),await new Promise(e=>{setTimeout(()=>e(null),1e3)})},async onSubmitMessage(e,t){},onApplyInEditor(e){},onLoaded(){},onCopy(e){},onKeyboardEvent(){},openInEditor:async()=>!1}),x=e=>{let{action:t}=e,n="";switch(t){case"explain":n="Explain the selected code:";break;case"generate_unittest":n="Generate a unit test for the selected code:";break;case"generate_doc":n="Generate documentation for the selected code:"}return n};return(l.useEffect(()=>{(null==u?void 0:u.current)&&s&&(null==h||h.init({fetcherOptions:{authorization:s.me.authToken}}))},[null==u?void 0:u.current,h,s]),l.useEffect(()=>{if(a&&h){let{lineFrom:e,lineTo:t,code:n,path:r,gitUrl:l}=a;h.sendMessage({message:x(a),selectContext:{kind:"file",content:n,range:{start:e,end:null!=t?t:e},filepath:r,git_url:l}})}i(void 0)},[a,h]),null==s?void 0:s.me)?(0,r.jsxs)("div",{className:(0,b.cn)("flex h-full flex-col",t),...n,children:[(0,r.jsx)(Q,{}),(0,r.jsx)("iframe",{src:"/chat",className:"w-full flex-1 border-0",ref:u},d)]}):(0,r.jsx)(r.Fragment,{})};function Q(){let{setChatSideBarVisible:e}=l.useContext(te);return(0,r.jsx)("div",{className:"sticky top-0 flex items-center justify-end px-2 py-1",children:(0,r.jsx)(A.z,{size:"icon",variant:"ghost",onClick:t=>e(!1),children:(0,r.jsx)(_.IconClose,{})})})}var $=n(24685),X=n(91299),ee=n(40055),et=n(24449),en=n(82394),er=n(11208);let el=e=>{var t;let{className:n}=e,a=(0,s.useRouter)(),i=(0,s.useSearchParams)(),{activeEntryInfo:o,activeRepo:c,activeRepoRef:d,updateActivePath:u}=l.useContext(te),[f,m]=l.useState(null===(t=i.get("q"))||void 0===t?void 0:t.toString()),[h]=(0,et.n)(f,300),p=l.useRef(null),x=null==c?void 0:c.kind,v=null==c?void 0:c.id,j=l.useMemo(()=>{if(h)return(0,X.Z)(h.replace(/-?(f|lang):\S+\s?/g,""))},[h]),[{data:y}]=(0,ee.aM)({query:g.D7,variables:{kind:x,id:v,pattern:null!=j?j:"",rev:null==d?void 0:d.name},pause:!v||!x||!j}),N=l.useMemo(()=>{var e,t;if(!j)return[];let n=null==y?void 0:null===(e=y.repositorySearch)||void 0===e?void 0:e.slice(0,5);return null!==(t=null==n?void 0:n.map(e=>({repositorySearch:e,value:e.path,label:e.path,type:"file"})))&&void 0!==t?t:[]},[null==y?void 0:y.repositorySearch,j]),k=l.useMemo(()=>{let e=[{label:"Include only results from file path matching the given search pattern.",value:"f",type:"tips"},{label:"Exclude results from file path matching the given search pattern.",value:"-f",type:"tips"},{label:"Include only results from the given language.",value:"lang",type:"tips"},{label:"Exclude results from the given language.",value:"-lang",type:"tips"}];if(!f)return[e[0],e[2]];let t=f.match(/(^|\s)-$/),n=f.match(/(^|\s)-?f$/),r=f.match(/(^|\s)-?l(a(n(g)?)?)?$/);return t?[e[1],e[3]]:n||r?n?e.slice(0,2):r?e.slice(2):[]:[]},[f]),{isOpen:w,getMenuProps:C,getInputProps:S,highlightedIndex:R,getItemProps:I,openMenu:E}=(0,$.Kb)({items:N,onSelectedItemChange(e){let{selectedItem:t}=e;if((null==t?void 0:t.type)==="file"&&t.repositorySearch){let e=(0,D.I)(c,null==d?void 0:d.name,t.repositorySearch.path,t.repositorySearch.type);u(e);return}O(null==t?void 0:t.value)},stateReducer(e,t){let{type:n,changes:r}=t;switch(n){case $.Kb.stateChangeTypes.InputClick:return{...r,highlightedIndex:void 0,isOpen:!0};case $.Kb.stateChangeTypes.InputKeyDownArrowDown:{if(!(null==N?void 0:N.length)||!e.isOpen)return r;let t=e.highlightedIndex===N.length-1;return{...r,highlightedIndex:t?void 0:r.highlightedIndex}}case $.Kb.stateChangeTypes.InputKeyDownArrowUp:{if(!(null==N?void 0:N.length)||!e.isOpen)return r;let t=0===e.highlightedIndex;return{...r,highlightedIndex:t?void 0:r.highlightedIndex}}default:return r}}}),F=e=>{w||E(),m(e)};l.useEffect(()=>{let e=e=>{var t,n;let r=e.target,l=null==r?void 0:null===(t=r.tagName)||void 0===t?void 0:t.toLowerCase();if("input"!==l&&"textarea"!==l&&"select"!==l&&"/"===e.key){e.preventDefault(),null===(n=p.current)||void 0===n||n.focus(),E();return}};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[]);let O=e=>{if(!e)return;let t=(0,D.I)(c,null==o?void 0:o.rev,"","search");a.push("/files/".concat(t,"?q=").concat(encodeURIComponent(e)))},L=!(null==k?void 0:k.length)&&!(null==N?void 0:N.length);return(0,r.jsx)("div",{className:(0,b.cn)("flex w-full shrink-0 items-center bg-background px-4 py-3.5 transition duration-500 ease-in-out",n),children:(0,r.jsxs)("div",{className:(0,b.cn)("relative w-full"),children:[(0,r.jsxs)("div",{className:"h-9",children:[(0,r.jsx)("div",{className:(0,b.cn)({"absolute z-10 inset-0":w}),children:(0,r.jsx)(en.I,{className:"w-full",...S({onKeyDown:e=>{"Enter"!==e.key||e.nativeEvent.isComposing||(e.preventDefault(),O(f))},ref:p}),value:f,onChange:e=>F(e.target.value)})}),!f&&(0,r.jsxs)("div",{className:"absolute left-3 top-1.5 cursor-text select-none text-muted-foreground",onClick:e=>{var t;e.preventDefault(),null===(t=p.current)||void 0===t||t.focus(),E()},children:["Type"," ",(0,r.jsx)("kbd",{className:"rounded border border-muted-foreground px-0.5",children:"/"})," ","to search"]})]}),(0,r.jsxs)("div",{className:"absolute right-2 top-0 z-20 flex h-full items-center",children:[f?(0,r.jsx)(A.z,{variant:"ghost",size:"icon",className:"h-6 w-6 cursor-pointer",onClick:()=>{var e;m(""),null===(e=p.current)||void 0===e||e.focus()},children:(0,r.jsx)(_.IconClose,{})}):null,(0,r.jsx)("div",{className:"z-20 ml-2 flex items-center border-l border-l-border pl-2",children:(0,r.jsx)(A.z,{variant:"ghost",className:"h-6 w-6 ",size:"icon",onClick:()=>O(f),children:(0,r.jsx)(_.IconSearch,{})})})]}),w&&(0,r.jsxs)("div",{className:(0,b.cn)("absolute -inset-x-3 -top-2.5 flex max-h-[60vh] flex-col overflow-hidden rounded-lg border bg-background p-4 shadow-2xl dark:border-2 dark:border-[#33363c] dark:bg-[hsl(0,0,13.5%)]",{"pb-0.5":L}),...C({suppressRefError:!0}),children:[(0,r.jsx)("div",{className:(0,b.cn)("shrink-0",L?"h-9":"h-12")}),(0,r.jsxs)("div",{className:"flex-1 overflow-y-auto",children:[!!(null==k?void 0:k.length)&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"text-md mb-2 pl-2 font-semibold",children:"Narrow your search"}),(0,r.jsx)("div",{className:"space-y-2",children:k.map(e=>(0,r.jsx)(ea,{data:e},e.value))})]}),!!(null==N?void 0:N.length)&&(0,r.jsxs)(r.Fragment,{children:[!!(null==k?void 0:k.length)&&(0,r.jsx)(er.Z,{className:"my-2"}),(0,r.jsx)("div",{className:"text-md mb-1 pl-2 font-semibold",children:"Code"}),N.map((e,t)=>{var n,l;let s=e.repositorySearch,a=R===t;return(0,r.jsxs)("div",{className:(0,b.cn)("relative flex cursor-default select-none items-center gap-1 rounded-sm px-2 py-1.5 text-sm",a&&"cursor-pointer bg-accent text-accent-foreground"),...I({item:e,index:t,onMouseLeave:e=>e.preventDefault(),onMouseOut:e=>e.preventDefault()}),children:[(0,r.jsx)("div",{className:"shrink-0",children:(null==e?void 0:null===(n=e.repositorySearch)||void 0===n?void 0:n.type)==="dir"?(0,r.jsx)(_.IconDirectorySolid,{style:{color:"rgb(84, 174, 255)"}}):(0,r.jsx)(_.IconFile,{})}),(0,r.jsx)("div",{className:"flex-1 break-all",children:(0,r.jsx)(es,{text:s.path,indices:s.indices})}),(0,r.jsx)("div",{className:"shrink-0 text-sm text-muted-foreground",children:"Jump to"})]},null===(l=e.repositorySearch)||void 0===l?void 0:l.path)})]})]})]})]})})};function es(e){let{text:t,indices:n}=e,s=l.useMemo(()=>new Set(n),[n]);return(0,r.jsx)("p",{className:"text-muted-foreground",children:t.split("").map((e,t)=>s.has(t)?(0,r.jsx)("span",{className:"font-semibold text-foreground",children:e},"".concat(e,"_").concat(t)):e)})}function ea(e){let{data:t}=e,{label:n,value:l}=t;return(0,r.jsxs)("div",{className:"flex items-center gap-1 px-2 text-sm",children:[(0,r.jsx)(_.IconFilter,{className:"shrink-0"}),(0,r.jsxs)("div",{className:"text-secondary-foreground",children:[(0,r.jsxs)("span",{className:"mr-0.5 rounded bg-secondary px-1 py-0.5 text-secondary-foreground",children:[l,":"]}),(0,r.jsx)("span",{children:n})]})]})}var ei=n(97651),eo=n.n(ei),ec=n(39018),ed=n.n(ec),eu=n(3448),ef=n(70652),em=n.n(ef),eh=n(88105),ep=n(58388),ex=n(28242),ev=n(33523),eg=n(85312);let eb=eh.tk.theme({".cm-line":{cursor:"pointer"},".cm-line:hover":{opacity:"60%"}});n(55823);let ej=eh.p.mark({class:"search-match-mark"}),ey=eh.tk.theme({".search-match-mark":{backgroundColor:"hsl(var(--mark-bg))"}});function eN(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.state.doc,r=n.length;if(!r)return eh.p.none;let l=[];for(let e of t){let t=n.line(e.lineNumber),s=t.from,a={start:s+e.bytesStart,end:s+e.bytesEnd};try{a&&a.start<=r&&a.end<=r&&l.push(ej.range(a.start,a.end))}catch(e){}}return l.length?eh.p.set(l):eh.p.none}let ek=e=>{let t=eh.lg.fromClass(class{update(t){(t.docChanged||t.viewportChanged)&&(this.marks=eN(t.view,e))}constructor(t){this.marks=eN(t,e)}},{decorations:e=>e.marks});return[t,ey]},ew=l.memo(e=>{let t,{path:n,pattern:l}=e;if(!l)return n;let s=RegExp((0,ep.Z)(l),"gi"),a=[];for(;null!==(t=s.exec(n));){let e=t.index,n=e+t[0].length;a.push({start:e,end:n})}return(0,r.jsx)(eS,{text:n,matches:a})});ew.displayName="FilePathView";let eC=e=>{let{result:t,query:n}=e,{theme:s}=(0,ex.F)(),{activeRepo:a,activeEntryInfo:i}=l.useContext(te),o=l.useMemo(()=>{var e;return null==n?void 0:null===(e=n.match(/f:(\S+)/))||void 0===e?void 0:e[1]},[n]),d=(0,p.U$)(t.path)[0],u=l.useMemo(()=>{var e;let n;let r=[],l=0,s=0,a=null!==(e=t.lines)&&void 0!==e?e:[];return a.forEach((e,t)=>{0===t?(l=t,s=t,n=e.lineNumber):((0,c.Z)(n)||e.lineNumber!==n+1?(n=e.lineNumber,r.push({start:l,end:s}),l=t):n=e.lineNumber,s=t)}),s!==(null==a?void 0:a.length)&&r.push({start:l,end:s}),r},[t.lines]),f="/files/".concat((0,D.I)(a,i.rev,t.path,"file"));return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"sticky top-9 z-10 border bg-secondary p-2 text-secondary-foreground",children:(0,r.jsx)(em(),{href:{pathname:f},className:"inline-flex font-medium text-primary hover:underline",children:(0,r.jsx)(ew,{path:t.path,pattern:o})})}),(0,r.jsx)("div",{className:"divide-y-border mb-6 grid divide-y overflow-x-auto border border-t-0",children:u.map((e,n)=>{let l=t.lines.slice(e.start,e.end+1);return(0,r.jsx)(ev.Z,{height:20*l.length+9,offset:300,children:(0,r.jsx)(eR,{language:d,theme:s,lines:l,path:t.path})},"".concat(t.path,"-").concat(e.start))})})]})};function eS(e){let{text:t,matches:n}=e;if(!n||0===n.length)return(0,r.jsx)("span",{children:t});let l=[],s=0;return n.forEach((e,n)=>{e.start>s&&l.push((0,r.jsx)("span",{children:t.substring(s,e.start)},"text-".concat(n))),l.push((0,r.jsx)("span",{className:"bg-[hsl(var(--mark-bg))]",children:t.substring(e.start,e.end)},"match-".concat(n))),s=e.end}),s{var e;let t=null!==(e=null==i?void 0:i.reduce((e,t)=>e+(t.line.text||atob(t.line.base64||"")||""),""))&&void 0!==e?e:"";return t.replace(/\n$/,"")},[]),m=(null==i?void 0:null===(t=i[0])||void 0===t?void 0:t.lineNumber)||0,h=l.useMemo(()=>{if(null==i?void 0:i.length){var e;let t=[];for(let e=0;e{let t="/files/".concat((0,D.I)(d,u.rev,o,"file"));c.push("".concat(t,"?plain=1#L").concat(m+e-1))},[eb,eh.tk.domEventHandlers({mousedown(t,n){let r=n.posAtCoords({x:t.clientX,y:t.clientY});if(null!=r){let l=n.state.doc.lineAt(r);e(l.number,t)}}})]),...ek(t)]}return[]},[i]);return(0,r.jsx)(eg.Z,{value:f,theme:n,language:a,readonly:!0,extensions:h})}let eI=e=>{var t,n,a;let i=(0,s.useSearchParams)(),o=null!==(n=null===(t=i.get("q"))||void 0===t?void 0:t.toString())&&void 0!==n?n:"",c=l.useMemo(()=>{var t;let n=e.results;return null!==(t=null==n?void 0:n.map(e=>({...e,blob:e.lines.reduce((e,t)=>{var n;return e+(null!==(n=t.line.text)&&void 0!==n?n:"")},"")})))&&void 0!==t?t:[]},[e.results]),d=l.useMemo(()=>{let t=0;if(!e.results)return"0";for(let n of e.results){let e=n.lines.reduce((e,t)=>{let n=t.subMatches.length;return e+n},0);t+=Math.max(e,1)}let n=t<1e3?"0":"0.0a";return ed()(t).format(n)},[e.results]),u=eo().humanizer({units:["d","h","m","s"],spacer:"",maxDecimalPoints:2,language:"shortEn",languages:{shortEn:{m:()=>"m",s:()=>"s"}}})(null!==(a=e.requestDuration)&&void 0!==a?a:0);return(0,r.jsx)(r.Fragment,{children:e.loading?(0,r.jsx)(eE,{className:"mt-3"}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("h1",{className:"sticky top-0 z-20 bg-background pb-2 pt-1 font-semibold",children:[d," results in ",u]}),null==c?void 0:c.map((e,t)=>(0,r.jsx)("div",{children:(0,r.jsx)(eC,{result:e,query:o})},"".concat(e.path,"-").concat(t)))]})})};function eE(e){let{className:t}=e;return(0,r.jsxs)("div",{className:(0,b.cn)("flex flex-col gap-3",t),children:[(0,r.jsx)(eu.O,{className:"h-4 w-[20%]"}),(0,r.jsx)(eu.O,{className:"h-4 w-full"}),(0,r.jsx)(eu.O,{className:"h-8 w-full"})]})}let eF=e=>{let{className:t,error:n}=e,l=(0,r.jsx)(eL,{});switch(null==n?void 0:n.message){case D.l8.REPOSITORY_NOT_FOUND:l=(0,r.jsx)(eO,{});break;case D.l8.REPOSITORY_SYNC_FAILED:l=(0,r.jsx)(eA,{});break;case D.l8.INVALID_URL:l=(0,r.jsx)(e_,{});break;case D.l8.FAILED_TO_FETCH:l=(0,r.jsx)(eP,{})}return(0,r.jsx)("div",{className:(0,b.cn)("flex min-h-[30vh] items-center justify-center",t),children:(0,r.jsx)("div",{className:"flex flex-col items-center gap-4",children:l})})};function eO(){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(_.IconFileSearch,{className:"h-6 w-6"}),(0,r.jsx)("div",{className:"text-xl font-semibold",children:"Repository not found"})]}),(0,r.jsxs)(em(),{href:"/files",className:(0,b.cn)((0,A.d)(),"gap-2"),children:[(0,r.jsx)("span",{children:"Back to repositories"}),(0,r.jsx)(_.IconArrowRight,{})]})]})}function eL(){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(_.IconFileSearch,{className:"h-6 w-6"}),(0,r.jsx)("div",{className:"text-xl font-semibold",children:"Not found"})]}),(0,r.jsxs)(em(),{href:"/files",className:(0,b.cn)((0,A.d)(),"gap-2"),children:[(0,r.jsx)("span",{children:"Back to repositories"}),(0,r.jsx)(_.IconArrowRight,{})]})]})}function eA(){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(_.IconFileSearch,{className:"h-6 w-6"}),(0,r.jsx)("div",{className:"text-xl font-semibold",children:"Repository is not cloned properly"})]}),(0,r.jsx)("div",{children:"The cloning of the repository has failed. Please verify your settings or attempt to retry the job."}),(0,r.jsxs)(em(),{href:"/settings/providers/git",className:(0,b.cn)((0,A.d)(),"gap-2"),children:[(0,r.jsx)("span",{children:"Providers Configuration"}),(0,r.jsx)(_.IconArrowRight,{})]})]})}function e_(){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(_.IconFileSearch,{className:"h-6 w-6"}),(0,r.jsx)("div",{className:"text-xl font-semibold",children:"Invalid URL"})]}),(0,r.jsxs)(em(),{href:"/files",className:(0,b.cn)((0,A.d)(),"gap-2"),children:[(0,r.jsx)("span",{children:"Back to repositories"}),(0,r.jsx)(_.IconArrowRight,{})]})]})}function eP(){return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(_.IconFileSearch,{className:"h-6 w-6"}),(0,r.jsx)("div",{className:"text-xl font-semibold",children:"Failed to fetch"})]})})}var eD=n(48537);let eT=e=>{let{className:t}=e,{currentFileRoutes:n,activeRepo:s,activeEntryInfo:a}=l.useContext(te),i=null==a?void 0:a.basename,o=l.useMemo(()=>{var e;let t=null==a?void 0:a.basename,n=[{name:null!==(e=null==a?void 0:a.repositoryName)&&void 0!==e?e:"",href:(0,D.I)(s,a.rev,"","dir")}];if(t){let e=decodeURIComponent(t).split("/")||[];for(let t=0;t{let n=0===t&&(null==o?void 0:o.length)>1,s=t===o.length-1,a=(0,b.cn)("whitespace-nowrap",n||s?"font-bold":"font-medium",s?"":"cursor-pointer text-primary hover:underline",n?"hover:underline":void 0);return(0,r.jsxs)(l.Fragment,{children:[s?(0,r.jsx)("div",{className:a,children:e.name}):(0,r.jsx)(em(),{className:a,href:"/files/".concat(e.href),children:e.name}),!s&&(0,r.jsx)("div",{children:"/"})]},e.href)})]}),!!(null==n?void 0:n.length)&&!!i&&(0,r.jsx)(eD.q,{className:"shrink-0",value:i})]})};var ez=n(76297),eM=n(36327);let eU=l.createContext({}),eZ=e=>{let{onSelectTreeNode:t,children:n,activePath:l,fileMap:s,updateFileMap:a,expandedKeys:i,toggleExpandedKey:o,initialized:c,fileTreeData:d,fetchingTreeEntries:u}=e;return(0,r.jsx)(eU.Provider,{value:{onSelectTreeNode:t,fileTreeData:d,expandedKeys:i,toggleExpandedKey:o,activePath:l,fileMap:s,updateFileMap:a,initialized:c,fetchingTreeEntries:u},children:n})},eB=e=>{let{level:t}=e,n=l.useMemo(()=>Array(t).fill(1),[t]);return(0,r.jsx)("div",{className:"flex h-full shrink-0 items-stretch",children:n.map((e,t)=>(0,r.jsx)("div",{className:"flex h-8 w-2 border-r border-transparent transition-colors duration-300 group-hover/filetree:border-border"},t))})},eq=()=>{let{ref:e,entry:t,inView:n}=(0,ez.YD)({trackVisibility:!0,delay:500});return l.useEffect(()=>{if((null==t?void 0:t.target)&&!n){var e;null==t||null===(e=t.target)||void 0===e||e.scrollIntoView({block:"center"})}},[null==t?void 0:t.target]),(0,r.jsx)("div",{ref:e,className:"absolute -left-2 h-8 w-1 rounded-md bg-primary"})},eG=e=>{let{isActive:t,level:n,children:l,className:s,...a}=e;return(0,r.jsxs)("div",{className:(0,b.cn)("relative flex h-8 cursor-pointer items-stretch rounded-sm hover:bg-accent focus:bg-accent focus:text-accent-foreground",t&&"bg-accent",s),...a,children:[t&&(0,r.jsx)(eq,{}),(0,r.jsx)(eB,{level:n}),(0,r.jsxs)("div",{className:"flex flex-nowrap items-center gap-2 truncate whitespace-nowrap",children:[(0,r.jsx)("div",{className:"h-4 w-4 shrink-0"}),l]})]})},eV=e=>{let{children:t,level:n,isActive:l,className:s,...a}=e;return(0,r.jsxs)("div",{className:(0,b.cn)("relative flex cursor-pointer items-stretch rounded-sm hover:bg-accent focus:bg-accent focus:text-accent-foreground",l?"bg-accent text-accent-foreground":void 0,s),...a,children:[l&&(0,r.jsx)(eq,{}),(0,r.jsx)(eB,{level:n}),(0,r.jsx)("div",{className:"flex flex-nowrap items-center gap-2 truncate whitespace-nowrap",children:t})]})},eY=e=>{let{node:t,level:n}=e,{activeEntryInfo:s}=l.useContext(te),{onSelectTreeNode:a}=l.useContext(eU),i="file"===t.file.kind,o=t.fullPath===(null==s?void 0:s.basename);return(0,r.jsxs)(eG,{level:n,onClick:e=>{i&&(null==a||a(t))},isActive:o,children:[(0,r.jsx)(_.IconFile,{className:"shrink-0"}),(0,r.jsx)("div",{className:"truncate",children:null==t?void 0:t.name})]})},eH=e=>{var t,n,s;let{node:a,level:i,root:o}=e,{activeRepo:c,activeEntryInfo:d}=l.useContext(te),{fileMap:u,updateFileMap:f,expandedKeys:m,toggleExpandedKey:h,onSelectTreeNode:p}=l.useContext(eU),v=l.useRef(!1),g=o?"":a.file.basename,b=m.has(g),j="dir"===a.file.kind&&!(null==u?void 0:null===(t=u[a.fullPath])||void 0===t?void 0:t.treeExpanded)&&b,{data:y,isLoading:N}=(0,eM.Z)(j?(0,D.Vq)(c,d.rev,g):null,x.Z,{revalidateIfStale:!1});l.useEffect(()=>{var e;if(!v.current&&(null==y?void 0:null===(e=y.entries)||void 0===e?void 0:e.length)){let e=y.entries.reduce((e,t)=>{let n=t.basename;return{...e,[n]:{file:t,name:(0,D.i3)(n),fullPath:n,treeExpanded:!1}}},{});f(e),v.current=!0}},[y]);let[k]=(0,et.n)(N,100),w=!!(null==a?void 0:null===(n=a.children)||void 0===n?void 0:n.length);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(eV,{level:i,onClick:e=>{null==p||p(a)},isActive:(null==d?void 0:d.basename)===a.fullPath,children:[(0,r.jsx)("div",{className:"flex h-8 shrink-0 items-center hover:bg-primary/10 hover:text-popover-foreground",onClick:e=>{k||(h(a.fullPath),e.stopPropagation())},children:k&&!v.current?(0,r.jsx)(_.IconSpinner,{}):b?(0,r.jsx)(_.IconChevronDown,{}):(0,r.jsx)(_.IconChevronRight,{})}),(0,r.jsx)("div",{className:"shrink-0",style:{color:"rgb(84, 174, 255)"},children:b?(0,r.jsx)(_.IconDirectoryExpandSolid,{}):(0,r.jsx)(_.IconDirectorySolid,{})}),(0,r.jsx)("div",{className:"truncate",children:null==a?void 0:a.name})]}),(0,r.jsx)(r.Fragment,{children:b&&w?(0,r.jsx)(r.Fragment,{children:null===(s=a.children)||void 0===s?void 0:s.map(e=>{let t=e.file.basename;return"dir"===e.file.kind?(0,r.jsx)(eH,{node:e,level:i+1},t):(0,r.jsx)(eY,{node:e,level:i+1},t)})}):null})]})},eJ=()=>{let{repoMap:e,activeEntryInfo:t}=l.useContext(te),{initialized:n,fileTreeData:s,fetchingTreeEntries:a}=l.useContext(eU),{repositorySpecifier:i}=t,o=!!i,c=o&&!(null==s?void 0:s.length);return n?o?c&&a?(0,r.jsx)(eK,{}):(0,r.jsx)(r.Fragment,{children:null==s?void 0:s.map(e=>{var t;let n=(null==e?void 0:null===(t=e.file)||void 0===t?void 0:t.kind)==="file";return n?(0,r.jsx)(eY,{level:0,node:e},e.fullPath):(0,r.jsx)(eH,{level:0,node:e},e.fullPath)})}):null:(0,r.jsx)(eK,{})},eW=e=>{let{className:t,...n}=e;return(0,r.jsx)("div",{className:(0,b.cn)("group/filetree",t),children:(0,r.jsx)(eZ,{...n,children:(0,r.jsx)(eJ,{})})})};function eK(){return(0,r.jsxs)("div",{className:"space-y-3 p-2",children:[(0,r.jsx)(eu.O,{}),(0,r.jsx)(eu.O,{className:"ml-4"}),(0,r.jsx)(eu.O,{className:"ml-4"}),(0,r.jsx)(eu.O,{}),(0,r.jsx)(eu.O,{className:"ml-4"})]})}var eQ=n(62940),e$=n(36065),eX=n(84942),e0=n(54594),e1=n(18500);function e2(e){let{kind:t,fallback:n}=e;switch(t){case e1.vW.Git:case e1.vW.GitConfig:return(0,r.jsx)(_.IconDirectorySolid,{style:{color:"rgb(84, 174, 255)"}});case e1.vW.Github:case e1.vW.GithubSelfHosted:return(0,r.jsx)(_.IconGitHub,{});case e1.vW.Gitlab:case e1.vW.GitlabSelfHosted:return(0,r.jsx)(_.IconGitLab,{});default:return null!=n?n:null}}let e4=e=>{var t,n,s,a,i;let{className:o,...d}=e,{updateActivePath:u,initialized:f,activeRepo:m,activeRepoRef:h,fileMap:p,repoMap:x,activeEntryInfo:v}=(0,l.useContext)(te),g=l.useMemo(()=>(0,D.UR)(x).map(e=>{let t=(0,D.Pj)(e);return{repo:e,repoSpecifier:t}}),[x]),[j,y]=l.useState(!1),[N,k]=l.useState(null!==(s=null==h?void 0:h.kind)&&void 0!==s?s:"branch"),{repositoryKind:w,repositoryName:C,repositorySpecifier:R}=v,I=null==m?void 0:m.refs,E=l.useMemo(()=>(null==I?void 0:I.length)?I.map(e=>(0,D.r2)(e)):[],[I]),F=E.filter(e=>"branch"===e.kind),O=E.filter(e=>"tag"===e.kind),L=f&&!(null==g?void 0:g.length),P=e=>{var t,n,r,l,s;if((0,c.Z)(e))return;let a=null!==(l=null===(t=(0,D.r2)(e))||void 0===t?void 0:t.name)&&void 0!==l?l:"",{basename:i=""}=v,o=null!==(s=null==p?void 0:null===(r=p[i])||void 0===r?void 0:null===(n=r.file)||void 0===n?void 0:n.kind)&&void 0!==s?s:"dir";u((0,D.I)(m,a,i,o))};return(0,r.jsxs)("div",{className:(0,b.cn)(o),...d,children:[(0,r.jsx)("div",{className:"py-4 font-bold leading-8",children:(0,r.jsx)("span",{className:(0,b.cn)("py-1",{"hover:underline cursor-pointer":!!m}),onClick:()=>{m&&u((0,D.I)(m,null==v?void 0:v.rev,"","dir"))},children:"Files"})}),(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsxs)(e0.Ph,{disabled:!f,onValueChange:e=>{var t;let n=null===(t=g.find(t=>t.repoSpecifier===e))||void 0===t?void 0:t.repo;if(n){let t="".concat(e,"/-/tree/").concat((0,D.r2)((0,D.s8)(n.refs)).name);u(t)}},value:R,children:[(0,r.jsx)(e0.i4,{children:(0,r.jsx)(e0.ki,{asChild:!0,children:(0,r.jsxs)("div",{className:"flex items-center gap-2 overflow-hidden",children:[(0,r.jsx)("div",{className:"shrink-0",children:(0,r.jsx)(e2,{kind:w,fallback:(0,r.jsx)(_.IconFolderGit,{})})}),(0,r.jsx)("span",{className:(0,b.cn)("truncate",!C&&"text-muted-foreground"),children:C||"Pick a repository"})]})})}),(0,r.jsx)(e0.Bw,{className:"max-h-[50vh] overflow-y-auto",children:L?(0,r.jsx)(e0.Ql,{isPlaceHolder:!0,value:"",disabled:!0,children:"No repositories"}):(0,r.jsx)(r.Fragment,{children:null==g?void 0:g.map(e=>(0,r.jsx)(e0.Ql,{value:e.repoSpecifier,children:(0,r.jsxs)("div",{className:"flex items-center gap-1",children:[(0,r.jsx)(e2,{kind:e.repo.kind,fallback:(0,r.jsx)(_.IconFolderGit,{})}),e.repo.name]})},e.repoSpecifier))})})]}),!!m&&(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(eX.J2,{open:j,onOpenChange:y,children:[(0,r.jsx)(eX.xo,{asChild:!0,children:(0,r.jsx)(A.z,{className:"w-full justify-start gap-2 px-3",variant:"outline",children:!!h&&(0,r.jsxs)(r.Fragment,{children:["tag"===h.kind?(0,r.jsx)(_.IconTag,{className:"shrink-0"}):(0,r.jsx)(_.IconGitFork,{className:"shrink-0"}),(0,r.jsx)("span",{className:"truncate",title:h.name,children:"commit"===h.kind?null===(n=h.ref)||void 0===n?void 0:null===(t=n.commit)||void 0===t?void 0:t.substring(0,7):h.name})]})})}),(0,r.jsx)(eX.yk,{className:"w-[var(--radix-popover-trigger-width)] p-0",align:"start",side:"bottom",sideOffset:-8,children:(0,r.jsxs)(e$.mY,{children:[(0,r.jsx)(e$.sZ,{placeholder:"tag"===N?"Find a tag":"Find a branch"}),(0,r.jsx)(S.mQ,{className:"my-1 border-b",value:N,onValueChange:e=>k(e),children:(0,r.jsxs)(S.dr,{className:"bg-popover py-0",children:[(0,r.jsx)(S.SP,{value:"branch",children:"Branches"}),(0,r.jsx)(S.SP,{value:"tag",children:"Tags"})]})}),(0,r.jsxs)(e$.e8,{className:"max-h-[30vh]",children:[(0,r.jsx)(e$.rb,{children:"Nothing to show"}),(0,r.jsx)(e$.fu,{children:("tag"===N?O:F).map((e,t)=>{var n;return(0,r.jsxs)(e$.di,{onSelect:()=>{y(!1),P(e.ref)},children:[(0,r.jsx)(_.IconCheck,{className:(0,b.cn)("mr-2 shrink-0",(null==e?void 0:e.name)&&e.name===(null==h?void 0:h.name)?"opacity-100":"opacity-0")}),(0,r.jsx)("span",{className:"truncate",title:e.name,children:null!==(a=e.name)&&void 0!==a?a:""})]},null!==(i=null==e?void 0:null===(n=e.ref)||void 0===n?void 0:n.name)&&void 0!==i?i:t)})})]})]})})]})})]})]})},e5=e=>{let{fetchingTreeEntries:t}=e,{activePath:n,updateActivePath:s,expandedKeys:a,updateFileMap:i,toggleExpandedKey:o,initialized:c,fileTreeData:d,fileMap:u,activeRepo:f,activeEntryInfo:m}=l.useContext(te),h=l.useRef(null),p=function(e,t){var n,r;let[s,a]=(0,l.useState)(null!==(r=null===(n=e.current)||void 0===n?void 0:n.scrollTop)&&void 0!==r?r:0);return(0,l.useEffect)(()=>{if(e.current){let n=(0,eQ.Z)(()=>{var t,n;a(null!==(n=null===(t=e.current)||void 0===t?void 0:t.scrollTop)&&void 0!==n?n:0)},t,{leading:!0}),r=e.current;return r.addEventListener("scroll",n),()=>{r.removeEventListener("scroll",n)}}},[e,t]),s}(h,200);return(0,r.jsxs)("div",{className:"flex h-full flex-col overflow-hidden",children:[(0,r.jsx)(e4,{className:"shrink-0 px-4 pb-3"}),p>0&&(0,r.jsx)("div",{className:"h-0 border-b shadow-[0px_3px_8px_rgba(0,0,0,0.3)] dark:shadow-[0px_3px_8px_rgba(255,255,255,0.3)]"}),(0,r.jsx)("div",{className:"flex-1 overflow-y-auto px-4",ref:h,children:(0,r.jsx)(eW,{onSelectTreeNode:e=>{let t=(0,D.I)(f,m.rev,e.file.basename,e.file.kind);s(t)},activePath:n,fileMap:u,updateFileMap:i,expandedKeys:a,toggleExpandedKey:o,initialized:c,fileTreeData:d,fetchingTreeEntries:t})})]})};var e8=n(2899),e3=n(99047);let e6=e=>{var t,n;let{className:s,loading:a,initialized:i}=e,{activePath:c,currentFileRoutes:d,fileTreeData:u,activeRepo:f,repoMap:m,activeEntryInfo:h}=l.useContext(te),p=l.useMemo(()=>(0,o.Z)(m)||f?function(e,t){if(!(null==e?void 0:e.length))return[];if(t){let{basename:n=""}=(0,D.Jt)(t);if(!n)return e;let r=decodeURIComponent(n).split("/"),l=e;for(let e=0;ee.fullPath===t);if(null==n||!n.children)return[];l=null==n?void 0:n.children}return(null==l?void 0:l.map(e=>(0,e8.Z)(e,"children")))||[]}{let t=e.map(e=>(0,e8.Z)(e,"children"))||[];return t}}(u,c):(0,D.UR)(m).map(e=>{var t;return{file:{basename:e.name,kind:"dir"},isRepository:!0,repository:e,fullPath:(0,D.I)(e,null===(t=(0,D.r2)((0,D.s8)(e.refs)))||void 0===t?void 0:t.name,"","dir"),name:e.name}}),[u,c,f,m]),[x]=(0,et.n)(a,300),v=!!(null==h?void 0:h.basename),g=d[(null==d?void 0:d.length)-2];return(0,r.jsx)("div",{className:(0,b.cn)("text-base",s),children:(!x||(null==p?void 0:p.length))&&i?(null==p?void 0:p.length)?(0,r.jsx)(e3.iA,{children:(0,r.jsxs)(e3.RM,{children:[v&&(0,r.jsx)(e3.SC,{className:"cursor-pointer",children:(0,r.jsx)(e3.pj,{className:"p-1 px-4",children:(0,r.jsx)(em(),{href:"/files/".concat((0,D.I)(f,h.rev,null==g?void 0:null===(t=g.file)||void 0===t?void 0:t.basename,null==g?void 0:null===(n=g.file)||void 0===n?void 0:n.kind)),children:(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("div",{className:"shrink-0",children:(0,r.jsx)(_.IconDirectorySolid,{style:{color:"rgb(84, 174, 255)"}})}),(0,r.jsx)("span",{className:"px-1 py-2",children:".."})]})})})}),(0,r.jsx)(r.Fragment,{children:p.map(e=>{var t;let n=e.isRepository,l=null===(t=e.repository)||void 0===t?void 0:t.kind;return(0,r.jsx)(e3.SC,{children:(0,r.jsx)(e3.pj,{className:"p-1 px-4 text-base",children:(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("div",{className:"shrink-0",children:n?(0,r.jsx)(e2,{kind:l,fallback:(0,r.jsx)(_.IconDirectorySolid,{style:{color:"rgb(84, 174, 255)"}})}):"dir"===e.file.kind?(0,r.jsx)(_.IconDirectorySolid,{style:{color:"rgb(84, 174, 255)"}}):(0,r.jsx)(_.IconFile,{})}),(0,r.jsx)(em(),{href:n?"/files/".concat(e.fullPath):"/files/".concat((0,D.I)(null!=f?f:e.repository,h.rev,e.file.basename,e.file.kind)),className:"cursor-pointer px-1 py-2 hover:text-primary hover:underline",children:e.name})]})})},e.fullPath)})})]})}):(0,o.Z)(m)?(0,r.jsx)("div",{className:"flex min-h-[30vh] items-center justify-center",children:(0,r.jsxs)("div",{className:"flex flex-col items-center gap-4",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(_.IconFileSearch,{className:"h-6 w-6"}),(0,r.jsx)("div",{className:"text-xl font-semibold",children:"No repositories"})]}),(0,r.jsxs)(em(),{href:"/settings/providers/git",className:(0,b.cn)((0,A.d)(),"gap-2"),children:[(0,r.jsx)("span",{children:"Connect"}),(0,r.jsx)(_.IconArrowRight,{})]})]})}):null:(0,r.jsx)(e7,{})})};function e7(){return(0,r.jsxs)("ul",{className:"space-y-3 p-2",children:[(0,r.jsx)(eu.O,{}),(0,r.jsx)(eu.O,{}),(0,r.jsx)(eu.O,{}),(0,r.jsx)(eu.O,{})]})}let e9=(0,f.BX)("\n query RepositoryGrep(\n $id: ID!\n $kind: RepositoryKind!\n $rev: String\n $query: String!\n ) {\n repositoryGrep(kind: $kind, id: $id, rev: $rev, query: $query) {\n files {\n path\n lines {\n line {\n text\n base64\n }\n byteOffset\n lineNumber\n subMatches {\n bytesStart\n bytesEnd\n }\n }\n }\n elapsedMs\n }\n }\n"),te=l.createContext({}),tt=e=>{var t;let{children:n}=e,a=(0,s.usePathname)(),{updateUrlComponents:o,searchParams:c}=(0,m.Z)(),d=null===(t=c.get("redirect_git_url"))||void 0===t?void 0:t.toString(),[u,f]=l.useState(!1),[p,x]=l.useState(),v=l.useMemo(()=>(0,D.Jt)(p),[p]),g=(0,h.xG)(),[b,j]=l.useState(!1),[y,N]=l.useState({}),[k,w]=l.useState({}),[C,S]=l.useState(new Set),[R,I]=l.useState(!1),[E,F]=l.useState(),[O,L]=(0,l.useState)(),A=l.useRef(),_=l.useCallback(async(e,t)=>{let n=null==t?void 0:t.replace;if(e){let r={},l=["redirect_filepath","redirect_git_url","line"];(null==t?void 0:t.plain)?r.plain="1":l.push("plain"),o({pathname:"/files/".concat(e),searchParams:{set:r,del:l},replace:n,hash:null==t?void 0:t.hash})}else o({pathname:"/files",searchParams:{del:["path","plain","line"]},hash:null==t?void 0:t.hash,replace:n})},[]),P=l.useMemo(()=>(function e(t){if(!t.length)return[];for(let n of(t.sort((e,t)=>{let n="file"===e.file.kind?1:0,r="file"===t.file.kind?1:0;return n-r||e.name.localeCompare(t.name)}),t))(null==n?void 0:n.children)&&e(n.children);return t})(function(e){let t=[];if(!e)return t;let n=Object.keys(e);for(let r of n){let n=e[r],l=r.split("/"),s=t;for(let e=0;ee.fullPath===t);if(a)s=a.children||[];else{let e={file:n.file,name:n.name,fullPath:r,children:[],isRepository:n.isRepository,repository:n.repository};s.push(e),s=e.children}}}return t}(y)),[y]),T=l.useMemo(()=>{let{repositoryKind:e,repositoryName:t,repositorySpecifier:n}=v;if(e&&t)return n?k[n]:void 0},[k,v]),z=l.useMemo(()=>{var e,t;if(!v||!T)return;let n=null!==(t=null==v?void 0:v.rev)&&void 0!==t?t:"",r=null===(e=T.refs)||void 0===e?void 0:e.find(e=>(null==e?void 0:e.name)==="refs/heads/".concat(n)||(null==e?void 0:e.name)==="refs/tags/".concat(n)||(null==e?void 0:e.commit)===n);if(r){let e;return r.name==="refs/heads/".concat(n)?e="branch":r.name==="refs/tags/".concat(n)?e="tag":r.commit===n&&(e="commit"),(0,D.r2)(r,e)}},[v,T]),M=l.useMemo(()=>{var e;if(!p)return[];let{basename:t=""}=v,n=[{file:{kind:"dir",basename:""},isRepository:!0,repository:T,name:null!==(e=null==T?void 0:T.name)&&void 0!==e?e:"",fullPath:""}],r=(null==t?void 0:t.split("/"))||[];for(let e=0;e{var e;let t=null===(e=a.match(/^\/files\/(.*)/))||void 0===e?void 0:e[1];A.current=p,x(null!=t?t:""),u||f(!0),O&&L(void 0)},[a,d]),(0,r.jsx)(te.Provider,{value:{initialized:b,setInitialized:j,activePath:p,updateActivePath:_,fileMap:y,updateFileMap:(e,t)=>{e&&(t?N(e):N(t=>({...t,...e})))},expandedKeys:C,setExpandedKeys:S,toggleExpandedKey:e=>{let t=C.has(e),n=new Set(C);t?n.delete(e):n.add(e),S(n)},currentFileRoutes:M,fileTreeData:P,chatSideBarVisible:R,setChatSideBarVisible:I,pendingEvent:E,setPendingEvent:F,isChatEnabled:g,repoMap:k,setRepoMap:w,activeRepo:T,activeRepoRef:z,isPathInitialized:u,activeEntryInfo:v,prevActivePath:A,error:O,setError:L},children:n})},tn="application/vnd.directory+json",tr=e=>{var t;let{className:n}=e,{activePath:s,updateActivePath:a,initialized:i,setInitialized:f,chatSideBarVisible:h,setChatSideBarVisible:v,setPendingEvent:g,repoMap:N,setRepoMap:S,activeRepo:R,isPathInitialized:I,activeEntryInfo:E,prevActivePath:F,updateFileMap:O,setExpandedKeys:L,error:A,setError:_}=l.useContext(te),{searchParams:P}=(0,m.Z)(),T=l.useRef(!1),{progress:z,setProgress:M}=(0,w.U)(),U=l.useRef(null),[Z,B]=l.useState(35),q=null===(t=P.get("q"))||void 0===t?void 0:t.toString(),V=l.useMemo(()=>(0,D.Jt)(s),[s]),Y=null==V?void 0:V.basename,H=(null==E?void 0:E.viewMode)==="blob",J=(null==E?void 0:E.viewMode)==="search",W=!!i&&!(0,o.Z)(N)&&!!s&&!J,Q=!!i&&!(0,o.Z)(N)&&!!s&&J,$=!!i&&H&&R,{data:X,isLoading:ee,error:et}=(0,u.ZP)(W?s:null,e=>{let{repositorySpecifier:t}=(0,D.Jt)(e);return ti(e,t?null==N?void 0:N[t]:void 0).then(t=>({entries:t,requestPathname:e}))},{revalidateOnFocus:!1,shouldRetryOnError:!1}),{data:en,isLoading:er,error:es}=(0,u.ZP)($?[(0,D.Vq)(R,E.rev,Y),Y]:null,e=>{let[t,n]=e;return(0,x.Z)(t,{responseFormatter:async e=>{let t=e.headers.get("Content-Type");if(t===tn)throw Error(D.l8.INVALID_URL);let r=(0,d.Z)(e.headers.get("Content-Length")),l=await e.blob(),s=await ta(null!=n?n:"",l);return{contentLength:r,blob:l,fileDisplayType:s}},errorHandler(){throw Error(D.l8.NOT_FOUND)}})},{revalidateOnFocus:!1,shouldRetryOnError:!1}),{data:ea,isLoading:ei,error:eo}=(0,u.ZP)(Q&&q?[s,q]:null,e=>{let[t,n]=e,{repositorySpecifier:r}=(0,D.Jt)(t);return to(n,r?null==N?void 0:N[r]:void 0,E.rev)},{revalidateOnFocus:!1,shouldRetryOnError:!1}),ec=null==en?void 0:en.blob,ed=null==en?void 0:en.contentLength,eu=null==en?void 0:en.fileDisplayType,ef=A||es||et,em=(null==E?void 0:E.viewMode)==="tree"||!(null==E?void 0:E.viewMode);return l.useEffect(()=>{let e=async()=>{if(T.current)return;T.current=!0;let e=await ts(),t=P.get("redirect_filepath"),n=P.get("redirect_git_url");if((null==e?void 0:e.length)&&t&&n){let i=e.find(e=>e.gitUrl===n);if(i){var r,l,s;let e=(0,D.s8)(i.refs),n=(null===(r=(0,D.r2)(e))||void 0===r?void 0:r.name)||"",o=(0,D.kQ)(window.location.hash),d=!(0,c.Z)(null==o?void 0:o.start),u=parseInt(null!==(s=null===(l=P.get("line"))||void 0===l?void 0:l.toString())&&void 0!==s?s:""),f=d?window.location.hash:(0,b.nO)({start:u}),m=t?(0,p.U$)(t)[0]:void 0;a((0,D.I)(i,n,t,"file"),{replace:!0,hash:f,plain:"markdown"===m&&!!f}),T.current=!1;return}_(Error(D.l8.REPOSITORY_NOT_FOUND))}e&&S((0,D.fr)(e)),f(!0)};!i&&I&&e()},[s,i,I]),l.useEffect(()=>{if(!X)return;let{entries:e,requestPathname:t}=X,{repositorySpecifier:n,viewMode:r,basename:l,rev:s}=(0,D.Jt)(t),{repositorySpecifier:a,rev:i}=(0,D.Jt)(F.current),o=(0,D.yH)(l,"tree"===r),c={};if(e.length)for(let t of e){let e=t.basename;c[e]={file:t,name:(0,D.i3)(e),fullPath:e,treeExpanded:o.includes(t.basename)}}let d=o.filter(Boolean),u=n!==a||s!==i;c&&O(c,u),(null==d?void 0:d.length)&&(u?L(new Set(d)):L(e=>{let t=new Set(e);for(let e of d)t.add(e);return t}))},[X]),l.useEffect(()=>{!i||(!z&&(er||ee)?M(!0):er||ee||M(!1))},[er,ee]),l.useEffect(()=>{var e,t,n;h?(null===(e=U.current)||void 0===e||e.expand(),null===(t=U.current)||void 0===t||t.resize(Z)):null===(n=U.current)||void 0===n||n.collapse()},[h]),l.useEffect(()=>{if(!(er||ee))return;let{repositorySpecifier:e,rev:t}=E,{repositorySpecifier:n,rev:r}=(0,D.Jt)(F.current);(e!==n||t!==r)&&(O({},!0),L(new Set))},[E]),l.useEffect(()=>{let e=e=>{v(!0),g(e)};return C.u.on("code_browser_quick_action",e),()=>{C.u.off("code_browser_quick_action",e)}},[]),(0,r.jsxs)(j.pO,{direction:"horizontal",className:(0,b.cn)(n),onLayout:e=>{(null==e?void 0:e[2])&&B(e[2])},children:[(0,r.jsx)(j.ee,{defaultSize:20,minSize:20,maxSize:40,className:"hidden lg:block",children:(0,r.jsx)(e5,{fetchingTreeEntries:ee})}),(0,r.jsx)(j.Dp,{className:"hidden w-1 bg-border/40 hover:bg-border active:bg-blue-500 lg:block"}),(0,r.jsx)(j.ee,{defaultSize:80,minSize:30,children:(0,r.jsxs)("div",{className:"mb-4 flex h-full flex-col",children:[(0,r.jsx)(el,{className:(0,b.cn)("z-40",(null==E?void 0:E.repositorySpecifier)?"block":"hidden")}),(em||H)&&(0,r.jsx)(eT,{className:(0,b.cn)("px-4 pb-4",{"pt-4":!(null==E?void 0:E.repositorySpecifier)})}),(0,r.jsx)(y.ScrollArea,{children:(0,r.jsx)("div",{className:"flex h-full flex-col px-4 pb-4",children:i?ef?(0,r.jsx)(eF,{className:"rounded-lg border p-4",error:ef}):(0,r.jsxs)(r.Fragment,{children:[em&&(0,r.jsx)(e6,{loading:ee,initialized:i,className:"rounded-lg border"}),H&&(0,r.jsx)(G,{blob:ec,contentLength:ed,fileDisplayType:eu,loading:er||ee}),J&&(0,r.jsx)(eI,{results:null==ea?void 0:ea.files,requestDuration:null==ea?void 0:ea.elapsedMs,loading:ei})]}):(0,r.jsx)(k.cg,{className:"rounded-lg border p-4"})})})]})}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(j.Dp,{className:(0,b.cn)("hidden w-1 bg-border/40 hover:bg-border active:bg-blue-500",h&&"block")}),(0,r.jsx)(j.ee,{collapsible:!0,collapsedSize:0,defaultSize:0,minSize:25,ref:U,onCollapse:()=>v(!1),children:(0,r.jsx)(K,{})})]})]})},tl=e=>{let[t]=(0,N.Hb)(),n=t?{height:"calc(100vh - ".concat(N.wt,")")}:{height:"100vh"};return(0,r.jsx)(tt,{children:(0,r.jsx)("div",{className:"transition-all",style:n,children:(0,r.jsx)(tr,{className:"source-code-browser",...e})})})};async function ts(){let e=v.Lp.createRequestOperation("query",(0,a.h)(g.zz,{}));return v.Lp.executeQuery(e).then(e=>{var t;return(null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.repositoryList)||[]})}async function ta(e,t){var n;if(!t)return;let r=null==t?void 0:t.type,l=null===(n=(0,p.U$)(e))||void 0===n?void 0:n[0];if(null==r?void 0:r.startsWith("image"))return"image";if(l||(null==r?void 0:r.startsWith("text")))return"text";let s=await new Promise((e,n)=>{let r=t.slice(0,1024),l=new FileReader;l.onloadend=function(t){var n;if((null==t?void 0:null===(n=t.target)||void 0===n?void 0:n.readyState)===FileReader.DONE){let n=t.target.result;"string"!=typeof n?e(!1):/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x9F]/.test(n)?e(!1):e(!0)}},l.onerror=function(){e(!1)},l.readAsText(r,"UTF-8")});return s?"text":"raw"}async function ti(e,t){if(!e)return[];if(!t)throw Error(D.l8.REPOSITORY_NOT_FOUND);if((0,o.Z)(t.refs))throw Error(D.l8.REPOSITORY_SYNC_FAILED);let{basename:n,rev:r,viewMode:l}=(0,D.Jt)(e);if(!r||!l)throw Error(D.l8.INVALID_URL);let s=(0,D.yH)(n,"tree"===l),a=s.map(e=>()=>(0,x.Z)((0,D.Vq)(t,r,e),{responseFormatter(e){let t=e.headers.get("Content-Type");if(t!==tn)throw Error(D.l8.INVALID_URL);return e.json()},errorHandler(){throw Error(D.l8.NOT_FOUND)}})),i=await Promise.all(a.map(e=>e())),c=[];for(let e of i){var d;(null==e?void 0:null===(d=e.entries)||void 0===d?void 0:d.length)&&(c=[...c,...e.entries])}return c}async function to(e,t,n){if(!t)throw Error(D.l8.REPOSITORY_NOT_FOUND);let r=v.Lp.query(e9,{id:t.id,kind:t.kind,query:e,rev:n,pause:!t}).toPromise();return null==r?void 0:r.then(e=>{var t;if(null==e?void 0:e.error)throw Error(D.l8.FAILED_TO_FETCH);return null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.repositoryGrep})}},48048:function(e,t,n){"use strict";n.d(t,{BX:function(){return y},I:function(){return N},Jt:function(){return f},Pj:function(){return p},UR:function(){return v},Vq:function(){return k},fr:function(){return x},i3:function(){return m},kQ:function(){return w},l8:function(){return l},p4:function(){return C},r2:function(){return b},s8:function(){return j},yH:function(){return h}});var r,l,s=n(74630),a=n(5035),i=n(64220),o=n(13420),c=n(18500);(r=l||(l={})).FAILED_TO_FETCH="FAILED_TO_FETCH",r.INVALID_URL="INVALID_URL",r.NOT_FOUND="NOT_FOUND",r.REPOSITORY_NOT_FOUND="REPOSITORY_NOT_FOUND",r.REPOSITORY_SYNC_FAILED="REPOSITORY_SYNC_FAILED";let d=Object.keys(c.vW).map(e=>u(e));function u(e){return e.toLowerCase().replaceAll("_","")}function f(e){let t,n,r;let l={};if(!e)return l;let a=e.indexOf("/-/"),i=e.split("/"),u=i[0],f=d.includes(u);if(!f||-1===a)return l;let m=c.vW.Git;switch(u){case"git":m=c.vW.Git;break;case"github":m=c.vW.Github;break;case"gitlab":m=c.vW.Gitlab;break;case"githubselfhosted":m=c.vW.GithubSelfHosted;break;case"gitlabselfhosted":m=c.vW.GitlabSelfHosted;case"gitconfig":m=c.vW.GitConfig}let h=e.indexOf("/-/tree/"),p=e.indexOf("/-/blob/"),x=e.indexOf("/-/search/");if(h>-1){n="tree";let l=e.slice(h+8),s=l.split("/");r=s[0],t=(0,o.Z)(s.slice(1).join("/"),"/")}if(p>-1){n="blob";let l=e.slice(p+8),s=l.split("/");r=s[0],t=(0,o.Z)(s.slice(1).join("/"),"/")}if(x>-1){n="search";let l=e.slice(x+10),s=l.split("/");r=s[0],t=""}let v=e.split("/-/")[0],g=v.split("/").slice(1).join("/");return{repositorySpecifier:e.split("/-/")[0],repositoryName:g,repositoryKind:m,rev:(0,s.Z)(r)?void 0:decodeURIComponent(r),viewMode:n,basename:(0,s.Z)(t)?void 0:decodeURIComponent(t)}}function m(e){if(!e)return"";let t=e.split("/");return t[t.length-1]}function h(e,t){if((0,s.Z)(e))return[];let n=[""],r=e.split("/"),l=t?r.length:r.length-1;for(let e=0;e"".concat(u(e.kind),"/").concat(e.name))}function v(e){let t=(0,i.Z)(e,e=>e);return t.sort((e,t)=>e.name.localeCompare(t.name)),t}function g(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}function b(e,t){if(!e)return{name:"",ref:void 0};let n=e.name.match(/refs\/(\w+)\/(.*)/);if(n){let r="tags"===n[1]?"tag":"branch";return{kind:null!=t?t:r,name:n[2],ref:e}}return"commit"===t?{kind:t,name:e.commit,ref:e}:{name:"",ref:e}}function j(e){let t,n,r,l;for(let s of e){let{name:e}=s;"refs/heads/main"===e?t=s:"refs/heads/master"===e?n=s:!r&&e.startsWith("refs/heads/")?r=s:!l&&e.startsWith("refs/tags/")&&(l=s)}return t||n||r||l}function y(e){return"blob"===e?"file":"dir"}function N(e,t,n,r){let l=p(e);return"".concat(l,"/-/").concat("search"===r?"search":"file"===r?"blob":"tree","/").concat(encodeURIComponent(null!=t?t:""),"/").concat(g(null!=n?n:""))}function k(e,t,n){let r=null==e?void 0:e.id,l=null==e?void 0:e.kind;if(!r||!l||!t)return null;let s="".concat(u(l),"/").concat(r);return"/repositories/".concat(s,"/rev/").concat(encodeURIComponent(t),"/").concat(g(null!=n?n:""))}function w(e){if(!e)return null;let t=/^#L(\d+)(?:-L(\d+))?/.exec(e);if(!t)return null;let[,n,r]=t,l=parseInt(n),s=parseInt(r);return{start:Number.isNaN(l)?void 0:l,end:Number.isNaN(s)?void 0:s}}function C(e){var t;return(null===(t=w(e))||void 0===t?void 0:t.start)!==void 0}},27064:function(e,t,n){"use strict";n.d(t,{u:function(){return l}});var r=n(18366);let l=(0,r.Z)()},85312:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(36164),l=n(3546),s=n(30352),a=n(94559),i=n(14679),o=n(88105),c=n(99641),d=n(21399),u=n(1853),f=n(49776);let m=[(0,o.AE)(),(0,f.sW)(),a.yy.allowMultipleSelections.of(!0),(0,s.nF)(s.R_,{fallback:!0}),(0,o.Zs)()];n(65001);var h=n(57288);let p=a.q6.define(),x=l.forwardRef((e,t)=>{let{value:n,theme:f,language:x,readonly:v=!0,extensions:g,height:b=null,width:j=null,viewDidUpdate:y,className:N}=e,k=l.useRef(!1),w=l.useRef(null),[C,S]=l.useState(null),R=o.tk.theme({"&":{height:b,width:j,outline:"none !important",background:"hsl(var(--background))"},"&.cm-focused":{outline:"none !important"},"& .cm-scroller":{height:"100% !important",outline:"none"},"& .cm-gutters":{background:"hsl(var(--background))"},"&.cm-focused .cm-selectionLayer .cm-selectionBackground":{backgroundColor:"hsl(var(--cm-selection-bg)) !important"},".cm-selectionLayer .cm-selectionBackground":{backgroundColor:"hsl(var(--cm-selection-bg)) !important"}}),I=[R,m,o.tk.baseTheme({".cm-line":{lineHeight:"20px"},".cm-scroller":{fontSize:"14px"},".cm-gutters":{backgroundColor:"transparent",borderRight:"none"}}),a.yy.readOnly.of(v)],E=e=>"graphql"===e?new s.ri(d.Wf):(0,c.vf)(function(e,t){switch(e){case"javascript-typescript":return"tsx";case"shellscript":case"bash":return"shell";default:return e}}(e)),F=()=>{let e=(0,u.Z)([...I,E(x)]);return"dark"===f?(e.push(i.pD),e.push((0,s.nF)(i.VE))):e.push((0,s.nF)(s.R_)),Array.isArray(g)&&(e=e.concat(g)),e};return l.useEffect(()=>{(()=>{if(!k.current&&w.current){k.current=!0;let e=a.yy.create({doc:n,extensions:F()}),t=new o.tk({state:e,parent:w.current});S(t)}})()},[]),l.useEffect(()=>{C&&C.dispatch({effects:a.Py.reconfigure.of(F())})},[b,j,f,x,g]),l.useEffect(()=>{(()=>{if(void 0===n||!C)return;let e=C?C.state.doc.toString():"";C&&n!==e&&C.dispatch({changes:{from:0,to:e.length,insert:n||""},annotations:[p.of(!0)]})})()},[n]),l.useEffect(()=>()=>{C&&(C.destroy(),S(null))},[]),l.useEffect(()=>{null==y||y(C)},[C]),l.useImperativeHandle(t,()=>({getView:()=>C}),[C]),(0,r.jsx)("div",{className:(0,h.cn)("codemirror-editor h-full",N),ref:w})});x.displayName="CodeMirrorEditor";var v=x},30601:function(e,t,n){"use strict";n.d(t,{Hb:function(){return m},wt:function(){return d},xc:function(){return h},yo:function(){return f}});var r=n(36164),l=n(3546),s=n(74630),a=n(36327),i=n(80605),o=n(57288),c=n(81565);let d="3.5rem",u=l.createContext({}),f=e=>{let{children:t}=e,n=(0,i.UA)(),[a,o]=l.useState(!1);return l.useEffect(()=>{let e=window.self!==window.top;e||(0,s.Z)(n)||o(n)},[n]),(0,r.jsx)(u.Provider,{value:{isShowDemoBanner:a,setIsShowDemoBanner:o},children:t})};function m(){let{isShowDemoBanner:e,setIsShowDemoBanner:t}=l.useContext(u);return[e,t]}function h(){let[e,t]=m(),{data:n}=(0,a.Z)("https://api.github.com/repos/TabbyML/tabby",e=>fetch(e).then(e=>e.json()));return(0,r.jsxs)("div",{className:(0,o.cn)("flex items-center justify-between bg-primary px-4 text-primary-foreground transition-[opacity,height] md:px-5",{"opacity-100 pointer-events-auto":e,"opacity-0 pointer-events-none":!e}),style:e?{height:d}:{height:0},children:[(0,r.jsxs)("a",{href:"https://links.tabbyml.com/schedule-a-demo",target:"_blank",className:"flex items-center gap-x-2 text-xs font-semibold underline md:text-sm",children:[(0,r.jsx)("span",{children:"\uD83D\uDCC6"}),(0,r.jsx)("span",{children:"Book a 30-minute product demo."})]}),e&&(0,r.jsx)("img",{referrerPolicy:"no-referrer-when-downgrade",src:"https://static.scarf.sh/a.png?x-pxid=b1d0308a-b3c5-425a-972a-378d883a2bca"}),(0,r.jsxs)("div",{className:"flex items-center gap-x-4 md:gap-x-8",children:[(0,r.jsxs)("a",{href:"https://github.com/TabbyML/tabby",target:"_blank",className:"flex items-center transition-all hover:opacity-70",children:[(0,r.jsx)(c.IconGithub,{}),(0,r.jsxs)("div",{className:"ml-2 hidden md:block",children:[(0,r.jsx)("p",{className:"text-xs font-semibold",children:"TabbyML/tabby"}),(0,r.jsxs)("div",{className:(0,o.cn)("flex items-center text-xs transition-all",{"h-4 opacity-70":n,"h-0 opacity-0":!n}),children:[(0,r.jsx)(c.IconStar,{className:"mr-1 h-2.5 w-2.5"}),(0,r.jsx)("span",{children:null==n?void 0:n.stargazers_count}),(0,r.jsx)(c.IconGitFork,{className:"ml-2 mr-1 h-2.5 w-2.5"}),(0,r.jsx)("span",{children:null==n?void 0:n.forks_count})]})]})]}),(0,r.jsx)(c.IconClose,{className:"cursor-pointer transition-all hover:opacity-70",onClick:()=>t(!1)})]})]})}},38736:function(e,t,n){"use strict";n.d(t,{J:function(){return u},U:function(){return f}});var r=n(36164),l=n(3546),s=n(7062),a=n.n(s),i=n(9010),o=n(24449),c=n(16784);let d=l.createContext({}),u=e=>{let{children:t}=e,{theme:n}=(0,i.X)(),[s,u]=l.useState(!1),[f]=(0,o.n)(s,200,{leading:!0}),m=(0,c.d)(s);l.useEffect(()=>{a().config({barColors:{0:"dark"===n?"#DC981A":"#B7942B"}})},[]);let h=l.useCallback(e=>{e&&e===m.current||u(e)},[]);return(0,r.jsxs)(d.Provider,{value:{progress:f,setProgress:h},children:[f&&(0,r.jsx)(a(),{}),t]})},f=()=>l.useContext(d)},36065:function(e,t,n){"use strict";n.d(t,{di:function(){return h},e8:function(){return d},fu:function(){return f},mY:function(){return o},rb:function(){return u},sZ:function(){return c},zz:function(){return m}});var r=n(36164),l=n(3546),s=n(53241),a=n(93170),i=n(57288);n(30220);let o=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)(s.mY,{ref:t,className:(0,i.cn)("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",n),...l})});o.displayName=s.mY.displayName;let c=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsxs)("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,r.jsx)(a.Z,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),(0,r.jsx)(s.mY.Input,{ref:t,className:(0,i.cn)("flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",n),...l})]})});c.displayName=s.mY.Input.displayName;let d=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)(s.mY.List,{ref:t,className:(0,i.cn)("max-h-[300px] overflow-y-auto overflow-x-hidden",n),...l})});d.displayName=s.mY.List.displayName;let u=l.forwardRef((e,t)=>(0,r.jsx)(s.mY.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));u.displayName=s.mY.Empty.displayName;let f=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)(s.mY.Group,{ref:t,className:(0,i.cn)("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",n),...l})});f.displayName=s.mY.Group.displayName;let m=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)(s.mY.Separator,{ref:t,className:(0,i.cn)("-mx-1 h-px bg-border",n),...l})});m.displayName=s.mY.Separator.displayName;let h=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)(s.mY.Item,{ref:t,className:(0,i.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-disabled:pointer-events-none aria-disabled:opacity-50 aria-selected:bg-accent aria-selected:text-accent-foreground",n),...l})});h.displayName=s.mY.Item.displayName},30220:function(e,t,n){"use strict";n.d(t,{$N:function(){return p},Be:function(){return x},Vq:function(){return o},cN:function(){return h},cZ:function(){return f},fK:function(){return m},hg:function(){return c}});var r=n(36164),l=n(3546),s=n(4318),a=n(1663),i=n(57288);let o=s.fC,c=s.xz,d=s.h_;s.x8;let u=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)(s.aV,{ref:t,className:(0,i.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",n),...l})});u.displayName=s.aV.displayName;let f=l.forwardRef((e,t)=>{let{className:n,children:l,...o}=e;return(0,r.jsxs)(d,{children:[(0,r.jsx)(u,{}),(0,r.jsxs)(s.VY,{ref:t,className:(0,i.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",n),...o,children:[l,(0,r.jsxs)(s.x8,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,r.jsx)(a.Z,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});f.displayName=s.VY.displayName;let m=e=>{let{className:t,...n}=e;return(0,r.jsx)("div",{className:(0,i.cn)("flex flex-col space-y-1.5 text-center sm:text-left",t),...n})};m.displayName="DialogHeader";let h=e=>{let{className:t,...n}=e;return(0,r.jsx)("div",{className:(0,i.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...n})};h.displayName="DialogFooter";let p=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)(s.Dx,{ref:t,className:(0,i.cn)("text-lg font-semibold leading-none tracking-tight",n),...l})});p.displayName=s.Dx.displayName;let x=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)(s.dk,{ref:t,className:(0,i.cn)("text-sm text-muted-foreground",n),...l})});x.displayName=s.dk.displayName},84942:function(e,t,n){"use strict";n.d(t,{J2:function(){return i},i9:function(){return d},tW:function(){return u},xo:function(){return o},xp:function(){return c},yk:function(){return f}});var r=n(36164),l=n(3546),s=n(83299),a=n(57288);let i=s.fC,o=s.xz,c=s.x8,d=s.h_,u=s.ee,f=l.forwardRef((e,t)=>{let{className:n,sideOffset:l=4,...i}=e;return(0,r.jsx)(s.VY,{ref:t,sideOffset:l,className:(0,a.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow animate-in data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n),...i})});f.displayName=s.VY.displayName},53538:function(e,t,n){"use strict";n.d(t,{Dp:function(){return o},ee:function(){return i},pO:function(){return a}});var r=n(36164),l=n(6618),s=n(57288);let a=e=>{let{className:t,...n}=e;return(0,r.jsx)(l.eh,{className:(0,s.cn)("flex h-full w-full data-[panel-group-direction=vertical]:flex-col",t),...n})},i=l.s_,o=e=>{let{withHandle:t,className:n,...a}=e;return(0,r.jsx)(l.OT,{className:(0,s.cn)("border-bg relative flex w-px items-center justify-center bg-border after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90",n),...a,children:t&&(0,r.jsx)("div",{className:"z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border"})})}},57830:function(e,t,n){"use strict";n.r(t),n.d(t,{ScrollArea:function(){return i},ScrollBar:function(){return o}});var r=n(36164),l=n(3546),s=n(50778),a=n(57288);let i=l.forwardRef((e,t)=>{let{className:n,children:l,...i}=e;return(0,r.jsxs)(s.fC,{className:(0,a.cn)("relative overflow-hidden",n),...i,children:[(0,r.jsx)(s.l_,{ref:t,className:"h-full w-full rounded-[inherit] [&>div]:!block",children:l}),(0,r.jsx)(o,{}),(0,r.jsx)(s.Ns,{})]})});i.displayName=s.fC.displayName;let o=l.forwardRef((e,t)=>{let{className:n,orientation:l="vertical",...i}=e;return(0,r.jsx)(s.gb,{ref:t,orientation:l,className:(0,a.cn)("flex touch-none select-none transition-colors","vertical"===l&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===l&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",n),...i,children:(0,r.jsx)(s.q4,{className:"relative flex-1 rounded-full bg-border"})})});o.displayName=s.gb.displayName},54594:function(e,t,n){"use strict";n.d(t,{Bw:function(){return f},DI:function(){return c},Ph:function(){return o},Ql:function(){return h},U$:function(){return p},i4:function(){return u},ki:function(){return d}});var r=n(36164),l=n(3546),s=n(31889),a=n(57288),i=n(81565);let o=s.fC,c=s.ZA,d=s.B4,u=l.forwardRef((e,t)=>{let{className:n,children:l,...o}=e;return(0,r.jsxs)(s.xz,{ref:t,className:(0,a.cn)("flex h-9 w-full items-center justify-between rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",n),...o,children:[l,(0,r.jsx)(s.JO,{asChild:!0,children:(0,r.jsx)(i.IconChevronUpDown,{className:"opacity-50"})})]})});u.displayName=s.xz.displayName;let f=l.forwardRef((e,t)=>{let{className:n,children:l,position:i="popper",...o}=e;return(0,r.jsx)(s.h_,{children:(0,r.jsx)(s.VY,{ref:t,className:(0,a.cn)("relative z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md animate-in fade-in-80","popper"===i&&"translate-y-1",n),position:i,...o,children:(0,r.jsx)(s.l_,{className:(0,a.cn)("p-1","popper"===i&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:l})})})});f.displayName=s.VY.displayName;let m=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)(s.__,{ref:t,className:(0,a.cn)("py-1.5 pl-8 pr-2 text-sm font-semibold",n),...l})});m.displayName=s.__.displayName;let h=l.forwardRef((e,t)=>{let{className:n,children:l,isPlaceHolder:o,...c}=e;return(0,r.jsxs)(s.ck,{ref:t,className:(0,a.cn)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",n),...c,children:[!o&&(0,r.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,r.jsx)(s.wU,{children:(0,r.jsx)(i.IconCheck,{className:"h-4 w-4"})})}),(0,r.jsx)(s.eT,{children:l})]})});h.displayName=s.ck.displayName;let p=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)(s.Z0,{ref:t,className:(0,a.cn)("-mx-1 my-1 h-px bg-muted",n),...l})});p.displayName=s.Z0.displayName},99047:function(e,t,n){"use strict";n.d(t,{RM:function(){return o},SC:function(){return d},iA:function(){return a},pj:function(){return f},ss:function(){return u},xD:function(){return i}});var r=n(36164),l=n(3546),s=n(57288);let a=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)("table",{ref:t,className:(0,s.cn)("w-full caption-bottom text-sm",n),...l})});a.displayName="Table";let i=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)("thead",{ref:t,className:(0,s.cn)("[&_tr]:border-b",n),...l})});i.displayName="TableHeader";let o=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)("tbody",{ref:t,className:(0,s.cn)("[&_tr:last-child]:border-0",n),...l})});o.displayName="TableBody";let c=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)("tfoot",{ref:t,className:(0,s.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",n),...l})});c.displayName="TableFooter";let d=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)("tr",{ref:t,className:(0,s.cn)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",n),...l})});d.displayName="TableRow";let u=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)("th",{ref:t,className:(0,s.cn)("h-12 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",n),...l})});u.displayName="TableHead";let f=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)("td",{ref:t,className:(0,s.cn)("p-2 align-middle [&:has([role=checkbox])]:pr-0",n),...l})});f.displayName="TableCell";let m=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)("caption",{ref:t,className:(0,s.cn)("mt-4 text-sm text-muted-foreground",n),...l})});m.displayName="TableCaption"},50538:function(e,t,n){"use strict";n.d(t,{SP:function(){return c},dr:function(){return o},mQ:function(){return i}});var r=n(36164),l=n(3546),s=n(6044),a=n(57288);let i=s.fC,o=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)(s.aV,{ref:t,className:(0,a.cn)("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",n),...l})});o.displayName=s.aV.displayName;let c=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)(s.xz,{ref:t,className:(0,a.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",n),...l})});c.displayName=s.xz.displayName;let d=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,r.jsx)(s.VY,{ref:t,className:(0,a.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",n),...l})});d.displayName=s.VY.displayName},9010:function(e,t,n){"use strict";n.d(t,{X:function(){return l}});var r=n(28242);function l(){let{theme:e,systemTheme:t,setTheme:n}=(0,r.F)();return{theme:e&&"system"!==e?e:t||"light",setTheme:n,systemTheme:t}}},44645:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(3546),l=n(11978);function s(){let e=(0,l.usePathname)(),t=(0,l.useRouter)(),n=(0,l.useSearchParams)(),s=(0,r.useCallback)(e=>{let t=new URLSearchParams(n);e&&Object.entries(e).forEach(e=>{let[n,r]=e;return t.set(n,r)});let r=t.toString();return r.length>0?"?".concat(r):""},[n]),a=(0,r.useCallback)(r=>{let l=function(e,t,n){var r,l;let s=null===(r=n.searchParams)||void 0===r?void 0:r.set,a=null===(l=n.searchParams)||void 0===l?void 0:l.del,i=new URLSearchParams(t);s&&Object.entries(s).forEach(e=>{let[t,n]=e;return i.set(t,n)}),a&&(Array.isArray(a)?a.forEach(e=>i.delete(e)):i.delete(a));let o=i.toString(),c=e;return o.length>0&&(c+="?".concat(o)),n.hash&&(c+="#".concat(n.hash.replace(/^#/,""))),c}((null==r?void 0:r.pathname)||e,n,r);return r.replace?t.replace(l):t.push(l),l},[e,n]);return{pathname:e,router:t,searchParams:n,getQueryString:s,updateUrlComponents:a}}},63484:function(e,t,n){"use strict";n.d(t,{U$:function(){return d},t:function(){return u}});var r=n(14283),l=n.n(r),s=n(34021),a=n(74630),i=n(18500),o=JSON.parse('{"Mercury":"#ff2b2b","TypeScript":"#2b7489","PureBasic":"#5a6986","Objective-C++":"#6866fb","Self":"#0579aa","edn":"#db5855","NewLisp":"#87AED7","Jupyter Notebook":"#DA5B0B","Rebol":"#358a5b","Frege":"#00cafe","Dart":"#00B4AB","AspectJ":"#a957b0","Shell":"#89e051","Web Ontology Language":"#9cc9dd","xBase":"#403a40","Eiffel":"#946d57","Nix":"#7e7eff","RAML":"#77d9fb","MTML":"#b7e1f4","Racket":"#22228f","Elixir":"#6e4a7e","SAS":"#B34936","Agda":"#315665","wisp":"#7582D1","D":"#ba595e","Kotlin":"#F18E33","Opal":"#f7ede0","Crystal":"#776791","Objective-C":"#438eff","ColdFusion CFC":"#ed2cd6","Oz":"#fab738","Mirah":"#c7a938","Objective-J":"#ff0c5a","Gosu":"#82937f","FreeMarker":"#0050b2","Ruby":"#701516","Component Pascal":"#b0ce4e","Arc":"#aa2afe","Brainfuck":"#2F2530","Nit":"#009917","APL":"#5A8164","Go":"#375eab","Visual Basic":"#945db7","PHP":"#4F5D95","Cirru":"#ccccff","SQF":"#3F3F3F","Glyph":"#e4cc98","Java":"#b07219","MAXScript":"#00a6a6","Scala":"#DC322F","Makefile":"#427819","ColdFusion":"#ed2cd6","Perl":"#0298c3","Lua":"#000080","Vue":"#2c3e50","Verilog":"#b2b7f8","Factor":"#636746","Haxe":"#df7900","Pure Data":"#91de79","Forth":"#341708","Red":"#ee0000","Hy":"#7790B2","Volt":"#1F1F1F","LSL":"#3d9970","eC":"#913960","CoffeeScript":"#244776","HTML":"#e44b23","Lex":"#DBCA00","API Blueprint":"#2ACCA8","Swift":"#ffac45","C":"#555555","AutoHotkey":"#6594b9","Isabelle":"#FEFE00","Metal":"#8f14e9","Clarion":"#db901e","JSONiq":"#40d47e","Boo":"#d4bec1","AutoIt":"#1C3552","Clojure":"#db5855","Rust":"#dea584","Prolog":"#74283c","SourcePawn":"#5c7611","AMPL":"#E6EFBB","FORTRAN":"#4d41b1","ANTLR":"#9DC3FF","Harbour":"#0e60e3","Tcl":"#e4cc98","BlitzMax":"#cd6400","PigLatin":"#fcd7de","Lasso":"#999999","ECL":"#8a1267","VHDL":"#adb2cb","Elm":"#60B5CC","Propeller Spin":"#7fa2a7","X10":"#4B6BEF","IDL":"#a3522f","ATS":"#1ac620","Ada":"#02f88c","Unity3D Asset":"#ab69a1","Nu":"#c9df40","LFE":"#004200","SuperCollider":"#46390b","Oxygene":"#cdd0e3","ASP":"#6a40fd","Assembly":"#6E4C13","Gnuplot":"#f0a9f0","JFlex":"#DBCA00","NetLinx":"#0aa0ff","Turing":"#45f715","Vala":"#fbe5cd","Processing":"#0096D8","Arduino":"#bd79d1","FLUX":"#88ccff","NetLogo":"#ff6375","CSharp":"#178600","CSS":"#563d7c","Emacs Lisp":"#c065db","Stan":"#b2011d","SaltStack":"#646464","QML":"#44a51c","Pike":"#005390","LOLCODE":"#cc9900","ooc":"#b0b77e","Handlebars":"#01a9d6","J":"#9EEDFF","Mask":"#f97732","EmberScript":"#FFF4F3","TeX":"#3D6117","Nemerle":"#3d3c6e","KRL":"#28431f","Ren\'Py":"#ff7f7f","Unified Parallel C":"#4e3617","Golo":"#88562A","Fancy":"#7b9db4","OCaml":"#3be133","Shen":"#120F14","Pascal":"#b0ce4e","F#":"#b845fc","Puppet":"#302B6D","ActionScript":"#882B0F","Diff":"#88dddd","Ragel in Ruby Host":"#9d5200","Fantom":"#dbded5","Zephir":"#118f9e","Click":"#E4E6F3","Smalltalk":"#596706","DM":"#447265","Ioke":"#078193","PogoScript":"#d80074","LiveScript":"#499886","JavaScript":"#f1e05a","VimL":"#199f4b","PureScript":"#1D222D","ABAP":"#E8274B","Matlab":"#bb92ac","Slash":"#007eff","R":"#198ce7","Erlang":"#B83998","Pan":"#cc0000","LookML":"#652B81","Eagle":"#814C05","Scheme":"#1e4aec","PLSQL":"#dad8d8","Python":"#3572A5","Max":"#c4a79c","Common Lisp":"#3fb68b","Latte":"#A8FF97","XQuery":"#5232e7","Omgrofl":"#cabbff","XC":"#99DA07","Nimrod":"#37775b","SystemVerilog":"#DAE1C2","Chapel":"#8dc63f","Groovy":"#e69f56","Dylan":"#6c616e","E":"#ccce35","Parrot":"#f3ca0a","Grammatical Framework":"#79aa7a","Game Maker Language":"#8fb200","Papyrus":"#6600cc","NetLinx+ERB":"#747faa","Clean":"#3F85AF","Alloy":"#64C800","Squirrel":"#800000","PAWN":"#dbb284","UnrealScript":"#a54c4d","Standard ML":"#dc566d","Slim":"#ff8f77","Perl6":"#0000fb","Julia":"#a270ba","Haskell":"#29b544","NCL":"#28431f","Io":"#a9188d","Rouge":"#cc0088","cpp":"#f34b7d","AGS Script":"#B9D9FF","Dogescript":"#cca760","nesC":"#94B0C7"}'),c={abap:{filenames:[],extnames:["abap"]},actionscript:{filenames:[],extnames:["as"]},ada:{filenames:[],extnames:["ada","adb","ads"]},apacheconf:{filenames:[".htaccess","apache2.conf","httpd.conf"],extnames:["apacheconf","vhost"]},apl:{filenames:[],extnames:["apl","dyalog"]},applescript:{filenames:[],extnames:["applescript","scpt"]},arff:{filenames:[],extnames:["arff"]},asciidoc:{filenames:[],extnames:["asciidoc","adoc","asc"]},asm6502:{filenames:[],extnames:["asm"]},autohotkey:{filenames:[],extnames:["ahk","ahkl"]},autoit:{filenames:[],extnames:["au3"]},bash:{filenames:[".bash_history",".bash_logout",".bash_profile",".bashrc",".cshrc",".login",".profile",".zlogin",".zlogout",".zprofile",".zshenv",".zshrc","9fs","PKGBUILD","bash_logout","bash_profile","bashrc","cshrc","gradlew","login","man","profile","zlogin","zlogout","zprofile","zshenv","zshrc"],extnames:["sh","bash","bats","cgi","command","fcgi","ksh","tmux","tool","zsh"]},basic:{filenames:[],extnames:["vb","bas","cls","frm","frx","vba","vbhtml","vbs"]},batch:{filenames:[],extnames:["bat","cmd"]},bison:{filenames:[],extnames:["bison"]},brainfuck:{filenames:[],extnames:["b","bf"]},bro:{filenames:[],extnames:["bro"]},c:{filenames:[],extnames:["c","cats","h","idc"]},csharp:{filenames:[],extnames:["cs","cake","cshtml","csx"]},cpp:{filenames:[],extnames:["cpp","c++","cc","cp","cxx","h","h++","hh","hpp","hxx","inc","inl","ino","ipp","re","tcc","tpp"]},coffeescript:{filenames:["Cakefile"],extnames:["coffee","_coffee","cake","cjsx","iced"]},clojure:{filenames:["riemann.config"],extnames:["clj","boot","cl2","cljc","cljs","cljs.hl","cljscm","cljx","hic"]},crystal:{filenames:[],extnames:["cr"]},css:{filenames:[],extnames:["css"]},d:{filenames:[],extnames:["d","di"]},dart:{filenames:[],extnames:["dart"]},diff:{filenames:[],extnames:["diff","patch"]},django:{filenames:[],extnames:["jinja","jinja2","mustache","njk"]},dockerfile:{filenames:["Dockerfile"],extnames:["dockerfile"]},eiffel:{filenames:[],extnames:["e"]},elixir:{filenames:["mix.lock"],extnames:["ex","exs"]},elm:{filenames:[],extnames:["elm"]},erb:{filenames:[],extnames:["erb"]},erlang:{filenames:["Emakefile","rebar.config","rebar.config.lock","rebar.lock"],extnames:["erl","app.src","es","escript","hrl","xrl","yrl"]},fsharp:{filenames:[],extnames:["fs","fsi","fsx"]},fortran:{filenames:[],extnames:["f90","f","f03","f08","f77","f95","for","fpp"]},gedcom:{filenames:[],extnames:["ged"]},gherkin:{filenames:[],extnames:["feature"]},glsl:{filenames:[],extnames:["glsl","fp","frag","frg","fs","fsh","fshader","geo","geom","glslv","gshader","shader","tesc","tese","vert","vrx","vsh","vshader"]},go:{filenames:[],extnames:["go"]},graphql:{filenames:[],extnames:["graphql","gql"]},groovy:{filenames:["Jenkinsfile"],extnames:["groovy","grt","gtpl","gvy"]},haml:{filenames:[],extnames:["haml"]},handlebars:{filenames:[],extnames:["handlebars","hbs"]},haskell:{filenames:[],extnames:["hs","hsc"]},haxe:{filenames:[],extnames:["hx","hxsl"]},http:{filenames:[],extnames:["http"]},icon:{filenames:[],extnames:["icn"]},inform7:{filenames:[],extnames:["ni","i7x"]},ini:{filenames:[".editorconfig",".gitconfig"],extnames:["ini","cfg","lektorproject","prefs","pro","properties"]},io:{filenames:[],extnames:["io"]},j:{filenames:[],extnames:["ijs"]},java:{filenames:[],extnames:["java"]},javascript:{filenames:["Jakefile"],extnames:["js","_js","cjs","bones","es","es6","frag","gs","jake","jsb","jscad","jsfl","jsm","jss","mjs","njs","pac","sjs","ssjs","xsjs","xsjslib"]},jolie:{filenames:[],extnames:["ol","iol"]},json:{filenames:[".arcconfig",".htmlhintrc",".tern-config",".tern-project","composer.lock","mcmod.info"],extnames:["json","avsc","geojson","gltf","JSON-tmLanguage","jsonl","tfstate","topojson","webapp","webmanifest","yy","yyp"]},julia:{filenames:[],extnames:["jl"]},keyman:{filenames:[],extnames:["kmn"]},kotlin:{filenames:[],extnames:["kt","ktm","kts"]},latex:{filenames:[],extnames:["tex","aux","bbx","bib","cbx","cls","dtx","ins","lbx","ltx","mkii","mkiv","mkvi","sty","toc"]},less:{filenames:[],extnames:["less"]},liquid:{filenames:[],extnames:["liquid"]},lisp:{filenames:[],extnames:["lisp","asd","cl","l","lsp","ny","podsl","sexp"]},livescript:{filenames:["Slakefile"],extnames:["ls","_ls"]},lolcode:{filenames:[],extnames:["lol"]},lua:{filenames:[],extnames:["lua","fcgi","nse","p8","pd_lua","rbxs","wlua"]},cmake:{filenames:["BSDmakefile","GNUmakefile","Kbuild","Makefile","Makefile.am","Makefile.boot","Makefile.frag","Makefile.in","Makefile.inc","Makefile.wat","makefile","makefile.sco","mkfile"],extnames:["mak","d","make","mk","mkfile"]},markdown:{filenames:["contents.lr","LICENSE"],extnames:["md","markdown","mdown","mdwn","mkd","mkdn","mkdown","ronn","workbook"]},markup:{filenames:[],extnames:["apib","blade","chem","ecr","eex","ejs","html","htm","ipynb","kit","latte","marko","mask","mtml","phtml","pic","raml","rhtml","vue","xht","xhtml"]},matlab:{filenames:[],extnames:["matlab","m"]},mel:{filenames:[],extnames:["mel"]},mizar:{filenames:[],extnames:["miz","voc"]},monkey:{filenames:[],extnames:["monkey","monkey2"]},n4js:{filenames:[],extnames:["n4jsd"]},nasm:{filenames:[],extnames:["nasm"]},nginx:{filenames:["nginx.conf"],extnames:["nginxconf","vhost"]},nim:{filenames:[],extnames:["nim","nimrod"]},nix:{filenames:[],extnames:["nix"]},nsis:{filenames:[],extnames:["nsi","nsh"]},objectivec:{filenames:[],extnames:["m","h"]},ocaml:{filenames:[],extnames:["ml","eliom","eliomi","ml4","mli","mll","mly"]},opencl:{filenames:[],extnames:["opencl","cl"]},oz:{filenames:[],extnames:["oz"]},pascal:{filenames:[],extnames:["pas","dfm","dpr","inc","lpr","pascal","pp"]},perl:{filenames:["Makefile.PL","Rexfile","ack","cpanfile"],extnames:["pl","al","cgi","fcgi","perl","ph","plx","pm","psgi","t"]},php:{filenames:[".php",".php_cs",".php_cs.dist","Phakefile"],extnames:["php","aw","ctp","fcgi","inc","php3","php4","php5","phps","phpt"]},plsql:{filenames:[],extnames:["pls","bdy","ddl","fnc","pck","pkb","pks","plb","plsql","prc","spc","tpb","tps","trg","vw"]},powershell:{filenames:[],extnames:["ps1","psd1","psm1"]},processing:{filenames:[],extnames:["pde"]},prolog:{filenames:[],extnames:["pl","pro","prolog","yap"]},properties:{filenames:[],extnames:["properties"]},protobuf:{filenames:[],extnames:["proto"]},pug:{filenames:[],extnames:["jade","pug"]},puppet:{filenames:["Modulefile"],extnames:["pp"]},pure:{filenames:[],extnames:["pure"]},python:{filenames:[".gclient","BUCK","BUILD","BUILD.bazel","SConscript","SConstruct","Snakefile","WORKSPACE","wscript"],extnames:["py","bzl","cgi","fcgi","gyp","gypi","lmi","py3","pyde","pyi","pyp","pyt","pyw","rpy","spec","tac","wsgi","xpy"]},q:{filenames:[],extnames:["q"]},qore:{filenames:[],extnames:["q","qm","qtest"]},r:{filenames:[".Rprofile","expr-dist"],extnames:["r","rd","rsx"]},jsx:{filenames:[],extnames:["jsx"]},toml:{filenames:[],extnames:["toml"]},tsx:{filenames:[],extnames:["tsx"]},renpy:{filenames:[],extnames:["rpy"]},reason:{filenames:[],extnames:["re","rei"]},rest:{filenames:[],extnames:["rst","rest"]},rip:{filenames:[],extnames:["rip"]},ruby:{filenames:[".irbrc",".pryrc","Appraisals","Berksfile","Brewfile","Buildfile","Capfile","Dangerfile","Deliverfile","Fastfile","Gemfile","Gemfile.lock","Guardfile","Jarfile","Mavenfile","Podfile","Puppetfile","Rakefile","Snapfile","Thorfile","Vagrantfile","buildfile"],extnames:["rb","builder","eye","fcgi","gemspec","god","jbuilder","mspec","pluginspec","podspec","rabl","rake","rbuild","rbw","rbx","ru","ruby","spec","thor","watchr"]},rust:{filenames:[],extnames:["rs"]},sas:{filenames:[],extnames:["sas"]},sass:{filenames:[],extnames:["sass"]},scss:{filenames:[],extnames:["scss"]},scala:{filenames:[],extnames:["scala","kojo","sbt","sc"]},scheme:{filenames:[],extnames:["scm","sch","sld","sls","sps","ss"]},smalltalk:{filenames:[],extnames:["st","cs"]},smarty:{filenames:[],extnames:["tpl"]},sql:{filenames:[],extnames:["sql","cql","ddl","inc","mysql","prc","tab","udf","viw"]},soy:{filenames:[],extnames:["soy"]},stylus:{filenames:[],extnames:["styl"]},swift:{filenames:[],extnames:["swift"]},tcl:{filenames:["owh","starfield"],extnames:["tcl","adp","tm"]},textile:{filenames:[],extnames:["textile"]},tt2:{filenames:[],extnames:["pm"]},twig:{filenames:[],extnames:["twig"]},typescript:{filenames:[],extnames:["ts"]},velocity:{filenames:[],extnames:["vm"]},verilog:{filenames:[],extnames:["v","veo"]},vhdl:{filenames:[],extnames:["vhdl","vhd","vhf","vhi","vho","vhs","vht","vhw"]},vim:{filenames:[".gvimrc",".nvimrc",".vimrc","_vimrc","gvimrc","nvimrc","vimrc"],extnames:["vim"]},"visual-basic":{filenames:[],extnames:["vb","bas","cls","frm","frx","vba","vbhtml","vbs"]},wasm:{filenames:[],extnames:["wast","wat"]},xojo:{filenames:[],extnames:["xojo_code","xojo_menu","xojo_report","xojo_script","xojo_toolbar","xojo_window"]},xquery:{filenames:[],extnames:["xquery","xq","xql","xqm","xqy"]},yaml:{filenames:[".clang-format",".clang-tidy",".gemrc","glide.lock"],extnames:["yml","mir","reek","rviz","sublime-syntax","syntax","yaml","yaml-tmlanguage"]}};Object.entries(o).reduce((e,t)=>{let[n,r]=t;return{...e,[n.toLocaleLowerCase()]:r}},{});let d=e=>{let t={},n={};for(let[e,r]of Object.entries(c)){for(let n of r.filenames)(0,s.Z)(t,n)||(t[n]=[]),t[n].push(e);for(let t of r.extnames)(0,s.Z)(n,t)||(n[t]=[]),n[t].push(e)}return[].concat(t[l().basename(e)],n[l().extname(e).substring(1)]).filter(Boolean)},u=(e,t)=>{let n=()=>(0,a.Z)(t)?"Other":t;if(!e)return n();let r=Object.values(i.SQ).map(e=>e.toLocaleLowerCase()).indexOf(e.toLocaleLowerCase());if(-1===r)return n();let l=Object.keys(i.SQ)[r];return({csharp:"C#",cpp:"C++",javascript:"JavaScript",typescript:"TypeScript"})[l.toLocaleLowerCase()]||l}},17451:function(e,t,n){"use strict";n.d(t,{a:function(){return o}});var r=n(27257),l=n(85654),s=n(57288);let a=["activeChatId"],i={activeChatId:(0,s.x0)(),selectedModel:void 0,enableActiveSelection:!0},o=(0,r.Ue)()((0,l.tJ)(()=>({...i}),{name:"tabby-chat-storage",partialize:e=>Object.fromEntries(Object.entries(e).filter(e=>{let[t]=e;return!a.includes(t)})),version:1}))},55823:function(){},65001:function(){},23342:function(e,t){"use strict";t.Z={src:"/_next/static/media/tabby.16ac81a9.png",height:175,width:175,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAA50lEQVR42mMAgUWTGw3KsqO9QOypZeG6NekBuQzI4NCmmaZtFam/K6PtHzYlOH5ysDX7n5QYboJQsKrfd1JN6v+ldXH/F+fa/fWyNf4fEebXBlcwsSbNeWV/+f9FE+t+za2K+xNjLfPf293u6v///xkZQGDDwr7gfetm/d8xr+VPkpXgnzR3nf/xAY6vt6yfK84AUrV5+US9HWtnnVgyrfm/tiTD/9JAo//5Ea5nGUDAkoGBCUQHWEiZysuI7LcwN7wb6WV1IT7YzR7uhh3Lepg+AU2av2AiT0pCuDKDayAvSLwsM4oJAH4LXl0Gpb0HAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8}}},function(e){e.O(0,[8415,5870,6056,7430,55,7812,4007,9643,4752,3449,2578,8511,2287,4421,1454,7070,5669,6805,1889,4405,4553,5083,6044,440,5019,8545,7288,1565,4656,9002,3375,5289,1744],function(){return e(e.s=88177)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/layout-dea90d1aec9c3c2e.js b/ee/tabby-webserver/ui/_next/static/chunks/app/layout-18b81c4b9293a734.js similarity index 100% rename from ee/tabby-webserver/ui/_next/static/chunks/app/layout-dea90d1aec9c3c2e.js rename to ee/tabby-webserver/ui/_next/static/chunks/app/layout-18b81c4b9293a734.js diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/not-found-f0d7e4dd75c1006c.js b/ee/tabby-webserver/ui/_next/static/chunks/app/not-found-8a5a3b277081cfa6.js similarity index 100% rename from ee/tabby-webserver/ui/_next/static/chunks/app/not-found-f0d7e4dd75c1006c.js rename to ee/tabby-webserver/ui/_next/static/chunks/app/not-found-8a5a3b277081cfa6.js diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/search/page-24addd54e2ec09be.js b/ee/tabby-webserver/ui/_next/static/chunks/app/search/page-24addd54e2ec09be.js new file mode 100644 index 000000000000..87b2f250ca6f --- /dev/null +++ b/ee/tabby-webserver/ui/_next/static/chunks/app/search/page-24addd54e2ec09be.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2797],{67802:function(e,t,n){Promise.resolve().then(n.bind(n,75903))},75903:function(e,t,n){"use strict";n.r(t),n.d(t,{SOURCE_CARD_STYLE:function(){return eE},Search:function(){return eL}});var s=n(36164),l=n(3546),r=n(70652),a=n.n(r),i=n(11978),o=n(54767),c=n(1853),d=n(82030),u=n(72940),m=n(52807),h=n(12978),x=n(56575),f=n(2578),v=n(40055),p=n(21808),g=n(93877),j=n(43240),N=n(18500),b=n(28312),w=n(9010),y=n(24449),I=n(16784),C=n(98454),S=n(31159),k=n(4951),R=n(44645),A=n(80605),M=n(64566),_=n(47241),z=n(17451),E=n(37266),D=n(11634),U=n(70410),L=n(57288),T=n(31458),F=n(81565),O=n(53538),P=n(57830),Z=n(11208),V=n(29),q=n(72657),Q=n(30601),G=n(6230),H=n(69579),W=n(23057),Y=n(84381),J=n(62226),$=n.n(J),K=n(6797),X=n.n(K),B=n(94909),ee=n(66686),et=n(5493),en=n(23455),es=n(23782),el=n(74038),er=n(98150),ea=n(90615),ei=n(3448),eo=n(3236),ec=n(90168),ed=n(48537),eu=n(54646),em=n(64219),eh=n(89811),ex=n(52569);let ef=(0,l.createContext)({});function ev(e){var t,n,r,a,i,o;let{className:d,message:u,showRelatedQuestion:m,isLoading:h,isLastAssistantMessage:x,isDeletable:f,clientCode:v}=e,{onRegenerateResponse:p,onSubmitSearch:g,setDevPanelOpen:j,setConversationIdForDev:N,enableDeveloperMode:b,contextInfo:w,fetchingContextInfo:y,onDeleteMessage:I,isThreadOwner:C,onUpdateMessage:S,repositories:k}=(0,l.useContext)(ef),{supportsOnApplyInEditorV2:R}=(0,l.useContext)(eo.p),[A,M]=(0,l.useState)(!1),[_,z]=(0,l.useState)(!1),[E,D]=(0,l.useState)(void 0),U=h?F.IconSpinner:F.IconSparkles,O=(0,l.useMemo)(()=>{var e;if(!u.codeSourceId||!(null==k?void 0:k.length))return"";let t=k.find(e=>e.sourceId===u.codeSourceId);return null!==(e=null==t?void 0:t.gitUrl)&&void 0!==e?e:""},[u.codeSourceId,k]),P=(0,l.useMemo)(()=>{var e;return(null==v?void 0:v.length)&&null!==(e=v.map(e=>({kind:"file",range:(0,L.OV)(e),filepath:e.filepath||"",content:e.content,git_url:O})))&&void 0!==e?e:[]},[v,O]),Z=(0,l.useMemo)(()=>{var e,t,n;return null!==(n=null==u?void 0:null===(t=u.attachment)||void 0===t?void 0:null===(e=t.code)||void 0===e?void 0:e.map(e=>{var t,n;return{kind:"file",range:(0,L.OV)(e),filepath:e.filepath,content:e.content,git_url:e.gitUrl,commit:null!==(n=e.commit)&&void 0!==n?n:void 0,extra:{scores:null==e?void 0:null===(t=e.extra)||void 0===t?void 0:t.scores}}}))&&void 0!==n?n:[]},[null==u?void 0:null===(t=u.attachment)||void 0===t?void 0:t.code]),V=(0,l.useMemo)(()=>null==v?void 0:v.map(e=>({...e,gitUrl:O})),[v,O]),q=null==u?void 0:null===(n=u.attachment)||void 0===n?void 0:n.doc,Q=((null==V?void 0:V.length)||0)+((null===(a=u.attachment)||void 0===a?void 0:null===(r=a.code)||void 0===r?void 0:r.length)||0),G=(null==q?void 0:q.length)?Math.ceil(q.length/4)*eE.expand+.5*Math.floor(q.length/4)+.5:0,H=e=>{let t=(0,L.OV)(e);if(!e.filepath)return;let n=new URL("".concat(window.location.origin,"/files")),s=new URLSearchParams;s.append("redirect_filepath",e.filepath),s.append("redirect_git_url",e.gitUrl),e.commit&&s.append("redirect_rev",e.commit),n.search=s.toString();let l=(0,L.nO)(t);l&&(n.hash=l),window.open(n.toString())},W=async e=>{let t=await S(e);if(t)return t;M(!1)};return(0,s.jsxs)("div",{className:(0,L.cn)("flex flex-col gap-y-5",d),children:[q&&q.length>0&&(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"mb-1 flex items-center gap-x-2",children:[(0,s.jsx)(F.IconBlocks,{className:"relative",style:{top:"-0.04rem"}}),(0,s.jsx)("p",{className:"text-sm font-bold leading-normal",children:"Sources"})]}),(0,s.jsx)("div",{className:"gap-sm -mx-2 grid grid-cols-3 gap-2 overflow-y-hidden px-2 pt-2 md:grid-cols-4",style:{transition:"height 0.25s ease-out",height:_?"".concat(G,"rem"):"".concat(eE.compress+.5,"rem")},children:q.map((e,t)=>(0,s.jsx)(ep,{conversationId:u.id,source:e,showMore:_,showDevTooltip:b},e.link+t))}),(0,s.jsxs)(T.z,{variant:"ghost",className:"-ml-1.5 mt-1 flex items-center gap-x-1 px-1 py-2 text-sm font-normal text-muted-foreground",onClick:()=>z(!_),children:[(0,s.jsx)(F.IconChevronRight,{className:(0,L.cn)({"-rotate-90":_,"rotate-90":!_})}),(0,s.jsx)("p",{children:_?"Show less":"Show more"})]})]}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"mb-1 flex h-8 items-center gap-x-1.5",children:[(0,s.jsx)(U,{className:(0,L.cn)({"animate-spinner":h})}),(0,s.jsx)("p",{className:"text-sm font-bold leading-none",children:"Answer"}),b&&(0,s.jsx)(T.z,{variant:"ghost",size:"icon",onClick:()=>{N(u.id),j(!0)},children:(0,s.jsx)(F.IconBug,{})})]}),Q>0&&(0,s.jsx)(ec.q,{clientContexts:P,contexts:Z,className:"mt-1 text-sm",onContextClick:e=>{if(!e.filepath)return;let t=(0,L.XX)(window.location.origin,e);window.open(t,"_blank")},enableTooltip:b,showExternalLink:!1,showClientCodeIcon:!0,onTooltipClick:()=>{N(u.id),j(!0)},highlightIndex:E}),h&&!u.content&&(0,s.jsx)(ei.O,{className:"mt-1 h-40 w-full"}),A?(0,s.jsx)(ej,{message:u,onCancel:()=>M(!1),onSubmit:W}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(eu.J,{message:u.content,attachmentDocs:q,attachmentClientCode:V,attachmentCode:null===(i=u.attachment)||void 0===i?void 0:i.code,onCodeCitationClick:e=>{e.gitUrl&&H(e)},onCodeCitationMouseEnter:e=>{var t,n;D(e-1-((null==u?void 0:null===(n=u.attachment)||void 0===n?void 0:null===(t=n.doc)||void 0===t?void 0:t.length)||0))},onCodeCitationMouseLeave:e=>{D(void 0)},contextInfo:w,fetchingContextInfo:y,canWrapLongLines:!h,supportsOnApplyInEditorV2:R}),u.error&&(0,s.jsx)(eu.m,{error:u.error}),!h&&!A&&(0,s.jsxs)("div",{className:"mt-3 flex items-center justify-between text-sm",children:[(0,s.jsx)("div",{className:"flex items-center gap-x-3",children:C&&(0,s.jsxs)(s.Fragment,{children:[!h&&!y&&x&&(0,s.jsxs)(T.z,{className:"flex items-center gap-x-1 px-1 font-normal text-muted-foreground",variant:"ghost",onClick:()=>p(u.id),children:[(0,s.jsx)(F.IconRefresh,{}),(0,s.jsx)("p",{children:"Regenerate"})]}),f&&(0,s.jsxs)(T.z,{className:"flex items-center gap-x-1 px-1 font-normal text-muted-foreground",variant:"ghost",onClick:()=>I(u.id),children:[(0,s.jsx)(F.IconTrash,{}),(0,s.jsx)("p",{children:"Delete"})]})]})}),(0,s.jsxs)("div",{className:"flex items-center gap-x-3",children:[(0,s.jsx)(ed.q,{className:"-ml-1.5 gap-x-1 px-1 font-normal text-muted-foreground",value:(e=>{var t,n,s,l,r,a,i,o,d,u,m;if((0,B.Z)(null==e?void 0:null===(t=e.attachment)||void 0===t?void 0:t.doc)&&(0,B.Z)(null==e?void 0:null===(n=e.attachment)||void 0===n?void 0:n.code))return e.content;let h=e.content.replace(el.H,e=>{let t=null==e?void 0:e.match(/\d+/);return"[".concat(t,"]")}).trim(),x=null!==(d=null===(l=e.attachment)||void 0===l?void 0:null===(s=l.doc)||void 0===s?void 0:s.map((e,t)=>"[".concat(t+1,"] ").concat(e.link)).join("\n"))&&void 0!==d?d:"",f=null!==(u=null===(a=e.attachment)||void 0===a?void 0:null===(r=a.doc)||void 0===r?void 0:r.length)&&void 0!==u?u:0,v=null!==(m=null===(o=e.attachment)||void 0===o?void 0:null===(i=o.code)||void 0===i?void 0:i.map((e,t)=>{let n=(0,L.tf)(e),s=(0,c.Z)([e.filepath,n]).join(":");return"[".concat(t+f+1,"] ").concat(s)}).join("\n"))&&void 0!==m?m:"";return"".concat(h,"\n\nCitations:\n").concat(x+v)})(u),text:"Copy"}),C&&(0,s.jsxs)(T.z,{className:"flex items-center gap-x-1 px-1 font-normal text-muted-foreground",variant:"ghost",onClick:e=>M(!0),children:[(0,s.jsx)(F.IconEdit,{}),(0,s.jsx)("p",{children:"Edit"})]})]})]})]})]}),m&&!A&&!h&&u.threadRelevantQuestions&&u.threadRelevantQuestions.length>0&&(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex items-center gap-x-1.5",children:[(0,s.jsx)(F.IconLayers,{}),(0,s.jsx)("p",{className:"text-sm font-bold leading-none",children:"Suggestions"})]}),(0,s.jsx)("div",{className:"mt-2 flex flex-col gap-y-3",children:null===(o=u.threadRelevantQuestions)||void 0===o?void 0:o.map((e,t)=>(0,s.jsxs)("div",{className:"flex cursor-pointer items-center justify-between rounded-lg border p-4 py-3 transition-opacity hover:opacity-70",onClick:g.bind(null,e),children:[(0,s.jsx)("p",{className:"w-full overflow-hidden text-ellipsis text-sm",children:e}),(0,s.jsx)(F.IconPlus,{})]},t))})]})]})}function ep(e){var t,n;let{conversationId:r,source:a,showMore:i,showDevTooltip:o}=e,{setDevPanelOpen:c,setConversationIdForDev:d}=(0,l.useContext)(ef),[u,m]=(0,l.useState)(!1);return(0,s.jsxs)(ea.zs,{openDelay:100,closeDelay:100,children:[(0,s.jsxs)(V.u,{open:u,onOpenChange:e=>{o&&m(e)},delayDuration:0,children:[(0,s.jsx)(ea.Yi,{asChild:!0,children:(0,s.jsx)(V.aJ,{asChild:!0,children:(0,s.jsx)("div",{className:"relative flex cursor-pointer flex-col justify-between rounded-lg border bg-card p-3 hover:bg-card/60",style:{height:i?"".concat(eE.expand,"rem"):"".concat(eE.compress,"rem"),transition:"all 0.25s ease-out"},onClick:()=>window.open(a.link),children:(0,s.jsx)(eg,{source:a,showMore:i})})})}),(0,s.jsx)(V._v,{align:"start",className:"cursor-pointer p-2",onClick:e=>{e.stopPropagation(),d(r),c(!0)},children:(0,s.jsxs)("p",{children:["Score: ",null!==(n=null==a?void 0:null===(t=a.extra)||void 0===t?void 0:t.score)&&void 0!==n?n:"-"]})})]}),(0,s.jsx)(ea.bZ,{className:"w-96 bg-background text-sm text-foreground dark:border-muted-foreground/60",children:(0,s.jsx)(em.Z,{relevantDocument:a})})]})}function eg(e){let{source:t,showMore:n}=e,{hostname:l}=new URL(t.link),r="MessageAttachmentIssueDoc"===t.__typename,a="MessageAttachmentPullDoc"===t.__typename,i="MessageAttachmentWebDoc"===t.__typename?void 0:t.author,o=(r||a)&&!!i;return(0,s.jsxs)("div",{className:"flex flex-1 flex-col justify-between gap-y-1",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-y-0.5",children:[(0,s.jsx)("p",{className:"line-clamp-1 w-full overflow-hidden text-ellipsis break-all text-xs font-semibold",children:t.title}),o&&(0,s.jsxs)("div",{className:"flex items-center gap-1 overflow-x-hidden",children:[(0,s.jsx)(ex.Yt,{user:i,className:"h-3.5 w-3.5 shrink-0"}),(0,s.jsx)("p",{className:"truncate text-xs font-medium text-muted-foreground",children:null==i?void 0:i.name})]}),(!o||n)&&(0,s.jsx)("p",{className:(0,L.cn)(" w-full overflow-hidden text-ellipsis break-all text-xs text-muted-foreground",!o&&n?"line-clamp-2":"line-clamp-1"),children:eN((0,L.L5)(t))})]}),(0,s.jsx)("div",{className:"flex items-center text-xs text-muted-foreground",children:(0,s.jsxs)("div",{className:"flex w-full flex-1 items-center justify-between gap-1",children:[(0,s.jsxs)("div",{className:"flex items-center",children:[(0,s.jsx)(eh.V,{hostname:l}),(0,s.jsx)("p",{className:"ml-1 truncate",children:l.replace("www.","").split("/")[0]})]}),(0,s.jsxs)("div",{className:"flex shrink-0 items-center gap-1",children:[r&&(0,s.jsxs)(s.Fragment,{children:[t.closed?(0,s.jsx)(F.IconCheckCircled,{className:"h-3.5 w-3.5"}):(0,s.jsx)(F.IconCircleDot,{className:"h-3.5 w-3.5"}),(0,s.jsx)("span",{children:t.closed?"Closed":"Open"})]}),a&&(0,s.jsxs)(s.Fragment,{children:[t.merged?(0,s.jsx)(F.IconGitMerge,{className:"h-3.5 w-3.5"}):(0,s.jsx)(F.IconGitPullRequest,{className:"h-3.5 w-3.5"}),t.merged?"Merged":"Open"]})]})]})})]})}function ej(e){let{message:t,onCancel:n,onSubmit:r}=e,a=es.Ry({content:es.Z_().trim()}),i=(0,et.cI)({resolver:(0,Y.F)(a),defaultValues:{content:t.content}}),{isSubmitting:o}=i.formState,[c]=(0,l.useState)(t),d=async e=>{let t=await r({...c,content:e.content});t&&(0,D.zG)(i)(t)};return(0,s.jsx)(er.l0,{...i,children:(0,s.jsxs)("form",{onSubmit:i.handleSubmit(d),children:[(0,s.jsx)(er.Wi,{control:i.control,name:"content",render:e=>{let{field:t}=e;return(0,s.jsxs)(er.xJ,{children:[(0,s.jsx)(er.NI,{children:(0,s.jsx)(en.Z,{autoFocus:!0,minRows:2,maxRows:20,className:"w-full rounded-lg border bg-background p-4 outline-ring",...t})}),(0,s.jsx)(er.zG,{})]})}}),(0,s.jsxs)("div",{className:"my-4 flex items-center justify-between gap-2 px-2",children:[(0,s.jsx)("div",{children:(0,s.jsx)(er.zG,{})}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(T.z,{type:"button",variant:"outline",onClick:n,className:"min-w-[2rem]",children:"Cancel"}),(0,s.jsxs)(T.z,{type:"submit",disabled:o,children:[o&&(0,s.jsx)(F.IconSpinner,{className:"mr-2 h-4 w-4 animate-spin"}),"Save"]})]})]})]})})}let eN=e=>{let t=$().sanitize(e,{ALLOWED_TAGS:[],ALLOWED_ATTR:[]}),n=ee.TU.parse(t),s=X().decode(n),l=s.replace(/<\/?[^>]+(>|$)/g,"");return l};var eb=n(90379);let ew=(0,l.lazy)(()=>n.e(726).then(n.t.bind(n,80726,23))),ey=e=>{let{value:t,isFullScreen:n,onToggleFullScreen:r,onClose:a}=e,[i]=(0,g.m)(),{theme:o}=(0,w.X)(),c=(0,l.useRef)(null);return((0,l.useEffect)(()=>{if(t){var e;null===(e=c.current)||void 0===e||e.scrollTo({top:0,behavior:"smooth"})}},[t]),(null==i?void 0:i.value)&&open)?(0,s.jsxs)("div",{className:"flex h-full flex-col px-3 pt-2",children:[(0,s.jsx)("div",{className:"flex items-center justify-end pb-2",children:(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(T.z,{variant:"ghost",size:"icon",onClick:e=>r(!n),children:(0,s.jsx)(F.IconChevronDown,{className:(0,L.cn)("transition-all",n?"":"rotate-180")})}),(0,s.jsx)(T.z,{variant:"ghost",size:"icon",onClick:a,children:(0,s.jsx)(F.IconClose,{})})]})}),(0,s.jsx)(l.Suspense,{fallback:(0,s.jsx)(eb.cg,{className:"p-2"}),children:t?(0,s.jsx)(P.ScrollArea,{className:"flex-1",ref:c,children:(0,s.jsx)(ew,{theme:"dark"===o?"tomorrow":"rjv-default",src:t,style:{fontSize:"0.75rem"},collapseStringsAfterLength:120})}):null})]}):null};var eI=n(73460),eC=n(68172),eS=n(61249),ek=n(63743),eR=n(7449);let eA=(0,j.BX)("\n mutation DeleteThread($id: ID!) {\n deleteThread(id: $id)\n }\n");function eM(e){let{threadIdFromURL:t,streamingDone:n}=e,r=(0,i.useRouter)(),{isThreadOwner:a}=(0,l.useContext)(ef),[o,c]=(0,l.useState)(!1),[d,u]=(0,l.useState)(!1),m=(0,D.Db)(eA,{onCompleted(e){e.deleteThread?r.replace("/"):(f.A.error("Failed to delete"),u(!1))},onError(e){f.A.error((null==e?void 0:e.message)||"Failed to delete"),u(!1)}}),h=e=>{e&&(0,E.wh)(),r.push("/")};return(0,s.jsxs)("header",{className:"flex h-16 items-center justify-between px-4 lg:px-10",children:[(0,s.jsx)("div",{className:"flex items-center gap-x-6",children:(0,s.jsxs)(T.z,{variant:"ghost",className:"-ml-1 pl-0 text-sm text-muted-foreground",onClick:()=>h(),children:[(0,s.jsx)(F.IconChevronLeft,{className:"mr-1 h-5 w-5"}),"Home"]})}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[n&&t&&(0,s.jsx)(T.z,{variant:"ghost",className:"flex items-center gap-1 px-2 font-normal text-muted-foreground",onClick:()=>h(!0),children:(0,s.jsx)(F.IconPlus,{})}),n&&t&&a&&(0,s.jsxs)(eI.aR,{open:o,onOpenChange:c,children:[(0,s.jsx)(eI.vW,{asChild:!0,children:(0,s.jsx)(T.z,{size:"icon",variant:"hover-destructive",children:(0,s.jsx)(F.IconTrash,{})})}),(0,s.jsxs)(eI._T,{children:[(0,s.jsxs)(eI.fY,{children:[(0,s.jsx)(eI.f$,{children:"Delete this thread"}),(0,s.jsx)(eI.yT,{children:"Are you sure you want to delete this thread? This operation is not revertible."})]}),(0,s.jsxs)(eI.xo,{children:[(0,s.jsx)(eI.le,{children:"Cancel"}),(0,s.jsxs)(eI.OL,{className:(0,T.d)({variant:"destructive"}),onClick:e=>{e.preventDefault(),u(!0),m({id:t})},children:[d&&(0,s.jsx)(F.IconSpinner,{className:"mr-2 h-4 w-4 animate-spin"}),"Yes, delete it"]})]})]})]}),(0,s.jsx)(eC.q,{children:(0,s.jsx)(ek.T,{})}),(0,s.jsx)(eS.L,{className:"mr-4"}),(0,s.jsx)(eR.Z,{showHome:!1,showSetting:!0,beforeRouteChange:()=>{(0,E.wh)()},children:(0,s.jsx)(ex.SQ,{className:"h-10 w-10 border"})})]})]})}function e_(){return(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(ei.O,{className:"w-full"}),(0,s.jsx)(ei.O,{className:"w-[70%]"})]}),(0,s.jsx)(ei.O,{className:"h-40 w-full"})]})}function ez(e){let{message:t,className:n,...r}=e,{contextInfo:a,fetchingContextInfo:i}=(0,l.useContext)(ef),{supportsOnApplyInEditorV2:o}=(0,l.useContext)(eo.p);return(0,s.jsx)("div",{className:(0,L.cn)("font-semibold",n),...r,children:(0,s.jsx)(eu.J,{message:t.content,contextInfo:a,supportsOnApplyInEditorV2:o,fetchingContextInfo:i,className:"text-xl prose-p:mb-2 prose-p:mt-0",headline:!0,canWrapLongLines:!0})})}let eE={compress:5.3,expand:6.3},eD="_temp_msg_",eU=()=>"".concat(eD).concat((0,x.x0)());function eL(){var e,t,n,r,a;let m=(0,z.a)(e=>e.pendingUserMessage),[{data:x}]=(0,C.P)(),{updateUrlComponents:j,pathname:H}=(0,R.Z)(),[Y,J]=(0,l.useState)(),[$,K]=(0,l.useState)(!1),X=(0,A.xG)(),[B,ee]=(0,l.useState)([]),[et,en]=(0,l.useState)(!0),[es,el]=(0,l.useState)(!!(null==m?void 0:m.content)),[er,ea]=(0,l.useState)(""),[ei,eo]=(0,l.useState)(""),ec=(0,l.useRef)(null),[ed,eu]=(0,l.useState)(!1),[em]=(0,Q.Hb)(),eh=(0,i.useRouter)(),ex=(0,l.useRef)(!1),{theme:ep}=(0,w.X)(),[eg,ej]=(0,l.useState)(!1),[eN,eb]=(0,l.useState)(),ew=(0,l.useRef)(null),[eI,eC]=(0,l.useState)(45),eS=(0,l.useRef)(eI),[ek]=(0,g.m)(),[eR,eA]=(0,l.useState)(),eE=(0,l.useMemo)(()=>{var e,t;if(Y)return null===(t=Y.match(/^\/search\/(.*)/))||void 0===t?void 0:null===(e=t[1])||void 0===e?void 0:e.split("-").pop()},[Y]),eL=(0,D.Db)(eT),eP=async e=>{let t=B.findIndex(t=>t.id===e.id);if(!(t>-1)||!eR)return Error("Failed to save");{var n;let s=await eL({input:{threadId:eR,id:e.id,content:e.content}});if(null==s||null===(n=s.data)||void 0===n||!n.updateThreadMessage)return(null==s?void 0:s.error)||Error("Failed to save");await ee(n=>{let s=[...n];return s[t]=e,s})}};(0,l.useEffect)(()=>{eE&&eA(eE)},[eE]);let[{data:eZ,fetching:eV}]=(0,v.aM)({query:U.Gx}),[eq,eQ]=(0,l.useState)(),[{data:eG,fetching:eH,error:eW}]=(0,v.aM)({query:U.XL,variables:{ids:[eR]},pause:!eR}),[{data:eY,error:eJ,fetching:e$,stale:eK}]=(0,v.aM)({query:U.r4,variables:{threadId:eR,first:30,after:eq},pause:!eR||es});(0,l.useEffect)(()=>{var e,t,n,s;if(!eK){if(null==eY?void 0:null===(t=eY.threadMessages)||void 0===t?void 0:null===(e=t.edges)||void 0===e?void 0:e.length){let e=eY.threadMessages.edges.map(e=>e.node).slice();ee(t=>(0,h.Z)([...t,...e],"id"))}if(null==eY?void 0:eY.threadMessages){let e=null==eY?void 0:null===(s=eY.threadMessages)||void 0===s?void 0:null===(n=s.pageInfo)||void 0===n?void 0:n.hasNextPage,t=null==eY?void 0:eY.threadMessages.pageInfo.endCursor;e&&t?eQ(t):el(!0)}}},[eY]);let eX=(0,l.useMemo)(()=>{if(!x)return!1;if(!eE)return!0;let e=null==eG?void 0:eG.threads.edges[0];return!!e&&x.me.id===e.node.userId},[x,eG,eE]),eB=null==eZ?void 0:eZ.contextInfo.sources,e0=null==B?void 0:null===(e=B[0])||void 0===e?void 0:e.content,e1=(0,l.useMemo)(()=>eB&&e0?(0,L.i8)(eB,e0,{maxLength:p.$I}):"",[eB,e0]);(0,l.useEffect)(()=>{e1&&(document.title=e1)},[e1]),(0,l.useEffect)(()=>{eJ&&!es&&el(!0)},[eJ]);let{sendUserMessage:e5,isLoading:e4,error:e2,answer:e6,stop:e3,regenerate:e8,deleteThreadMessagePair:e7}=(0,M.x)({threadId:eR}),e9=(0,I.d)(e4),{selectedModel:te,isFetchingModels:tt,models:tn}=(0,S.Vq)(),{selectedRepository:ts,isFetchingRepositories:tl,repos:tr}=(0,k.Q)(),ta=(0,l.useMemo)(()=>B.find(e=>e.id===eN),[eN,B]),ti=(0,l.useMemo)(()=>ta?(0,d.Z)(null==ta?void 0:ta.attachment,"doc","code"):{answers:B.filter(e=>e.role===N.uU.Assistant).map(e=>(0,d.Z)(e,"doc","code"))},[eN,null==ta?void 0:null===(t=ta.attachment)||void 0===t?void 0:t.code,null==ta?void 0:null===(n=ta.attachment)||void 0===n?void 0:n.doc]);(0,l.useEffect)(()=>{J(H),$||K(!0)},[H]),(0,l.useEffect)(()=>{$&&!eE&&(()=>{if(!ex.current){if(ex.current=!0,null==m?void 0:m.content){tm(m.content,m.context),(0,_.UP)(void 0);return}eR||((0,E.wh)(),eh.replace("/"))}})()},[$]),(0,l.useEffect)(()=>{es&&setTimeout(()=>{eu(!0)},300)},[es]);let to=(0,l.useMemo)(()=>!eE&&(0,u.Z)(B,e=>!!e.error),[eE,B]),{isCopied:tc,onShare:td}=function(e){let{threadIdFromURL:t,threadIdFromStreaming:n,streamingDone:s,updateThreadURL:l}=e,{isCopied:r,copyToClipboard:a}=(0,b.m)({timeout:2e3}),i=(0,D.Db)(U.md,{onError(e){f.A.error(e.message)}}),o=!t&&s&&n&&l,c=async()=>{if(r)return;let e=window.location.href;o&&(await i({threadId:n}),e=l(n)),a(e)};return{onShare:c,isCopied:r}}({threadIdFromURL:eE,threadIdFromStreaming:eR,streamingDone:!e4,updateThreadURL:e=>{let t=(0,o.Z)(e1),n=(0,c.Z)([t,e]).join("-"),s=j({pathname:"/search/".concat(n),searchParams:{del:["q"]},replace:!0});return location.origin+s}});(0,l.useEffect)(()=>{var e,t,n,s;e6.threadId&&e6.threadId!==eR&&eA(e6.threadId);let l=[...B],r=l.findIndex(e=>e.id===er),a=l.findIndex(e=>e.id===ei);if(-1===r||-1===a)return;let i=l[r],o=l[a];o.content=e6.content,(null===(e=o.attachment)||void 0===e?void 0:e.code)||!e6.attachmentsCode||(o.attachment={clientCode:null,doc:(null===(n=o.attachment)||void 0===n?void 0:n.doc)||null,code:e6.attachmentsCode.map(e=>({...e.code,extra:{scores:e.scores}}))||null}),(null===(t=o.attachment)||void 0===t?void 0:t.doc)||!e6.attachmentsDoc||(o.attachment={clientCode:null,doc:e6.attachmentsDoc.map(e=>({...e.doc,extra:{score:e.score}}))||null,code:(null===(s=o.attachment)||void 0===s?void 0:s.code)||null}),o.threadRelevantQuestions=null==e6?void 0:e6.relevantQuestions;let c=e6.userMessageId,d=e6.assistantMessageId;c&&d&&c!==i.id&&d!==o.id&&(i.id=c,o.id=d,ea(c),eo(d)),ee(l)},[e4,e6]),(0,l.useEffect)(()=>{if(e2){let e=[...B],t=e.find(e=>e.id===ei);t&&(t.error=e2?"401"===e2.message?"Unauthorized":(0,u.Z)(e2.graphQLErrors,e=>{var t;return(null===(t=e.extensions)||void 0===t?void 0:t.code)===p.ir})?"The thread has expired or does not exist.":e2.message||"Failed to fetch":"Failed to fetch")}},[e2]);let tu=(0,l.useRef)();(0,l.useEffect)(()=>(e9.current&&(tu.current=window.setTimeout(()=>{if(!e9.current)return;en(!0);let e=null==ec?void 0:ec.current;e&&e.scrollTo({top:e.scrollHeight,behavior:"smooth"})},300)),e9.current||en(!1),()=>{window.clearTimeout(tu.current)}),[e4]),(0,l.useEffect)(()=>{var e,t,n;eg?(null===(e=ew.current)||void 0===e||e.expand(),null===(t=ew.current)||void 0===t||t.resize(eI)):null===(n=ew.current)||void 0===n||n.collapse()},[eg]);let tm=(e,t)=>{let n=eU(),s=eU(),l={id:n,role:N.uU.User,content:e},r={id:s,role:N.uU.Assistant,content:""},{sourceIdForCodeQuery:a,sourceIdsForDocQuery:i,searchPublic:o}=eO(null==ts?void 0:ts.sourceId,t),c=a?{sourceId:a,content:e}:null;ea(n),eo(s),ee([...B].concat([l,r])),e5({content:e},{generateRelevantQuestions:!0,codeQuery:c,docQuery:{sourceIds:i,content:e,searchPublic:!!o},modelName:null==t?void 0:t.modelName})},th=(0,l.useMemo)(()=>{var e,t;if(es&&!eH&&eE&&(eW||!(null==eG?void 0:null===(t=eG.threads)||void 0===t?void 0:null===(e=t.edges)||void 0===e?void 0:e.length)))return eW||Error(p.ir)},[eG,eH,eW,es,eE]),[tx]=(0,y.n)(e$||(null==eY?void 0:null===(a=eY.threadMessages)||void 0===a?void 0:null===(r=a.pageInfo)||void 0===r?void 0:r.hasNextPage),200),tf=(0,l.useMemo)(()=>{let e=[],t={question:null,answer:null};return B.forEach(n=>{n.role===N.uU.User?t.question=n:n.role!==N.uU.Assistant||t.answer||(t.answer=n,e.push(t),t={question:null,answer:null})}),e},[B]),tv=em?{height:"calc(100vh - ".concat(Q.wt,")")}:{height:"100vh"};return X?es&&(th||eJ)?(0,s.jsx)(eF,{error:th||eJ,threadIdFromURL:eE}):(0,s.jsx)(ef.Provider,{value:{isLoading:e4,onRegenerateResponse:()=>{var e;if(!eR||eV)return;let t=B.length-1,n=t-1;if(-1===t||n<=-1)return;let s=B[n].id,l=B[t].id,r=B.slice(0,-2),a=B[n],i={...a,id:eU()},o={id:eU(),role:N.uU.Assistant,content:"",attachment:{code:null,doc:null,clientCode:null},error:void 0},c=(0,L.b)(i.content,null==eZ?void 0:null===(e=eZ.contextInfo)||void 0===e?void 0:e.sources),{sourceIdForCodeQuery:d,sourceIdsForDocQuery:u,searchPublic:m}=eO(null==ts?void 0:ts.sourceId,(0,L.G8)(c)),h=d?{sourceId:d,content:i.content}:null,x={sourceIds:u,content:i.content,searchPublic:m};ea(i.id),eo(o.id),ee([...r,i,o]),e8({threadId:eR,userMessageId:s,assistantMessageId:l,userMessage:{content:i.content},threadRunOptions:{generateRelevantQuestions:!0,codeQuery:h,docQuery:x,modelName:te}})},onSubmitSearch:tm,setDevPanelOpen:ej,setConversationIdForDev:eb,isPathnameInitialized:$,enableDeveloperMode:ek.value,contextInfo:null==eZ?void 0:eZ.contextInfo,fetchingContextInfo:eV,onDeleteMessage:e=>{if(!eR)return;let t=B.findIndex(t=>t.id===e),n=t-1,s=B[t-1];if(-1!==t&&(null==s?void 0:s.role)===N.uU.User){if(s.id.startsWith(eD)&&e.startsWith(eD)){let e=B.slice(0,n).concat(B.slice(t+1));ee(e);return}e7(eR,s.id,e).then(e=>{if(e){f.A.error(e);return}let s=B.slice(0,n).concat(B.slice(t+1));ee(s)})}},isThreadOwner:eX,onUpdateMessage:eP,repositories:tr},children:(0,s.jsx)("div",{className:"transition-all",style:tv,children:(0,s.jsxs)(O.pO,{direction:"vertical",onLayout:e=>{(null==e?void 0:e[1])&&eC(e[1])},children:[(0,s.jsxs)(O.ee,{children:[(0,s.jsx)(eM,{threadIdFromURL:eE,streamingDone:!e4}),(0,s.jsx)(G.Z,{loading:!es,fallback:(0,s.jsxs)("div",{className:"mx-auto mt-24 w-full space-y-10 px-4 pb-32 lg:max-w-4xl lg:px-0",children:[(0,s.jsx)(e_,{}),(0,s.jsx)(e_,{})]}),children:(0,s.jsxs)("main",{className:"h-[calc(100%-4rem)] pb-8 lg:pb-0",children:[(0,s.jsx)(P.ScrollArea,{className:"h-full",ref:ec,children:(0,s.jsx)("div",{className:"mx-auto px-4 pb-32 lg:max-w-4xl lg:px-0",children:(0,s.jsx)("div",{className:"flex flex-col",children:tf.map((e,t)=>{var n,r;let a=t===tf.length-1;return e.question?(0,s.jsxs)(l.Fragment,{children:[!!e.question&&(0,s.jsx)(ez,{className:"pb-2 pt-8",message:e.question},e.question.id),!!e.answer&&(0,s.jsx)(ev,{className:"pb-8 pt-2",message:e.answer,clientCode:null===(r=e.question)||void 0===r?void 0:null===(n=r.attachment)||void 0===n?void 0:n.clientCode,isLoading:e4&&a,isLastAssistantMessage:a,showRelatedQuestion:a,isDeletable:!e4&&B.length>2},e.answer.id),!a&&(0,s.jsx)(Z.Z,{})]},e.question.id):null})})})}),(0,s.jsx)(q.K,{className:(0,L.cn)("!fixed !bottom-[5.4rem] !right-4 !top-auto z-40 border-muted-foreground lg:!bottom-[2.85rem]",{hidden:eg}),container:ec.current,offset:100,style:"dark"===ep?{"--background":"0 0% 12%"}:{}}),(0,s.jsxs)("div",{className:(0,L.cn)("fixed bottom-5 left-0 z-30 flex min-h-[3rem] w-full flex-col items-center gap-y-2",{"opacity-100 translate-y-0":ed,"opacity-0 translate-y-10":!ed,hidden:eg}),style:Object.assign({transition:"all 0.35s ease-out"},"dark"===ep?{"--background":"0 0% 12%"}:{}),children:[(0,s.jsxs)("div",{className:(0,L.cn)("absolute flex items-center gap-4"),style:eX?{top:"-2.5rem"}:void 0,children:[et&&(0,s.jsxs)(T.z,{className:"bg-background",variant:"outline",onClick:()=>e3(),children:[(0,s.jsx)(F.IconStop,{className:"mr-2"}),"Stop generating"]}),!et&&(0,s.jsxs)(V.u,{delayDuration:0,children:[(0,s.jsx)(V.aJ,{asChild:!0,children:(0,s.jsx)("span",{tabIndex:0,children:(0,s.jsxs)(T.z,{className:"gap-2 bg-background",variant:"outline",onClick:td,disabled:to,children:[to?(0,s.jsx)(F.IconInfoCircled,{}):tc?(0,s.jsx)(F.IconCheck,{className:"text-green-600"}):(0,s.jsx)(F.IconShare,{}),"Share Link"]})})}),(0,s.jsx)(V._v,{hidden:!to,children:"Please resolve errors in messages before sharing this thread."})]})]}),eX&&(0,s.jsx)("div",{className:(0,L.cn)("relative z-20 flex justify-center self-stretch px-4"),children:(0,s.jsx)(W.Z,{onSearch:tm,className:"min-h-[5rem] lg:max-w-4xl",placeholder:"Ask a follow up question",isFollowup:!0,isLoading:e4,contextInfo:null==eZ?void 0:eZ.contextInfo,fetchingContextInfo:eV,modelName:te,onSelectModel:e=>{(0,_.Eg)(e)},repoSourceId:null==ts?void 0:ts.sourceId,onSelectRepo:e=>{(0,_.xt)(e)},isInitializingResources:tt||tl,models:tn})})]})]})})]}),(0,s.jsx)(O.Dp,{className:(0,L.cn)("hidden !h-[4px] border-none bg-background shadow-[0px_-4px_4px_rgba(0,0,0,0.2)] hover:bg-blue-500 active:bg-blue-500 dark:shadow-[0px_-4px_4px_rgba(255,255,255,0.2)]",eg&&"block")}),(0,s.jsx)(O.ee,{collapsible:!0,collapsedSize:0,defaultSize:0,ref:ew,onCollapse:()=>ej(!1),className:"z-50",children:(0,s.jsx)(ey,{onClose:()=>ej(!1),value:ti,isFullScreen:100===eI,onToggleFullScreen:e=>{var t;let n=eS.current;e?n=100:100===n&&(n=45),null===(t=ew.current)||void 0===t||t.resize(n),eC(n),eS.current=eI}})})]})})}):null}let eT=(0,j.BX)("\n mutation UpdateThreadMessage($input: UpdateMessageInput!) {\n updateThreadMessage(input: $input)\n }\n");function eF(e){let{error:t,threadIdFromURL:n}=e;return t.message===p.ir?(0,s.jsx)(H.default,{}):(0,s.jsxs)("div",{className:"flex h-screen flex-col",children:[(0,s.jsx)(eM,{threadIdFromURL:n}),(0,s.jsx)("div",{className:"flex-1",children:(0,s.jsxs)("div",{className:"flex h-full flex-col items-center justify-center gap-2",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(F.IconFileSearch,{className:"h-6 w-6"}),(0,s.jsx)("div",{className:"text-xl font-semibold",children:"Something went wrong"})]}),(0,s.jsx)("div",{children:"Failed to fetch the thread, please refresh the page or start a new thread"}),(0,s.jsxs)(a(),{href:"/",onClick:E.wh,className:(0,L.cn)((0,T.d)(),"mt-4 gap-2"),children:[(0,s.jsx)(F.IconPlus,{}),(0,s.jsx)("span",{children:"New Thread"})]})]})})]})}function eO(e,t){let n,s=[],l=!1;if(t){var r,a,i;s=(0,m.Z)((0,c.Z)([e,null==t?void 0:null===(r=t.codeSourceIds)||void 0===r?void 0:r[0]].concat(t.docSourceIds))),l=null!==(i=t.searchPublic)&&void 0!==i&&i,n=e||(null===(a=t.codeSourceIds)||void 0===a?void 0:a[0])||void 0}return{sourceIdsForDocQuery:s,sourceIdForCodeQuery:n,searchPublic:l}}},69579:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return p}});var s=n(36164),l=n(42891),r=n.n(l),a=n(70652),i=n.n(a),o=n(83332),c=n(76531),d=n(57288),u=n(68172),m=n(30601),h=n(63743),x=n(31458),f=n(52569),v=n(7449);function p(){let[e]=(0,m.Hb)(),t=e?{height:"calc(100vh - ".concat(m.wt,")")}:{height:"100vh"};return(0,s.jsxs)("div",{style:t,className:"flex flex-col",children:[(0,s.jsx)(g,{}),(0,s.jsxs)("div",{className:"flex flex-1 flex-col items-center justify-center",children:[(0,s.jsx)("h2",{className:"mt-4 text-6xl font-bold tracking-tight text-foreground sm:text-7xl",children:"404"}),(0,s.jsx)("p",{className:"mt-4 text-lg text-muted-foreground",children:"Oops, it looks like the page you're looking for doesn't exist."}),(0,s.jsx)(i(),{className:(0,d.cn)("mt-6",(0,x.d)()),href:"/",children:"Home"})]})]})}function g(){return(0,s.jsxs)("header",{className:"flex h-16 items-center justify-between border-b px-4 lg:px-10",children:[(0,s.jsx)("div",{className:"flex items-center",children:(0,s.jsxs)(i(),{href:"/",children:[(0,s.jsx)(r(),{src:c.Z,alt:"logo",width:128,className:"dark:hidden"}),(0,s.jsx)(r(),{src:o.Z,alt:"logo",width:96,className:"hidden dark:block"})]})}),(0,s.jsxs)("div",{className:"flex items-center gap-6",children:[(0,s.jsx)(u.q,{children:(0,s.jsx)(h.T,{})}),(0,s.jsx)(v.Z,{showSetting:!0,children:(0,s.jsx)(f.SQ,{className:"h-10 w-10 border"})})]})]})}},73460:function(e,t,n){"use strict";n.d(t,{OL:function(){return p},_T:function(){return m},aR:function(){return o},f$:function(){return f},fY:function(){return h},le:function(){return g},vW:function(){return c},xo:function(){return x},yT:function(){return v}});var s=n(36164),l=n(3546),r=n(28961),a=n(57288),i=n(31458);let o=r.fC,c=r.xz,d=e=>{let{className:t,children:n,...l}=e;return(0,s.jsx)(r.h_,{className:(0,a.cn)(t),...l,children:(0,s.jsx)("div",{className:"fixed inset-0 z-50 flex items-end justify-center sm:items-center",children:n})})};d.displayName=r.h_.displayName;let u=l.forwardRef((e,t)=>{let{className:n,children:l,...i}=e;return(0,s.jsx)(r.aV,{className:(0,a.cn)("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm transition-opacity animate-in fade-in",n),...i,ref:t})});u.displayName=r.aV.displayName;let m=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,s.jsxs)(d,{children:[(0,s.jsx)(u,{}),(0,s.jsx)(r.VY,{ref:t,className:(0,a.cn)("fixed z-50 grid w-full max-w-lg scale-100 gap-4 border bg-background p-6 opacity-100 shadow-lg animate-in fade-in-90 slide-in-from-bottom-10 sm:rounded-lg sm:zoom-in-90 sm:slide-in-from-bottom-0 md:w-full",n),...l})]})});m.displayName=r.VY.displayName;let h=e=>{let{className:t,...n}=e;return(0,s.jsx)("div",{className:(0,a.cn)("flex flex-col space-y-2 text-center sm:text-left",t),...n})};h.displayName="AlertDialogHeader";let x=e=>{let{className:t,...n}=e;return(0,s.jsx)("div",{className:(0,a.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...n})};x.displayName="AlertDialogFooter";let f=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,s.jsx)(r.Dx,{ref:t,className:(0,a.cn)("text-lg font-semibold",n),...l})});f.displayName=r.Dx.displayName;let v=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,s.jsx)(r.dk,{ref:t,className:(0,a.cn)("text-sm text-muted-foreground",n),...l})});v.displayName=r.dk.displayName;let p=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,s.jsx)(r.aU,{ref:t,className:(0,a.cn)((0,i.d)(),n),...l})});p.displayName=r.aU.displayName;let g=l.forwardRef((e,t)=>{let{className:n,...l}=e;return(0,s.jsx)(r.$j,{ref:t,className:(0,a.cn)((0,i.d)({variant:"outline"}),"mt-2 sm:mt-0",n),...l})});g.displayName=r.$j.displayName},98150:function(e,t,n){"use strict";n.d(t,{NI:function(){return v},Wi:function(){return u},l0:function(){return c},lX:function(){return f},pf:function(){return p},xJ:function(){return x},zG:function(){return g}});var s=n(36164),l=n(3546),r=n(74047),a=n(5493),i=n(57288),o=n(5266);let c=a.RV,d=l.createContext({}),u=e=>{let{...t}=e;return(0,s.jsx)(d.Provider,{value:{name:t.name},children:(0,s.jsx)(a.Qr,{...t})})},m=()=>{let e=l.useContext(d),t=l.useContext(h),{getFieldState:n,formState:s}=(0,a.Gc)(),r=e.name||"root",i=n(r,s);if(!s)throw Error("useFormField should be used within ");let{id:o}=t;return{id:o,name:r,formItemId:"".concat(o,"-form-item"),formDescriptionId:"".concat(o,"-form-item-description"),formMessageId:"".concat(o,"-form-item-message"),...i}},h=l.createContext({}),x=l.forwardRef((e,t)=>{let{className:n,...r}=e,a=l.useId();return(0,s.jsx)(h.Provider,{value:{id:a},children:(0,s.jsx)("div",{ref:t,className:(0,i.cn)("space-y-2",n),...r})})});x.displayName="FormItem";let f=l.forwardRef((e,t)=>{let{className:n,required:l,...r}=e,{error:a,formItemId:c}=m();return(0,s.jsx)(o._,{ref:t,className:(0,i.cn)(a&&"text-destructive",l&&'after:ml-0.5 after:text-destructive after:content-["*"]',n),htmlFor:c,...r})});f.displayName="FormLabel";let v=l.forwardRef((e,t)=>{let{...n}=e,{error:l,formItemId:a,formDescriptionId:i,formMessageId:o}=m();return(0,s.jsx)(r.g7,{ref:t,id:a,"aria-describedby":l?"".concat(i," ").concat(o):"".concat(i),"aria-invalid":!!l,...n})});v.displayName="FormControl";let p=l.forwardRef((e,t)=>{let{className:n,...l}=e,{formDescriptionId:r}=m();return(0,s.jsx)("div",{ref:t,id:r,className:(0,i.cn)("text-sm text-muted-foreground",n),...l})});p.displayName="FormDescription";let g=l.forwardRef((e,t)=>{let{className:n,children:l,...r}=e,{error:a,formMessageId:o}=m(),c=a?String(null==a?void 0:a.message):l;return c?(0,s.jsx)("p",{ref:t,id:o,className:(0,i.cn)("text-sm font-medium text-destructive",n),...r,children:c}):null});g.displayName="FormMessage"},53538:function(e,t,n){"use strict";n.d(t,{Dp:function(){return o},ee:function(){return i},pO:function(){return a}});var s=n(36164),l=n(6618),r=n(57288);let a=e=>{let{className:t,...n}=e;return(0,s.jsx)(l.eh,{className:(0,r.cn)("flex h-full w-full data-[panel-group-direction=vertical]:flex-col",t),...n})},i=l.s_,o=e=>{let{withHandle:t,className:n,...a}=e;return(0,s.jsx)(l.OT,{className:(0,r.cn)("border-bg relative flex w-px items-center justify-center bg-border after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90",n),...a,children:t&&(0,s.jsx)("div",{className:"z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border"})})}},93877:function(e,t,n){"use strict";n.d(t,{m:function(){return i}});var s=n(3546);let l=(e,t)=>{let[n,l]=(0,s.useState)(t),[r,a]=(0,s.useState)(!0);return(0,s.useEffect)(()=>{let t=localStorage.getItem(e);t&&l(JSON.parse(t)),a(!1)},[]),[n,t=>{l(t),localStorage.setItem(e,JSON.stringify(t))},r]};class r{get value(){if("undefined"!=typeof localStorage){let e=localStorage.getItem(this.storageKey);if(e)return"true"===e}return this.defaultValue}constructor(e,t,n,s){this.storageKey=e,this.title=t,this.description=n,this.defaultValue=s}}let a=new class{defineGlobalVar(){return new r(this.storageKey,this.title,this.description,this.defaultValue)}defineHook(){return()=>{let[e,t,n]=l(this.storageKey,this.defaultValue);return[{value:e,title:this.title,description:this.description,loading:n},()=>{t(!e)}]}}constructor(e,t,n,s){this.storageKey="EXP_".concat(e),this.title=t,this.description=n,this.defaultValue=null!=s&&s}}("enable_developer_mode","Developer Mode","Enable the developer mode. The features involved include the Answer Engine.",!1);a.defineGlobalVar();let i=a.defineHook()},44645:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var s=n(3546),l=n(11978);function r(){let e=(0,l.usePathname)(),t=(0,l.useRouter)(),n=(0,l.useSearchParams)(),r=(0,s.useCallback)(e=>{let t=new URLSearchParams(n);e&&Object.entries(e).forEach(e=>{let[n,s]=e;return t.set(n,s)});let s=t.toString();return s.length>0?"?".concat(s):""},[n]),a=(0,s.useCallback)(s=>{let l=function(e,t,n){var s,l;let r=null===(s=n.searchParams)||void 0===s?void 0:s.set,a=null===(l=n.searchParams)||void 0===l?void 0:l.del,i=new URLSearchParams(t);r&&Object.entries(r).forEach(e=>{let[t,n]=e;return i.set(t,n)}),a&&(Array.isArray(a)?a.forEach(e=>i.delete(e)):i.delete(a));let o=i.toString(),c=e;return o.length>0&&(c+="?".concat(o)),n.hash&&(c+="#".concat(n.hash.replace(/^#/,""))),c}((null==s?void 0:s.pathname)||e,n,s);return s.replace?t.replace(l):t.push(l),l},[e,n]);return{pathname:e,router:t,searchParams:n,getQueryString:r,updateUrlComponents:a}}},76531:function(e,t){"use strict";t.Z={src:"/_next/static/media/logo.526f7cf9.png",height:184,width:607,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAYAAABllJ3tAAAASklEQVR4nGPsKQh1f/HshV/PqtNtagrC8p++//rDAgQM//9/ZWJifMZYnRqg9+bVq6iZ51+1SP/5ovH//z8eRgbGbwyMjPxA9n0AMi8g2L1xUkUAAAAASUVORK5CYII=",blurWidth:8,blurHeight:2}}},function(e){e.O(0,[8415,7565,3078,753,7430,55,7812,4007,9643,4752,3449,2578,8511,240,2287,4421,1454,7070,1002,8961,6805,4546,4553,9275,9148,4405,8300,1266,440,9427,4916,5019,1570,7288,1565,4656,9634,3236,2685,3375,5289,1744],function(){return e(e.s=67802)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/app/search/page-d3cbebba74235595.js b/ee/tabby-webserver/ui/_next/static/chunks/app/search/page-d3cbebba74235595.js deleted file mode 100644 index cc6dd8faaf9a..000000000000 --- a/ee/tabby-webserver/ui/_next/static/chunks/app/search/page-d3cbebba74235595.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2797],{67802:function(e,t,n){Promise.resolve().then(n.bind(n,32166))},32166:function(e,t,n){"use strict";n.r(t),n.d(t,{SOURCE_CARD_STYLE:function(){return eM},Search:function(){return eT},SearchContext:function(){return eR}});var r=n(36164),s=n(3546),l=n(70652),a=n.n(l),o=n(11978),i=n(54767),d=n(1853),c=n(82030),u=n(72940),m=n(52807),h=n(12978),x=n(56575),f=n(2578),p=n(40055),v=n(21808),g=n(93877),j=n(43240),b=n(18500),N=n(28312),w=n(9010),y=n(24449),C=n(16784),I=n(98454),S=n(31159),k=n(44645),A=n(80605),R=n(64566),M=n(47241),E=n(37266),_=n(11634),T=n(70410),L=n(57288),z=n(31458),D=n(81565),O=n(53538),P=n(57830),F=n(11208),U=n(29),Z=n(72657),H=n(30601),V=n(69579),q=n(24203),G=n(84381),W=n(62226),K=n.n(W),$=n(6797),B=n.n($),Q=n(94909),J=n(66686),Y=n(5493),X=n(23455),ee=n(23782),et=n(74038),en=n(98150),er=n(90615),es=n(3448),el=n(50445),ea=n(90168),eo=n(48537),ei=n(54646),ed=n(64219),ec=n(89811),eu=n(52569);function em(e){var t,n,l,a,o,i,c,u,m;let{className:h,message:x,showRelatedQuestion:f,isLoading:p,isLastAssistantMessage:v,isDeletable:g,clientCode:j}=e,{onRegenerateResponse:b,onSubmitSearch:N,setDevPanelOpen:w,setConversationIdForDev:y,enableDeveloperMode:C,contextInfo:I,fetchingContextInfo:S,onDeleteMessage:k,isThreadOwner:A,onUpdateMessage:R}=(0,s.useContext)(eR),{supportsOnApplyInEditorV2:M,onNavigateToContext:E}=(0,s.useContext)(el.p),[_,T]=(0,s.useState)(!1),[O,P]=(0,s.useState)(!1),[F,U]=(0,s.useState)(void 0),Z=p?D.IconSpinner:D.IconSparkles,H=(null==x?void 0:null===(l=x.attachment)||void 0===l?void 0:null===(n=l.code)||void 0===n?void 0:null===(t=n[0])||void 0===t?void 0:t.gitUrl)||"",V=(0,s.useMemo)(()=>{var e;return(null==j?void 0:j.length)&&null!==(e=j.map(e=>{let{startLine:t,endLine:n}=(0,L.OV)(e);return{kind:"file",range:{start:t,end:n},filepath:e.filepath||"",content:e.content,git_url:H}}))&&void 0!==e?e:[]},[j,H]),q=(0,s.useMemo)(()=>{var e,t,n;return null!==(n=null==x?void 0:null===(t=x.attachment)||void 0===t?void 0:null===(e=t.code)||void 0===e?void 0:e.map(e=>{var t;let{startLine:n,endLine:r}=(0,L.OV)(e);return{kind:"file",range:{start:n,end:r},filepath:e.filepath,content:e.content,git_url:e.gitUrl,extra:{scores:null==e?void 0:null===(t=e.extra)||void 0===t?void 0:t.scores}}}))&&void 0!==n?n:[]},[j,null==x?void 0:null===(a=x.attachment)||void 0===a?void 0:a.code]),G=(0,s.useMemo)(()=>null==j?void 0:j.map(e=>({...e,gitUrl:H})),[j,H]),W=null==x?void 0:null===(o=x.attachment)||void 0===o?void 0:o.doc,K=((null==G?void 0:G.length)||0)+((null===(c=x.attachment)||void 0===c?void 0:null===(i=c.code)||void 0===i?void 0:i.length)||0),$=(null==W?void 0:W.length)?Math.ceil(W.length/4)*eM.expand+.5*Math.floor(W.length/4)+.5:0,B=e=>{let{startLine:t,endLine:n}=(0,L.OV)(e);if(!e.filepath)return;let r=new URL("".concat(window.location.origin,"/files")),s=new URLSearchParams;s.append("redirect_filepath",e.filepath),s.append("redirect_git_url",e.gitUrl),r.search=s.toString();let l=(0,L.nO)({start:t,end:n});l&&(r.hash=l),window.open(r.toString())},J=async e=>{let t=await R(e);if(t)return t;T(!1)};return(0,r.jsxs)("div",{className:(0,L.cn)("flex flex-col gap-y-5",h),children:[W&&W.length>0&&(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"mb-1 flex items-center gap-x-2",children:[(0,r.jsx)(D.IconBlocks,{className:"relative",style:{top:"-0.04rem"}}),(0,r.jsx)("p",{className:"text-sm font-bold leading-normal",children:"Sources"})]}),(0,r.jsx)("div",{className:"gap-sm -mx-2 grid grid-cols-3 gap-2 overflow-y-hidden px-2 pt-2 md:grid-cols-4",style:{transition:"height 0.25s ease-out",height:O?"".concat($,"rem"):"".concat(eM.compress+.5,"rem")},children:W.map((e,t)=>(0,r.jsx)(eh,{conversationId:x.id,source:e,showMore:O,showDevTooltip:C},e.link+t))}),(0,r.jsxs)(z.z,{variant:"ghost",className:"-ml-1.5 mt-1 flex items-center gap-x-1 px-1 py-2 text-sm font-normal text-muted-foreground",onClick:()=>P(!O),children:[(0,r.jsx)(D.IconChevronRight,{className:(0,L.cn)({"-rotate-90":O,"rotate-90":!O})}),(0,r.jsx)("p",{children:O?"Show less":"Show more"})]})]}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"mb-1 flex h-8 items-center gap-x-1.5",children:[(0,r.jsx)(Z,{className:(0,L.cn)({"animate-spinner":p})}),(0,r.jsx)("p",{className:"text-sm font-bold leading-none",children:"Answer"}),C&&(0,r.jsx)(z.z,{variant:"ghost",size:"icon",onClick:()=>{y(x.id),w(!0)},children:(0,r.jsx)(D.IconBug,{})})]}),K>0&&(0,r.jsx)(ea.q,{clientContexts:V,contexts:q,className:"mt-1 text-sm",onContextClick:e=>{if(!e.filepath)return;let t=new URL("".concat(window.location.origin,"/files")),n=new URLSearchParams;n.append("redirect_filepath",e.filepath),n.append("redirect_git_url",e.git_url),t.search=n.toString();let r=(0,L.nO)({start:e.range.start,end:e.range.end});r&&(t.hash=r),window.open(t.toString())},enableTooltip:C,showExternalLink:!1,showClientCodeIcon:!0,onTooltipClick:()=>{y(x.id),w(!0)},highlightIndex:F}),p&&!x.content&&(0,r.jsx)(es.O,{className:"mt-1 h-40 w-full"}),_?(0,r.jsx)(ef,{message:x,onCancel:()=>T(!1),onSubmit:J}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ei.J,{message:x.content,attachmentDocs:W,attachmentClientCode:G,attachmentCode:null===(u=x.attachment)||void 0===u?void 0:u.code,onCodeCitationClick:e=>{e.gitUrl&&B(e)},onCodeCitationMouseEnter:e=>{var t,n;U(e-1-((null==x?void 0:null===(n=x.attachment)||void 0===n?void 0:null===(t=n.doc)||void 0===t?void 0:t.length)||0))},onCodeCitationMouseLeave:e=>{U(void 0)},contextInfo:I,fetchingContextInfo:S,canWrapLongLines:!p,supportsOnApplyInEditorV2:M}),x.error&&(0,r.jsx)(ei.m,{error:x.error}),!p&&!_&&(0,r.jsxs)("div",{className:"mt-3 flex items-center justify-between text-sm",children:[(0,r.jsx)("div",{className:"flex items-center gap-x-3",children:A&&(0,r.jsxs)(r.Fragment,{children:[!p&&!S&&v&&(0,r.jsxs)(z.z,{className:"flex items-center gap-x-1 px-1 font-normal text-muted-foreground",variant:"ghost",onClick:()=>b(x.id),children:[(0,r.jsx)(D.IconRefresh,{}),(0,r.jsx)("p",{children:"Regenerate"})]}),g&&(0,r.jsxs)(z.z,{className:"flex items-center gap-x-1 px-1 font-normal text-muted-foreground",variant:"ghost",onClick:()=>k(x.id),children:[(0,r.jsx)(D.IconTrash,{}),(0,r.jsx)("p",{children:"Delete"})]})]})}),(0,r.jsxs)("div",{className:"flex items-center gap-x-3",children:[(0,r.jsx)(eo.q,{className:"-ml-1.5 gap-x-1 px-1 font-normal text-muted-foreground",value:(e=>{var t,n,r,s,l,a,o,i,c,u,m;if((0,Q.Z)(null==e?void 0:null===(t=e.attachment)||void 0===t?void 0:t.doc)&&(0,Q.Z)(null==e?void 0:null===(n=e.attachment)||void 0===n?void 0:n.code))return e.content;let h=e.content.replace(et.H,e=>{let t=null==e?void 0:e.match(/\d+/);return"[".concat(t,"]")}).trim(),x=null!==(c=null===(s=e.attachment)||void 0===s?void 0:null===(r=s.doc)||void 0===r?void 0:r.map((e,t)=>"[".concat(t+1,"] ").concat(e.link)).join("\n"))&&void 0!==c?c:"",f=null!==(u=null===(a=e.attachment)||void 0===a?void 0:null===(l=a.doc)||void 0===l?void 0:l.length)&&void 0!==u?u:0,p=null!==(m=null===(i=e.attachment)||void 0===i?void 0:null===(o=i.code)||void 0===o?void 0:o.map((e,t)=>{let n=(0,L.tf)(e),r=(0,d.Z)([e.filepath,n]).join(":");return"[".concat(t+f+1,"] ").concat(r)}).join("\n"))&&void 0!==m?m:"";return"".concat(h,"\n\nCitations:\n").concat(x+p)})(x),text:"Copy"}),A&&(0,r.jsxs)(z.z,{className:"flex items-center gap-x-1 px-1 font-normal text-muted-foreground",variant:"ghost",onClick:e=>T(!0),children:[(0,r.jsx)(D.IconEdit,{}),(0,r.jsx)("p",{children:"Edit"})]})]})]})]})]}),f&&!_&&!p&&x.threadRelevantQuestions&&x.threadRelevantQuestions.length>0&&(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"flex items-center gap-x-1.5",children:[(0,r.jsx)(D.IconLayers,{}),(0,r.jsx)("p",{className:"text-sm font-bold leading-none",children:"Suggestions"})]}),(0,r.jsx)("div",{className:"mt-2 flex flex-col gap-y-3",children:null===(m=x.threadRelevantQuestions)||void 0===m?void 0:m.map((e,t)=>(0,r.jsxs)("div",{className:"flex cursor-pointer items-center justify-between rounded-lg border p-4 py-3 transition-opacity hover:opacity-70",onClick:N.bind(null,e),children:[(0,r.jsx)("p",{className:"w-full overflow-hidden text-ellipsis text-sm",children:e}),(0,r.jsx)(D.IconPlus,{})]},t))})]})]})}function eh(e){var t,n;let{conversationId:l,source:a,showMore:o,showDevTooltip:i}=e,{setDevPanelOpen:d,setConversationIdForDev:c}=(0,s.useContext)(eR),[u,m]=(0,s.useState)(!1);return(0,r.jsxs)(er.zs,{openDelay:100,closeDelay:100,children:[(0,r.jsxs)(U.u,{open:u,onOpenChange:e=>{i&&m(e)},delayDuration:0,children:[(0,r.jsx)(er.Yi,{asChild:!0,children:(0,r.jsx)(U.aJ,{asChild:!0,children:(0,r.jsx)("div",{className:"relative flex cursor-pointer flex-col justify-between rounded-lg border bg-card p-3 hover:bg-card/60",style:{height:o?"".concat(eM.expand,"rem"):"".concat(eM.compress,"rem"),transition:"all 0.25s ease-out"},onClick:()=>window.open(a.link),children:(0,r.jsx)(ex,{source:a,showMore:o})})})}),(0,r.jsx)(U._v,{align:"start",className:"cursor-pointer p-2",onClick:e=>{e.stopPropagation(),c(l),d(!0)},children:(0,r.jsxs)("p",{children:["Score: ",null!==(n=null==a?void 0:null===(t=a.extra)||void 0===t?void 0:t.score)&&void 0!==n?n:"-"]})})]}),(0,r.jsx)(er.bZ,{className:"w-96 bg-background text-sm text-foreground dark:border-muted-foreground/60",children:(0,r.jsx)(ed.Z,{relevantDocument:a})})]})}function ex(e){let{source:t,showMore:n}=e,{hostname:s}=new URL(t.link),l="MessageAttachmentIssueDoc"===t.__typename,a="MessageAttachmentPullDoc"===t.__typename,o="MessageAttachmentWebDoc"===t.__typename?void 0:t.author,i=(l||a)&&!!o;return(0,r.jsxs)("div",{className:"flex flex-1 flex-col justify-between gap-y-1",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-y-0.5",children:[(0,r.jsx)("p",{className:"line-clamp-1 w-full overflow-hidden text-ellipsis break-all text-xs font-semibold",children:t.title}),i&&(0,r.jsxs)("div",{className:"flex items-center gap-1 overflow-x-hidden",children:[(0,r.jsx)(eu.Yt,{user:o,className:"h-3.5 w-3.5 shrink-0"}),(0,r.jsx)("p",{className:"truncate text-xs font-medium text-muted-foreground",children:null==o?void 0:o.name})]}),(!i||n)&&(0,r.jsx)("p",{className:(0,L.cn)(" w-full overflow-hidden text-ellipsis break-all text-xs text-muted-foreground",!i&&n?"line-clamp-2":"line-clamp-1"),children:ep((0,L.L5)(t))})]}),(0,r.jsx)("div",{className:"flex items-center text-xs text-muted-foreground",children:(0,r.jsxs)("div",{className:"flex w-full flex-1 items-center justify-between gap-1",children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(ec.V,{hostname:s}),(0,r.jsx)("p",{className:"ml-1 truncate",children:s.replace("www.","").split("/")[0]})]}),(0,r.jsxs)("div",{className:"flex shrink-0 items-center gap-1",children:[l&&(0,r.jsxs)(r.Fragment,{children:[t.closed?(0,r.jsx)(D.IconCheckCircled,{className:"h-3.5 w-3.5"}):(0,r.jsx)(D.IconCircleDot,{className:"h-3.5 w-3.5"}),(0,r.jsx)("span",{children:t.closed?"Closed":"Open"})]}),a&&(0,r.jsxs)(r.Fragment,{children:[t.merged?(0,r.jsx)(D.IconGitMerge,{className:"h-3.5 w-3.5"}):(0,r.jsx)(D.IconGitPullRequest,{className:"h-3.5 w-3.5"}),t.merged?"Merged":"Open"]})]})]})})]})}function ef(e){let{message:t,onCancel:n,onSubmit:l}=e,a=ee.Ry({content:ee.Z_().trim()}),o=(0,Y.cI)({resolver:(0,G.F)(a),defaultValues:{content:t.content}}),{isSubmitting:i}=o.formState,[d]=(0,s.useState)(t),c=async e=>{let t=await l({...d,content:e.content});t&&(0,_.zG)(o)(t)};return(0,r.jsx)(en.l0,{...o,children:(0,r.jsxs)("form",{onSubmit:o.handleSubmit(c),children:[(0,r.jsx)(en.Wi,{control:o.control,name:"content",render:e=>{let{field:t}=e;return(0,r.jsxs)(en.xJ,{children:[(0,r.jsx)(en.NI,{children:(0,r.jsx)(X.Z,{autoFocus:!0,minRows:2,maxRows:20,className:"w-full rounded-lg border bg-background p-4 outline-ring",...t})}),(0,r.jsx)(en.zG,{})]})}}),(0,r.jsxs)("div",{className:"my-4 flex items-center justify-between gap-2 px-2",children:[(0,r.jsx)("div",{children:(0,r.jsx)(en.zG,{})}),(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(z.z,{type:"button",variant:"outline",onClick:n,className:"min-w-[2rem]",children:"Cancel"}),(0,r.jsxs)(z.z,{type:"submit",disabled:i,children:[i&&(0,r.jsx)(D.IconSpinner,{className:"mr-2 h-4 w-4 animate-spin"}),"Save"]})]})]})]})})}let ep=e=>{let t=K().sanitize(e,{ALLOWED_TAGS:[],ALLOWED_ATTR:[]}),n=J.TU.parse(t),r=B().decode(n),s=r.replace(/<\/?[^>]+(>|$)/g,"");return s};var ev=n(90379);let eg=(0,s.lazy)(()=>n.e(726).then(n.t.bind(n,80726,23))),ej=e=>{let{value:t,isFullScreen:n,onToggleFullScreen:l,onClose:a}=e,[o]=(0,g.m)(),{theme:i}=(0,w.X)(),d=(0,s.useRef)(null);return((0,s.useEffect)(()=>{if(t){var e;null===(e=d.current)||void 0===e||e.scrollTo({top:0,behavior:"smooth"})}},[t]),(null==o?void 0:o.value)&&open)?(0,r.jsxs)("div",{className:"flex h-full flex-col px-3 pt-2",children:[(0,r.jsx)("div",{className:"flex items-center justify-end pb-2",children:(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(z.z,{variant:"ghost",size:"icon",onClick:e=>l(!n),children:(0,r.jsx)(D.IconChevronDown,{className:(0,L.cn)("transition-all",n?"":"rotate-180")})}),(0,r.jsx)(z.z,{variant:"ghost",size:"icon",onClick:a,children:(0,r.jsx)(D.IconClose,{})})]})}),(0,r.jsx)(s.Suspense,{fallback:(0,r.jsx)(ev.cg,{className:"p-2"}),children:t?(0,r.jsx)(P.ScrollArea,{className:"flex-1",ref:d,children:(0,r.jsx)(eg,{theme:"dark"===i?"tomorrow":"rjv-default",src:t,style:{fontSize:"0.75rem"},collapseStringsAfterLength:120})}):null})]}):null};var eb=n(73460),eN=n(68172),ew=n(61249),ey=n(63743),eC=n(7449);let eI=(0,j.BX)("\n mutation DeleteThread($id: ID!) {\n deleteThread(id: $id)\n }\n");function eS(e){let{threadIdFromURL:t,streamingDone:n}=e,l=(0,o.useRouter)(),{isThreadOwner:a}=(0,s.useContext)(eR),[i,d]=(0,s.useState)(!1),[c,u]=(0,s.useState)(!1),m=(0,_.Db)(eI,{onCompleted(e){e.deleteThread?l.replace("/"):(f.A.error("Failed to delete"),u(!1))},onError(e){f.A.error((null==e?void 0:e.message)||"Failed to delete"),u(!1)}}),h=e=>{e&&(0,E.wh)(),l.push("/")};return(0,r.jsxs)("header",{className:"flex h-16 items-center justify-between px-4 lg:px-10",children:[(0,r.jsx)("div",{className:"flex items-center gap-x-6",children:(0,r.jsxs)(z.z,{variant:"ghost",className:"-ml-1 pl-0 text-sm text-muted-foreground",onClick:()=>h(),children:[(0,r.jsx)(D.IconChevronLeft,{className:"mr-1 h-5 w-5"}),"Home"]})}),(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[n&&t&&(0,r.jsx)(z.z,{variant:"ghost",className:"flex items-center gap-1 px-2 font-normal text-muted-foreground",onClick:()=>h(!0),children:(0,r.jsx)(D.IconPlus,{})}),n&&t&&a&&(0,r.jsxs)(eb.aR,{open:i,onOpenChange:d,children:[(0,r.jsx)(eb.vW,{asChild:!0,children:(0,r.jsx)(z.z,{size:"icon",variant:"hover-destructive",children:(0,r.jsx)(D.IconTrash,{})})}),(0,r.jsxs)(eb._T,{children:[(0,r.jsxs)(eb.fY,{children:[(0,r.jsx)(eb.f$,{children:"Delete this thread"}),(0,r.jsx)(eb.yT,{children:"Are you sure you want to delete this thread? This operation is not revertible."})]}),(0,r.jsxs)(eb.xo,{children:[(0,r.jsx)(eb.le,{children:"Cancel"}),(0,r.jsxs)(eb.OL,{className:(0,z.d)({variant:"destructive"}),onClick:e=>{e.preventDefault(),u(!0),m({id:t})},children:[c&&(0,r.jsx)(D.IconSpinner,{className:"mr-2 h-4 w-4 animate-spin"}),"Yes, delete it"]})]})]})]}),(0,r.jsx)(eN.q,{children:(0,r.jsx)(ey.T,{})}),(0,r.jsx)(ew.L,{className:"mr-4"}),(0,r.jsx)(eC.Z,{showHome:!1,showSetting:!0,beforeRouteChange:()=>{(0,E.wh)()},children:(0,r.jsx)(eu.SQ,{className:"h-10 w-10 border"})})]})]})}function ek(){return(0,r.jsxs)("div",{className:"space-y-4",children:[(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(es.O,{className:"w-full"}),(0,r.jsx)(es.O,{className:"w-[70%]"})]}),(0,r.jsx)(es.O,{className:"h-40 w-full"})]})}function eA(e){let{message:t,className:n,...l}=e,{contextInfo:a,fetchingContextInfo:o}=(0,s.useContext)(eR),{supportsOnApplyInEditorV2:i}=(0,s.useContext)(el.p);return(0,r.jsx)("div",{className:(0,L.cn)("font-semibold",n),...l,children:(0,r.jsx)(ei.J,{message:t.content,contextInfo:a,supportsOnApplyInEditorV2:i,fetchingContextInfo:o,className:"text-xl prose-p:mb-2 prose-p:mt-0",headline:!0,canWrapLongLines:!0})})}let eR=(0,s.createContext)({}),eM={compress:5.3,expand:6.3},eE="_temp_msg_",e_=()=>"".concat(eE).concat((0,x.x0)());function eT(){var e,t,n,l,a;let[{data:m}]=(0,I.P)(),{updateUrlComponents:x,pathname:j}=(0,k.Z)(),[V,G]=(0,s.useState)(),[W,K]=(0,s.useState)(!1),$=(0,A.xG)(),[B,Q]=(0,s.useState)([]),[J,Y]=(0,s.useState)(!0),[X,ee]=(0,s.useState)(!1),[et,en]=(0,s.useState)(""),[er,es]=(0,s.useState)(""),el=(0,s.useRef)(null),[ea,eo]=(0,s.useState)(!1),[ei]=(0,H.Hb)(),ed=(0,o.useRouter)(),ec=(0,s.useRef)(!1),{theme:eu}=(0,w.X)(),[eh,ex]=(0,s.useState)(!1),[ef,ep]=(0,s.useState)(),ev=(0,s.useRef)(null),[eg,eb]=(0,s.useState)(45),eN=(0,s.useRef)(eg),[ew]=(0,g.m)(),[ey,eC]=(0,s.useState)(),eI=(0,s.useMemo)(()=>{var e,t;if(V)return null===(t=V.match(/^\/search\/(.*)/))||void 0===t?void 0:null===(e=t[1])||void 0===e?void 0:e.split("-").pop()},[V]),eM=(0,_.Db)(eL),eT=async e=>{let t=B.findIndex(t=>t.id===e.id);if(!(t>-1)||!ey)return Error("Failed to save");{var n;let r=await eM({input:{threadId:ey,id:e.id,content:e.content}});if(null==r||null===(n=r.data)||void 0===n||!n.updateThreadMessage)return(null==r?void 0:r.error)||Error("Failed to save");await Q(n=>{let r=[...n];return r[t]=e,r})}};(0,s.useEffect)(()=>{eI&&eC(eI)},[eI]);let[{data:eO,fetching:eP}]=(0,p.aM)({query:T.Gx}),[eF,eU]=(0,s.useState)(),[{data:eZ,fetching:eH,error:eV}]=(0,p.aM)({query:T.XL,variables:{ids:[ey]},pause:!ey}),[{data:eq,error:eG,fetching:eW,stale:eK}]=(0,p.aM)({query:T.r4,variables:{threadId:ey,first:30,after:eF},pause:!ey||X});(0,s.useEffect)(()=>{var e,t,n,r;if(!eK){if(null==eq?void 0:null===(t=eq.threadMessages)||void 0===t?void 0:null===(e=t.edges)||void 0===e?void 0:e.length){let e=eq.threadMessages.edges.map(e=>e.node).slice();Q(t=>(0,h.Z)([...t,...e],"id"))}if(null==eq?void 0:eq.threadMessages){let e=null==eq?void 0:null===(r=eq.threadMessages)||void 0===r?void 0:null===(n=r.pageInfo)||void 0===n?void 0:n.hasNextPage,t=null==eq?void 0:eq.threadMessages.pageInfo.endCursor;e&&t?eU(t):ee(!0)}}},[eq]);let e$=(0,s.useMemo)(()=>{if(!m)return!1;if(!eI)return!0;let e=null==eZ?void 0:eZ.threads.edges[0];return!!e&&m.me.id===e.node.userId},[m,eZ,eI]),eB=null==eO?void 0:eO.contextInfo.sources,eQ=null==B?void 0:null===(e=B[0])||void 0===e?void 0:e.content,eJ=(0,s.useMemo)(()=>eB&&eQ?(0,L.i8)(eB,eQ,{maxLength:v.$I}):"",[eB,eQ]);(0,s.useEffect)(()=>{eJ&&(document.title=eJ)},[eJ]),(0,s.useEffect)(()=>{eG&&!X&&ee(!0)},[eG]);let{sendUserMessage:eY,isLoading:eX,error:e0,answer:e1,stop:e5,regenerate:e2,deleteThreadMessagePair:e4}=(0,R.x)({threadId:ey}),e6=(0,C.d)(eX),{selectedModel:e3,isModelLoading:e8,models:e7}=(0,S.Vq)(),e9=(0,s.useMemo)(()=>B.find(e=>e.id===ef),[ef,B]),te=(0,s.useMemo)(()=>e9?(0,c.Z)(null==e9?void 0:e9.attachment,"doc","code"):{answers:B.filter(e=>e.role===b.uU.Assistant).map(e=>(0,c.Z)(e,"doc","code"))},[ef,null==e9?void 0:null===(t=e9.attachment)||void 0===t?void 0:t.code,null==e9?void 0:null===(n=e9.attachment)||void 0===n?void 0:n.doc]);(0,s.useEffect)(()=>{G(j),W||K(!0)},[j]),(0,s.useEffect)(()=>{W&&!eI&&(()=>{if(ec.current)return;ec.current=!0;let e=sessionStorage.getItem(v.$6.SEARCH_INITIAL_MSG),t=sessionStorage.getItem(v.$6.SEARCH_INITIAL_CONTEXTS),n=t?JSON.parse(t):void 0;if(e){sessionStorage.removeItem(v.$6.SEARCH_INITIAL_MSG),sessionStorage.removeItem(v.$6.SEARCH_INITIAL_CONTEXTS),ee(!0),tl(e,n);return}ey||((0,E.wh)(),ed.replace("/"))})()},[W]),(0,s.useEffect)(()=>{X&&setTimeout(()=>{eo(!0)},300)},[X]);let tt=(0,s.useMemo)(()=>!eI&&(0,u.Z)(B,e=>!!e.error),[eI,B]),{isCopied:tn,onShare:tr}=function(e){let{threadIdFromURL:t,threadIdFromStreaming:n,streamingDone:r,updateThreadURL:s}=e,{isCopied:l,copyToClipboard:a}=(0,N.m)({timeout:2e3}),o=(0,_.Db)(T.md,{onError(e){f.A.error(e.message)}}),i=!t&&r&&n&&s,d=async()=>{if(l)return;let e=window.location.href;i&&(await o({threadId:n}),e=s(n)),a(e)};return{onShare:d,isCopied:l}}({threadIdFromURL:eI,threadIdFromStreaming:ey,streamingDone:!eX,updateThreadURL:e=>{let t=(0,i.Z)(eJ),n=(0,d.Z)([t,e]).join("-"),r=x({pathname:"/search/".concat(n),searchParams:{del:["q"]},replace:!0});return location.origin+r}});(0,s.useEffect)(()=>{var e,t,n,r;e1.threadId&&e1.threadId!==ey&&eC(e1.threadId);let s=[...B],l=s.findIndex(e=>e.id===et),a=s.findIndex(e=>e.id===er);if(-1===l||-1===a)return;let o=s[l],i=s[a];i.content=e1.content,(null===(e=i.attachment)||void 0===e?void 0:e.code)||!e1.attachmentsCode||(i.attachment={clientCode:null,doc:(null===(n=i.attachment)||void 0===n?void 0:n.doc)||null,code:e1.attachmentsCode.map(e=>({...e.code,extra:{scores:e.scores}}))||null}),(null===(t=i.attachment)||void 0===t?void 0:t.doc)||!e1.attachmentsDoc||(i.attachment={clientCode:null,doc:e1.attachmentsDoc.map(e=>({...e.doc,extra:{score:e.score}}))||null,code:(null===(r=i.attachment)||void 0===r?void 0:r.code)||null}),i.threadRelevantQuestions=null==e1?void 0:e1.relevantQuestions;let d=e1.userMessageId,c=e1.assistantMessageId;d&&c&&d!==o.id&&c!==i.id&&(o.id=d,i.id=c,en(d),es(c)),Q(s)},[eX,e1]),(0,s.useEffect)(()=>{if(e0){let e=[...B],t=e.find(e=>e.id===er);t&&(t.error=e0?"401"===e0.message?"Unauthorized":(0,u.Z)(e0.graphQLErrors,e=>{var t;return(null===(t=e.extensions)||void 0===t?void 0:t.code)===v.ir})?"The thread has expired or does not exist.":e0.message||"Failed to fetch":"Failed to fetch")}},[e0]);let ts=(0,s.useRef)();(0,s.useEffect)(()=>(e6.current&&(ts.current=window.setTimeout(()=>{if(!e6.current)return;Y(!0);let e=null==el?void 0:el.current;e&&e.scrollTo({top:e.scrollHeight,behavior:"smooth"})},300)),e6.current||Y(!1),()=>{window.clearTimeout(ts.current)}),[eX]),(0,s.useEffect)(()=>{var e,t,n;eh?(null===(e=ev.current)||void 0===e||e.expand(),null===(t=ev.current)||void 0===t||t.resize(eg)):null===(n=ev.current)||void 0===n||n.collapse()},[eh]);let tl=(e,t)=>{let n=e_(),r=e_(),s={id:n,role:b.uU.User,content:e},l={id:r,role:b.uU.Assistant,content:""},{sourceIdForCodeQuery:a,sourceIdsForDocQuery:o,searchPublic:i}=eD(t),d=a?{sourceId:a,content:e}:null;en(n),es(r),Q([...B].concat([s,l])),eY({content:e},{generateRelevantQuestions:!0,codeQuery:d,docQuery:{sourceIds:o,content:e,searchPublic:!!i},modelName:null==t?void 0:t.modelName})},ta=(0,s.useMemo)(()=>{var e,t;if(X&&!eH&&eI&&(eV||!(null==eZ?void 0:null===(t=eZ.threads)||void 0===t?void 0:null===(e=t.edges)||void 0===e?void 0:e.length)))return eV||Error(v.ir)},[eZ,eH,eV,X,eI]),[to]=(0,y.n)(eW||(null==eq?void 0:null===(a=eq.threadMessages)||void 0===a?void 0:null===(l=a.pageInfo)||void 0===l?void 0:l.hasNextPage),200),ti=(0,s.useMemo)(()=>{let e=[],t={question:null,answer:null};return B.forEach(n=>{n.role===b.uU.User?t.question=n:n.role!==b.uU.Assistant||t.answer||(t.answer=n,e.push(t),t={question:null,answer:null})}),e},[B]),td=ei?{height:"calc(100vh - ".concat(H.wt,")")}:{height:"100vh"};return X&&(ta||eG)?(0,r.jsx)(ez,{error:ta||eG,threadIdFromURL:eI}):!X&&(to||eK)?(0,r.jsxs)("div",{children:[(0,r.jsx)(eS,{}),(0,r.jsxs)("div",{className:"mx-auto mt-24 w-full space-y-10 px-4 pb-32 lg:max-w-4xl lg:px-0",children:[(0,r.jsx)(ek,{}),(0,r.jsx)(ek,{})]})]}):$&&X?(0,r.jsx)(eR.Provider,{value:{isLoading:eX,onRegenerateResponse:()=>{var e;if(!ey||eP)return;let t=B.length-1,n=t-1;if(-1===t||n<=-1)return;let r=B[n].id,s=B[t].id,l=B.slice(0,-2),a=B[n],o={...a,id:e_()},i={id:e_(),role:b.uU.Assistant,content:"",attachment:{code:null,doc:null,clientCode:null},error:void 0},d=(0,L.b)(o.content,null==eO?void 0:null===(e=eO.contextInfo)||void 0===e?void 0:e.sources),{sourceIdForCodeQuery:c,sourceIdsForDocQuery:u,searchPublic:m}=eD((0,L.G8)(d)),h=c?{sourceId:c,content:o.content}:null,x={sourceIds:u,content:o.content,searchPublic:m};en(o.id),es(i.id),Q([...l,o,i]),e2({threadId:ey,userMessageId:r,assistantMessageId:s,userMessage:{content:o.content},threadRunOptions:{generateRelevantQuestions:!0,codeQuery:h,docQuery:x,modelName:e3}})},onSubmitSearch:tl,setDevPanelOpen:ex,setConversationIdForDev:ep,isPathnameInitialized:W,enableDeveloperMode:ew.value,contextInfo:null==eO?void 0:eO.contextInfo,fetchingContextInfo:eP,onDeleteMessage:e=>{if(!ey)return;let t=B.findIndex(t=>t.id===e),n=t-1,r=B[t-1];if(-1!==t&&(null==r?void 0:r.role)===b.uU.User){if(r.id.startsWith(eE)&&e.startsWith(eE)){let e=B.slice(0,n).concat(B.slice(t+1));Q(e);return}e4(ey,r.id,e).then(e=>{if(e){f.A.error(e);return}let r=B.slice(0,n).concat(B.slice(t+1));Q(r)})}},isThreadOwner:e$,onUpdateMessage:eT},children:(0,r.jsx)("div",{className:"transition-all",style:td,children:(0,r.jsxs)(O.pO,{direction:"vertical",onLayout:e=>{(null==e?void 0:e[1])&&eb(e[1])},children:[(0,r.jsxs)(O.ee,{children:[(0,r.jsx)(eS,{threadIdFromURL:eI,streamingDone:!eX}),(0,r.jsxs)("main",{className:"h-[calc(100%-4rem)] pb-8 lg:pb-0",children:[(0,r.jsx)(P.ScrollArea,{className:"h-full",ref:el,children:(0,r.jsx)("div",{className:"mx-auto px-4 pb-32 lg:max-w-4xl lg:px-0",children:(0,r.jsx)("div",{className:"flex flex-col",children:ti.map((e,t)=>{var n,l;let a=t===ti.length-1;return e.question?(0,r.jsxs)(s.Fragment,{children:[!!e.question&&(0,r.jsx)(eA,{className:"pb-2 pt-8",message:e.question},e.question.id),!!e.answer&&(0,r.jsx)(em,{className:"pb-8 pt-2",message:e.answer,clientCode:null===(l=e.question)||void 0===l?void 0:null===(n=l.attachment)||void 0===n?void 0:n.clientCode,isLoading:eX&&a,isLastAssistantMessage:a,showRelatedQuestion:a,isDeletable:!eX&&B.length>2},e.answer.id),!a&&(0,r.jsx)(F.Z,{})]},e.question.id):null})})})}),(0,r.jsx)(Z.K,{className:(0,L.cn)("!fixed !bottom-[5.4rem] !right-4 !top-auto z-40 border-muted-foreground lg:!bottom-[2.85rem]",{hidden:eh}),container:el.current,offset:100,style:"dark"===eu?{"--background":"0 0% 12%"}:{}}),(0,r.jsxs)("div",{className:(0,L.cn)("fixed bottom-5 left-0 z-30 flex min-h-[3rem] w-full flex-col items-center gap-y-2",{"opacity-100 translate-y-0":ea,"opacity-0 translate-y-10":!ea,hidden:eh}),style:Object.assign({transition:"all 0.35s ease-out"},"dark"===eu?{"--background":"0 0% 12%"}:{}),children:[(0,r.jsxs)("div",{className:(0,L.cn)("absolute flex items-center gap-4"),style:e$?{top:"-2.5rem"}:void 0,children:[J&&(0,r.jsxs)(z.z,{className:"bg-background",variant:"outline",onClick:()=>e5(),children:[(0,r.jsx)(D.IconStop,{className:"mr-2"}),"Stop generating"]}),!J&&(0,r.jsxs)(U.u,{delayDuration:0,children:[(0,r.jsx)(U.aJ,{asChild:!0,children:(0,r.jsx)("span",{tabIndex:0,children:(0,r.jsxs)(z.z,{className:"gap-2 bg-background",variant:"outline",onClick:tr,disabled:tt,children:[tt?(0,r.jsx)(D.IconInfoCircled,{}):tn?(0,r.jsx)(D.IconCheck,{className:"text-green-600"}):(0,r.jsx)(D.IconShare,{}),"Share Link"]})})}),(0,r.jsx)(U._v,{hidden:!tt,children:"Please resolve errors in messages before sharing this thread."})]})]}),e$&&(0,r.jsx)("div",{className:(0,L.cn)("relative z-20 flex justify-center self-stretch px-4"),children:(0,r.jsx)(q.Z,{onSearch:tl,className:"min-h-[5rem] lg:max-w-4xl",placeholder:"Ask a follow up question",isFollowup:!0,isLoading:eX,contextInfo:null==eO?void 0:eO.contextInfo,fetchingContextInfo:eP,modelName:e3,onModelSelect:e=>{(0,M.Eg)(e)},isModelLoading:e8,models:e7})})]})]})]}),(0,r.jsx)(O.Dp,{className:(0,L.cn)("hidden !h-[4px] border-none bg-background shadow-[0px_-4px_4px_rgba(0,0,0,0.2)] hover:bg-blue-500 active:bg-blue-500 dark:shadow-[0px_-4px_4px_rgba(255,255,255,0.2)]",eh&&"block")}),(0,r.jsx)(O.ee,{collapsible:!0,collapsedSize:0,defaultSize:0,ref:ev,onCollapse:()=>ex(!1),className:"z-50",children:(0,r.jsx)(ej,{onClose:()=>ex(!1),value:te,isFullScreen:100===eg,onToggleFullScreen:e=>{var t;let n=eN.current;e?n=100:100===n&&(n=45),null===(t=ev.current)||void 0===t||t.resize(n),eb(n),eN.current=eg}})})]})})}):(0,r.jsx)(r.Fragment,{})}let eL=(0,j.BX)("\n mutation UpdateThreadMessage($input: UpdateMessageInput!) {\n updateThreadMessage(input: $input)\n }\n");function ez(e){let{error:t,threadIdFromURL:n}=e;return t.message===v.ir?(0,r.jsx)(V.default,{}):(0,r.jsxs)("div",{className:"flex h-screen flex-col",children:[(0,r.jsx)(eS,{threadIdFromURL:n}),(0,r.jsx)("div",{className:"flex-1",children:(0,r.jsxs)("div",{className:"flex h-full flex-col items-center justify-center gap-2",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(D.IconFileSearch,{className:"h-6 w-6"}),(0,r.jsx)("div",{className:"text-xl font-semibold",children:"Something went wrong"})]}),(0,r.jsx)("div",{children:"Failed to fetch the thread, please refresh the page or start a new thread"}),(0,r.jsxs)(a(),{href:"/",onClick:E.wh,className:(0,L.cn)((0,z.d)(),"mt-4 gap-2"),children:[(0,r.jsx)(D.IconPlus,{}),(0,r.jsx)("span",{children:"New Thread"})]})]})})]})}function eD(e){let t,n=[],r=!1;if(e){var s,l,a,o;n=(0,m.Z)((0,d.Z)([null==e?void 0:null===(s=e.codeSourceIds)||void 0===s?void 0:s[0]].concat(e.docSourceIds))),r=null!==(a=e.searchPublic)&&void 0!==a&&a,t=null!==(o=null===(l=e.codeSourceIds)||void 0===l?void 0:l[0])&&void 0!==o?o:void 0}return{sourceIdsForDocQuery:n,sourceIdForCodeQuery:t,searchPublic:r}}},69579:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return v}});var r=n(36164),s=n(42891),l=n.n(s),a=n(70652),o=n.n(a),i=n(83332),d=n(76531),c=n(57288),u=n(68172),m=n(30601),h=n(63743),x=n(31458),f=n(52569),p=n(7449);function v(){let[e]=(0,m.Hb)(),t=e?{height:"calc(100vh - ".concat(m.wt,")")}:{height:"100vh"};return(0,r.jsxs)("div",{style:t,className:"flex flex-col",children:[(0,r.jsx)(g,{}),(0,r.jsxs)("div",{className:"flex flex-1 flex-col items-center justify-center",children:[(0,r.jsx)("h2",{className:"mt-4 text-6xl font-bold tracking-tight text-foreground sm:text-7xl",children:"404"}),(0,r.jsx)("p",{className:"mt-4 text-lg text-muted-foreground",children:"Oops, it looks like the page you're looking for doesn't exist."}),(0,r.jsx)(o(),{className:(0,c.cn)("mt-6",(0,x.d)()),href:"/",children:"Home"})]})]})}function g(){return(0,r.jsxs)("header",{className:"flex h-16 items-center justify-between border-b px-4 lg:px-10",children:[(0,r.jsx)("div",{className:"flex items-center",children:(0,r.jsxs)(o(),{href:"/",children:[(0,r.jsx)(l(),{src:d.Z,alt:"logo",width:128,className:"dark:hidden"}),(0,r.jsx)(l(),{src:i.Z,alt:"logo",width:96,className:"hidden dark:block"})]})}),(0,r.jsxs)("div",{className:"flex items-center gap-6",children:[(0,r.jsx)(u.q,{children:(0,r.jsx)(h.T,{})}),(0,r.jsx)(p.Z,{showSetting:!0,children:(0,r.jsx)(f.SQ,{className:"h-10 w-10 border"})})]})]})}},24203:function(e,t,n){"use strict";n.d(t,{Z:function(){return U}});var r=n(36164),s=n(3546),l=n(21808),a=n(9010),o=n(57288),i=n(62202),d=n(29),c=n(6230);n(15812);var u=n(46836),m=n(75866),h=n(97216),x=n(48497),f=n(10155),p=n(31408),v=n(68035),g=n(16784),j=n(10345),b=n(83171);let N="mention",w=j.ZP.extend({addNodeView:()=>(0,v.fW)(b.t),renderText(e){let{node:t}=e;return"[[source:".concat(t.attrs.id,"]]")},addAttributes:()=>({id:{default:null,parseHTML:e=>e.getAttribute("data-id"),renderHTML:e=>e.id?{"data-id":e.id}:{}},label:{default:null,parseHTML:e=>e.getAttribute("data-label"),renderHTML:e=>e.label?{"data-label":e.label}:{}},kind:{default:null,parseHTML:e=>e.getAttribute("data-kind"),renderHTML:e=>e.kind?{"data-kind":e.kind}:{}}})});n(44750);var y=n(31022),C=n(45238),I=n(18500),S=n(81565);let k=(0,s.forwardRef)((e,t)=>{let{query:n,command:l,category:a}=e,{list:i,pending:d}=(0,s.useContext)(z),[c,u]=(0,s.useState)(0),m=(0,s.useMemo)(()=>{if(!(null==i?void 0:i.length))return[];let e=i.filter(e=>(0,o._q)(e.sourceKind)).map(e=>({type:"source",category:"doc",id:e.sourceId,label:e.sourceName,data:e})),t=i.filter(e=>(0,o.wO)(e.sourceKind)).map(e=>({type:"source",category:"code",id:e.sourceId,label:e.sourceName,data:e}));return"doc"===a?e:t},[a,i]),h=(0,s.useMemo)(()=>{if(!n)return m;let e=(0,C.go)(n,m,{key:e=>e.label});return e.map(e=>e.obj)},[n,m]),x=()=>{u((c+h.length-1)%h.length)},f=()=>{u((c+1)%h.length)},p=e=>{let t=h[e];t&&l({id:t.data.sourceId,label:t.label,kind:t.data.sourceKind})},v=()=>{p(c)};return(0,s.useEffect)(()=>u(0),[m]),(0,s.useImperativeHandle)(t,()=>({onKeyDown:e=>{let{event:t}=e;return"ArrowUp"===t.key?(x(),!0):"ArrowDown"===t.key?(f(),!0):"Enter"===t.key&&(v(),!0)}})),(0,r.jsx)("div",{className:"dropdown-menu max-h-[30vh] min-w-[20rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-2 text-popover-foreground shadow animate-in",children:d?(0,r.jsx)("div",{className:"px-2 py-1.5",children:(0,r.jsx)(S.IconSpinner,{})}):h.length?h.map((e,t)=>(0,r.jsx)(R,{onClick:()=>p(t),onMouseEnter:()=>u(t),title:e.label,data:e,isSelected:t===c},e.id)):(0,r.jsx)("div",{className:"px-2 py-1.5 text-sm text-muted-foreground",children:(null==m?void 0:m.length)?(0,r.jsx)("span",{children:"No matches results"}):(0,r.jsx)("span",{children:"No results"})})})});function A(e){let{kind:t}=e;switch(t){case I.ri.Doc:return(0,r.jsx)(S.IconEmojiBook,{});case I.ri.Web:return(0,r.jsx)(S.IconEmojiGlobe,{});case I.ri.Git:return(0,r.jsx)(S.IconCode,{});case I.ri.Github:return(0,r.jsx)(S.IconGitHub,{});case I.ri.Gitlab:return(0,r.jsx)(S.IconGitLab,{});default:return null}}function R(e){let{isSelected:t,data:n,...l}=e,a=(0,s.useRef)(null);return(0,s.useLayoutEffect)(()=>{if(t&&a.current){var e;null===(e=a.current)||void 0===e||e.scrollIntoView({block:"nearest",inline:"nearest"})}},[t]),(0,r.jsxs)("div",{className:(0,o.cn)("flex cursor-pointer gap-1 rounded-md px-2 py-1.5 text-sm",{"bg-accent text-accent-foreground":t}),...l,ref:a,children:[(0,r.jsx)("span",{className:"flex h-5 shrink-0 items-center",children:(0,r.jsx)(A,{kind:n.data.sourceKind})}),(0,r.jsx)("span",{className:"flex-1",children:n.label})]})}k.displayName="MetionList";let M=e=>{let t=e.getJSON(),n=[],r=0,s=e=>{var t,l;"text"===e.type?r+=(null==e?void 0:null===(t=e.text)||void 0===t?void 0:t.length)||0:"mention"===e.type&&(null==e?void 0:null===(l=e.attrs)||void 0===l?void 0:l.id)&&n.push({id:e.attrs.id,label:e.attrs.label,kind:e.attrs.kind}),e.content&&e.content.forEach(s)};return s(t),n};var E=e=>{let{disabled:t,category:n,placement:r,char:s="@",pluginKey:l}=e;return{render:()=>{let e,t;return{onStart:s=>{let l=M(s.editor);e=new v.M_(k,{props:{...s,mentions:l,category:n},editor:s.editor}),s.clientRect&&(t=(0,y.ZP)("body",{getReferenceClientRect:s.clientRect,appendTo:()=>document.body,content:e.element,showOnCreate:!0,interactive:!0,trigger:"manual",placement:r||"bottom-start",animation:"shift-away",maxWidth:"400px"}))},onUpdate(n){e.updateProps(n),n.clientRect&&t[0].setProps({getReferenceClientRect:n.clientRect})},onKeyDown(n){var r,s;return"Escape"===n.event.key?(t[0].hide(),!0):null!==(s=null===(r=e.ref)||void 0===r?void 0:r.onKeyDown(n))&&void 0!==s&&s},onExit(){t[0].destroy(),e.destroy()}}},char:s,pluginKey:l,command:e=>{var t,r,s;let{editor:l,range:a,props:i}=e;if("code"===n){!function(e,t,n){let r;let{doc:s}=e.state,l=e.state.selection.$from;s.descendants((e,t)=>!("mention"===e.type.name&&(0,o.wO)(e.attrs.kind))||(r=t,!1)),e.chain().deleteRange({from:t.from,to:t.to}).run();let a=void 0!==r,i=s.firstChild,d=a?[{type:N,attrs:n}]:[{type:N,attrs:n},{type:"text",text:" "}];if(i&&"paragraph"===i.type.name){let t=i.firstChild;if(t&&"mention"===t.type.name&&(0,o.wO)(t.attrs.kind)){let n=t.nodeSize;e.chain().deleteRange({from:1,to:1+n}).insertContentAt(1,d).focus().run()}else e.chain().insertContentAt(1,d).focus().run()}else e.chain().insertContentAt(0,d).focus().run();e.commands.focus(a?l.pos:l.pos+1)}(l,a,i);return}let d=l.view.state.selection.$to.nodeAfter,c=null==d?void 0:null===(t=d.text)||void 0===t?void 0:t.startsWith(" ");c&&(a.to+=1),l.chain().focus().insertContentAt(a,[{type:N,attrs:i},{type:"text",text:" "}]).run(),null===(s=l.view.dom.ownerDocument.defaultView)||void 0===s||null===(r=s.getSelection())||void 0===r||r.collapseToEnd()},allow:e=>{let{state:n,range:r}=e;if(t)return!1;let s=n.doc.resolve(r.from),l=n.schema.nodes[N],a=!!s.parent.type.contentMatch.matchType(l);return a}}};let _=new f.H$("mention-doc"),T=new f.H$("mention-code"),L=e=>p.hj.create({addKeyboardShortcuts(){return{Enter:t=>{let{editor:n}=t;return e(n),!0},"Shift-Enter":()=>this.editor.commands.first(e=>{let{commands:t}=e;return[()=>t.newlineInCode(),()=>t.createParagraphNear(),()=>t.liftEmptyBlock(),()=>t.splitBlock()]})}}}),z=s.createContext({}),D=(0,s.forwardRef)((e,t)=>{let{editable:n,content:a,contextInfo:i,fetchingContextInfo:d,submitting:c,onSubmit:f,placeholder:p,onBlur:j,onFocus:b,onUpdate:N,autoFocus:y,className:C,editorClassName:I,placement:S}=e,[k,A]=(0,s.useState)(!d),R=(0,g.d)(e=>{if(c)return;let t=e.getText({blockSeparator:l.rZ}).trim();t&&(null==f||f(e))}),M=(0,s.useMemo)(()=>null!=i&&!!i.sources&&i.sources.some(e=>(0,o.wO)(e.sourceKind)),[null==i?void 0:i.sources]),D=(0,s.useMemo)(()=>null!=i&&!!i.sources&&i.sources.some(e=>(0,o._q)(e.sourceKind)),[null==i?void 0:i.sources]),O=(0,v.jE)({editable:!!k&&n,immediatelyRender:!1,extensions:[u.Z,m.Z,x.Z,h.Z.configure({showOnlyWhenEditable:!1,placeholder:k?p||"Ask anything...":"Loading..."}),L(e=>{R.current(e)}),w.configure({deleteTriggerWithBackspace:!0,HTMLAttributes:{class:"mention"},suggestion:E({category:"doc",char:"@",pluginKey:_,placement:"bottom"===S?"top-start":"bottom-start",disabled:!D})}),w.configure({deleteTriggerWithBackspace:!0,HTMLAttributes:{class:"mention-code"},suggestion:E({category:"code",char:"#",pluginKey:T,placement:"bottom"===S?"top-start":"bottom-start",disabled:!M})})],editorProps:{attributes:{class:(0,o.cn)("max-h-38 prose min-h-[3.5rem] max-w-none font-sans dark:prose-invert focus:outline-none prose-p:my-0",I)}},content:a,onBlur(e){null==j||j(e)},onFocus(e){null==b||b(e)},onUpdate(e){null==N||N(e)}},[k]);return((0,s.useImperativeHandle)(t,()=>({editor:O})),(0,s.useLayoutEffect)(()=>{O&&y&&O.commands.focus()},[O]),(0,s.useEffect)(()=>{d||k||A(!0)},[d]),O)?(0,r.jsx)(z.Provider,{value:{list:null==i?void 0:i.sources,pending:!!d},children:(0,r.jsx)("div",{className:(0,o.cn)("text-area-autosize max-h-36 overflow-y-auto pr-1",C),children:(0,r.jsx)(v.kg,{editor:O})})}):null});D.displayName="PromptEditor";var O=n(31458),P=n(11208),F=n(3448);function U(e){let{onSearch:t,onModelSelect:n,modelName:a,className:i,placeholder:u,showBetaBadge:m,isLoading:h,autoFocus:x,loadingWithSpinning:f,cleanAfterSearch:p=!0,isFollowup:v,contextInfo:g,fetchingContextInfo:j,isModelLoading:b,models:N}=e,[w,y]=(0,s.useState)(!1),[C,I]=(0,s.useState)(""),k=(0,s.useRef)(null),A=()=>{var e,t;null===(t=k.current)||void 0===t||null===(e=t.editor)||void 0===e||e.commands.focus()},R=e=>{n(e),setTimeout(()=>{A()})},M=e=>{if(!e||h||b)return;let n=e.getText({blockSeparator:l.rZ}).trim();if(!n)return;let r=(0,o.b)(n,null==g?void 0:g.sources),s={...(0,o.G8)(r),modelName:a};if(t(n,s),p){var i,d;null===(d=k.current)||void 0===d||null===(i=d.editor)||void 0===i||i.chain().clearContent().focus().run(),I("")}},E=e=>{var t;let n=null===(t=k.current)||void 0===t?void 0:t.editor;n&&n.chain().focus().command(t=>{var n,r,s;let{tr:l,state:a}=t,{$from:o}=a.selection,i=0===o.parentOffset,d=null!==(s=null===(r=o.nodeBefore)||void 0===r?void 0:null===(n=r.text)||void 0===n?void 0:n.endsWith(" "))&&void 0!==s&&s;return i||d?l.insertText(e):l.insertText(" "+e),!0}).run()},{hasCodebaseSource:_,hasDocumentSource:T}=(0,s.useMemo)(()=>(0,o.xV)(null==g?void 0:g.sources),[null==g?void 0:g.sources]),L=!!(null==N?void 0:N.length);return(0,r.jsxs)("div",{className:(0,o.cn)("relative w-full overflow-hidden rounded-xl border bg-background transition-all hover:border-ring dark:border-muted-foreground/60 dark:hover:border-muted-foreground",{"border-ring dark:border-muted-foreground":w},i),onClick:()=>{A()},children:[m&&(0,r.jsx)(H,{}),(0,r.jsxs)("div",{className:(0,o.cn)("flex items-end pr-4",{"min-h-[5.5rem]":!v,"min-h-[2.5rem]":v}),children:[(0,r.jsxs)("div",{className:"mr-1 flex-1 overflow-x-hidden pl-4",children:[(0,r.jsx)(D,{editable:!0,contextInfo:g,fetchingContextInfo:j,onSubmit:M,placeholder:u||"Ask anything...",autoFocus:x,onFocus:()=>y(!0),onBlur:()=>y(!1),onUpdate:e=>{let{editor:t}=e;return I(t.getText({blockSeparator:l.rZ}).trim())},ref:k,placement:v?"bottom":"top",className:(0,o.cn)("text-area-autosize resize-none rounded-lg !border-none bg-transparent !shadow-none !outline-none !ring-0 !ring-offset-0",{"py-3":!m,"py-4":m}),editorClassName:v&&L?"min-h-[1.75rem]":"min-h-[3.5em]"}),v&&L&&(0,r.jsx)("div",{className:"-ml-2 mb-2 flex",children:(0,r.jsx)(Z,{isInitializing:b,models:N,value:a,onChange:R})})]}),(0,r.jsx)("div",{className:(0,o.cn)("mb-3 flex items-center justify-between gap-2"),children:(0,r.jsxs)("div",{className:(0,o.cn)("flex items-center justify-center rounded-lg p-1 transition-all",{"bg-primary text-primary-foreground cursor-pointer":C.length>0,"!bg-muted !text-primary !cursor-default":h||0===C.length||b,"mr-1.5":!m}),onClick:()=>{var e;return M(null===(e=k.current)||void 0===e?void 0:e.editor)},children:[f&&h&&(0,r.jsx)(S.IconSpinner,{className:"h-4 w-4"}),(!f||!h)&&(0,r.jsx)(S.IconArrowRight,{className:"h-4 w-4"})]})})]}),!v&&(0,r.jsx)("div",{className:(0,o.cn)("flex items-center gap-2 border-t bg-[#F9F6EF] py-2 pl-2 pr-4 dark:border-muted-foreground/60 dark:bg-[#333333]"),onClick:e=>e.stopPropagation(),children:(0,r.jsxs)(c.Z,{loading:b||j,delay:0,fallback:(0,r.jsx)("div",{className:"flex h-8 w-[40%] items-center",children:(0,r.jsx)(F.O,{className:"h-4 w-full"})}),children:[(0,r.jsxs)(d.u,{children:[(0,r.jsx)(d.aJ,{asChild:!0,children:(0,r.jsxs)(O.z,{variant:"ghost",className:"gap-2 px-1.5 py-1 text-foreground/70",onClick:e=>E("#"),disabled:!_,children:[(0,r.jsx)(S.IconHash,{}),"Codebase"]})}),(0,r.jsx)(d._v,{className:"max-w-md",children:"Select a codebase to chat with"})]}),(0,r.jsx)(P.Z,{orientation:"vertical",className:"h-5"}),(0,r.jsxs)(d.u,{children:[(0,r.jsx)(d.aJ,{asChild:!0,children:(0,r.jsxs)(O.z,{variant:"ghost",className:"gap-2 px-1.5 py-1 text-foreground/70",onClick:e=>E("@"),disabled:!T,children:[(0,r.jsx)(S.IconAtSign,{}),"Documents"]})}),(0,r.jsx)(d._v,{className:"max-w-md",children:"Select a document to bring into context"})]}),!!(null==N?void 0:N.length)&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(P.Z,{orientation:"vertical",className:"h-5"}),(0,r.jsx)(Z,{models:N,value:a,onChange:R})]})]})})]})}function Z(e){let{models:t,value:n,onChange:s,isInitializing:l}=e,a=e=>{s(e)};return(0,r.jsx)(c.Z,{loading:l,fallback:(0,r.jsx)("div",{className:"w-full pl-2",children:(0,r.jsx)(F.O,{className:"h-3 w-[20%]"})}),children:!!(null==t?void 0:t.length)&&(0,r.jsxs)(i.h_,{children:[(0,r.jsx)(i.$F,{asChild:!0,children:(0,r.jsxs)(O.z,{variant:"ghost",className:"gap-2 px-1.5 py-1 text-foreground/70",children:[(0,r.jsx)(S.IconBox,{}),n]})}),(0,r.jsx)(i.AW,{side:"bottom",align:"start",className:"dropdown-menu max-h-[30vh] min-w-[20rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-2 text-popover-foreground shadow animate-in",children:(0,r.jsx)(i._x,{value:n,onValueChange:s,children:t.map(e=>{let t=e===n;return(0,r.jsxs)(i.qB,{onClick:t=>{a(e),t.stopPropagation()},value:e,className:"cursor-pointer py-2 pl-3",children:[(0,r.jsx)(S.IconCheck,{className:(0,o.cn)("mr-2 shrink-0",e===n?"opacity-100":"opacity-0")}),(0,r.jsx)("span",{className:(0,o.cn)({"font-medium":t}),children:e})]},e)})})})]})})}function H(){let{theme:e}=(0,a.X)();return(0,r.jsxs)(d.u,{delayDuration:0,children:[(0,r.jsx)(d.aJ,{asChild:!0,children:(0,r.jsx)("span",{className:"absolute -right-8 top-1 mr-3 rotate-45 rounded-none border-none py-0.5 pl-6 pr-5 text-xs text-primary",style:{background:"dark"===e?"#333":"#e8e1d3"},children:"Beta"})}),(0,r.jsx)(d._v,{sideOffset:-8,className:"max-w-md",children:(0,r.jsx)("p",{children:"Please note that the answer engine is still in its early stages, and certain functionalities, such as finding the correct code context and the quality of summarizations, still have room for improvement. If you encounter an issue and believe it can be enhanced, consider sharing it in our Slack community!"})})]})}},73460:function(e,t,n){"use strict";n.d(t,{OL:function(){return v},_T:function(){return m},aR:function(){return i},f$:function(){return f},fY:function(){return h},le:function(){return g},vW:function(){return d},xo:function(){return x},yT:function(){return p}});var r=n(36164),s=n(3546),l=n(28961),a=n(57288),o=n(31458);let i=l.fC,d=l.xz,c=e=>{let{className:t,children:n,...s}=e;return(0,r.jsx)(l.h_,{className:(0,a.cn)(t),...s,children:(0,r.jsx)("div",{className:"fixed inset-0 z-50 flex items-end justify-center sm:items-center",children:n})})};c.displayName=l.h_.displayName;let u=s.forwardRef((e,t)=>{let{className:n,children:s,...o}=e;return(0,r.jsx)(l.aV,{className:(0,a.cn)("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm transition-opacity animate-in fade-in",n),...o,ref:t})});u.displayName=l.aV.displayName;let m=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,r.jsxs)(c,{children:[(0,r.jsx)(u,{}),(0,r.jsx)(l.VY,{ref:t,className:(0,a.cn)("fixed z-50 grid w-full max-w-lg scale-100 gap-4 border bg-background p-6 opacity-100 shadow-lg animate-in fade-in-90 slide-in-from-bottom-10 sm:rounded-lg sm:zoom-in-90 sm:slide-in-from-bottom-0 md:w-full",n),...s})]})});m.displayName=l.VY.displayName;let h=e=>{let{className:t,...n}=e;return(0,r.jsx)("div",{className:(0,a.cn)("flex flex-col space-y-2 text-center sm:text-left",t),...n})};h.displayName="AlertDialogHeader";let x=e=>{let{className:t,...n}=e;return(0,r.jsx)("div",{className:(0,a.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...n})};x.displayName="AlertDialogFooter";let f=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,r.jsx)(l.Dx,{ref:t,className:(0,a.cn)("text-lg font-semibold",n),...s})});f.displayName=l.Dx.displayName;let p=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,r.jsx)(l.dk,{ref:t,className:(0,a.cn)("text-sm text-muted-foreground",n),...s})});p.displayName=l.dk.displayName;let v=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,r.jsx)(l.aU,{ref:t,className:(0,a.cn)((0,o.d)(),n),...s})});v.displayName=l.aU.displayName;let g=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,r.jsx)(l.$j,{ref:t,className:(0,a.cn)((0,o.d)({variant:"outline"}),"mt-2 sm:mt-0",n),...s})});g.displayName=l.$j.displayName},98150:function(e,t,n){"use strict";n.d(t,{NI:function(){return p},Wi:function(){return u},l0:function(){return d},lX:function(){return f},pf:function(){return v},xJ:function(){return x},zG:function(){return g}});var r=n(36164),s=n(3546),l=n(74047),a=n(5493),o=n(57288),i=n(5266);let d=a.RV,c=s.createContext({}),u=e=>{let{...t}=e;return(0,r.jsx)(c.Provider,{value:{name:t.name},children:(0,r.jsx)(a.Qr,{...t})})},m=()=>{let e=s.useContext(c),t=s.useContext(h),{getFieldState:n,formState:r}=(0,a.Gc)(),l=e.name||"root",o=n(l,r);if(!r)throw Error("useFormField should be used within ");let{id:i}=t;return{id:i,name:l,formItemId:"".concat(i,"-form-item"),formDescriptionId:"".concat(i,"-form-item-description"),formMessageId:"".concat(i,"-form-item-message"),...o}},h=s.createContext({}),x=s.forwardRef((e,t)=>{let{className:n,...l}=e,a=s.useId();return(0,r.jsx)(h.Provider,{value:{id:a},children:(0,r.jsx)("div",{ref:t,className:(0,o.cn)("space-y-2",n),...l})})});x.displayName="FormItem";let f=s.forwardRef((e,t)=>{let{className:n,required:s,...l}=e,{error:a,formItemId:d}=m();return(0,r.jsx)(i._,{ref:t,className:(0,o.cn)(a&&"text-destructive",s&&'after:ml-0.5 after:text-destructive after:content-["*"]',n),htmlFor:d,...l})});f.displayName="FormLabel";let p=s.forwardRef((e,t)=>{let{...n}=e,{error:s,formItemId:a,formDescriptionId:o,formMessageId:i}=m();return(0,r.jsx)(l.g7,{ref:t,id:a,"aria-describedby":s?"".concat(o," ").concat(i):"".concat(o),"aria-invalid":!!s,...n})});p.displayName="FormControl";let v=s.forwardRef((e,t)=>{let{className:n,...s}=e,{formDescriptionId:l}=m();return(0,r.jsx)("div",{ref:t,id:l,className:(0,o.cn)("text-sm text-muted-foreground",n),...s})});v.displayName="FormDescription";let g=s.forwardRef((e,t)=>{let{className:n,children:s,...l}=e,{error:a,formMessageId:i}=m(),d=a?String(null==a?void 0:a.message):s;return d?(0,r.jsx)("p",{ref:t,id:i,className:(0,o.cn)("text-sm font-medium text-destructive",n),...l,children:d}):null});g.displayName="FormMessage"},53538:function(e,t,n){"use strict";n.d(t,{Dp:function(){return i},ee:function(){return o},pO:function(){return a}});var r=n(36164),s=n(6618),l=n(57288);let a=e=>{let{className:t,...n}=e;return(0,r.jsx)(s.eh,{className:(0,l.cn)("flex h-full w-full data-[panel-group-direction=vertical]:flex-col",t),...n})},o=s.s_,i=e=>{let{withHandle:t,className:n,...a}=e;return(0,r.jsx)(s.OT,{className:(0,l.cn)("border-bg relative flex w-px items-center justify-center bg-border after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90",n),...a,children:t&&(0,r.jsx)("div",{className:"z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border"})})}},93877:function(e,t,n){"use strict";n.d(t,{m:function(){return o}});var r=n(3546);let s=(e,t)=>{let[n,s]=(0,r.useState)(t),[l,a]=(0,r.useState)(!0);return(0,r.useEffect)(()=>{let t=localStorage.getItem(e);t&&s(JSON.parse(t)),a(!1)},[]),[n,t=>{s(t),localStorage.setItem(e,JSON.stringify(t))},l]};class l{get value(){if("undefined"!=typeof localStorage){let e=localStorage.getItem(this.storageKey);if(e)return"true"===e}return this.defaultValue}constructor(e,t,n,r){this.storageKey=e,this.title=t,this.description=n,this.defaultValue=r}}let a=new class{defineGlobalVar(){return new l(this.storageKey,this.title,this.description,this.defaultValue)}defineHook(){return()=>{let[e,t,n]=s(this.storageKey,this.defaultValue);return[{value:e,title:this.title,description:this.description,loading:n},()=>{t(!e)}]}}constructor(e,t,n,r){this.storageKey="EXP_".concat(e),this.title=t,this.description=n,this.defaultValue=null!=r&&r}}("enable_developer_mode","Developer Mode","Enable the developer mode. The features involved include the Answer Engine.",!1);a.defineGlobalVar();let o=a.defineHook()},31159:function(e,t,n){"use strict";n.d(t,{Vq:function(){return d}});var r=n(3546),s=n(21454),l=n(27257),a=n(3765),o=n(47241),i=n(17451);function d(){let{data:e,isLoading:t}=(0,s.ZP)("/v1beta/models",e=>(0,a.Z)(e,{errorHandler:()=>{throw Error("Fetch supported model failed.")}}),{shouldRetryOnError:!1}),n=(0,l.oR)(i.a,e=>e.selectedModel);return(0,r.useEffect)(()=>{if(!t){let t=function(e,t){if(!(null==t?void 0:t.length))return;let n=!!e&&t.includes(e);return n?e:t[0]}(n,null==e?void 0:e.chat);(0,o.Eg)(t)}},[t]),{isModelLoading:t,selectedModel:n,models:null==e?void 0:e.chat}}},44645:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(3546),s=n(11978);function l(){let e=(0,s.usePathname)(),t=(0,s.useRouter)(),n=(0,s.useSearchParams)(),l=(0,r.useCallback)(e=>{let t=new URLSearchParams(n);e&&Object.entries(e).forEach(e=>{let[n,r]=e;return t.set(n,r)});let r=t.toString();return r.length>0?"?".concat(r):""},[n]),a=(0,r.useCallback)(r=>{let s=function(e,t,n){var r,s;let l=null===(r=n.searchParams)||void 0===r?void 0:r.set,a=null===(s=n.searchParams)||void 0===s?void 0:s.del,o=new URLSearchParams(t);l&&Object.entries(l).forEach(e=>{let[t,n]=e;return o.set(t,n)}),a&&(Array.isArray(a)?a.forEach(e=>o.delete(e)):o.delete(a));let i=o.toString(),d=e;return i.length>0&&(d+="?".concat(i)),n.hash&&(d+="#".concat(n.hash.replace(/^#/,""))),d}((null==r?void 0:r.pathname)||e,n,r);return r.replace?t.replace(s):t.push(s),s},[e,n]);return{pathname:e,router:t,searchParams:n,getQueryString:l,updateUrlComponents:a}}},37266:function(e,t,n){"use strict";n.d(t,{CR:function(){return l},F0:function(){return o},wh:function(){return i}});var r=n(27257);let s={homePage:void 0},l=(0,r.Ue)()(()=>({...s})),a=l.setState,o=e=>a(()=>({homePage:e})),i=()=>a(()=>({homePage:void 0}))},15812:function(){},76531:function(e,t){"use strict";t.Z={src:"/_next/static/media/logo.526f7cf9.png",height:184,width:607,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAYAAABllJ3tAAAASklEQVR4nGPsKQh1f/HshV/PqtNtagrC8p++//rDAgQM//9/ZWJifMZYnRqg9+bVq6iZ51+1SP/5ovH//z8eRgbGbwyMjPxA9n0AMi8g2L1xUkUAAAAASUVORK5CYII=",blurWidth:8,blurHeight:2}}},function(e){e.O(0,[8415,7565,3078,753,7430,55,7812,4007,9643,4752,3449,2578,8511,240,2287,4421,1454,7070,5669,8961,4546,6805,9275,9148,4405,1522,1266,440,9427,6265,5019,59,7288,1565,4656,9634,445,3375,5289,1744],function(){return e(e.s=67802)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/chunks/webpack-78f0fb92ffb2b685.js b/ee/tabby-webserver/ui/_next/static/chunks/webpack-bee28b28955a7639.js similarity index 97% rename from ee/tabby-webserver/ui/_next/static/chunks/webpack-78f0fb92ffb2b685.js rename to ee/tabby-webserver/ui/_next/static/chunks/webpack-bee28b28955a7639.js index 29020b2004ef..e7773cdbf80e 100644 --- a/ee/tabby-webserver/ui/_next/static/chunks/webpack-78f0fb92ffb2b685.js +++ b/ee/tabby-webserver/ui/_next/static/chunks/webpack-bee28b28955a7639.js @@ -1 +1 @@ -!function(){"use strict";var e,t,n,r,o,u,i,c,a,f,d,l,s={},b={};function p(e){var t=b[e];if(void 0!==t)return t.exports;var n=b[e]={id:e,loaded:!1,exports:{}},r=!0;try{s[e].call(n.exports,n,n.exports,p),r=!1}finally{r&&delete b[e]}return n.loaded=!0,n.exports}p.m=s,p.amdD=function(){throw Error("define cannot be used indirect")},p.amdO={},e=[],p.O=function(t,n,r,o){if(n){o=o||0;for(var u=e.length;u>0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[n,r,o];return}for(var i=1/0,u=0;u=o&&Object.keys(p.O).every(function(e){return p.O[e](n[a])})?n.splice(a--,1):(c=!1,o0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[n,r,o];return}for(var i=1/0,u=0;u=o&&Object.keys(p.O).every(function(e){return p.O[e](n[a])})?n.splice(a--,1):(c=!1,oli):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-left-width:.25rem;border-left-color:var(--tw-prose-quote-borders);quotes:"\201C""\201D""\2018""\2019";margin-top:1.6em;margin-bottom:1.6em;padding-left:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows)/10%),0 3px 0 rgb(var(--tw-prose-kbd-shadows)/10%);font-size:.875em;border-radius:.3125rem;padding:.1875em .375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding:.8571429em 1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;text-align:left;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-right:.5714286em;padding-bottom:.5714286em;padding-left:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body:#374151;--tw-prose-headings:#111827;--tw-prose-lead:#4b5563;--tw-prose-links:#111827;--tw-prose-bold:#111827;--tw-prose-counters:#6b7280;--tw-prose-bullets:#d1d5db;--tw-prose-hr:#e5e7eb;--tw-prose-quotes:#111827;--tw-prose-quote-borders:#e5e7eb;--tw-prose-captions:#6b7280;--tw-prose-kbd:#111827;--tw-prose-kbd-shadows:17 24 39;--tw-prose-code:#111827;--tw-prose-pre-code:#e5e7eb;--tw-prose-pre-bg:#1f2937;--tw-prose-th-borders:#d1d5db;--tw-prose-td-borders:#e5e7eb;--tw-prose-invert-body:#d1d5db;--tw-prose-invert-headings:#fff;--tw-prose-invert-lead:#9ca3af;--tw-prose-invert-links:#fff;--tw-prose-invert-bold:#fff;--tw-prose-invert-counters:#9ca3af;--tw-prose-invert-bullets:#4b5563;--tw-prose-invert-hr:#374151;--tw-prose-invert-quotes:#f3f4f6;--tw-prose-invert-quote-borders:#374151;--tw-prose-invert-captions:#9ca3af;--tw-prose-invert-kbd:#fff;--tw-prose-invert-kbd-shadows:255 255 255;--tw-prose-invert-code:#fff;--tw-prose-invert-pre-code:#d1d5db;--tw-prose-invert-pre-bg:rgba(0,0,0,.5);--tw-prose-invert-th-borders:#4b5563;--tw-prose-invert-td-borders:#374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-left:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.\!pointer-events-auto{pointer-events:auto!important}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.\!fixed{position:fixed!important}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.-inset-x-3{left:-.75rem;right:-.75rem}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.\!bottom-\[5\.4rem\]{bottom:5.4rem!important}.\!right-4{right:1rem!important}.\!top-auto{top:auto!important}.-left-2{left:-.5rem}.-right-8{right:-2rem}.-top-2{top:-.5rem}.-top-2\.5{top:-.625rem}.-top-px{top:-1px}.bottom-0{bottom:0}.bottom-1{bottom:.25rem}.bottom-10{bottom:2.5rem}.bottom-5{bottom:1.25rem}.left-0{left:0}.left-1{left:.25rem}.left-2{left:.5rem}.left-3{left:.75rem}.left-\[50\%\]{left:50%}.right-0{right:0}.right-1{right:.25rem}.right-2{right:.5rem}.right-3{right:.75rem}.right-4{right:1rem}.top-0{top:0}.top-0\.5{top:.125rem}.top-1{top:.25rem}.top-1\.5{top:.375rem}.top-16{top:4rem}.top-2{top:.5rem}.top-2\.5{top:.625rem}.top-3{top:.75rem}.top-3\.5{top:.875rem}.top-4{top:1rem}.top-9{top:2.25rem}.top-\[20vh\]{top:20vh}.top-\[50\%\]{top:50%}.-z-10{z-index:-10}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.-m-4{margin:-1rem}.m-0{margin:0}.m-1{margin:.25rem}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.-mx-2{margin-left:-.5rem;margin-right:-.5rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-1\.5{margin-left:.375rem;margin-right:.375rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-3\.5{margin-left:.875rem;margin-right:.875rem}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-0{margin-top:0;margin-bottom:0}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-3{margin-top:.75rem;margin-bottom:.75rem}.my-4{margin-top:1rem;margin-bottom:1rem}.-mb-2{margin-bottom:-.5rem}.-ml-1{margin-left:-.25rem}.-ml-1\.5{margin-left:-.375rem}.-ml-2{margin-left:-.5rem}.-ml-2\.5{margin-left:-.625rem}.-mt-0{margin-top:0}.-mt-0\.5{margin-top:-.125rem}.mb-0{margin-bottom:0}.mb-0\.5{margin-bottom:.125rem}.mb-1{margin-bottom:.25rem}.mb-1\.5{margin-bottom:.375rem}.mb-10{margin-bottom:2.5rem}.mb-2{margin-bottom:.5rem}.mb-2\.5{margin-bottom:.625rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-7{margin-bottom:1.75rem}.mb-8{margin-bottom:2rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-auto{margin-left:auto}.mr-0{margin-right:0}.mr-0\.5{margin-right:.125rem}.mr-1{margin-right:.25rem}.mr-1\.5{margin-right:.375rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mr-5{margin-right:1.25rem}.mr-\[0\.45rem\]{margin-right:.45rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-24{margin-top:6rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.line-clamp-1{-webkit-line-clamp:1}.line-clamp-1,.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical}.line-clamp-2{-webkit-line-clamp:2}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}.block{display:block}.inline-block{display:inline-block}.\!inline{display:inline!important}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.aspect-square{aspect-ratio:1/1}.\!h-\[4px\]{height:4px!important}.h-0{height:0}.h-1{height:.25rem}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-32{height:8rem}.h-4{height:1rem}.h-40{height:10rem}.h-48{height:12rem}.h-5{height:1.25rem}.h-56{height:14rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[100px\]{height:100px}.h-\[152px\]{height:152px}.h-\[180px\]{height:180px}.h-\[1px\]{height:1px}.h-\[250px\]{height:250px}.h-\[3\.375rem\]{height:3.375rem}.h-\[72vh\]{height:72vh}.h-\[calc\(100\%-4rem\)\]{height:calc(100% - 4rem)}.h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-36{max-height:9rem}.max-h-60{max-height:15rem}.max-h-\[286px\]{max-height:286px}.max-h-\[300px\]{max-height:300px}.max-h-\[30vh\]{max-height:30vh}.max-h-\[50vh\]{max-height:50vh}.max-h-\[60vh\]{max-height:60vh}.max-h-\[70vh\]{max-height:70vh}.min-h-0{min-height:0}.min-h-\[1\.75rem\]{min-height:1.75rem}.min-h-\[160px\]{min-height:160px}.min-h-\[2\.5rem\]{min-height:2.5rem}.min-h-\[200px\]{min-height:200px}.min-h-\[2rem\]{min-height:2rem}.min-h-\[3\.5em\]{min-height:3.5em}.min-h-\[3\.5rem\]{min-height:3.5rem}.min-h-\[30\.5rem\]{min-height:30.5rem}.min-h-\[30vh\]{min-height:30vh}.min-h-\[3rem\]{min-height:3rem}.min-h-\[5\.5rem\]{min-height:5.5rem}.min-h-\[5rem\]{min-height:5rem}.min-h-\[60px\]{min-height:60px}.min-h-\[80px\]{min-height:80px}.min-h-\[theme\(space\.9\)\]{min-height:2.25rem}.min-h-screen{min-height:100vh}.w-1{width:.25rem}.w-1\.5{width:.375rem}.w-1\/2{width:50%}.w-1\/3{width:33.333333%}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-20{width:5rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-32{width:8rem}.w-4{width:1rem}.w-40{width:10rem}.w-48{width:12rem}.w-5{width:1.25rem}.w-56{width:14rem}.w-6{width:1.5rem}.w-60{width:15rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-80{width:20rem}.w-9{width:2.25rem}.w-96{width:24rem}.w-\[--sidebar-width\]{width:var(--sidebar-width)}.w-\[100px\]{width:100px}.w-\[10rem\]{width:10rem}.w-\[128px\]{width:128px}.w-\[140px\]{width:140px}.w-\[15\%\]{width:15%}.w-\[180px\]{width:180px}.w-\[190px\]{width:190px}.w-\[1px\]{width:1px}.w-\[20\%\]{width:20%}.w-\[200px\]{width:200px}.w-\[20vw\]{width:20vw}.w-\[240px\]{width:240px}.w-\[25\%\]{width:25%}.w-\[268px\]{width:268px}.w-\[30\%\]{width:30%}.w-\[35\%\]{width:35%}.w-\[350px\]{width:350px}.w-\[40\%\]{width:40%}.w-\[400px\]{width:400px}.w-\[45\%\]{width:45%}.w-\[60\%\]{width:60%}.w-\[600px\]{width:600px}.w-\[60px\]{width:60px}.w-\[60vw\]{width:60vw}.w-\[68px\]{width:68px}.w-\[70\%\]{width:70%}.w-\[70px\]{width:70px}.w-\[80\%\]{width:80%}.w-\[80vw\]{width:80vw}.w-\[calc\(100vw-2rem\)\]{width:calc(100vw - 2rem)}.w-\[theme\(space\.48\)\]{width:12rem}.w-\[var\(--radix-popover-trigger-width\)\]{width:var(--radix-popover-trigger-width)}.w-auto{width:auto}.w-full{width:100%}.w-px{width:1px}.w-screen{width:100vw}.min-w-0{min-width:0}.min-w-\[10rem\]{min-width:10rem}.min-w-\[20rem\]{min-width:20rem}.min-w-\[2rem\]{min-width:2rem}.min-w-\[300px\]{min-width:300px}.min-w-\[8rem\]{min-width:8rem}.min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.min-w-max{min-width:-moz-max-content;min-width:max-content}.max-w-2xl{max-width:42rem}.max-w-\[--skeleton-width\]{max-width:var(--skeleton-width)}.max-w-\[200px\]{max-width:200px}.max-w-\[300px\]{max-width:300px}.max-w-\[320px\]{max-width:320px}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-none{max-width:none}.max-w-xl{max-width:36rem}.flex-1{flex:1 1 0%}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.table-fixed{table-layout:fixed}.caption-bottom{caption-side:bottom}.border-collapse{border-collapse:collapse}.-translate-x-1\/2{--tw-translate-x:-50%}.-translate-x-1\/2,.-translate-x-px{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-px{--tw-translate-x:-1px}.translate-x-\[-50\%\]{--tw-translate-x:-50%}.translate-x-\[-50\%\],.translate-x-px{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-px{--tw-translate-x:1px}.translate-y-0{--tw-translate-y:0px}.translate-y-0,.translate-y-1{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-1{--tw-translate-y:0.25rem}.translate-y-10{--tw-translate-y:2.5rem}.translate-y-10,.translate-y-\[-50\%\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[-50\%\]{--tw-translate-y:-50%}.-rotate-90{--tw-rotate:-90deg}.-rotate-90,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.rotate-45{--tw-rotate:45deg}.rotate-45,.rotate-90{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate:90deg}.scale-100{--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.\!cursor-default{cursor:default!important}.cursor-auto{cursor:auto}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.cursor-text{cursor:text}.touch-none{touch-action:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.scroll-m-20{scroll-margin:5rem}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.flex-nowrap{flex-wrap:nowrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0{gap:0}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.gap-x-1\.5{-moz-column-gap:.375rem;column-gap:.375rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.gap-x-3{-moz-column-gap:.75rem;column-gap:.75rem}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.gap-x-5{-moz-column-gap:1.25rem;column-gap:1.25rem}.gap-x-6{-moz-column-gap:1.5rem;column-gap:1.5rem}.gap-y-0{row-gap:0}.gap-y-0\.5{row-gap:.125rem}.gap-y-1{row-gap:.25rem}.gap-y-1\.5{row-gap:.375rem}.gap-y-2{row-gap:.5rem}.gap-y-3{row-gap:.75rem}.gap-y-5{row-gap:1.25rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-10>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(2.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2.5rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.self-start{align-self:flex-start}.self-center{align-self:center}.self-stretch{align-self:stretch}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-hidden{overflow-y:hidden}.overflow-y-scroll{overflow-y:scroll}.truncate{overflow:hidden;white-space:nowrap}.text-ellipsis,.truncate{text-overflow:ellipsis}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-none{border-radius:0}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-xl{border-radius:.75rem}.rounded-b-lg{border-bottom-right-radius:var(--radius);border-bottom-left-radius:var(--radius)}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-t-lg{border-top-left-radius:var(--radius);border-top-right-radius:var(--radius)}.border{border-width:1px}.border-0{border-width:0}.border-2{border-width:2px}.border-4{border-width:4px}.border-\[2px\]{border-width:2px}.border-b{border-bottom-width:1px}.border-b-0{border-bottom-width:0}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-t-0{border-top-width:0}.border-dashed{border-style:dashed}.\!border-none{border-style:none!important}.border-none{border-style:none}.border-\[\#b3ada0\]{--tw-border-opacity:1;border-color:rgb(179 173 160/var(--tw-border-opacity))}.border-destructive\/50{border-color:hsl(var(--destructive)/.5)}.border-foreground{border-color:hsl(var(--foreground))}.border-input{border-color:hsl(var(--input))}.border-muted-foreground{border-color:hsl(var(--muted-foreground))}.border-primary{border-color:hsl(var(--primary))}.border-ring{border-color:hsl(var(--ring))}.border-secondary-foreground\/60{border-color:hsl(var(--secondary-foreground)/.6)}.border-sidebar-border{border-color:hsl(var(--border))}.border-transparent{border-color:transparent}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.border-l-border{border-left-color:hsl(var(--border))}.border-l-transparent{border-left-color:transparent}.border-t-transparent{border-top-color:transparent}.border-opacity-30{--tw-border-opacity:0.3}.\!bg-background{background-color:hsl(var(--background))!important}.\!bg-muted{background-color:hsl(var(--muted))!important}.\!bg-muted\/80{background-color:hsl(var(--muted)/.8)!important}.bg-\[\#F9F6EF\]{--tw-bg-opacity:1;background-color:rgb(249 246 239/var(--tw-bg-opacity))}.bg-\[\#FBF5ED\]{--tw-bg-opacity:1;background-color:rgb(251 245 237/var(--tw-bg-opacity))}.bg-\[\#FEFCF8\]{--tw-bg-opacity:1;background-color:rgb(254 252 248/var(--tw-bg-opacity))}.bg-\[\#e8e1d3\]{--tw-bg-opacity:1;background-color:rgb(232 225 211/var(--tw-bg-opacity))}.bg-\[hsl\(var\(--mark-bg\)\)\]{background-color:hsl(var(--mark-bg))}.bg-accent{background-color:hsl(var(--accent))}.bg-background{background-color:hsl(var(--background))}.bg-background\/60{background-color:hsl(var(--background)/.6)}.bg-background\/80{background-color:hsl(var(--background)/.8)}.bg-background\/90{background-color:hsl(var(--background)/.9)}.bg-black\/80{background-color:rgba(0,0,0,.8)}.bg-blue-600{--tw-bg-opacity:1;background-color:rgb(37 99 235/var(--tw-bg-opacity))}.bg-border{background-color:hsl(var(--border))}.bg-border\/40{background-color:hsl(var(--border)/.4)}.bg-card{background-color:hsl(var(--card))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-gray-50{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.bg-green-600{--tw-bg-opacity:1;background-color:rgb(22 163 74/var(--tw-bg-opacity))}.bg-input\/40{background-color:hsl(var(--input)/.4)}.bg-muted{background-color:hsl(var(--muted))}.bg-muted\/30{background-color:hsl(var(--muted)/.3)}.bg-muted\/50{background-color:hsl(var(--muted)/.5)}.bg-popover{background-color:hsl(var(--popover))}.bg-primary{background-color:hsl(var(--primary))}.bg-primary-foreground\/30{background-color:hsl(var(--primary-foreground)/.3)}.bg-red-400{--tw-bg-opacity:1;background-color:rgb(248 113 113/var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity:1;background-color:rgb(220 38 38/var(--tw-bg-opacity))}.bg-secondary{background-color:hsl(var(--secondary))}.bg-sidebar{background-color:hsl(var(--background))}.bg-sidebar-border{background-color:hsl(var(--border))}.bg-successful{background-color:hsl(var(--successful))}.bg-transparent{background-color:transparent}.bg-zinc-800{--tw-bg-opacity:1;background-color:rgb(39 39 42/var(--tw-bg-opacity))}.bg-zinc-950{--tw-bg-opacity:1;background-color:rgb(9 9 11/var(--tw-bg-opacity))}.fill-current{fill:currentColor}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-\[1px\]{padding:1px}.px-0{padding-left:0;padding-right:0}.px-0\.5{padding-left:.125rem;padding-right:.125rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.px-\[1\.125rem\]{padding-left:1.125rem;padding-right:1.125rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-3\.5{padding-top:.875rem;padding-bottom:.875rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-40{padding-top:10rem;padding-bottom:10rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.py-\[1\.3rem\]{padding-top:1.3rem;padding-bottom:1.3rem}.py-\[1px\]{padding-top:1px;padding-bottom:1px}.pb-0{padding-bottom:0}.pb-0\.5{padding-bottom:.125rem}.pb-1{padding-bottom:.25rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-32{padding-bottom:8rem}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pb-8{padding-bottom:2rem}.pb-\[200px\]{padding-bottom:200px}.pl-0{padding-left:0}.pl-1{padding-left:.25rem}.pl-12{padding-left:3rem}.pl-2{padding-left:.5rem}.pl-2\.5{padding-left:.625rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pl-6{padding-left:1.5rem}.pl-8{padding-left:2rem}.pr-0{padding-right:0}.pr-1{padding-right:.25rem}.pr-2{padding-right:.5rem}.pr-2\.5{padding-right:.625rem}.pr-24{padding-right:6rem}.pr-4{padding-right:1rem}.pr-5{padding-right:1.25rem}.pt-0{padding-top:0}.pt-0\.5{padding-top:.125rem}.pt-1{padding-top:.25rem}.pt-16{padding-top:4rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-end{text-align:end}.align-middle{vertical-align:middle}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:var(--font-sans),ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-6xl{font-size:3.75rem;line-height:1}.text-\[0\.8rem\]{font-size:.8rem}.text-\[0\.9rem\]{font-size:.9rem}.text-\[10px\]{font-size:10px}.text-\[1rem\],.text-base{font-size:1rem}.text-base{line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-4{line-height:1rem}.leading-5{line-height:1.25rem}.leading-7{line-height:1.75rem}.leading-8{line-height:2rem}.leading-none{line-height:1}.leading-normal{line-height:1.5}.tracking-normal{letter-spacing:0}.tracking-tight{letter-spacing:-.025em}.tracking-widest{letter-spacing:.1em}.\!text-muted-foreground{color:hsl(var(--muted-foreground))!important}.\!text-primary{color:hsl(var(--primary))!important}.text-\[\#030302\]{--tw-text-opacity:1;color:rgb(3 3 2/var(--tw-text-opacity))}.text-accent-foreground{color:hsl(var(--accent-foreground))}.text-card-foreground{color:hsl(var(--card-foreground))}.text-card-foreground\/70{color:hsl(var(--card-foreground)/.7)}.text-current{color:currentColor}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-foreground{color:hsl(var(--foreground))}.text-foreground\/70{color:hsl(var(--foreground)/.7)}.text-green-500{--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity))}.text-green-600{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity))}.text-link{color:hsl(var(--link))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.text-secondary-foreground\/60{color:hsl(var(--secondary-foreground)/.6)}.text-sidebar-foreground{color:hsl(var(--foreground))}.text-sidebar-foreground\/70{color:hsl(var(--foreground)/.7)}.text-successful-foreground{color:hsl(var(--successful-foreground))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.text-yellow-600{--tw-text-opacity:1;color:rgb(202 138 4/var(--tw-text-opacity))}.text-zinc-100{--tw-text-opacity:1;color:rgb(244 244 245/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.line-through{text-decoration-line:line-through}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.\!placeholder-foreground::-moz-placeholder{color:hsl(var(--foreground))!important}.\!placeholder-foreground::placeholder{color:hsl(var(--foreground))!important}.\!opacity-100{opacity:1!important}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-80{opacity:.8}.\!shadow-none{--tw-shadow:0 0 #0000!important;--tw-shadow-colored:0 0 #0000!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-2xl{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px rgba(0,0,0,.25);--tw-shadow-colored:0 25px 50px -12px var(--tw-shadow-color)}.shadow-\[0_0_0_1px_hsl\(var\(--sidebar-border\)\)\]{--tw-shadow:0 0 0 1px hsl(var(--sidebar-border));--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-\[0px_-4px_4px_rgba\(0\2c 0\2c 0\2c 0\.2\)\]{--tw-shadow:0px -4px 4px rgba(0,0,0,.2);--tw-shadow-colored:0px -4px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-\[0px_3px_8px_rgba\(0\2c 0\2c 0\2c 0\.3\)\]{--tw-shadow:0px 3px 8px rgba(0,0,0,.3);--tw-shadow-colored:0px 3px 8px var(--tw-shadow-color)}.shadow-\[0px_3px_8px_rgba\(0\2c 0\2c 0\2c 0\.3\)\],.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.shadow-md,.shadow-none{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.\!outline-none{outline:2px solid transparent!important;outline-offset:2px!important}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.outline-ring{outline-color:hsl(var(--ring))}.\!ring-0{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.ring-0{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-sidebar-ring{--tw-ring-color:hsl(var(--ring))}.\!ring-offset-0{--tw-ring-offset-width:0px!important}.ring-offset-background{--tw-ring-offset-color:hsl(var(--background))}.blur{--tw-blur:blur(8px)}.blur,.invert{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.invert{--tw-invert:invert(100%)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur:blur(4px)}.backdrop-blur-sm,.backdrop-blur-xl{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-blur-xl{--tw-backdrop-blur:blur(24px)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[height\2c opacity\]{transition-property:height,opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[left\2c right\2c width\2c top\]{transition-property:left,right,width,top;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[margin\2c opa\]{transition-property:margin,opa;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[opacity\2c height\]{transition-property:opacity,height;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[width\2c height\2c padding\]{transition-property:width,height,padding;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[width\]{transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-linear{transition-timing-function:linear}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0) scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1)) rotate(var(--tw-enter-rotate,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0) scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1)) rotate(var(--tw-exit-rotate,0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.fade-in{--tw-enter-opacity:0}.fade-in-50{--tw-enter-opacity:0.5}.fade-in-80{--tw-enter-opacity:0.8}.fade-in-90{--tw-enter-opacity:0.9}.slide-in-from-bottom-10{--tw-enter-translate-y:2.5rem}.duration-200{animation-duration:.2s}.duration-300{animation-duration:.3s}.duration-500{animation-duration:.5s}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.ease-linear{animation-timing-function:linear}.ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}.running{animation-play-state:running}.prose-full-width{max-width:none!important}.prose{overflow-wrap:anywhere}.dialog-without-close-btn>button{display:none}:is(.dark .dark\:prose-invert){--tw-prose-body:var(--tw-prose-invert-body);--tw-prose-headings:var(--tw-prose-invert-headings);--tw-prose-lead:var(--tw-prose-invert-lead);--tw-prose-links:var(--tw-prose-invert-links);--tw-prose-bold:var(--tw-prose-invert-bold);--tw-prose-counters:var(--tw-prose-invert-counters);--tw-prose-bullets:var(--tw-prose-invert-bullets);--tw-prose-hr:var(--tw-prose-invert-hr);--tw-prose-quotes:var(--tw-prose-invert-quotes);--tw-prose-quote-borders:var(--tw-prose-invert-quote-borders);--tw-prose-captions:var(--tw-prose-invert-captions);--tw-prose-kbd:var(--tw-prose-invert-kbd);--tw-prose-kbd-shadows:var(--tw-prose-invert-kbd-shadows);--tw-prose-code:var(--tw-prose-invert-code);--tw-prose-pre-code:var(--tw-prose-invert-pre-code);--tw-prose-pre-bg:var(--tw-prose-invert-pre-bg);--tw-prose-th-borders:var(--tw-prose-invert-th-borders);--tw-prose-td-borders:var(--tw-prose-invert-td-borders)}.file\:border-0::file-selector-button{border-width:0}.file\:bg-transparent::file-selector-button{background-color:transparent}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.placeholder\:translate-y-\[10\%\]::-moz-placeholder{--tw-translate-y:10%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.placeholder\:translate-y-\[10\%\]::placeholder{--tw-translate-y:10%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.placeholder\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:-inset-2:after{content:var(--tw-content);inset:-.5rem}.after\:inset-y-0:after{content:var(--tw-content);top:0;bottom:0}.after\:left-1\/2:after{content:var(--tw-content);left:50%}.after\:ml-0:after{content:var(--tw-content);margin-left:0}.after\:ml-0\.5:after{content:var(--tw-content);margin-left:.125rem}.after\:w-1:after{content:var(--tw-content);width:.25rem}.after\:w-\[2px\]:after{content:var(--tw-content);width:2px}.after\:-translate-x-1\/2:after{content:var(--tw-content);--tw-translate-x:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.after\:text-destructive:after{content:var(--tw-content);color:hsl(var(--destructive))}.after\:content-\[\"\*\"\]:after{--tw-content:"*";content:var(--tw-content)}.first\:mt-0:first-child{margin-top:0}.last\:mb-0:last-child{margin-bottom:0}.focus-within\:relative:focus-within{position:relative}.focus-within\:z-20:focus-within{z-index:20}.focus-within\:outline-none:focus-within{outline:2px solid transparent;outline-offset:2px}.hover\:border-ring:hover{border-color:hsl(var(--ring))}.hover\:bg-\[\#3C382F\]:hover{--tw-bg-opacity:1;background-color:rgb(60 56 47/var(--tw-bg-opacity))}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-background:hover{background-color:hsl(var(--background))}.hover\:bg-blue-500:hover{--tw-bg-opacity:1;background-color:rgb(59 130 246/var(--tw-bg-opacity))}.hover\:bg-border:hover{background-color:hsl(var(--border))}.hover\:bg-card\/60:hover{background-color:hsl(var(--card)/.6)}.hover\:bg-destructive\/80:hover{background-color:hsl(var(--destructive)/.8)}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive)/.9)}.hover\:bg-muted:hover{background-color:hsl(var(--muted))}.hover\:bg-muted\/50:hover{background-color:hsl(var(--muted)/.5)}.hover\:bg-primary:hover{background-color:hsl(var(--primary))}.hover\:bg-primary\/10:hover{background-color:hsl(var(--primary)/.1)}.hover\:bg-primary\/80:hover{background-color:hsl(var(--primary)/.8)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary)/.9)}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary)/.8)}.hover\:bg-sidebar-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-successful\/80:hover{background-color:hsl(var(--successful)/.8)}.hover\:text-\[\#F4F4F5\]:hover{--tw-text-opacity:1;color:rgb(244 244 245/var(--tw-text-opacity))}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:text-destructive-foreground:hover{color:hsl(var(--destructive-foreground))}.hover\:text-destructive\/20:hover{color:hsl(var(--destructive)/.2)}.hover\:text-foreground\/50:hover{color:hsl(var(--foreground)/.5)}.hover\:text-muted-foreground:hover{color:hsl(var(--muted-foreground))}.hover\:text-popover-foreground:hover{color:hsl(var(--popover-foreground))}.hover\:text-primary:hover{color:hsl(var(--primary))}.hover\:text-primary-foreground:hover{color:hsl(var(--primary-foreground))}.hover\:text-sidebar-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.hover\:opacity-60:hover{opacity:.6}.hover\:opacity-70:hover{opacity:.7}.hover\:shadow-\[0_0_0_1px_hsl\(var\(--sidebar-accent\)\)\]:hover{--tw-shadow:0 0 0 1px hsl(var(--sidebar-accent));--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.hover\:after\:bg-sidebar-border:hover:after{content:var(--tw-content);background-color:hsl(var(--border))}.focus\:bg-accent:focus{background-color:hsl(var(--accent))}.focus\:bg-primary:focus{background-color:hsl(var(--primary))}.focus\:text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus\:text-primary-foreground:focus{color:hsl(var(--primary-foreground))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\:ring-ring:focus{--tw-ring-color:hsl(var(--ring))}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-0:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-1:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:hsl(var(--ring))}.focus-visible\:ring-sidebar-ring:focus-visible{--tw-ring-color:hsl(var(--ring))}.focus-visible\:ring-slate-700:focus-visible{--tw-ring-opacity:1;--tw-ring-color:rgb(51 65 85/var(--tw-ring-opacity))}.focus-visible\:ring-offset-0:focus-visible{--tw-ring-offset-width:0px}.focus-visible\:ring-offset-1:focus-visible{--tw-ring-offset-width:1px}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px}.focus-visible\:ring-offset-background:focus-visible{--tw-ring-offset-color:hsl(var(--background))}.active\:bg-blue-500:active{--tw-bg-opacity:1;background-color:rgb(59 130 246/var(--tw-bg-opacity))}.active\:bg-sidebar-accent:active{background-color:hsl(var(--accent))}.active\:text-sidebar-accent-foreground:active{color:hsl(var(--accent-foreground))}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.group:focus-within .group-focus-within\:flex{display:flex}.group:focus-within .group-focus-within\:pr-12{padding-right:3rem}.group:focus-within .group-focus-within\:pr-20{padding-right:5rem}.group\/menu-item:focus-within .group-focus-within\/menu-item\:opacity-100{opacity:1}.group:hover .group-hover\:flex{display:flex}.group\/filetree:hover .group-hover\/filetree\:border-border{border-color:hsl(var(--border))}.group:hover .group-hover\:pr-12{padding-right:3rem}.group:hover .group-hover\:pr-20{padding-right:5rem}.group\/symbol:hover .group-hover\/symbol\:text-primary{color:hsl(var(--primary))}.group:hover .group-hover\:opacity-100,.group\/menu-item:hover .group-hover\/menu-item\:opacity-100{opacity:1}.group.toaster .group-\[\.toaster\]\:border-border{border-color:hsl(var(--border))}.group.toast .group-\[\.toast\]\:bg-muted{background-color:hsl(var(--muted))}.group.toast .group-\[\.toast\]\:bg-primary{background-color:hsl(var(--primary))}.group.toaster .group-\[\.toaster\]\:bg-background{background-color:hsl(var(--background))}.group.toast .group-\[\.toast\]\:text-muted-foreground{color:hsl(var(--muted-foreground))}.group.toast .group-\[\.toast\]\:text-primary-foreground{color:hsl(var(--primary-foreground))}.group.toaster .group-\[\.toaster\]\:text-foreground{color:hsl(var(--foreground))}.group.toaster .group-\[\.toaster\]\:shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.peer\/menu-button:hover~.peer-hover\/menu-button\:text-sidebar-accent-foreground{color:hsl(var(--accent-foreground))}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.aria-disabled\:pointer-events-none[aria-disabled=true]{pointer-events:none}.aria-disabled\:opacity-50[aria-disabled=true]{opacity:.5}.aria-selected\:bg-accent[aria-selected=true]{background-color:hsl(var(--accent))}.aria-selected\:bg-accent\/50[aria-selected=true]{background-color:hsl(var(--accent)/.5)}.aria-selected\:text-accent-foreground[aria-selected=true]{color:hsl(var(--accent-foreground))}.aria-selected\:text-muted-foreground[aria-selected=true]{color:hsl(var(--muted-foreground))}.aria-selected\:opacity-100[aria-selected=true]{opacity:1}.aria-selected\:opacity-30[aria-selected=true]{opacity:.3}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[panel-group-direction\=vertical\]\:h-px[data-panel-group-direction=vertical]{height:1px}.data-\[panel-group-direction\=vertical\]\:w-full[data-panel-group-direction=vertical]{width:100%}.data-\[state\=checked\]\:translate-x-5[data-state=checked]{--tw-translate-x:1.25rem}.data-\[state\=checked\]\:translate-x-5[data-state=checked],.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked]{--tw-translate-x:0px}@keyframes accordion-up{0%{height:var(--radix-accordion-content-height)}to{height:0}}.data-\[state\=closed\]\:animate-accordion-up[data-state=closed]{animation:accordion-up .2s ease-out}@keyframes accordion-down{0%{height:0}to{height:var(--radix-accordion-content-height)}}.data-\[state\=open\]\:animate-accordion-down[data-state=open]{animation:accordion-down .2s ease-out}.data-\[panel-group-direction\=vertical\]\:flex-col[data-panel-group-direction=vertical]{flex-direction:column}.data-\[active\=true\]\:bg-sidebar-accent[data-active=true]{background-color:hsl(var(--accent))}.data-\[state\=active\]\:bg-background[data-state=active]{background-color:hsl(var(--background))}.data-\[state\=checked\]\:bg-primary[data-state=checked]{background-color:hsl(var(--primary))}.data-\[state\=on\]\:bg-accent[data-state=on]{background-color:hsl(var(--accent))}.data-\[state\=on\]\:bg-primary\/80[data-state=on]{background-color:hsl(var(--primary)/.8)}.data-\[state\=open\]\:bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=open\]\:bg-secondary[data-state=open]{background-color:hsl(var(--secondary))}.data-\[state\=selected\]\:bg-muted[data-state=selected]{background-color:hsl(var(--muted))}.data-\[state\=unchecked\]\:bg-input[data-state=unchecked]{background-color:hsl(var(--input))}.data-\[active\=true\]\:font-medium[data-active=true]{font-weight:500}.data-\[active\=true\]\:text-sidebar-accent-foreground[data-active=true]{color:hsl(var(--accent-foreground))}.data-\[state\=active\]\:text-foreground[data-state=active]{color:hsl(var(--foreground))}.data-\[state\=checked\]\:text-primary-foreground[data-state=checked]{color:hsl(var(--primary-foreground))}.data-\[state\=on\]\:text-accent-foreground[data-state=on]{color:hsl(var(--accent-foreground))}.data-\[state\=on\]\:text-primary-foreground[data-state=on]{color:hsl(var(--primary-foreground))}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:hsl(var(--muted-foreground))}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[state\=open\]\:opacity-100[data-state=open]{opacity:1}.data-\[state\=active\]\:shadow-sm[data-state=active]{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.data-\[state\=closed\]\:duration-300[data-state=closed]{transition-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{transition-duration:.5s}.data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.data-\[state\=closed\]\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity:initial;--tw-exit-scale:initial;--tw-exit-rotate:initial;--tw-exit-translate-x:initial;--tw-exit-translate-y:initial}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity:0}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity:0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale:.95}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale:.95}.data-\[side\=bottom\]\:slide-in-from-top-1[data-side=bottom]{--tw-enter-translate-y:-0.25rem}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:-0.5rem}.data-\[side\=left\]\:slide-in-from-right-1[data-side=left]{--tw-enter-translate-x:0.25rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:0.5rem}.data-\[side\=right\]\:slide-in-from-left-1[data-side=right]{--tw-enter-translate-x:-0.25rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:-0.5rem}.data-\[side\=top\]\:slide-in-from-bottom-1[data-side=top]{--tw-enter-translate-y:0.25rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:0.5rem}.data-\[state\=closed\]\:slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y:100%}.data-\[state\=closed\]\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x:-100%}.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed]{--tw-exit-translate-x:-50%}.data-\[state\=closed\]\:slide-out-to-right[data-state=closed]{--tw-exit-translate-x:100%}.data-\[state\=closed\]\:slide-out-to-top[data-state=closed]{--tw-exit-translate-y:-100%}.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed]{--tw-exit-translate-y:-48%}.data-\[state\=open\]\:slide-in-from-bottom[data-state=open]{--tw-enter-translate-y:100%}.data-\[state\=open\]\:slide-in-from-left[data-state=open]{--tw-enter-translate-x:-100%}.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open]{--tw-enter-translate-x:-50%}.data-\[state\=open\]\:slide-in-from-right[data-state=open]{--tw-enter-translate-x:100%}.data-\[state\=open\]\:slide-in-from-top[data-state=open]{--tw-enter-translate-y:-100%}.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open]{--tw-enter-translate-y:-48%}.data-\[state\=closed\]\:duration-300[data-state=closed]{animation-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{animation-duration:.5s}.data-\[panel-group-direction\=vertical\]\:after\:left-0[data-panel-group-direction=vertical]:after{content:var(--tw-content);left:0}.data-\[panel-group-direction\=vertical\]\:after\:h-1[data-panel-group-direction=vertical]:after{content:var(--tw-content);height:.25rem}.data-\[panel-group-direction\=vertical\]\:after\:w-full[data-panel-group-direction=vertical]:after{content:var(--tw-content);width:100%}.data-\[panel-group-direction\=vertical\]\:after\:-translate-y-1\/2[data-panel-group-direction=vertical]:after{content:var(--tw-content);--tw-translate-y:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[panel-group-direction\=vertical\]\:after\:translate-x-0[data-panel-group-direction=vertical]:after{content:var(--tw-content);--tw-translate-x:0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=open\]\:hover\:bg-sidebar-accent:hover[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=open\]\:hover\:text-sidebar-accent-foreground:hover[data-state=open]{color:hsl(var(--accent-foreground))}.group[data-collapsible=offcanvas] .group-data-\[collapsible\=offcanvas\]\:left-\[calc\(var\(--sidebar-width\)\*-1\)\]{left:calc(var(--sidebar-width) * -1)}.group[data-collapsible=offcanvas] .group-data-\[collapsible\=offcanvas\]\:right-\[calc\(var\(--sidebar-width\)\*-1\)\]{right:calc(var(--sidebar-width) * -1)}.group[data-side=left] .group-data-\[side\=left\]\:-right-4{right:-1rem}.group[data-side=right] .group-data-\[side\=right\]\:left-0{left:0}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:-mt-8{margin-top:-2rem}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:block{display:block}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:hidden{display:none}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:w-\[--sidebar-width-icon\]{width:var(--sidebar-width-icon)}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:w-\[calc\(var\(--sidebar-width-icon\)_\+_theme\(spacing\.4\)\)\]{width:calc(var(--sidebar-width-icon) + 1rem)}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:w-\[calc\(var\(--sidebar-width-icon\)_\+_theme\(spacing\.4\)_\+2px\)\]{width:calc(var(--sidebar-width-icon) + 1rem 2px)}.group[data-collapsible=offcanvas] .group-data-\[collapsible\=offcanvas\]\:w-0{width:0}.group[data-collapsible=offcanvas] .group-data-\[collapsible\=offcanvas\]\:translate-x-0{--tw-translate-x:0px}.group[data-collapsible=offcanvas] .group-data-\[collapsible\=offcanvas\]\:translate-x-0,.group[data-side=right] .group-data-\[side\=right\]\:rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group[data-side=right] .group-data-\[side\=right\]\:rotate-180{--tw-rotate:180deg}.group\/collapsible[data-state=open] .group-data-\[state\=open\]\/collapsible\:rotate-90{--tw-rotate:90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:overflow-hidden{overflow:hidden}.group[data-variant=floating] .group-data-\[variant\=floating\]\:rounded-lg{border-radius:var(--radius)}.group[data-variant=floating] .group-data-\[variant\=floating\]\:border{border-width:1px}.group[data-side=left] .group-data-\[side\=left\]\:border-r{border-right-width:1px}.group[data-side=right] .group-data-\[side\=right\]\:border-l{border-left-width:1px}.group[data-variant=floating] .group-data-\[variant\=floating\]\:border-sidebar-border{border-color:hsl(var(--border))}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:\!p-0{padding:0!important}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:\!p-2{padding:.5rem!important}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:opacity-0{opacity:0}.group[data-variant=floating] .group-data-\[variant\=floating\]\:shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.group[data-collapsible=offcanvas] .group-data-\[collapsible\=offcanvas\]\:after\:left-full:after{content:var(--tw-content);left:100%}.group[data-collapsible=offcanvas] .group-data-\[collapsible\=offcanvas\]\:hover\:bg-sidebar:hover{background-color:hsl(var(--background))}.peer\/menu-button[data-size=default]~.peer-data-\[size\=default\]\/menu-button\:top-1\.5{top:.375rem}.peer\/menu-button[data-size=lg]~.peer-data-\[size\=lg\]\/menu-button\:top-2\.5{top:.625rem}.peer\/menu-button[data-size=sm]~.peer-data-\[size\=sm\]\/menu-button\:top-1{top:.25rem}.peer\/menu-button[data-active=true]~.peer-data-\[active\=true\]\/menu-button\:text-sidebar-accent-foreground{color:hsl(var(--accent-foreground))}.prose-h1\:border-b :is(:where(h1):not(:where([class~=not-prose],[class~=not-prose] *))){border-bottom-width:1px}.prose-h1\:pb-2 :is(:where(h1):not(:where([class~=not-prose],[class~=not-prose] *))){padding-bottom:.5rem}.prose-h2\:border-b :is(:where(h2):not(:where([class~=not-prose],[class~=not-prose] *))){border-bottom-width:1px}.prose-h2\:pb-2 :is(:where(h2):not(:where([class~=not-prose],[class~=not-prose] *))){padding-bottom:.5rem}.prose-p\:my-0 :is(:where(p):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:0;margin-bottom:0}.prose-p\:mb-2 :is(:where(p):not(:where([class~=not-prose],[class~=not-prose] *))){margin-bottom:.5rem}.prose-p\:mt-0 :is(:where(p):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:0}.prose-p\:leading-relaxed :is(:where(p):not(:where([class~=not-prose],[class~=not-prose] *))){line-height:1.625}.prose-a\:text-primary :is(:where(a):not(:where([class~=not-prose],[class~=not-prose] *))){color:hsl(var(--primary))}.prose-pre\:mt-1 :is(:where(pre):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:.25rem}.prose-pre\:p-0 :is(:where(pre):not(:where([class~=not-prose],[class~=not-prose] *))){padding:0}.prose-img\:inline :is(:where(img):not(:where([class~=not-prose],[class~=not-prose] *))){display:inline}.prose-img\:w-auto :is(:where(img):not(:where([class~=not-prose],[class~=not-prose] *))){width:auto}.prose-img\:max-w-full :is(:where(img):not(:where([class~=not-prose],[class~=not-prose] *))){max-width:100%}:is(.dark .dark\:block){display:block}:is(.dark .dark\:hidden){display:none}:is(.dark .dark\:border-2){border-width:2px}:is(.dark .dark\:border-\[\#33363c\]){--tw-border-opacity:1;border-color:rgb(51 54 60/var(--tw-border-opacity))}:is(.dark .dark\:border-destructive){border-color:hsl(var(--destructive))}:is(.dark .dark\:border-muted-foreground){border-color:hsl(var(--muted-foreground))}:is(.dark .dark\:border-muted-foreground\/60){border-color:hsl(var(--muted-foreground)/.6)}:is(.dark .dark\:bg-\[\#333333\]){--tw-bg-opacity:1;background-color:rgb(51 51 51/var(--tw-bg-opacity))}:is(.dark .dark\:bg-\[\#3D382F\]){--tw-bg-opacity:1;background-color:rgb(61 56 47/var(--tw-bg-opacity))}:is(.dark .dark\:bg-\[\#4F483B\]){--tw-bg-opacity:1;background-color:rgb(79 72 59/var(--tw-bg-opacity))}:is(.dark .dark\:bg-\[hsl\(0\2c 0\2c 13\.5\%\)\]){--tw-bg-opacity:1;background-color:hsl(0 0 13.5%/var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800){--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}:is(.dark .dark\:text-green-500){--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity))}:is(.dark .dark\:text-red-500){--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-400){--tw-text-opacity:1;color:rgb(250 204 21/var(--tw-text-opacity))}:is(.dark .dark\:shadow-\[0px_-4px_4px_rgba\(255\2c 255\2c 255\2c 0\.2\)\]){--tw-shadow:0px -4px 4px hsla(0,0%,100%,.2);--tw-shadow-colored:0px -4px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}:is(.dark .dark\:shadow-\[0px_3px_8px_rgba\(255\2c 255\2c 255\2c 0\.3\)\]){--tw-shadow:0px 3px 8px hsla(0,0%,100%,.3);--tw-shadow-colored:0px 3px 8px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}:is(.dark .dark\:invert-0){--tw-invert:invert(0);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}:is(.dark .dark\:hover\:border-muted-foreground:hover){border-color:hsl(var(--muted-foreground))}@media (min-width:640px){.sm\:left-4{left:1rem}.sm\:right-4{right:1rem}.sm\:right-8{right:2rem}.sm\:mt-0{margin-top:0}.sm\:block{display:block}.sm\:flex{display:flex}.sm\:hidden{display:none}.sm\:max-w-sm{max-width:24rem}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-start{justify-content:flex-start}.sm\:justify-end{justify-content:flex-end}.sm\:gap-4{gap:1rem}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.sm\:space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:rounded-md{border-radius:calc(var(--radius) - 2px)}.sm\:rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.sm\:border{border-width:1px}.sm\:px-12{padding-left:3rem;padding-right:3rem}.sm\:py-0{padding-top:0;padding-bottom:0}.sm\:pl-4{padding-left:1rem}.sm\:text-left{text-align:left}.sm\:text-3xl{font-size:1.875rem;line-height:2.25rem}.sm\:text-7xl{font-size:4.5rem;line-height:1}.sm\:zoom-in-90{--tw-enter-scale:.9}.sm\:slide-in-from-bottom-0{--tw-enter-translate-y:0px}}@media (min-width:768px){.md\:absolute{position:absolute}.md\:-right-\[4rem\]{right:-4rem}.md\:-top-2{top:-.5rem}.md\:top-2{top:.5rem}.md\:my-8{margin-top:2rem;margin-bottom:2rem}.md\:-ml-4{margin-left:-1rem}.md\:ml-4{margin-left:1rem}.md\:block{display:block}.md\:flex{display:flex}.md\:hidden{display:none}.md\:h-8{height:2rem}.md\:w-36{width:9rem}.md\:w-8{width:2rem}.md\:w-\[150px\]{width:150px}.md\:w-\[180px\]{width:180px}.md\:w-\[190px\]{width:190px}.md\:w-\[240px\]{width:240px}.md\:w-\[30\%\]{width:30%}.md\:w-\[40\%\]{width:40%}.md\:w-\[430px\]{width:430px}.md\:w-auto{width:auto}.md\:w-full{width:100%}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:gap-x-8{-moz-column-gap:2rem;column-gap:2rem}.md\:gap-y-0{row-gap:0}.md\:space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.md\:space-x-6>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(1.5rem * var(--tw-space-x-reverse));margin-left:calc(1.5rem * calc(1 - var(--tw-space-x-reverse)))}.md\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.md\:px-1{padding-left:.25rem;padding-right:.25rem}.md\:px-4{padding-left:1rem;padding-right:1rem}.md\:px-5{padding-left:1.25rem;padding-right:1.25rem}.md\:py-0{padding-top:0;padding-bottom:0}.md\:py-4{padding-top:1rem;padding-bottom:1rem}.md\:pl-10{padding-left:2.5rem}.md\:pr-8{padding-right:2rem}.md\:pr-\[3\.75rem\]{padding-right:3.75rem}.md\:pt-0{padding-top:0}.md\:pt-10{padding-top:2.5rem}.md\:text-start{text-align:start}.md\:text-sm{font-size:.875rem;line-height:1.25rem}.md\:opacity-0{opacity:0}.after\:md\:hidden:after{content:var(--tw-content);display:none}.peer[data-variant=inset]~.md\:peer-data-\[variant\=inset\]\:m-2{margin:.5rem}.peer[data-state=collapsed][data-variant=inset]~.md\:peer-data-\[state\=collapsed\]\:peer-data-\[variant\=inset\]\:ml-2{margin-left:.5rem}.peer[data-variant=inset]~.md\:peer-data-\[variant\=inset\]\:ml-0{margin-left:0}.peer[data-variant=inset]~.md\:peer-data-\[variant\=inset\]\:rounded-xl{border-radius:.75rem}.peer[data-variant=inset]~.md\:peer-data-\[variant\=inset\]\:shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}}@media (min-width:1024px){.lg\:\!bottom-\[2\.85rem\]{bottom:2.85rem!important}.lg\:-m-10{margin:-2.5rem}.lg\:-mt-\[2vh\]{margin-top:-2vh}.lg\:mb-0{margin-bottom:0}.lg\:mt-0{margin-top:0}.lg\:mt-8{margin-top:2rem}.lg\:block{display:block}.lg\:flex{display:flex}.lg\:hidden{display:none}.lg\:w-1\/5{width:20%}.lg\:w-2\/3{width:66.666667%}.lg\:w-\[200px\]{width:200px}.lg\:w-\[250px\]{width:250px}.lg\:w-\[260px\]{width:260px}.lg\:w-\[340px\]{width:340px}.lg\:max-w-4xl{max-width:56rem}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}.lg\:flex-wrap{flex-wrap:wrap}.lg\:items-end{align-items:flex-end}.lg\:gap-x-10{-moz-column-gap:2.5rem;column-gap:2.5rem}.lg\:gap-y-0{row-gap:0}.lg\:break-words{overflow-wrap:break-word}.lg\:p-10{padding:2.5rem}.lg\:px-0{padding-left:0;padding-right:0}.lg\:px-10{padding-left:2.5rem;padding-right:2.5rem}.lg\:px-4{padding-left:1rem;padding-right:1rem}.lg\:pb-0{padding-bottom:0}.lg\:text-sm{font-size:.875rem;line-height:1.25rem}}@media (min-width:1280px){.xl\:ml-auto{margin-left:auto}.xl\:block{display:block}.xl\:flex{display:flex}.xl\:hidden{display:none}.xl\:w-\[20\%\]{width:20%}.xl\:w-\[800px\]{width:800px}.xl\:w-auto{width:auto}.xl\:flex-row{flex-direction:row}.xl\:items-center{align-items:center}.xl\:justify-start{justify-content:flex-start}.xl\:justify-between{justify-content:space-between}.xl\:pb-32{padding-bottom:8rem}}@media (min-width:1536px){.\32xl\:mx-auto{margin-left:auto;margin-right:auto}.\32xl\:block{display:block}.\32xl\:hidden{display:none}.\32xl\:max-w-5xl{max-width:64rem}}.\[\&\:has\(\[aria-selected\]\)\]\:bg-accent:has([aria-selected]){background-color:hsl(var(--accent))}.first\:\[\&\:has\(\[aria-selected\]\)\]\:rounded-l-md:has([aria-selected]):first-child{border-top-left-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}.last\:\[\&\:has\(\[aria-selected\]\)\]\:rounded-r-md:has([aria-selected]):last-child{border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.\[\&\:has\(\[aria-selected\]\.day-outside\)\]\:bg-accent\/50:has([aria-selected].day-outside){background-color:hsl(var(--accent)/.5)}.\[\&\:has\(\[aria-selected\]\.day-range-end\)\]\:rounded-r-md:has([aria-selected].day-range-end){border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:0}.\[\&\>button\]\:hidden>button{display:none}.\[\&\>div\]\:\!block>div{display:block!important}.\[\&\>span\:last-child\]\:truncate>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.\[\&\>svg\+div\]\:translate-y-\[-3px\]>svg+div{--tw-translate-y:-3px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>svg\]\:absolute>svg{position:absolute}.\[\&\>svg\]\:left-4>svg{left:1rem}.\[\&\>svg\]\:top-4>svg{top:1rem}.\[\&\>svg\]\:shrink-0>svg{flex-shrink:0}.\[\&\>svg\]\:text-destructive>svg{color:hsl(var(--destructive))}.\[\&\>svg\]\:text-foreground>svg{color:hsl(var(--foreground))}.\[\&\>svg\]\:text-sidebar-accent-foreground>svg{color:hsl(var(--accent-foreground))}.\[\&\>svg\~\*\]\:pl-7>svg~*{padding-left:1.75rem}.\[\&\>tr\]\:last\:border-b-0:last-child>tr{border-bottom-width:0}.\[\&\[data-panel-group-direction\=vertical\]\>div\]\:rotate-90[data-panel-group-direction=vertical]>div{--tw-rotate:90deg}.\[\&\[data-panel-group-direction\=vertical\]\>div\]\:rotate-90[data-panel-group-direction=vertical]>div,.\[\&\[data-state\=open\]\>svg\]\:rotate-180[data-state=open]>svg{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\[data-state\=open\]\>svg\]\:rotate-180[data-state=open]>svg{--tw-rotate:180deg}.\[\&_\[cmdk-group-heading\]\]\:px-2 [cmdk-group-heading]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-group-heading\]\]\:py-1\.5 [cmdk-group-heading]{padding-top:.375rem;padding-bottom:.375rem}.\[\&_\[cmdk-group-heading\]\]\:text-xs [cmdk-group-heading]{font-size:.75rem;line-height:1rem}.\[\&_\[cmdk-group-heading\]\]\:font-medium [cmdk-group-heading]{font-weight:500}.\[\&_\[cmdk-group-heading\]\]\:text-muted-foreground [cmdk-group-heading]{color:hsl(var(--muted-foreground))}.\[\&_\[cmdk-group\]\:not\(\[hidden\]\)_\~\[cmdk-group\]\]\:pt-0 [cmdk-group]:not([hidden])~[cmdk-group]{padding-top:0}.\[\&_\[cmdk-group\]\]\:px-2 [cmdk-group]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:h-5 [cmdk-input-wrapper] svg{height:1.25rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:w-5 [cmdk-input-wrapper] svg{width:1.25rem}.\[\&_\[cmdk-input\]\]\:h-12 [cmdk-input]{height:3rem}.\[\&_\[cmdk-item\]\]\:px-2 [cmdk-item]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-item\]\]\:py-3 [cmdk-item]{padding-top:.75rem;padding-bottom:.75rem}.\[\&_\[cmdk-item\]_svg\]\:h-5 [cmdk-item] svg{height:1.25rem}.\[\&_\[cmdk-item\]_svg\]\:w-5 [cmdk-item] svg{width:1.25rem}.\[\&_p\]\:leading-relaxed p{line-height:1.625}.\[\&_svg\]\:invisible svg{visibility:hidden}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-width:0}.\[\&_tr\]\:border-b tr{border-bottom-width:1px}[data-side=left][data-collapsible=offcanvas] .\[\[data-side\=left\]\[data-collapsible\=offcanvas\]_\&\]\:-right-2{right:-.5rem}[data-side=left][data-state=collapsed] .\[\[data-side\=left\]\[data-state\=collapsed\]_\&\]\:cursor-e-resize{cursor:e-resize}[data-side=left] .\[\[data-side\=left\]_\&\]\:cursor-w-resize{cursor:w-resize}[data-side=right][data-collapsible=offcanvas] .\[\[data-side\=right\]\[data-collapsible\=offcanvas\]_\&\]\:-left-2{left:-.5rem}[data-side=right][data-state=collapsed] .\[\[data-side\=right\]\[data-state\=collapsed\]_\&\]\:cursor-w-resize{cursor:w-resize}[data-side=right] .\[\[data-side\=right\]_\&\]\:cursor-e-resize{cursor:e-resize} \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/css/9f90e164ea50dc62.css b/ee/tabby-webserver/ui/_next/static/css/9f90e164ea50dc62.css deleted file mode 100644 index 136c1cf68d6f..000000000000 --- a/ee/tabby-webserver/ui/_next/static/css/9f90e164ea50dc62.css +++ /dev/null @@ -1 +0,0 @@ -.container{width:100%;margin-right:auto;margin-left:auto;padding-right:2rem;padding-left:2rem}@media (min-width:1400px){.container{max-width:1400px}}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-left-width:.25rem;border-left-color:var(--tw-prose-quote-borders);quotes:"\201C""\201D""\2018""\2019";margin-top:1.6em;margin-bottom:1.6em;padding-left:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows)/10%),0 3px 0 rgb(var(--tw-prose-kbd-shadows)/10%);font-size:.875em;border-radius:.3125rem;padding:.1875em .375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding:.8571429em 1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;text-align:left;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-right:.5714286em;padding-bottom:.5714286em;padding-left:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body:#374151;--tw-prose-headings:#111827;--tw-prose-lead:#4b5563;--tw-prose-links:#111827;--tw-prose-bold:#111827;--tw-prose-counters:#6b7280;--tw-prose-bullets:#d1d5db;--tw-prose-hr:#e5e7eb;--tw-prose-quotes:#111827;--tw-prose-quote-borders:#e5e7eb;--tw-prose-captions:#6b7280;--tw-prose-kbd:#111827;--tw-prose-kbd-shadows:17 24 39;--tw-prose-code:#111827;--tw-prose-pre-code:#e5e7eb;--tw-prose-pre-bg:#1f2937;--tw-prose-th-borders:#d1d5db;--tw-prose-td-borders:#e5e7eb;--tw-prose-invert-body:#d1d5db;--tw-prose-invert-headings:#fff;--tw-prose-invert-lead:#9ca3af;--tw-prose-invert-links:#fff;--tw-prose-invert-bold:#fff;--tw-prose-invert-counters:#9ca3af;--tw-prose-invert-bullets:#4b5563;--tw-prose-invert-hr:#374151;--tw-prose-invert-quotes:#f3f4f6;--tw-prose-invert-quote-borders:#374151;--tw-prose-invert-captions:#9ca3af;--tw-prose-invert-kbd:#fff;--tw-prose-invert-kbd-shadows:255 255 255;--tw-prose-invert-code:#fff;--tw-prose-invert-pre-code:#d1d5db;--tw-prose-invert-pre-bg:rgba(0,0,0,.5);--tw-prose-invert-th-borders:#4b5563;--tw-prose-invert-td-borders:#374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-left:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.codemirror-editor{--tag-blue-bg:213.75,100%,96.86%;--tag-blue-border:211.7,96.36%,78.43%;--tag-blue-text:224.28,76.33%,48.04%;--cm-selection-bg:214,81%,85%}.dark .codemirror-editor{--tag-blue-bg:213.12,93.9%,67.84%,0.15;--tag-blue-border:217.22,91.22%,59.8%;--tag-blue-text:213.12,93.9%,67.84%;--cm-selection-bg:216,29%,35%}:is(.dark .dark\:prose-invert){--tw-prose-body:var(--tw-prose-invert-body);--tw-prose-headings:var(--tw-prose-invert-headings);--tw-prose-lead:var(--tw-prose-invert-lead);--tw-prose-links:var(--tw-prose-invert-links);--tw-prose-bold:var(--tw-prose-invert-bold);--tw-prose-counters:var(--tw-prose-invert-counters);--tw-prose-bullets:var(--tw-prose-invert-bullets);--tw-prose-hr:var(--tw-prose-invert-hr);--tw-prose-quotes:var(--tw-prose-invert-quotes);--tw-prose-quote-borders:var(--tw-prose-invert-quote-borders);--tw-prose-captions:var(--tw-prose-invert-captions);--tw-prose-kbd:var(--tw-prose-invert-kbd);--tw-prose-kbd-shadows:var(--tw-prose-invert-kbd-shadows);--tw-prose-code:var(--tw-prose-invert-code);--tw-prose-pre-code:var(--tw-prose-invert-pre-code);--tw-prose-pre-bg:var(--tw-prose-invert-pre-bg);--tw-prose-th-borders:var(--tw-prose-invert-th-borders);--tw-prose-td-borders:var(--tw-prose-invert-td-borders)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.\!pointer-events-auto{pointer-events:auto!important}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.\!fixed{position:fixed!important}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.-inset-x-3{left:-.75rem;right:-.75rem}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.\!bottom-\[5\.4rem\]{bottom:5.4rem!important}.\!right-4{right:1rem!important}.\!top-auto{top:auto!important}.-left-2{left:-.5rem}.-right-8{right:-2rem}.-top-2{top:-.5rem}.-top-2\.5{top:-.625rem}.-top-px{top:-1px}.bottom-0{bottom:0}.bottom-1{bottom:.25rem}.bottom-10{bottom:2.5rem}.bottom-5{bottom:1.25rem}.left-0{left:0}.left-1{left:.25rem}.left-2{left:.5rem}.left-3{left:.75rem}.left-\[50\%\]{left:50%}.right-0{right:0}.right-1{right:.25rem}.right-2{right:.5rem}.right-3{right:.75rem}.right-4{right:1rem}.top-0{top:0}.top-0\.5{top:.125rem}.top-1{top:.25rem}.top-1\.5{top:.375rem}.top-16{top:4rem}.top-2{top:.5rem}.top-2\.5{top:.625rem}.top-3{top:.75rem}.top-3\.5{top:.875rem}.top-4{top:1rem}.top-9{top:2.25rem}.top-\[20vh\]{top:20vh}.top-\[50\%\]{top:50%}.-z-10{z-index:-10}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.-m-4{margin:-1rem}.m-0{margin:0}.m-1{margin:.25rem}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.-mx-2{margin-left:-.5rem;margin-right:-.5rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-1\.5{margin-left:.375rem;margin-right:.375rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-3\.5{margin-left:.875rem;margin-right:.875rem}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-0{margin-top:0;margin-bottom:0}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-3{margin-top:.75rem;margin-bottom:.75rem}.my-4{margin-top:1rem;margin-bottom:1rem}.-mb-2{margin-bottom:-.5rem}.-ml-1{margin-left:-.25rem}.-ml-1\.5{margin-left:-.375rem}.-ml-2{margin-left:-.5rem}.-ml-2\.5{margin-left:-.625rem}.-mt-0{margin-top:0}.-mt-0\.5{margin-top:-.125rem}.mb-0{margin-bottom:0}.mb-0\.5{margin-bottom:.125rem}.mb-1{margin-bottom:.25rem}.mb-1\.5{margin-bottom:.375rem}.mb-10{margin-bottom:2.5rem}.mb-2{margin-bottom:.5rem}.mb-2\.5{margin-bottom:.625rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-7{margin-bottom:1.75rem}.mb-8{margin-bottom:2rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-auto{margin-left:auto}.mr-0{margin-right:0}.mr-0\.5{margin-right:.125rem}.mr-1{margin-right:.25rem}.mr-1\.5{margin-right:.375rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mr-5{margin-right:1.25rem}.mr-\[0\.45rem\]{margin-right:.45rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-24{margin-top:6rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.line-clamp-1{-webkit-line-clamp:1}.line-clamp-1,.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical}.line-clamp-2{-webkit-line-clamp:2}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}.block{display:block}.inline-block{display:inline-block}.\!inline{display:inline!important}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.aspect-square{aspect-ratio:1/1}.\!h-\[4px\]{height:4px!important}.h-0{height:0}.h-1{height:.25rem}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-32{height:8rem}.h-4{height:1rem}.h-40{height:10rem}.h-48{height:12rem}.h-5{height:1.25rem}.h-56{height:14rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[100px\]{height:100px}.h-\[152px\]{height:152px}.h-\[180px\]{height:180px}.h-\[1px\]{height:1px}.h-\[250px\]{height:250px}.h-\[3\.375rem\]{height:3.375rem}.h-\[72vh\]{height:72vh}.h-\[calc\(100\%-4rem\)\]{height:calc(100% - 4rem)}.h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-36{max-height:9rem}.max-h-60{max-height:15rem}.max-h-\[286px\]{max-height:286px}.max-h-\[300px\]{max-height:300px}.max-h-\[30vh\]{max-height:30vh}.max-h-\[50vh\]{max-height:50vh}.max-h-\[60vh\]{max-height:60vh}.max-h-\[70vh\]{max-height:70vh}.min-h-0{min-height:0}.min-h-\[1\.75rem\]{min-height:1.75rem}.min-h-\[160px\]{min-height:160px}.min-h-\[2\.5rem\]{min-height:2.5rem}.min-h-\[200px\]{min-height:200px}.min-h-\[2rem\]{min-height:2rem}.min-h-\[3\.5em\]{min-height:3.5em}.min-h-\[3\.5rem\]{min-height:3.5rem}.min-h-\[30\.5rem\]{min-height:30.5rem}.min-h-\[30vh\]{min-height:30vh}.min-h-\[3rem\]{min-height:3rem}.min-h-\[5\.5rem\]{min-height:5.5rem}.min-h-\[5rem\]{min-height:5rem}.min-h-\[60px\]{min-height:60px}.min-h-\[80px\]{min-height:80px}.min-h-\[theme\(space\.9\)\]{min-height:2.25rem}.min-h-screen{min-height:100vh}.w-1{width:.25rem}.w-1\.5{width:.375rem}.w-1\/2{width:50%}.w-1\/3{width:33.333333%}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-20{width:5rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-32{width:8rem}.w-4{width:1rem}.w-40{width:10rem}.w-48{width:12rem}.w-5{width:1.25rem}.w-56{width:14rem}.w-6{width:1.5rem}.w-60{width:15rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-80{width:20rem}.w-9{width:2.25rem}.w-96{width:24rem}.w-\[--sidebar-width\]{width:var(--sidebar-width)}.w-\[100px\]{width:100px}.w-\[10rem\]{width:10rem}.w-\[128px\]{width:128px}.w-\[140px\]{width:140px}.w-\[15\%\]{width:15%}.w-\[180px\]{width:180px}.w-\[190px\]{width:190px}.w-\[1px\]{width:1px}.w-\[20\%\]{width:20%}.w-\[200px\]{width:200px}.w-\[20vw\]{width:20vw}.w-\[240px\]{width:240px}.w-\[25\%\]{width:25%}.w-\[268px\]{width:268px}.w-\[30\%\]{width:30%}.w-\[35\%\]{width:35%}.w-\[350px\]{width:350px}.w-\[40\%\]{width:40%}.w-\[400px\]{width:400px}.w-\[45\%\]{width:45%}.w-\[60\%\]{width:60%}.w-\[600px\]{width:600px}.w-\[60px\]{width:60px}.w-\[60vw\]{width:60vw}.w-\[68px\]{width:68px}.w-\[70\%\]{width:70%}.w-\[70px\]{width:70px}.w-\[80\%\]{width:80%}.w-\[80vw\]{width:80vw}.w-\[calc\(100vw-2rem\)\]{width:calc(100vw - 2rem)}.w-\[theme\(space\.48\)\]{width:12rem}.w-\[var\(--radix-popover-trigger-width\)\]{width:var(--radix-popover-trigger-width)}.w-auto{width:auto}.w-full{width:100%}.w-px{width:1px}.w-screen{width:100vw}.min-w-0{min-width:0}.min-w-\[10rem\]{min-width:10rem}.min-w-\[20rem\]{min-width:20rem}.min-w-\[2rem\]{min-width:2rem}.min-w-\[300px\]{min-width:300px}.min-w-\[8rem\]{min-width:8rem}.min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.min-w-max{min-width:-moz-max-content;min-width:max-content}.max-w-2xl{max-width:42rem}.max-w-\[--skeleton-width\]{max-width:var(--skeleton-width)}.max-w-\[200px\]{max-width:200px}.max-w-\[300px\]{max-width:300px}.max-w-\[320px\]{max-width:320px}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-none{max-width:none}.max-w-xl{max-width:36rem}.flex-1{flex:1 1 0%}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.table-fixed{table-layout:fixed}.caption-bottom{caption-side:bottom}.border-collapse{border-collapse:collapse}.-translate-x-1\/2{--tw-translate-x:-50%}.-translate-x-1\/2,.-translate-x-px{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-px{--tw-translate-x:-1px}.translate-x-\[-50\%\]{--tw-translate-x:-50%}.translate-x-\[-50\%\],.translate-x-px{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-px{--tw-translate-x:1px}.translate-y-0{--tw-translate-y:0px}.translate-y-0,.translate-y-1{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-1{--tw-translate-y:0.25rem}.translate-y-10{--tw-translate-y:2.5rem}.translate-y-10,.translate-y-\[-50\%\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[-50\%\]{--tw-translate-y:-50%}.-rotate-90{--tw-rotate:-90deg}.-rotate-90,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.rotate-45{--tw-rotate:45deg}.rotate-45,.rotate-90{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate:90deg}.scale-100{--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.\!cursor-default{cursor:default!important}.cursor-auto{cursor:auto}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.cursor-text{cursor:text}.touch-none{touch-action:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.scroll-m-20{scroll-margin:5rem}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.flex-nowrap{flex-wrap:nowrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0{gap:0}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.gap-x-1\.5{-moz-column-gap:.375rem;column-gap:.375rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.gap-x-3{-moz-column-gap:.75rem;column-gap:.75rem}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.gap-x-5{-moz-column-gap:1.25rem;column-gap:1.25rem}.gap-x-6{-moz-column-gap:1.5rem;column-gap:1.5rem}.gap-y-0{row-gap:0}.gap-y-0\.5{row-gap:.125rem}.gap-y-1{row-gap:.25rem}.gap-y-1\.5{row-gap:.375rem}.gap-y-2{row-gap:.5rem}.gap-y-3{row-gap:.75rem}.gap-y-5{row-gap:1.25rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-10>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(2.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2.5rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.self-start{align-self:flex-start}.self-center{align-self:center}.self-stretch{align-self:stretch}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-hidden{overflow-y:hidden}.overflow-y-scroll{overflow-y:scroll}.truncate{overflow:hidden;white-space:nowrap}.text-ellipsis,.truncate{text-overflow:ellipsis}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-none{border-radius:0}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-xl{border-radius:.75rem}.rounded-b-lg{border-bottom-right-radius:var(--radius);border-bottom-left-radius:var(--radius)}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-t-lg{border-top-left-radius:var(--radius);border-top-right-radius:var(--radius)}.border{border-width:1px}.border-0{border-width:0}.border-2{border-width:2px}.border-4{border-width:4px}.border-\[2px\]{border-width:2px}.border-b{border-bottom-width:1px}.border-b-0{border-bottom-width:0}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-t-0{border-top-width:0}.border-dashed{border-style:dashed}.\!border-none{border-style:none!important}.border-none{border-style:none}.border-\[\#b3ada0\]{--tw-border-opacity:1;border-color:rgb(179 173 160/var(--tw-border-opacity))}.border-destructive\/50{border-color:hsl(var(--destructive)/.5)}.border-foreground{border-color:hsl(var(--foreground))}.border-input{border-color:hsl(var(--input))}.border-muted-foreground{border-color:hsl(var(--muted-foreground))}.border-primary{border-color:hsl(var(--primary))}.border-ring{border-color:hsl(var(--ring))}.border-secondary-foreground\/60{border-color:hsl(var(--secondary-foreground)/.6)}.border-sidebar-border{border-color:hsl(var(--border))}.border-transparent{border-color:transparent}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.border-l-border{border-left-color:hsl(var(--border))}.border-l-transparent{border-left-color:transparent}.border-t-transparent{border-top-color:transparent}.border-opacity-30{--tw-border-opacity:0.3}.\!bg-background{background-color:hsl(var(--background))!important}.\!bg-muted{background-color:hsl(var(--muted))!important}.\!bg-muted\/80{background-color:hsl(var(--muted)/.8)!important}.bg-\[\#F9F6EF\]{--tw-bg-opacity:1;background-color:rgb(249 246 239/var(--tw-bg-opacity))}.bg-\[\#FBF5ED\]{--tw-bg-opacity:1;background-color:rgb(251 245 237/var(--tw-bg-opacity))}.bg-\[\#FEFCF8\]{--tw-bg-opacity:1;background-color:rgb(254 252 248/var(--tw-bg-opacity))}.bg-\[\#e8e1d3\]{--tw-bg-opacity:1;background-color:rgb(232 225 211/var(--tw-bg-opacity))}.bg-\[hsl\(var\(--mark-bg\)\)\]{background-color:hsl(var(--mark-bg))}.bg-accent{background-color:hsl(var(--accent))}.bg-background{background-color:hsl(var(--background))}.bg-background\/60{background-color:hsl(var(--background)/.6)}.bg-background\/80{background-color:hsl(var(--background)/.8)}.bg-background\/90{background-color:hsl(var(--background)/.9)}.bg-black\/80{background-color:rgba(0,0,0,.8)}.bg-blue-600{--tw-bg-opacity:1;background-color:rgb(37 99 235/var(--tw-bg-opacity))}.bg-border{background-color:hsl(var(--border))}.bg-border\/40{background-color:hsl(var(--border)/.4)}.bg-card{background-color:hsl(var(--card))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-gray-50{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.bg-green-600{--tw-bg-opacity:1;background-color:rgb(22 163 74/var(--tw-bg-opacity))}.bg-input\/40{background-color:hsl(var(--input)/.4)}.bg-muted{background-color:hsl(var(--muted))}.bg-muted\/30{background-color:hsl(var(--muted)/.3)}.bg-muted\/50{background-color:hsl(var(--muted)/.5)}.bg-popover{background-color:hsl(var(--popover))}.bg-primary{background-color:hsl(var(--primary))}.bg-primary-foreground\/30{background-color:hsl(var(--primary-foreground)/.3)}.bg-red-400{--tw-bg-opacity:1;background-color:rgb(248 113 113/var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity:1;background-color:rgb(220 38 38/var(--tw-bg-opacity))}.bg-secondary{background-color:hsl(var(--secondary))}.bg-sidebar{background-color:hsl(var(--background))}.bg-sidebar-border{background-color:hsl(var(--border))}.bg-successful{background-color:hsl(var(--successful))}.bg-transparent{background-color:transparent}.bg-zinc-800{--tw-bg-opacity:1;background-color:rgb(39 39 42/var(--tw-bg-opacity))}.bg-zinc-950{--tw-bg-opacity:1;background-color:rgb(9 9 11/var(--tw-bg-opacity))}.fill-current{fill:currentColor}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-\[1px\]{padding:1px}.px-0{padding-left:0;padding-right:0}.px-0\.5{padding-left:.125rem;padding-right:.125rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.px-\[1\.125rem\]{padding-left:1.125rem;padding-right:1.125rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-3\.5{padding-top:.875rem;padding-bottom:.875rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-40{padding-top:10rem;padding-bottom:10rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.py-\[1\.3rem\]{padding-top:1.3rem;padding-bottom:1.3rem}.py-\[1px\]{padding-top:1px;padding-bottom:1px}.pb-0{padding-bottom:0}.pb-0\.5{padding-bottom:.125rem}.pb-1{padding-bottom:.25rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-32{padding-bottom:8rem}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pb-8{padding-bottom:2rem}.pb-\[200px\]{padding-bottom:200px}.pl-0{padding-left:0}.pl-1{padding-left:.25rem}.pl-12{padding-left:3rem}.pl-2{padding-left:.5rem}.pl-2\.5{padding-left:.625rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pl-6{padding-left:1.5rem}.pl-8{padding-left:2rem}.pr-0{padding-right:0}.pr-1{padding-right:.25rem}.pr-2{padding-right:.5rem}.pr-2\.5{padding-right:.625rem}.pr-24{padding-right:6rem}.pr-4{padding-right:1rem}.pr-5{padding-right:1.25rem}.pt-0{padding-top:0}.pt-0\.5{padding-top:.125rem}.pt-1{padding-top:.25rem}.pt-16{padding-top:4rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-end{text-align:end}.align-middle{vertical-align:middle}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:var(--font-sans),ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-6xl{font-size:3.75rem;line-height:1}.text-\[0\.8rem\]{font-size:.8rem}.text-\[0\.9rem\]{font-size:.9rem}.text-\[10px\]{font-size:10px}.text-\[1rem\],.text-base{font-size:1rem}.text-base{line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-4{line-height:1rem}.leading-5{line-height:1.25rem}.leading-7{line-height:1.75rem}.leading-8{line-height:2rem}.leading-none{line-height:1}.leading-normal{line-height:1.5}.tracking-normal{letter-spacing:0}.tracking-tight{letter-spacing:-.025em}.tracking-widest{letter-spacing:.1em}.\!text-muted-foreground{color:hsl(var(--muted-foreground))!important}.\!text-primary{color:hsl(var(--primary))!important}.text-\[\#030302\]{--tw-text-opacity:1;color:rgb(3 3 2/var(--tw-text-opacity))}.text-accent-foreground{color:hsl(var(--accent-foreground))}.text-card-foreground{color:hsl(var(--card-foreground))}.text-card-foreground\/70{color:hsl(var(--card-foreground)/.7)}.text-current{color:currentColor}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-foreground{color:hsl(var(--foreground))}.text-foreground\/70{color:hsl(var(--foreground)/.7)}.text-green-500{--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity))}.text-green-600{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity))}.text-link{color:hsl(var(--link))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.text-secondary-foreground\/60{color:hsl(var(--secondary-foreground)/.6)}.text-sidebar-foreground{color:hsl(var(--foreground))}.text-sidebar-foreground\/70{color:hsl(var(--foreground)/.7)}.text-successful-foreground{color:hsl(var(--successful-foreground))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.text-yellow-600{--tw-text-opacity:1;color:rgb(202 138 4/var(--tw-text-opacity))}.text-zinc-100{--tw-text-opacity:1;color:rgb(244 244 245/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.line-through{text-decoration-line:line-through}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.\!placeholder-foreground::-moz-placeholder{color:hsl(var(--foreground))!important}.\!placeholder-foreground::placeholder{color:hsl(var(--foreground))!important}.\!opacity-100{opacity:1!important}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-80{opacity:.8}.\!shadow-none{--tw-shadow:0 0 #0000!important;--tw-shadow-colored:0 0 #0000!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-2xl{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px rgba(0,0,0,.25);--tw-shadow-colored:0 25px 50px -12px var(--tw-shadow-color)}.shadow-\[0_0_0_1px_hsl\(var\(--sidebar-border\)\)\]{--tw-shadow:0 0 0 1px hsl(var(--sidebar-border));--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-\[0px_-4px_4px_rgba\(0\2c 0\2c 0\2c 0\.2\)\]{--tw-shadow:0px -4px 4px rgba(0,0,0,.2);--tw-shadow-colored:0px -4px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-\[0px_3px_8px_rgba\(0\2c 0\2c 0\2c 0\.3\)\]{--tw-shadow:0px 3px 8px rgba(0,0,0,.3);--tw-shadow-colored:0px 3px 8px var(--tw-shadow-color)}.shadow-\[0px_3px_8px_rgba\(0\2c 0\2c 0\2c 0\.3\)\],.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.shadow-md,.shadow-none{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.\!outline-none{outline:2px solid transparent!important;outline-offset:2px!important}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.outline-ring{outline-color:hsl(var(--ring))}.\!ring-0{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.ring-0{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-sidebar-ring{--tw-ring-color:hsl(var(--ring))}.\!ring-offset-0{--tw-ring-offset-width:0px!important}.ring-offset-background{--tw-ring-offset-color:hsl(var(--background))}.blur{--tw-blur:blur(8px)}.blur,.invert{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.invert{--tw-invert:invert(100%)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur:blur(4px)}.backdrop-blur-sm,.backdrop-blur-xl{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-blur-xl{--tw-backdrop-blur:blur(24px)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[height\2c opacity\]{transition-property:height,opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[left\2c right\2c width\2c top\]{transition-property:left,right,width,top;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[margin\2c opa\]{transition-property:margin,opa;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[opacity\2c height\]{transition-property:opacity,height;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[width\2c height\2c padding\]{transition-property:width,height,padding;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[width\]{transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-linear{transition-timing-function:linear}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0) scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1)) rotate(var(--tw-enter-rotate,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0) scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1)) rotate(var(--tw-exit-rotate,0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.fade-in{--tw-enter-opacity:0}.fade-in-50{--tw-enter-opacity:0.5}.fade-in-80{--tw-enter-opacity:0.8}.fade-in-90{--tw-enter-opacity:0.9}.slide-in-from-bottom-10{--tw-enter-translate-y:2.5rem}.duration-200{animation-duration:.2s}.duration-300{animation-duration:.3s}.duration-500{animation-duration:.5s}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.ease-linear{animation-timing-function:linear}.ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}.running{animation-play-state:running}:root{--mark-bg:60 82% 62%}.dark{--mark-bg:40,40%,25%}.file\:border-0::file-selector-button{border-width:0}.file\:bg-transparent::file-selector-button{background-color:transparent}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.placeholder\:translate-y-\[10\%\]::-moz-placeholder{--tw-translate-y:10%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.placeholder\:translate-y-\[10\%\]::placeholder{--tw-translate-y:10%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.placeholder\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:-inset-2:after{content:var(--tw-content);inset:-.5rem}.after\:inset-y-0:after{content:var(--tw-content);top:0;bottom:0}.after\:left-1\/2:after{content:var(--tw-content);left:50%}.after\:ml-0:after{content:var(--tw-content);margin-left:0}.after\:ml-0\.5:after{content:var(--tw-content);margin-left:.125rem}.after\:w-1:after{content:var(--tw-content);width:.25rem}.after\:w-\[2px\]:after{content:var(--tw-content);width:2px}.after\:-translate-x-1\/2:after{content:var(--tw-content);--tw-translate-x:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.after\:text-destructive:after{content:var(--tw-content);color:hsl(var(--destructive))}.after\:content-\[\"\*\"\]:after{--tw-content:"*";content:var(--tw-content)}.first\:mt-0:first-child{margin-top:0}.last\:mb-0:last-child{margin-bottom:0}.focus-within\:relative:focus-within{position:relative}.focus-within\:z-20:focus-within{z-index:20}.focus-within\:outline-none:focus-within{outline:2px solid transparent;outline-offset:2px}.hover\:border-ring:hover{border-color:hsl(var(--ring))}.hover\:bg-\[\#3C382F\]:hover{--tw-bg-opacity:1;background-color:rgb(60 56 47/var(--tw-bg-opacity))}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-background:hover{background-color:hsl(var(--background))}.hover\:bg-blue-500:hover{--tw-bg-opacity:1;background-color:rgb(59 130 246/var(--tw-bg-opacity))}.hover\:bg-border:hover{background-color:hsl(var(--border))}.hover\:bg-card\/60:hover{background-color:hsl(var(--card)/.6)}.hover\:bg-destructive\/80:hover{background-color:hsl(var(--destructive)/.8)}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive)/.9)}.hover\:bg-muted:hover{background-color:hsl(var(--muted))}.hover\:bg-muted\/50:hover{background-color:hsl(var(--muted)/.5)}.hover\:bg-primary:hover{background-color:hsl(var(--primary))}.hover\:bg-primary\/10:hover{background-color:hsl(var(--primary)/.1)}.hover\:bg-primary\/80:hover{background-color:hsl(var(--primary)/.8)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary)/.9)}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary)/.8)}.hover\:bg-sidebar-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-successful\/80:hover{background-color:hsl(var(--successful)/.8)}.hover\:text-\[\#F4F4F5\]:hover{--tw-text-opacity:1;color:rgb(244 244 245/var(--tw-text-opacity))}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:text-destructive-foreground:hover{color:hsl(var(--destructive-foreground))}.hover\:text-destructive\/20:hover{color:hsl(var(--destructive)/.2)}.hover\:text-foreground\/50:hover{color:hsl(var(--foreground)/.5)}.hover\:text-muted-foreground:hover{color:hsl(var(--muted-foreground))}.hover\:text-popover-foreground:hover{color:hsl(var(--popover-foreground))}.hover\:text-primary:hover{color:hsl(var(--primary))}.hover\:text-primary-foreground:hover{color:hsl(var(--primary-foreground))}.hover\:text-sidebar-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.hover\:opacity-60:hover{opacity:.6}.hover\:opacity-70:hover{opacity:.7}.hover\:shadow-\[0_0_0_1px_hsl\(var\(--sidebar-accent\)\)\]:hover{--tw-shadow:0 0 0 1px hsl(var(--sidebar-accent));--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.hover\:after\:bg-sidebar-border:hover:after{content:var(--tw-content);background-color:hsl(var(--border))}.focus\:bg-accent:focus{background-color:hsl(var(--accent))}.focus\:bg-primary:focus{background-color:hsl(var(--primary))}.focus\:text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus\:text-primary-foreground:focus{color:hsl(var(--primary-foreground))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\:ring-ring:focus{--tw-ring-color:hsl(var(--ring))}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-0:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-1:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:hsl(var(--ring))}.focus-visible\:ring-sidebar-ring:focus-visible{--tw-ring-color:hsl(var(--ring))}.focus-visible\:ring-slate-700:focus-visible{--tw-ring-opacity:1;--tw-ring-color:rgb(51 65 85/var(--tw-ring-opacity))}.focus-visible\:ring-offset-0:focus-visible{--tw-ring-offset-width:0px}.focus-visible\:ring-offset-1:focus-visible{--tw-ring-offset-width:1px}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px}.focus-visible\:ring-offset-background:focus-visible{--tw-ring-offset-color:hsl(var(--background))}.active\:bg-blue-500:active{--tw-bg-opacity:1;background-color:rgb(59 130 246/var(--tw-bg-opacity))}.active\:bg-sidebar-accent:active{background-color:hsl(var(--accent))}.active\:text-sidebar-accent-foreground:active{color:hsl(var(--accent-foreground))}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.group:focus-within .group-focus-within\:flex{display:flex}.group:focus-within .group-focus-within\:pr-12{padding-right:3rem}.group:focus-within .group-focus-within\:pr-20{padding-right:5rem}.group\/menu-item:focus-within .group-focus-within\/menu-item\:opacity-100{opacity:1}.group:hover .group-hover\:flex{display:flex}.group\/filetree:hover .group-hover\/filetree\:border-border{border-color:hsl(var(--border))}.group:hover .group-hover\:pr-12{padding-right:3rem}.group:hover .group-hover\:pr-20{padding-right:5rem}.group\/symbol:hover .group-hover\/symbol\:text-primary{color:hsl(var(--primary))}.group:hover .group-hover\:opacity-100,.group\/menu-item:hover .group-hover\/menu-item\:opacity-100{opacity:1}.group.toaster .group-\[\.toaster\]\:border-border{border-color:hsl(var(--border))}.group.toast .group-\[\.toast\]\:bg-muted{background-color:hsl(var(--muted))}.group.toast .group-\[\.toast\]\:bg-primary{background-color:hsl(var(--primary))}.group.toaster .group-\[\.toaster\]\:bg-background{background-color:hsl(var(--background))}.group.toast .group-\[\.toast\]\:text-muted-foreground{color:hsl(var(--muted-foreground))}.group.toast .group-\[\.toast\]\:text-primary-foreground{color:hsl(var(--primary-foreground))}.group.toaster .group-\[\.toaster\]\:text-foreground{color:hsl(var(--foreground))}.group.toaster .group-\[\.toaster\]\:shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.peer\/menu-button:hover~.peer-hover\/menu-button\:text-sidebar-accent-foreground{color:hsl(var(--accent-foreground))}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.aria-disabled\:pointer-events-none[aria-disabled=true]{pointer-events:none}.aria-disabled\:opacity-50[aria-disabled=true]{opacity:.5}.aria-selected\:bg-accent[aria-selected=true]{background-color:hsl(var(--accent))}.aria-selected\:bg-accent\/50[aria-selected=true]{background-color:hsl(var(--accent)/.5)}.aria-selected\:text-accent-foreground[aria-selected=true]{color:hsl(var(--accent-foreground))}.aria-selected\:text-muted-foreground[aria-selected=true]{color:hsl(var(--muted-foreground))}.aria-selected\:opacity-100[aria-selected=true]{opacity:1}.aria-selected\:opacity-30[aria-selected=true]{opacity:.3}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[panel-group-direction\=vertical\]\:h-px[data-panel-group-direction=vertical]{height:1px}.data-\[panel-group-direction\=vertical\]\:w-full[data-panel-group-direction=vertical]{width:100%}.data-\[state\=checked\]\:translate-x-5[data-state=checked]{--tw-translate-x:1.25rem}.data-\[state\=checked\]\:translate-x-5[data-state=checked],.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked]{--tw-translate-x:0px}@keyframes accordion-up{0%{height:var(--radix-accordion-content-height)}to{height:0}}.data-\[state\=closed\]\:animate-accordion-up[data-state=closed]{animation:accordion-up .2s ease-out}@keyframes accordion-down{0%{height:0}to{height:var(--radix-accordion-content-height)}}.data-\[state\=open\]\:animate-accordion-down[data-state=open]{animation:accordion-down .2s ease-out}.data-\[panel-group-direction\=vertical\]\:flex-col[data-panel-group-direction=vertical]{flex-direction:column}.data-\[active\=true\]\:bg-sidebar-accent[data-active=true]{background-color:hsl(var(--accent))}.data-\[state\=active\]\:bg-background[data-state=active]{background-color:hsl(var(--background))}.data-\[state\=checked\]\:bg-primary[data-state=checked]{background-color:hsl(var(--primary))}.data-\[state\=on\]\:bg-accent[data-state=on]{background-color:hsl(var(--accent))}.data-\[state\=on\]\:bg-primary\/80[data-state=on]{background-color:hsl(var(--primary)/.8)}.data-\[state\=open\]\:bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=open\]\:bg-secondary[data-state=open]{background-color:hsl(var(--secondary))}.data-\[state\=selected\]\:bg-muted[data-state=selected]{background-color:hsl(var(--muted))}.data-\[state\=unchecked\]\:bg-input[data-state=unchecked]{background-color:hsl(var(--input))}.data-\[active\=true\]\:font-medium[data-active=true]{font-weight:500}.data-\[active\=true\]\:text-sidebar-accent-foreground[data-active=true]{color:hsl(var(--accent-foreground))}.data-\[state\=active\]\:text-foreground[data-state=active]{color:hsl(var(--foreground))}.data-\[state\=checked\]\:text-primary-foreground[data-state=checked]{color:hsl(var(--primary-foreground))}.data-\[state\=on\]\:text-accent-foreground[data-state=on]{color:hsl(var(--accent-foreground))}.data-\[state\=on\]\:text-primary-foreground[data-state=on]{color:hsl(var(--primary-foreground))}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:hsl(var(--muted-foreground))}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[state\=open\]\:opacity-100[data-state=open]{opacity:1}.data-\[state\=active\]\:shadow-sm[data-state=active]{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.data-\[state\=closed\]\:duration-300[data-state=closed]{transition-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{transition-duration:.5s}.data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.data-\[state\=closed\]\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity:initial;--tw-exit-scale:initial;--tw-exit-rotate:initial;--tw-exit-translate-x:initial;--tw-exit-translate-y:initial}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity:0}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity:0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale:.95}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale:.95}.data-\[side\=bottom\]\:slide-in-from-top-1[data-side=bottom]{--tw-enter-translate-y:-0.25rem}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:-0.5rem}.data-\[side\=left\]\:slide-in-from-right-1[data-side=left]{--tw-enter-translate-x:0.25rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:0.5rem}.data-\[side\=right\]\:slide-in-from-left-1[data-side=right]{--tw-enter-translate-x:-0.25rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:-0.5rem}.data-\[side\=top\]\:slide-in-from-bottom-1[data-side=top]{--tw-enter-translate-y:0.25rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:0.5rem}.data-\[state\=closed\]\:slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y:100%}.data-\[state\=closed\]\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x:-100%}.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed]{--tw-exit-translate-x:-50%}.data-\[state\=closed\]\:slide-out-to-right[data-state=closed]{--tw-exit-translate-x:100%}.data-\[state\=closed\]\:slide-out-to-top[data-state=closed]{--tw-exit-translate-y:-100%}.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed]{--tw-exit-translate-y:-48%}.data-\[state\=open\]\:slide-in-from-bottom[data-state=open]{--tw-enter-translate-y:100%}.data-\[state\=open\]\:slide-in-from-left[data-state=open]{--tw-enter-translate-x:-100%}.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open]{--tw-enter-translate-x:-50%}.data-\[state\=open\]\:slide-in-from-right[data-state=open]{--tw-enter-translate-x:100%}.data-\[state\=open\]\:slide-in-from-top[data-state=open]{--tw-enter-translate-y:-100%}.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open]{--tw-enter-translate-y:-48%}.data-\[state\=closed\]\:duration-300[data-state=closed]{animation-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{animation-duration:.5s}.data-\[panel-group-direction\=vertical\]\:after\:left-0[data-panel-group-direction=vertical]:after{content:var(--tw-content);left:0}.data-\[panel-group-direction\=vertical\]\:after\:h-1[data-panel-group-direction=vertical]:after{content:var(--tw-content);height:.25rem}.data-\[panel-group-direction\=vertical\]\:after\:w-full[data-panel-group-direction=vertical]:after{content:var(--tw-content);width:100%}.data-\[panel-group-direction\=vertical\]\:after\:-translate-y-1\/2[data-panel-group-direction=vertical]:after{content:var(--tw-content);--tw-translate-y:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[panel-group-direction\=vertical\]\:after\:translate-x-0[data-panel-group-direction=vertical]:after{content:var(--tw-content);--tw-translate-x:0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=open\]\:hover\:bg-sidebar-accent:hover[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=open\]\:hover\:text-sidebar-accent-foreground:hover[data-state=open]{color:hsl(var(--accent-foreground))}.group[data-collapsible=offcanvas] .group-data-\[collapsible\=offcanvas\]\:left-\[calc\(var\(--sidebar-width\)\*-1\)\]{left:calc(var(--sidebar-width) * -1)}.group[data-collapsible=offcanvas] .group-data-\[collapsible\=offcanvas\]\:right-\[calc\(var\(--sidebar-width\)\*-1\)\]{right:calc(var(--sidebar-width) * -1)}.group[data-side=left] .group-data-\[side\=left\]\:-right-4{right:-1rem}.group[data-side=right] .group-data-\[side\=right\]\:left-0{left:0}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:-mt-8{margin-top:-2rem}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:block{display:block}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:hidden{display:none}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:w-\[--sidebar-width-icon\]{width:var(--sidebar-width-icon)}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:w-\[calc\(var\(--sidebar-width-icon\)_\+_theme\(spacing\.4\)\)\]{width:calc(var(--sidebar-width-icon) + 1rem)}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:w-\[calc\(var\(--sidebar-width-icon\)_\+_theme\(spacing\.4\)_\+2px\)\]{width:calc(var(--sidebar-width-icon) + 1rem 2px)}.group[data-collapsible=offcanvas] .group-data-\[collapsible\=offcanvas\]\:w-0{width:0}.group[data-collapsible=offcanvas] .group-data-\[collapsible\=offcanvas\]\:translate-x-0{--tw-translate-x:0px}.group[data-collapsible=offcanvas] .group-data-\[collapsible\=offcanvas\]\:translate-x-0,.group[data-side=right] .group-data-\[side\=right\]\:rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group[data-side=right] .group-data-\[side\=right\]\:rotate-180{--tw-rotate:180deg}.group\/collapsible[data-state=open] .group-data-\[state\=open\]\/collapsible\:rotate-90{--tw-rotate:90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:overflow-hidden{overflow:hidden}.group[data-variant=floating] .group-data-\[variant\=floating\]\:rounded-lg{border-radius:var(--radius)}.group[data-variant=floating] .group-data-\[variant\=floating\]\:border{border-width:1px}.group[data-side=left] .group-data-\[side\=left\]\:border-r{border-right-width:1px}.group[data-side=right] .group-data-\[side\=right\]\:border-l{border-left-width:1px}.group[data-variant=floating] .group-data-\[variant\=floating\]\:border-sidebar-border{border-color:hsl(var(--border))}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:\!p-0{padding:0!important}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:\!p-2{padding:.5rem!important}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:opacity-0{opacity:0}.group[data-variant=floating] .group-data-\[variant\=floating\]\:shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.group[data-collapsible=offcanvas] .group-data-\[collapsible\=offcanvas\]\:after\:left-full:after{content:var(--tw-content);left:100%}.group[data-collapsible=offcanvas] .group-data-\[collapsible\=offcanvas\]\:hover\:bg-sidebar:hover{background-color:hsl(var(--background))}.peer\/menu-button[data-size=default]~.peer-data-\[size\=default\]\/menu-button\:top-1\.5{top:.375rem}.peer\/menu-button[data-size=lg]~.peer-data-\[size\=lg\]\/menu-button\:top-2\.5{top:.625rem}.peer\/menu-button[data-size=sm]~.peer-data-\[size\=sm\]\/menu-button\:top-1{top:.25rem}.peer\/menu-button[data-active=true]~.peer-data-\[active\=true\]\/menu-button\:text-sidebar-accent-foreground{color:hsl(var(--accent-foreground))}.prose-h1\:border-b :is(:where(h1):not(:where([class~=not-prose],[class~=not-prose] *))){border-bottom-width:1px}.prose-h1\:pb-2 :is(:where(h1):not(:where([class~=not-prose],[class~=not-prose] *))){padding-bottom:.5rem}.prose-h2\:border-b :is(:where(h2):not(:where([class~=not-prose],[class~=not-prose] *))){border-bottom-width:1px}.prose-h2\:pb-2 :is(:where(h2):not(:where([class~=not-prose],[class~=not-prose] *))){padding-bottom:.5rem}.prose-p\:my-0 :is(:where(p):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:0;margin-bottom:0}.prose-p\:mb-2 :is(:where(p):not(:where([class~=not-prose],[class~=not-prose] *))){margin-bottom:.5rem}.prose-p\:mt-0 :is(:where(p):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:0}.prose-p\:leading-relaxed :is(:where(p):not(:where([class~=not-prose],[class~=not-prose] *))){line-height:1.625}.prose-a\:text-primary :is(:where(a):not(:where([class~=not-prose],[class~=not-prose] *))){color:hsl(var(--primary))}.prose-pre\:mt-1 :is(:where(pre):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:.25rem}.prose-pre\:p-0 :is(:where(pre):not(:where([class~=not-prose],[class~=not-prose] *))){padding:0}.prose-img\:inline :is(:where(img):not(:where([class~=not-prose],[class~=not-prose] *))){display:inline}.prose-img\:w-auto :is(:where(img):not(:where([class~=not-prose],[class~=not-prose] *))){width:auto}.prose-img\:max-w-full :is(:where(img):not(:where([class~=not-prose],[class~=not-prose] *))){max-width:100%}:is(.dark .dark\:block){display:block}:is(.dark .dark\:hidden){display:none}:is(.dark .dark\:border-2){border-width:2px}:is(.dark .dark\:border-\[\#33363c\]){--tw-border-opacity:1;border-color:rgb(51 54 60/var(--tw-border-opacity))}:is(.dark .dark\:border-destructive){border-color:hsl(var(--destructive))}:is(.dark .dark\:border-muted-foreground){border-color:hsl(var(--muted-foreground))}:is(.dark .dark\:border-muted-foreground\/60){border-color:hsl(var(--muted-foreground)/.6)}:is(.dark .dark\:bg-\[\#333333\]){--tw-bg-opacity:1;background-color:rgb(51 51 51/var(--tw-bg-opacity))}:is(.dark .dark\:bg-\[\#3D382F\]){--tw-bg-opacity:1;background-color:rgb(61 56 47/var(--tw-bg-opacity))}:is(.dark .dark\:bg-\[\#4F483B\]){--tw-bg-opacity:1;background-color:rgb(79 72 59/var(--tw-bg-opacity))}:is(.dark .dark\:bg-\[hsl\(0\2c 0\2c 13\.5\%\)\]){--tw-bg-opacity:1;background-color:hsl(0 0 13.5%/var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800){--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}:is(.dark .dark\:text-green-500){--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity))}:is(.dark .dark\:text-red-500){--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-400){--tw-text-opacity:1;color:rgb(250 204 21/var(--tw-text-opacity))}:is(.dark .dark\:shadow-\[0px_-4px_4px_rgba\(255\2c 255\2c 255\2c 0\.2\)\]){--tw-shadow:0px -4px 4px hsla(0,0%,100%,.2);--tw-shadow-colored:0px -4px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}:is(.dark .dark\:shadow-\[0px_3px_8px_rgba\(255\2c 255\2c 255\2c 0\.3\)\]){--tw-shadow:0px 3px 8px hsla(0,0%,100%,.3);--tw-shadow-colored:0px 3px 8px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}:is(.dark .dark\:invert-0){--tw-invert:invert(0);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}:is(.dark .dark\:hover\:border-muted-foreground:hover){border-color:hsl(var(--muted-foreground))}@media (min-width:640px){.sm\:left-4{left:1rem}.sm\:right-4{right:1rem}.sm\:right-8{right:2rem}.sm\:mt-0{margin-top:0}.sm\:block{display:block}.sm\:flex{display:flex}.sm\:hidden{display:none}.sm\:max-w-sm{max-width:24rem}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-start{justify-content:flex-start}.sm\:justify-end{justify-content:flex-end}.sm\:gap-4{gap:1rem}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.sm\:space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:rounded-md{border-radius:calc(var(--radius) - 2px)}.sm\:rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.sm\:border{border-width:1px}.sm\:px-12{padding-left:3rem;padding-right:3rem}.sm\:py-0{padding-top:0;padding-bottom:0}.sm\:pl-4{padding-left:1rem}.sm\:text-left{text-align:left}.sm\:text-3xl{font-size:1.875rem;line-height:2.25rem}.sm\:text-7xl{font-size:4.5rem;line-height:1}.sm\:zoom-in-90{--tw-enter-scale:.9}.sm\:slide-in-from-bottom-0{--tw-enter-translate-y:0px}}@media (min-width:768px){.md\:absolute{position:absolute}.md\:-right-\[4rem\]{right:-4rem}.md\:-top-2{top:-.5rem}.md\:top-2{top:.5rem}.md\:my-8{margin-top:2rem;margin-bottom:2rem}.md\:-ml-4{margin-left:-1rem}.md\:ml-4{margin-left:1rem}.md\:block{display:block}.md\:flex{display:flex}.md\:hidden{display:none}.md\:h-8{height:2rem}.md\:w-36{width:9rem}.md\:w-8{width:2rem}.md\:w-\[150px\]{width:150px}.md\:w-\[180px\]{width:180px}.md\:w-\[190px\]{width:190px}.md\:w-\[240px\]{width:240px}.md\:w-\[30\%\]{width:30%}.md\:w-\[40\%\]{width:40%}.md\:w-\[430px\]{width:430px}.md\:w-auto{width:auto}.md\:w-full{width:100%}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:gap-x-8{-moz-column-gap:2rem;column-gap:2rem}.md\:gap-y-0{row-gap:0}.md\:space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.md\:space-x-6>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(1.5rem * var(--tw-space-x-reverse));margin-left:calc(1.5rem * calc(1 - var(--tw-space-x-reverse)))}.md\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.md\:px-1{padding-left:.25rem;padding-right:.25rem}.md\:px-4{padding-left:1rem;padding-right:1rem}.md\:px-5{padding-left:1.25rem;padding-right:1.25rem}.md\:py-0{padding-top:0;padding-bottom:0}.md\:py-4{padding-top:1rem;padding-bottom:1rem}.md\:pl-10{padding-left:2.5rem}.md\:pr-8{padding-right:2rem}.md\:pr-\[3\.75rem\]{padding-right:3.75rem}.md\:pt-0{padding-top:0}.md\:pt-10{padding-top:2.5rem}.md\:text-start{text-align:start}.md\:text-sm{font-size:.875rem;line-height:1.25rem}.md\:opacity-0{opacity:0}.after\:md\:hidden:after{content:var(--tw-content);display:none}.peer[data-variant=inset]~.md\:peer-data-\[variant\=inset\]\:m-2{margin:.5rem}.peer[data-state=collapsed][data-variant=inset]~.md\:peer-data-\[state\=collapsed\]\:peer-data-\[variant\=inset\]\:ml-2{margin-left:.5rem}.peer[data-variant=inset]~.md\:peer-data-\[variant\=inset\]\:ml-0{margin-left:0}.peer[data-variant=inset]~.md\:peer-data-\[variant\=inset\]\:rounded-xl{border-radius:.75rem}.peer[data-variant=inset]~.md\:peer-data-\[variant\=inset\]\:shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}}@media (min-width:1024px){.lg\:\!bottom-\[2\.85rem\]{bottom:2.85rem!important}.lg\:-m-10{margin:-2.5rem}.lg\:-mt-\[2vh\]{margin-top:-2vh}.lg\:mb-0{margin-bottom:0}.lg\:mt-0{margin-top:0}.lg\:mt-8{margin-top:2rem}.lg\:block{display:block}.lg\:flex{display:flex}.lg\:hidden{display:none}.lg\:w-1\/5{width:20%}.lg\:w-2\/3{width:66.666667%}.lg\:w-\[200px\]{width:200px}.lg\:w-\[250px\]{width:250px}.lg\:w-\[260px\]{width:260px}.lg\:w-\[340px\]{width:340px}.lg\:max-w-4xl{max-width:56rem}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}.lg\:flex-wrap{flex-wrap:wrap}.lg\:items-end{align-items:flex-end}.lg\:gap-x-10{-moz-column-gap:2.5rem;column-gap:2.5rem}.lg\:gap-y-0{row-gap:0}.lg\:break-words{overflow-wrap:break-word}.lg\:p-10{padding:2.5rem}.lg\:px-0{padding-left:0;padding-right:0}.lg\:px-10{padding-left:2.5rem;padding-right:2.5rem}.lg\:px-4{padding-left:1rem;padding-right:1rem}.lg\:pb-0{padding-bottom:0}.lg\:text-sm{font-size:.875rem;line-height:1.25rem}}@media (min-width:1280px){.xl\:ml-auto{margin-left:auto}.xl\:block{display:block}.xl\:flex{display:flex}.xl\:hidden{display:none}.xl\:w-\[20\%\]{width:20%}.xl\:w-\[800px\]{width:800px}.xl\:w-auto{width:auto}.xl\:flex-row{flex-direction:row}.xl\:items-center{align-items:center}.xl\:justify-start{justify-content:flex-start}.xl\:justify-between{justify-content:space-between}.xl\:pb-32{padding-bottom:8rem}}@media (min-width:1536px){.\32xl\:mx-auto{margin-left:auto;margin-right:auto}.\32xl\:block{display:block}.\32xl\:hidden{display:none}.\32xl\:max-w-5xl{max-width:64rem}}.\[\&\:has\(\[aria-selected\]\)\]\:bg-accent:has([aria-selected]){background-color:hsl(var(--accent))}.first\:\[\&\:has\(\[aria-selected\]\)\]\:rounded-l-md:has([aria-selected]):first-child{border-top-left-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}.last\:\[\&\:has\(\[aria-selected\]\)\]\:rounded-r-md:has([aria-selected]):last-child{border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.\[\&\:has\(\[aria-selected\]\.day-outside\)\]\:bg-accent\/50:has([aria-selected].day-outside){background-color:hsl(var(--accent)/.5)}.\[\&\:has\(\[aria-selected\]\.day-range-end\)\]\:rounded-r-md:has([aria-selected].day-range-end){border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:0}.\[\&\>button\]\:hidden>button{display:none}.\[\&\>div\]\:\!block>div{display:block!important}.\[\&\>span\:last-child\]\:truncate>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.\[\&\>svg\+div\]\:translate-y-\[-3px\]>svg+div{--tw-translate-y:-3px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>svg\]\:absolute>svg{position:absolute}.\[\&\>svg\]\:left-4>svg{left:1rem}.\[\&\>svg\]\:top-4>svg{top:1rem}.\[\&\>svg\]\:shrink-0>svg{flex-shrink:0}.\[\&\>svg\]\:text-destructive>svg{color:hsl(var(--destructive))}.\[\&\>svg\]\:text-foreground>svg{color:hsl(var(--foreground))}.\[\&\>svg\]\:text-sidebar-accent-foreground>svg{color:hsl(var(--accent-foreground))}.\[\&\>svg\~\*\]\:pl-7>svg~*{padding-left:1.75rem}.\[\&\>tr\]\:last\:border-b-0:last-child>tr{border-bottom-width:0}.\[\&\[data-panel-group-direction\=vertical\]\>div\]\:rotate-90[data-panel-group-direction=vertical]>div{--tw-rotate:90deg}.\[\&\[data-panel-group-direction\=vertical\]\>div\]\:rotate-90[data-panel-group-direction=vertical]>div,.\[\&\[data-state\=open\]\>svg\]\:rotate-180[data-state=open]>svg{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\[data-state\=open\]\>svg\]\:rotate-180[data-state=open]>svg{--tw-rotate:180deg}.\[\&_\[cmdk-group-heading\]\]\:px-2 [cmdk-group-heading]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-group-heading\]\]\:py-1\.5 [cmdk-group-heading]{padding-top:.375rem;padding-bottom:.375rem}.\[\&_\[cmdk-group-heading\]\]\:text-xs [cmdk-group-heading]{font-size:.75rem;line-height:1rem}.\[\&_\[cmdk-group-heading\]\]\:font-medium [cmdk-group-heading]{font-weight:500}.\[\&_\[cmdk-group-heading\]\]\:text-muted-foreground [cmdk-group-heading]{color:hsl(var(--muted-foreground))}.\[\&_\[cmdk-group\]\:not\(\[hidden\]\)_\~\[cmdk-group\]\]\:pt-0 [cmdk-group]:not([hidden])~[cmdk-group]{padding-top:0}.\[\&_\[cmdk-group\]\]\:px-2 [cmdk-group]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:h-5 [cmdk-input-wrapper] svg{height:1.25rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:w-5 [cmdk-input-wrapper] svg{width:1.25rem}.\[\&_\[cmdk-input\]\]\:h-12 [cmdk-input]{height:3rem}.\[\&_\[cmdk-item\]\]\:px-2 [cmdk-item]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-item\]\]\:py-3 [cmdk-item]{padding-top:.75rem;padding-bottom:.75rem}.\[\&_\[cmdk-item\]_svg\]\:h-5 [cmdk-item] svg{height:1.25rem}.\[\&_\[cmdk-item\]_svg\]\:w-5 [cmdk-item] svg{width:1.25rem}.\[\&_p\]\:leading-relaxed p{line-height:1.625}.\[\&_svg\]\:invisible svg{visibility:hidden}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-width:0}.\[\&_tr\]\:border-b tr{border-bottom-width:1px}[data-side=left][data-collapsible=offcanvas] .\[\[data-side\=left\]\[data-collapsible\=offcanvas\]_\&\]\:-right-2{right:-.5rem}[data-side=left][data-state=collapsed] .\[\[data-side\=left\]\[data-state\=collapsed\]_\&\]\:cursor-e-resize{cursor:e-resize}[data-side=left] .\[\[data-side\=left\]_\&\]\:cursor-w-resize{cursor:w-resize}[data-side=right][data-collapsible=offcanvas] .\[\[data-side\=right\]\[data-collapsible\=offcanvas\]_\&\]\:-left-2{left:-.5rem}[data-side=right][data-state=collapsed] .\[\[data-side\=right\]\[data-state\=collapsed\]_\&\]\:cursor-w-resize{cursor:w-resize}[data-side=right] .\[\[data-side\=right\]_\&\]\:cursor-e-resize{cursor:e-resize} \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/css/a687afeba4cf5598.css b/ee/tabby-webserver/ui/_next/static/css/a687afeba4cf5598.css new file mode 100644 index 000000000000..07654a9ccb96 --- /dev/null +++ b/ee/tabby-webserver/ui/_next/static/css/a687afeba4cf5598.css @@ -0,0 +1 @@ +.container{width:100%;margin-right:auto;margin-left:auto;padding-right:2rem;padding-left:2rem}@media (min-width:1400px){.container{max-width:1400px}}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-left-width:.25rem;border-left-color:var(--tw-prose-quote-borders);quotes:"\201C""\201D""\2018""\2019";margin-top:1.6em;margin-bottom:1.6em;padding-left:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows)/10%),0 3px 0 rgb(var(--tw-prose-kbd-shadows)/10%);font-size:.875em;border-radius:.3125rem;padding:.1875em .375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding:.8571429em 1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;text-align:left;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-right:.5714286em;padding-bottom:.5714286em;padding-left:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body:#374151;--tw-prose-headings:#111827;--tw-prose-lead:#4b5563;--tw-prose-links:#111827;--tw-prose-bold:#111827;--tw-prose-counters:#6b7280;--tw-prose-bullets:#d1d5db;--tw-prose-hr:#e5e7eb;--tw-prose-quotes:#111827;--tw-prose-quote-borders:#e5e7eb;--tw-prose-captions:#6b7280;--tw-prose-kbd:#111827;--tw-prose-kbd-shadows:17 24 39;--tw-prose-code:#111827;--tw-prose-pre-code:#e5e7eb;--tw-prose-pre-bg:#1f2937;--tw-prose-th-borders:#d1d5db;--tw-prose-td-borders:#e5e7eb;--tw-prose-invert-body:#d1d5db;--tw-prose-invert-headings:#fff;--tw-prose-invert-lead:#9ca3af;--tw-prose-invert-links:#fff;--tw-prose-invert-bold:#fff;--tw-prose-invert-counters:#9ca3af;--tw-prose-invert-bullets:#4b5563;--tw-prose-invert-hr:#374151;--tw-prose-invert-quotes:#f3f4f6;--tw-prose-invert-quote-borders:#374151;--tw-prose-invert-captions:#9ca3af;--tw-prose-invert-kbd:#fff;--tw-prose-invert-kbd-shadows:255 255 255;--tw-prose-invert-code:#fff;--tw-prose-invert-pre-code:#d1d5db;--tw-prose-invert-pre-bg:rgba(0,0,0,.5);--tw-prose-invert-th-borders:#4b5563;--tw-prose-invert-td-borders:#374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-left:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.codemirror-editor{--tag-blue-bg:213.75,100%,96.86%;--tag-blue-border:211.7,96.36%,78.43%;--tag-blue-text:224.28,76.33%,48.04%;--cm-selection-bg:214,81%,85%}.dark .codemirror-editor{--tag-blue-bg:213.12,93.9%,67.84%,0.15;--tag-blue-border:217.22,91.22%,59.8%;--tag-blue-text:213.12,93.9%,67.84%;--cm-selection-bg:216,29%,35%}:is(.dark .dark\:prose-invert){--tw-prose-body:var(--tw-prose-invert-body);--tw-prose-headings:var(--tw-prose-invert-headings);--tw-prose-lead:var(--tw-prose-invert-lead);--tw-prose-links:var(--tw-prose-invert-links);--tw-prose-bold:var(--tw-prose-invert-bold);--tw-prose-counters:var(--tw-prose-invert-counters);--tw-prose-bullets:var(--tw-prose-invert-bullets);--tw-prose-hr:var(--tw-prose-invert-hr);--tw-prose-quotes:var(--tw-prose-invert-quotes);--tw-prose-quote-borders:var(--tw-prose-invert-quote-borders);--tw-prose-captions:var(--tw-prose-invert-captions);--tw-prose-kbd:var(--tw-prose-invert-kbd);--tw-prose-kbd-shadows:var(--tw-prose-invert-kbd-shadows);--tw-prose-code:var(--tw-prose-invert-code);--tw-prose-pre-code:var(--tw-prose-invert-pre-code);--tw-prose-pre-bg:var(--tw-prose-invert-pre-bg);--tw-prose-th-borders:var(--tw-prose-invert-th-borders);--tw-prose-td-borders:var(--tw-prose-invert-td-borders)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.\!pointer-events-auto{pointer-events:auto!important}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.\!fixed{position:fixed!important}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.-inset-x-3{left:-.75rem;right:-.75rem}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.\!bottom-\[5\.4rem\]{bottom:5.4rem!important}.\!right-4{right:1rem!important}.\!top-auto{top:auto!important}.-left-2{left:-.5rem}.-right-8{right:-2rem}.-top-2{top:-.5rem}.-top-2\.5{top:-.625rem}.-top-px{top:-1px}.bottom-0{bottom:0}.bottom-1{bottom:.25rem}.bottom-10{bottom:2.5rem}.bottom-5{bottom:1.25rem}.left-0{left:0}.left-1{left:.25rem}.left-2{left:.5rem}.left-3{left:.75rem}.left-\[50\%\]{left:50%}.right-0{right:0}.right-1{right:.25rem}.right-2{right:.5rem}.right-3{right:.75rem}.right-4{right:1rem}.top-0{top:0}.top-0\.5{top:.125rem}.top-1{top:.25rem}.top-1\.5{top:.375rem}.top-16{top:4rem}.top-2{top:.5rem}.top-2\.5{top:.625rem}.top-3{top:.75rem}.top-3\.5{top:.875rem}.top-4{top:1rem}.top-9{top:2.25rem}.top-\[20vh\]{top:20vh}.top-\[50\%\]{top:50%}.-z-10{z-index:-10}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.-m-4{margin:-1rem}.m-0{margin:0}.m-1{margin:.25rem}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.-mx-2{margin-left:-.5rem;margin-right:-.5rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-1\.5{margin-left:.375rem;margin-right:.375rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-3\.5{margin-left:.875rem;margin-right:.875rem}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-0{margin-top:0;margin-bottom:0}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-3{margin-top:.75rem;margin-bottom:.75rem}.my-4{margin-top:1rem;margin-bottom:1rem}.-mb-2{margin-bottom:-.5rem}.-ml-1{margin-left:-.25rem}.-ml-1\.5{margin-left:-.375rem}.-ml-2{margin-left:-.5rem}.-ml-2\.5{margin-left:-.625rem}.-mt-0{margin-top:0}.-mt-0\.5{margin-top:-.125rem}.mb-0{margin-bottom:0}.mb-0\.5{margin-bottom:.125rem}.mb-1{margin-bottom:.25rem}.mb-1\.5{margin-bottom:.375rem}.mb-10{margin-bottom:2.5rem}.mb-2{margin-bottom:.5rem}.mb-2\.5{margin-bottom:.625rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-7{margin-bottom:1.75rem}.mb-8{margin-bottom:2rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-auto{margin-left:auto}.mr-0{margin-right:0}.mr-0\.5{margin-right:.125rem}.mr-1{margin-right:.25rem}.mr-1\.5{margin-right:.375rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mr-5{margin-right:1.25rem}.mr-\[0\.45rem\]{margin-right:.45rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-24{margin-top:6rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.line-clamp-1{-webkit-line-clamp:1}.line-clamp-1,.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical}.line-clamp-2{-webkit-line-clamp:2}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}.block{display:block}.inline-block{display:inline-block}.\!inline{display:inline!important}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.aspect-square{aspect-ratio:1/1}.\!h-\[4px\]{height:4px!important}.h-0{height:0}.h-1{height:.25rem}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-32{height:8rem}.h-4{height:1rem}.h-40{height:10rem}.h-48{height:12rem}.h-5{height:1.25rem}.h-56{height:14rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[100px\]{height:100px}.h-\[152px\]{height:152px}.h-\[180px\]{height:180px}.h-\[1px\]{height:1px}.h-\[250px\]{height:250px}.h-\[3\.375rem\]{height:3.375rem}.h-\[72vh\]{height:72vh}.h-\[calc\(100\%-4rem\)\]{height:calc(100% - 4rem)}.h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-36{max-height:9rem}.max-h-60{max-height:15rem}.max-h-\[286px\]{max-height:286px}.max-h-\[300px\]{max-height:300px}.max-h-\[30vh\]{max-height:30vh}.max-h-\[50vh\]{max-height:50vh}.max-h-\[60vh\]{max-height:60vh}.max-h-\[70vh\]{max-height:70vh}.min-h-0{min-height:0}.min-h-\[1\.75rem\]{min-height:1.75rem}.min-h-\[160px\]{min-height:160px}.min-h-\[2\.5rem\]{min-height:2.5rem}.min-h-\[200px\]{min-height:200px}.min-h-\[2rem\]{min-height:2rem}.min-h-\[3\.5em\]{min-height:3.5em}.min-h-\[3\.5rem\]{min-height:3.5rem}.min-h-\[30\.5rem\]{min-height:30.5rem}.min-h-\[30vh\]{min-height:30vh}.min-h-\[3rem\]{min-height:3rem}.min-h-\[5\.5rem\]{min-height:5.5rem}.min-h-\[5rem\]{min-height:5rem}.min-h-\[60px\]{min-height:60px}.min-h-\[80px\]{min-height:80px}.min-h-\[theme\(space\.9\)\]{min-height:2.25rem}.min-h-screen{min-height:100vh}.w-1{width:.25rem}.w-1\.5{width:.375rem}.w-1\/2{width:50%}.w-1\/3{width:33.333333%}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-20{width:5rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-32{width:8rem}.w-4{width:1rem}.w-40{width:10rem}.w-48{width:12rem}.w-5{width:1.25rem}.w-56{width:14rem}.w-6{width:1.5rem}.w-60{width:15rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-80{width:20rem}.w-9{width:2.25rem}.w-96{width:24rem}.w-\[--sidebar-width\]{width:var(--sidebar-width)}.w-\[100px\]{width:100px}.w-\[10rem\]{width:10rem}.w-\[128px\]{width:128px}.w-\[140px\]{width:140px}.w-\[15\%\]{width:15%}.w-\[190px\]{width:190px}.w-\[1px\]{width:1px}.w-\[20\%\]{width:20%}.w-\[200px\]{width:200px}.w-\[20vw\]{width:20vw}.w-\[240px\]{width:240px}.w-\[25\%\]{width:25%}.w-\[268px\]{width:268px}.w-\[30\%\]{width:30%}.w-\[35\%\]{width:35%}.w-\[350px\]{width:350px}.w-\[40\%\]{width:40%}.w-\[400px\]{width:400px}.w-\[45\%\]{width:45%}.w-\[60\%\]{width:60%}.w-\[600px\]{width:600px}.w-\[60px\]{width:60px}.w-\[60vw\]{width:60vw}.w-\[68px\]{width:68px}.w-\[70\%\]{width:70%}.w-\[70px\]{width:70px}.w-\[80\%\]{width:80%}.w-\[80vw\]{width:80vw}.w-\[calc\(100vw-2rem\)\]{width:calc(100vw - 2rem)}.w-\[theme\(space\.48\)\]{width:12rem}.w-\[var\(--radix-popover-trigger-width\)\]{width:var(--radix-popover-trigger-width)}.w-auto{width:auto}.w-full{width:100%}.w-px{width:1px}.w-screen{width:100vw}.min-w-0{min-width:0}.min-w-\[10rem\]{min-width:10rem}.min-w-\[20rem\]{min-width:20rem}.min-w-\[20vw\]{min-width:20vw}.min-w-\[2rem\]{min-width:2rem}.min-w-\[300px\]{min-width:300px}.min-w-\[400px\]{min-width:400px}.min-w-\[8rem\]{min-width:8rem}.min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.min-w-max{min-width:-moz-max-content;min-width:max-content}.max-w-2xl{max-width:42rem}.max-w-\[--skeleton-width\]{max-width:var(--skeleton-width)}.max-w-\[200px\]{max-width:200px}.max-w-\[300px\]{max-width:300px}.max-w-\[320px\]{max-width:320px}.max-w-\[80vw\]{max-width:80vw}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-none{max-width:none}.max-w-xl{max-width:36rem}.flex-1{flex:1 1 0%}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.table-fixed{table-layout:fixed}.caption-bottom{caption-side:bottom}.border-collapse{border-collapse:collapse}.-translate-x-1\/2{--tw-translate-x:-50%}.-translate-x-1\/2,.-translate-x-px{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-px{--tw-translate-x:-1px}.translate-x-\[-50\%\]{--tw-translate-x:-50%}.translate-x-\[-50\%\],.translate-x-px{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-px{--tw-translate-x:1px}.translate-y-0{--tw-translate-y:0px}.translate-y-0,.translate-y-1{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-1{--tw-translate-y:0.25rem}.translate-y-10{--tw-translate-y:2.5rem}.translate-y-10,.translate-y-\[-50\%\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[-50\%\]{--tw-translate-y:-50%}.-rotate-90{--tw-rotate:-90deg}.-rotate-90,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.rotate-45{--tw-rotate:45deg}.rotate-45,.rotate-90{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate:90deg}.scale-100{--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.\!cursor-default{cursor:default!important}.cursor-auto{cursor:auto}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.cursor-text{cursor:text}.touch-none{touch-action:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.scroll-m-20{scroll-margin:5rem}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.flex-nowrap{flex-wrap:nowrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0{gap:0}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.gap-x-1\.5{-moz-column-gap:.375rem;column-gap:.375rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.gap-x-3{-moz-column-gap:.75rem;column-gap:.75rem}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.gap-x-5{-moz-column-gap:1.25rem;column-gap:1.25rem}.gap-x-6{-moz-column-gap:1.5rem;column-gap:1.5rem}.gap-y-0{row-gap:0}.gap-y-0\.5{row-gap:.125rem}.gap-y-1{row-gap:.25rem}.gap-y-1\.5{row-gap:.375rem}.gap-y-2{row-gap:.5rem}.gap-y-3{row-gap:.75rem}.gap-y-5{row-gap:1.25rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-10>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(2.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2.5rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.self-start{align-self:flex-start}.self-center{align-self:center}.self-stretch{align-self:stretch}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-hidden{overflow-y:hidden}.overflow-y-scroll{overflow-y:scroll}.truncate{overflow:hidden;white-space:nowrap}.text-ellipsis,.truncate{text-overflow:ellipsis}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-none{border-radius:0}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-xl{border-radius:.75rem}.rounded-b-lg{border-bottom-right-radius:var(--radius);border-bottom-left-radius:var(--radius)}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-t-lg{border-top-left-radius:var(--radius);border-top-right-radius:var(--radius)}.border{border-width:1px}.border-0{border-width:0}.border-2{border-width:2px}.border-4{border-width:4px}.border-\[2px\]{border-width:2px}.border-b{border-bottom-width:1px}.border-b-0{border-bottom-width:0}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-t-0{border-top-width:0}.border-dashed{border-style:dashed}.\!border-none{border-style:none!important}.border-none{border-style:none}.border-\[\#b3ada0\]{--tw-border-opacity:1;border-color:rgb(179 173 160/var(--tw-border-opacity))}.border-destructive\/50{border-color:hsl(var(--destructive)/.5)}.border-foreground{border-color:hsl(var(--foreground))}.border-input{border-color:hsl(var(--input))}.border-muted-foreground{border-color:hsl(var(--muted-foreground))}.border-primary{border-color:hsl(var(--primary))}.border-ring{border-color:hsl(var(--ring))}.border-secondary-foreground\/60{border-color:hsl(var(--secondary-foreground)/.6)}.border-sidebar-border{border-color:hsl(var(--border))}.border-transparent{border-color:transparent}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.border-l-border{border-left-color:hsl(var(--border))}.border-l-transparent{border-left-color:transparent}.border-t-transparent{border-top-color:transparent}.border-opacity-30{--tw-border-opacity:0.3}.\!bg-background{background-color:hsl(var(--background))!important}.\!bg-muted{background-color:hsl(var(--muted))!important}.\!bg-muted\/80{background-color:hsl(var(--muted)/.8)!important}.bg-\[\#F9F6EF\]{--tw-bg-opacity:1;background-color:rgb(249 246 239/var(--tw-bg-opacity))}.bg-\[\#FBF5ED\]{--tw-bg-opacity:1;background-color:rgb(251 245 237/var(--tw-bg-opacity))}.bg-\[\#FEFCF8\]{--tw-bg-opacity:1;background-color:rgb(254 252 248/var(--tw-bg-opacity))}.bg-\[\#e8e1d3\]{--tw-bg-opacity:1;background-color:rgb(232 225 211/var(--tw-bg-opacity))}.bg-\[hsl\(var\(--mark-bg\)\)\]{background-color:hsl(var(--mark-bg))}.bg-accent{background-color:hsl(var(--accent))}.bg-background{background-color:hsl(var(--background))}.bg-background\/60{background-color:hsl(var(--background)/.6)}.bg-background\/80{background-color:hsl(var(--background)/.8)}.bg-background\/90{background-color:hsl(var(--background)/.9)}.bg-black\/80{background-color:rgba(0,0,0,.8)}.bg-blue-600{--tw-bg-opacity:1;background-color:rgb(37 99 235/var(--tw-bg-opacity))}.bg-border{background-color:hsl(var(--border))}.bg-border\/40{background-color:hsl(var(--border)/.4)}.bg-card{background-color:hsl(var(--card))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-gray-50{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.bg-green-600{--tw-bg-opacity:1;background-color:rgb(22 163 74/var(--tw-bg-opacity))}.bg-input\/40{background-color:hsl(var(--input)/.4)}.bg-muted{background-color:hsl(var(--muted))}.bg-muted\/30{background-color:hsl(var(--muted)/.3)}.bg-muted\/50{background-color:hsl(var(--muted)/.5)}.bg-popover{background-color:hsl(var(--popover))}.bg-primary{background-color:hsl(var(--primary))}.bg-primary-foreground\/30{background-color:hsl(var(--primary-foreground)/.3)}.bg-red-400{--tw-bg-opacity:1;background-color:rgb(248 113 113/var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity:1;background-color:rgb(220 38 38/var(--tw-bg-opacity))}.bg-secondary{background-color:hsl(var(--secondary))}.bg-sidebar{background-color:hsl(var(--background))}.bg-sidebar-border{background-color:hsl(var(--border))}.bg-successful{background-color:hsl(var(--successful))}.bg-transparent{background-color:transparent}.bg-zinc-800{--tw-bg-opacity:1;background-color:rgb(39 39 42/var(--tw-bg-opacity))}.bg-zinc-950{--tw-bg-opacity:1;background-color:rgb(9 9 11/var(--tw-bg-opacity))}.fill-current{fill:currentColor}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-\[1px\]{padding:1px}.px-0{padding-left:0;padding-right:0}.px-0\.5{padding-left:.125rem;padding-right:.125rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.px-\[1\.125rem\]{padding-left:1.125rem;padding-right:1.125rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-3\.5{padding-top:.875rem;padding-bottom:.875rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-40{padding-top:10rem;padding-bottom:10rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.py-\[1\.3rem\]{padding-top:1.3rem;padding-bottom:1.3rem}.py-\[1px\]{padding-top:1px;padding-bottom:1px}.pb-0{padding-bottom:0}.pb-0\.5{padding-bottom:.125rem}.pb-1{padding-bottom:.25rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-32{padding-bottom:8rem}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pb-8{padding-bottom:2rem}.pb-\[200px\]{padding-bottom:200px}.pl-0{padding-left:0}.pl-1{padding-left:.25rem}.pl-12{padding-left:3rem}.pl-2{padding-left:.5rem}.pl-2\.5{padding-left:.625rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pl-6{padding-left:1.5rem}.pl-8{padding-left:2rem}.pr-0{padding-right:0}.pr-1{padding-right:.25rem}.pr-2{padding-right:.5rem}.pr-2\.5{padding-right:.625rem}.pr-24{padding-right:6rem}.pr-4{padding-right:1rem}.pr-5{padding-right:1.25rem}.pt-0{padding-top:0}.pt-0\.5{padding-top:.125rem}.pt-1{padding-top:.25rem}.pt-16{padding-top:4rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-end{text-align:end}.align-middle{vertical-align:middle}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:var(--font-sans),ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-6xl{font-size:3.75rem;line-height:1}.text-\[0\.8rem\]{font-size:.8rem}.text-\[0\.9rem\]{font-size:.9rem}.text-\[10px\]{font-size:10px}.text-\[1rem\],.text-base{font-size:1rem}.text-base{line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-4{line-height:1rem}.leading-5{line-height:1.25rem}.leading-7{line-height:1.75rem}.leading-8{line-height:2rem}.leading-none{line-height:1}.leading-normal{line-height:1.5}.tracking-normal{letter-spacing:0}.tracking-tight{letter-spacing:-.025em}.tracking-widest{letter-spacing:.1em}.\!text-muted-foreground{color:hsl(var(--muted-foreground))!important}.\!text-primary{color:hsl(var(--primary))!important}.text-\[\#030302\]{--tw-text-opacity:1;color:rgb(3 3 2/var(--tw-text-opacity))}.text-accent-foreground{color:hsl(var(--accent-foreground))}.text-card-foreground{color:hsl(var(--card-foreground))}.text-card-foreground\/70{color:hsl(var(--card-foreground)/.7)}.text-current{color:currentColor}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-foreground{color:hsl(var(--foreground))}.text-foreground\/70{color:hsl(var(--foreground)/.7)}.text-green-500{--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity))}.text-green-600{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity))}.text-link{color:hsl(var(--link))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.text-secondary-foreground\/60{color:hsl(var(--secondary-foreground)/.6)}.text-sidebar-foreground{color:hsl(var(--foreground))}.text-sidebar-foreground\/70{color:hsl(var(--foreground)/.7)}.text-successful-foreground{color:hsl(var(--successful-foreground))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.text-yellow-600{--tw-text-opacity:1;color:rgb(202 138 4/var(--tw-text-opacity))}.text-zinc-100{--tw-text-opacity:1;color:rgb(244 244 245/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.line-through{text-decoration-line:line-through}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.\!placeholder-foreground::-moz-placeholder{color:hsl(var(--foreground))!important}.\!placeholder-foreground::placeholder{color:hsl(var(--foreground))!important}.\!opacity-100{opacity:1!important}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-80{opacity:.8}.\!shadow-none{--tw-shadow:0 0 #0000!important;--tw-shadow-colored:0 0 #0000!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-2xl{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px rgba(0,0,0,.25);--tw-shadow-colored:0 25px 50px -12px var(--tw-shadow-color)}.shadow-\[0_0_0_1px_hsl\(var\(--sidebar-border\)\)\]{--tw-shadow:0 0 0 1px hsl(var(--sidebar-border));--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-\[0px_-4px_4px_rgba\(0\2c 0\2c 0\2c 0\.2\)\]{--tw-shadow:0px -4px 4px rgba(0,0,0,.2);--tw-shadow-colored:0px -4px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-\[0px_3px_8px_rgba\(0\2c 0\2c 0\2c 0\.3\)\]{--tw-shadow:0px 3px 8px rgba(0,0,0,.3);--tw-shadow-colored:0px 3px 8px var(--tw-shadow-color)}.shadow-\[0px_3px_8px_rgba\(0\2c 0\2c 0\2c 0\.3\)\],.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.shadow-md,.shadow-none{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.\!outline-none{outline:2px solid transparent!important;outline-offset:2px!important}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.outline-ring{outline-color:hsl(var(--ring))}.\!ring-0{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.ring-0{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-sidebar-ring{--tw-ring-color:hsl(var(--ring))}.\!ring-offset-0{--tw-ring-offset-width:0px!important}.ring-offset-background{--tw-ring-offset-color:hsl(var(--background))}.blur{--tw-blur:blur(8px)}.blur,.invert{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.invert{--tw-invert:invert(100%)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur:blur(4px)}.backdrop-blur-sm,.backdrop-blur-xl{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-blur-xl{--tw-backdrop-blur:blur(24px)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[height\2c opacity\]{transition-property:height,opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[left\2c right\2c width\2c top\]{transition-property:left,right,width,top;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[margin\2c opa\]{transition-property:margin,opa;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[opacity\2c height\]{transition-property:opacity,height;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[width\2c height\2c padding\]{transition-property:width,height,padding;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[width\]{transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-linear{transition-timing-function:linear}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0) scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1)) rotate(var(--tw-enter-rotate,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0) scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1)) rotate(var(--tw-exit-rotate,0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.fade-in{--tw-enter-opacity:0}.fade-in-50{--tw-enter-opacity:0.5}.fade-in-80{--tw-enter-opacity:0.8}.fade-in-90{--tw-enter-opacity:0.9}.slide-in-from-bottom-10{--tw-enter-translate-y:2.5rem}.duration-200{animation-duration:.2s}.duration-300{animation-duration:.3s}.duration-500{animation-duration:.5s}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.ease-linear{animation-timing-function:linear}.ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}.running{animation-play-state:running}:root{--mark-bg:60 82% 62%}.dark{--mark-bg:40,40%,25%}.file\:border-0::file-selector-button{border-width:0}.file\:bg-transparent::file-selector-button{background-color:transparent}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.placeholder\:translate-y-\[10\%\]::-moz-placeholder{--tw-translate-y:10%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.placeholder\:translate-y-\[10\%\]::placeholder{--tw-translate-y:10%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.placeholder\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:-inset-2:after{content:var(--tw-content);inset:-.5rem}.after\:inset-y-0:after{content:var(--tw-content);top:0;bottom:0}.after\:left-1\/2:after{content:var(--tw-content);left:50%}.after\:ml-0:after{content:var(--tw-content);margin-left:0}.after\:ml-0\.5:after{content:var(--tw-content);margin-left:.125rem}.after\:w-1:after{content:var(--tw-content);width:.25rem}.after\:w-\[2px\]:after{content:var(--tw-content);width:2px}.after\:-translate-x-1\/2:after{content:var(--tw-content);--tw-translate-x:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.after\:text-destructive:after{content:var(--tw-content);color:hsl(var(--destructive))}.after\:content-\[\"\*\"\]:after{--tw-content:"*";content:var(--tw-content)}.first\:mt-0:first-child{margin-top:0}.last\:mb-0:last-child{margin-bottom:0}.focus-within\:relative:focus-within{position:relative}.focus-within\:z-20:focus-within{z-index:20}.focus-within\:outline-none:focus-within{outline:2px solid transparent;outline-offset:2px}.hover\:border-ring:hover{border-color:hsl(var(--ring))}.hover\:bg-\[\#3C382F\]:hover{--tw-bg-opacity:1;background-color:rgb(60 56 47/var(--tw-bg-opacity))}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-background:hover{background-color:hsl(var(--background))}.hover\:bg-blue-500:hover{--tw-bg-opacity:1;background-color:rgb(59 130 246/var(--tw-bg-opacity))}.hover\:bg-border:hover{background-color:hsl(var(--border))}.hover\:bg-card\/60:hover{background-color:hsl(var(--card)/.6)}.hover\:bg-destructive\/80:hover{background-color:hsl(var(--destructive)/.8)}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive)/.9)}.hover\:bg-muted:hover{background-color:hsl(var(--muted))}.hover\:bg-muted\/50:hover{background-color:hsl(var(--muted)/.5)}.hover\:bg-primary:hover{background-color:hsl(var(--primary))}.hover\:bg-primary\/10:hover{background-color:hsl(var(--primary)/.1)}.hover\:bg-primary\/80:hover{background-color:hsl(var(--primary)/.8)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary)/.9)}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary)/.8)}.hover\:bg-sidebar-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-successful\/80:hover{background-color:hsl(var(--successful)/.8)}.hover\:text-\[\#F4F4F5\]:hover{--tw-text-opacity:1;color:rgb(244 244 245/var(--tw-text-opacity))}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:text-destructive-foreground:hover{color:hsl(var(--destructive-foreground))}.hover\:text-destructive\/20:hover{color:hsl(var(--destructive)/.2)}.hover\:text-foreground\/50:hover{color:hsl(var(--foreground)/.5)}.hover\:text-muted-foreground:hover{color:hsl(var(--muted-foreground))}.hover\:text-popover-foreground:hover{color:hsl(var(--popover-foreground))}.hover\:text-primary:hover{color:hsl(var(--primary))}.hover\:text-primary-foreground:hover{color:hsl(var(--primary-foreground))}.hover\:text-sidebar-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.hover\:opacity-60:hover{opacity:.6}.hover\:opacity-70:hover{opacity:.7}.hover\:shadow-\[0_0_0_1px_hsl\(var\(--sidebar-accent\)\)\]:hover{--tw-shadow:0 0 0 1px hsl(var(--sidebar-accent));--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.hover\:after\:bg-sidebar-border:hover:after{content:var(--tw-content);background-color:hsl(var(--border))}.focus\:bg-accent:focus{background-color:hsl(var(--accent))}.focus\:bg-primary:focus{background-color:hsl(var(--primary))}.focus\:text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus\:text-primary-foreground:focus{color:hsl(var(--primary-foreground))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\:ring-ring:focus{--tw-ring-color:hsl(var(--ring))}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-0:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-1:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:hsl(var(--ring))}.focus-visible\:ring-sidebar-ring:focus-visible{--tw-ring-color:hsl(var(--ring))}.focus-visible\:ring-slate-700:focus-visible{--tw-ring-opacity:1;--tw-ring-color:rgb(51 65 85/var(--tw-ring-opacity))}.focus-visible\:ring-offset-0:focus-visible{--tw-ring-offset-width:0px}.focus-visible\:ring-offset-1:focus-visible{--tw-ring-offset-width:1px}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px}.focus-visible\:ring-offset-background:focus-visible{--tw-ring-offset-color:hsl(var(--background))}.active\:bg-blue-500:active{--tw-bg-opacity:1;background-color:rgb(59 130 246/var(--tw-bg-opacity))}.active\:bg-sidebar-accent:active{background-color:hsl(var(--accent))}.active\:text-sidebar-accent-foreground:active{color:hsl(var(--accent-foreground))}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.group:focus-within .group-focus-within\:flex{display:flex}.group:focus-within .group-focus-within\:pr-12{padding-right:3rem}.group:focus-within .group-focus-within\:pr-20{padding-right:5rem}.group\/menu-item:focus-within .group-focus-within\/menu-item\:opacity-100{opacity:1}.group:hover .group-hover\:flex{display:flex}.group\/filetree:hover .group-hover\/filetree\:border-border{border-color:hsl(var(--border))}.group:hover .group-hover\:pr-12{padding-right:3rem}.group:hover .group-hover\:pr-20{padding-right:5rem}.group\/symbol:hover .group-hover\/symbol\:text-primary{color:hsl(var(--primary))}.group:hover .group-hover\:opacity-100,.group\/menu-item:hover .group-hover\/menu-item\:opacity-100{opacity:1}.group.toaster .group-\[\.toaster\]\:border-border{border-color:hsl(var(--border))}.group.toast .group-\[\.toast\]\:bg-muted{background-color:hsl(var(--muted))}.group.toast .group-\[\.toast\]\:bg-primary{background-color:hsl(var(--primary))}.group.toaster .group-\[\.toaster\]\:bg-background{background-color:hsl(var(--background))}.group.toast .group-\[\.toast\]\:text-muted-foreground{color:hsl(var(--muted-foreground))}.group.toast .group-\[\.toast\]\:text-primary-foreground{color:hsl(var(--primary-foreground))}.group.toaster .group-\[\.toaster\]\:text-foreground{color:hsl(var(--foreground))}.group.toaster .group-\[\.toaster\]\:shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.peer\/menu-button:hover~.peer-hover\/menu-button\:text-sidebar-accent-foreground{color:hsl(var(--accent-foreground))}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.aria-disabled\:pointer-events-none[aria-disabled=true]{pointer-events:none}.aria-disabled\:opacity-50[aria-disabled=true]{opacity:.5}.aria-selected\:bg-accent[aria-selected=true]{background-color:hsl(var(--accent))}.aria-selected\:bg-accent\/50[aria-selected=true]{background-color:hsl(var(--accent)/.5)}.aria-selected\:text-accent-foreground[aria-selected=true]{color:hsl(var(--accent-foreground))}.aria-selected\:text-muted-foreground[aria-selected=true]{color:hsl(var(--muted-foreground))}.aria-selected\:opacity-100[aria-selected=true]{opacity:1}.aria-selected\:opacity-30[aria-selected=true]{opacity:.3}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[panel-group-direction\=vertical\]\:h-px[data-panel-group-direction=vertical]{height:1px}.data-\[panel-group-direction\=vertical\]\:w-full[data-panel-group-direction=vertical]{width:100%}.data-\[state\=checked\]\:translate-x-5[data-state=checked]{--tw-translate-x:1.25rem}.data-\[state\=checked\]\:translate-x-5[data-state=checked],.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked]{--tw-translate-x:0px}@keyframes accordion-up{0%{height:var(--radix-accordion-content-height)}to{height:0}}.data-\[state\=closed\]\:animate-accordion-up[data-state=closed]{animation:accordion-up .2s ease-out}@keyframes accordion-down{0%{height:0}to{height:var(--radix-accordion-content-height)}}.data-\[state\=open\]\:animate-accordion-down[data-state=open]{animation:accordion-down .2s ease-out}.data-\[panel-group-direction\=vertical\]\:flex-col[data-panel-group-direction=vertical]{flex-direction:column}.data-\[active\=true\]\:bg-sidebar-accent[data-active=true]{background-color:hsl(var(--accent))}.data-\[state\=active\]\:bg-background[data-state=active]{background-color:hsl(var(--background))}.data-\[state\=checked\]\:bg-primary[data-state=checked]{background-color:hsl(var(--primary))}.data-\[state\=on\]\:bg-accent[data-state=on]{background-color:hsl(var(--accent))}.data-\[state\=on\]\:bg-primary\/80[data-state=on]{background-color:hsl(var(--primary)/.8)}.data-\[state\=open\]\:bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=open\]\:bg-secondary[data-state=open]{background-color:hsl(var(--secondary))}.data-\[state\=selected\]\:bg-muted[data-state=selected]{background-color:hsl(var(--muted))}.data-\[state\=unchecked\]\:bg-input[data-state=unchecked]{background-color:hsl(var(--input))}.data-\[active\=true\]\:font-medium[data-active=true]{font-weight:500}.data-\[active\=true\]\:text-sidebar-accent-foreground[data-active=true]{color:hsl(var(--accent-foreground))}.data-\[state\=active\]\:text-foreground[data-state=active]{color:hsl(var(--foreground))}.data-\[state\=checked\]\:text-primary-foreground[data-state=checked]{color:hsl(var(--primary-foreground))}.data-\[state\=on\]\:text-accent-foreground[data-state=on]{color:hsl(var(--accent-foreground))}.data-\[state\=on\]\:text-primary-foreground[data-state=on]{color:hsl(var(--primary-foreground))}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:hsl(var(--muted-foreground))}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[state\=open\]\:opacity-100[data-state=open]{opacity:1}.data-\[state\=active\]\:shadow-sm[data-state=active]{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.data-\[state\=closed\]\:duration-300[data-state=closed]{transition-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{transition-duration:.5s}.data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.data-\[state\=closed\]\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity:initial;--tw-exit-scale:initial;--tw-exit-rotate:initial;--tw-exit-translate-x:initial;--tw-exit-translate-y:initial}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity:0}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity:0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale:.95}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale:.95}.data-\[side\=bottom\]\:slide-in-from-top-1[data-side=bottom]{--tw-enter-translate-y:-0.25rem}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:-0.5rem}.data-\[side\=left\]\:slide-in-from-right-1[data-side=left]{--tw-enter-translate-x:0.25rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:0.5rem}.data-\[side\=right\]\:slide-in-from-left-1[data-side=right]{--tw-enter-translate-x:-0.25rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:-0.5rem}.data-\[side\=top\]\:slide-in-from-bottom-1[data-side=top]{--tw-enter-translate-y:0.25rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:0.5rem}.data-\[state\=closed\]\:slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y:100%}.data-\[state\=closed\]\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x:-100%}.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed]{--tw-exit-translate-x:-50%}.data-\[state\=closed\]\:slide-out-to-right[data-state=closed]{--tw-exit-translate-x:100%}.data-\[state\=closed\]\:slide-out-to-top[data-state=closed]{--tw-exit-translate-y:-100%}.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed]{--tw-exit-translate-y:-48%}.data-\[state\=open\]\:slide-in-from-bottom[data-state=open]{--tw-enter-translate-y:100%}.data-\[state\=open\]\:slide-in-from-left[data-state=open]{--tw-enter-translate-x:-100%}.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open]{--tw-enter-translate-x:-50%}.data-\[state\=open\]\:slide-in-from-right[data-state=open]{--tw-enter-translate-x:100%}.data-\[state\=open\]\:slide-in-from-top[data-state=open]{--tw-enter-translate-y:-100%}.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open]{--tw-enter-translate-y:-48%}.data-\[state\=closed\]\:duration-300[data-state=closed]{animation-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{animation-duration:.5s}.data-\[panel-group-direction\=vertical\]\:after\:left-0[data-panel-group-direction=vertical]:after{content:var(--tw-content);left:0}.data-\[panel-group-direction\=vertical\]\:after\:h-1[data-panel-group-direction=vertical]:after{content:var(--tw-content);height:.25rem}.data-\[panel-group-direction\=vertical\]\:after\:w-full[data-panel-group-direction=vertical]:after{content:var(--tw-content);width:100%}.data-\[panel-group-direction\=vertical\]\:after\:-translate-y-1\/2[data-panel-group-direction=vertical]:after{content:var(--tw-content);--tw-translate-y:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[panel-group-direction\=vertical\]\:after\:translate-x-0[data-panel-group-direction=vertical]:after{content:var(--tw-content);--tw-translate-x:0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=open\]\:hover\:bg-sidebar-accent:hover[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=open\]\:hover\:text-sidebar-accent-foreground:hover[data-state=open]{color:hsl(var(--accent-foreground))}.group[data-collapsible=offcanvas] .group-data-\[collapsible\=offcanvas\]\:left-\[calc\(var\(--sidebar-width\)\*-1\)\]{left:calc(var(--sidebar-width) * -1)}.group[data-collapsible=offcanvas] .group-data-\[collapsible\=offcanvas\]\:right-\[calc\(var\(--sidebar-width\)\*-1\)\]{right:calc(var(--sidebar-width) * -1)}.group[data-side=left] .group-data-\[side\=left\]\:-right-4{right:-1rem}.group[data-side=right] .group-data-\[side\=right\]\:left-0{left:0}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:-mt-8{margin-top:-2rem}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:block{display:block}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:hidden{display:none}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:w-\[--sidebar-width-icon\]{width:var(--sidebar-width-icon)}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:w-\[calc\(var\(--sidebar-width-icon\)_\+_theme\(spacing\.4\)\)\]{width:calc(var(--sidebar-width-icon) + 1rem)}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:w-\[calc\(var\(--sidebar-width-icon\)_\+_theme\(spacing\.4\)_\+2px\)\]{width:calc(var(--sidebar-width-icon) + 1rem 2px)}.group[data-collapsible=offcanvas] .group-data-\[collapsible\=offcanvas\]\:w-0{width:0}.group[data-collapsible=offcanvas] .group-data-\[collapsible\=offcanvas\]\:translate-x-0{--tw-translate-x:0px}.group[data-collapsible=offcanvas] .group-data-\[collapsible\=offcanvas\]\:translate-x-0,.group[data-side=right] .group-data-\[side\=right\]\:rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group[data-side=right] .group-data-\[side\=right\]\:rotate-180{--tw-rotate:180deg}.group\/collapsible[data-state=open] .group-data-\[state\=open\]\/collapsible\:rotate-90{--tw-rotate:90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:overflow-hidden{overflow:hidden}.group[data-variant=floating] .group-data-\[variant\=floating\]\:rounded-lg{border-radius:var(--radius)}.group[data-variant=floating] .group-data-\[variant\=floating\]\:border{border-width:1px}.group[data-side=left] .group-data-\[side\=left\]\:border-r{border-right-width:1px}.group[data-side=right] .group-data-\[side\=right\]\:border-l{border-left-width:1px}.group[data-variant=floating] .group-data-\[variant\=floating\]\:border-sidebar-border{border-color:hsl(var(--border))}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:\!p-0{padding:0!important}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:\!p-2{padding:.5rem!important}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:opacity-0{opacity:0}.group[data-variant=floating] .group-data-\[variant\=floating\]\:shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.group[data-collapsible=offcanvas] .group-data-\[collapsible\=offcanvas\]\:after\:left-full:after{content:var(--tw-content);left:100%}.group[data-collapsible=offcanvas] .group-data-\[collapsible\=offcanvas\]\:hover\:bg-sidebar:hover{background-color:hsl(var(--background))}.peer\/menu-button[data-size=default]~.peer-data-\[size\=default\]\/menu-button\:top-1\.5{top:.375rem}.peer\/menu-button[data-size=lg]~.peer-data-\[size\=lg\]\/menu-button\:top-2\.5{top:.625rem}.peer\/menu-button[data-size=sm]~.peer-data-\[size\=sm\]\/menu-button\:top-1{top:.25rem}.peer\/menu-button[data-active=true]~.peer-data-\[active\=true\]\/menu-button\:text-sidebar-accent-foreground{color:hsl(var(--accent-foreground))}.prose-h1\:border-b :is(:where(h1):not(:where([class~=not-prose],[class~=not-prose] *))){border-bottom-width:1px}.prose-h1\:pb-2 :is(:where(h1):not(:where([class~=not-prose],[class~=not-prose] *))){padding-bottom:.5rem}.prose-h2\:border-b :is(:where(h2):not(:where([class~=not-prose],[class~=not-prose] *))){border-bottom-width:1px}.prose-h2\:pb-2 :is(:where(h2):not(:where([class~=not-prose],[class~=not-prose] *))){padding-bottom:.5rem}.prose-p\:my-0 :is(:where(p):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:0;margin-bottom:0}.prose-p\:mb-2 :is(:where(p):not(:where([class~=not-prose],[class~=not-prose] *))){margin-bottom:.5rem}.prose-p\:mt-0 :is(:where(p):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:0}.prose-p\:leading-relaxed :is(:where(p):not(:where([class~=not-prose],[class~=not-prose] *))){line-height:1.625}.prose-a\:text-primary :is(:where(a):not(:where([class~=not-prose],[class~=not-prose] *))){color:hsl(var(--primary))}.prose-pre\:mt-1 :is(:where(pre):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:.25rem}.prose-pre\:p-0 :is(:where(pre):not(:where([class~=not-prose],[class~=not-prose] *))){padding:0}.prose-img\:inline :is(:where(img):not(:where([class~=not-prose],[class~=not-prose] *))){display:inline}.prose-img\:w-auto :is(:where(img):not(:where([class~=not-prose],[class~=not-prose] *))){width:auto}.prose-img\:max-w-full :is(:where(img):not(:where([class~=not-prose],[class~=not-prose] *))){max-width:100%}:is(.dark .dark\:block){display:block}:is(.dark .dark\:hidden){display:none}:is(.dark .dark\:border-2){border-width:2px}:is(.dark .dark\:border-\[\#33363c\]){--tw-border-opacity:1;border-color:rgb(51 54 60/var(--tw-border-opacity))}:is(.dark .dark\:border-destructive){border-color:hsl(var(--destructive))}:is(.dark .dark\:border-muted-foreground){border-color:hsl(var(--muted-foreground))}:is(.dark .dark\:border-muted-foreground\/60){border-color:hsl(var(--muted-foreground)/.6)}:is(.dark .dark\:bg-\[\#333333\]){--tw-bg-opacity:1;background-color:rgb(51 51 51/var(--tw-bg-opacity))}:is(.dark .dark\:bg-\[\#3D382F\]){--tw-bg-opacity:1;background-color:rgb(61 56 47/var(--tw-bg-opacity))}:is(.dark .dark\:bg-\[\#4F483B\]){--tw-bg-opacity:1;background-color:rgb(79 72 59/var(--tw-bg-opacity))}:is(.dark .dark\:bg-\[hsl\(0\2c 0\2c 13\.5\%\)\]){--tw-bg-opacity:1;background-color:hsl(0 0 13.5%/var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800){--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}:is(.dark .dark\:text-green-500){--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity))}:is(.dark .dark\:text-red-500){--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-400){--tw-text-opacity:1;color:rgb(250 204 21/var(--tw-text-opacity))}:is(.dark .dark\:shadow-\[0px_-4px_4px_rgba\(255\2c 255\2c 255\2c 0\.2\)\]){--tw-shadow:0px -4px 4px hsla(0,0%,100%,.2);--tw-shadow-colored:0px -4px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}:is(.dark .dark\:shadow-\[0px_3px_8px_rgba\(255\2c 255\2c 255\2c 0\.3\)\]){--tw-shadow:0px 3px 8px hsla(0,0%,100%,.3);--tw-shadow-colored:0px 3px 8px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}:is(.dark .dark\:invert-0){--tw-invert:invert(0);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}:is(.dark .dark\:hover\:border-muted-foreground:hover){border-color:hsl(var(--muted-foreground))}@media (min-width:640px){.sm\:left-4{left:1rem}.sm\:right-4{right:1rem}.sm\:right-8{right:2rem}.sm\:mt-0{margin-top:0}.sm\:block{display:block}.sm\:flex{display:flex}.sm\:hidden{display:none}.sm\:max-w-sm{max-width:24rem}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-start{justify-content:flex-start}.sm\:justify-end{justify-content:flex-end}.sm\:gap-4{gap:1rem}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.sm\:space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:rounded-md{border-radius:calc(var(--radius) - 2px)}.sm\:rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.sm\:border{border-width:1px}.sm\:px-12{padding-left:3rem;padding-right:3rem}.sm\:py-0{padding-top:0;padding-bottom:0}.sm\:pl-4{padding-left:1rem}.sm\:text-left{text-align:left}.sm\:text-3xl{font-size:1.875rem;line-height:2.25rem}.sm\:text-7xl{font-size:4.5rem;line-height:1}.sm\:zoom-in-90{--tw-enter-scale:.9}.sm\:slide-in-from-bottom-0{--tw-enter-translate-y:0px}}@media (min-width:768px){.md\:absolute{position:absolute}.md\:-right-\[4rem\]{right:-4rem}.md\:-top-2{top:-.5rem}.md\:top-2{top:.5rem}.md\:my-8{margin-top:2rem;margin-bottom:2rem}.md\:-ml-4{margin-left:-1rem}.md\:ml-4{margin-left:1rem}.md\:block{display:block}.md\:flex{display:flex}.md\:hidden{display:none}.md\:h-8{height:2rem}.md\:w-36{width:9rem}.md\:w-8{width:2rem}.md\:w-\[150px\]{width:150px}.md\:w-\[180px\]{width:180px}.md\:w-\[190px\]{width:190px}.md\:w-\[240px\]{width:240px}.md\:w-\[30\%\]{width:30%}.md\:w-\[350px\]{width:350px}.md\:w-\[40\%\]{width:40%}.md\:w-\[430px\]{width:430px}.md\:w-auto{width:auto}.md\:w-full{width:100%}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:gap-x-8{-moz-column-gap:2rem;column-gap:2rem}.md\:gap-y-0{row-gap:0}.md\:space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.md\:space-x-6>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(1.5rem * var(--tw-space-x-reverse));margin-left:calc(1.5rem * calc(1 - var(--tw-space-x-reverse)))}.md\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.md\:px-1{padding-left:.25rem;padding-right:.25rem}.md\:px-4{padding-left:1rem;padding-right:1rem}.md\:px-5{padding-left:1.25rem;padding-right:1.25rem}.md\:py-0{padding-top:0;padding-bottom:0}.md\:py-4{padding-top:1rem;padding-bottom:1rem}.md\:pl-10{padding-left:2.5rem}.md\:pr-8{padding-right:2rem}.md\:pr-\[3\.75rem\]{padding-right:3.75rem}.md\:pt-0{padding-top:0}.md\:pt-10{padding-top:2.5rem}.md\:text-start{text-align:start}.md\:text-sm{font-size:.875rem;line-height:1.25rem}.md\:opacity-0{opacity:0}.after\:md\:hidden:after{content:var(--tw-content);display:none}.peer[data-variant=inset]~.md\:peer-data-\[variant\=inset\]\:m-2{margin:.5rem}.peer[data-state=collapsed][data-variant=inset]~.md\:peer-data-\[state\=collapsed\]\:peer-data-\[variant\=inset\]\:ml-2{margin-left:.5rem}.peer[data-variant=inset]~.md\:peer-data-\[variant\=inset\]\:ml-0{margin-left:0}.peer[data-variant=inset]~.md\:peer-data-\[variant\=inset\]\:rounded-xl{border-radius:.75rem}.peer[data-variant=inset]~.md\:peer-data-\[variant\=inset\]\:shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}}@media (min-width:1024px){.lg\:\!bottom-\[2\.85rem\]{bottom:2.85rem!important}.lg\:-m-10{margin:-2.5rem}.lg\:-mt-\[2vh\]{margin-top:-2vh}.lg\:mb-0{margin-bottom:0}.lg\:mt-0{margin-top:0}.lg\:mt-8{margin-top:2rem}.lg\:block{display:block}.lg\:flex{display:flex}.lg\:hidden{display:none}.lg\:w-1\/5{width:20%}.lg\:w-2\/3{width:66.666667%}.lg\:w-32{width:8rem}.lg\:w-\[200px\]{width:200px}.lg\:w-\[250px\]{width:250px}.lg\:w-\[260px\]{width:260px}.lg\:w-\[340px\]{width:340px}.lg\:max-w-4xl{max-width:56rem}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}.lg\:flex-wrap{flex-wrap:wrap}.lg\:items-end{align-items:flex-end}.lg\:gap-x-10{-moz-column-gap:2.5rem;column-gap:2.5rem}.lg\:gap-y-0{row-gap:0}.lg\:break-words{overflow-wrap:break-word}.lg\:p-10{padding:2.5rem}.lg\:px-0{padding-left:0;padding-right:0}.lg\:px-10{padding-left:2.5rem;padding-right:2.5rem}.lg\:px-4{padding-left:1rem;padding-right:1rem}.lg\:pb-0{padding-bottom:0}.lg\:text-sm{font-size:.875rem;line-height:1.25rem}}@media (min-width:1280px){.xl\:ml-auto{margin-left:auto}.xl\:block{display:block}.xl\:flex{display:flex}.xl\:hidden{display:none}.xl\:w-\[20\%\]{width:20%}.xl\:w-\[800px\]{width:800px}.xl\:w-auto{width:auto}.xl\:flex-row{flex-direction:row}.xl\:items-center{align-items:center}.xl\:justify-start{justify-content:flex-start}.xl\:justify-between{justify-content:space-between}.xl\:pb-32{padding-bottom:8rem}}@media (min-width:1536px){.\32xl\:mx-auto{margin-left:auto;margin-right:auto}.\32xl\:block{display:block}.\32xl\:hidden{display:none}.\32xl\:max-w-5xl{max-width:64rem}}.\[\&\:has\(\[aria-selected\]\)\]\:bg-accent:has([aria-selected]){background-color:hsl(var(--accent))}.first\:\[\&\:has\(\[aria-selected\]\)\]\:rounded-l-md:has([aria-selected]):first-child{border-top-left-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}.last\:\[\&\:has\(\[aria-selected\]\)\]\:rounded-r-md:has([aria-selected]):last-child{border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.\[\&\:has\(\[aria-selected\]\.day-outside\)\]\:bg-accent\/50:has([aria-selected].day-outside){background-color:hsl(var(--accent)/.5)}.\[\&\:has\(\[aria-selected\]\.day-range-end\)\]\:rounded-r-md:has([aria-selected].day-range-end){border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:0}.\[\&\>button\]\:hidden>button{display:none}.\[\&\>div\]\:\!block>div{display:block!important}.\[\&\>span\:last-child\]\:truncate>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.\[\&\>svg\+div\]\:translate-y-\[-3px\]>svg+div{--tw-translate-y:-3px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>svg\]\:absolute>svg{position:absolute}.\[\&\>svg\]\:left-4>svg{left:1rem}.\[\&\>svg\]\:top-4>svg{top:1rem}.\[\&\>svg\]\:shrink-0>svg{flex-shrink:0}.\[\&\>svg\]\:text-destructive>svg{color:hsl(var(--destructive))}.\[\&\>svg\]\:text-foreground>svg{color:hsl(var(--foreground))}.\[\&\>svg\]\:text-sidebar-accent-foreground>svg{color:hsl(var(--accent-foreground))}.\[\&\>svg\~\*\]\:pl-7>svg~*{padding-left:1.75rem}.\[\&\>tr\]\:last\:border-b-0:last-child>tr{border-bottom-width:0}.\[\&\[data-panel-group-direction\=vertical\]\>div\]\:rotate-90[data-panel-group-direction=vertical]>div{--tw-rotate:90deg}.\[\&\[data-panel-group-direction\=vertical\]\>div\]\:rotate-90[data-panel-group-direction=vertical]>div,.\[\&\[data-state\=open\]\>svg\]\:rotate-180[data-state=open]>svg{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\[data-state\=open\]\>svg\]\:rotate-180[data-state=open]>svg{--tw-rotate:180deg}.\[\&_\[cmdk-group-heading\]\]\:px-2 [cmdk-group-heading]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-group-heading\]\]\:py-1\.5 [cmdk-group-heading]{padding-top:.375rem;padding-bottom:.375rem}.\[\&_\[cmdk-group-heading\]\]\:text-xs [cmdk-group-heading]{font-size:.75rem;line-height:1rem}.\[\&_\[cmdk-group-heading\]\]\:font-medium [cmdk-group-heading]{font-weight:500}.\[\&_\[cmdk-group-heading\]\]\:text-muted-foreground [cmdk-group-heading]{color:hsl(var(--muted-foreground))}.\[\&_\[cmdk-group\]\:not\(\[hidden\]\)_\~\[cmdk-group\]\]\:pt-0 [cmdk-group]:not([hidden])~[cmdk-group]{padding-top:0}.\[\&_\[cmdk-group\]\]\:px-2 [cmdk-group]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:h-5 [cmdk-input-wrapper] svg{height:1.25rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:w-5 [cmdk-input-wrapper] svg{width:1.25rem}.\[\&_\[cmdk-input\]\]\:h-12 [cmdk-input]{height:3rem}.\[\&_\[cmdk-item\]\]\:px-2 [cmdk-item]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-item\]\]\:py-3 [cmdk-item]{padding-top:.75rem;padding-bottom:.75rem}.\[\&_\[cmdk-item\]_svg\]\:h-5 [cmdk-item] svg{height:1.25rem}.\[\&_\[cmdk-item\]_svg\]\:w-5 [cmdk-item] svg{width:1.25rem}.\[\&_p\]\:leading-relaxed p{line-height:1.625}.\[\&_svg\]\:invisible svg{visibility:hidden}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-width:0}.\[\&_tr\]\:border-b tr{border-bottom-width:1px}[data-side=left][data-collapsible=offcanvas] .\[\[data-side\=left\]\[data-collapsible\=offcanvas\]_\&\]\:-right-2{right:-.5rem}[data-side=left][data-state=collapsed] .\[\[data-side\=left\]\[data-state\=collapsed\]_\&\]\:cursor-e-resize{cursor:e-resize}[data-side=left] .\[\[data-side\=left\]_\&\]\:cursor-w-resize{cursor:w-resize}[data-side=right][data-collapsible=offcanvas] .\[\[data-side\=right\]\[data-collapsible\=offcanvas\]_\&\]\:-left-2{left:-.5rem}[data-side=right][data-state=collapsed] .\[\[data-side\=right\]\[data-state\=collapsed\]_\&\]\:cursor-w-resize{cursor:w-resize}[data-side=right] .\[\[data-side\=right\]_\&\]\:cursor-e-resize{cursor:e-resize} \ No newline at end of file diff --git a/ee/tabby-webserver/ui/_next/static/css/ed2f80c8da413f9f.css b/ee/tabby-webserver/ui/_next/static/css/ed2f80c8da413f9f.css new file mode 100644 index 000000000000..389f46e3fc95 --- /dev/null +++ b/ee/tabby-webserver/ui/_next/static/css/ed2f80c8da413f9f.css @@ -0,0 +1,5 @@ +@font-face{font-family:__Inter_d65c78;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/55c55f0601d81cf3-s.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c8a,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__Inter_d65c78;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/26a46d62cd723877-s.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__Inter_d65c78;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/97e0cb1ae144a2a9-s.woff2) format("woff2");unicode-range:U+1f??}@font-face{font-family:__Inter_d65c78;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/581909926a08bbc8-s.woff2) format("woff2");unicode-range:U+0370-0377,U+037a-037f,U+0384-038a,U+038c,U+038e-03a1,U+03a3-03ff}@font-face{font-family:__Inter_d65c78;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/df0a9ae256c0569c-s.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__Inter_d65c78;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/6d93bde91c0c2823-s.woff2) format("woff2");unicode-range:U+0100-02ba,U+02bd-02c5,U+02c7-02cc,U+02ce-02d7,U+02dd-02ff,U+0304,U+0308,U+0329,U+1d00-1dbf,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20c0,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__Inter_d65c78;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/a34f9d1faa5f3315-s.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__Inter_Fallback_d65c78;src:local("Arial");ascent-override:90.20%;descent-override:22.48%;line-gap-override:0.00%;size-adjust:107.40%}.__className_d65c78{font-family:__Inter_d65c78,__Inter_Fallback_d65c78;font-style:normal}.__variable_d65c78{--font-sans:"__Inter_d65c78","__Inter_Fallback_d65c78"}@font-face{font-family:__JetBrains_Mono_3c557b;font-style:normal;font-weight:100 800;font-display:swap;src:url(/_next/static/media/886030b0b59bc5a7-s.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c8a,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__JetBrains_Mono_3c557b;font-style:normal;font-weight:100 800;font-display:swap;src:url(/_next/static/media/0aa834ed78bf6d07-s.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__JetBrains_Mono_3c557b;font-style:normal;font-weight:100 800;font-display:swap;src:url(/_next/static/media/67957d42bae0796d-s.woff2) format("woff2");unicode-range:U+0370-0377,U+037a-037f,U+0384-038a,U+038c,U+038e-03a1,U+03a3-03ff}@font-face{font-family:__JetBrains_Mono_3c557b;font-style:normal;font-weight:100 800;font-display:swap;src:url(/_next/static/media/f911b923c6adde36-s.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__JetBrains_Mono_3c557b;font-style:normal;font-weight:100 800;font-display:swap;src:url(/_next/static/media/939c4f875ee75fbb-s.woff2) format("woff2");unicode-range:U+0100-02ba,U+02bd-02c5,U+02c7-02cc,U+02ce-02d7,U+02dd-02ff,U+0304,U+0308,U+0329,U+1d00-1dbf,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20c0,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__JetBrains_Mono_3c557b;font-style:normal;font-weight:100 800;font-display:swap;src:url(/_next/static/media/bb3ef058b751a6ad-s.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__JetBrains_Mono_Fallback_3c557b;src:local("Arial");ascent-override:75.04%;descent-override:22.07%;line-gap-override:0.00%;size-adjust:135.93%}.__className_3c557b{font-family:__JetBrains_Mono_3c557b,__JetBrains_Mono_Fallback_3c557b;font-style:normal}.__variable_3c557b{--font-mono:"__JetBrains_Mono_3c557b","__JetBrains_Mono_Fallback_3c557b"}@font-face{font-family:__Montserrat_f44606;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/ac2397f7be75f086-s.woff2) format("woff2");unicode-range:U+0460-052f,U+1c80-1c8a,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:__Montserrat_f44606;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/33f26bc6e74df765-s.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:__Montserrat_f44606;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/6406d8793413ef02-s.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab}@font-face{font-family:__Montserrat_f44606;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/055106fdf8549d7a-s.woff2) format("woff2");unicode-range:U+0100-02ba,U+02bd-02c5,U+02c7-02cc,U+02ce-02d7,U+02dd-02ff,U+0304,U+0308,U+0329,U+1d00-1dbf,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20c0,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:__Montserrat_f44606;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/f75d6d02e2924b13-s.p.woff2) format("woff2");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:__Montserrat_Fallback_f44606;src:local("Arial");ascent-override:84.95%;descent-override:22.03%;line-gap-override:0.00%;size-adjust:113.95%}.__className_f44606{font-family:__Montserrat_f44606,__Montserrat_Fallback_f44606;font-weight:600;font-style:normal}.__variable_f44606{--font-montserrat:"__Montserrat_f44606","__Montserrat_Fallback_f44606"} + +/* +! tailwindcss v3.3.3 | MIT License | https://tailwindcss.com +*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:var(--font-sans),ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root{--background:38 96.55% 98.5%;--foreground:38 3.1% 1%;--muted:40 9.5% 91%;--muted-foreground:38 1.55% 42.5%;--popover:38 65.2% 92.5%;--popover-foreground:38 3.1% 1.25%;--card:38 65.2% 92.5%;--card-foreground:38 3.1% 1.25%;--border:38 8.1% 90%;--input:38 8.1% 90%;--primary:38 31% 25%;--primary-foreground:38 0.62% 92.5%;--secondary:38 1.55% 96.25%;--secondary-foreground:38 2.86% 12.5%;--accent:40 19% 91%;--accent-foreground:38 2.86% 12.5%;--destructive:0 84.2% 60.2%;--destructive-foreground:0 0% 98%;--successful:140.62 84.21% 92.55%;--successful-foreground:142.78 64.23% 24.12%;--ring:38 31% 25%;--radius:0.5rem;--selection:200,100%,90%;--link:38,44%,41%}.dark{--background:0 0 12%;--foreground:39 3.2% 99.35%;--muted:39 13% 21%;--muted-foreground:39 3.2% 58.7%;--popover:39 15% 27%;--popover-foreground:39 3.2% 99.35%;--card:39 15% 27%;--card-foreground:39 3.2% 99.35%;--border:39 9% 17%;--input:39 16% 26.1%;--primary:39 32% 87%;--primary-foreground:39 3.2% 8.7%;--secondary:39 13% 21%;--secondary-foreground:39 3.2% 99.35%;--accent:39 13% 21%;--accent-foreground:39 3.2% 99.35%;--destructive:3.2 36.95% 60.2%;--destructive-foreground:39 3.2% 99.35%;--successful:143.81 61.17% 20.2%;--successful-foreground:141.71 76.64% 73.14%;--ring:39 32% 87%;--selection:221,13%,28%;--link:37,34%,57%}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground))}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%;margin-right:auto;margin-left:auto;padding-right:2rem;padding-left:2rem}@media (min-width:1400px){.container{max-width:1400px}}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-left-width:.25rem;border-left-color:var(--tw-prose-quote-borders);quotes:"\201C""\201D""\2018""\2019";margin-top:1.6em;margin-bottom:1.6em;padding-left:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows)/10%),0 3px 0 rgb(var(--tw-prose-kbd-shadows)/10%);font-size:.875em;border-radius:.3125rem;padding:.1875em .375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding:.8571429em 1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;text-align:left;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-right:.5714286em;padding-bottom:.5714286em;padding-left:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body:#374151;--tw-prose-headings:#111827;--tw-prose-lead:#4b5563;--tw-prose-links:#111827;--tw-prose-bold:#111827;--tw-prose-counters:#6b7280;--tw-prose-bullets:#d1d5db;--tw-prose-hr:#e5e7eb;--tw-prose-quotes:#111827;--tw-prose-quote-borders:#e5e7eb;--tw-prose-captions:#6b7280;--tw-prose-kbd:#111827;--tw-prose-kbd-shadows:17 24 39;--tw-prose-code:#111827;--tw-prose-pre-code:#e5e7eb;--tw-prose-pre-bg:#1f2937;--tw-prose-th-borders:#d1d5db;--tw-prose-td-borders:#e5e7eb;--tw-prose-invert-body:#d1d5db;--tw-prose-invert-headings:#fff;--tw-prose-invert-lead:#9ca3af;--tw-prose-invert-links:#fff;--tw-prose-invert-bold:#fff;--tw-prose-invert-counters:#9ca3af;--tw-prose-invert-bullets:#4b5563;--tw-prose-invert-hr:#374151;--tw-prose-invert-quotes:#f3f4f6;--tw-prose-invert-quote-borders:#374151;--tw-prose-invert-captions:#9ca3af;--tw-prose-invert-kbd:#fff;--tw-prose-invert-kbd-shadows:255 255 255;--tw-prose-invert-code:#fff;--tw-prose-invert-pre-code:#d1d5db;--tw-prose-invert-pre-bg:rgba(0,0,0,.5);--tw-prose-invert-th-borders:#4b5563;--tw-prose-invert-td-borders:#374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-left:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.\!pointer-events-auto{pointer-events:auto!important}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.\!fixed{position:fixed!important}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.-inset-x-3{left:-.75rem;right:-.75rem}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.\!bottom-\[5\.4rem\]{bottom:5.4rem!important}.\!right-4{right:1rem!important}.\!top-auto{top:auto!important}.-left-2{left:-.5rem}.-right-8{right:-2rem}.-top-2{top:-.5rem}.-top-2\.5{top:-.625rem}.-top-px{top:-1px}.bottom-0{bottom:0}.bottom-1{bottom:.25rem}.bottom-10{bottom:2.5rem}.bottom-5{bottom:1.25rem}.left-0{left:0}.left-1{left:.25rem}.left-2{left:.5rem}.left-3{left:.75rem}.left-\[50\%\]{left:50%}.right-0{right:0}.right-1{right:.25rem}.right-2{right:.5rem}.right-3{right:.75rem}.right-4{right:1rem}.top-0{top:0}.top-0\.5{top:.125rem}.top-1{top:.25rem}.top-1\.5{top:.375rem}.top-16{top:4rem}.top-2{top:.5rem}.top-2\.5{top:.625rem}.top-3{top:.75rem}.top-3\.5{top:.875rem}.top-4{top:1rem}.top-9{top:2.25rem}.top-\[20vh\]{top:20vh}.top-\[50\%\]{top:50%}.-z-10{z-index:-10}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.-m-4{margin:-1rem}.m-0{margin:0}.m-1{margin:.25rem}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.-mx-2{margin-left:-.5rem;margin-right:-.5rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-1\.5{margin-left:.375rem;margin-right:.375rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-3\.5{margin-left:.875rem;margin-right:.875rem}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-0{margin-top:0;margin-bottom:0}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-3{margin-top:.75rem;margin-bottom:.75rem}.my-4{margin-top:1rem;margin-bottom:1rem}.-mb-2{margin-bottom:-.5rem}.-ml-1{margin-left:-.25rem}.-ml-1\.5{margin-left:-.375rem}.-ml-2{margin-left:-.5rem}.-ml-2\.5{margin-left:-.625rem}.-mt-0{margin-top:0}.-mt-0\.5{margin-top:-.125rem}.mb-0{margin-bottom:0}.mb-0\.5{margin-bottom:.125rem}.mb-1{margin-bottom:.25rem}.mb-1\.5{margin-bottom:.375rem}.mb-10{margin-bottom:2.5rem}.mb-2{margin-bottom:.5rem}.mb-2\.5{margin-bottom:.625rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-7{margin-bottom:1.75rem}.mb-8{margin-bottom:2rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-auto{margin-left:auto}.mr-0{margin-right:0}.mr-0\.5{margin-right:.125rem}.mr-1{margin-right:.25rem}.mr-1\.5{margin-right:.375rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mr-5{margin-right:1.25rem}.mr-\[0\.45rem\]{margin-right:.45rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-24{margin-top:6rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.line-clamp-1{-webkit-line-clamp:1}.line-clamp-1,.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical}.line-clamp-2{-webkit-line-clamp:2}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}.block{display:block}.inline-block{display:inline-block}.\!inline{display:inline!important}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.aspect-square{aspect-ratio:1/1}.\!h-\[4px\]{height:4px!important}.h-0{height:0}.h-1{height:.25rem}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-32{height:8rem}.h-4{height:1rem}.h-40{height:10rem}.h-48{height:12rem}.h-5{height:1.25rem}.h-56{height:14rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[100px\]{height:100px}.h-\[152px\]{height:152px}.h-\[180px\]{height:180px}.h-\[1px\]{height:1px}.h-\[250px\]{height:250px}.h-\[3\.375rem\]{height:3.375rem}.h-\[72vh\]{height:72vh}.h-\[calc\(100\%-4rem\)\]{height:calc(100% - 4rem)}.h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-36{max-height:9rem}.max-h-60{max-height:15rem}.max-h-\[286px\]{max-height:286px}.max-h-\[300px\]{max-height:300px}.max-h-\[30vh\]{max-height:30vh}.max-h-\[50vh\]{max-height:50vh}.max-h-\[60vh\]{max-height:60vh}.max-h-\[70vh\]{max-height:70vh}.min-h-0{min-height:0}.min-h-\[1\.75rem\]{min-height:1.75rem}.min-h-\[160px\]{min-height:160px}.min-h-\[2\.5rem\]{min-height:2.5rem}.min-h-\[200px\]{min-height:200px}.min-h-\[2rem\]{min-height:2rem}.min-h-\[3\.5em\]{min-height:3.5em}.min-h-\[3\.5rem\]{min-height:3.5rem}.min-h-\[30\.5rem\]{min-height:30.5rem}.min-h-\[30vh\]{min-height:30vh}.min-h-\[3rem\]{min-height:3rem}.min-h-\[5\.5rem\]{min-height:5.5rem}.min-h-\[5rem\]{min-height:5rem}.min-h-\[60px\]{min-height:60px}.min-h-\[80px\]{min-height:80px}.min-h-\[theme\(space\.9\)\]{min-height:2.25rem}.min-h-screen{min-height:100vh}.w-1{width:.25rem}.w-1\.5{width:.375rem}.w-1\/2{width:50%}.w-1\/3{width:33.333333%}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-20{width:5rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-32{width:8rem}.w-4{width:1rem}.w-40{width:10rem}.w-48{width:12rem}.w-5{width:1.25rem}.w-56{width:14rem}.w-6{width:1.5rem}.w-60{width:15rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-80{width:20rem}.w-9{width:2.25rem}.w-96{width:24rem}.w-\[--sidebar-width\]{width:var(--sidebar-width)}.w-\[100px\]{width:100px}.w-\[10rem\]{width:10rem}.w-\[128px\]{width:128px}.w-\[140px\]{width:140px}.w-\[15\%\]{width:15%}.w-\[190px\]{width:190px}.w-\[1px\]{width:1px}.w-\[20\%\]{width:20%}.w-\[200px\]{width:200px}.w-\[20vw\]{width:20vw}.w-\[240px\]{width:240px}.w-\[25\%\]{width:25%}.w-\[268px\]{width:268px}.w-\[30\%\]{width:30%}.w-\[35\%\]{width:35%}.w-\[350px\]{width:350px}.w-\[40\%\]{width:40%}.w-\[400px\]{width:400px}.w-\[45\%\]{width:45%}.w-\[60\%\]{width:60%}.w-\[600px\]{width:600px}.w-\[60px\]{width:60px}.w-\[60vw\]{width:60vw}.w-\[68px\]{width:68px}.w-\[70\%\]{width:70%}.w-\[70px\]{width:70px}.w-\[80\%\]{width:80%}.w-\[80vw\]{width:80vw}.w-\[calc\(100vw-2rem\)\]{width:calc(100vw - 2rem)}.w-\[theme\(space\.48\)\]{width:12rem}.w-\[var\(--radix-popover-trigger-width\)\]{width:var(--radix-popover-trigger-width)}.w-auto{width:auto}.w-full{width:100%}.w-px{width:1px}.w-screen{width:100vw}.min-w-0{min-width:0}.min-w-\[10rem\]{min-width:10rem}.min-w-\[20rem\]{min-width:20rem}.min-w-\[20vw\]{min-width:20vw}.min-w-\[2rem\]{min-width:2rem}.min-w-\[300px\]{min-width:300px}.min-w-\[400px\]{min-width:400px}.min-w-\[8rem\]{min-width:8rem}.min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.min-w-max{min-width:-moz-max-content;min-width:max-content}.max-w-2xl{max-width:42rem}.max-w-\[--skeleton-width\]{max-width:var(--skeleton-width)}.max-w-\[200px\]{max-width:200px}.max-w-\[300px\]{max-width:300px}.max-w-\[320px\]{max-width:320px}.max-w-\[80vw\]{max-width:80vw}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-none{max-width:none}.max-w-xl{max-width:36rem}.flex-1{flex:1 1 0%}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.table-fixed{table-layout:fixed}.caption-bottom{caption-side:bottom}.border-collapse{border-collapse:collapse}.-translate-x-1\/2{--tw-translate-x:-50%}.-translate-x-1\/2,.-translate-x-px{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-px{--tw-translate-x:-1px}.translate-x-\[-50\%\]{--tw-translate-x:-50%}.translate-x-\[-50\%\],.translate-x-px{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-px{--tw-translate-x:1px}.translate-y-0{--tw-translate-y:0px}.translate-y-0,.translate-y-1{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-1{--tw-translate-y:0.25rem}.translate-y-10{--tw-translate-y:2.5rem}.translate-y-10,.translate-y-\[-50\%\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[-50\%\]{--tw-translate-y:-50%}.-rotate-90{--tw-rotate:-90deg}.-rotate-90,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.rotate-45{--tw-rotate:45deg}.rotate-45,.rotate-90{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate:90deg}.scale-100{--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.\!cursor-default{cursor:default!important}.cursor-auto{cursor:auto}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.cursor-text{cursor:text}.touch-none{touch-action:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.scroll-m-20{scroll-margin:5rem}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.flex-nowrap{flex-wrap:nowrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0{gap:0}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.gap-x-1\.5{-moz-column-gap:.375rem;column-gap:.375rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.gap-x-3{-moz-column-gap:.75rem;column-gap:.75rem}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.gap-x-5{-moz-column-gap:1.25rem;column-gap:1.25rem}.gap-x-6{-moz-column-gap:1.5rem;column-gap:1.5rem}.gap-y-0{row-gap:0}.gap-y-0\.5{row-gap:.125rem}.gap-y-1{row-gap:.25rem}.gap-y-1\.5{row-gap:.375rem}.gap-y-2{row-gap:.5rem}.gap-y-3{row-gap:.75rem}.gap-y-5{row-gap:1.25rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-10>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(2.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2.5rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.self-start{align-self:flex-start}.self-center{align-self:center}.self-stretch{align-self:stretch}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-hidden{overflow-y:hidden}.overflow-y-scroll{overflow-y:scroll}.truncate{overflow:hidden;white-space:nowrap}.text-ellipsis,.truncate{text-overflow:ellipsis}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-none{border-radius:0}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-xl{border-radius:.75rem}.rounded-b-lg{border-bottom-right-radius:var(--radius);border-bottom-left-radius:var(--radius)}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-t-lg{border-top-left-radius:var(--radius);border-top-right-radius:var(--radius)}.border{border-width:1px}.border-0{border-width:0}.border-2{border-width:2px}.border-4{border-width:4px}.border-\[2px\]{border-width:2px}.border-b{border-bottom-width:1px}.border-b-0{border-bottom-width:0}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-t-0{border-top-width:0}.border-dashed{border-style:dashed}.\!border-none{border-style:none!important}.border-none{border-style:none}.border-\[\#b3ada0\]{--tw-border-opacity:1;border-color:rgb(179 173 160/var(--tw-border-opacity))}.border-destructive\/50{border-color:hsl(var(--destructive)/.5)}.border-foreground{border-color:hsl(var(--foreground))}.border-input{border-color:hsl(var(--input))}.border-muted-foreground{border-color:hsl(var(--muted-foreground))}.border-primary{border-color:hsl(var(--primary))}.border-ring{border-color:hsl(var(--ring))}.border-secondary-foreground\/60{border-color:hsl(var(--secondary-foreground)/.6)}.border-sidebar-border{border-color:hsl(var(--border))}.border-transparent{border-color:transparent}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.border-l-border{border-left-color:hsl(var(--border))}.border-l-transparent{border-left-color:transparent}.border-t-transparent{border-top-color:transparent}.border-opacity-30{--tw-border-opacity:0.3}.\!bg-background{background-color:hsl(var(--background))!important}.\!bg-muted{background-color:hsl(var(--muted))!important}.\!bg-muted\/80{background-color:hsl(var(--muted)/.8)!important}.bg-\[\#F9F6EF\]{--tw-bg-opacity:1;background-color:rgb(249 246 239/var(--tw-bg-opacity))}.bg-\[\#FBF5ED\]{--tw-bg-opacity:1;background-color:rgb(251 245 237/var(--tw-bg-opacity))}.bg-\[\#FEFCF8\]{--tw-bg-opacity:1;background-color:rgb(254 252 248/var(--tw-bg-opacity))}.bg-\[\#e8e1d3\]{--tw-bg-opacity:1;background-color:rgb(232 225 211/var(--tw-bg-opacity))}.bg-\[hsl\(var\(--mark-bg\)\)\]{background-color:hsl(var(--mark-bg))}.bg-accent{background-color:hsl(var(--accent))}.bg-background{background-color:hsl(var(--background))}.bg-background\/60{background-color:hsl(var(--background)/.6)}.bg-background\/80{background-color:hsl(var(--background)/.8)}.bg-background\/90{background-color:hsl(var(--background)/.9)}.bg-black\/80{background-color:rgba(0,0,0,.8)}.bg-blue-600{--tw-bg-opacity:1;background-color:rgb(37 99 235/var(--tw-bg-opacity))}.bg-border{background-color:hsl(var(--border))}.bg-border\/40{background-color:hsl(var(--border)/.4)}.bg-card{background-color:hsl(var(--card))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-gray-50{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.bg-green-600{--tw-bg-opacity:1;background-color:rgb(22 163 74/var(--tw-bg-opacity))}.bg-input\/40{background-color:hsl(var(--input)/.4)}.bg-muted{background-color:hsl(var(--muted))}.bg-muted\/30{background-color:hsl(var(--muted)/.3)}.bg-muted\/50{background-color:hsl(var(--muted)/.5)}.bg-popover{background-color:hsl(var(--popover))}.bg-primary{background-color:hsl(var(--primary))}.bg-primary-foreground\/30{background-color:hsl(var(--primary-foreground)/.3)}.bg-red-400{--tw-bg-opacity:1;background-color:rgb(248 113 113/var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity:1;background-color:rgb(220 38 38/var(--tw-bg-opacity))}.bg-secondary{background-color:hsl(var(--secondary))}.bg-sidebar{background-color:hsl(var(--background))}.bg-sidebar-border{background-color:hsl(var(--border))}.bg-successful{background-color:hsl(var(--successful))}.bg-transparent{background-color:transparent}.bg-zinc-800{--tw-bg-opacity:1;background-color:rgb(39 39 42/var(--tw-bg-opacity))}.bg-zinc-950{--tw-bg-opacity:1;background-color:rgb(9 9 11/var(--tw-bg-opacity))}.fill-current{fill:currentColor}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-\[1px\]{padding:1px}.px-0{padding-left:0;padding-right:0}.px-0\.5{padding-left:.125rem;padding-right:.125rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.px-\[1\.125rem\]{padding-left:1.125rem;padding-right:1.125rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-3\.5{padding-top:.875rem;padding-bottom:.875rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-40{padding-top:10rem;padding-bottom:10rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.py-\[1\.3rem\]{padding-top:1.3rem;padding-bottom:1.3rem}.py-\[1px\]{padding-top:1px;padding-bottom:1px}.pb-0{padding-bottom:0}.pb-0\.5{padding-bottom:.125rem}.pb-1{padding-bottom:.25rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-32{padding-bottom:8rem}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pb-8{padding-bottom:2rem}.pb-\[200px\]{padding-bottom:200px}.pl-0{padding-left:0}.pl-1{padding-left:.25rem}.pl-12{padding-left:3rem}.pl-2{padding-left:.5rem}.pl-2\.5{padding-left:.625rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pl-6{padding-left:1.5rem}.pl-8{padding-left:2rem}.pr-0{padding-right:0}.pr-1{padding-right:.25rem}.pr-2{padding-right:.5rem}.pr-2\.5{padding-right:.625rem}.pr-24{padding-right:6rem}.pr-4{padding-right:1rem}.pr-5{padding-right:1.25rem}.pt-0{padding-top:0}.pt-0\.5{padding-top:.125rem}.pt-1{padding-top:.25rem}.pt-16{padding-top:4rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-end{text-align:end}.align-middle{vertical-align:middle}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:var(--font-sans),ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-6xl{font-size:3.75rem;line-height:1}.text-\[0\.8rem\]{font-size:.8rem}.text-\[0\.9rem\]{font-size:.9rem}.text-\[10px\]{font-size:10px}.text-\[1rem\],.text-base{font-size:1rem}.text-base{line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-4{line-height:1rem}.leading-5{line-height:1.25rem}.leading-7{line-height:1.75rem}.leading-8{line-height:2rem}.leading-none{line-height:1}.leading-normal{line-height:1.5}.tracking-normal{letter-spacing:0}.tracking-tight{letter-spacing:-.025em}.tracking-widest{letter-spacing:.1em}.\!text-muted-foreground{color:hsl(var(--muted-foreground))!important}.\!text-primary{color:hsl(var(--primary))!important}.text-\[\#030302\]{--tw-text-opacity:1;color:rgb(3 3 2/var(--tw-text-opacity))}.text-accent-foreground{color:hsl(var(--accent-foreground))}.text-card-foreground{color:hsl(var(--card-foreground))}.text-card-foreground\/70{color:hsl(var(--card-foreground)/.7)}.text-current{color:currentColor}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-foreground{color:hsl(var(--foreground))}.text-foreground\/70{color:hsl(var(--foreground)/.7)}.text-green-500{--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity))}.text-green-600{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity))}.text-link{color:hsl(var(--link))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.text-secondary-foreground\/60{color:hsl(var(--secondary-foreground)/.6)}.text-sidebar-foreground{color:hsl(var(--foreground))}.text-sidebar-foreground\/70{color:hsl(var(--foreground)/.7)}.text-successful-foreground{color:hsl(var(--successful-foreground))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.text-yellow-600{--tw-text-opacity:1;color:rgb(202 138 4/var(--tw-text-opacity))}.text-zinc-100{--tw-text-opacity:1;color:rgb(244 244 245/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.line-through{text-decoration-line:line-through}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.\!placeholder-foreground::-moz-placeholder{color:hsl(var(--foreground))!important}.\!placeholder-foreground::placeholder{color:hsl(var(--foreground))!important}.\!opacity-100{opacity:1!important}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-80{opacity:.8}.\!shadow-none{--tw-shadow:0 0 #0000!important;--tw-shadow-colored:0 0 #0000!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-2xl{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px rgba(0,0,0,.25);--tw-shadow-colored:0 25px 50px -12px var(--tw-shadow-color)}.shadow-\[0_0_0_1px_hsl\(var\(--sidebar-border\)\)\]{--tw-shadow:0 0 0 1px hsl(var(--sidebar-border));--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-\[0px_-4px_4px_rgba\(0\2c 0\2c 0\2c 0\.2\)\]{--tw-shadow:0px -4px 4px rgba(0,0,0,.2);--tw-shadow-colored:0px -4px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-\[0px_3px_8px_rgba\(0\2c 0\2c 0\2c 0\.3\)\]{--tw-shadow:0px 3px 8px rgba(0,0,0,.3);--tw-shadow-colored:0px 3px 8px var(--tw-shadow-color)}.shadow-\[0px_3px_8px_rgba\(0\2c 0\2c 0\2c 0\.3\)\],.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.shadow-md,.shadow-none{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.\!outline-none{outline:2px solid transparent!important;outline-offset:2px!important}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.outline-ring{outline-color:hsl(var(--ring))}.\!ring-0{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.ring-0{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-sidebar-ring{--tw-ring-color:hsl(var(--ring))}.\!ring-offset-0{--tw-ring-offset-width:0px!important}.ring-offset-background{--tw-ring-offset-color:hsl(var(--background))}.blur{--tw-blur:blur(8px)}.blur,.invert{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.invert{--tw-invert:invert(100%)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur:blur(4px)}.backdrop-blur-sm,.backdrop-blur-xl{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-blur-xl{--tw-backdrop-blur:blur(24px)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[height\2c opacity\]{transition-property:height,opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[left\2c right\2c width\2c top\]{transition-property:left,right,width,top;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[margin\2c opa\]{transition-property:margin,opa;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[opacity\2c height\]{transition-property:opacity,height;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[width\2c height\2c padding\]{transition-property:width,height,padding;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[width\]{transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-linear{transition-timing-function:linear}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0) scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1)) rotate(var(--tw-enter-rotate,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0) scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1)) rotate(var(--tw-exit-rotate,0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.fade-in{--tw-enter-opacity:0}.fade-in-50{--tw-enter-opacity:0.5}.fade-in-80{--tw-enter-opacity:0.8}.fade-in-90{--tw-enter-opacity:0.9}.slide-in-from-bottom-10{--tw-enter-translate-y:2.5rem}.duration-200{animation-duration:.2s}.duration-300{animation-duration:.3s}.duration-500{animation-duration:.5s}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.ease-linear{animation-timing-function:linear}.ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}.running{animation-play-state:running}.prose-full-width{max-width:none!important}.prose{overflow-wrap:anywhere}.dialog-without-close-btn>button{display:none}:is(.dark .dark\:prose-invert){--tw-prose-body:var(--tw-prose-invert-body);--tw-prose-headings:var(--tw-prose-invert-headings);--tw-prose-lead:var(--tw-prose-invert-lead);--tw-prose-links:var(--tw-prose-invert-links);--tw-prose-bold:var(--tw-prose-invert-bold);--tw-prose-counters:var(--tw-prose-invert-counters);--tw-prose-bullets:var(--tw-prose-invert-bullets);--tw-prose-hr:var(--tw-prose-invert-hr);--tw-prose-quotes:var(--tw-prose-invert-quotes);--tw-prose-quote-borders:var(--tw-prose-invert-quote-borders);--tw-prose-captions:var(--tw-prose-invert-captions);--tw-prose-kbd:var(--tw-prose-invert-kbd);--tw-prose-kbd-shadows:var(--tw-prose-invert-kbd-shadows);--tw-prose-code:var(--tw-prose-invert-code);--tw-prose-pre-code:var(--tw-prose-invert-pre-code);--tw-prose-pre-bg:var(--tw-prose-invert-pre-bg);--tw-prose-th-borders:var(--tw-prose-invert-th-borders);--tw-prose-td-borders:var(--tw-prose-invert-td-borders)}.file\:border-0::file-selector-button{border-width:0}.file\:bg-transparent::file-selector-button{background-color:transparent}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.placeholder\:translate-y-\[10\%\]::-moz-placeholder{--tw-translate-y:10%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.placeholder\:translate-y-\[10\%\]::placeholder{--tw-translate-y:10%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.placeholder\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:-inset-2:after{content:var(--tw-content);inset:-.5rem}.after\:inset-y-0:after{content:var(--tw-content);top:0;bottom:0}.after\:left-1\/2:after{content:var(--tw-content);left:50%}.after\:ml-0:after{content:var(--tw-content);margin-left:0}.after\:ml-0\.5:after{content:var(--tw-content);margin-left:.125rem}.after\:w-1:after{content:var(--tw-content);width:.25rem}.after\:w-\[2px\]:after{content:var(--tw-content);width:2px}.after\:-translate-x-1\/2:after{content:var(--tw-content);--tw-translate-x:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.after\:text-destructive:after{content:var(--tw-content);color:hsl(var(--destructive))}.after\:content-\[\"\*\"\]:after{--tw-content:"*";content:var(--tw-content)}.first\:mt-0:first-child{margin-top:0}.last\:mb-0:last-child{margin-bottom:0}.focus-within\:relative:focus-within{position:relative}.focus-within\:z-20:focus-within{z-index:20}.focus-within\:outline-none:focus-within{outline:2px solid transparent;outline-offset:2px}.hover\:border-ring:hover{border-color:hsl(var(--ring))}.hover\:bg-\[\#3C382F\]:hover{--tw-bg-opacity:1;background-color:rgb(60 56 47/var(--tw-bg-opacity))}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-background:hover{background-color:hsl(var(--background))}.hover\:bg-blue-500:hover{--tw-bg-opacity:1;background-color:rgb(59 130 246/var(--tw-bg-opacity))}.hover\:bg-border:hover{background-color:hsl(var(--border))}.hover\:bg-card\/60:hover{background-color:hsl(var(--card)/.6)}.hover\:bg-destructive\/80:hover{background-color:hsl(var(--destructive)/.8)}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive)/.9)}.hover\:bg-muted:hover{background-color:hsl(var(--muted))}.hover\:bg-muted\/50:hover{background-color:hsl(var(--muted)/.5)}.hover\:bg-primary:hover{background-color:hsl(var(--primary))}.hover\:bg-primary\/10:hover{background-color:hsl(var(--primary)/.1)}.hover\:bg-primary\/80:hover{background-color:hsl(var(--primary)/.8)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary)/.9)}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary)/.8)}.hover\:bg-sidebar-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-successful\/80:hover{background-color:hsl(var(--successful)/.8)}.hover\:text-\[\#F4F4F5\]:hover{--tw-text-opacity:1;color:rgb(244 244 245/var(--tw-text-opacity))}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:text-destructive-foreground:hover{color:hsl(var(--destructive-foreground))}.hover\:text-destructive\/20:hover{color:hsl(var(--destructive)/.2)}.hover\:text-foreground\/50:hover{color:hsl(var(--foreground)/.5)}.hover\:text-muted-foreground:hover{color:hsl(var(--muted-foreground))}.hover\:text-popover-foreground:hover{color:hsl(var(--popover-foreground))}.hover\:text-primary:hover{color:hsl(var(--primary))}.hover\:text-primary-foreground:hover{color:hsl(var(--primary-foreground))}.hover\:text-sidebar-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.hover\:opacity-60:hover{opacity:.6}.hover\:opacity-70:hover{opacity:.7}.hover\:shadow-\[0_0_0_1px_hsl\(var\(--sidebar-accent\)\)\]:hover{--tw-shadow:0 0 0 1px hsl(var(--sidebar-accent));--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.hover\:after\:bg-sidebar-border:hover:after{content:var(--tw-content);background-color:hsl(var(--border))}.focus\:bg-accent:focus{background-color:hsl(var(--accent))}.focus\:bg-primary:focus{background-color:hsl(var(--primary))}.focus\:text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus\:text-primary-foreground:focus{color:hsl(var(--primary-foreground))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\:ring-ring:focus{--tw-ring-color:hsl(var(--ring))}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-0:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-1:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:hsl(var(--ring))}.focus-visible\:ring-sidebar-ring:focus-visible{--tw-ring-color:hsl(var(--ring))}.focus-visible\:ring-slate-700:focus-visible{--tw-ring-opacity:1;--tw-ring-color:rgb(51 65 85/var(--tw-ring-opacity))}.focus-visible\:ring-offset-0:focus-visible{--tw-ring-offset-width:0px}.focus-visible\:ring-offset-1:focus-visible{--tw-ring-offset-width:1px}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px}.focus-visible\:ring-offset-background:focus-visible{--tw-ring-offset-color:hsl(var(--background))}.active\:bg-blue-500:active{--tw-bg-opacity:1;background-color:rgb(59 130 246/var(--tw-bg-opacity))}.active\:bg-sidebar-accent:active{background-color:hsl(var(--accent))}.active\:text-sidebar-accent-foreground:active{color:hsl(var(--accent-foreground))}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.group:focus-within .group-focus-within\:flex{display:flex}.group:focus-within .group-focus-within\:pr-12{padding-right:3rem}.group:focus-within .group-focus-within\:pr-20{padding-right:5rem}.group\/menu-item:focus-within .group-focus-within\/menu-item\:opacity-100{opacity:1}.group:hover .group-hover\:flex{display:flex}.group\/filetree:hover .group-hover\/filetree\:border-border{border-color:hsl(var(--border))}.group:hover .group-hover\:pr-12{padding-right:3rem}.group:hover .group-hover\:pr-20{padding-right:5rem}.group\/symbol:hover .group-hover\/symbol\:text-primary{color:hsl(var(--primary))}.group:hover .group-hover\:opacity-100,.group\/menu-item:hover .group-hover\/menu-item\:opacity-100{opacity:1}.group.toaster .group-\[\.toaster\]\:border-border{border-color:hsl(var(--border))}.group.toast .group-\[\.toast\]\:bg-muted{background-color:hsl(var(--muted))}.group.toast .group-\[\.toast\]\:bg-primary{background-color:hsl(var(--primary))}.group.toaster .group-\[\.toaster\]\:bg-background{background-color:hsl(var(--background))}.group.toast .group-\[\.toast\]\:text-muted-foreground{color:hsl(var(--muted-foreground))}.group.toast .group-\[\.toast\]\:text-primary-foreground{color:hsl(var(--primary-foreground))}.group.toaster .group-\[\.toaster\]\:text-foreground{color:hsl(var(--foreground))}.group.toaster .group-\[\.toaster\]\:shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.peer\/menu-button:hover~.peer-hover\/menu-button\:text-sidebar-accent-foreground{color:hsl(var(--accent-foreground))}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.aria-disabled\:pointer-events-none[aria-disabled=true]{pointer-events:none}.aria-disabled\:opacity-50[aria-disabled=true]{opacity:.5}.aria-selected\:bg-accent[aria-selected=true]{background-color:hsl(var(--accent))}.aria-selected\:bg-accent\/50[aria-selected=true]{background-color:hsl(var(--accent)/.5)}.aria-selected\:text-accent-foreground[aria-selected=true]{color:hsl(var(--accent-foreground))}.aria-selected\:text-muted-foreground[aria-selected=true]{color:hsl(var(--muted-foreground))}.aria-selected\:opacity-100[aria-selected=true]{opacity:1}.aria-selected\:opacity-30[aria-selected=true]{opacity:.3}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[panel-group-direction\=vertical\]\:h-px[data-panel-group-direction=vertical]{height:1px}.data-\[panel-group-direction\=vertical\]\:w-full[data-panel-group-direction=vertical]{width:100%}.data-\[state\=checked\]\:translate-x-5[data-state=checked]{--tw-translate-x:1.25rem}.data-\[state\=checked\]\:translate-x-5[data-state=checked],.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked]{--tw-translate-x:0px}@keyframes accordion-up{0%{height:var(--radix-accordion-content-height)}to{height:0}}.data-\[state\=closed\]\:animate-accordion-up[data-state=closed]{animation:accordion-up .2s ease-out}@keyframes accordion-down{0%{height:0}to{height:var(--radix-accordion-content-height)}}.data-\[state\=open\]\:animate-accordion-down[data-state=open]{animation:accordion-down .2s ease-out}.data-\[panel-group-direction\=vertical\]\:flex-col[data-panel-group-direction=vertical]{flex-direction:column}.data-\[active\=true\]\:bg-sidebar-accent[data-active=true]{background-color:hsl(var(--accent))}.data-\[state\=active\]\:bg-background[data-state=active]{background-color:hsl(var(--background))}.data-\[state\=checked\]\:bg-primary[data-state=checked]{background-color:hsl(var(--primary))}.data-\[state\=on\]\:bg-accent[data-state=on]{background-color:hsl(var(--accent))}.data-\[state\=on\]\:bg-primary\/80[data-state=on]{background-color:hsl(var(--primary)/.8)}.data-\[state\=open\]\:bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=open\]\:bg-secondary[data-state=open]{background-color:hsl(var(--secondary))}.data-\[state\=selected\]\:bg-muted[data-state=selected]{background-color:hsl(var(--muted))}.data-\[state\=unchecked\]\:bg-input[data-state=unchecked]{background-color:hsl(var(--input))}.data-\[active\=true\]\:font-medium[data-active=true]{font-weight:500}.data-\[active\=true\]\:text-sidebar-accent-foreground[data-active=true]{color:hsl(var(--accent-foreground))}.data-\[state\=active\]\:text-foreground[data-state=active]{color:hsl(var(--foreground))}.data-\[state\=checked\]\:text-primary-foreground[data-state=checked]{color:hsl(var(--primary-foreground))}.data-\[state\=on\]\:text-accent-foreground[data-state=on]{color:hsl(var(--accent-foreground))}.data-\[state\=on\]\:text-primary-foreground[data-state=on]{color:hsl(var(--primary-foreground))}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:hsl(var(--muted-foreground))}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[state\=open\]\:opacity-100[data-state=open]{opacity:1}.data-\[state\=active\]\:shadow-sm[data-state=active]{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.data-\[state\=closed\]\:duration-300[data-state=closed]{transition-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{transition-duration:.5s}.data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.data-\[state\=closed\]\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity:initial;--tw-exit-scale:initial;--tw-exit-rotate:initial;--tw-exit-translate-x:initial;--tw-exit-translate-y:initial}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity:0}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity:0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale:.95}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale:.95}.data-\[side\=bottom\]\:slide-in-from-top-1[data-side=bottom]{--tw-enter-translate-y:-0.25rem}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:-0.5rem}.data-\[side\=left\]\:slide-in-from-right-1[data-side=left]{--tw-enter-translate-x:0.25rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:0.5rem}.data-\[side\=right\]\:slide-in-from-left-1[data-side=right]{--tw-enter-translate-x:-0.25rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:-0.5rem}.data-\[side\=top\]\:slide-in-from-bottom-1[data-side=top]{--tw-enter-translate-y:0.25rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:0.5rem}.data-\[state\=closed\]\:slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y:100%}.data-\[state\=closed\]\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x:-100%}.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed]{--tw-exit-translate-x:-50%}.data-\[state\=closed\]\:slide-out-to-right[data-state=closed]{--tw-exit-translate-x:100%}.data-\[state\=closed\]\:slide-out-to-top[data-state=closed]{--tw-exit-translate-y:-100%}.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed]{--tw-exit-translate-y:-48%}.data-\[state\=open\]\:slide-in-from-bottom[data-state=open]{--tw-enter-translate-y:100%}.data-\[state\=open\]\:slide-in-from-left[data-state=open]{--tw-enter-translate-x:-100%}.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open]{--tw-enter-translate-x:-50%}.data-\[state\=open\]\:slide-in-from-right[data-state=open]{--tw-enter-translate-x:100%}.data-\[state\=open\]\:slide-in-from-top[data-state=open]{--tw-enter-translate-y:-100%}.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open]{--tw-enter-translate-y:-48%}.data-\[state\=closed\]\:duration-300[data-state=closed]{animation-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{animation-duration:.5s}.data-\[panel-group-direction\=vertical\]\:after\:left-0[data-panel-group-direction=vertical]:after{content:var(--tw-content);left:0}.data-\[panel-group-direction\=vertical\]\:after\:h-1[data-panel-group-direction=vertical]:after{content:var(--tw-content);height:.25rem}.data-\[panel-group-direction\=vertical\]\:after\:w-full[data-panel-group-direction=vertical]:after{content:var(--tw-content);width:100%}.data-\[panel-group-direction\=vertical\]\:after\:-translate-y-1\/2[data-panel-group-direction=vertical]:after{content:var(--tw-content);--tw-translate-y:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[panel-group-direction\=vertical\]\:after\:translate-x-0[data-panel-group-direction=vertical]:after{content:var(--tw-content);--tw-translate-x:0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=open\]\:hover\:bg-sidebar-accent:hover[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=open\]\:hover\:text-sidebar-accent-foreground:hover[data-state=open]{color:hsl(var(--accent-foreground))}.group[data-collapsible=offcanvas] .group-data-\[collapsible\=offcanvas\]\:left-\[calc\(var\(--sidebar-width\)\*-1\)\]{left:calc(var(--sidebar-width) * -1)}.group[data-collapsible=offcanvas] .group-data-\[collapsible\=offcanvas\]\:right-\[calc\(var\(--sidebar-width\)\*-1\)\]{right:calc(var(--sidebar-width) * -1)}.group[data-side=left] .group-data-\[side\=left\]\:-right-4{right:-1rem}.group[data-side=right] .group-data-\[side\=right\]\:left-0{left:0}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:-mt-8{margin-top:-2rem}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:block{display:block}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:hidden{display:none}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:w-\[--sidebar-width-icon\]{width:var(--sidebar-width-icon)}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:w-\[calc\(var\(--sidebar-width-icon\)_\+_theme\(spacing\.4\)\)\]{width:calc(var(--sidebar-width-icon) + 1rem)}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:w-\[calc\(var\(--sidebar-width-icon\)_\+_theme\(spacing\.4\)_\+2px\)\]{width:calc(var(--sidebar-width-icon) + 1rem 2px)}.group[data-collapsible=offcanvas] .group-data-\[collapsible\=offcanvas\]\:w-0{width:0}.group[data-collapsible=offcanvas] .group-data-\[collapsible\=offcanvas\]\:translate-x-0{--tw-translate-x:0px}.group[data-collapsible=offcanvas] .group-data-\[collapsible\=offcanvas\]\:translate-x-0,.group[data-side=right] .group-data-\[side\=right\]\:rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group[data-side=right] .group-data-\[side\=right\]\:rotate-180{--tw-rotate:180deg}.group\/collapsible[data-state=open] .group-data-\[state\=open\]\/collapsible\:rotate-90{--tw-rotate:90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:overflow-hidden{overflow:hidden}.group[data-variant=floating] .group-data-\[variant\=floating\]\:rounded-lg{border-radius:var(--radius)}.group[data-variant=floating] .group-data-\[variant\=floating\]\:border{border-width:1px}.group[data-side=left] .group-data-\[side\=left\]\:border-r{border-right-width:1px}.group[data-side=right] .group-data-\[side\=right\]\:border-l{border-left-width:1px}.group[data-variant=floating] .group-data-\[variant\=floating\]\:border-sidebar-border{border-color:hsl(var(--border))}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:\!p-0{padding:0!important}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:\!p-2{padding:.5rem!important}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:opacity-0{opacity:0}.group[data-variant=floating] .group-data-\[variant\=floating\]\:shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.group[data-collapsible=offcanvas] .group-data-\[collapsible\=offcanvas\]\:after\:left-full:after{content:var(--tw-content);left:100%}.group[data-collapsible=offcanvas] .group-data-\[collapsible\=offcanvas\]\:hover\:bg-sidebar:hover{background-color:hsl(var(--background))}.peer\/menu-button[data-size=default]~.peer-data-\[size\=default\]\/menu-button\:top-1\.5{top:.375rem}.peer\/menu-button[data-size=lg]~.peer-data-\[size\=lg\]\/menu-button\:top-2\.5{top:.625rem}.peer\/menu-button[data-size=sm]~.peer-data-\[size\=sm\]\/menu-button\:top-1{top:.25rem}.peer\/menu-button[data-active=true]~.peer-data-\[active\=true\]\/menu-button\:text-sidebar-accent-foreground{color:hsl(var(--accent-foreground))}.prose-h1\:border-b :is(:where(h1):not(:where([class~=not-prose],[class~=not-prose] *))){border-bottom-width:1px}.prose-h1\:pb-2 :is(:where(h1):not(:where([class~=not-prose],[class~=not-prose] *))){padding-bottom:.5rem}.prose-h2\:border-b :is(:where(h2):not(:where([class~=not-prose],[class~=not-prose] *))){border-bottom-width:1px}.prose-h2\:pb-2 :is(:where(h2):not(:where([class~=not-prose],[class~=not-prose] *))){padding-bottom:.5rem}.prose-p\:my-0 :is(:where(p):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:0;margin-bottom:0}.prose-p\:mb-2 :is(:where(p):not(:where([class~=not-prose],[class~=not-prose] *))){margin-bottom:.5rem}.prose-p\:mt-0 :is(:where(p):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:0}.prose-p\:leading-relaxed :is(:where(p):not(:where([class~=not-prose],[class~=not-prose] *))){line-height:1.625}.prose-a\:text-primary :is(:where(a):not(:where([class~=not-prose],[class~=not-prose] *))){color:hsl(var(--primary))}.prose-pre\:mt-1 :is(:where(pre):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:.25rem}.prose-pre\:p-0 :is(:where(pre):not(:where([class~=not-prose],[class~=not-prose] *))){padding:0}.prose-img\:inline :is(:where(img):not(:where([class~=not-prose],[class~=not-prose] *))){display:inline}.prose-img\:w-auto :is(:where(img):not(:where([class~=not-prose],[class~=not-prose] *))){width:auto}.prose-img\:max-w-full :is(:where(img):not(:where([class~=not-prose],[class~=not-prose] *))){max-width:100%}:is(.dark .dark\:block){display:block}:is(.dark .dark\:hidden){display:none}:is(.dark .dark\:border-2){border-width:2px}:is(.dark .dark\:border-\[\#33363c\]){--tw-border-opacity:1;border-color:rgb(51 54 60/var(--tw-border-opacity))}:is(.dark .dark\:border-destructive){border-color:hsl(var(--destructive))}:is(.dark .dark\:border-muted-foreground){border-color:hsl(var(--muted-foreground))}:is(.dark .dark\:border-muted-foreground\/60){border-color:hsl(var(--muted-foreground)/.6)}:is(.dark .dark\:bg-\[\#333333\]){--tw-bg-opacity:1;background-color:rgb(51 51 51/var(--tw-bg-opacity))}:is(.dark .dark\:bg-\[\#3D382F\]){--tw-bg-opacity:1;background-color:rgb(61 56 47/var(--tw-bg-opacity))}:is(.dark .dark\:bg-\[\#4F483B\]){--tw-bg-opacity:1;background-color:rgb(79 72 59/var(--tw-bg-opacity))}:is(.dark .dark\:bg-\[hsl\(0\2c 0\2c 13\.5\%\)\]){--tw-bg-opacity:1;background-color:hsl(0 0 13.5%/var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800){--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}:is(.dark .dark\:text-green-500){--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity))}:is(.dark .dark\:text-red-500){--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-400){--tw-text-opacity:1;color:rgb(250 204 21/var(--tw-text-opacity))}:is(.dark .dark\:shadow-\[0px_-4px_4px_rgba\(255\2c 255\2c 255\2c 0\.2\)\]){--tw-shadow:0px -4px 4px hsla(0,0%,100%,.2);--tw-shadow-colored:0px -4px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}:is(.dark .dark\:shadow-\[0px_3px_8px_rgba\(255\2c 255\2c 255\2c 0\.3\)\]){--tw-shadow:0px 3px 8px hsla(0,0%,100%,.3);--tw-shadow-colored:0px 3px 8px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}:is(.dark .dark\:invert-0){--tw-invert:invert(0);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}:is(.dark .dark\:hover\:border-muted-foreground:hover){border-color:hsl(var(--muted-foreground))}@media (min-width:640px){.sm\:left-4{left:1rem}.sm\:right-4{right:1rem}.sm\:right-8{right:2rem}.sm\:mt-0{margin-top:0}.sm\:block{display:block}.sm\:flex{display:flex}.sm\:hidden{display:none}.sm\:max-w-sm{max-width:24rem}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-start{justify-content:flex-start}.sm\:justify-end{justify-content:flex-end}.sm\:gap-4{gap:1rem}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.sm\:space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:rounded-md{border-radius:calc(var(--radius) - 2px)}.sm\:rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.sm\:border{border-width:1px}.sm\:px-12{padding-left:3rem;padding-right:3rem}.sm\:py-0{padding-top:0;padding-bottom:0}.sm\:pl-4{padding-left:1rem}.sm\:text-left{text-align:left}.sm\:text-3xl{font-size:1.875rem;line-height:2.25rem}.sm\:text-7xl{font-size:4.5rem;line-height:1}.sm\:zoom-in-90{--tw-enter-scale:.9}.sm\:slide-in-from-bottom-0{--tw-enter-translate-y:0px}}@media (min-width:768px){.md\:absolute{position:absolute}.md\:-right-\[4rem\]{right:-4rem}.md\:-top-2{top:-.5rem}.md\:top-2{top:.5rem}.md\:my-8{margin-top:2rem;margin-bottom:2rem}.md\:-ml-4{margin-left:-1rem}.md\:ml-4{margin-left:1rem}.md\:block{display:block}.md\:flex{display:flex}.md\:hidden{display:none}.md\:h-8{height:2rem}.md\:w-36{width:9rem}.md\:w-8{width:2rem}.md\:w-\[150px\]{width:150px}.md\:w-\[180px\]{width:180px}.md\:w-\[190px\]{width:190px}.md\:w-\[240px\]{width:240px}.md\:w-\[30\%\]{width:30%}.md\:w-\[350px\]{width:350px}.md\:w-\[40\%\]{width:40%}.md\:w-\[430px\]{width:430px}.md\:w-auto{width:auto}.md\:w-full{width:100%}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:gap-x-8{-moz-column-gap:2rem;column-gap:2rem}.md\:gap-y-0{row-gap:0}.md\:space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.md\:space-x-6>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(1.5rem * var(--tw-space-x-reverse));margin-left:calc(1.5rem * calc(1 - var(--tw-space-x-reverse)))}.md\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.md\:px-1{padding-left:.25rem;padding-right:.25rem}.md\:px-4{padding-left:1rem;padding-right:1rem}.md\:px-5{padding-left:1.25rem;padding-right:1.25rem}.md\:py-0{padding-top:0;padding-bottom:0}.md\:py-4{padding-top:1rem;padding-bottom:1rem}.md\:pl-10{padding-left:2.5rem}.md\:pr-8{padding-right:2rem}.md\:pr-\[3\.75rem\]{padding-right:3.75rem}.md\:pt-0{padding-top:0}.md\:pt-10{padding-top:2.5rem}.md\:text-start{text-align:start}.md\:text-sm{font-size:.875rem;line-height:1.25rem}.md\:opacity-0{opacity:0}.after\:md\:hidden:after{content:var(--tw-content);display:none}.peer[data-variant=inset]~.md\:peer-data-\[variant\=inset\]\:m-2{margin:.5rem}.peer[data-state=collapsed][data-variant=inset]~.md\:peer-data-\[state\=collapsed\]\:peer-data-\[variant\=inset\]\:ml-2{margin-left:.5rem}.peer[data-variant=inset]~.md\:peer-data-\[variant\=inset\]\:ml-0{margin-left:0}.peer[data-variant=inset]~.md\:peer-data-\[variant\=inset\]\:rounded-xl{border-radius:.75rem}.peer[data-variant=inset]~.md\:peer-data-\[variant\=inset\]\:shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}}@media (min-width:1024px){.lg\:\!bottom-\[2\.85rem\]{bottom:2.85rem!important}.lg\:-m-10{margin:-2.5rem}.lg\:-mt-\[2vh\]{margin-top:-2vh}.lg\:mb-0{margin-bottom:0}.lg\:mt-0{margin-top:0}.lg\:mt-8{margin-top:2rem}.lg\:block{display:block}.lg\:flex{display:flex}.lg\:hidden{display:none}.lg\:w-1\/5{width:20%}.lg\:w-2\/3{width:66.666667%}.lg\:w-32{width:8rem}.lg\:w-\[200px\]{width:200px}.lg\:w-\[250px\]{width:250px}.lg\:w-\[260px\]{width:260px}.lg\:w-\[340px\]{width:340px}.lg\:max-w-4xl{max-width:56rem}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}.lg\:flex-wrap{flex-wrap:wrap}.lg\:items-end{align-items:flex-end}.lg\:gap-x-10{-moz-column-gap:2.5rem;column-gap:2.5rem}.lg\:gap-y-0{row-gap:0}.lg\:break-words{overflow-wrap:break-word}.lg\:p-10{padding:2.5rem}.lg\:px-0{padding-left:0;padding-right:0}.lg\:px-10{padding-left:2.5rem;padding-right:2.5rem}.lg\:px-4{padding-left:1rem;padding-right:1rem}.lg\:pb-0{padding-bottom:0}.lg\:text-sm{font-size:.875rem;line-height:1.25rem}}@media (min-width:1280px){.xl\:ml-auto{margin-left:auto}.xl\:block{display:block}.xl\:flex{display:flex}.xl\:hidden{display:none}.xl\:w-\[20\%\]{width:20%}.xl\:w-\[800px\]{width:800px}.xl\:w-auto{width:auto}.xl\:flex-row{flex-direction:row}.xl\:items-center{align-items:center}.xl\:justify-start{justify-content:flex-start}.xl\:justify-between{justify-content:space-between}.xl\:pb-32{padding-bottom:8rem}}@media (min-width:1536px){.\32xl\:mx-auto{margin-left:auto;margin-right:auto}.\32xl\:block{display:block}.\32xl\:hidden{display:none}.\32xl\:max-w-5xl{max-width:64rem}}.\[\&\:has\(\[aria-selected\]\)\]\:bg-accent:has([aria-selected]){background-color:hsl(var(--accent))}.first\:\[\&\:has\(\[aria-selected\]\)\]\:rounded-l-md:has([aria-selected]):first-child{border-top-left-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}.last\:\[\&\:has\(\[aria-selected\]\)\]\:rounded-r-md:has([aria-selected]):last-child{border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.\[\&\:has\(\[aria-selected\]\.day-outside\)\]\:bg-accent\/50:has([aria-selected].day-outside){background-color:hsl(var(--accent)/.5)}.\[\&\:has\(\[aria-selected\]\.day-range-end\)\]\:rounded-r-md:has([aria-selected].day-range-end){border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:0}.\[\&\>button\]\:hidden>button{display:none}.\[\&\>div\]\:\!block>div{display:block!important}.\[\&\>span\:last-child\]\:truncate>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.\[\&\>svg\+div\]\:translate-y-\[-3px\]>svg+div{--tw-translate-y:-3px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>svg\]\:absolute>svg{position:absolute}.\[\&\>svg\]\:left-4>svg{left:1rem}.\[\&\>svg\]\:top-4>svg{top:1rem}.\[\&\>svg\]\:shrink-0>svg{flex-shrink:0}.\[\&\>svg\]\:text-destructive>svg{color:hsl(var(--destructive))}.\[\&\>svg\]\:text-foreground>svg{color:hsl(var(--foreground))}.\[\&\>svg\]\:text-sidebar-accent-foreground>svg{color:hsl(var(--accent-foreground))}.\[\&\>svg\~\*\]\:pl-7>svg~*{padding-left:1.75rem}.\[\&\>tr\]\:last\:border-b-0:last-child>tr{border-bottom-width:0}.\[\&\[data-panel-group-direction\=vertical\]\>div\]\:rotate-90[data-panel-group-direction=vertical]>div{--tw-rotate:90deg}.\[\&\[data-panel-group-direction\=vertical\]\>div\]\:rotate-90[data-panel-group-direction=vertical]>div,.\[\&\[data-state\=open\]\>svg\]\:rotate-180[data-state=open]>svg{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\[data-state\=open\]\>svg\]\:rotate-180[data-state=open]>svg{--tw-rotate:180deg}.\[\&_\[cmdk-group-heading\]\]\:px-2 [cmdk-group-heading]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-group-heading\]\]\:py-1\.5 [cmdk-group-heading]{padding-top:.375rem;padding-bottom:.375rem}.\[\&_\[cmdk-group-heading\]\]\:text-xs [cmdk-group-heading]{font-size:.75rem;line-height:1rem}.\[\&_\[cmdk-group-heading\]\]\:font-medium [cmdk-group-heading]{font-weight:500}.\[\&_\[cmdk-group-heading\]\]\:text-muted-foreground [cmdk-group-heading]{color:hsl(var(--muted-foreground))}.\[\&_\[cmdk-group\]\:not\(\[hidden\]\)_\~\[cmdk-group\]\]\:pt-0 [cmdk-group]:not([hidden])~[cmdk-group]{padding-top:0}.\[\&_\[cmdk-group\]\]\:px-2 [cmdk-group]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:h-5 [cmdk-input-wrapper] svg{height:1.25rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:w-5 [cmdk-input-wrapper] svg{width:1.25rem}.\[\&_\[cmdk-input\]\]\:h-12 [cmdk-input]{height:3rem}.\[\&_\[cmdk-item\]\]\:px-2 [cmdk-item]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-item\]\]\:py-3 [cmdk-item]{padding-top:.75rem;padding-bottom:.75rem}.\[\&_\[cmdk-item\]_svg\]\:h-5 [cmdk-item] svg{height:1.25rem}.\[\&_\[cmdk-item\]_svg\]\:w-5 [cmdk-item] svg{width:1.25rem}.\[\&_p\]\:leading-relaxed p{line-height:1.625}.\[\&_svg\]\:invisible svg{visibility:hidden}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-width:0}.\[\&_tr\]\:border-b tr{border-bottom-width:1px}[data-side=left][data-collapsible=offcanvas] .\[\[data-side\=left\]\[data-collapsible\=offcanvas\]_\&\]\:-right-2{right:-.5rem}[data-side=left][data-state=collapsed] .\[\[data-side\=left\]\[data-state\=collapsed\]_\&\]\:cursor-e-resize{cursor:e-resize}[data-side=left] .\[\[data-side\=left\]_\&\]\:cursor-w-resize{cursor:w-resize}[data-side=right][data-collapsible=offcanvas] .\[\[data-side\=right\]\[data-collapsible\=offcanvas\]_\&\]\:-left-2{left:-.5rem}[data-side=right][data-state=collapsed] .\[\[data-side\=right\]\[data-state\=collapsed\]_\&\]\:cursor-w-resize{cursor:w-resize}[data-side=right] .\[\[data-side\=right\]_\&\]\:cursor-e-resize{cursor:e-resize} \ No newline at end of file diff --git a/ee/tabby-webserver/ui/activities.html b/ee/tabby-webserver/ui/activities.html index 16bbd508a92f..7ec648ea3e14 100644 --- a/ee/tabby-webserver/ui/activities.html +++ b/ee/tabby-webserver/ui/activities.html @@ -1 +1 @@ -Tabby - Activities \ No newline at end of file +Tabby - Activities \ No newline at end of file diff --git a/ee/tabby-webserver/ui/activities.txt b/ee/tabby-webserver/ui/activities.txt index 67e14013429b..5f0bf0c21aa6 100644 --- a/ee/tabby-webserver/ui/activities.txt +++ b/ee/tabby-webserver/ui/activities.txt @@ -1,17 +1,17 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["(dashboard)",{"children":["activities",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] -7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -9:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -a:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"LicenseBanner","async":false} -d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"","async":false} -f:I{"id":13211,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","2897:static/chunks/54180a3d-2885e2285ca2b331.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1889:static/chunks/1889-0e9adc6536876089.js","5223:static/chunks/5223-c8317d6500a88348.js","2457:static/chunks/2457-9d5cd61e65a89a26.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4017:static/chunks/4017-6405fb85f2a2e5c8.js","4986:static/chunks/app/(dashboard)/activities/page-4c81023acc0eac07.js"],"name":"","async":false} -10:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["(dashboard)",{"children":["activities",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] +7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +9:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +a:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"LicenseBanner","async":false} +d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"","async":false} +f:I{"id":13211,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","2897:static/chunks/54180a3d-2885e2285ca2b331.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1889:static/chunks/1889-87c8467fcccd59fb.js","803:static/chunks/803-8eeb5019917e9716.js","8199:static/chunks/8199-0de0022feebb136f.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4017:static/chunks/4017-2467b12c98927470.js","4986:static/chunks/app/(dashboard)/activities/page-3febbc115db62de1.js"],"name":"","async":false} +10:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Activities"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] 5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L8",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":["$","$Lb",null,{}],"notFoundStyles":[],"childProp":{"current":[null,[["$","$Lc",null,{}],["$","$Ld",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","activities","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$Le",["$","$Lf",null,{}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"activities"},"styles":[]}]}]],null],"segment":"(dashboard)"},"styles":[]}]}],["$","$L10",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] e:null diff --git a/ee/tabby-webserver/ui/api.html b/ee/tabby-webserver/ui/api.html index 2b8cddc04a06..4b3b652e4194 100644 --- a/ee/tabby-webserver/ui/api.html +++ b/ee/tabby-webserver/ui/api.html @@ -1 +1 @@ -Tabby - API \ No newline at end of file +Tabby - API \ No newline at end of file diff --git a/ee/tabby-webserver/ui/api.txt b/ee/tabby-webserver/ui/api.txt index 02ac9b9f80bd..3559335cee6c 100644 --- a/ee/tabby-webserver/ui/api.txt +++ b/ee/tabby-webserver/ui/api.txt @@ -1,14 +1,14 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["api",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] -7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -9:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -a:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -d:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["api",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] +7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +9:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +a:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +d:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - API"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] 5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L8",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":["$","$Lb",null,{}],"notFoundStyles":[],"childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","api","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$Lc",["$","iframe",null,{"className":"grow","src":"/swagger-ui"}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"api"},"styles":[]}]}],["$","$Ld",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] c:null diff --git a/ee/tabby-webserver/ui/auth/reset-password.html b/ee/tabby-webserver/ui/auth/reset-password.html index dbdd81fd1d18..a178560e5085 100644 --- a/ee/tabby-webserver/ui/auth/reset-password.html +++ b/ee/tabby-webserver/ui/auth/reset-password.html @@ -1 +1 @@ -Tabby - Reset password \ No newline at end of file +Tabby - Reset password \ No newline at end of file diff --git a/ee/tabby-webserver/ui/auth/reset-password.txt b/ee/tabby-webserver/ui/auth/reset-password.txt index 2b16fdc7c2b7..03ed0092f221 100644 --- a/ee/tabby-webserver/ui/auth/reset-password.txt +++ b/ee/tabby-webserver/ui/auth/reset-password.txt @@ -1,15 +1,15 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["auth",{"children":["reset-password",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] -7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -9:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -a:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -d:I{"id":26756,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","2048:static/chunks/app/auth/reset-password/page-6c4257f2fbf71e11.js"],"name":"","async":false} -e:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["auth",{"children":["reset-password",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] +7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +9:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +a:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +d:I{"id":26756,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","2048:static/chunks/app/auth/reset-password/page-c8c2c17429ce6ace.js"],"name":"","async":false} +e:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Reset password"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] 5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L8",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":["$","$Lb",null,{}],"notFoundStyles":[],"childProp":{"current":[null,["$","div",null,{"className":"flex flex-1 flex-col items-center justify-center","children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","auth","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","auth","children","reset-password","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$Lc",["$","div",null,{"className":"flex flex-1 flex-col items-center justify-center","children":["$","$Ld",null,{}]}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"reset-password"},"styles":[]}]}],null],"segment":"auth"},"styles":[]}]}],["$","$Le",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] c:null diff --git a/ee/tabby-webserver/ui/auth/signin.html b/ee/tabby-webserver/ui/auth/signin.html index a499863f1579..a8986e30ec70 100644 --- a/ee/tabby-webserver/ui/auth/signin.html +++ b/ee/tabby-webserver/ui/auth/signin.html @@ -1 +1 @@ -Tabby - Sign In \ No newline at end of file +Tabby - Sign In \ No newline at end of file diff --git a/ee/tabby-webserver/ui/auth/signin.txt b/ee/tabby-webserver/ui/auth/signin.txt index efc4811ca55b..62c036f284e0 100644 --- a/ee/tabby-webserver/ui/auth/signin.txt +++ b/ee/tabby-webserver/ui/auth/signin.txt @@ -1,15 +1,15 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["auth",{"children":["signin",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] -7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -9:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -a:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -d:I{"id":95463,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","8098:static/chunks/app/auth/signin/page-0eaf47e9e24dd44b.js"],"name":"","async":false} -e:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["auth",{"children":["signin",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] +7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +9:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +a:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +d:I{"id":95463,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","8098:static/chunks/app/auth/signin/page-74ef2da8a9067bc9.js"],"name":"","async":false} +e:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Sign In"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] 5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L8",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":["$","$Lb",null,{}],"notFoundStyles":[],"childProp":{"current":[null,["$","div",null,{"className":"flex flex-1 flex-col items-center justify-center","children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","auth","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","auth","children","signin","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$Lc",["$","$Ld",null,{}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"signin"},"styles":[]}]}],null],"segment":"auth"},"styles":[]}]}],["$","$Le",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] c:null diff --git a/ee/tabby-webserver/ui/auth/signup.html b/ee/tabby-webserver/ui/auth/signup.html index 1fea40b12c59..18f20627bfc5 100644 --- a/ee/tabby-webserver/ui/auth/signup.html +++ b/ee/tabby-webserver/ui/auth/signup.html @@ -1 +1 @@ -Tabby - Sign Up \ No newline at end of file +Tabby - Sign Up \ No newline at end of file diff --git a/ee/tabby-webserver/ui/auth/signup.txt b/ee/tabby-webserver/ui/auth/signup.txt index 7a4a7a4ea9d6..743a2ad98c9f 100644 --- a/ee/tabby-webserver/ui/auth/signup.txt +++ b/ee/tabby-webserver/ui/auth/signup.txt @@ -1,16 +1,16 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["auth",{"children":["signup",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["auth",{"children":["signup",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] 7:HL["/_next/static/css/d556bf5522245bf5.css","style"] -8:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -9:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -a:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -c:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -e:I{"id":4047,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","9643:static/chunks/9643-aef3246a3e5b088d.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","5271:static/chunks/app/auth/signup/page-3d8ded6cdcdb2ea1.js"],"name":"","async":false} -f:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +8:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +9:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +a:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +c:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +e:I{"id":4047,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","9643:static/chunks/9643-aef3246a3e5b088d.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","5271:static/chunks/app/auth/signup/page-90273ec575ae5f61.js"],"name":"","async":false} +f:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Sign Up"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] 5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L8",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L9",null,{"children":["$","$La",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$Lb",null,{}],"templateStyles":"$undefined","notFound":["$","$Lc",null,{}],"notFoundStyles":[],"childProp":{"current":[null,["$","div",null,{"className":"flex flex-1 flex-col items-center justify-center","children":["$","$La",null,{"parallelRouterKey":"children","segmentPath":["children","auth","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$Lb",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$La",null,{"parallelRouterKey":"children","segmentPath":["children","auth","children","signup","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$Lb",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$Ld",["$","$Le",null,{}],null],"segment":"__PAGE__"},"styles":[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d556bf5522245bf5.css","precedence":"next"}]]}],"segment":"signup"},"styles":[]}]}],null],"segment":"auth"},"styles":[]}]}],["$","$Lf",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] d:null diff --git a/ee/tabby-webserver/ui/chat.html b/ee/tabby-webserver/ui/chat.html index f8b492d812c8..ff6be78101a6 100644 --- a/ee/tabby-webserver/ui/chat.html +++ b/ee/tabby-webserver/ui/chat.html @@ -1 +1 @@ -Tabby \ No newline at end of file +Tabby \ No newline at end of file diff --git a/ee/tabby-webserver/ui/chat.txt b/ee/tabby-webserver/ui/chat.txt index e73821a7a698..a137b7eec651 100644 --- a/ee/tabby-webserver/ui/chat.txt +++ b/ee/tabby-webserver/ui/chat.txt @@ -1,17 +1,17 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["chat",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["chat",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] 7:HL["/_next/static/css/2a6225660ae2f7c0.css","style"] -8:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -9:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -a:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -c:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -e:I{"id":96288,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -f:I{"id":7931,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","3078:static/chunks/66df79ff-d33d6b37e0ce0bec.js","753:static/chunks/bce3c14f-87a410b6ce087f70.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7070:static/chunks/7070-0361b26f2c124ca9.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","6805:static/chunks/6805-2c6ecd1c0672c08c.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","1522:static/chunks/1522-8db335c16ab838c7.js","1266:static/chunks/1266-a61fc53b6e6d7d15.js","440:static/chunks/440-831969a89969be7e.js","9427:static/chunks/9427-666865ca3972ec20.js","2763:static/chunks/2763-0870bffb9f651366.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","445:static/chunks/445-4bd82386581332fc.js","9002:static/chunks/9002-a79a9b58cd951d12.js","1929:static/chunks/app/chat/page-f3cdfa07815f5b3a.js"],"name":"","async":false} -10:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +8:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +9:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +a:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +c:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +e:I{"id":96288,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +f:I{"id":7931,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","3078:static/chunks/66df79ff-d33d6b37e0ce0bec.js","753:static/chunks/bce3c14f-87a410b6ce087f70.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7070:static/chunks/7070-0361b26f2c124ca9.js","1002:static/chunks/1002-76b3e1057e71e39d.js","6805:static/chunks/6805-2c6ecd1c0672c08c.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","8300:static/chunks/8300-094bba24d210db59.js","1266:static/chunks/1266-a61fc53b6e6d7d15.js","440:static/chunks/440-831969a89969be7e.js","9427:static/chunks/9427-666865ca3972ec20.js","2763:static/chunks/2763-0870bffb9f651366.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","3236:static/chunks/3236-d3ba703104704f82.js","9002:static/chunks/9002-3d2ddf890b36385d.js","1929:static/chunks/app/chat/page-07e6b44c42be9da2.js"],"name":"","async":false} +10:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L8",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L9",null,{"children":["$","$La",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$Lb",null,{}],"templateStyles":"$undefined","notFound":["$","$Lc",null,{}],"notFoundStyles":[],"childProp":{"current":["$","$La",null,{"parallelRouterKey":"children","segmentPath":["children","chat","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$Lb",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$Ld",["$","$Le",null,{"propsForComponent":{"params":{}},"Component":"$f"}],null],"segment":"__PAGE__"},"styles":[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/2a6225660ae2f7c0.css","precedence":"next"}]]}],"segment":"chat"},"styles":[]}]}],["$","$L10",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] d:null diff --git a/ee/tabby-webserver/ui/experiments.html b/ee/tabby-webserver/ui/experiments.html index 9e4c93cb8f68..658f9d57b77a 100644 --- a/ee/tabby-webserver/ui/experiments.html +++ b/ee/tabby-webserver/ui/experiments.html @@ -1 +1 @@ -Tabby - Experiment Flags \ No newline at end of file +Tabby - Experiment Flags \ No newline at end of file diff --git a/ee/tabby-webserver/ui/experiments.txt b/ee/tabby-webserver/ui/experiments.txt index ee600dd805b5..5fd7cfd4aeb3 100644 --- a/ee/tabby-webserver/ui/experiments.txt +++ b/ee/tabby-webserver/ui/experiments.txt @@ -1,17 +1,17 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["(dashboard)",{"children":["experiments",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] -7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -9:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -a:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"LicenseBanner","async":false} -d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"","async":false} -f:I{"id":45915,"chunks":["7430:static/chunks/7430-aefcadaca226d7da.js","6887:static/chunks/6887-53dfec50a8a5eeda.js","7288:static/chunks/7288-15d369f9368f1cf5.js","2061:static/chunks/app/(dashboard)/experiments/page-abda32489619a23c.js"],"name":"","async":false} -10:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["(dashboard)",{"children":["experiments",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] +7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +9:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +a:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"LicenseBanner","async":false} +d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"","async":false} +f:I{"id":45915,"chunks":["7430:static/chunks/7430-aefcadaca226d7da.js","6887:static/chunks/6887-53dfec50a8a5eeda.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","2061:static/chunks/app/(dashboard)/experiments/page-8a912f92c44776f3.js"],"name":"","async":false} +10:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Experiment Flags"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] 5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L8",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":["$","$Lb",null,{}],"notFoundStyles":[],"childProp":{"current":[null,[["$","$Lc",null,{}],["$","$Ld",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","experiments","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$Le",["$","div",null,{"className":"mx-auto flex max-w-xl flex-col gap-3","children":[["$","h3",null,{"className":"scroll-m-20 text-2xl font-semibold tracking-tight","children":"Experiment Flags"}],["$","$Lf",null,{}]]}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"experiments"},"styles":[]}]}]],null],"segment":"(dashboard)"},"styles":[]}]}],["$","$L10",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] e:null diff --git a/ee/tabby-webserver/ui/files.html b/ee/tabby-webserver/ui/files.html index e267c8e49275..bdcdf18e306e 100644 --- a/ee/tabby-webserver/ui/files.html +++ b/ee/tabby-webserver/ui/files.html @@ -1 +1 @@ -Tabby - Code Browser \ No newline at end of file +Tabby - Code Browser \ No newline at end of file diff --git a/ee/tabby-webserver/ui/files.txt b/ee/tabby-webserver/ui/files.txt index acba2da7893f..e8bdbb42856c 100644 --- a/ee/tabby-webserver/ui/files.txt +++ b/ee/tabby-webserver/ui/files.txt @@ -1,16 +1,16 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["files",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] -7:HL["/_next/static/css/9f90e164ea50dc62.css","style"] -8:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -9:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -a:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -c:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -e:I{"id":31919,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","5870:static/chunks/0b0d3d93-d1b36f377edd7fea.js","6056:static/chunks/c0672f29-5c54ef189b1b49b1.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7070:static/chunks/7070-0361b26f2c124ca9.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","6805:static/chunks/6805-2c6ecd1c0672c08c.js","1889:static/chunks/1889-0e9adc6536876089.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","440:static/chunks/440-831969a89969be7e.js","5019:static/chunks/5019-39e36ef5ca7157df.js","8545:static/chunks/8545-e201ac4a949362a0.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9002:static/chunks/9002-a79a9b58cd951d12.js","357:static/chunks/app/files/page-9a142c6f88756224.js"],"name":"SourceCodeBrowser","async":false} -f:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["files",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] +7:HL["/_next/static/css/a687afeba4cf5598.css","style"] +8:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +9:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +a:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +c:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +e:I{"id":31919,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","5870:static/chunks/0b0d3d93-d1b36f377edd7fea.js","6056:static/chunks/c0672f29-5c54ef189b1b49b1.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7070:static/chunks/7070-0361b26f2c124ca9.js","1002:static/chunks/1002-76b3e1057e71e39d.js","6805:static/chunks/6805-2c6ecd1c0672c08c.js","4553:static/chunks/4553-c01da5706224f2a4.js","1889:static/chunks/1889-87c8467fcccd59fb.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","440:static/chunks/440-831969a89969be7e.js","5019:static/chunks/5019-39e36ef5ca7157df.js","8545:static/chunks/8545-e201ac4a949362a0.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9002:static/chunks/9002-3d2ddf890b36385d.js","357:static/chunks/app/files/page-3002ce5b43c39209.js"],"name":"SourceCodeBrowser","async":false} +f:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Code Browser"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] -5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L8",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L9",null,{"children":["$","$La",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$Lb",null,{}],"templateStyles":"$undefined","notFound":["$","$Lc",null,{}],"notFoundStyles":[],"childProp":{"current":["$","$La",null,{"parallelRouterKey":"children","segmentPath":["children","files","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$Lb",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$Ld",["$","div",null,{"className":"flex flex-col","children":["$","$Le",null,{"className":"flex-1 overflow-hidden"}]}],null],"segment":"__PAGE__"},"styles":[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/9f90e164ea50dc62.css","precedence":"next"}]]}],"segment":"files"},"styles":[]}]}],["$","$Lf",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] +5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L8",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L9",null,{"children":["$","$La",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$Lb",null,{}],"templateStyles":"$undefined","notFound":["$","$Lc",null,{}],"notFoundStyles":[],"childProp":{"current":["$","$La",null,{"parallelRouterKey":"children","segmentPath":["children","files","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$Lb",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$Ld",["$","div",null,{"className":"flex flex-col","children":["$","$Le",null,{"className":"flex-1 overflow-hidden"}]}],null],"segment":"__PAGE__"},"styles":[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/a687afeba4cf5598.css","precedence":"next"}]]}],"segment":"files"},"styles":[]}]}],["$","$Lf",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] d:null diff --git a/ee/tabby-webserver/ui/index.html b/ee/tabby-webserver/ui/index.html index 1d32a452d3bb..7acd2bff8009 100644 --- a/ee/tabby-webserver/ui/index.html +++ b/ee/tabby-webserver/ui/index.html @@ -1 +1 @@ -Tabby \ No newline at end of file +Tabby \ No newline at end of file diff --git a/ee/tabby-webserver/ui/index.txt b/ee/tabby-webserver/ui/index.txt index 88a676d5f648..4de6b9d62e12 100644 --- a/ee/tabby-webserver/ui/index.txt +++ b/ee/tabby-webserver/ui/index.txt @@ -1,17 +1,17 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["(home)",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["(home)",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] 7:HL["/_next/static/css/f56f26bcdeb236dc.css","style"] -8:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -9:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -a:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -c:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -e:I{"id":96288,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -f:I{"id":61207,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","3078:static/chunks/66df79ff-d33d6b37e0ce0bec.js","753:static/chunks/bce3c14f-87a410b6ce087f70.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","1522:static/chunks/1522-8db335c16ab838c7.js","3752:static/chunks/3752-191168a6025c828b.js","6265:static/chunks/6265-12d9f173707c0c8e.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5608:static/chunks/app/(home)/page-24ab6315a1309f1d.js"],"name":"","async":false} -10:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +8:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +9:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +a:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +c:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +e:I{"id":96288,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +f:I{"id":61207,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","3078:static/chunks/66df79ff-d33d6b37e0ce0bec.js","753:static/chunks/bce3c14f-87a410b6ce087f70.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","6805:static/chunks/6805-2c6ecd1c0672c08c.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","8300:static/chunks/8300-094bba24d210db59.js","3752:static/chunks/3752-191168a6025c828b.js","4916:static/chunks/4916-e1035a37c0e37e65.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","2685:static/chunks/2685-29efc3a639ee7624.js","5608:static/chunks/app/(home)/page-293192ed904d8626.js"],"name":"","async":false} +10:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L8",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L9",null,{"children":["$","$La",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$Lb",null,{}],"templateStyles":"$undefined","notFound":["$","$Lc",null,{}],"notFoundStyles":[],"childProp":{"current":["$","$La",null,{"parallelRouterKey":"children","segmentPath":["children","(home)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$Lb",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$Ld",["$","$Le",null,{"propsForComponent":{"params":{}},"Component":"$f"}],null],"segment":"__PAGE__"},"styles":[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/f56f26bcdeb236dc.css","precedence":"next"}]]}],"segment":"(home)"},"styles":[]}]}],["$","$L10",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] d:null diff --git a/ee/tabby-webserver/ui/jobs.html b/ee/tabby-webserver/ui/jobs.html index f051ff72008a..1ffac87d21b2 100644 --- a/ee/tabby-webserver/ui/jobs.html +++ b/ee/tabby-webserver/ui/jobs.html @@ -1 +1 @@ -Tabby - Jobs \ No newline at end of file +Tabby - Jobs \ No newline at end of file diff --git a/ee/tabby-webserver/ui/jobs.txt b/ee/tabby-webserver/ui/jobs.txt index 50835049345c..0fcc08e7ada8 100644 --- a/ee/tabby-webserver/ui/jobs.txt +++ b/ee/tabby-webserver/ui/jobs.txt @@ -1,17 +1,17 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["(dashboard)",{"children":["(logs)",{"children":["jobs",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] -7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -9:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -a:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"LicenseBanner","async":false} -d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"","async":false} -f:I{"id":99968,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","7651:static/chunks/7651-24beeff62690d201.js","6312:static/chunks/6312-8c64b974a3c0bae4.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","699:static/chunks/app/(dashboard)/(logs)/jobs/page-ab1d487d7a066bc8.js"],"name":"","async":false} -10:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["(dashboard)",{"children":["(logs)",{"children":["jobs",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] +7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +9:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +a:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"LicenseBanner","async":false} +d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"","async":false} +f:I{"id":99968,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","7651:static/chunks/7651-24beeff62690d201.js","6312:static/chunks/6312-8c64b974a3c0bae4.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","699:static/chunks/app/(dashboard)/(logs)/jobs/page-77cf30b40ecb0574.js"],"name":"","async":false} +10:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Jobs"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] 5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L8",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":["$","$Lb",null,{}],"notFoundStyles":[],"childProp":{"current":[null,[["$","$Lc",null,{}],["$","$Ld",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[null,["$","div",null,{"className":"flex flex-col","children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","(logs)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","(logs)","children","jobs","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$Le",["$","$Lf",null,{}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"jobs"},"styles":[]}]}],null],"segment":"(logs)"},"styles":[]}]}]],null],"segment":"(dashboard)"},"styles":[]}]}],["$","$L10",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] e:null diff --git a/ee/tabby-webserver/ui/jobs/detail.html b/ee/tabby-webserver/ui/jobs/detail.html index bf36907cb483..6f0722635b23 100644 --- a/ee/tabby-webserver/ui/jobs/detail.html +++ b/ee/tabby-webserver/ui/jobs/detail.html @@ -1 +1 @@ -Tabby - Dashboard \ No newline at end of file +Tabby - Dashboard \ No newline at end of file diff --git a/ee/tabby-webserver/ui/jobs/detail.txt b/ee/tabby-webserver/ui/jobs/detail.txt index 360d2794c5ca..8b553228978b 100644 --- a/ee/tabby-webserver/ui/jobs/detail.txt +++ b/ee/tabby-webserver/ui/jobs/detail.txt @@ -1,17 +1,17 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["(dashboard)",{"children":["(logs)",{"children":["jobs",{"children":["detail",{"children":["__PAGE__",{}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] -7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -9:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -a:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"LicenseBanner","async":false} -d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"","async":false} -f:I{"id":77930,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","7651:static/chunks/7651-24beeff62690d201.js","1600:static/chunks/1600-19531e8ed7f7a7f3.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","1908:static/chunks/app/(dashboard)/(logs)/jobs/detail/page-fe9b8ac789aa12da.js"],"name":"","async":false} -10:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["(dashboard)",{"children":["(logs)",{"children":["jobs",{"children":["detail",{"children":["__PAGE__",{}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] +7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +9:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +a:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"LicenseBanner","async":false} +d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"","async":false} +f:I{"id":77930,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","7651:static/chunks/7651-24beeff62690d201.js","1600:static/chunks/1600-19531e8ed7f7a7f3.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","1908:static/chunks/app/(dashboard)/(logs)/jobs/detail/page-4248f3e2d1a9a649.js"],"name":"","async":false} +10:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Dashboard"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] 5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L8",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":["$","$Lb",null,{}],"notFoundStyles":[],"childProp":{"current":[null,[["$","$Lc",null,{}],["$","$Ld",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[null,["$","div",null,{"className":"flex flex-col","children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","(logs)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","(logs)","children","jobs","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","(logs)","children","jobs","children","detail","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$Le",["$","$Lf",null,{}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"detail"},"styles":[]}],"segment":"jobs"},"styles":[]}]}],null],"segment":"(logs)"},"styles":[]}]}]],null],"segment":"(dashboard)"},"styles":[]}]}],["$","$L10",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] e:null diff --git a/ee/tabby-webserver/ui/profile.html b/ee/tabby-webserver/ui/profile.html index 86e6ca4b903a..ac2c0d6a485b 100644 --- a/ee/tabby-webserver/ui/profile.html +++ b/ee/tabby-webserver/ui/profile.html @@ -1 +1 @@ -Tabby - Profile \ No newline at end of file +Tabby - Profile \ No newline at end of file diff --git a/ee/tabby-webserver/ui/profile.txt b/ee/tabby-webserver/ui/profile.txt index a440a7da7b33..ccb7fb105e27 100644 --- a/ee/tabby-webserver/ui/profile.txt +++ b/ee/tabby-webserver/ui/profile.txt @@ -1,17 +1,17 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["(dashboard)",{"children":["profile",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] -7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -9:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -a:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"LicenseBanner","async":false} -d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"","async":false} -f:I{"id":79879,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","9643:static/chunks/9643-aef3246a3e5b088d.js","2578:static/chunks/2578-d9f0a320312c2f97.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","5688:static/chunks/app/(dashboard)/profile/page-92fdb6fc86588b59.js"],"name":"","async":false} -10:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["(dashboard)",{"children":["profile",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] +7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +9:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +a:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"LicenseBanner","async":false} +d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"","async":false} +f:I{"id":79879,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","9643:static/chunks/9643-aef3246a3e5b088d.js","2578:static/chunks/2578-d9f0a320312c2f97.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","5688:static/chunks/app/(dashboard)/profile/page-d70b7b8f32582491.js"],"name":"","async":false} +10:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Profile"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] 5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L8",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":["$","$Lb",null,{}],"notFoundStyles":[],"childProp":{"current":[null,[["$","$Lc",null,{}],["$","$Ld",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","profile","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$Le",["$","$Lf",null,{}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"profile"},"styles":[]}]}]],null],"segment":"(dashboard)"},"styles":[]}]}],["$","$L10",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] e:null diff --git a/ee/tabby-webserver/ui/reports.html b/ee/tabby-webserver/ui/reports.html index ae41ac436410..a292420b2721 100644 --- a/ee/tabby-webserver/ui/reports.html +++ b/ee/tabby-webserver/ui/reports.html @@ -1 +1 @@ -Tabby - Reports \ No newline at end of file +Tabby - Reports \ No newline at end of file diff --git a/ee/tabby-webserver/ui/reports.txt b/ee/tabby-webserver/ui/reports.txt index ca35af284d7c..1cd42910b1a4 100644 --- a/ee/tabby-webserver/ui/reports.txt +++ b/ee/tabby-webserver/ui/reports.txt @@ -1,17 +1,17 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["(dashboard)",{"children":["reports",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] -7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -9:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -a:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"LicenseBanner","async":false} -d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"","async":false} -f:I{"id":66408,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","6805:static/chunks/6805-2c6ecd1c0672c08c.js","1889:static/chunks/1889-0e9adc6536876089.js","3752:static/chunks/3752-191168a6025c828b.js","5223:static/chunks/5223-c8317d6500a88348.js","8009:static/chunks/8009-fe808dd7ac4b0c8d.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4017:static/chunks/4017-6405fb85f2a2e5c8.js","960:static/chunks/app/(dashboard)/reports/page-441d1c99f4e7a2ad.js"],"name":"Report","async":false} -10:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["(dashboard)",{"children":["reports",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] +7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +9:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +a:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"LicenseBanner","async":false} +d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"","async":false} +f:I{"id":66408,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","1002:static/chunks/1002-76b3e1057e71e39d.js","6805:static/chunks/6805-2c6ecd1c0672c08c.js","4546:static/chunks/4546-05756522a4929864.js","1889:static/chunks/1889-87c8467fcccd59fb.js","3752:static/chunks/3752-191168a6025c828b.js","803:static/chunks/803-8eeb5019917e9716.js","8009:static/chunks/8009-fe808dd7ac4b0c8d.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4017:static/chunks/4017-2467b12c98927470.js","960:static/chunks/app/(dashboard)/reports/page-d9a884bc36d6502f.js"],"name":"Report","async":false} +10:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Reports"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] 5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L8",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":["$","$Lb",null,{}],"notFoundStyles":[],"childProp":{"current":[null,[["$","$Lc",null,{}],["$","$Ld",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","reports","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$Le",["$","$Lf",null,{}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"reports"},"styles":[]}]}]],null],"segment":"(dashboard)"},"styles":[]}]}],["$","$L10",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] e:null diff --git a/ee/tabby-webserver/ui/search.html b/ee/tabby-webserver/ui/search.html index ae7f711421b0..1e031a3dad3c 100644 --- a/ee/tabby-webserver/ui/search.html +++ b/ee/tabby-webserver/ui/search.html @@ -1 +1 @@ -Tabby - Search \ No newline at end of file +Tabby - Search \ No newline at end of file diff --git a/ee/tabby-webserver/ui/search.txt b/ee/tabby-webserver/ui/search.txt index 36af822b8445..2d0bb40d4ea9 100644 --- a/ee/tabby-webserver/ui/search.txt +++ b/ee/tabby-webserver/ui/search.txt @@ -1,16 +1,16 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["search",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["search",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] 7:HL["/_next/static/css/77434a6422d49c65.css","style"] -8:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -9:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -a:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -c:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -e:I{"id":32166,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","3078:static/chunks/66df79ff-d33d6b37e0ce0bec.js","753:static/chunks/bce3c14f-87a410b6ce087f70.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7070:static/chunks/7070-0361b26f2c124ca9.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","8961:static/chunks/8961-b75e0084ee472a46.js","4546:static/chunks/4546-05756522a4929864.js","6805:static/chunks/6805-2c6ecd1c0672c08c.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","1522:static/chunks/1522-8db335c16ab838c7.js","1266:static/chunks/1266-a61fc53b6e6d7d15.js","440:static/chunks/440-831969a89969be7e.js","9427:static/chunks/9427-666865ca3972ec20.js","6265:static/chunks/6265-12d9f173707c0c8e.js","5019:static/chunks/5019-39e36ef5ca7157df.js","59:static/chunks/59-aecde53d72cc089a.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","445:static/chunks/445-4bd82386581332fc.js","2797:static/chunks/app/search/page-d3cbebba74235595.js"],"name":"Search","async":false} -f:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +8:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +9:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +a:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +c:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +e:I{"id":75903,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","3078:static/chunks/66df79ff-d33d6b37e0ce0bec.js","753:static/chunks/bce3c14f-87a410b6ce087f70.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7070:static/chunks/7070-0361b26f2c124ca9.js","1002:static/chunks/1002-76b3e1057e71e39d.js","8961:static/chunks/8961-b75e0084ee472a46.js","6805:static/chunks/6805-2c6ecd1c0672c08c.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","8300:static/chunks/8300-094bba24d210db59.js","1266:static/chunks/1266-a61fc53b6e6d7d15.js","440:static/chunks/440-831969a89969be7e.js","9427:static/chunks/9427-666865ca3972ec20.js","4916:static/chunks/4916-e1035a37c0e37e65.js","5019:static/chunks/5019-39e36ef5ca7157df.js","1570:static/chunks/1570-d0971b81a1773d53.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","3236:static/chunks/3236-d3ba703104704f82.js","2685:static/chunks/2685-29efc3a639ee7624.js","2797:static/chunks/app/search/page-24addd54e2ec09be.js"],"name":"Search","async":false} +f:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Search"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] 5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L8",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L9",null,{"children":["$","$La",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$Lb",null,{}],"templateStyles":"$undefined","notFound":["$","$Lc",null,{}],"notFoundStyles":[],"childProp":{"current":["$","$La",null,{"parallelRouterKey":"children","segmentPath":["children","search","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$Lb",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$Ld",["$","$Le",null,{}],null],"segment":"__PAGE__"},"styles":[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/77434a6422d49c65.css","precedence":"next"}]]}],"segment":"search"},"styles":[]}]}],["$","$Lf",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] d:null diff --git a/ee/tabby-webserver/ui/settings/general.html b/ee/tabby-webserver/ui/settings/general.html index 8fc2cf38eb25..56e6b3190829 100644 --- a/ee/tabby-webserver/ui/settings/general.html +++ b/ee/tabby-webserver/ui/settings/general.html @@ -1 +1 @@ -Tabby - General \ No newline at end of file +Tabby - General \ No newline at end of file diff --git a/ee/tabby-webserver/ui/settings/general.txt b/ee/tabby-webserver/ui/settings/general.txt index 6d2f1587c4e5..74c84c9b6a53 100644 --- a/ee/tabby-webserver/ui/settings/general.txt +++ b/ee/tabby-webserver/ui/settings/general.txt @@ -1,17 +1,17 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["general",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] -7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -9:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -a:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"LicenseBanner","async":false} -d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"","async":false} -f:I{"id":87303,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","3707:static/chunks/3707-eda259e0cd61e823.js","1009:static/chunks/1009-d77352b43d12203a.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","1519:static/chunks/app/(dashboard)/settings/general/page-61422be03475e14a.js"],"name":"","async":false} -10:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["general",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] +7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +9:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +a:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"LicenseBanner","async":false} +d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"","async":false} +f:I{"id":87303,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","3707:static/chunks/3707-eda259e0cd61e823.js","1009:static/chunks/1009-d77352b43d12203a.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","1519:static/chunks/app/(dashboard)/settings/general/page-811b7348fc9cdea8.js"],"name":"","async":false} +10:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - General"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] 5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L8",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":["$","$Lb",null,{}],"notFoundStyles":[],"childProp":{"current":[null,[["$","$Lc",null,{}],["$","$Ld",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","general","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$Le",["$","$Lf",null,{}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"general"},"styles":[]}],"segment":"settings"},"styles":[]}]}]],null],"segment":"(dashboard)"},"styles":[]}]}],["$","$L10",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] e:null diff --git a/ee/tabby-webserver/ui/settings/mail.html b/ee/tabby-webserver/ui/settings/mail.html index 23c116e3f282..b1b09e329456 100644 --- a/ee/tabby-webserver/ui/settings/mail.html +++ b/ee/tabby-webserver/ui/settings/mail.html @@ -1 +1 @@ -Tabby - Mail Delivery \ No newline at end of file +Tabby - Mail Delivery \ No newline at end of file diff --git a/ee/tabby-webserver/ui/settings/mail.txt b/ee/tabby-webserver/ui/settings/mail.txt index 227784185ef4..99e74cffd3d9 100644 --- a/ee/tabby-webserver/ui/settings/mail.txt +++ b/ee/tabby-webserver/ui/settings/mail.txt @@ -1,17 +1,17 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["mail",{"children":["__PAGE__",{}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] -7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -9:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -a:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"LicenseBanner","async":false} -d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"","async":false} -f:I{"id":86921,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","8961:static/chunks/8961-b75e0084ee472a46.js","1889:static/chunks/1889-0e9adc6536876089.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","951:static/chunks/app/(dashboard)/settings/(integrations)/mail/page-b88c7843415c6b1b.js"],"name":"Mail","async":false} -10:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["mail",{"children":["__PAGE__",{}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] +7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +9:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +a:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"LicenseBanner","async":false} +d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"","async":false} +f:I{"id":86921,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","8961:static/chunks/8961-b75e0084ee472a46.js","1889:static/chunks/1889-87c8467fcccd59fb.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","951:static/chunks/app/(dashboard)/settings/(integrations)/mail/page-79d1bc9820509aaf.js"],"name":"Mail","async":false} +10:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Mail Delivery"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] 5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L8",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":["$","$Lb",null,{}],"notFoundStyles":[],"childProp":{"current":[null,[["$","$Lc",null,{}],["$","$Ld",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","mail","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$Le",["$","$Lf",null,{}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"mail"},"styles":[]}],"segment":"(integrations)"},"styles":[]}],"segment":"settings"},"styles":[]}]}]],null],"segment":"(dashboard)"},"styles":[]}]}],["$","$L10",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] e:null diff --git a/ee/tabby-webserver/ui/settings/providers/doc.html b/ee/tabby-webserver/ui/settings/providers/doc.html index fddeac7bd8cc..200c7ecb13fb 100644 --- a/ee/tabby-webserver/ui/settings/providers/doc.html +++ b/ee/tabby-webserver/ui/settings/providers/doc.html @@ -1 +1 @@ -Tabby - Context Providers \ No newline at end of file +Tabby - Context Providers \ No newline at end of file diff --git a/ee/tabby-webserver/ui/settings/providers/doc.txt b/ee/tabby-webserver/ui/settings/providers/doc.txt index 32b19634096a..31b09bb0fbc8 100644 --- a/ee/tabby-webserver/ui/settings/providers/doc.txt +++ b/ee/tabby-webserver/ui/settings/providers/doc.txt @@ -1,20 +1,20 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["providers",{"children":["doc",{"children":["__PAGE__",{}]}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] -7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -9:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -a:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"LicenseBanner","async":false} -d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"","async":false} -e:I{"id":69145,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-fa293c4e48acfb94.js","8939:static/chunks/8939-080830c173a7422f.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-d7262c1e7c5683d4.js"],"name":"","async":false} -f:I{"id":57830,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-fa293c4e48acfb94.js","8939:static/chunks/8939-080830c173a7422f.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-d7262c1e7c5683d4.js"],"name":"ScrollArea","async":false} -11:I{"id":10059,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","4421:static/chunks/4421-4f8bfde943c5a280.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","6805:static/chunks/6805-2c6ecd1c0672c08c.js","1889:static/chunks/1889-0e9adc6536876089.js","7188:static/chunks/7188-528f509057c6fa47.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","2869:static/chunks/2869-42f1f3c44cd51c36.js","9631:static/chunks/app/(dashboard)/settings/(integrations)/providers/doc/page-60e5387a44f13784.js"],"name":"","async":false} -12:I{"id":81487,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","4421:static/chunks/4421-4f8bfde943c5a280.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","6805:static/chunks/6805-2c6ecd1c0672c08c.js","1889:static/chunks/1889-0e9adc6536876089.js","7188:static/chunks/7188-528f509057c6fa47.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","2869:static/chunks/2869-42f1f3c44cd51c36.js","9631:static/chunks/app/(dashboard)/settings/(integrations)/providers/doc/page-60e5387a44f13784.js"],"name":"","async":false} -13:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["providers",{"children":["doc",{"children":["__PAGE__",{}]}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] +7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +9:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +a:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"LicenseBanner","async":false} +d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"","async":false} +e:I{"id":69145,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-c01da5706224f2a4.js","9515:static/chunks/9515-88bf7d677b64e062.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-80834c5ba4f4197c.js"],"name":"","async":false} +f:I{"id":57830,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-c01da5706224f2a4.js","9515:static/chunks/9515-88bf7d677b64e062.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-80834c5ba4f4197c.js"],"name":"ScrollArea","async":false} +11:I{"id":10059,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1002:static/chunks/1002-76b3e1057e71e39d.js","6805:static/chunks/6805-2c6ecd1c0672c08c.js","4553:static/chunks/4553-c01da5706224f2a4.js","1889:static/chunks/1889-87c8467fcccd59fb.js","6432:static/chunks/6432-33866c51c441c1bc.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","4731:static/chunks/4731-f09b618f36d3589b.js","9631:static/chunks/app/(dashboard)/settings/(integrations)/providers/doc/page-9e5a3f9f4927b290.js"],"name":"","async":false} +12:I{"id":81487,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1002:static/chunks/1002-76b3e1057e71e39d.js","6805:static/chunks/6805-2c6ecd1c0672c08c.js","4553:static/chunks/4553-c01da5706224f2a4.js","1889:static/chunks/1889-87c8467fcccd59fb.js","6432:static/chunks/6432-33866c51c441c1bc.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","4731:static/chunks/4731-f09b618f36d3589b.js","9631:static/chunks/app/(dashboard)/settings/(integrations)/providers/doc/page-9e5a3f9f4927b290.js"],"name":"","async":false} +13:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Context Providers"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] 5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L8",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":["$","$Lb",null,{}],"notFoundStyles":[],"childProp":{"current":[null,[["$","$Lc",null,{}],["$","$Ld",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[null,["$","div",null,{"className":"-m-4 flex lg:-m-10","children":[["$","$Le",null,{"className":"w-[200px] pl-4 pt-4 lg:w-[250px]"}],["$","$Lf",null,{"className":"flex-1","children":["$","div",null,{"className":"p-4 lg:p-10","children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children","doc","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$L10",[["$","div",null,{"className":"p-6 pt-0 pl-0","children":[["$","div",null,{"className":"mb-4 flex items-center gap-4","children":["$","div",null,{"className":"flex-1 text-sm text-muted-foreground","children":[["$","p",null,{"children":"Documents are a critical source for engineering knowledge. Tabby provides an easy way to include these documents when interacting with LLM in chat interfaces (e.g., Answer Engine, Chat Panel, etc.). Simply press the @ button in the chat interface and select the document you wish to include."}],false]}]}],["$","$L11",null,{}]]}],["$","div",null,{"className":"p-6 pl-0 pt-8 xl:pb-32","children":[["$","div",null,{"className":"mb-4 flex items-center gap-4","children":["$","div",null,{"className":"flex-1 text-sm text-muted-foreground","children":[["$","p",null,{"children":"You can also include your own developer documents here. Please ensure that the URLs are accessible from the Tabby server to guarantee successful crawling."}],false]}]}],["$","$L12",null,{}]]}]],null],"segment":"__PAGE__"},"styles":[]}],"segment":"doc"},"styles":[]}]}]}]]}],null],"segment":"providers"},"styles":[]}],"segment":"(integrations)"},"styles":[]}],"segment":"settings"},"styles":[]}]}]],null],"segment":"(dashboard)"},"styles":[]}]}],["$","$L13",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] 10:null diff --git a/ee/tabby-webserver/ui/settings/providers/doc/new.html b/ee/tabby-webserver/ui/settings/providers/doc/new.html index e2d373c239ae..850157940c56 100644 --- a/ee/tabby-webserver/ui/settings/providers/doc/new.html +++ b/ee/tabby-webserver/ui/settings/providers/doc/new.html @@ -1 +1 @@ -Tabby - Context Providers \ No newline at end of file +Tabby - Context Providers \ No newline at end of file diff --git a/ee/tabby-webserver/ui/settings/providers/doc/new.txt b/ee/tabby-webserver/ui/settings/providers/doc/new.txt index 3169c974bd96..bf6cf12ae04c 100644 --- a/ee/tabby-webserver/ui/settings/providers/doc/new.txt +++ b/ee/tabby-webserver/ui/settings/providers/doc/new.txt @@ -1,19 +1,19 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["providers",{"children":["doc",{"children":["new",{"children":["__PAGE__",{}]}]}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] -7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -9:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -a:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"LicenseBanner","async":false} -d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"","async":false} -e:I{"id":69145,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-fa293c4e48acfb94.js","8939:static/chunks/8939-080830c173a7422f.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-d7262c1e7c5683d4.js"],"name":"","async":false} -f:I{"id":57830,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-fa293c4e48acfb94.js","8939:static/chunks/8939-080830c173a7422f.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-d7262c1e7c5683d4.js"],"name":"ScrollArea","async":false} -11:I{"id":43158,"chunks":["7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","9643:static/chunks/9643-aef3246a3e5b088d.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","7288:static/chunks/7288-15d369f9368f1cf5.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3117:static/chunks/app/(dashboard)/settings/(integrations)/providers/doc/new/page-1ef17208e54641eb.js"],"name":"","async":false} -12:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["providers",{"children":["doc",{"children":["new",{"children":["__PAGE__",{}]}]}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] +7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +9:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +a:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"LicenseBanner","async":false} +d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"","async":false} +e:I{"id":69145,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-c01da5706224f2a4.js","9515:static/chunks/9515-88bf7d677b64e062.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-80834c5ba4f4197c.js"],"name":"","async":false} +f:I{"id":57830,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-c01da5706224f2a4.js","9515:static/chunks/9515-88bf7d677b64e062.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-80834c5ba4f4197c.js"],"name":"ScrollArea","async":false} +11:I{"id":43158,"chunks":["7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","9643:static/chunks/9643-aef3246a3e5b088d.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3117:static/chunks/app/(dashboard)/settings/(integrations)/providers/doc/new/page-617dcbfdf2620118.js"],"name":"","async":false} +12:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Context Providers"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] 5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L8",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":["$","$Lb",null,{}],"notFoundStyles":[],"childProp":{"current":[null,[["$","$Lc",null,{}],["$","$Ld",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[null,["$","div",null,{"className":"-m-4 flex lg:-m-10","children":[["$","$Le",null,{"className":"w-[200px] pl-4 pt-4 lg:w-[250px]"}],["$","$Lf",null,{"className":"flex-1","children":["$","div",null,{"className":"p-4 lg:p-10","children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children","doc","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children","doc","children","new","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$L10",["$","$L11",null,{}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"new"},"styles":[]}],"segment":"doc"},"styles":[]}]}]}]]}],null],"segment":"providers"},"styles":[]}],"segment":"(integrations)"},"styles":[]}],"segment":"settings"},"styles":[]}]}]],null],"segment":"(dashboard)"},"styles":[]}]}],["$","$L12",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] 10:null diff --git a/ee/tabby-webserver/ui/settings/providers/git.html b/ee/tabby-webserver/ui/settings/providers/git.html index 078d9f2f7df5..21cdad815fa1 100644 --- a/ee/tabby-webserver/ui/settings/providers/git.html +++ b/ee/tabby-webserver/ui/settings/providers/git.html @@ -1 +1 @@ -Tabby - Context Providers \ No newline at end of file +Tabby - Context Providers \ No newline at end of file diff --git a/ee/tabby-webserver/ui/settings/providers/git.txt b/ee/tabby-webserver/ui/settings/providers/git.txt index cf61ef89f64f..3e8c78ff24a1 100644 --- a/ee/tabby-webserver/ui/settings/providers/git.txt +++ b/ee/tabby-webserver/ui/settings/providers/git.txt @@ -1,21 +1,21 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["providers",{"children":["git",{"children":["__PAGE__",{}]}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] -7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -9:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -a:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"LicenseBanner","async":false} -d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"","async":false} -e:I{"id":69145,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-fa293c4e48acfb94.js","8939:static/chunks/8939-080830c173a7422f.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-d7262c1e7c5683d4.js"],"name":"","async":false} -f:I{"id":57830,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-fa293c4e48acfb94.js","8939:static/chunks/8939-080830c173a7422f.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-d7262c1e7c5683d4.js"],"name":"ScrollArea","async":false} -10:I{"id":54007,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","7915:static/chunks/app/(dashboard)/settings/(integrations)/providers/git/layout-86c18a25f4250c02.js"],"name":"","async":false} -11:I{"id":81565,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","7915:static/chunks/app/(dashboard)/settings/(integrations)/providers/git/layout-86c18a25f4250c02.js"],"name":"IconExternalLink","async":false} -13:I{"id":71901,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","6805:static/chunks/6805-2c6ecd1c0672c08c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","2869:static/chunks/2869-42f1f3c44cd51c36.js","214:static/chunks/app/(dashboard)/settings/(integrations)/providers/git/page-084a689b7a63e3bb.js"],"name":"","async":false} -14:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["providers",{"children":["git",{"children":["__PAGE__",{}]}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] +7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +9:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +a:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"LicenseBanner","async":false} +d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"","async":false} +e:I{"id":69145,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-c01da5706224f2a4.js","9515:static/chunks/9515-88bf7d677b64e062.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-80834c5ba4f4197c.js"],"name":"","async":false} +f:I{"id":57830,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-c01da5706224f2a4.js","9515:static/chunks/9515-88bf7d677b64e062.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-80834c5ba4f4197c.js"],"name":"ScrollArea","async":false} +10:I{"id":54007,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","7915:static/chunks/app/(dashboard)/settings/(integrations)/providers/git/layout-ecaf8eaaf509de02.js"],"name":"","async":false} +11:I{"id":81565,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","7915:static/chunks/app/(dashboard)/settings/(integrations)/providers/git/layout-ecaf8eaaf509de02.js"],"name":"IconExternalLink","async":false} +13:I{"id":71901,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1002:static/chunks/1002-76b3e1057e71e39d.js","6805:static/chunks/6805-2c6ecd1c0672c08c.js","4553:static/chunks/4553-c01da5706224f2a4.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","4731:static/chunks/4731-f09b618f36d3589b.js","214:static/chunks/app/(dashboard)/settings/(integrations)/providers/git/page-b23c8461039e85f2.js"],"name":"","async":false} +14:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Context Providers"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] 5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L8",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":["$","$Lb",null,{}],"notFoundStyles":[],"childProp":{"current":[null,[["$","$Lc",null,{}],["$","$Ld",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[null,["$","div",null,{"className":"-m-4 flex lg:-m-10","children":[["$","$Le",null,{"className":"w-[200px] pl-4 pt-4 lg:w-[250px]"}],["$","$Lf",null,{"className":"flex-1","children":["$","div",null,{"className":"p-4 lg:p-10","children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[null,[["$","div",null,{"className":"mb-4 flex items-center gap-4","children":["$","div",null,{"className":"flex-1 text-sm text-muted-foreground","children":["Connect to remote and local Git repositories, utilizing these repositories as context to enhance the performance of large language models.",["$","$L10",null,{"className":"ml-2 inline-flex cursor-pointer flex-row items-center text-primary hover:underline","href":"https://tabby.tabbyml.com/blog/2023/10/16/repository-context-for-code-completion","target":"_blank","children":["Learn more",["$","$L11",null,{"className":"ml-1"}]]}]]}]}],["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children","git","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$L12",["$","$L13",null,{}],null],"segment":"__PAGE__"},"styles":[]}]],null],"segment":"git"},"styles":[]}]}]}]]}],null],"segment":"providers"},"styles":[]}],"segment":"(integrations)"},"styles":[]}],"segment":"settings"},"styles":[]}]}]],null],"segment":"(dashboard)"},"styles":[]}]}],["$","$L14",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] 12:null diff --git a/ee/tabby-webserver/ui/settings/providers/git/new.html b/ee/tabby-webserver/ui/settings/providers/git/new.html index 8a1a62e77287..1243cf22c106 100644 --- a/ee/tabby-webserver/ui/settings/providers/git/new.html +++ b/ee/tabby-webserver/ui/settings/providers/git/new.html @@ -1 +1 @@ -Tabby - Context Providers \ No newline at end of file +Tabby - Context Providers \ No newline at end of file diff --git a/ee/tabby-webserver/ui/settings/providers/git/new.txt b/ee/tabby-webserver/ui/settings/providers/git/new.txt index 3078dcc08940..b123a298c3e9 100644 --- a/ee/tabby-webserver/ui/settings/providers/git/new.txt +++ b/ee/tabby-webserver/ui/settings/providers/git/new.txt @@ -1,21 +1,21 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["providers",{"children":["git",{"children":["new",{"children":["__PAGE__",{}]}]}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] -7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -9:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -a:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"LicenseBanner","async":false} -d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"","async":false} -e:I{"id":69145,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-fa293c4e48acfb94.js","8939:static/chunks/8939-080830c173a7422f.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-d7262c1e7c5683d4.js"],"name":"","async":false} -f:I{"id":57830,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-fa293c4e48acfb94.js","8939:static/chunks/8939-080830c173a7422f.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-d7262c1e7c5683d4.js"],"name":"ScrollArea","async":false} -10:I{"id":54007,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","7915:static/chunks/app/(dashboard)/settings/(integrations)/providers/git/layout-86c18a25f4250c02.js"],"name":"","async":false} -11:I{"id":81565,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","7915:static/chunks/app/(dashboard)/settings/(integrations)/providers/git/layout-86c18a25f4250c02.js"],"name":"IconExternalLink","async":false} -13:I{"id":83272,"chunks":["7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","9643:static/chunks/9643-aef3246a3e5b088d.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","7288:static/chunks/7288-15d369f9368f1cf5.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","817:static/chunks/app/(dashboard)/settings/(integrations)/providers/git/new/page-52dded7817af51ed.js"],"name":"NewRepository","async":false} -14:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["providers",{"children":["git",{"children":["new",{"children":["__PAGE__",{}]}]}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] +7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +9:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +a:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"LicenseBanner","async":false} +d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"","async":false} +e:I{"id":69145,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-c01da5706224f2a4.js","9515:static/chunks/9515-88bf7d677b64e062.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-80834c5ba4f4197c.js"],"name":"","async":false} +f:I{"id":57830,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-c01da5706224f2a4.js","9515:static/chunks/9515-88bf7d677b64e062.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-80834c5ba4f4197c.js"],"name":"ScrollArea","async":false} +10:I{"id":54007,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","7915:static/chunks/app/(dashboard)/settings/(integrations)/providers/git/layout-ecaf8eaaf509de02.js"],"name":"","async":false} +11:I{"id":81565,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","7915:static/chunks/app/(dashboard)/settings/(integrations)/providers/git/layout-ecaf8eaaf509de02.js"],"name":"IconExternalLink","async":false} +13:I{"id":83272,"chunks":["7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","9643:static/chunks/9643-aef3246a3e5b088d.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","817:static/chunks/app/(dashboard)/settings/(integrations)/providers/git/new/page-1aa6146113a04a2b.js"],"name":"NewRepository","async":false} +14:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Context Providers"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] 5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L8",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":["$","$Lb",null,{}],"notFoundStyles":[],"childProp":{"current":[null,[["$","$Lc",null,{}],["$","$Ld",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[null,["$","div",null,{"className":"-m-4 flex lg:-m-10","children":[["$","$Le",null,{"className":"w-[200px] pl-4 pt-4 lg:w-[250px]"}],["$","$Lf",null,{"className":"flex-1","children":["$","div",null,{"className":"p-4 lg:p-10","children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[null,[["$","div",null,{"className":"mb-4 flex items-center gap-4","children":["$","div",null,{"className":"flex-1 text-sm text-muted-foreground","children":["Connect to remote and local Git repositories, utilizing these repositories as context to enhance the performance of large language models.",["$","$L10",null,{"className":"ml-2 inline-flex cursor-pointer flex-row items-center text-primary hover:underline","href":"https://tabby.tabbyml.com/blog/2023/10/16/repository-context-for-code-completion","target":"_blank","children":["Learn more",["$","$L11",null,{"className":"ml-1"}]]}]]}]}],["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children","git","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children","git","children","new","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$L12",["$","$L13",null,{}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"new"},"styles":[]}]],null],"segment":"git"},"styles":[]}]}]}]]}],null],"segment":"providers"},"styles":[]}],"segment":"(integrations)"},"styles":[]}],"segment":"settings"},"styles":[]}]}]],null],"segment":"(dashboard)"},"styles":[]}]}],["$","$L14",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] 12:null diff --git a/ee/tabby-webserver/ui/settings/providers/github-self-hosted.html b/ee/tabby-webserver/ui/settings/providers/github-self-hosted.html index 8343de57ee48..b7e112e4ee53 100644 --- a/ee/tabby-webserver/ui/settings/providers/github-self-hosted.html +++ b/ee/tabby-webserver/ui/settings/providers/github-self-hosted.html @@ -1 +1 @@ -Tabby - Context Providers \ No newline at end of file +Tabby - Context Providers \ No newline at end of file diff --git a/ee/tabby-webserver/ui/settings/providers/github-self-hosted.txt b/ee/tabby-webserver/ui/settings/providers/github-self-hosted.txt index acc85687c927..34961b9df38d 100644 --- a/ee/tabby-webserver/ui/settings/providers/github-self-hosted.txt +++ b/ee/tabby-webserver/ui/settings/providers/github-self-hosted.txt @@ -1,21 +1,21 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["providers",{"children":[["kind","github-self-hosted","d"],{"children":["__PAGE__?{\"kind\":\"github-self-hosted\"}",{}]}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] -7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -9:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -a:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"LicenseBanner","async":false} -d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"","async":false} -e:I{"id":69145,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-fa293c4e48acfb94.js","8939:static/chunks/8939-080830c173a7422f.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-d7262c1e7c5683d4.js"],"name":"","async":false} -f:I{"id":57830,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-fa293c4e48acfb94.js","8939:static/chunks/8939-080830c173a7422f.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-d7262c1e7c5683d4.js"],"name":"ScrollArea","async":false} -10:I{"id":54007,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-7fd8f4cfd414892f.js"],"name":"","async":false} -11:I{"id":81565,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-7fd8f4cfd414892f.js"],"name":"IconExternalLink","async":false} -13:I{"id":19847,"chunks":["7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7070:static/chunks/7070-0361b26f2c124ca9.js","9624:static/chunks/9624-e9aea3b21f208e80.js","7288:static/chunks/7288-15d369f9368f1cf5.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","9667:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/page-73c4bfa404d5d481.js"],"name":"","async":false} -14:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["providers",{"children":[["kind","github-self-hosted","d"],{"children":["__PAGE__?{\"kind\":\"github-self-hosted\"}",{}]}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] +7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +9:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +a:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"LicenseBanner","async":false} +d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"","async":false} +e:I{"id":69145,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-c01da5706224f2a4.js","9515:static/chunks/9515-88bf7d677b64e062.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-80834c5ba4f4197c.js"],"name":"","async":false} +f:I{"id":57830,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-c01da5706224f2a4.js","9515:static/chunks/9515-88bf7d677b64e062.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-80834c5ba4f4197c.js"],"name":"ScrollArea","async":false} +10:I{"id":54007,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-9385614eab1bf0bd.js"],"name":"","async":false} +11:I{"id":81565,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-9385614eab1bf0bd.js"],"name":"IconExternalLink","async":false} +13:I{"id":19847,"chunks":["7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7070:static/chunks/7070-0361b26f2c124ca9.js","9624:static/chunks/9624-e9aea3b21f208e80.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","9667:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/page-6c7398237f23875c.js"],"name":"","async":false} +14:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Context Providers"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] 5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L8",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":["$","$Lb",null,{}],"notFoundStyles":[],"childProp":{"current":[null,[["$","$Lc",null,{}],["$","$Ld",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[null,["$","div",null,{"className":"-m-4 flex lg:-m-10","children":[["$","$Le",null,{"className":"w-[200px] pl-4 pt-4 lg:w-[250px]"}],["$","$Lf",null,{"className":"flex-1","children":["$","div",null,{"className":"p-4 lg:p-10","children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[null,[["$","div",null,{"className":"mb-4 flex items-center gap-4","children":["$","div",null,{"className":"flex-1 text-sm text-muted-foreground","children":["Connect to Self-Hosted GitHub as a provider, and select repositories from this provider to serve as context, thereby improving the performance of large language models",["$","$L10",null,{"className":"ml-2 inline-flex cursor-pointer flex-row items-center text-primary hover:underline","href":"https://tabby.tabbyml.com/blog/2023/10/16/repository-context-for-code-completion","target":"_blank","children":["Learn more",["$","$L11",null,{"className":"ml-1"}]]}]]}]}],["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children",["kind","github-self-hosted","d"],"children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$L12",["$","$L13",null,{}],null],"segment":"__PAGE__?{\"kind\":\"github-self-hosted\"}"},"styles":[]}]],null],"segment":["kind","github-self-hosted","d"]},"styles":[]}]}]}]]}],null],"segment":"providers"},"styles":[]}],"segment":"(integrations)"},"styles":[]}],"segment":"settings"},"styles":[]}]}]],null],"segment":"(dashboard)"},"styles":[]}]}],["$","$L14",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] 12:null diff --git a/ee/tabby-webserver/ui/settings/providers/github-self-hosted/detail.html b/ee/tabby-webserver/ui/settings/providers/github-self-hosted/detail.html index 96b5d2fffe57..f4f8c95287eb 100644 --- a/ee/tabby-webserver/ui/settings/providers/github-self-hosted/detail.html +++ b/ee/tabby-webserver/ui/settings/providers/github-self-hosted/detail.html @@ -1 +1 @@ -Tabby - Context Providers \ No newline at end of file +Tabby - Context Providers \ No newline at end of file diff --git a/ee/tabby-webserver/ui/settings/providers/github-self-hosted/detail.txt b/ee/tabby-webserver/ui/settings/providers/github-self-hosted/detail.txt index f5204fed8cc4..7c3dd3554578 100644 --- a/ee/tabby-webserver/ui/settings/providers/github-self-hosted/detail.txt +++ b/ee/tabby-webserver/ui/settings/providers/github-self-hosted/detail.txt @@ -1,21 +1,21 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["providers",{"children":[["kind","github-self-hosted","d"],{"children":["detail",{"children":["__PAGE__?{\"kind\":\"github-self-hosted\"}",{}]}]}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] -7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -9:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -a:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"LicenseBanner","async":false} -d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"","async":false} -e:I{"id":69145,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-fa293c4e48acfb94.js","8939:static/chunks/8939-080830c173a7422f.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-d7262c1e7c5683d4.js"],"name":"","async":false} -f:I{"id":57830,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-fa293c4e48acfb94.js","8939:static/chunks/8939-080830c173a7422f.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-d7262c1e7c5683d4.js"],"name":"ScrollArea","async":false} -10:I{"id":54007,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-7fd8f4cfd414892f.js"],"name":"","async":false} -11:I{"id":81565,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-7fd8f4cfd414892f.js"],"name":"IconExternalLink","async":false} -13:I{"id":48973,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","4421:static/chunks/4421-4f8bfde943c5a280.js","7070:static/chunks/7070-0361b26f2c124ca9.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","8961:static/chunks/8961-b75e0084ee472a46.js","6805:static/chunks/6805-2c6ecd1c0672c08c.js","4553:static/chunks/4553-fa293c4e48acfb94.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","2869:static/chunks/2869-42f1f3c44cd51c36.js","9464:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/detail/page-2a964ef4c1daf3cd.js"],"name":"","async":false} -14:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["providers",{"children":[["kind","github-self-hosted","d"],{"children":["detail",{"children":["__PAGE__?{\"kind\":\"github-self-hosted\"}",{}]}]}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] +7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +9:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +a:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"LicenseBanner","async":false} +d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"","async":false} +e:I{"id":69145,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-c01da5706224f2a4.js","9515:static/chunks/9515-88bf7d677b64e062.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-80834c5ba4f4197c.js"],"name":"","async":false} +f:I{"id":57830,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-c01da5706224f2a4.js","9515:static/chunks/9515-88bf7d677b64e062.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-80834c5ba4f4197c.js"],"name":"ScrollArea","async":false} +10:I{"id":54007,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-9385614eab1bf0bd.js"],"name":"","async":false} +11:I{"id":81565,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-9385614eab1bf0bd.js"],"name":"IconExternalLink","async":false} +13:I{"id":48973,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","4421:static/chunks/4421-4f8bfde943c5a280.js","7070:static/chunks/7070-0361b26f2c124ca9.js","1002:static/chunks/1002-76b3e1057e71e39d.js","8961:static/chunks/8961-b75e0084ee472a46.js","6805:static/chunks/6805-2c6ecd1c0672c08c.js","4553:static/chunks/4553-c01da5706224f2a4.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","4731:static/chunks/4731-f09b618f36d3589b.js","9464:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/detail/page-d4914a1650f426fa.js"],"name":"","async":false} +14:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Context Providers"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] 5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L8",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":["$","$Lb",null,{}],"notFoundStyles":[],"childProp":{"current":[null,[["$","$Lc",null,{}],["$","$Ld",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[null,["$","div",null,{"className":"-m-4 flex lg:-m-10","children":[["$","$Le",null,{"className":"w-[200px] pl-4 pt-4 lg:w-[250px]"}],["$","$Lf",null,{"className":"flex-1","children":["$","div",null,{"className":"p-4 lg:p-10","children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[null,[["$","div",null,{"className":"mb-4 flex items-center gap-4","children":["$","div",null,{"className":"flex-1 text-sm text-muted-foreground","children":["Connect to Self-Hosted GitHub as a provider, and select repositories from this provider to serve as context, thereby improving the performance of large language models",["$","$L10",null,{"className":"ml-2 inline-flex cursor-pointer flex-row items-center text-primary hover:underline","href":"https://tabby.tabbyml.com/blog/2023/10/16/repository-context-for-code-completion","target":"_blank","children":["Learn more",["$","$L11",null,{"className":"ml-1"}]]}]]}]}],["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children",["kind","github-self-hosted","d"],"children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children",["kind","github-self-hosted","d"],"children","detail","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$L12",["$","$L13",null,{}],null],"segment":"__PAGE__?{\"kind\":\"github-self-hosted\"}"},"styles":[]}],"segment":"detail"},"styles":[]}]],null],"segment":["kind","github-self-hosted","d"]},"styles":[]}]}]}]]}],null],"segment":"providers"},"styles":[]}],"segment":"(integrations)"},"styles":[]}],"segment":"settings"},"styles":[]}]}]],null],"segment":"(dashboard)"},"styles":[]}]}],["$","$L14",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] 12:null diff --git a/ee/tabby-webserver/ui/settings/providers/github-self-hosted/new.html b/ee/tabby-webserver/ui/settings/providers/github-self-hosted/new.html index 7604b3aad3b6..ca734299bc35 100644 --- a/ee/tabby-webserver/ui/settings/providers/github-self-hosted/new.html +++ b/ee/tabby-webserver/ui/settings/providers/github-self-hosted/new.html @@ -1 +1 @@ -Tabby - Context Providers \ No newline at end of file +Tabby - Context Providers \ No newline at end of file diff --git a/ee/tabby-webserver/ui/settings/providers/github-self-hosted/new.txt b/ee/tabby-webserver/ui/settings/providers/github-self-hosted/new.txt index c667d74b749c..836d29a294c5 100644 --- a/ee/tabby-webserver/ui/settings/providers/github-self-hosted/new.txt +++ b/ee/tabby-webserver/ui/settings/providers/github-self-hosted/new.txt @@ -1,21 +1,21 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["providers",{"children":[["kind","github-self-hosted","d"],{"children":["new",{"children":["__PAGE__?{\"kind\":\"github-self-hosted\"}",{}]}]}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] -7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -9:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -a:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"LicenseBanner","async":false} -d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"","async":false} -e:I{"id":69145,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-fa293c4e48acfb94.js","8939:static/chunks/8939-080830c173a7422f.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-d7262c1e7c5683d4.js"],"name":"","async":false} -f:I{"id":57830,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-fa293c4e48acfb94.js","8939:static/chunks/8939-080830c173a7422f.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-d7262c1e7c5683d4.js"],"name":"ScrollArea","async":false} -10:I{"id":54007,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-7fd8f4cfd414892f.js"],"name":"","async":false} -11:I{"id":81565,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-7fd8f4cfd414892f.js"],"name":"IconExternalLink","async":false} -13:I{"id":54616,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","7070:static/chunks/7070-0361b26f2c124ca9.js","8961:static/chunks/8961-b75e0084ee472a46.js","2694:static/chunks/2694-2c0ba96915355022.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9436:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/new/page-842d420f2e26348f.js"],"name":"NewProvider","async":false} -14:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["providers",{"children":[["kind","github-self-hosted","d"],{"children":["new",{"children":["__PAGE__?{\"kind\":\"github-self-hosted\"}",{}]}]}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] +7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +9:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +a:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"LicenseBanner","async":false} +d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"","async":false} +e:I{"id":69145,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-c01da5706224f2a4.js","9515:static/chunks/9515-88bf7d677b64e062.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-80834c5ba4f4197c.js"],"name":"","async":false} +f:I{"id":57830,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-c01da5706224f2a4.js","9515:static/chunks/9515-88bf7d677b64e062.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-80834c5ba4f4197c.js"],"name":"ScrollArea","async":false} +10:I{"id":54007,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-9385614eab1bf0bd.js"],"name":"","async":false} +11:I{"id":81565,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-9385614eab1bf0bd.js"],"name":"IconExternalLink","async":false} +13:I{"id":54616,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","7070:static/chunks/7070-0361b26f2c124ca9.js","8961:static/chunks/8961-b75e0084ee472a46.js","2694:static/chunks/2694-2c0ba96915355022.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9436:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/new/page-9dd8ae2030523f11.js"],"name":"NewProvider","async":false} +14:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Context Providers"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] 5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L8",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":["$","$Lb",null,{}],"notFoundStyles":[],"childProp":{"current":[null,[["$","$Lc",null,{}],["$","$Ld",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[null,["$","div",null,{"className":"-m-4 flex lg:-m-10","children":[["$","$Le",null,{"className":"w-[200px] pl-4 pt-4 lg:w-[250px]"}],["$","$Lf",null,{"className":"flex-1","children":["$","div",null,{"className":"p-4 lg:p-10","children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[null,[["$","div",null,{"className":"mb-4 flex items-center gap-4","children":["$","div",null,{"className":"flex-1 text-sm text-muted-foreground","children":["Connect to Self-Hosted GitHub as a provider, and select repositories from this provider to serve as context, thereby improving the performance of large language models",["$","$L10",null,{"className":"ml-2 inline-flex cursor-pointer flex-row items-center text-primary hover:underline","href":"https://tabby.tabbyml.com/blog/2023/10/16/repository-context-for-code-completion","target":"_blank","children":["Learn more",["$","$L11",null,{"className":"ml-1"}]]}]]}]}],["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children",["kind","github-self-hosted","d"],"children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children",["kind","github-self-hosted","d"],"children","new","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$L12",["$","$L13",null,{}],null],"segment":"__PAGE__?{\"kind\":\"github-self-hosted\"}"},"styles":[]}],"segment":"new"},"styles":[]}]],null],"segment":["kind","github-self-hosted","d"]},"styles":[]}]}]}]]}],null],"segment":"providers"},"styles":[]}],"segment":"(integrations)"},"styles":[]}],"segment":"settings"},"styles":[]}]}]],null],"segment":"(dashboard)"},"styles":[]}]}],["$","$L14",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] 12:null diff --git a/ee/tabby-webserver/ui/settings/providers/github.html b/ee/tabby-webserver/ui/settings/providers/github.html index 87e615ab032e..30cf41340cdc 100644 --- a/ee/tabby-webserver/ui/settings/providers/github.html +++ b/ee/tabby-webserver/ui/settings/providers/github.html @@ -1 +1 @@ -Tabby - Context Providers \ No newline at end of file +Tabby - Context Providers \ No newline at end of file diff --git a/ee/tabby-webserver/ui/settings/providers/github.txt b/ee/tabby-webserver/ui/settings/providers/github.txt index 3c9f9e009df1..d97a70415a9a 100644 --- a/ee/tabby-webserver/ui/settings/providers/github.txt +++ b/ee/tabby-webserver/ui/settings/providers/github.txt @@ -1,21 +1,21 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["providers",{"children":[["kind","github","d"],{"children":["__PAGE__?{\"kind\":\"github\"}",{}]}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] -7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -9:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -a:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"LicenseBanner","async":false} -d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"","async":false} -e:I{"id":69145,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-fa293c4e48acfb94.js","8939:static/chunks/8939-080830c173a7422f.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-d7262c1e7c5683d4.js"],"name":"","async":false} -f:I{"id":57830,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-fa293c4e48acfb94.js","8939:static/chunks/8939-080830c173a7422f.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-d7262c1e7c5683d4.js"],"name":"ScrollArea","async":false} -10:I{"id":54007,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-7fd8f4cfd414892f.js"],"name":"","async":false} -11:I{"id":81565,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-7fd8f4cfd414892f.js"],"name":"IconExternalLink","async":false} -13:I{"id":19847,"chunks":["7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7070:static/chunks/7070-0361b26f2c124ca9.js","9624:static/chunks/9624-e9aea3b21f208e80.js","7288:static/chunks/7288-15d369f9368f1cf5.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","9667:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/page-73c4bfa404d5d481.js"],"name":"","async":false} -14:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["providers",{"children":[["kind","github","d"],{"children":["__PAGE__?{\"kind\":\"github\"}",{}]}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] +7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +9:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +a:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"LicenseBanner","async":false} +d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"","async":false} +e:I{"id":69145,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-c01da5706224f2a4.js","9515:static/chunks/9515-88bf7d677b64e062.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-80834c5ba4f4197c.js"],"name":"","async":false} +f:I{"id":57830,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-c01da5706224f2a4.js","9515:static/chunks/9515-88bf7d677b64e062.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-80834c5ba4f4197c.js"],"name":"ScrollArea","async":false} +10:I{"id":54007,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-9385614eab1bf0bd.js"],"name":"","async":false} +11:I{"id":81565,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-9385614eab1bf0bd.js"],"name":"IconExternalLink","async":false} +13:I{"id":19847,"chunks":["7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7070:static/chunks/7070-0361b26f2c124ca9.js","9624:static/chunks/9624-e9aea3b21f208e80.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","9667:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/page-6c7398237f23875c.js"],"name":"","async":false} +14:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Context Providers"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] 5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L8",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":["$","$Lb",null,{}],"notFoundStyles":[],"childProp":{"current":[null,[["$","$Lc",null,{}],["$","$Ld",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[null,["$","div",null,{"className":"-m-4 flex lg:-m-10","children":[["$","$Le",null,{"className":"w-[200px] pl-4 pt-4 lg:w-[250px]"}],["$","$Lf",null,{"className":"flex-1","children":["$","div",null,{"className":"p-4 lg:p-10","children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[null,[["$","div",null,{"className":"mb-4 flex items-center gap-4","children":["$","div",null,{"className":"flex-1 text-sm text-muted-foreground","children":["Connect to GitHub as a provider, and select repositories from this provider to serve as context, thereby improving the performance of large language models",["$","$L10",null,{"className":"ml-2 inline-flex cursor-pointer flex-row items-center text-primary hover:underline","href":"https://tabby.tabbyml.com/blog/2023/10/16/repository-context-for-code-completion","target":"_blank","children":["Learn more",["$","$L11",null,{"className":"ml-1"}]]}]]}]}],["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children",["kind","github","d"],"children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$L12",["$","$L13",null,{}],null],"segment":"__PAGE__?{\"kind\":\"github\"}"},"styles":[]}]],null],"segment":["kind","github","d"]},"styles":[]}]}]}]]}],null],"segment":"providers"},"styles":[]}],"segment":"(integrations)"},"styles":[]}],"segment":"settings"},"styles":[]}]}]],null],"segment":"(dashboard)"},"styles":[]}]}],["$","$L14",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] 12:null diff --git a/ee/tabby-webserver/ui/settings/providers/github/detail.html b/ee/tabby-webserver/ui/settings/providers/github/detail.html index 779325355579..948e246e6513 100644 --- a/ee/tabby-webserver/ui/settings/providers/github/detail.html +++ b/ee/tabby-webserver/ui/settings/providers/github/detail.html @@ -1 +1 @@ -Tabby - Context Providers \ No newline at end of file +Tabby - Context Providers \ No newline at end of file diff --git a/ee/tabby-webserver/ui/settings/providers/github/detail.txt b/ee/tabby-webserver/ui/settings/providers/github/detail.txt index 2a645dd4cf73..2170e6380545 100644 --- a/ee/tabby-webserver/ui/settings/providers/github/detail.txt +++ b/ee/tabby-webserver/ui/settings/providers/github/detail.txt @@ -1,21 +1,21 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["providers",{"children":[["kind","github","d"],{"children":["detail",{"children":["__PAGE__?{\"kind\":\"github\"}",{}]}]}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] -7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -9:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -a:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"LicenseBanner","async":false} -d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"","async":false} -e:I{"id":69145,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-fa293c4e48acfb94.js","8939:static/chunks/8939-080830c173a7422f.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-d7262c1e7c5683d4.js"],"name":"","async":false} -f:I{"id":57830,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-fa293c4e48acfb94.js","8939:static/chunks/8939-080830c173a7422f.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-d7262c1e7c5683d4.js"],"name":"ScrollArea","async":false} -10:I{"id":54007,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-7fd8f4cfd414892f.js"],"name":"","async":false} -11:I{"id":81565,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-7fd8f4cfd414892f.js"],"name":"IconExternalLink","async":false} -13:I{"id":48973,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","4421:static/chunks/4421-4f8bfde943c5a280.js","7070:static/chunks/7070-0361b26f2c124ca9.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","8961:static/chunks/8961-b75e0084ee472a46.js","6805:static/chunks/6805-2c6ecd1c0672c08c.js","4553:static/chunks/4553-fa293c4e48acfb94.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","2869:static/chunks/2869-42f1f3c44cd51c36.js","9464:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/detail/page-2a964ef4c1daf3cd.js"],"name":"","async":false} -14:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["providers",{"children":[["kind","github","d"],{"children":["detail",{"children":["__PAGE__?{\"kind\":\"github\"}",{}]}]}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] +7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +9:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +a:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"LicenseBanner","async":false} +d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"","async":false} +e:I{"id":69145,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-c01da5706224f2a4.js","9515:static/chunks/9515-88bf7d677b64e062.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-80834c5ba4f4197c.js"],"name":"","async":false} +f:I{"id":57830,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-c01da5706224f2a4.js","9515:static/chunks/9515-88bf7d677b64e062.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-80834c5ba4f4197c.js"],"name":"ScrollArea","async":false} +10:I{"id":54007,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-9385614eab1bf0bd.js"],"name":"","async":false} +11:I{"id":81565,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-9385614eab1bf0bd.js"],"name":"IconExternalLink","async":false} +13:I{"id":48973,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","4421:static/chunks/4421-4f8bfde943c5a280.js","7070:static/chunks/7070-0361b26f2c124ca9.js","1002:static/chunks/1002-76b3e1057e71e39d.js","8961:static/chunks/8961-b75e0084ee472a46.js","6805:static/chunks/6805-2c6ecd1c0672c08c.js","4553:static/chunks/4553-c01da5706224f2a4.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","4731:static/chunks/4731-f09b618f36d3589b.js","9464:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/detail/page-d4914a1650f426fa.js"],"name":"","async":false} +14:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Context Providers"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] 5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L8",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":["$","$Lb",null,{}],"notFoundStyles":[],"childProp":{"current":[null,[["$","$Lc",null,{}],["$","$Ld",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[null,["$","div",null,{"className":"-m-4 flex lg:-m-10","children":[["$","$Le",null,{"className":"w-[200px] pl-4 pt-4 lg:w-[250px]"}],["$","$Lf",null,{"className":"flex-1","children":["$","div",null,{"className":"p-4 lg:p-10","children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[null,[["$","div",null,{"className":"mb-4 flex items-center gap-4","children":["$","div",null,{"className":"flex-1 text-sm text-muted-foreground","children":["Connect to GitHub as a provider, and select repositories from this provider to serve as context, thereby improving the performance of large language models",["$","$L10",null,{"className":"ml-2 inline-flex cursor-pointer flex-row items-center text-primary hover:underline","href":"https://tabby.tabbyml.com/blog/2023/10/16/repository-context-for-code-completion","target":"_blank","children":["Learn more",["$","$L11",null,{"className":"ml-1"}]]}]]}]}],["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children",["kind","github","d"],"children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children",["kind","github","d"],"children","detail","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$L12",["$","$L13",null,{}],null],"segment":"__PAGE__?{\"kind\":\"github\"}"},"styles":[]}],"segment":"detail"},"styles":[]}]],null],"segment":["kind","github","d"]},"styles":[]}]}]}]]}],null],"segment":"providers"},"styles":[]}],"segment":"(integrations)"},"styles":[]}],"segment":"settings"},"styles":[]}]}]],null],"segment":"(dashboard)"},"styles":[]}]}],["$","$L14",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] 12:null diff --git a/ee/tabby-webserver/ui/settings/providers/github/new.html b/ee/tabby-webserver/ui/settings/providers/github/new.html index 2086a2ea2d7c..76fd7cac4be7 100644 --- a/ee/tabby-webserver/ui/settings/providers/github/new.html +++ b/ee/tabby-webserver/ui/settings/providers/github/new.html @@ -1 +1 @@ -Tabby - Context Providers \ No newline at end of file +Tabby - Context Providers \ No newline at end of file diff --git a/ee/tabby-webserver/ui/settings/providers/github/new.txt b/ee/tabby-webserver/ui/settings/providers/github/new.txt index ae48c5e70ea8..0611bbc25264 100644 --- a/ee/tabby-webserver/ui/settings/providers/github/new.txt +++ b/ee/tabby-webserver/ui/settings/providers/github/new.txt @@ -1,21 +1,21 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["providers",{"children":[["kind","github","d"],{"children":["new",{"children":["__PAGE__?{\"kind\":\"github\"}",{}]}]}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] -7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -9:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -a:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"LicenseBanner","async":false} -d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"","async":false} -e:I{"id":69145,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-fa293c4e48acfb94.js","8939:static/chunks/8939-080830c173a7422f.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-d7262c1e7c5683d4.js"],"name":"","async":false} -f:I{"id":57830,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-fa293c4e48acfb94.js","8939:static/chunks/8939-080830c173a7422f.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-d7262c1e7c5683d4.js"],"name":"ScrollArea","async":false} -10:I{"id":54007,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-7fd8f4cfd414892f.js"],"name":"","async":false} -11:I{"id":81565,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-7fd8f4cfd414892f.js"],"name":"IconExternalLink","async":false} -13:I{"id":54616,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","7070:static/chunks/7070-0361b26f2c124ca9.js","8961:static/chunks/8961-b75e0084ee472a46.js","2694:static/chunks/2694-2c0ba96915355022.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9436:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/new/page-842d420f2e26348f.js"],"name":"NewProvider","async":false} -14:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["providers",{"children":[["kind","github","d"],{"children":["new",{"children":["__PAGE__?{\"kind\":\"github\"}",{}]}]}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] +7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +9:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +a:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"LicenseBanner","async":false} +d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"","async":false} +e:I{"id":69145,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-c01da5706224f2a4.js","9515:static/chunks/9515-88bf7d677b64e062.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-80834c5ba4f4197c.js"],"name":"","async":false} +f:I{"id":57830,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-c01da5706224f2a4.js","9515:static/chunks/9515-88bf7d677b64e062.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-80834c5ba4f4197c.js"],"name":"ScrollArea","async":false} +10:I{"id":54007,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-9385614eab1bf0bd.js"],"name":"","async":false} +11:I{"id":81565,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-9385614eab1bf0bd.js"],"name":"IconExternalLink","async":false} +13:I{"id":54616,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","7070:static/chunks/7070-0361b26f2c124ca9.js","8961:static/chunks/8961-b75e0084ee472a46.js","2694:static/chunks/2694-2c0ba96915355022.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9436:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/new/page-9dd8ae2030523f11.js"],"name":"NewProvider","async":false} +14:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Context Providers"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] 5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L8",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":["$","$Lb",null,{}],"notFoundStyles":[],"childProp":{"current":[null,[["$","$Lc",null,{}],["$","$Ld",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[null,["$","div",null,{"className":"-m-4 flex lg:-m-10","children":[["$","$Le",null,{"className":"w-[200px] pl-4 pt-4 lg:w-[250px]"}],["$","$Lf",null,{"className":"flex-1","children":["$","div",null,{"className":"p-4 lg:p-10","children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[null,[["$","div",null,{"className":"mb-4 flex items-center gap-4","children":["$","div",null,{"className":"flex-1 text-sm text-muted-foreground","children":["Connect to GitHub as a provider, and select repositories from this provider to serve as context, thereby improving the performance of large language models",["$","$L10",null,{"className":"ml-2 inline-flex cursor-pointer flex-row items-center text-primary hover:underline","href":"https://tabby.tabbyml.com/blog/2023/10/16/repository-context-for-code-completion","target":"_blank","children":["Learn more",["$","$L11",null,{"className":"ml-1"}]]}]]}]}],["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children",["kind","github","d"],"children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children",["kind","github","d"],"children","new","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$L12",["$","$L13",null,{}],null],"segment":"__PAGE__?{\"kind\":\"github\"}"},"styles":[]}],"segment":"new"},"styles":[]}]],null],"segment":["kind","github","d"]},"styles":[]}]}]}]]}],null],"segment":"providers"},"styles":[]}],"segment":"(integrations)"},"styles":[]}],"segment":"settings"},"styles":[]}]}]],null],"segment":"(dashboard)"},"styles":[]}]}],["$","$L14",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] 12:null diff --git a/ee/tabby-webserver/ui/settings/providers/gitlab-self-hosted.html b/ee/tabby-webserver/ui/settings/providers/gitlab-self-hosted.html index d0a2f83db2d2..8803d24e7f62 100644 --- a/ee/tabby-webserver/ui/settings/providers/gitlab-self-hosted.html +++ b/ee/tabby-webserver/ui/settings/providers/gitlab-self-hosted.html @@ -1 +1 @@ -Tabby - Context Providers \ No newline at end of file +Tabby - Context Providers \ No newline at end of file diff --git a/ee/tabby-webserver/ui/settings/providers/gitlab-self-hosted.txt b/ee/tabby-webserver/ui/settings/providers/gitlab-self-hosted.txt index eae9a927cad1..1de3fb5d6588 100644 --- a/ee/tabby-webserver/ui/settings/providers/gitlab-self-hosted.txt +++ b/ee/tabby-webserver/ui/settings/providers/gitlab-self-hosted.txt @@ -1,21 +1,21 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["providers",{"children":[["kind","gitlab-self-hosted","d"],{"children":["__PAGE__?{\"kind\":\"gitlab-self-hosted\"}",{}]}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] -7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -9:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -a:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"LicenseBanner","async":false} -d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"","async":false} -e:I{"id":69145,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-fa293c4e48acfb94.js","8939:static/chunks/8939-080830c173a7422f.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-d7262c1e7c5683d4.js"],"name":"","async":false} -f:I{"id":57830,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-fa293c4e48acfb94.js","8939:static/chunks/8939-080830c173a7422f.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-d7262c1e7c5683d4.js"],"name":"ScrollArea","async":false} -10:I{"id":54007,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-7fd8f4cfd414892f.js"],"name":"","async":false} -11:I{"id":81565,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-7fd8f4cfd414892f.js"],"name":"IconExternalLink","async":false} -13:I{"id":19847,"chunks":["7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7070:static/chunks/7070-0361b26f2c124ca9.js","9624:static/chunks/9624-e9aea3b21f208e80.js","7288:static/chunks/7288-15d369f9368f1cf5.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","9667:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/page-73c4bfa404d5d481.js"],"name":"","async":false} -14:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["providers",{"children":[["kind","gitlab-self-hosted","d"],{"children":["__PAGE__?{\"kind\":\"gitlab-self-hosted\"}",{}]}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] +7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +9:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +a:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"LicenseBanner","async":false} +d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"","async":false} +e:I{"id":69145,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-c01da5706224f2a4.js","9515:static/chunks/9515-88bf7d677b64e062.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-80834c5ba4f4197c.js"],"name":"","async":false} +f:I{"id":57830,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-c01da5706224f2a4.js","9515:static/chunks/9515-88bf7d677b64e062.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-80834c5ba4f4197c.js"],"name":"ScrollArea","async":false} +10:I{"id":54007,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-9385614eab1bf0bd.js"],"name":"","async":false} +11:I{"id":81565,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-9385614eab1bf0bd.js"],"name":"IconExternalLink","async":false} +13:I{"id":19847,"chunks":["7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7070:static/chunks/7070-0361b26f2c124ca9.js","9624:static/chunks/9624-e9aea3b21f208e80.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","9667:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/page-6c7398237f23875c.js"],"name":"","async":false} +14:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Context Providers"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] 5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L8",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":["$","$Lb",null,{}],"notFoundStyles":[],"childProp":{"current":[null,[["$","$Lc",null,{}],["$","$Ld",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[null,["$","div",null,{"className":"-m-4 flex lg:-m-10","children":[["$","$Le",null,{"className":"w-[200px] pl-4 pt-4 lg:w-[250px]"}],["$","$Lf",null,{"className":"flex-1","children":["$","div",null,{"className":"p-4 lg:p-10","children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[null,[["$","div",null,{"className":"mb-4 flex items-center gap-4","children":["$","div",null,{"className":"flex-1 text-sm text-muted-foreground","children":["Connect to Self-Hosted GitLab as a provider, and select repositories from this provider to serve as context, thereby improving the performance of large language models",["$","$L10",null,{"className":"ml-2 inline-flex cursor-pointer flex-row items-center text-primary hover:underline","href":"https://tabby.tabbyml.com/blog/2023/10/16/repository-context-for-code-completion","target":"_blank","children":["Learn more",["$","$L11",null,{"className":"ml-1"}]]}]]}]}],["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children",["kind","gitlab-self-hosted","d"],"children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$L12",["$","$L13",null,{}],null],"segment":"__PAGE__?{\"kind\":\"gitlab-self-hosted\"}"},"styles":[]}]],null],"segment":["kind","gitlab-self-hosted","d"]},"styles":[]}]}]}]]}],null],"segment":"providers"},"styles":[]}],"segment":"(integrations)"},"styles":[]}],"segment":"settings"},"styles":[]}]}]],null],"segment":"(dashboard)"},"styles":[]}]}],["$","$L14",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] 12:null diff --git a/ee/tabby-webserver/ui/settings/providers/gitlab-self-hosted/detail.html b/ee/tabby-webserver/ui/settings/providers/gitlab-self-hosted/detail.html index 44f6c4a3c265..e3fe6064616e 100644 --- a/ee/tabby-webserver/ui/settings/providers/gitlab-self-hosted/detail.html +++ b/ee/tabby-webserver/ui/settings/providers/gitlab-self-hosted/detail.html @@ -1 +1 @@ -Tabby - Context Providers \ No newline at end of file +Tabby - Context Providers \ No newline at end of file diff --git a/ee/tabby-webserver/ui/settings/providers/gitlab-self-hosted/detail.txt b/ee/tabby-webserver/ui/settings/providers/gitlab-self-hosted/detail.txt index e4e246ff143e..8669209c237b 100644 --- a/ee/tabby-webserver/ui/settings/providers/gitlab-self-hosted/detail.txt +++ b/ee/tabby-webserver/ui/settings/providers/gitlab-self-hosted/detail.txt @@ -1,21 +1,21 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["providers",{"children":[["kind","gitlab-self-hosted","d"],{"children":["detail",{"children":["__PAGE__?{\"kind\":\"gitlab-self-hosted\"}",{}]}]}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] -7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -9:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -a:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"LicenseBanner","async":false} -d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"","async":false} -e:I{"id":69145,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-fa293c4e48acfb94.js","8939:static/chunks/8939-080830c173a7422f.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-d7262c1e7c5683d4.js"],"name":"","async":false} -f:I{"id":57830,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-fa293c4e48acfb94.js","8939:static/chunks/8939-080830c173a7422f.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-d7262c1e7c5683d4.js"],"name":"ScrollArea","async":false} -10:I{"id":54007,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-7fd8f4cfd414892f.js"],"name":"","async":false} -11:I{"id":81565,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-7fd8f4cfd414892f.js"],"name":"IconExternalLink","async":false} -13:I{"id":48973,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","4421:static/chunks/4421-4f8bfde943c5a280.js","7070:static/chunks/7070-0361b26f2c124ca9.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","8961:static/chunks/8961-b75e0084ee472a46.js","6805:static/chunks/6805-2c6ecd1c0672c08c.js","4553:static/chunks/4553-fa293c4e48acfb94.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","2869:static/chunks/2869-42f1f3c44cd51c36.js","9464:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/detail/page-2a964ef4c1daf3cd.js"],"name":"","async":false} -14:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["providers",{"children":[["kind","gitlab-self-hosted","d"],{"children":["detail",{"children":["__PAGE__?{\"kind\":\"gitlab-self-hosted\"}",{}]}]}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] +7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +9:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +a:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"LicenseBanner","async":false} +d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"","async":false} +e:I{"id":69145,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-c01da5706224f2a4.js","9515:static/chunks/9515-88bf7d677b64e062.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-80834c5ba4f4197c.js"],"name":"","async":false} +f:I{"id":57830,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-c01da5706224f2a4.js","9515:static/chunks/9515-88bf7d677b64e062.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-80834c5ba4f4197c.js"],"name":"ScrollArea","async":false} +10:I{"id":54007,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-9385614eab1bf0bd.js"],"name":"","async":false} +11:I{"id":81565,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-9385614eab1bf0bd.js"],"name":"IconExternalLink","async":false} +13:I{"id":48973,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","4421:static/chunks/4421-4f8bfde943c5a280.js","7070:static/chunks/7070-0361b26f2c124ca9.js","1002:static/chunks/1002-76b3e1057e71e39d.js","8961:static/chunks/8961-b75e0084ee472a46.js","6805:static/chunks/6805-2c6ecd1c0672c08c.js","4553:static/chunks/4553-c01da5706224f2a4.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","4731:static/chunks/4731-f09b618f36d3589b.js","9464:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/detail/page-d4914a1650f426fa.js"],"name":"","async":false} +14:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Context Providers"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] 5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L8",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":["$","$Lb",null,{}],"notFoundStyles":[],"childProp":{"current":[null,[["$","$Lc",null,{}],["$","$Ld",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[null,["$","div",null,{"className":"-m-4 flex lg:-m-10","children":[["$","$Le",null,{"className":"w-[200px] pl-4 pt-4 lg:w-[250px]"}],["$","$Lf",null,{"className":"flex-1","children":["$","div",null,{"className":"p-4 lg:p-10","children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[null,[["$","div",null,{"className":"mb-4 flex items-center gap-4","children":["$","div",null,{"className":"flex-1 text-sm text-muted-foreground","children":["Connect to Self-Hosted GitLab as a provider, and select repositories from this provider to serve as context, thereby improving the performance of large language models",["$","$L10",null,{"className":"ml-2 inline-flex cursor-pointer flex-row items-center text-primary hover:underline","href":"https://tabby.tabbyml.com/blog/2023/10/16/repository-context-for-code-completion","target":"_blank","children":["Learn more",["$","$L11",null,{"className":"ml-1"}]]}]]}]}],["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children",["kind","gitlab-self-hosted","d"],"children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children",["kind","gitlab-self-hosted","d"],"children","detail","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$L12",["$","$L13",null,{}],null],"segment":"__PAGE__?{\"kind\":\"gitlab-self-hosted\"}"},"styles":[]}],"segment":"detail"},"styles":[]}]],null],"segment":["kind","gitlab-self-hosted","d"]},"styles":[]}]}]}]]}],null],"segment":"providers"},"styles":[]}],"segment":"(integrations)"},"styles":[]}],"segment":"settings"},"styles":[]}]}]],null],"segment":"(dashboard)"},"styles":[]}]}],["$","$L14",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] 12:null diff --git a/ee/tabby-webserver/ui/settings/providers/gitlab-self-hosted/new.html b/ee/tabby-webserver/ui/settings/providers/gitlab-self-hosted/new.html index dd2650773b10..9533cf97aeb6 100644 --- a/ee/tabby-webserver/ui/settings/providers/gitlab-self-hosted/new.html +++ b/ee/tabby-webserver/ui/settings/providers/gitlab-self-hosted/new.html @@ -1 +1 @@ -Tabby - Context Providers \ No newline at end of file +Tabby - Context Providers \ No newline at end of file diff --git a/ee/tabby-webserver/ui/settings/providers/gitlab-self-hosted/new.txt b/ee/tabby-webserver/ui/settings/providers/gitlab-self-hosted/new.txt index 4b421e9de8fe..27eecde382e7 100644 --- a/ee/tabby-webserver/ui/settings/providers/gitlab-self-hosted/new.txt +++ b/ee/tabby-webserver/ui/settings/providers/gitlab-self-hosted/new.txt @@ -1,21 +1,21 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["providers",{"children":[["kind","gitlab-self-hosted","d"],{"children":["new",{"children":["__PAGE__?{\"kind\":\"gitlab-self-hosted\"}",{}]}]}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] -7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -9:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -a:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"LicenseBanner","async":false} -d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"","async":false} -e:I{"id":69145,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-fa293c4e48acfb94.js","8939:static/chunks/8939-080830c173a7422f.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-d7262c1e7c5683d4.js"],"name":"","async":false} -f:I{"id":57830,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-fa293c4e48acfb94.js","8939:static/chunks/8939-080830c173a7422f.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-d7262c1e7c5683d4.js"],"name":"ScrollArea","async":false} -10:I{"id":54007,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-7fd8f4cfd414892f.js"],"name":"","async":false} -11:I{"id":81565,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-7fd8f4cfd414892f.js"],"name":"IconExternalLink","async":false} -13:I{"id":54616,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","7070:static/chunks/7070-0361b26f2c124ca9.js","8961:static/chunks/8961-b75e0084ee472a46.js","2694:static/chunks/2694-2c0ba96915355022.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9436:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/new/page-842d420f2e26348f.js"],"name":"NewProvider","async":false} -14:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["providers",{"children":[["kind","gitlab-self-hosted","d"],{"children":["new",{"children":["__PAGE__?{\"kind\":\"gitlab-self-hosted\"}",{}]}]}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] +7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +9:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +a:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"LicenseBanner","async":false} +d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"","async":false} +e:I{"id":69145,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-c01da5706224f2a4.js","9515:static/chunks/9515-88bf7d677b64e062.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-80834c5ba4f4197c.js"],"name":"","async":false} +f:I{"id":57830,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-c01da5706224f2a4.js","9515:static/chunks/9515-88bf7d677b64e062.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-80834c5ba4f4197c.js"],"name":"ScrollArea","async":false} +10:I{"id":54007,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-9385614eab1bf0bd.js"],"name":"","async":false} +11:I{"id":81565,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-9385614eab1bf0bd.js"],"name":"IconExternalLink","async":false} +13:I{"id":54616,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","7070:static/chunks/7070-0361b26f2c124ca9.js","8961:static/chunks/8961-b75e0084ee472a46.js","2694:static/chunks/2694-2c0ba96915355022.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9436:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/new/page-9dd8ae2030523f11.js"],"name":"NewProvider","async":false} +14:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Context Providers"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] 5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L8",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":["$","$Lb",null,{}],"notFoundStyles":[],"childProp":{"current":[null,[["$","$Lc",null,{}],["$","$Ld",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[null,["$","div",null,{"className":"-m-4 flex lg:-m-10","children":[["$","$Le",null,{"className":"w-[200px] pl-4 pt-4 lg:w-[250px]"}],["$","$Lf",null,{"className":"flex-1","children":["$","div",null,{"className":"p-4 lg:p-10","children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[null,[["$","div",null,{"className":"mb-4 flex items-center gap-4","children":["$","div",null,{"className":"flex-1 text-sm text-muted-foreground","children":["Connect to Self-Hosted GitLab as a provider, and select repositories from this provider to serve as context, thereby improving the performance of large language models",["$","$L10",null,{"className":"ml-2 inline-flex cursor-pointer flex-row items-center text-primary hover:underline","href":"https://tabby.tabbyml.com/blog/2023/10/16/repository-context-for-code-completion","target":"_blank","children":["Learn more",["$","$L11",null,{"className":"ml-1"}]]}]]}]}],["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children",["kind","gitlab-self-hosted","d"],"children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children",["kind","gitlab-self-hosted","d"],"children","new","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$L12",["$","$L13",null,{}],null],"segment":"__PAGE__?{\"kind\":\"gitlab-self-hosted\"}"},"styles":[]}],"segment":"new"},"styles":[]}]],null],"segment":["kind","gitlab-self-hosted","d"]},"styles":[]}]}]}]]}],null],"segment":"providers"},"styles":[]}],"segment":"(integrations)"},"styles":[]}],"segment":"settings"},"styles":[]}]}]],null],"segment":"(dashboard)"},"styles":[]}]}],["$","$L14",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] 12:null diff --git a/ee/tabby-webserver/ui/settings/providers/gitlab.html b/ee/tabby-webserver/ui/settings/providers/gitlab.html index e362a513dcf7..119c90ab035d 100644 --- a/ee/tabby-webserver/ui/settings/providers/gitlab.html +++ b/ee/tabby-webserver/ui/settings/providers/gitlab.html @@ -1 +1 @@ -Tabby - Context Providers \ No newline at end of file +Tabby - Context Providers \ No newline at end of file diff --git a/ee/tabby-webserver/ui/settings/providers/gitlab.txt b/ee/tabby-webserver/ui/settings/providers/gitlab.txt index f6cc33c29fff..d3b78b0b08e8 100644 --- a/ee/tabby-webserver/ui/settings/providers/gitlab.txt +++ b/ee/tabby-webserver/ui/settings/providers/gitlab.txt @@ -1,21 +1,21 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["providers",{"children":[["kind","gitlab","d"],{"children":["__PAGE__?{\"kind\":\"gitlab\"}",{}]}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] -7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -9:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -a:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"LicenseBanner","async":false} -d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"","async":false} -e:I{"id":69145,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-fa293c4e48acfb94.js","8939:static/chunks/8939-080830c173a7422f.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-d7262c1e7c5683d4.js"],"name":"","async":false} -f:I{"id":57830,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-fa293c4e48acfb94.js","8939:static/chunks/8939-080830c173a7422f.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-d7262c1e7c5683d4.js"],"name":"ScrollArea","async":false} -10:I{"id":54007,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-7fd8f4cfd414892f.js"],"name":"","async":false} -11:I{"id":81565,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-7fd8f4cfd414892f.js"],"name":"IconExternalLink","async":false} -13:I{"id":19847,"chunks":["7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7070:static/chunks/7070-0361b26f2c124ca9.js","9624:static/chunks/9624-e9aea3b21f208e80.js","7288:static/chunks/7288-15d369f9368f1cf5.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","9667:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/page-73c4bfa404d5d481.js"],"name":"","async":false} -14:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["providers",{"children":[["kind","gitlab","d"],{"children":["__PAGE__?{\"kind\":\"gitlab\"}",{}]}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] +7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +9:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +a:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"LicenseBanner","async":false} +d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"","async":false} +e:I{"id":69145,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-c01da5706224f2a4.js","9515:static/chunks/9515-88bf7d677b64e062.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-80834c5ba4f4197c.js"],"name":"","async":false} +f:I{"id":57830,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-c01da5706224f2a4.js","9515:static/chunks/9515-88bf7d677b64e062.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-80834c5ba4f4197c.js"],"name":"ScrollArea","async":false} +10:I{"id":54007,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-9385614eab1bf0bd.js"],"name":"","async":false} +11:I{"id":81565,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-9385614eab1bf0bd.js"],"name":"IconExternalLink","async":false} +13:I{"id":19847,"chunks":["7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7070:static/chunks/7070-0361b26f2c124ca9.js","9624:static/chunks/9624-e9aea3b21f208e80.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","9667:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/page-6c7398237f23875c.js"],"name":"","async":false} +14:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Context Providers"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] 5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L8",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":["$","$Lb",null,{}],"notFoundStyles":[],"childProp":{"current":[null,[["$","$Lc",null,{}],["$","$Ld",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[null,["$","div",null,{"className":"-m-4 flex lg:-m-10","children":[["$","$Le",null,{"className":"w-[200px] pl-4 pt-4 lg:w-[250px]"}],["$","$Lf",null,{"className":"flex-1","children":["$","div",null,{"className":"p-4 lg:p-10","children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[null,[["$","div",null,{"className":"mb-4 flex items-center gap-4","children":["$","div",null,{"className":"flex-1 text-sm text-muted-foreground","children":["Connect to GitLab as a provider, and select repositories from this provider to serve as context, thereby improving the performance of large language models",["$","$L10",null,{"className":"ml-2 inline-flex cursor-pointer flex-row items-center text-primary hover:underline","href":"https://tabby.tabbyml.com/blog/2023/10/16/repository-context-for-code-completion","target":"_blank","children":["Learn more",["$","$L11",null,{"className":"ml-1"}]]}]]}]}],["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children",["kind","gitlab","d"],"children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$L12",["$","$L13",null,{}],null],"segment":"__PAGE__?{\"kind\":\"gitlab\"}"},"styles":[]}]],null],"segment":["kind","gitlab","d"]},"styles":[]}]}]}]]}],null],"segment":"providers"},"styles":[]}],"segment":"(integrations)"},"styles":[]}],"segment":"settings"},"styles":[]}]}]],null],"segment":"(dashboard)"},"styles":[]}]}],["$","$L14",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] 12:null diff --git a/ee/tabby-webserver/ui/settings/providers/gitlab/detail.html b/ee/tabby-webserver/ui/settings/providers/gitlab/detail.html index 136db4acd3d0..bd2cf5f3223d 100644 --- a/ee/tabby-webserver/ui/settings/providers/gitlab/detail.html +++ b/ee/tabby-webserver/ui/settings/providers/gitlab/detail.html @@ -1 +1 @@ -Tabby - Context Providers \ No newline at end of file +Tabby - Context Providers \ No newline at end of file diff --git a/ee/tabby-webserver/ui/settings/providers/gitlab/detail.txt b/ee/tabby-webserver/ui/settings/providers/gitlab/detail.txt index 9a5cc8289e37..deafb9ac59a9 100644 --- a/ee/tabby-webserver/ui/settings/providers/gitlab/detail.txt +++ b/ee/tabby-webserver/ui/settings/providers/gitlab/detail.txt @@ -1,21 +1,21 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["providers",{"children":[["kind","gitlab","d"],{"children":["detail",{"children":["__PAGE__?{\"kind\":\"gitlab\"}",{}]}]}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] -7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -9:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -a:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"LicenseBanner","async":false} -d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"","async":false} -e:I{"id":69145,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-fa293c4e48acfb94.js","8939:static/chunks/8939-080830c173a7422f.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-d7262c1e7c5683d4.js"],"name":"","async":false} -f:I{"id":57830,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-fa293c4e48acfb94.js","8939:static/chunks/8939-080830c173a7422f.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-d7262c1e7c5683d4.js"],"name":"ScrollArea","async":false} -10:I{"id":54007,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-7fd8f4cfd414892f.js"],"name":"","async":false} -11:I{"id":81565,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-7fd8f4cfd414892f.js"],"name":"IconExternalLink","async":false} -13:I{"id":48973,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","4421:static/chunks/4421-4f8bfde943c5a280.js","7070:static/chunks/7070-0361b26f2c124ca9.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","8961:static/chunks/8961-b75e0084ee472a46.js","6805:static/chunks/6805-2c6ecd1c0672c08c.js","4553:static/chunks/4553-fa293c4e48acfb94.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","2869:static/chunks/2869-42f1f3c44cd51c36.js","9464:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/detail/page-2a964ef4c1daf3cd.js"],"name":"","async":false} -14:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["providers",{"children":[["kind","gitlab","d"],{"children":["detail",{"children":["__PAGE__?{\"kind\":\"gitlab\"}",{}]}]}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] +7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +9:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +a:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"LicenseBanner","async":false} +d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"","async":false} +e:I{"id":69145,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-c01da5706224f2a4.js","9515:static/chunks/9515-88bf7d677b64e062.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-80834c5ba4f4197c.js"],"name":"","async":false} +f:I{"id":57830,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-c01da5706224f2a4.js","9515:static/chunks/9515-88bf7d677b64e062.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-80834c5ba4f4197c.js"],"name":"ScrollArea","async":false} +10:I{"id":54007,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-9385614eab1bf0bd.js"],"name":"","async":false} +11:I{"id":81565,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-9385614eab1bf0bd.js"],"name":"IconExternalLink","async":false} +13:I{"id":48973,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","4421:static/chunks/4421-4f8bfde943c5a280.js","7070:static/chunks/7070-0361b26f2c124ca9.js","1002:static/chunks/1002-76b3e1057e71e39d.js","8961:static/chunks/8961-b75e0084ee472a46.js","6805:static/chunks/6805-2c6ecd1c0672c08c.js","4553:static/chunks/4553-c01da5706224f2a4.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","4731:static/chunks/4731-f09b618f36d3589b.js","9464:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/detail/page-d4914a1650f426fa.js"],"name":"","async":false} +14:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Context Providers"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] 5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L8",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":["$","$Lb",null,{}],"notFoundStyles":[],"childProp":{"current":[null,[["$","$Lc",null,{}],["$","$Ld",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[null,["$","div",null,{"className":"-m-4 flex lg:-m-10","children":[["$","$Le",null,{"className":"w-[200px] pl-4 pt-4 lg:w-[250px]"}],["$","$Lf",null,{"className":"flex-1","children":["$","div",null,{"className":"p-4 lg:p-10","children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[null,[["$","div",null,{"className":"mb-4 flex items-center gap-4","children":["$","div",null,{"className":"flex-1 text-sm text-muted-foreground","children":["Connect to GitLab as a provider, and select repositories from this provider to serve as context, thereby improving the performance of large language models",["$","$L10",null,{"className":"ml-2 inline-flex cursor-pointer flex-row items-center text-primary hover:underline","href":"https://tabby.tabbyml.com/blog/2023/10/16/repository-context-for-code-completion","target":"_blank","children":["Learn more",["$","$L11",null,{"className":"ml-1"}]]}]]}]}],["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children",["kind","gitlab","d"],"children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children",["kind","gitlab","d"],"children","detail","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$L12",["$","$L13",null,{}],null],"segment":"__PAGE__?{\"kind\":\"gitlab\"}"},"styles":[]}],"segment":"detail"},"styles":[]}]],null],"segment":["kind","gitlab","d"]},"styles":[]}]}]}]]}],null],"segment":"providers"},"styles":[]}],"segment":"(integrations)"},"styles":[]}],"segment":"settings"},"styles":[]}]}]],null],"segment":"(dashboard)"},"styles":[]}]}],["$","$L14",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] 12:null diff --git a/ee/tabby-webserver/ui/settings/providers/gitlab/new.html b/ee/tabby-webserver/ui/settings/providers/gitlab/new.html index 78883d9e651d..d701d4491673 100644 --- a/ee/tabby-webserver/ui/settings/providers/gitlab/new.html +++ b/ee/tabby-webserver/ui/settings/providers/gitlab/new.html @@ -1 +1 @@ -Tabby - Context Providers \ No newline at end of file +Tabby - Context Providers \ No newline at end of file diff --git a/ee/tabby-webserver/ui/settings/providers/gitlab/new.txt b/ee/tabby-webserver/ui/settings/providers/gitlab/new.txt index 01fbd09e161b..427d7ebf66a4 100644 --- a/ee/tabby-webserver/ui/settings/providers/gitlab/new.txt +++ b/ee/tabby-webserver/ui/settings/providers/gitlab/new.txt @@ -1,21 +1,21 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["providers",{"children":[["kind","gitlab","d"],{"children":["new",{"children":["__PAGE__?{\"kind\":\"gitlab\"}",{}]}]}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] -7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -9:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -a:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"LicenseBanner","async":false} -d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"","async":false} -e:I{"id":69145,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-fa293c4e48acfb94.js","8939:static/chunks/8939-080830c173a7422f.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-d7262c1e7c5683d4.js"],"name":"","async":false} -f:I{"id":57830,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-fa293c4e48acfb94.js","8939:static/chunks/8939-080830c173a7422f.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-d7262c1e7c5683d4.js"],"name":"ScrollArea","async":false} -10:I{"id":54007,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-7fd8f4cfd414892f.js"],"name":"","async":false} -11:I{"id":81565,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-7fd8f4cfd414892f.js"],"name":"IconExternalLink","async":false} -13:I{"id":54616,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","7070:static/chunks/7070-0361b26f2c124ca9.js","8961:static/chunks/8961-b75e0084ee472a46.js","2694:static/chunks/2694-2c0ba96915355022.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9436:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/new/page-842d420f2e26348f.js"],"name":"NewProvider","async":false} -14:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["providers",{"children":[["kind","gitlab","d"],{"children":["new",{"children":["__PAGE__?{\"kind\":\"gitlab\"}",{}]}]}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] +7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +9:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +a:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"LicenseBanner","async":false} +d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"","async":false} +e:I{"id":69145,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-c01da5706224f2a4.js","9515:static/chunks/9515-88bf7d677b64e062.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-80834c5ba4f4197c.js"],"name":"","async":false} +f:I{"id":57830,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4553:static/chunks/4553-c01da5706224f2a4.js","9515:static/chunks/9515-88bf7d677b64e062.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","6807:static/chunks/app/(dashboard)/settings/(integrations)/providers/layout-80834c5ba4f4197c.js"],"name":"ScrollArea","async":false} +10:I{"id":54007,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-9385614eab1bf0bd.js"],"name":"","async":false} +11:I{"id":81565,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","2219:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/layout-9385614eab1bf0bd.js"],"name":"IconExternalLink","async":false} +13:I{"id":54616,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","7070:static/chunks/7070-0361b26f2c124ca9.js","8961:static/chunks/8961-b75e0084ee472a46.js","2694:static/chunks/2694-2c0ba96915355022.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9436:static/chunks/app/(dashboard)/settings/(integrations)/providers/[kind]/new/page-9dd8ae2030523f11.js"],"name":"NewProvider","async":false} +14:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Context Providers"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] 5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L8",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":["$","$Lb",null,{}],"notFoundStyles":[],"childProp":{"current":[null,[["$","$Lc",null,{}],["$","$Ld",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[null,["$","div",null,{"className":"-m-4 flex lg:-m-10","children":[["$","$Le",null,{"className":"w-[200px] pl-4 pt-4 lg:w-[250px]"}],["$","$Lf",null,{"className":"flex-1","children":["$","div",null,{"className":"p-4 lg:p-10","children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[null,[["$","div",null,{"className":"mb-4 flex items-center gap-4","children":["$","div",null,{"className":"flex-1 text-sm text-muted-foreground","children":["Connect to GitLab as a provider, and select repositories from this provider to serve as context, thereby improving the performance of large language models",["$","$L10",null,{"className":"ml-2 inline-flex cursor-pointer flex-row items-center text-primary hover:underline","href":"https://tabby.tabbyml.com/blog/2023/10/16/repository-context-for-code-completion","target":"_blank","children":["Learn more",["$","$L11",null,{"className":"ml-1"}]]}]]}]}],["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children",["kind","gitlab","d"],"children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","providers","children",["kind","gitlab","d"],"children","new","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$L12",["$","$L13",null,{}],null],"segment":"__PAGE__?{\"kind\":\"gitlab\"}"},"styles":[]}],"segment":"new"},"styles":[]}]],null],"segment":["kind","gitlab","d"]},"styles":[]}]}]}]]}],null],"segment":"providers"},"styles":[]}],"segment":"(integrations)"},"styles":[]}],"segment":"settings"},"styles":[]}]}]],null],"segment":"(dashboard)"},"styles":[]}]}],["$","$L14",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] 12:null diff --git a/ee/tabby-webserver/ui/settings/sso.html b/ee/tabby-webserver/ui/settings/sso.html index 8ed7a0410a93..44f91f9c26c1 100644 --- a/ee/tabby-webserver/ui/settings/sso.html +++ b/ee/tabby-webserver/ui/settings/sso.html @@ -1 +1 @@ -Tabby - SSO \ No newline at end of file +Tabby - SSO \ No newline at end of file diff --git a/ee/tabby-webserver/ui/settings/sso.txt b/ee/tabby-webserver/ui/settings/sso.txt index 43c0d9306c98..a84370e9b425 100644 --- a/ee/tabby-webserver/ui/settings/sso.txt +++ b/ee/tabby-webserver/ui/settings/sso.txt @@ -1,17 +1,17 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["sso",{"children":["__PAGE__",{}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] -7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -9:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -a:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"LicenseBanner","async":false} -d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"","async":false} -f:I{"id":20325,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","7070:static/chunks/7070-0361b26f2c124ca9.js","3707:static/chunks/3707-eda259e0cd61e823.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","325:static/chunks/325-25e95b2d2fc15237.js","9157:static/chunks/app/(dashboard)/settings/(integrations)/sso/page-4de3f16ab15d44fe.js"],"name":"OAuthCredentialList","async":false} -10:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["sso",{"children":["__PAGE__",{}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] +7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +9:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +a:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"LicenseBanner","async":false} +d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"","async":false} +f:I{"id":20325,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","7070:static/chunks/7070-0361b26f2c124ca9.js","3707:static/chunks/3707-eda259e0cd61e823.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","325:static/chunks/325-f70715e63c3f0b29.js","9157:static/chunks/app/(dashboard)/settings/(integrations)/sso/page-538e50b87dffca54.js"],"name":"OAuthCredentialList","async":false} +10:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - SSO"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] 5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L8",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":["$","$Lb",null,{}],"notFoundStyles":[],"childProp":{"current":[null,[["$","$Lc",null,{}],["$","$Ld",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","sso","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$Le",["$","$Lf",null,{}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"sso"},"styles":[]}],"segment":"(integrations)"},"styles":[]}],"segment":"settings"},"styles":[]}]}]],null],"segment":"(dashboard)"},"styles":[]}]}],["$","$L10",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] e:null diff --git a/ee/tabby-webserver/ui/settings/sso/detail/github.html b/ee/tabby-webserver/ui/settings/sso/detail/github.html index a74b2651ec90..435d2440a5c2 100644 --- a/ee/tabby-webserver/ui/settings/sso/detail/github.html +++ b/ee/tabby-webserver/ui/settings/sso/detail/github.html @@ -1 +1 @@ -Tabby - Dashboard \ No newline at end of file +Tabby - Dashboard \ No newline at end of file diff --git a/ee/tabby-webserver/ui/settings/sso/detail/github.txt b/ee/tabby-webserver/ui/settings/sso/detail/github.txt index 950211827bb6..07a7a08a4016 100644 --- a/ee/tabby-webserver/ui/settings/sso/detail/github.txt +++ b/ee/tabby-webserver/ui/settings/sso/detail/github.txt @@ -1,17 +1,17 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["sso",{"children":["detail",{"children":[["provider","github","d"],{"children":["__PAGE__?{\"provider\":\"github\"}",{}]}]}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] -7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -9:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -a:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"LicenseBanner","async":false} -d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"","async":false} -f:I{"id":18049,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","7070:static/chunks/7070-0361b26f2c124ca9.js","8961:static/chunks/8961-b75e0084ee472a46.js","3707:static/chunks/3707-eda259e0cd61e823.js","5577:static/chunks/5577-e0e1e67ec76541ee.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","325:static/chunks/325-25e95b2d2fc15237.js","8399:static/chunks/8399-30b0f029a63d81ae.js","4712:static/chunks/app/(dashboard)/settings/(integrations)/sso/detail/[provider]/page-c9aa57444abbc436.js"],"name":"OAuthCredentialDetail","async":false} -10:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["sso",{"children":["detail",{"children":[["provider","github","d"],{"children":["__PAGE__?{\"provider\":\"github\"}",{}]}]}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] +7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +9:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +a:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"LicenseBanner","async":false} +d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"","async":false} +f:I{"id":18049,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","7070:static/chunks/7070-0361b26f2c124ca9.js","8961:static/chunks/8961-b75e0084ee472a46.js","3707:static/chunks/3707-eda259e0cd61e823.js","5577:static/chunks/5577-e0e1e67ec76541ee.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","325:static/chunks/325-f70715e63c3f0b29.js","8399:static/chunks/8399-4db09a42111f750a.js","4712:static/chunks/app/(dashboard)/settings/(integrations)/sso/detail/[provider]/page-95ade37b0f177c9a.js"],"name":"OAuthCredentialDetail","async":false} +10:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Dashboard"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] 5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L8",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":["$","$Lb",null,{}],"notFoundStyles":[],"childProp":{"current":[null,[["$","$Lc",null,{}],["$","$Ld",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","sso","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","sso","children","detail","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","sso","children","detail","children",["provider","github","d"],"children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$Le",[["$","div",null,{"className":"min-h-8 mb-4 flex items-center gap-4","children":["$","div",null,{"className":"flex-1 text-sm text-muted-foreground","children":["Single Sign-On (SSO) is an authentication method that enables users to authenticate with multiple applications and websites via a single set of credentials.",false]}]}],["$","$Lf",null,{"provider":"GITHUB"}]],null],"segment":"__PAGE__?{\"provider\":\"github\"}"},"styles":[]}],"segment":["provider","github","d"]},"styles":[]}],"segment":"detail"},"styles":[]}],"segment":"sso"},"styles":[]}],"segment":"(integrations)"},"styles":[]}],"segment":"settings"},"styles":[]}]}]],null],"segment":"(dashboard)"},"styles":[]}]}],["$","$L10",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] e:null diff --git a/ee/tabby-webserver/ui/settings/sso/detail/gitlab.html b/ee/tabby-webserver/ui/settings/sso/detail/gitlab.html index e57479d49068..1d1efd138803 100644 --- a/ee/tabby-webserver/ui/settings/sso/detail/gitlab.html +++ b/ee/tabby-webserver/ui/settings/sso/detail/gitlab.html @@ -1 +1 @@ -Tabby - Dashboard \ No newline at end of file +Tabby - Dashboard \ No newline at end of file diff --git a/ee/tabby-webserver/ui/settings/sso/detail/gitlab.txt b/ee/tabby-webserver/ui/settings/sso/detail/gitlab.txt index ab2942d386c8..2885a99c3795 100644 --- a/ee/tabby-webserver/ui/settings/sso/detail/gitlab.txt +++ b/ee/tabby-webserver/ui/settings/sso/detail/gitlab.txt @@ -1,17 +1,17 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["sso",{"children":["detail",{"children":[["provider","gitlab","d"],{"children":["__PAGE__?{\"provider\":\"gitlab\"}",{}]}]}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] -7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -9:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -a:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"LicenseBanner","async":false} -d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"","async":false} -f:I{"id":18049,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","7070:static/chunks/7070-0361b26f2c124ca9.js","8961:static/chunks/8961-b75e0084ee472a46.js","3707:static/chunks/3707-eda259e0cd61e823.js","5577:static/chunks/5577-e0e1e67ec76541ee.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","325:static/chunks/325-25e95b2d2fc15237.js","8399:static/chunks/8399-30b0f029a63d81ae.js","4712:static/chunks/app/(dashboard)/settings/(integrations)/sso/detail/[provider]/page-c9aa57444abbc436.js"],"name":"OAuthCredentialDetail","async":false} -10:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["sso",{"children":["detail",{"children":[["provider","gitlab","d"],{"children":["__PAGE__?{\"provider\":\"gitlab\"}",{}]}]}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] +7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +9:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +a:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"LicenseBanner","async":false} +d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"","async":false} +f:I{"id":18049,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","7070:static/chunks/7070-0361b26f2c124ca9.js","8961:static/chunks/8961-b75e0084ee472a46.js","3707:static/chunks/3707-eda259e0cd61e823.js","5577:static/chunks/5577-e0e1e67ec76541ee.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","325:static/chunks/325-f70715e63c3f0b29.js","8399:static/chunks/8399-4db09a42111f750a.js","4712:static/chunks/app/(dashboard)/settings/(integrations)/sso/detail/[provider]/page-95ade37b0f177c9a.js"],"name":"OAuthCredentialDetail","async":false} +10:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Dashboard"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] 5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L8",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":["$","$Lb",null,{}],"notFoundStyles":[],"childProp":{"current":[null,[["$","$Lc",null,{}],["$","$Ld",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","sso","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","sso","children","detail","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","sso","children","detail","children",["provider","gitlab","d"],"children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$Le",[["$","div",null,{"className":"min-h-8 mb-4 flex items-center gap-4","children":["$","div",null,{"className":"flex-1 text-sm text-muted-foreground","children":["Single Sign-On (SSO) is an authentication method that enables users to authenticate with multiple applications and websites via a single set of credentials.",false]}]}],["$","$Lf",null,{"provider":"GITLAB"}]],null],"segment":"__PAGE__?{\"provider\":\"gitlab\"}"},"styles":[]}],"segment":["provider","gitlab","d"]},"styles":[]}],"segment":"detail"},"styles":[]}],"segment":"sso"},"styles":[]}],"segment":"(integrations)"},"styles":[]}],"segment":"settings"},"styles":[]}]}]],null],"segment":"(dashboard)"},"styles":[]}]}],["$","$L10",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] e:null diff --git a/ee/tabby-webserver/ui/settings/sso/detail/google.html b/ee/tabby-webserver/ui/settings/sso/detail/google.html index 0a997f55d6c5..e9e926df5a78 100644 --- a/ee/tabby-webserver/ui/settings/sso/detail/google.html +++ b/ee/tabby-webserver/ui/settings/sso/detail/google.html @@ -1 +1 @@ -Tabby - Dashboard \ No newline at end of file +Tabby - Dashboard \ No newline at end of file diff --git a/ee/tabby-webserver/ui/settings/sso/detail/google.txt b/ee/tabby-webserver/ui/settings/sso/detail/google.txt index 301600bcafd1..502b65e4012c 100644 --- a/ee/tabby-webserver/ui/settings/sso/detail/google.txt +++ b/ee/tabby-webserver/ui/settings/sso/detail/google.txt @@ -1,17 +1,17 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["sso",{"children":["detail",{"children":[["provider","google","d"],{"children":["__PAGE__?{\"provider\":\"google\"}",{}]}]}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] -7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -9:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -a:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"LicenseBanner","async":false} -d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"","async":false} -f:I{"id":18049,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","7070:static/chunks/7070-0361b26f2c124ca9.js","8961:static/chunks/8961-b75e0084ee472a46.js","3707:static/chunks/3707-eda259e0cd61e823.js","5577:static/chunks/5577-e0e1e67ec76541ee.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","325:static/chunks/325-25e95b2d2fc15237.js","8399:static/chunks/8399-30b0f029a63d81ae.js","4712:static/chunks/app/(dashboard)/settings/(integrations)/sso/detail/[provider]/page-c9aa57444abbc436.js"],"name":"OAuthCredentialDetail","async":false} -10:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["sso",{"children":["detail",{"children":[["provider","google","d"],{"children":["__PAGE__?{\"provider\":\"google\"}",{}]}]}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] +7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +9:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +a:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"LicenseBanner","async":false} +d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"","async":false} +f:I{"id":18049,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","7070:static/chunks/7070-0361b26f2c124ca9.js","8961:static/chunks/8961-b75e0084ee472a46.js","3707:static/chunks/3707-eda259e0cd61e823.js","5577:static/chunks/5577-e0e1e67ec76541ee.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","325:static/chunks/325-f70715e63c3f0b29.js","8399:static/chunks/8399-4db09a42111f750a.js","4712:static/chunks/app/(dashboard)/settings/(integrations)/sso/detail/[provider]/page-95ade37b0f177c9a.js"],"name":"OAuthCredentialDetail","async":false} +10:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Dashboard"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] 5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L8",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":["$","$Lb",null,{}],"notFoundStyles":[],"childProp":{"current":[null,[["$","$Lc",null,{}],["$","$Ld",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","sso","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","sso","children","detail","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","sso","children","detail","children",["provider","google","d"],"children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$Le",[["$","div",null,{"className":"min-h-8 mb-4 flex items-center gap-4","children":["$","div",null,{"className":"flex-1 text-sm text-muted-foreground","children":["Single Sign-On (SSO) is an authentication method that enables users to authenticate with multiple applications and websites via a single set of credentials.",false]}]}],["$","$Lf",null,{"provider":"GOOGLE"}]],null],"segment":"__PAGE__?{\"provider\":\"google\"}"},"styles":[]}],"segment":["provider","google","d"]},"styles":[]}],"segment":"detail"},"styles":[]}],"segment":"sso"},"styles":[]}],"segment":"(integrations)"},"styles":[]}],"segment":"settings"},"styles":[]}]}]],null],"segment":"(dashboard)"},"styles":[]}]}],["$","$L10",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] e:null diff --git a/ee/tabby-webserver/ui/settings/sso/new.html b/ee/tabby-webserver/ui/settings/sso/new.html index 8b3f3a20cf52..c22846b15a6c 100644 --- a/ee/tabby-webserver/ui/settings/sso/new.html +++ b/ee/tabby-webserver/ui/settings/sso/new.html @@ -1 +1 @@ -Tabby - Dashboard \ No newline at end of file +Tabby - Dashboard \ No newline at end of file diff --git a/ee/tabby-webserver/ui/settings/sso/new.txt b/ee/tabby-webserver/ui/settings/sso/new.txt index 1828d679b60c..ea3731d7b527 100644 --- a/ee/tabby-webserver/ui/settings/sso/new.txt +++ b/ee/tabby-webserver/ui/settings/sso/new.txt @@ -1,17 +1,17 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["sso",{"children":["new",{"children":["__PAGE__",{}]}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] -7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -9:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -a:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"LicenseBanner","async":false} -d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"","async":false} -f:I{"id":24008,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","7070:static/chunks/7070-0361b26f2c124ca9.js","8961:static/chunks/8961-b75e0084ee472a46.js","3707:static/chunks/3707-eda259e0cd61e823.js","5577:static/chunks/5577-e0e1e67ec76541ee.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","325:static/chunks/325-25e95b2d2fc15237.js","8399:static/chunks/8399-30b0f029a63d81ae.js","2436:static/chunks/app/(dashboard)/settings/(integrations)/sso/new/page-de840b491eb6fb8b.js"],"name":"NewOAuthCredential","async":false} -10:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["(integrations)",{"children":["sso",{"children":["new",{"children":["__PAGE__",{}]}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] +7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +9:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +a:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"LicenseBanner","async":false} +d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"","async":false} +f:I{"id":24008,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","7070:static/chunks/7070-0361b26f2c124ca9.js","8961:static/chunks/8961-b75e0084ee472a46.js","3707:static/chunks/3707-eda259e0cd61e823.js","5577:static/chunks/5577-e0e1e67ec76541ee.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","325:static/chunks/325-f70715e63c3f0b29.js","8399:static/chunks/8399-4db09a42111f750a.js","2436:static/chunks/app/(dashboard)/settings/(integrations)/sso/new/page-de840b491eb6fb8b.js"],"name":"NewOAuthCredential","async":false} +10:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Dashboard"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] 5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L8",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":["$","$Lb",null,{}],"notFoundStyles":[],"childProp":{"current":[null,[["$","$Lc",null,{}],["$","$Ld",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","sso","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","(integrations)","children","sso","children","new","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$Le",["$","$Lf",null,{}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"new"},"styles":[]}],"segment":"sso"},"styles":[]}],"segment":"(integrations)"},"styles":[]}],"segment":"settings"},"styles":[]}]}]],null],"segment":"(dashboard)"},"styles":[]}]}],["$","$L10",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] e:null diff --git a/ee/tabby-webserver/ui/settings/subscription.html b/ee/tabby-webserver/ui/settings/subscription.html index 5140722a5772..092b50ae1c07 100644 --- a/ee/tabby-webserver/ui/settings/subscription.html +++ b/ee/tabby-webserver/ui/settings/subscription.html @@ -1 +1 @@ -Tabby - Subscription \ No newline at end of file +Tabby - Subscription \ No newline at end of file diff --git a/ee/tabby-webserver/ui/settings/subscription.txt b/ee/tabby-webserver/ui/settings/subscription.txt index 8aa6304d08cf..dfb2b84a7b27 100644 --- a/ee/tabby-webserver/ui/settings/subscription.txt +++ b/ee/tabby-webserver/ui/settings/subscription.txt @@ -1,17 +1,17 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["subscription",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] -7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -9:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -a:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"LicenseBanner","async":false} -d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"","async":false} -f:I{"id":47166,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","4421:static/chunks/4421-4f8bfde943c5a280.js","8961:static/chunks/8961-b75e0084ee472a46.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","4303:static/chunks/app/(dashboard)/settings/subscription/page-d960181935ba68b0.js"],"name":"","async":false} -10:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["subscription",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] +7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +9:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +a:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"LicenseBanner","async":false} +d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"","async":false} +f:I{"id":47166,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","4421:static/chunks/4421-4f8bfde943c5a280.js","8961:static/chunks/8961-b75e0084ee472a46.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","4303:static/chunks/app/(dashboard)/settings/subscription/page-6ce2ee42726345f1.js"],"name":"","async":false} +10:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Subscription"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] 5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L8",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":["$","$Lb",null,{}],"notFoundStyles":[],"childProp":{"current":[null,[["$","$Lc",null,{}],["$","$Ld",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","subscription","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$Le",["$","$Lf",null,{}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"subscription"},"styles":[]}],"segment":"settings"},"styles":[]}]}]],null],"segment":"(dashboard)"},"styles":[]}]}],["$","$L10",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] e:null diff --git a/ee/tabby-webserver/ui/settings/team.html b/ee/tabby-webserver/ui/settings/team.html index 83f51d1a77ce..a3c63ff96f02 100644 --- a/ee/tabby-webserver/ui/settings/team.html +++ b/ee/tabby-webserver/ui/settings/team.html @@ -1 +1 @@ -Tabby - Members \ No newline at end of file +Tabby - Members \ No newline at end of file diff --git a/ee/tabby-webserver/ui/settings/team.txt b/ee/tabby-webserver/ui/settings/team.txt index 379ca167f71f..3c9a1506faa3 100644 --- a/ee/tabby-webserver/ui/settings/team.txt +++ b/ee/tabby-webserver/ui/settings/team.txt @@ -1,18 +1,18 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["team",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] -7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -9:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -a:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"LicenseBanner","async":false} -d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"","async":false} -e:I{"id":65717,"chunks":["7430:static/chunks/7430-aefcadaca226d7da.js","4007:static/chunks/4007-80fb4e0338c67b28.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","4897:static/chunks/4897-bfe708af40454eef.js","7288:static/chunks/7288-15d369f9368f1cf5.js","7961:static/chunks/app/(dashboard)/settings/team/layout-feb51db2be01b3a1.js"],"name":"TeamNav","async":false} -10:I{"id":49016,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","8961:static/chunks/8961-b75e0084ee472a46.js","9148:static/chunks/9148-d15c15d92ad584c3.js","3707:static/chunks/3707-eda259e0cd61e823.js","389:static/chunks/389-64daa8639a705ae1.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3816:static/chunks/app/(dashboard)/settings/team/page-0ec3fe491b4296cd.js"],"name":"","async":false} -11:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["team",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] +7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +9:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +a:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"LicenseBanner","async":false} +d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"","async":false} +e:I{"id":65717,"chunks":["7430:static/chunks/7430-aefcadaca226d7da.js","4007:static/chunks/4007-80fb4e0338c67b28.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","4897:static/chunks/4897-bfe708af40454eef.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","7961:static/chunks/app/(dashboard)/settings/team/layout-de6fa2ff3c7ea574.js"],"name":"TeamNav","async":false} +10:I{"id":49016,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","8961:static/chunks/8961-b75e0084ee472a46.js","9148:static/chunks/9148-d15c15d92ad584c3.js","3707:static/chunks/3707-eda259e0cd61e823.js","389:static/chunks/389-64daa8639a705ae1.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3816:static/chunks/app/(dashboard)/settings/team/page-6779d2add41ab01b.js"],"name":"","async":false} +11:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Members"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] 5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L8",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":["$","$Lb",null,{}],"notFoundStyles":[],"childProp":{"current":[null,[["$","$Lc",null,{}],["$","$Ld",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[null,[["$","$Le",null,{}],["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","team","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$Lf",["$","$L10",null,{}],null],"segment":"__PAGE__"},"styles":[]}]],null],"segment":"team"},"styles":[]}],"segment":"settings"},"styles":[]}]}]],null],"segment":"(dashboard)"},"styles":[]}]}],["$","$L11",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] f:null diff --git a/ee/tabby-webserver/ui/settings/team/groups.html b/ee/tabby-webserver/ui/settings/team/groups.html index a5fab5c059a1..16a18b60a9fe 100644 --- a/ee/tabby-webserver/ui/settings/team/groups.html +++ b/ee/tabby-webserver/ui/settings/team/groups.html @@ -1 +1 @@ -Tabby - Groups \ No newline at end of file +Tabby - Groups \ No newline at end of file diff --git a/ee/tabby-webserver/ui/settings/team/groups.txt b/ee/tabby-webserver/ui/settings/team/groups.txt index e45d22cbb6cb..8df720f6de5b 100644 --- a/ee/tabby-webserver/ui/settings/team/groups.txt +++ b/ee/tabby-webserver/ui/settings/team/groups.txt @@ -1,18 +1,18 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["team",{"children":["groups",{"children":["__PAGE__",{}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] -7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -9:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -a:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"LicenseBanner","async":false} -d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"","async":false} -e:I{"id":65717,"chunks":["7430:static/chunks/7430-aefcadaca226d7da.js","4007:static/chunks/4007-80fb4e0338c67b28.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","4897:static/chunks/4897-bfe708af40454eef.js","7288:static/chunks/7288-15d369f9368f1cf5.js","7961:static/chunks/app/(dashboard)/settings/team/layout-feb51db2be01b3a1.js"],"name":"TeamNav","async":false} -10:I{"id":67220,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","8961:static/chunks/8961-b75e0084ee472a46.js","4546:static/chunks/4546-05756522a4929864.js","6805:static/chunks/6805-2c6ecd1c0672c08c.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","1889:static/chunks/1889-0e9adc6536876089.js","4595:static/chunks/4595-31f4c3bb94430a80.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","1760:static/chunks/app/(dashboard)/settings/team/groups/page-d7d6fa5cb02875e3.js"],"name":"","async":false} -11:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["team",{"children":["groups",{"children":["__PAGE__",{}]}]}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] +7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +9:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +a:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"LicenseBanner","async":false} +d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"","async":false} +e:I{"id":65717,"chunks":["7430:static/chunks/7430-aefcadaca226d7da.js","4007:static/chunks/4007-80fb4e0338c67b28.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","4897:static/chunks/4897-bfe708af40454eef.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","7961:static/chunks/app/(dashboard)/settings/team/layout-de6fa2ff3c7ea574.js"],"name":"TeamNav","async":false} +10:I{"id":67220,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","240:static/chunks/240-6e4dd6e33fcf5a86.js","2287:static/chunks/2287-d7d7ab15b06bd2b6.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","8961:static/chunks/8961-b75e0084ee472a46.js","6805:static/chunks/6805-2c6ecd1c0672c08c.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","1889:static/chunks/1889-87c8467fcccd59fb.js","7463:static/chunks/7463-0343a573d962ff49.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","1760:static/chunks/app/(dashboard)/settings/team/groups/page-9e968e5b8ce0eb09.js"],"name":"","async":false} +11:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - Groups"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] 5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L8",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":["$","$Lb",null,{}],"notFoundStyles":[],"childProp":{"current":[null,[["$","$Lc",null,{}],["$","$Ld",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[null,[["$","$Le",null,{}],["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","team","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","team","children","groups","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$Lf",["$","$L10",null,{}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"groups"},"styles":[]}]],null],"segment":"team"},"styles":[]}],"segment":"settings"},"styles":[]}]}]],null],"segment":"(dashboard)"},"styles":[]}]}],["$","$L11",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] f:null diff --git a/ee/tabby-webserver/ui/system.html b/ee/tabby-webserver/ui/system.html index c19f8ff79b0c..4fb561cc0dff 100644 --- a/ee/tabby-webserver/ui/system.html +++ b/ee/tabby-webserver/ui/system.html @@ -1 +1 @@ -Tabby - System \ No newline at end of file +Tabby - System \ No newline at end of file diff --git a/ee/tabby-webserver/ui/system.txt b/ee/tabby-webserver/ui/system.txt index 9837e937d026..3a94fa886801 100644 --- a/ee/tabby-webserver/ui/system.txt +++ b/ee/tabby-webserver/ui/system.txt @@ -1,17 +1,17 @@ 1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/_next/static/media/f75d6d02e2924b13-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -4:HL["/_next/static/css/3b34dd409fe6b154.css","style"] -0:["U7QcCh4DmZBfKmV8ndkx3",[[["",{"children":["(dashboard)",{"children":["system",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3b34dd409fe6b154.css","precedence":"next"}]],"$L6"]]]] -7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Providers","async":false} -8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"","async":false} -9:I{"id":32892,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -a:I{"id":95814,"chunks":["2272:static/chunks/webpack-78f0fb92ffb2b685.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} -b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9160:static/chunks/app/not-found-f0d7e4dd75c1006c.js"],"name":"","async":false} -c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"LicenseBanner","async":false} -d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","5669:static/chunks/5669-341ee8f5e964c9f2.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","4553:static/chunks/4553-fa293c4e48acfb94.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","5084:static/chunks/5084-5bc6cf9d974efc6c.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","9634:static/chunks/9634-a6aa7c7bbdac8c58.js","5642:static/chunks/app/(dashboard)/layout-daedd5a9f804dc2d.js"],"name":"","async":false} -f:I{"id":81551,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7070:static/chunks/7070-0361b26f2c124ca9.js","1288:static/chunks/1288-c52d1e1adacd7ec9.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","2666:static/chunks/app/(dashboard)/system/page-b4105f7e8ea684dd.js"],"name":"","async":false} -10:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-15d369f9368f1cf5.js","1565:static/chunks/1565-d48794dee7ddb131.js","3240:static/chunks/3240-c6d05ccd35c26d69.js","4656:static/chunks/4656-a8e1392ecf65ea7a.js","3185:static/chunks/app/layout-dea90d1aec9c3c2e.js"],"name":"Toaster","async":false} +4:HL["/_next/static/css/ed2f80c8da413f9f.css","style"] +0:["1msYVTEGRmllJkS-hg7FE",[[["",{"children":["(dashboard)",{"children":["system",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],"$L5",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ed2f80c8da413f9f.css","precedence":"next"}]],"$L6"]]]] +7:I{"id":35590,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Providers","async":false} +8:I{"id":32191,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"","async":false} +9:I{"id":32892,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +a:I{"id":95814,"chunks":["2272:static/chunks/webpack-bee28b28955a7639.js","3375:static/chunks/21c8b353-925bb40fc9c4670c.js","5289:static/chunks/5289-682125a3379532f6.js"],"name":"","async":false} +b:I{"id":69579,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","4546:static/chunks/4546-05756522a4929864.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","6624:static/chunks/6624-d0f9bbe6378b4836.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","9160:static/chunks/app/not-found-8a5a3b277081cfa6.js"],"name":"","async":false} +c:I{"id":90155,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"LicenseBanner","async":false} +d:I{"id":8377,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7565:static/chunks/3c5aa50f-7c9edcf799ec87f0.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","8511:static/chunks/8511-ad410fc9ccc47ec5.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","1002:static/chunks/1002-76b3e1057e71e39d.js","4546:static/chunks/4546-05756522a4929864.js","4553:static/chunks/4553-c01da5706224f2a4.js","9275:static/chunks/9275-6df9aca1b01ee03d.js","9148:static/chunks/9148-d15c15d92ad584c3.js","4405:static/chunks/4405-5eb1e3a650ddd34d.js","5083:static/chunks/5083-43183ae4d77f1278.js","6044:static/chunks/6044-bb8a4ad808e6c392.js","3817:static/chunks/3817-85a2be99c9309ba6.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","4656:static/chunks/4656-66c7782026bb7bef.js","9634:static/chunks/9634-00c09b9555eca79a.js","5642:static/chunks/app/(dashboard)/layout-ef4d7476fd5c8644.js"],"name":"","async":false} +f:I{"id":81551,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7070:static/chunks/7070-0361b26f2c124ca9.js","1288:static/chunks/1288-c52d1e1adacd7ec9.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","2666:static/chunks/app/(dashboard)/system/page-b6d923e357e74dc4.js"],"name":"","async":false} +10:I{"id":80629,"chunks":["8415:static/chunks/9e33a154-31f26770480dd557.js","7430:static/chunks/7430-aefcadaca226d7da.js","55:static/chunks/55-55623c01484a5724.js","7812:static/chunks/7812-bcdeaafb18d8dbd2.js","4007:static/chunks/4007-80fb4e0338c67b28.js","9643:static/chunks/9643-aef3246a3e5b088d.js","4752:static/chunks/4752-7e92efc1d0ee7d65.js","3449:static/chunks/3449-111e4c716f41e5a5.js","2578:static/chunks/2578-d9f0a320312c2f97.js","4421:static/chunks/4421-4f8bfde943c5a280.js","1454:static/chunks/1454-fd65c91d069bd7ed.js","7497:static/chunks/7497-fb7f4327b61d3f41.js","7288:static/chunks/7288-1a16fa8b7a9c5fe6.js","1565:static/chunks/1565-919e08a352f58c70.js","3240:static/chunks/3240-1cfeb7c523eca69e.js","4656:static/chunks/4656-66c7782026bb7bef.js","3185:static/chunks/app/layout-18b81c4b9293a734.js"],"name":"Toaster","async":false} 6:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby - System"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","6",{"rel":"icon","href":"/favicon.ico"}],["$","meta","7",{"name":"next-size-adjust"}]] 5:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"bg-transparent font-sans antialiased __variable_d65c78 __variable_3c557b __variable_f44606","children":["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","$L8",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":["$","$Lb",null,{}],"notFoundStyles":[],"childProp":{"current":[null,[["$","$Lc",null,{}],["$","$Ld",null,{"children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","system","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$Le",["$","$Lf",null,{}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"system"},"styles":[]}]}]],null],"segment":"(dashboard)"},"styles":[]}]}],["$","$L10",null,{"richColors":true,"closeButton":true}],null]}]}]]}],null] e:null