@omer-x/buttler 2.0.0-alpha.11 → 2.0.0-alpha.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/drizzle/20261126111122_silky_starhawk/migration.sql +20 -0
- package/drizzle/20261126111122_silky_starhawk/snapshot.json +868 -0
- package/package.json +3 -1
- package/ui/.next/BUILD_ID +1 -1
- package/ui/.next/build-manifest.json +3 -3
- package/ui/.next/prerender-manifest.json +12 -12
- package/ui/.next/server/app/[locale]/(auth)/install/page/server-reference-manifest.json +17 -17
- package/ui/.next/server/app/[locale]/(auth)/install/page.js +18 -17
- package/ui/.next/server/app/[locale]/(auth)/install/page.js.nft.json +1 -1
- package/ui/.next/server/app/[locale]/(auth)/install/page_client-reference-manifest.js +1 -1
- package/ui/.next/server/app/[locale]/(auth)/login/page.js +2 -2
- package/ui/.next/server/app/[locale]/(auth)/login/page.js.nft.json +1 -1
- package/ui/.next/server/app/[locale]/(auth)/login/page_client-reference-manifest.js +1 -1
- package/ui/.next/server/app/[locale]/(base)/page/server-reference-manifest.json +72 -2
- package/ui/.next/server/app/[locale]/(base)/page.js +16 -6
- package/ui/.next/server/app/[locale]/(base)/page.js.nft.json +1 -1
- package/ui/.next/server/app/[locale]/(base)/page_client-reference-manifest.js +1 -1
- package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page/server-reference-manifest.json +71 -31
- package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page.js +21 -19
- package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page.js.nft.json +1 -1
- package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page_client-reference-manifest.js +1 -1
- package/ui/.next/server/app/[locale]/(base)/services/[id]/links/page/server-reference-manifest.json +117 -57
- package/ui/.next/server/app/[locale]/(base)/services/[id]/links/page.js +24 -22
- package/ui/.next/server/app/[locale]/(base)/services/[id]/links/page.js.nft.json +1 -1
- package/ui/.next/server/app/[locale]/(base)/services/[id]/links/page_client-reference-manifest.js +1 -1
- package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page/server-reference-manifest.json +71 -31
- package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page.js +21 -19
- package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page.js.nft.json +1 -1
- package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page_client-reference-manifest.js +1 -1
- package/ui/.next/server/app/[locale]/(base)/services/[id]/page/server-reference-manifest.json +71 -31
- package/ui/.next/server/app/[locale]/(base)/services/[id]/page.js +21 -19
- package/ui/.next/server/app/[locale]/(base)/services/[id]/page.js.nft.json +1 -1
- package/ui/.next/server/app/[locale]/(base)/services/[id]/page_client-reference-manifest.js +1 -1
- package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page/server-reference-manifest.json +77 -37
- package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page.js +21 -19
- package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page.js.nft.json +1 -1
- package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page_client-reference-manifest.js +1 -1
- package/ui/.next/server/app/[locale]/(base)/services/new/page/server-reference-manifest.json +28 -28
- package/ui/.next/server/app/[locale]/(base)/services/new/page.js +14 -12
- package/ui/.next/server/app/[locale]/(base)/services/new/page.js.nft.json +1 -1
- package/ui/.next/server/app/[locale]/(base)/services/new/page_client-reference-manifest.js +1 -1
- package/ui/.next/server/app/[locale]/(base)/services/page/server-reference-manifest.json +44 -4
- package/ui/.next/server/app/[locale]/(base)/services/page.js +15 -14
- package/ui/.next/server/app/[locale]/(base)/services/page.js.nft.json +1 -1
- package/ui/.next/server/app/[locale]/(base)/services/page_client-reference-manifest.js +1 -1
- package/ui/.next/server/app/[locale]/(base)/settings/page/server-reference-manifest.json +20 -20
- package/ui/.next/server/app/[locale]/(base)/settings/page.js +13 -12
- package/ui/.next/server/app/[locale]/(base)/settings/page.js.nft.json +1 -1
- package/ui/.next/server/app/[locale]/(base)/settings/page_client-reference-manifest.js +1 -1
- package/ui/.next/server/app/[locale]/install.meta +2 -2
- package/ui/.next/server/app/[locale]/install.segments/$d$locale/!KGF1dGgp/install/__PAGE__.segment.rsc +4 -4
- package/ui/.next/server/app/[locale]/install.segments/_full.segment.rsc +6 -6
- package/ui/.next/server/app/[locale]/install.segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/[locale]/login.meta +2 -2
- package/ui/.next/server/app/[locale]/login.segments/$d$locale/!KGF1dGgp/login/__PAGE__.segment.rsc +3 -3
- package/ui/.next/server/app/[locale]/login.segments/_full.segment.rsc +4 -4
- package/ui/.next/server/app/[locale]/login.segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/[locale]/services/[id]/builds.meta +2 -2
- package/ui/.next/server/app/[locale]/services/[id]/builds.segments/$d$locale/!KGJhc2Up/services/$d$id/builds/__PAGE__.segment.rsc +5 -5
- package/ui/.next/server/app/[locale]/services/[id]/builds.segments/_full.segment.rsc +6 -6
- package/ui/.next/server/app/[locale]/services/[id]/builds.segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/[locale]/services/[id]/links.meta +2 -2
- package/ui/.next/server/app/[locale]/services/[id]/links.segments/$d$locale/!KGJhc2Up/services/$d$id/links/__PAGE__.segment.rsc +6 -6
- package/ui/.next/server/app/[locale]/services/[id]/links.segments/_full.segment.rsc +6 -6
- package/ui/.next/server/app/[locale]/services/[id]/links.segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/[locale]/services/[id]/logs.meta +2 -2
- package/ui/.next/server/app/[locale]/services/[id]/logs.segments/$d$locale/!KGJhc2Up/services/$d$id/logs/__PAGE__.segment.rsc +5 -5
- package/ui/.next/server/app/[locale]/services/[id]/logs.segments/_full.segment.rsc +6 -6
- package/ui/.next/server/app/[locale]/services/[id]/logs.segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/[locale]/services/[id]/settings.meta +2 -2
- package/ui/.next/server/app/[locale]/services/[id]/settings.segments/$d$locale/!KGJhc2Up/services/$d$id/settings/__PAGE__.segment.rsc +5 -5
- package/ui/.next/server/app/[locale]/services/[id]/settings.segments/_full.segment.rsc +5 -5
- package/ui/.next/server/app/[locale]/services/[id]/settings.segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/[locale]/services/[id].meta +2 -2
- package/ui/.next/server/app/[locale]/services/[id].segments/$d$locale/!KGJhc2Up/services/$d$id/__PAGE__.segment.rsc +5 -5
- package/ui/.next/server/app/[locale]/services/[id].segments/_full.segment.rsc +6 -6
- package/ui/.next/server/app/[locale]/services/[id].segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/[locale]/services/new.meta +2 -2
- package/ui/.next/server/app/[locale]/services/new.segments/$d$locale/!KGJhc2Up/services/new/__PAGE__.segment.rsc +5 -5
- package/ui/.next/server/app/[locale]/services/new.segments/_full.segment.rsc +6 -6
- package/ui/.next/server/app/[locale]/services/new.segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/[locale]/services.meta +2 -2
- package/ui/.next/server/app/[locale]/services.segments/$d$locale/!KGJhc2Up/services/__PAGE__.segment.rsc +5 -5
- package/ui/.next/server/app/[locale]/services.segments/_full.segment.rsc +6 -6
- package/ui/.next/server/app/[locale]/services.segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/[locale]/settings.meta +2 -2
- package/ui/.next/server/app/[locale]/settings.segments/$d$locale/!KGJhc2Up/settings/__PAGE__.segment.rsc +5 -5
- package/ui/.next/server/app/[locale]/settings.segments/_full.segment.rsc +5 -5
- package/ui/.next/server/app/[locale]/settings.segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/[locale].meta +2 -2
- package/ui/.next/server/app/[locale].segments/$d$locale/!KGJhc2Up/__PAGE__.segment.rsc +8 -8
- package/ui/.next/server/app/[locale].segments/_full.segment.rsc +8 -8
- package/ui/.next/server/app/[locale].segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/_global-error.html +1 -1
- package/ui/.next/server/app/_global-error.rsc +1 -1
- package/ui/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/ui/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/ui/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/ui/.next/server/app/_not-found.html +1 -1
- package/ui/.next/server/app/_not-found.rsc +1 -1
- package/ui/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/ui/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/ui/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/ui/.next/server/app/api/services/[id]/logs/stream/route/server-reference-manifest.json +43 -3
- package/ui/.next/server/app/api/services/[id]/logs/stream/route.js +11 -9
- package/ui/.next/server/app/api/services/[id]/logs/stream/route.js.nft.json +1 -1
- package/ui/.next/server/app/api/sources/dockerhub/tags/route.js +1 -1
- package/ui/.next/server/app/api/sources/dockerhub/tags/route.js.nft.json +1 -1
- package/ui/.next/server/app/api/sources/github/branches/route.js +1 -1
- package/ui/.next/server/app/api/sources/github/branches/route.js.nft.json +1 -1
- package/ui/.next/server/app/api/sources/github/repos/route.js +1 -1
- package/ui/.next/server/app/api/sources/github/repos/route.js.nft.json +1 -1
- package/ui/.next/server/app/auth/cloudflare/route.js +11 -11
- package/ui/.next/server/app/auth/cloudflare/route.js.nft.json +1 -1
- package/ui/.next/server/app/auth/github/route.js +1 -1
- package/ui/.next/server/app/auth/github/route.js.nft.json +1 -1
- package/ui/.next/server/app/auth/github-install/route.js +1 -1
- package/ui/.next/server/app/auth/github-install/route.js.nft.json +1 -1
- package/ui/.next/server/app/auth/instance/route.js +1 -1
- package/ui/.next/server/app/auth/instance/route.js.nft.json +1 -1
- package/ui/.next/server/app/auth/setup/route.js +1 -1
- package/ui/.next/server/app/auth/setup/route.js.nft.json +1 -1
- package/ui/.next/server/app/en/install.html +1 -1
- package/ui/.next/server/app/en/install.meta +1 -1
- package/ui/.next/server/app/en/install.segments/$d$locale/!KGF1dGgp/install/__PAGE__.segment.rsc +2 -2
- package/ui/.next/server/app/en/install.segments/$d$locale.segment.rsc +3 -3
- package/ui/.next/server/app/en/install.segments/_full.segment.rsc +5 -5
- package/ui/.next/server/app/en/install.segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/en/login.html +1 -1
- package/ui/.next/server/app/en/login.meta +1 -1
- package/ui/.next/server/app/en/login.segments/$d$locale/!KGF1dGgp/login/__PAGE__.segment.rsc +1 -1
- package/ui/.next/server/app/en/login.segments/$d$locale.segment.rsc +3 -3
- package/ui/.next/server/app/en/login.segments/_full.segment.rsc +4 -4
- package/ui/.next/server/app/en/login.segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/en/services/[id]/builds.html +1 -1
- package/ui/.next/server/app/en/services/[id]/builds.meta +1 -1
- package/ui/.next/server/app/en/services/[id]/builds.segments/$d$locale/!KGJhc2Up/services/$d$id/builds/__PAGE__.segment.rsc +6 -6
- package/ui/.next/server/app/en/services/[id]/builds.segments/$d$locale/!KGJhc2Up.segment.rsc +7 -7
- package/ui/.next/server/app/en/services/[id]/builds.segments/$d$locale.segment.rsc +4 -4
- package/ui/.next/server/app/en/services/[id]/builds.segments/_full.segment.rsc +12 -12
- package/ui/.next/server/app/en/services/[id]/builds.segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/en/services/[id]/links.html +1 -1
- package/ui/.next/server/app/en/services/[id]/links.meta +1 -1
- package/ui/.next/server/app/en/services/[id]/links.segments/$d$locale/!KGJhc2Up/services/$d$id/links/__PAGE__.segment.rsc +8 -8
- package/ui/.next/server/app/en/services/[id]/links.segments/$d$locale/!KGJhc2Up.segment.rsc +8 -8
- package/ui/.next/server/app/en/services/[id]/links.segments/$d$locale.segment.rsc +4 -4
- package/ui/.next/server/app/en/services/[id]/links.segments/_full.segment.rsc +14 -14
- package/ui/.next/server/app/en/services/[id]/links.segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/en/services/[id]/logs.html +1 -1
- package/ui/.next/server/app/en/services/[id]/logs.meta +1 -1
- package/ui/.next/server/app/en/services/[id]/logs.segments/$d$locale/!KGJhc2Up/services/$d$id/logs/__PAGE__.segment.rsc +6 -6
- package/ui/.next/server/app/en/services/[id]/logs.segments/$d$locale/!KGJhc2Up.segment.rsc +7 -7
- package/ui/.next/server/app/en/services/[id]/logs.segments/$d$locale.segment.rsc +4 -4
- package/ui/.next/server/app/en/services/[id]/logs.segments/_full.segment.rsc +12 -12
- package/ui/.next/server/app/en/services/[id]/logs.segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/en/services/[id]/settings.html +1 -1
- package/ui/.next/server/app/en/services/[id]/settings.meta +1 -1
- package/ui/.next/server/app/en/services/[id]/settings.segments/$d$locale/!KGJhc2Up/services/$d$id/settings/__PAGE__.segment.rsc +6 -6
- package/ui/.next/server/app/en/services/[id]/settings.segments/$d$locale/!KGJhc2Up.segment.rsc +7 -7
- package/ui/.next/server/app/en/services/[id]/settings.segments/$d$locale.segment.rsc +4 -4
- package/ui/.next/server/app/en/services/[id]/settings.segments/_full.segment.rsc +12 -12
- package/ui/.next/server/app/en/services/[id]/settings.segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/en/services/[id].html +1 -1
- package/ui/.next/server/app/en/services/[id].meta +1 -1
- package/ui/.next/server/app/en/services/[id].segments/$d$locale/!KGJhc2Up/services/$d$id/__PAGE__.segment.rsc +6 -6
- package/ui/.next/server/app/en/services/[id].segments/$d$locale/!KGJhc2Up.segment.rsc +7 -7
- package/ui/.next/server/app/en/services/[id].segments/$d$locale.segment.rsc +4 -4
- package/ui/.next/server/app/en/services/[id].segments/_full.segment.rsc +12 -12
- package/ui/.next/server/app/en/services/[id].segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/en/services/new.html +1 -1
- package/ui/.next/server/app/en/services/new.meta +1 -1
- package/ui/.next/server/app/en/services/new.segments/$d$locale/!KGJhc2Up/services/new/__PAGE__.segment.rsc +5 -5
- package/ui/.next/server/app/en/services/new.segments/$d$locale/!KGJhc2Up.segment.rsc +5 -5
- package/ui/.next/server/app/en/services/new.segments/$d$locale.segment.rsc +3 -3
- package/ui/.next/server/app/en/services/new.segments/_full.segment.rsc +11 -11
- package/ui/.next/server/app/en/services/new.segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/en/services.html +1 -1
- package/ui/.next/server/app/en/services.meta +1 -1
- package/ui/.next/server/app/en/services.segments/$d$locale/!KGJhc2Up/services/__PAGE__.segment.rsc +2 -2
- package/ui/.next/server/app/en/services.segments/$d$locale/!KGJhc2Up.segment.rsc +3 -3
- package/ui/.next/server/app/en/services.segments/$d$locale.segment.rsc +3 -3
- package/ui/.next/server/app/en/services.segments/_full.segment.rsc +7 -7
- package/ui/.next/server/app/en/services.segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/en/settings.html +1 -1
- package/ui/.next/server/app/en/settings.meta +1 -1
- package/ui/.next/server/app/en/settings.segments/$d$locale/!KGJhc2Up/settings/__PAGE__.segment.rsc +2 -2
- package/ui/.next/server/app/en/settings.segments/$d$locale/!KGJhc2Up.segment.rsc +5 -5
- package/ui/.next/server/app/en/settings.segments/$d$locale.segment.rsc +3 -3
- package/ui/.next/server/app/en/settings.segments/_full.segment.rsc +10 -10
- package/ui/.next/server/app/en/settings.segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/en.html +1 -1
- package/ui/.next/server/app/en.meta +1 -1
- package/ui/.next/server/app/en.segments/$d$locale/!KGJhc2Up/__PAGE__.segment.rsc +2 -2
- package/ui/.next/server/app/en.segments/$d$locale/!KGJhc2Up.segment.rsc +21 -20
- package/ui/.next/server/app/en.segments/$d$locale.segment.rsc +3 -3
- package/ui/.next/server/app/en.segments/_full.segment.rsc +14 -14
- package/ui/.next/server/app/en.segments/_tree.segment.rsc +2 -2
- package/ui/.next/server/app/webhooks/github/route.js +11 -10
- package/ui/.next/server/app/webhooks/github/route.js.nft.json +1 -1
- package/ui/.next/server/chunks/[externals]_node_util_1l9f7p0seb412._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__0kdxf9igxdiz_._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__1gbt-fsno6iuj._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__1gub2pr-0jhrc._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__1k0-jj97l-jwv._.js +3 -0
- package/ui/.next/server/chunks/{[root-of-the-server]__0gh0uoxmttq-k._.js → [root-of-the-server]__1osdb7qotih20._.js} +1 -1
- package/ui/.next/server/chunks/{[root-of-the-server]__0axr0p9f9qjo3._.js → [root-of-the-server]__1rjpafn22pgbi._.js} +2 -2
- package/ui/.next/server/chunks/[root-of-the-server]__1w3vh-httwncf._.js +9 -9
- package/ui/.next/server/chunks/{[root-of-the-server]__0hgon_k2l_1kv._.js → [root-of-the-server]__1z14yq28n8svk._.js} +2 -2
- package/ui/.next/server/chunks/_0-08w0j6upuro._.js +5 -5
- package/ui/.next/server/chunks/_07bkzwu90t1m3._.js +3 -0
- package/ui/.next/server/chunks/_1ddptkvp76c-m._.js +5 -5
- package/ui/.next/server/chunks/_1nlr92m-cxatd._.js +1 -1
- package/ui/.next/server/chunks/_1ux2nt1zdyn0-._.js +5 -5
- package/ui/.next/server/chunks/node_modules_zod_v4_classic_external_1-ztpnfqj06yn.js +57 -0
- package/ui/.next/server/chunks/src_0o62sbxgy6bsy._.js +1 -1
- package/ui/.next/server/chunks/src_1wc3qafci1k3-._.js +1 -1
- package/ui/.next/server/chunks/src_1z80lrk153ij8._.js +1 -1
- package/ui/.next/server/chunks/src_core_0p--nc9a237bh._.js +3 -0
- package/ui/.next/server/chunks/src_core_0smdt0vapdn87._.js +3 -0
- package/ui/.next/server/chunks/src_core_14ewzjq1s3i9u._.js +3 -0
- package/ui/.next/server/chunks/src_core_1zk9qubn0lh0k._.js +3 -0
- package/ui/.next/server/chunks/src_core_cloudflare_tunnel_ts_089fv-f8qrsgc._.js +1 -1
- package/ui/.next/server/chunks/src_core_docker_ingress_ts_0k5y-exk0jujc._.js +1 -1
- package/ui/.next/server/chunks/src_core_nginx_ts_1bg68o99-jq87._.js +4 -4
- package/ui/.next/server/chunks/src_core_nginx_ts_1rvs3_6875ras._.js +4 -4
- package/ui/.next/server/chunks/{src_core_settings_ts_03r6mrmvaf3z9._.js → src_core_settings_ts_1ez8uge8n99xt._.js} +1 -1
- package/ui/.next/server/chunks/{src_core_settings_ts_06epzja3innn1._.js → src_core_settings_ts_1qb3t6_en2sxy._.js} +1 -1
- package/ui/.next/server/chunks/src_database_index_ts_1vzqbmlp-k92u._.js +5 -5
- package/ui/.next/server/chunks/src_operations_0gtmu6wk3ptqr._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__0_t9eetve-upz._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__0ar7m38kk_52p._.js +3 -0
- package/ui/.next/server/chunks/ssr/{[root-of-the-server]__0cws_i6hecx8i._.js → [root-of-the-server]__0drv11-4w87e2._.js} +2 -2
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__0szkj2rz9gc4p._.js +3 -0
- package/ui/.next/server/chunks/ssr/{[root-of-the-server]__0tnvefuofuctm._.js → [root-of-the-server]__0xfcoz21x009a._.js} +1 -1
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__13wwqyskje2pf._.js +3 -0
- package/ui/.next/server/chunks/ssr/{[root-of-the-server]__213i1nlxvmwk9._.js → [root-of-the-server]__14cindwks2ngq._.js} +2 -2
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__191kc90-j0_jt._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1f7gqom-c4pb-._.js +4 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1ofmltz04cbjw._.js +4 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1p7kc1g9qhyox._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1po6dg9-61ces._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1s-mrqde88fuf._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1stgjqca236p0._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1xhs3b7ujo053._.js +3 -0
- package/ui/.next/server/chunks/ssr/{[root-of-the-server]__0lrw_bd_v-wq9._.js → [root-of-the-server]__1zk2u27f_4u90._.js} +1 -1
- package/ui/.next/server/chunks/ssr/{_1gxrg8g_1z61n._.js → _0-wf8z64gix8r._.js} +2 -2
- package/ui/.next/server/chunks/ssr/_01e3rinj2_l0i._.js +3 -0
- package/ui/.next/server/chunks/ssr/_02ryxn4m6hzdc._.js +3 -0
- package/ui/.next/server/chunks/ssr/_03mjbc5iu4-0t._.js +1 -1
- package/ui/.next/server/chunks/ssr/_045ukfxgkrnjs._.js +1 -1
- package/ui/.next/server/chunks/ssr/_0d9pkjivaskup._.js +3 -0
- package/ui/.next/server/chunks/ssr/_0mbw-qlug1nga._.js +3 -0
- package/ui/.next/server/chunks/ssr/{node_modules_@omer-x_tailwind-ui-kit_dist_components_form_index_1scnp-x6u_00i.js → _0nnq48ip-8ji-._.js} +2 -2
- package/ui/.next/server/chunks/ssr/_0pzz4guyxinji._.js +3 -0
- package/ui/.next/server/chunks/ssr/_0q_ty5-s_ojhi._.js +1 -1
- package/ui/.next/server/chunks/ssr/_0sid4-3pb734p._.js +1 -1
- package/ui/.next/server/chunks/ssr/{_0nm-73v3d_j3o._.js → _0uoudo7rk09-z._.js} +2 -2
- package/ui/.next/server/chunks/ssr/_0zdce9fv-8b8t._.js +16 -0
- package/ui/.next/server/chunks/ssr/_11wtwluve5yly._.js +16 -0
- package/ui/.next/server/chunks/ssr/_14pr8k-21_dud._.js +7 -7
- package/ui/.next/server/chunks/ssr/_15kyk81ereeyo._.js +3 -0
- package/ui/.next/server/chunks/ssr/_1975r9mjak44f._.js +1 -1
- package/ui/.next/server/chunks/ssr/{_0elrzkszc9mou._.js → _19w_0onn2cdmy._.js} +2 -2
- package/ui/.next/server/chunks/ssr/_1bjf_7jgwpf2s._.js +3 -0
- package/ui/.next/server/chunks/ssr/_1c9ja4120f5e7._.js +1 -1
- package/ui/.next/server/chunks/ssr/_1ejoo52e92zfh._.js +4 -0
- package/ui/.next/server/chunks/ssr/_1hg3jdepqyntc._.js +3 -0
- package/ui/.next/server/chunks/ssr/{_1t7wd5lbghpsq._.js → _1j5g-1pklmyv3._.js} +2 -2
- package/ui/.next/server/chunks/ssr/_1jvwyvy2mdunl._.js +1 -1
- package/ui/.next/server/chunks/ssr/_1rtp67myolpxl._.js +3 -0
- package/ui/.next/server/chunks/ssr/{_1l9hlfxdk4800._.js → _1u8kexnz9q33-._.js} +2 -2
- package/ui/.next/server/chunks/ssr/{_1v-gh-ppdzk54._.js → _1xae8y1jdr-yt._.js} +2 -2
- package/ui/.next/server/chunks/ssr/_next-internal_server_app_[locale]_(auth)_install_page_actions_0q608mh34etxn.js +1 -1
- package/ui/.next/server/chunks/ssr/dictionaries_en_json_[json]_cjs_1pkm_n6uii6ve._.js +1 -1
- package/ui/.next/server/chunks/ssr/node_modules_@fortawesome_1b8xftrps6-_7._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_zod_v4_classic_external_1ndpkx9dx8w6x.js +60 -0
- package/ui/.next/server/chunks/ssr/src_011-o6ndequ7v._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_05sh4p2uehbos._.js +1 -1
- package/ui/.next/server/chunks/ssr/src_0an88nxn4x76f._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_0bb9793pg0rye._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_1iyfq6dudriyk._.js +1 -1
- package/ui/.next/server/chunks/ssr/src_1spp4h7q0g3hj._.js +1 -1
- package/ui/.next/server/chunks/ssr/src_actions_cloudflare_ts_0fwbybngp80nf._.js +1 -1
- package/ui/.next/server/chunks/ssr/src_actions_link_ts_13hqd7ogc36j3._.js +1 -1
- package/ui/.next/server/chunks/ssr/src_actions_service_ts_0leald8wxwln3._.js +1 -1
- package/ui/.next/server/chunks/ssr/src_actions_setup_ts_1j3o9o1z2x8l-._.js +1 -1
- package/ui/.next/server/chunks/ssr/src_actions_user_ts_15o74nrxk2-dn._.js +1 -1
- package/ui/.next/server/chunks/ssr/src_app_[locale]_(base)_services_[id]_page_tsx_0hd62fq604aua._.js +1 -1
- package/ui/.next/server/chunks/ssr/src_components_0dw7q_n_p1894._.js +1 -1
- package/ui/.next/server/chunks/ssr/src_components_home_ServiceGraph_tsx_0558vajg-8d4p._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_components_services_0o2ktko188779._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_core_0ygdjnz173o86._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_core_build_ts_137f9fwr3qgv8._.js +1 -1
- package/ui/.next/server/chunks/ssr/src_core_docker_ingress_ts_0v7q2dx4d_gfp._.js +1 -1
- package/ui/.next/server/chunks/ssr/src_core_nginx_ts_0mm1uzfna8wth._.js +59 -0
- package/ui/.next/server/middleware-build-manifest.js +3 -3
- package/ui/.next/server/pages/404.html +1 -1
- package/ui/.next/server/pages/500.html +1 -1
- package/ui/.next/server/preview-props.json +3 -3
- package/ui/.next/server/server-reference-manifest.js +1 -1
- package/ui/.next/server/server-reference-manifest.json +264 -80
- package/ui/.next/static/chunks/{0pmjaba_0rn_q.js → 00xismlj7p6qe.js} +1 -1
- package/ui/.next/static/chunks/{1hltxf3jfbf02.js → 08m3mlwdpjhqa.js} +1 -1
- package/ui/.next/static/chunks/0htsyc2_pv8pv.js +1 -0
- package/ui/.next/static/chunks/{0r6re9w59ezlu.js → 1n7hyxug-qmmf.js} +1 -1
- package/ui/.next/static/chunks/2q2scbq1qaa4s.js +1 -0
- package/ui/.next/static/chunks/2qkq9emwyxsvl.css +1 -0
- package/ui/.next/static/chunks/{3xkvxef3j7yvp.js → 2waox0exqlikj.js} +1 -1
- package/ui/.next/static/chunks/3htgsexlb92yb.js +1 -0
- package/ui/.next/static/chunks/{2-f5vue3n9x5a.js → 3q_nh670r4jc-.js} +1 -1
- package/ui/.next/static/chunks/{0lhpeq9mgbyjs.js → 3w1gjlvo31t29.js} +1 -1
- package/ui/.next/static/chunks/40_ph2cay5-4w.js +1 -0
- package/ui/drizzle/20261126111122_silky_starhawk/migration.sql +20 -0
- package/ui/drizzle/20261126111122_silky_starhawk/snapshot.json +868 -0
- package/ui/package.json +2 -0
- package/ui/src/core/docker/status.ts +6 -1
- package/ui/src/core/recreate.ts +43 -0
- package/ui/src/core/service-graph.test.ts +37 -0
- package/ui/src/core/service-graph.ts +90 -0
- package/ui/src/core/shared-variables.test.ts +83 -0
- package/ui/src/core/shared-variables.ts +80 -0
- package/ui/.next/server/chunks/[root-of-the-server]__0emx9mcq5bpjq._.js +0 -3
- package/ui/.next/server/chunks/[root-of-the-server]__0qe_mikj7agcq._.js +0 -3
- package/ui/.next/server/chunks/[root-of-the-server]__1007u-potejqr._.js +0 -3
- package/ui/.next/server/chunks/[root-of-the-server]__1ukr105klaen2._.js +0 -3
- package/ui/.next/server/chunks/_0etmci43pbufz._.js +0 -57
- package/ui/.next/server/chunks/_0nlsx2mvtyhai._.js +0 -3
- package/ui/.next/server/chunks/_0xa0_ovy64zj7._.js +0 -57
- package/ui/.next/server/chunks/_1s6yh1-j0stln._.js +0 -57
- package/ui/.next/server/chunks/_1xyz4i2jb2-s2._.js +0 -3
- package/ui/.next/server/chunks/src_1jcil3p45z5jf._.js +0 -3
- package/ui/.next/server/chunks/src_core_01hbgvb0ullx2._.js +0 -3
- package/ui/.next/server/chunks/src_core_storage_ts_1tmiqzjak_i1r._.js +0 -3
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__034qjpl9j-0ci._.js +0 -3
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__09xlfu5wytwkq._.js +0 -3
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__0rkkxjp0vxzob._.js +0 -3
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__11f8nw5rjx5xy._.js +0 -3
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__19k3qfyr4zw2t._.js +0 -4
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1_2uw8tv9c80k._.js +0 -4
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1el9cow-18yf7._.js +0 -3
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1f2-_zy1hslsn._.js +0 -4
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1nipqwqlhzrez._.js +0 -4
- package/ui/.next/server/chunks/ssr/_0257bgoti-zpl._.js +0 -3
- package/ui/.next/server/chunks/ssr/_043r3p4uyglt8._.js +0 -3
- package/ui/.next/server/chunks/ssr/_0_qywkd_6kzqc._.js +0 -16
- package/ui/.next/server/chunks/ssr/_0bw_5lgeb32vn._.js +0 -16
- package/ui/.next/server/chunks/ssr/_0gm20eaq31snn._.js +0 -3
- package/ui/.next/server/chunks/ssr/_0gthv16q_rqwx._.js +0 -3
- package/ui/.next/server/chunks/ssr/_11zzjiiyv_16p._.js +0 -3
- package/ui/.next/server/chunks/ssr/_12gl1cg0-6m84._.js +0 -3
- package/ui/.next/server/chunks/ssr/_18ge21re3r-uk._.js +0 -3
- package/ui/.next/server/chunks/ssr/_1cwumh2lem642._.js +0 -4
- package/ui/.next/server/chunks/ssr/_1g8x3co_2gk2e._.js +0 -3
- package/ui/.next/server/chunks/ssr/_1s61535w_i_lb._.js +0 -3
- package/ui/.next/server/chunks/ssr/_1vznrs2oqv125._.js +0 -3
- package/ui/.next/server/chunks/ssr/node_modules_@fortawesome_react-fontawesome_dist_index_0w8d9rk-bs6d1.js +0 -3
- package/ui/.next/server/chunks/ssr/node_modules_zod_v4_classic_external_0_adu4p2yg38n.js +0 -57
- package/ui/.next/server/chunks/ssr/node_modules_zod_v4_classic_external_0b6jkffik0qe3.js +0 -57
- package/ui/.next/server/chunks/ssr/src_0bnikiwqnj5ci._.js +0 -59
- package/ui/.next/server/chunks/ssr/src_0unk8-b7ur6o4._.js +0 -59
- package/ui/.next/server/chunks/ssr/src_1m2fl_nqj5nqs._.js +0 -3
- package/ui/.next/server/chunks/ssr/src_components_services_1xqd2ez36okp0._.js +0 -3
- package/ui/.next/server/chunks/ssr/src_core_02f6f7rscof07._.js +0 -3
- package/ui/.next/server/chunks/ssr/src_core_docker_1o4aldsy3-3_s._.js +0 -3
- package/ui/.next/static/chunks/239xg4smw97sy.js +0 -1
- package/ui/.next/static/chunks/2ev4g9-mfre-4.js +0 -1
- package/ui/.next/static/chunks/2y6dkbb_cpkcg.css +0 -1
- package/ui/.next/static/chunks/3pmo4svmlsjie.js +0 -1
- /package/ui/.next/static/{fvieogK7wa0plojcPyhrz → 8SAKCW91y6PAVRgcqTx-O}/_buildManifest.js +0 -0
- /package/ui/.next/static/{fvieogK7wa0plojcPyhrz → 8SAKCW91y6PAVRgcqTx-O}/_clientMiddlewareManifest.js +0 -0
- /package/ui/.next/static/{fvieogK7wa0plojcPyhrz → 8SAKCW91y6PAVRgcqTx-O}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[9899,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d="arrow-right",e=[8594],f="f061",g="M502.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l370.7 0-105.4 105.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z";c.definition={prefix:"fas",iconName:d,icon:[512,512,e,f,g]},c.faArrowRight=c.definition,c.prefix="fas",c.iconName=d,c.width=512,c.height=512,c.ligatures=e,c.unicode=f,c.svgPathData=g,c.aliases=e},15256,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d="network-wired",e=[],f="f6ff",g="M248 88l80 0 0 48-80 0 0-48zm-8-56c-26.5 0-48 21.5-48 48l0 64c0 26.5 21.5 48 48 48l16 0 0 32-224 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0 0 32-16 0c-26.5 0-48 21.5-48 48l0 64c0 26.5 21.5 48 48 48l96 0c26.5 0 48-21.5 48-48l0-64c0-26.5-21.5-48-48-48l-16 0 0-32 192 0 0 32-16 0c-26.5 0-48 21.5-48 48l0 64c0 26.5 21.5 48 48 48l96 0c26.5 0 48-21.5 48-48l0-64c0-26.5-21.5-48-48-48l-16 0 0-32 96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-224 0 0-32 16 0c26.5 0 48-21.5 48-48l0-64c0-26.5-21.5-48-48-48l-96 0zM448 376l8 0 0 48-80 0 0-48 72 0zm-256 0l8 0 0 48-80 0 0-48 72 0z";c.definition={prefix:"fas",iconName:d,icon:[576,512,e,f,g]},c.faNetworkWired=c.definition,c.prefix="fas",c.iconName=d,c.width=576,c.height=512,c.ligatures=e,c.unicode=f,c.svgPathData=g,c.aliases=e},48123,a=>{"use strict";var b=a.i(7997),c=a.i(717),d=a.i(58077),e=a.i(43405),f=a.i(32776),g=a.i(37233),h=a.i(9899),i=a.i(15256),j=a.i(62791),k=a.i(12141),l=a.i(67228),m=a.i(56875),n=a.i(29480),o=a.i(28506),p=a.i(35330),q=a.i(21684);let r=({service:a,labels:c})=>{let d,e=(d=function(a){var b=(0,l.f)();try{return(0,m.f)(b)}catch(b){throw b instanceof TypeError&&b.message.includes("Cannot read properties of null (reading 'use')")?Error(`\`${a}\` is not callable within an async component. Please refer to https://next-intl.dev/docs/environments/server-client-components#async-components`,{cause:b}):b}}("useFormatter"),(0,k.f)(d)),f=a.repository?`${a.repository}${a.branch?`:${a.branch}`:""}`:c.notAvailable,g=a.ports.length>0?a.ports.map(a=>`${a.external}:${a.internal}`).join(", "):c.none,r=a.runtime.ipAddresses.length>0?a.runtime.ipAddresses.join(", "):null,s=a.runtime.uptime??c.notAvailable,{deployedImage:t}=a,u=t?.commit?.slice(0,7)??c.notAvailable,v=[t?.commit,...t?.tags??[]].filter(Boolean).join("\n"),w=t?e.dateTime(new Date(t.builtAt),{dateStyle:"medium",timeStyle:"short"}):c.notAvailable;return(0,b.jsxs)(p.f,{className:"flex flex-col justify-between gap-5 p-6 transition-all hover:border-slate-700",children:[(0,b.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,b.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,b.jsxs)("div",{className:"flex flex-col gap-1 min-w-0",children:[(0,b.jsx)(q.L,{href:{pathname:"/services/[id]",params:{id:a.id}},className:"truncate text-base font-semibold text-slate-100 hover:text-white",children:a.name}),(0,b.jsx)("div",{className:"flex items-center gap-2",children:(0,b.jsx)(n.f,{type:a.type,label:c.types[a.type]})})]}),(0,b.jsx)(o.f,{status:a.runtime.status,label:c.status[a.runtime.status]})]}),(0,b.jsxs)("div",{className:"grid grid-cols-2 gap-3 rounded-xl border border-slate-800/80 bg-slate-950/40 p-3.5 text-xs",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("span",{className:"block font-medium text-slate-500",children:c.source}),(0,b.jsx)("span",{className:"mt-0.5 block truncate font-mono text-slate-300",title:f,children:f})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("span",{className:"block font-medium text-slate-500",children:c.ports}),(0,b.jsx)("span",{className:"mt-0.5 block truncate font-mono text-slate-300",children:g})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("span",{className:"block font-medium text-slate-500",children:c.uptime}),(0,b.jsx)("span",{className:"mt-0.5 block truncate text-slate-300",children:s})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("span",{className:"block font-medium text-slate-500",children:c.ipAddress}),(0,b.jsx)("span",{className:"mt-0.5 flex items-center gap-1 font-mono text-slate-300",children:r?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(j.f,{icon:i.faNetworkWired,className:"size-2.5 text-slate-500"}),(0,b.jsx)("span",{className:"truncate",children:r})]}):(0,b.jsx)("span",{className:"text-slate-500",children:c.notAvailable})})]}),"github"===a.type&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("span",{className:"block font-medium text-slate-500",children:c.deployedBuild}),(0,b.jsx)("span",{className:"mt-0.5 block truncate font-mono text-slate-300",title:v||void 0,children:u})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("span",{className:"block font-medium text-slate-500",children:c.builtAt}),(0,b.jsx)("span",{className:"mt-0.5 block truncate text-slate-300",children:w})]})]})]})]}),(0,b.jsx)("div",{className:"flex justify-end border-t border-slate-800/80 pt-3",children:(0,b.jsxs)(q.L,{href:{pathname:"/services/[id]",params:{id:a.id}},className:"inline-flex items-center gap-1 text-xs font-medium text-slate-400 transition-colors hover:text-slate-100",children:[(0,b.jsx)("span",{children:c.details}),(0,b.jsx)(j.f,{icon:h.faArrowRight,className:"size-2.5"})]})})]})};var s=a.i(56298),t=a.i(25882);let u=async()=>{await (0,e.connection)();let[a,c]=await Promise.all([(0,t.F)(),(0,f.f)("DashboardPage")]),d={source:c("service.source"),ports:c("service.ports"),ipAddress:c("service.ipAddress"),uptime:c("service.uptime"),deployedBuild:c("service.deployedBuild"),builtAt:c("service.builtAt"),none:c("service.none"),notAvailable:c("service.notAvailable"),details:c("service.actions.details"),status:{running:c("service.status.running"),stopped:c("service.status.stopped"),exited:c("service.status.exited"),building:c("service.status.building"),pulling:c("service.status.pulling"),restarting:c("service.status.restarting")},types:{github:c("service.types.github"),dockerhub:c("service.types.dockerhub"),system:c("service.types.system")}};if(0===a.length)return(0,b.jsx)("div",{className:"mt-8",children:(0,b.jsx)(g.f,{title:c("emptyState.title"),description:c("emptyState.description"),actionLabel:c("emptyState.action")})});let h=a.some(a=>"pulling"===a.runtime.status||"building"===a.runtime.status||"restarting"===a.runtime.status);return(0,b.jsxs)(b.Fragment,{children:[h&&(0,b.jsx)(s.default,{}),(0,b.jsx)("div",{className:"mt-6 grid grid-cols-1 gap-4 md:grid-cols-2 xl:grid-cols-3",children:a.map(a=>(0,b.jsx)(r,{service:a,labels:d},a.id))})]})},v=()=>(0,b.jsx)("div",{className:"mt-6 grid grid-cols-1 gap-4 md:grid-cols-2 xl:grid-cols-3",children:[1,2,3].map(a=>(0,b.jsxs)(p.f,{className:"flex flex-col gap-4 p-6 animate-pulse",children:[(0,b.jsxs)("div",{className:"flex items-center justify-between",children:[(0,b.jsx)("div",{className:"h-5 w-32 rounded bg-slate-800"}),(0,b.jsx)("div",{className:"h-5 w-16 rounded-full bg-slate-800"})]}),(0,b.jsx)("div",{className:"h-20 rounded-xl bg-slate-950/60"}),(0,b.jsx)("div",{className:"h-8 rounded bg-slate-800/60"})]},a))});var w=a.i(87889);a.s(["default",0,function(a){return(0,b.jsxs)("div",{className:"flex flex-col",children:[(0,b.jsx)(d.default,{}),(0,b.jsx)(c.Suspense,{fallback:(0,b.jsx)(v,{}),children:(0,b.jsx)(w.f,{children:(0,b.jsx)(u,{})})})]})}],48123)},90874,function(a){a.n(a.i(48123))},59782,a=>{"use strict";let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/components/ServicesHeader.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/ServicesHeader.tsx","default");a.s(["default",0,b])},58077,a=>{"use strict";var b=a.i(59782);a.n(b)}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=_15kyk81ereeyo._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[15299,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d=[128394],e="f304",f="M352.9 21.2L308 66.1 445.9 204 490.8 159.1C504.4 145.6 512 127.2 512 108s-7.6-37.6-21.2-51.1L455.1 21.2C441.6 7.6 423.2 0 404 0s-37.6 7.6-51.1 21.2zM274.1 100L58.9 315.1c-10.7 10.7-18.5 24.1-22.6 38.7L.9 481.6c-2.3 8.3 0 17.3 6.2 23.4s15.1 8.5 23.4 6.2l127.8-35.5c14.6-4.1 27.9-11.8 38.7-22.6L412 237.9 274.1 100z";c.definition={prefix:"fas",iconName:"pen",icon:[512,512,d,e,f]},c.faPen=c.definition,c.prefix="fas",c.iconName="pen",c.width=512,c.height=512,c.ligatures=d,c.unicode=e,c.svgPathData=f,c.aliases=d},68247,a=>{"use strict";var b=a.i(87924),c=a.i(40197),d=a.i(21341),e=a.i(68758),f=a.i(5358),g=a.i(49867),h=a.i(15299),i=a.i(62720),j=a.i(3650),k=a.i(63251),l=a.i(71698),m=a.i(26156),n=a.i(45094),o=a.i(15925),p=a.i(72131),q=a.i(23395),r=a.i(2368);let s=({ports:a})=>{let c=(0,r.f)(),[d,e]=(0,p.useState)(()=>a.map(({external:a,internal:b})=>({id:`saved-${a}`,external:a,internal:b}))),f=d.filter(a=>""!==a.external&&""!==a.internal).map(a=>({external:Number(a.external),internal:Number(a.internal)}));return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("input",{type:"hidden",name:"ports",value:JSON.stringify(f)}),(0,b.jsx)(q.f,{items:d,onChange:e,labels:c.ports})]})};var t=a.i(66718),u=a.i(70430);let v=({name:a,label:c,defaultValue:d})=>{let e=(0,p.useId)(),[f,g]=(0,p.useState)(d);return(0,b.jsxs)("div",{className:"space-y-1.5",children:[(0,b.jsx)(u.f,{htmlFor:e,children:c}),(0,b.jsx)(t.f,{id:e,name:a,required:!0,value:f,onChange:a=>g(a.target.value)})]})};var w=a.i(59962);let x=({variables:a,hasBuild:c})=>{let d=(0,o.f)("ServicePage.edit"),e=(0,r.f)(),[f,g]=(0,p.useState)(()=>a.map(a=>({id:`saved-${a.key}`,key:a.key,value:a.value??"",scope:a.scope,isSecret:a.isSecret,savedSecretKey:a.isSecret?a.key:void 0,isMultiline:a.value?.includes("\n")??!1}))),h=f.filter(a=>""!==a.key.trim()).map(a=>({key:a.key.trim(),value:void 0!==a.savedSecretKey&&""===a.value?null:a.value,scope:a.scope,isSecret:a.isSecret}));return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("input",{type:"hidden",name:"environmentVariables",value:JSON.stringify(h)}),(0,b.jsx)(w.f,{items:f,onChange:g,hasBuild:c,labels:{...e.env,savedSecretPlaceholder:d("secretPlaceholder")}})]})};var y=a.i(1703);let z=({volumes:a})=>{let c=(0,r.f)(),[d,e]=(0,p.useState)(()=>a.map(({id:a,name:b,containerPath:c})=>({id:a,name:b,containerPath:c}))),f=d.filter(a=>""!==a.containerPath.trim()).map(a=>({name:(a.name??"").trim(),containerPath:a.containerPath.trim()}));return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("input",{type:"hidden",name:"volumes",value:JSON.stringify(f)}),(0,b.jsx)(y.f,{items:d,onChange:e,labels:c.volumes})]})},A=({edit:a})=>{let c=(0,o.f)("ServicePage");switch(a.section){case"name":return(0,b.jsx)(v,{name:"name",label:c("edit.name"),defaultValue:a.name});case"source":return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(v,{name:"repository",label:c(a.isGitHub?"info.repository":"info.image"),defaultValue:a.repository}),(0,b.jsx)(v,{name:"branch",label:c(a.isGitHub?"info.branch":"info.tag"),defaultValue:a.branch})]});case"ports":return(0,b.jsx)(s,{ports:a.ports});case"variables":return(0,b.jsx)(x,{variables:a.variables,hasBuild:a.isGitHub});case"volumes":return(0,b.jsx)(z,{volumes:a.volumes})}};var B=a.i(99570),C=a.i(41921);let D=({action:a,edit:c,onClose:d})=>{let e=(0,o.f)("ServicePage.edit"),[f,g]=(0,p.useState)(!1),h="name"===c.section?null:"source"===c.section&&c.isGitHub?"build":"variables"===c.section&&c.isGitHub?"variables":"restart",i=async(b,c)=>{g(!0);try{let e=await a(b,c);return 0===Object.keys(e).length&&d(),e}finally{g(!1)}},j={update_failed:e("messages.update_failed"),secret_value_required:e("messages.secret_value_required"),TOO_SMALL:e("messages.field_required"),INVALID_PORTS:e("messages.invalid_ports"),INVALID_ENVIRONMENT_VARIABLES:e("messages.invalid_environment_variables"),INVALID_VOLUMES:e("messages.invalid_volumes"),INVALID_VOLUME_NAME:e("messages.invalid_volume_name")};return(0,b.jsxs)(C.f,{action:i,messages:j,className:"flex w-full flex-col items-stretch gap-6",children:[(0,b.jsx)(A,{edit:c}),(0,b.jsxs)("div",{className:"flex flex-col gap-4 sm:flex-row sm:items-center",children:[h&&(0,b.jsx)("p",{className:"text-xs text-slate-500",children:e(`help.${h}`)}),(0,b.jsxs)("div",{className:"ml-auto flex shrink-0 gap-2",children:[(0,b.jsx)(B.f,{type:"button",variant:"ghost",size:"sm",onClick:d,children:e("cancel")}),(0,b.jsx)(B.f,{type:"submit",variant:"primary",size:"sm",pending:f,children:e(f?"saving":"save")})]})]})]})};a.s(["default",0,({action:a,edit:q,iconOnly:r=!1})=>{let s=(0,o.f)("ServicePage.edit"),[t,u]=(0,p.useState)(!1),v=()=>u(!1),w=s(`titles.${q.section}`),x="name"===q.section||"source"===q.section;return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)(B.f,{size:"xs",variant:"ghost",onClick:()=>u(!0),"aria-label":w,title:w,className:(0,n.f)("shrink-0 gap-1.5 text-slate-400",r&&"size-8 p-0"),children:[(0,b.jsx)(j.f,{icon:h.faPen,className:"size-3"}),!r&&(0,b.jsx)("span",{children:s("button")})]}),(0,b.jsx)(c.f.Root,{open:t,onOpenChange:u,children:(0,b.jsxs)(d.f.Portal,{children:[(0,b.jsx)(e.f.Backdrop,{render:(0,b.jsx)(l.f,{className:"fixed inset-0 z-40 bg-black/60 backdrop-blur-xs"})}),(0,b.jsxs)(f.f.Popup,{render:(0,b.jsx)(k.f,{className:(0,n.f)("z-50 mt-0 flex max-h-[90dvh] w-full flex-col rounded-2xl border border-slate-800 bg-slate-900 shadow-2xl",x?"max-w-[min(32rem,calc(100vw-2rem))]":"max-w-[min(48rem,calc(100vw-2rem))]")}),children:[(0,b.jsxs)("div",{className:"flex shrink-0 items-center justify-between border-b border-slate-800 px-6 py-4",children:[(0,b.jsx)(g.f.Title,{render:(0,b.jsx)(m.f,{className:"text-base font-semibold text-slate-100"}),children:w}),(0,b.jsx)(B.f,{size:"xs",variant:"ghost",onClick:v,"aria-label":s("close"),className:"size-7 p-0",children:(0,b.jsx)(j.f,{icon:i.faXmark,className:"size-3.5"})})]}),(0,b.jsx)("div",{className:"overflow-y-auto p-6",children:(0,b.jsx)(D,{action:a,edit:q,onClose:v})})]})]})})]})}],68247)}];
|
|
1
|
+
module.exports=[15299,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d=[128394],e="f304",f="M352.9 21.2L308 66.1 445.9 204 490.8 159.1C504.4 145.6 512 127.2 512 108s-7.6-37.6-21.2-51.1L455.1 21.2C441.6 7.6 423.2 0 404 0s-37.6 7.6-51.1 21.2zM274.1 100L58.9 315.1c-10.7 10.7-18.5 24.1-22.6 38.7L.9 481.6c-2.3 8.3 0 17.3 6.2 23.4s15.1 8.5 23.4 6.2l127.8-35.5c14.6-4.1 27.9-11.8 38.7-22.6L412 237.9 274.1 100z";c.definition={prefix:"fas",iconName:"pen",icon:[512,512,d,e,f]},c.faPen=c.definition,c.prefix="fas",c.iconName="pen",c.width=512,c.height=512,c.ligatures=d,c.unicode=e,c.svgPathData=f,c.aliases=d},68247,a=>{"use strict";var b=a.i(87924),c=a.i(40197),d=a.i(21341),e=a.i(68758),f=a.i(5358),g=a.i(49867),h=a.i(15299),i=a.i(62720),j=a.i(3650),k=a.i(63251),l=a.i(71698),m=a.i(26156),n=a.i(45094),o=a.i(15925),p=a.i(72131),q=a.i(23395),r=a.i(2368);let s=({ports:a})=>{let c=(0,r.f)(),[d,e]=(0,p.useState)(()=>a.map(({external:a,internal:b})=>({id:`saved-${a}`,external:a,internal:b}))),f=d.filter(a=>""!==a.external&&""!==a.internal).map(a=>({external:Number(a.external),internal:Number(a.internal)}));return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("input",{type:"hidden",name:"ports",value:JSON.stringify(f)}),(0,b.jsx)(q.f,{items:d,onChange:e,labels:c.ports})]})};var t=a.i(66718),u=a.i(70430);let v=({name:a,label:c,defaultValue:d})=>{let e=(0,p.useId)(),[f,g]=(0,p.useState)(d);return(0,b.jsxs)("div",{className:"space-y-1.5",children:[(0,b.jsx)(u.f,{htmlFor:e,children:c}),(0,b.jsx)(t.f,{id:e,name:a,required:!0,value:f,onChange:a=>g(a.target.value)})]})};var w=a.i(59962);let x=({variables:a,hasBuild:c})=>{let d=(0,o.f)("ServicePage.edit"),e=(0,r.f)(),[f,g]=(0,p.useState)(()=>a.map(a=>({id:`saved-${a.key}`,key:a.key,value:a.value??"",scope:a.scope,isSecret:a.isSecret,savedSecretKey:a.isSecret?a.key:void 0,isMultiline:a.value?.includes("\n")??!1}))),h=f.filter(a=>""!==a.key.trim()).map(a=>({key:a.key.trim(),value:void 0!==a.savedSecretKey&&""===a.value?null:a.value,scope:a.scope,isSecret:a.isSecret}));return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("input",{type:"hidden",name:"environmentVariables",value:JSON.stringify(h)}),(0,b.jsx)(w.f,{items:f,onChange:g,hasBuild:c,labels:{...e.env,savedSecretPlaceholder:d("secretPlaceholder")}})]})};var y=a.i(1703);let z=({volumes:a})=>{let c=(0,r.f)(),[d,e]=(0,p.useState)(()=>a.map(({id:a,name:b,containerPath:c})=>({id:a,name:b,containerPath:c}))),f=d.filter(a=>""!==a.containerPath.trim()).map(a=>({name:(a.name??"").trim(),containerPath:a.containerPath.trim()}));return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("input",{type:"hidden",name:"volumes",value:JSON.stringify(f)}),(0,b.jsx)(y.f,{items:d,onChange:e,labels:c.volumes})]})},A=({edit:a})=>{let c=(0,o.f)("ServicePage");switch(a.section){case"name":return(0,b.jsx)(v,{name:"name",label:c("edit.name"),defaultValue:a.name});case"source":return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(v,{name:"repository",label:c(a.isGitHub?"info.repository":"info.image"),defaultValue:a.repository}),(0,b.jsx)(v,{name:"branch",label:c(a.isGitHub?"info.branch":"info.tag"),defaultValue:a.branch})]});case"ports":return(0,b.jsx)(s,{ports:a.ports});case"variables":return(0,b.jsx)(x,{variables:a.variables,hasBuild:a.isGitHub});case"volumes":return(0,b.jsx)(z,{volumes:a.volumes})}};var B=a.i(99570),C=a.i(41921);let D=({action:a,edit:c,onClose:d})=>{let e=(0,o.f)("ServicePage.edit"),[f,g]=(0,p.useState)(!1),h="name"===c.section?null:"source"===c.section&&c.isGitHub?"build":"variables"===c.section&&c.isGitHub?"variables":"restart",i=async(b,c)=>{g(!0);try{let e=await a(b,c);return 0===Object.keys(e).length&&d(),e}finally{g(!1)}},j={update_failed:e("messages.update_failed"),secret_value_required:e("messages.secret_value_required"),inherited_variable_name:e("messages.inherited_variable_name"),TOO_SMALL:e("messages.field_required"),INVALID_PORTS:e("messages.invalid_ports"),INVALID_ENVIRONMENT_VARIABLES:e("messages.invalid_environment_variables"),INVALID_VOLUMES:e("messages.invalid_volumes"),INVALID_VOLUME_NAME:e("messages.invalid_volume_name")};return(0,b.jsxs)(C.f,{action:i,messages:j,className:"flex w-full flex-col items-stretch gap-6",children:[(0,b.jsx)(A,{edit:c}),(0,b.jsxs)("div",{className:"flex flex-col gap-4 sm:flex-row sm:items-center",children:[h&&(0,b.jsx)("p",{className:"text-xs text-slate-500",children:e(`help.${h}`)}),(0,b.jsxs)("div",{className:"ml-auto flex shrink-0 gap-2",children:[(0,b.jsx)(B.f,{type:"button",variant:"ghost",size:"sm",onClick:d,children:e("cancel")}),(0,b.jsx)(B.f,{type:"submit",variant:"primary",size:"sm",pending:f,children:e(f?"saving":"save")})]})]})]})};a.s(["default",0,({action:a,edit:q,iconOnly:r=!1})=>{let s=(0,o.f)("ServicePage.edit"),[t,u]=(0,p.useState)(!1),v=()=>u(!1),w=s(`titles.${q.section}`),x="name"===q.section||"source"===q.section;return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)(B.f,{size:"xs",variant:"ghost",onClick:()=>u(!0),"aria-label":w,title:w,className:(0,n.f)("shrink-0 gap-1.5 text-slate-400",r&&"size-8 p-0"),children:[(0,b.jsx)(j.f,{icon:h.faPen,className:"size-3"}),!r&&(0,b.jsx)("span",{children:s("button")})]}),(0,b.jsx)(c.f.Root,{open:t,onOpenChange:u,children:(0,b.jsxs)(d.f.Portal,{children:[(0,b.jsx)(e.f.Backdrop,{render:(0,b.jsx)(l.f,{className:"fixed inset-0 z-40 bg-black/60 backdrop-blur-xs"})}),(0,b.jsxs)(f.f.Popup,{render:(0,b.jsx)(k.f,{className:(0,n.f)("z-50 mt-0 flex max-h-[90dvh] w-full flex-col rounded-2xl border border-slate-800 bg-slate-900 shadow-2xl",x?"max-w-[min(32rem,calc(100vw-2rem))]":"max-w-[min(48rem,calc(100vw-2rem))]")}),children:[(0,b.jsxs)("div",{className:"flex shrink-0 items-center justify-between border-b border-slate-800 px-6 py-4",children:[(0,b.jsx)(g.f.Title,{render:(0,b.jsx)(m.f,{className:"text-base font-semibold text-slate-100"}),children:w}),(0,b.jsx)(B.f,{size:"xs",variant:"ghost",onClick:v,"aria-label":s("close"),className:"size-7 p-0",children:(0,b.jsx)(j.f,{icon:i.faXmark,className:"size-3.5"})})]}),(0,b.jsx)("div",{className:"overflow-y-auto p-6",children:(0,b.jsx)(D,{action:a,edit:q,onClose:v})})]})]})})]})}],68247)}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=_1975r9mjak44f._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[1540,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d="plus",e=[10133,61543,"add"],f="M256 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 160-160 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l160 0 0 160c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160 160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0 0-160z";c.definition={prefix:"fas",iconName:d,icon:[448,512,e,"2b",f]},c.faPlus=c.definition,c.prefix="fas",c.iconName=d,c.width=448,c.height=512,c.ligatures=e,c.unicode="2b",c.svgPathData=f,c.aliases=e},2992,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d="trash",e=[],f="f1f8",g="M136.7 5.9L128 32 32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0-8.7-26.1C306.9-7.2 294.7-16 280.9-16L167.1-16c-13.8 0-26 8.8-30.4 21.9zM416 144L32 144 53.1 467.1C54.7 492.4 75.7 512 101 512L347 512c25.3 0 46.3-19.6 47.9-44.9L416 144z";c.definition={prefix:"fas",iconName:d,icon:[448,512,e,f,g]},c.faTrash=c.definition,c.prefix="fas",c.iconName=d,c.width=448,c.height=512,c.ligatures=e,c.unicode=f,c.svgPathData=g,c.aliases=e},41921,a=>{"use strict";var b=a.i(87924);a.i(51317);var c=a.i(28556),c=c,d=a.i(45094);a.s(["f",0,({className:a,children:e,...f})=>(0,b.jsx)(c.f,{...f,className:(0,d.f)("grid justify-items-start gap-6",a),renderMessages:(0,b.jsx)("div",{className:(0,d.f)("w-full flex items-start gap-3 rounded-md px-4 py-3 text-sm","data-[message-type=default]:bg-slate-800 data-[message-type=default]:text-slate-200","data-[message-type=error]:border data-[message-type=error]:border-rose-500/20","data-[message-type=error]:bg-rose-500/10 data-[message-type=error]:text-rose-400","data-[message-type=info]:border data-[message-type=info]:border-sky-500/20","data-[message-type=info]:bg-sky-500/10 data-[message-type=info]:text-sky-400","data-[message-type=success]:border data-[message-type=success]:border-emerald-500/20","data-[message-type=success]:bg-emerald-500/10 data-[message-type=success]:text-emerald-400","data-[message-type=warning]:border data-[message-type=warning]:border-amber-500/20","data-[message-type=warning]:bg-amber-500/10 data-[message-type=warning]:text-amber-400")}),children:e})],41921)},
|
|
1
|
+
module.exports=[1540,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d="plus",e=[10133,61543,"add"],f="M256 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 160-160 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l160 0 0 160c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160 160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0 0-160z";c.definition={prefix:"fas",iconName:d,icon:[448,512,e,"2b",f]},c.faPlus=c.definition,c.prefix="fas",c.iconName=d,c.width=448,c.height=512,c.ligatures=e,c.unicode="2b",c.svgPathData=f,c.aliases=e},2992,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d="trash",e=[],f="f1f8",g="M136.7 5.9L128 32 32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0-8.7-26.1C306.9-7.2 294.7-16 280.9-16L167.1-16c-13.8 0-26 8.8-30.4 21.9zM416 144L32 144 53.1 467.1C54.7 492.4 75.7 512 101 512L347 512c25.3 0 46.3-19.6 47.9-44.9L416 144z";c.definition={prefix:"fas",iconName:d,icon:[448,512,e,f,g]},c.faTrash=c.definition,c.prefix="fas",c.iconName=d,c.width=448,c.height=512,c.ligatures=e,c.unicode=f,c.svgPathData=g,c.aliases=e},41921,a=>{"use strict";var b=a.i(87924);a.i(51317);var c=a.i(28556),c=c,d=a.i(45094);a.s(["f",0,({className:a,children:e,...f})=>(0,b.jsx)(c.f,{...f,className:(0,d.f)("grid justify-items-start gap-6",a),renderMessages:(0,b.jsx)("div",{className:(0,d.f)("w-full flex items-start gap-3 rounded-md px-4 py-3 text-sm","data-[message-type=default]:bg-slate-800 data-[message-type=default]:text-slate-200","data-[message-type=error]:border data-[message-type=error]:border-rose-500/20","data-[message-type=error]:bg-rose-500/10 data-[message-type=error]:text-rose-400","data-[message-type=info]:border data-[message-type=info]:border-sky-500/20","data-[message-type=info]:bg-sky-500/10 data-[message-type=info]:text-sky-400","data-[message-type=success]:border data-[message-type=success]:border-emerald-500/20","data-[message-type=success]:bg-emerald-500/10 data-[message-type=success]:text-emerald-400","data-[message-type=warning]:border data-[message-type=warning]:border-amber-500/20","data-[message-type=warning]:bg-amber-500/10 data-[message-type=warning]:text-amber-400")}),children:e})],41921)},70430,a=>{"use strict";var b=a.i(87924),c=a.i(45094);a.s(["f",0,({className:a,...d})=>(0,b.jsx)("label",{className:(0,c.f)("block text-xs font-semibold uppercase tracking-wider text-slate-300",a),...d})])},80701,a=>{"use strict";var b=a.i(87924),c=a.i(45094);a.s(["f",0,({className:a,...d})=>(0,b.jsx)("select",{className:(0,c.f)("h-9 w-full rounded-md border border-slate-700 bg-slate-900/90 px-2 text-sm text-slate-100 shadow-xs","hover:border-slate-600","focus:border-slate-400 focus-visible:outline-2 focus-visible:outline-slate-400","disabled:cursor-not-allowed disabled:border-slate-800 disabled:bg-slate-950 disabled:text-slate-600",a),...d})])}];
|
|
2
2
|
|
|
3
|
-
//# sourceMappingURL=
|
|
3
|
+
//# sourceMappingURL=_19w_0onn2cdmy._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[45025,a=>{"use strict";var b=a.i(75368),c=a.i(28983);a.S([b,"40982da772e3ee038e7e09aeaab1089c754f3f43eb,f",0,c,"403595faba4887e9833160a4ae4265e2fbf17d9a29,j,403a6f5de8387fd7b74283f9ff71f58f64f4fc24c1,i,4048d3971168a3ff4aa7348535373a71b72f454b2a,c,408762bd788a8ac69bbd86e8bb97a262861033b94d,K,40a9ae337bb9eb90587205b9c83eb41f147223d6b2,$,40d6c768d820855a68a4f3c9490b31934228b90cee,B,6033c1f94123f0ef7f02a4106ce0a3020c261f1744,D,60e3c348229b13441da5e342d6807e33e3739e0177,g,7054e8bb239d906d0967c7c340c457b0441fa45e3a,x,7070116fe000472ecec8e2f87444e4a5c924431958,e,70b4bc69fa7ea2cf8e139649c2df810bd5b32aa32a,k,70fb6a6b898ec531468a34c7fb79ecb4534f690cc8,u,7f0cfc33a177a79d44dff24a6cff6e311b552f8b4a,d,7f5de42773900656f70556c0bf63dba56ab753c59c,y,7f81fa24730b52575b7b2cf9f828682cc921201a70,A,7fc3a6b3450fab82c3dd40df0fc871c80d6cc54751,l"],45025)},8218,a=>{a.v(a=>Promise.resolve().then(()=>a(51184)))},33568,a=>{a.v(b=>Promise.all(["server/chunks/ssr/src_core_cloudflare_tunnel_ts_06ejjwtfxdagd._.js"].map(b=>a.l(b))).then(()=>b(32439)))},30568,a=>{a.v(a=>Promise.resolve().then(()=>a(51514)))},35702,a=>{a.v(b=>Promise.all(["server/chunks/ssr/src_core_nginx_ts_0ddpkgw8r0osc._.js"].map(b=>a.l(b))).then(()=>b(91644)))},24512,a=>{a.v(a=>Promise.resolve().then(()=>a(66146)))}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=_1bjf_7jgwpf2s._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[60744,a=>{"use strict";var b=a.i(75368),c=a.i(28983),d=a.i(25882);a.S([b,"
|
|
1
|
+
module.exports=[60744,a=>{"use strict";var b=a.i(75368),c=a.i(28983),d=a.i(25882);a.S([b,"40982da772e3ee038e7e09aeaab1089c754f3f43eb,f",0,c,"403595faba4887e9833160a4ae4265e2fbf17d9a29,j,403a6f5de8387fd7b74283f9ff71f58f64f4fc24c1,i,4048d3971168a3ff4aa7348535373a71b72f454b2a,c,408762bd788a8ac69bbd86e8bb97a262861033b94d,K,40a9ae337bb9eb90587205b9c83eb41f147223d6b2,$,40d6c768d820855a68a4f3c9490b31934228b90cee,B,6033c1f94123f0ef7f02a4106ce0a3020c261f1744,D,60e3c348229b13441da5e342d6807e33e3739e0177,g,7054e8bb239d906d0967c7c340c457b0441fa45e3a,x,7070116fe000472ecec8e2f87444e4a5c924431958,e,70b4bc69fa7ea2cf8e139649c2df810bd5b32aa32a,k,70fb6a6b898ec531468a34c7fb79ecb4534f690cc8,u,7f0cfc33a177a79d44dff24a6cff6e311b552f8b4a,d,7f5de42773900656f70556c0bf63dba56ab753c59c,y,7f81fa24730b52575b7b2cf9f828682cc921201a70,A,7fc3a6b3450fab82c3dd40df0fc871c80d6cc54751,l",0,d,"803130e3b3b2683fffe813b51f8cd44265c338cc68,k,80b32b7225ad40efa05c094f58c530a1234db4e180,M,c0300abcb8bd2e70e67ade6af571007bf1f01f0f09,P,c042e33e2f10a0182b55e805d32ddd4892757b8f5c,_,c04a2471fa616b128851e780bd175cbed1b5e56ef4,c,c0e192381883cb3e6a435942af5451dc63a69c7785,C,c0f09c9822c52f7d7b73ddb6a99bc4fabc97ccb1dd,p"],60744)},75368,a=>{"use strict";var b=a.i(37936),c=a.i(81601),d=a.i(21684);async function e(a){return(await (0,c.f)()).destroy(),(0,d.l)({locale:a,href:"/login"})}(0,a.i(13095).ensureServerEntryExports)([e]),(0,b.registerServerReference)(e,"40982da772e3ee038e7e09aeaab1089c754f3f43eb",null),a.s(["f",0,e])}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=_1c9ja4120f5e7._.js.map
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
module.exports=[71466,a=>{"use strict";a.s(["E",0,function(a){return async function(...b){a.middlewares&&await Promise.all(a.middlewares.map(a=>a()));let c=b[b.length-1],d=b.slice(0,b.length-2),e=function a(b,c){let d=b.safeParse(c);if(!d.success){for(let e of d.error.issues)if("invalid_type"===e.code){if("number"===e.expected&&e.message.includes("expected number, received string")){let[d]=e.path;return a(b,{...c,[d]:parseFloat(c[d])})}if("boolean"===e.expected&&e.message.includes("expected boolean, received string")){let[d]=e.path,f=c[d];if("true"===f||"false"===f)return a(b,{...c,[d]:"true"===f})}}}return d}(a.schema,Object.fromEntries(c.entries()));if(!e.success)return e.error.issues.reduce((a,b)=>{let[c]=b.path;return{...a,[c]:(function(a){switch(a.code){case"custom":{let b=a.params??{};if("customErrorCode"in b&&"string"==typeof b.customErrorCode)return b.customErrorCode;return a.message}case"invalid_format":return`invalid_${a.format}`;case"invalid_type":if(/expected .+?, received undefined/.test(a.message))return"required";return a.code;case"too_small":case"too_big":return a.code;default:return"unknown_error"}})(b).toUpperCase()}},{});try{return await a.action(e.data)(...d)}catch(a){if(a&&"object"==typeof a&&"isDisplayMessage"in a&&"messageType"in a&&"message"in a)return{[a.messageType]:a.message};throw a}}},"W",0,function(a,b){if("error"===a||"warning"===a||"success"===a)throw{isDisplayMessage:!0,messageType:`[${a}]`,message:b};throw{isDisplayMessage:!0,messageType:a,message:b}}])},13095,(a,b,c)=>{"use strict";function d(a){for(let b=0;b<a.length;b++){let c=a[b];if("function"!=typeof c)throw Error(`A "use server" file can only export async functions, found ${typeof c}.
|
|
2
|
+
Read more: https://nextjs.org/docs/messages/invalid-use-server-value`)}}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"ensureServerEntryExports",{enumerable:!0,get:function(){return d}})},41373,27954,a=>{"use strict";class b extends Error{constructor(a){super(a),this.name="GitHubError"}}class c extends b{status=401;constructor(a="GitHub authentication failed: Bad credentials or expired token."){super(a),this.name="GitHubAuthError"}}class d extends b{status;limit;remaining;resetAt;retryAfter;constructor(a="GitHub API rate limit exceeded.",b={}){super(a),this.name="GitHubRateLimitError",this.status=b.status??403,this.limit=b.limit,this.remaining=b.remaining,this.resetAt=b.resetAt,this.retryAfter=b.retryAfter}}class e extends b{status;data;constructor(a,b,c){super(a),this.name="GitHubApiError",this.status=b,this.data=c}}async function f(a,b,f){let g=a.startsWith("http")?a:`https://api.github.com${a.startsWith("/")?"":"/"}${a}`,h=new Headers(f?.headers);b&&h.set("Authorization",`Bearer ${b}`),h.set("Accept","application/vnd.github+json"),h.has("X-GitHub-Api-Version")||h.set("X-GitHub-Api-Version","2022-11-28");let i=await fetch(g,{...f,headers:h}),j=i.headers.get("x-ratelimit-remaining"),k=i.headers.get("x-ratelimit-reset"),l=i.headers.get("x-ratelimit-limit"),m=i.headers.get("retry-after");if(!i.ok){let a=null;try{a=await i.json()}catch{}let b=a?.message;if(401===i.status)throw new c(b||"GitHub authentication failed: Bad credentials or expired token.");if(429===i.status||403===i.status&&("0"===j||b?.toLowerCase().includes("rate limit"))){let a=k?1e3*parseInt(k,10):void 0,c=m?parseInt(m,10):void 0,e=a?new Date(a):c?new Date(Date.now()+1e3*c):void 0;throw new d(b||"GitHub API rate limit exceeded.",{status:i.status,limit:l?parseInt(l,10):void 0,remaining:j?parseInt(j,10):0,resetAt:e,retryAfter:c})}throw new e(b||`GitHub API request failed with status ${i.status}`,i.status,a)}return{data:await i.json(),headers:i.headers,status:i.status}}a.s(["j",0,e,"t",0,c,"a",0,d,"G",0,function(a){return a instanceof e||a instanceof Error&&"GitHubApiError"===a.name},"S",0,function(a){return a instanceof c||a instanceof Error&&"GitHubAuthError"===a.name}],27954),a.s(["f",0,f],41373)}];
|
|
3
|
+
|
|
4
|
+
//# sourceMappingURL=_1ejoo52e92zfh._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[84162,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d="docker",e=[],f="f395",g="M349.9 236.3l-66.1 0 0-59.4 66.1 0 0 59.4zm0-204.3l-66.1 0 0 60.7 66.1 0 0-60.7zm78.2 144.8l-66.1 0 0 59.4 66.1 0 0-59.4zM271.8 104.7l-66.1 0 0 60.1 66.1 0 0-60.1zm78.1 0l-66.1 0 0 60.1 66.1 0 0-60.1zm276.8 100c-14.4-9.7-47.6-13.2-73.1-8.4-3.3-24-16.7-44.9-41.1-63.7l-14-9.3-9.3 14c-18.4 27.8-23.4 73.6-3.7 103.8-8.7 4.7-25.8 11.1-48.4 10.7l-434.7 0c-8.7 50.8 5.8 116.8 44 162.1 37.1 43.9 92.7 66.2 165.4 66.2 157.4 0 273.9-72.5 328.4-204.2 21.4 .4 67.6 .1 91.3-45.2 1.5-2.5 6.6-13.2 8.5-17.1l-13.3-8.9zM115.6 176.8l-66 0 0 59.4 66.1 0 0-59.4-.1 0zm78.1 0l-66.1 0 0 59.4 66.1 0 0-59.4zm78.1 0l-66.1 0 0 59.4 66.1 0 0-59.4zm-78.1-72.1l-66.1 0 0 60.1 66.1 0 0-60.1z";c.definition={prefix:"fab",iconName:d,icon:[640,512,e,f,g]},c.faDocker=c.definition,c.prefix="fab",c.iconName=d,c.width=640,c.height=512,c.ligatures=e,c.unicode=f,c.svgPathData=g,c.aliases=e},53617,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d="rotate",e=[128260,"sync-alt"],f="f2f1",g="M480.1 192l7.9 0c13.3 0 24-10.7 24-24l0-144c0-9.7-5.8-18.5-14.8-22.2S477.9 .2 471 7L419.3 58.8C375 22.1 318 0 256 0 127 0 20.3 95.4 2.6 219.5 .1 237 12.2 253.2 29.7 255.7s33.7-9.7 36.2-27.1C79.2 135.5 159.3 64 256 64 300.4 64 341.2 79 373.7 104.3L327 151c-6.9 6.9-8.9 17.2-5.2 26.2S334.3 192 344 192l136.1 0zm29.4 100.5c2.5-17.5-9.7-33.7-27.1-36.2s-33.7 9.7-36.2 27.1c-13.3 93-93.4 164.5-190.1 164.5-44.4 0-85.2-15-117.7-40.3L185 361c6.9-6.9 8.9-17.2 5.2-26.2S177.7 320 168 320L24 320c-13.3 0-24 10.7-24 24L0 488c0 9.7 5.8 18.5 14.8 22.2S34.1 511.8 41 505l51.8-51.8C137 489.9 194 512 256 512 385 512 491.7 416.6 509.4 292.5z";c.definition={prefix:"fas",iconName:d,icon:[512,512,e,f,g]},c.faRotate=c.definition,c.prefix="fas",c.iconName=d,c.width=512,c.height=512,c.ligatures=e,c.unicode=f,c.svgPathData=g,c.aliases=e},29480,28506,a=>{"use strict";var b=a.i(7997),c=a.i(84162),d=a.i(1829),e=a.i(61293),f=a.i(62791),g=a.i(86164);let h={github:d.faGithub,dockerhub:c.faDocker,system:e.faServer};a.s(["f",0,({type:a,label:c,className:d})=>{let e=h[a];return(0,b.jsxs)("span",{className:(0,g.f)(["inline-flex items-center gap-1.5 rounded-md border border-slate-700/80","bg-slate-800/60 px-2 py-0.5 text-xs font-medium text-slate-300",d]),children:[(0,b.jsx)(f.f,{icon:e,className:"size-3 text-slate-400"}),(0,b.jsx)("span",{children:c})]})}],29480);var i=a.i(53617),j=a.i(43679);let k={running:{badge:"border-emerald-500/20 bg-emerald-500/10 text-emerald-400",dot:"bg-emerald-400 animate-pulse"},stopped:{badge:"border-slate-700 bg-slate-800 text-slate-400",dot:"bg-slate-500"},exited:{badge:"border-rose-500/20 bg-rose-500/10 text-rose-400",dot:"bg-rose-400"},building:{badge:"border-sky-500/20 bg-sky-500/10 text-sky-400",dot:"bg-sky-400"},pulling:{badge:"border-cyan-500/20 bg-cyan-500/10 text-cyan-400",dot:"bg-cyan-400"},restarting:{badge:"border-amber-500/20 bg-amber-500/10 text-amber-400",dot:"bg-amber-400"}};a.s(["f",0,({status:a,label:c,className:d})=>{let e=k[a];return(0,b.jsxs)("span",{className:(0,g.f)(["inline-flex items-center gap-1.5 rounded-full border px-2.5 py-0.5 text-xs font-medium tracking-wide",e.badge,d]),children:["building"===a||"pulling"===a?(0,b.jsx)(f.f,{icon:j.faSpinner,className:"size-2.5 animate-spin"}):"restarting"===a?(0,b.jsx)(f.f,{icon:i.faRotate,className:"size-2.5 animate-spin"}):(0,b.jsx)("span",{className:(0,g.f)("size-1.5 rounded-full",e.dot)}),(0,b.jsx)("span",{children:c})]})}],28506)},97920,a=>{"use strict";let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/components/ServicesPoller.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/ServicesPoller.tsx","default");a.s(["default",0,b])},56298,a=>{"use strict";var b=a.i(97920);a.n(b)}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=_1hg3jdepqyntc._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[1540,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d="plus",e=[10133,61543,"add"],f="M256 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 160-160 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l160 0 0 160c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160 160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0 0-160z";c.definition={prefix:"fas",iconName:d,icon:[448,512,e,"2b",f]},c.faPlus=c.definition,c.prefix="fas",c.iconName=d,c.width=448,c.height=512,c.ligatures=e,c.unicode="2b",c.svgPathData=f,c.aliases=e},2992,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d="trash",e=[],f="f1f8",g="M136.7 5.9L128 32 32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0-8.7-26.1C306.9-7.2 294.7-16 280.9-16L167.1-16c-13.8 0-26 8.8-30.4 21.9zM416 144L32 144 53.1 467.1C54.7 492.4 75.7 512 101 512L347 512c25.3 0 46.3-19.6 47.9-44.9L416 144z";c.definition={prefix:"fas",iconName:d,icon:[448,512,e,f,g]},c.faTrash=c.definition,c.prefix="fas",c.iconName=d,c.width=448,c.height=512,c.ligatures=e,c.unicode=f,c.svgPathData=g,c.aliases=e},41921,a=>{"use strict";var b=a.i(87924);a.i(51317);var c=a.i(28556),c=c,d=a.i(45094);a.s(["f",0,({className:a,children:e,...f})=>(0,b.jsx)(c.f,{...f,className:(0,d.f)("grid justify-items-start gap-6",a),renderMessages:(0,b.jsx)("div",{className:(0,d.f)("w-full flex items-start gap-3 rounded-md px-4 py-3 text-sm","data-[message-type=default]:bg-slate-800 data-[message-type=default]:text-slate-200","data-[message-type=error]:border data-[message-type=error]:border-rose-500/20","data-[message-type=error]:bg-rose-500/10 data-[message-type=error]:text-rose-400","data-[message-type=info]:border data-[message-type=info]:border-sky-500/20","data-[message-type=info]:bg-sky-500/10 data-[message-type=info]:text-sky-400","data-[message-type=success]:border data-[message-type=success]:border-emerald-500/20","data-[message-type=success]:bg-emerald-500/10 data-[message-type=success]:text-emerald-400","data-[message-type=warning]:border data-[message-type=warning]:border-amber-500/20","data-[message-type=warning]:bg-amber-500/10 data-[message-type=warning]:text-amber-400")}),children:e})],41921)},
|
|
1
|
+
module.exports=[1540,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d="plus",e=[10133,61543,"add"],f="M256 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 160-160 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l160 0 0 160c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160 160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0 0-160z";c.definition={prefix:"fas",iconName:d,icon:[448,512,e,"2b",f]},c.faPlus=c.definition,c.prefix="fas",c.iconName=d,c.width=448,c.height=512,c.ligatures=e,c.unicode="2b",c.svgPathData=f,c.aliases=e},2992,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d="trash",e=[],f="f1f8",g="M136.7 5.9L128 32 32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0-8.7-26.1C306.9-7.2 294.7-16 280.9-16L167.1-16c-13.8 0-26 8.8-30.4 21.9zM416 144L32 144 53.1 467.1C54.7 492.4 75.7 512 101 512L347 512c25.3 0 46.3-19.6 47.9-44.9L416 144z";c.definition={prefix:"fas",iconName:d,icon:[448,512,e,f,g]},c.faTrash=c.definition,c.prefix="fas",c.iconName=d,c.width=448,c.height=512,c.ligatures=e,c.unicode=f,c.svgPathData=g,c.aliases=e},41921,a=>{"use strict";var b=a.i(87924);a.i(51317);var c=a.i(28556),c=c,d=a.i(45094);a.s(["f",0,({className:a,children:e,...f})=>(0,b.jsx)(c.f,{...f,className:(0,d.f)("grid justify-items-start gap-6",a),renderMessages:(0,b.jsx)("div",{className:(0,d.f)("w-full flex items-start gap-3 rounded-md px-4 py-3 text-sm","data-[message-type=default]:bg-slate-800 data-[message-type=default]:text-slate-200","data-[message-type=error]:border data-[message-type=error]:border-rose-500/20","data-[message-type=error]:bg-rose-500/10 data-[message-type=error]:text-rose-400","data-[message-type=info]:border data-[message-type=info]:border-sky-500/20","data-[message-type=info]:bg-sky-500/10 data-[message-type=info]:text-sky-400","data-[message-type=success]:border data-[message-type=success]:border-emerald-500/20","data-[message-type=success]:bg-emerald-500/10 data-[message-type=success]:text-emerald-400","data-[message-type=warning]:border data-[message-type=warning]:border-amber-500/20","data-[message-type=warning]:bg-amber-500/10 data-[message-type=warning]:text-amber-400")}),children:e})],41921)},70430,a=>{"use strict";var b=a.i(87924),c=a.i(45094);a.s(["f",0,({className:a,...d})=>(0,b.jsx)("label",{className:(0,c.f)("block text-xs font-semibold uppercase tracking-wider text-slate-300",a),...d})])},80701,a=>{"use strict";var b=a.i(87924),c=a.i(45094);a.s(["f",0,({className:a,...d})=>(0,b.jsx)("select",{className:(0,c.f)("h-9 w-full rounded-md border border-slate-700 bg-slate-900/90 px-2 text-sm text-slate-100 shadow-xs","hover:border-slate-600","focus:border-slate-400 focus-visible:outline-2 focus-visible:outline-slate-400","disabled:cursor-not-allowed disabled:border-slate-800 disabled:bg-slate-950 disabled:text-slate-600",a),...d})])}];
|
|
2
2
|
|
|
3
|
-
//# sourceMappingURL=
|
|
3
|
+
//# sourceMappingURL=_1j5g-1pklmyv3._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[80745,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d="bars",e=["navicon"],f="f0c9",g="M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z";c.definition={prefix:"fas",iconName:d,icon:[448,512,e,f,g]},c.faBars=c.definition,c.prefix="fas",c.iconName=d,c.width=448,c.height=512,c.ligatures=e,c.unicode=f,c.svgPathData=g,c.aliases=e},68830,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d="circle-check",e=[61533,"check-circle"],f="f058",g="M256 512a256 256 0 1 1 0-512 256 256 0 1 1 0 512zM374 145.7c-10.7-7.8-25.7-5.4-33.5 5.3L221.1 315.2 169 263.1c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l72 72c5 5 11.8 7.5 18.8 7s13.4-4.1 17.5-9.8L379.3 179.2c7.8-10.7 5.4-25.7-5.3-33.5z";c.definition={prefix:"fas",iconName:d,icon:[512,512,e,f,g]},c.faCircleCheck=c.definition,c.prefix="fas",c.iconName=d,c.width=512,c.height=512,c.ligatures=e,c.unicode=f,c.svgPathData=g,c.aliases=e},87052,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d="gear",e=[9881,"cog"],f="f013",g="M195.1 9.5C198.1-5.3 211.2-16 226.4-16l59.8 0c15.2 0 28.3 10.7 31.3 25.5L332 79.5c14.1 6 27.3 13.7 39.3 22.8l67.8-22.5c14.4-4.8 30.2 1.2 37.8 14.4l29.9 51.8c7.6 13.2 4.9 29.8-6.5 39.9L447 233.3c.9 7.4 1.3 15 1.3 22.7s-.5 15.3-1.3 22.7l53.4 47.5c11.4 10.1 14 26.8 6.5 39.9l-29.9 51.8c-7.6 13.1-23.4 19.2-37.8 14.4l-67.8-22.5c-12.1 9.1-25.3 16.7-39.3 22.8l-14.4 69.9c-3.1 14.9-16.2 25.5-31.3 25.5l-59.8 0c-15.2 0-28.3-10.7-31.3-25.5l-14.4-69.9c-14.1-6-27.2-13.7-39.3-22.8L73.5 432.3c-14.4 4.8-30.2-1.2-37.8-14.4L5.8 366.1c-7.6-13.2-4.9-29.8 6.5-39.9l53.4-47.5c-.9-7.4-1.3-15-1.3-22.7s.5-15.3 1.3-22.7L12.3 185.8c-11.4-10.1-14-26.8-6.5-39.9L35.7 94.1c7.6-13.2 23.4-19.2 37.8-14.4l67.8 22.5c12.1-9.1 25.3-16.7 39.3-22.8L195.1 9.5zM256.3 336a80 80 0 1 0 -.6-160 80 80 0 1 0 .6 160z";c.definition={prefix:"fas",iconName:d,icon:[512,512,e,f,g]},c.faGear=c.definition,c.prefix="fas",c.iconName=d,c.width=512,c.height=512,c.ligatures=e,c.unicode=f,c.svgPathData=g,c.aliases=e},33986,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d="right-from-bracket",e=["sign-out-alt"],f="f2f5",g="M505 273c9.4-9.4 9.4-24.6 0-33.9L361 95c-6.9-6.9-17.2-8.9-26.2-5.2S320 102.3 320 112l0 80-112 0c-26.5 0-48 21.5-48 48l0 32c0 26.5 21.5 48 48 48l112 0 0 80c0 9.7 5.8 18.5 14.8 22.2s19.3 1.7 26.2-5.2L505 273zM160 96c17.7 0 32-14.3 32-32s-14.3-32-32-32L96 32C43 32 0 75 0 128L0 384c0 53 43 96 96 96l64 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-64 0c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l64 0z";c.definition={prefix:"fas",iconName:d,icon:[512,512,e,f,g]},c.faRightFromBracket=c.definition,c.prefix="fas",c.iconName=d,c.width=512,c.height=512,c.ligatures=e,c.unicode=f,c.svgPathData=g,c.aliases=e},58165,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d="server",e=[],f="f233",g="M64 32C28.7 32 0 60.7 0 96l0 64c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-64c0-35.3-28.7-64-64-64L64 32zm216 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm56 24a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zM64 288c-35.3 0-64 28.7-64 64l0 64c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-64c0-35.3-28.7-64-64-64L64 288zm216 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm56 24a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z";c.definition={prefix:"fas",iconName:d,icon:[448,512,e,f,g]},c.faServer=c.definition,c.prefix="fas",c.iconName=d,c.width=448,c.height=512,c.ligatures=e,c.unicode=f,c.svgPathData=g,c.aliases=e},67563,a=>{"use strict";var b=a.i(87924),c=a.i(33986),d=a.i(3650),e=a.i(32886),f=a.i(15925),g=a.i(5050);let h=(0,g.createServerReference)("406a24dd91f9eed0571f29bd5c831e5c69508e9228",g.callServer,void 0,g.findSourceMapURL,"logout");var i=a.i(99570);a.s(["default",0,()=>{let a=(0,f.f)("BaseLayout"),g=(0,e.X)();return(0,b.jsx)("form",{action:()=>h(g),className:"ml-auto shrink-0",children:(0,b.jsx)(i.f,{type:"submit",variant:"ghost",size:"sm","aria-label":a("logout"),title:a("logout"),className:"size-10 justify-center p-0 text-slate-400 hover:bg-slate-800/60 hover:text-rose-400",children:(0,b.jsx)(d.f,{icon:c.faRightFromBracket,className:"size-4"})})})}],67563)},42912,a=>{"use strict";var b=a.i(87924),c=a.i(87052),d=a.i(58165),e=a.i(3650),f=a.i(45094),g=a.i(15925),h=a.i(72131),i=a.i(74994);let j=[{href:"/services",label:"nav.services",icon:d.faServer}],k=[{href:"/settings",label:"nav.settings",icon:c.faGear}],l=({href:a,label:c,icon:d,pathname:h,onNavigate:j})=>{let k=(0,g.f)("BaseLayout"),l=h===a,m=l||h.startsWith(`${a}/`);return(0,b.jsxs)(i.L,{href:a,onClick:j,"aria-current":l?"page":m||void 0,className:(0,f.f)("flex h-10 items-center gap-3 rounded-lg px-3 text-sm font-medium transition-colors","focus-visible:outline-2 focus-visible:outline-slate-500",m?"bg-slate-800 text-white":"text-slate-400 hover:bg-slate-800/60 hover:text-slate-100"),children:[(0,b.jsx)(e.f,{icon:d,className:"size-4"}),(0,b.jsx)("span",{children:k(c)})]})},m=({isAdmin:a,...c})=>(0,h.use)(a)?k.map(a=>(0,b.jsx)(l,{...a,...c},a.href)):null,n=({isAdmin:a,...c})=>{let d=(0,g.f)("BaseLayout");return(0,b.jsxs)("nav",{"aria-label":d("nav.label"),className:"flex flex-1 flex-col gap-1 overflow-y-auto p-3",children:[j.map(a=>(0,b.jsx)(l,{...a,...c},a.href)),(0,b.jsx)(h.Suspense,{fallback:null,children:(0,b.jsx)(m,{isAdmin:a,...c})})]})},o=a=>(0,b.jsx)(n,{pathname:(0,i.x)(),...a});a.s(["default",0,a=>(0,b.jsx)(h.Suspense,{fallback:(0,b.jsx)(n,{pathname:"",...a}),children:(0,b.jsx)(o,{...a})})])},40300,a=>{"use strict";var b=a.i(87924),c=a.i(40197),d=a.i(17953),d=d,e=a.i(21341),f=a.i(68758),g=a.i(5358),h=a.i(49867),i=d,j=a.i(80745),k=a.i(62720),l=a.i(3650),m=a.i(45094),n=a.i(15925),o=a.i(72131),p=a.i(67563),q=a.i(67161),q=q;let r={src:a.i(52706).default,width:800,height:800,blurWidth:8,blurHeight:8,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAA70lEQVR42j1Pu2qEUBS89W6fzc8ovhAEwcLKQhBRtFFxIdX+g43fkIdYWFj5qLKNgv6BooWFCn6ANifeQHLgDMNMMTMInXe9Xl9Zln34vv/Ej/nlcrlhD53kxbbtzzzPj6ZpoG1byLLssCzrHXuIJMl7URT7uq5Q1zVUVQXLskBZljtBEHfkum7e9z1s2wZJkkAURTDPM4zjCJ7n5eiEchgGmKYJwjCEIAig6zrAmuM4OaJp+i1N012WZRBFESRJAo7jII7jHcfjkjdd179UVT14ngdBEEBRlEPTtI/fkn8zGYZ5mKb5bRjGk6Ko/5k/dFKCXEMFqaIAAAAASUVORK5CYII="};var s=a.i(74994);let t=()=>(0,b.jsxs)(s.L,{href:"/services",className:"flex items-center gap-3 rounded-lg focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-slate-500",children:[(0,b.jsx)("span",{className:"size-8 shrink-0 overflow-hidden rounded-full bg-white",children:(0,b.jsx)(q.Image,{src:r,alt:"",width:64,height:64,className:"size-full scale-130"})}),(0,b.jsx)("span",{className:"text-base font-semibold tracking-tight text-slate-100",children:"Buttler"})]});var u=a.i(42912);let v=(0,m.f)("flex size-10 items-center justify-center rounded-lg text-slate-400 transition-colors","hover:bg-slate-800/60 hover:text-slate-100","focus-visible:outline-2 focus-visible:outline-slate-500");a.s(["default",0,({currentUser:a,isAdmin:q})=>{let r=(0,n.f)("BaseLayout"),[s,w]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{let a=window.matchMedia("(width >= 64rem)"),b=()=>{a.matches&&w(!1)};return a.addEventListener("change",b),()=>a.removeEventListener("change",b)},[]),(0,b.jsxs)("header",{className:(0,m.f)("sticky top-0 z-30 flex h-14 items-center justify-between pr-2 pl-4 lg:hidden","border-b border-slate-800 bg-slate-950/90 backdrop-blur-md"),children:[(0,b.jsx)(t,{}),(0,b.jsxs)(c.f.Root,{open:s,onOpenChange:w,children:[(0,b.jsx)(d.Trigger,{"aria-label":r("openMenu"),className:v,children:(0,b.jsx)(l.f,{icon:j.faBars,className:"size-4"})}),(0,b.jsxs)(e.f.Portal,{children:[(0,b.jsx)(f.f.Backdrop,{className:(0,m.f)("fixed inset-0 z-40 bg-slate-950/70 backdrop-blur-xs transition-opacity duration-200 lg:hidden","data-ending-style:opacity-0 data-starting-style:opacity-0")}),(0,b.jsxs)(g.f.Popup,{className:(0,m.f)("fixed inset-y-0 right-0 z-50 flex w-72 max-w-[85vw] flex-col lg:hidden","border-l border-slate-800 bg-slate-900 text-slate-100","transition-transform duration-200 ease-out motion-reduce:transition-none","data-ending-style:translate-x-full data-starting-style:translate-x-full"),children:[(0,b.jsxs)("div",{className:"flex h-14 shrink-0 items-center justify-between border-b border-slate-800 pr-2 pl-6",children:[(0,b.jsx)(h.f.Title,{className:"text-sm font-semibold",children:r("menu")}),(0,b.jsx)(i.Close,{"aria-label":r("closeMenu"),className:v,children:(0,b.jsx)(l.f,{icon:k.faXmark,className:"size-4"})})]}),(0,b.jsx)(u.default,{isAdmin:q,onNavigate:()=>w(!1)}),(0,b.jsxs)("div",{className:"flex items-center gap-2 border-t border-slate-800 p-3",children:[a,(0,b.jsx)(p.default,{})]})]})]})]})]})}],40300)},69769,a=>{"use strict";var b=a.i(87924),c=a.i(76983),d=a.i(64267),d=d,e=d,f=d,g=d,h=d,i=d,j=d,k=a.i(68830),l=a.i(75691),m=a.i(54942),n=a.i(62720),o=a.i(3650),p=a.i(45094),q=a.i(15925);let r=()=>{let a=(0,q.f)("BaseLayout"),{toasts:h}=c.f.useToastManager();return h.map(c=>{let{icon:h,className:i}=function(a){switch(a){case"loading":return{icon:m.faSpinner,className:"animate-spin text-slate-400"};case"error":return{icon:l.faCircleExclamation,className:"text-rose-400"};default:return{icon:k.faCircleCheck,className:"text-emerald-400"}}}(c.type);return(0,b.jsx)(d.Root,{toast:c,className:(0,p.f)("rounded-xl border border-slate-700 bg-slate-900 shadow-2xl transition duration-200","data-starting-style:translate-y-2 data-starting-style:opacity-0","data-ending-style:translate-y-2 data-ending-style:opacity-0 data-limited:hidden"),children:(0,b.jsxs)(e.Content,{className:"flex items-center gap-3 px-4 py-3",children:[(0,b.jsx)(o.f,{icon:h,className:(0,p.f)("size-4 shrink-0",i)}),(0,b.jsx)(f.Description,{className:"min-w-0 flex-1 text-sm text-slate-200"}),(0,b.jsx)(g.Close,{"aria-label":a("dismissNotification"),className:"rounded p-1 text-slate-500 hover:text-slate-200 focus-visible:outline-2 focus-visible:outline-slate-400",children:(0,b.jsx)(o.f,{icon:n.faXmark,className:"size-3"})})]})},c.id)})};a.s(["default",0,({children:a})=>(0,b.jsxs)(h.Provider,{children:[a,(0,b.jsx)(i.Portal,{children:(0,b.jsx)(j.Viewport,{className:"fixed right-4 bottom-4 z-60 flex w-[min(22rem,calc(100vw-2rem))] flex-col gap-2",children:(0,b.jsx)(r,{})})})]})],69769)}];
|
|
1
|
+
module.exports=[80745,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d="bars",e=["navicon"],f="f0c9",g="M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z";c.definition={prefix:"fas",iconName:d,icon:[448,512,e,f,g]},c.faBars=c.definition,c.prefix="fas",c.iconName=d,c.width=448,c.height=512,c.ligatures=e,c.unicode=f,c.svgPathData=g,c.aliases=e},68830,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d="circle-check",e=[61533,"check-circle"],f="f058",g="M256 512a256 256 0 1 1 0-512 256 256 0 1 1 0 512zM374 145.7c-10.7-7.8-25.7-5.4-33.5 5.3L221.1 315.2 169 263.1c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l72 72c5 5 11.8 7.5 18.8 7s13.4-4.1 17.5-9.8L379.3 179.2c7.8-10.7 5.4-25.7-5.3-33.5z";c.definition={prefix:"fas",iconName:d,icon:[512,512,e,f,g]},c.faCircleCheck=c.definition,c.prefix="fas",c.iconName=d,c.width=512,c.height=512,c.ligatures=e,c.unicode=f,c.svgPathData=g,c.aliases=e},87052,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d="gear",e=[9881,"cog"],f="f013",g="M195.1 9.5C198.1-5.3 211.2-16 226.4-16l59.8 0c15.2 0 28.3 10.7 31.3 25.5L332 79.5c14.1 6 27.3 13.7 39.3 22.8l67.8-22.5c14.4-4.8 30.2 1.2 37.8 14.4l29.9 51.8c7.6 13.2 4.9 29.8-6.5 39.9L447 233.3c.9 7.4 1.3 15 1.3 22.7s-.5 15.3-1.3 22.7l53.4 47.5c11.4 10.1 14 26.8 6.5 39.9l-29.9 51.8c-7.6 13.1-23.4 19.2-37.8 14.4l-67.8-22.5c-12.1 9.1-25.3 16.7-39.3 22.8l-14.4 69.9c-3.1 14.9-16.2 25.5-31.3 25.5l-59.8 0c-15.2 0-28.3-10.7-31.3-25.5l-14.4-69.9c-14.1-6-27.2-13.7-39.3-22.8L73.5 432.3c-14.4 4.8-30.2-1.2-37.8-14.4L5.8 366.1c-7.6-13.2-4.9-29.8 6.5-39.9l53.4-47.5c-.9-7.4-1.3-15-1.3-22.7s.5-15.3 1.3-22.7L12.3 185.8c-11.4-10.1-14-26.8-6.5-39.9L35.7 94.1c7.6-13.2 23.4-19.2 37.8-14.4l67.8 22.5c12.1-9.1 25.3-16.7 39.3-22.8L195.1 9.5zM256.3 336a80 80 0 1 0 -.6-160 80 80 0 1 0 .6 160z";c.definition={prefix:"fas",iconName:d,icon:[512,512,e,f,g]},c.faGear=c.definition,c.prefix="fas",c.iconName=d,c.width=512,c.height=512,c.ligatures=e,c.unicode=f,c.svgPathData=g,c.aliases=e},33986,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d="right-from-bracket",e=["sign-out-alt"],f="f2f5",g="M505 273c9.4-9.4 9.4-24.6 0-33.9L361 95c-6.9-6.9-17.2-8.9-26.2-5.2S320 102.3 320 112l0 80-112 0c-26.5 0-48 21.5-48 48l0 32c0 26.5 21.5 48 48 48l112 0 0 80c0 9.7 5.8 18.5 14.8 22.2s19.3 1.7 26.2-5.2L505 273zM160 96c17.7 0 32-14.3 32-32s-14.3-32-32-32L96 32C43 32 0 75 0 128L0 384c0 53 43 96 96 96l64 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-64 0c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l64 0z";c.definition={prefix:"fas",iconName:d,icon:[512,512,e,f,g]},c.faRightFromBracket=c.definition,c.prefix="fas",c.iconName=d,c.width=512,c.height=512,c.ligatures=e,c.unicode=f,c.svgPathData=g,c.aliases=e},58165,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d="server",e=[],f="f233",g="M64 32C28.7 32 0 60.7 0 96l0 64c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-64c0-35.3-28.7-64-64-64L64 32zm216 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm56 24a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zM64 288c-35.3 0-64 28.7-64 64l0 64c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-64c0-35.3-28.7-64-64-64L64 288zm216 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm56 24a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z";c.definition={prefix:"fas",iconName:d,icon:[448,512,e,f,g]},c.faServer=c.definition,c.prefix="fas",c.iconName=d,c.width=448,c.height=512,c.ligatures=e,c.unicode=f,c.svgPathData=g,c.aliases=e},67563,a=>{"use strict";var b=a.i(87924),c=a.i(33986),d=a.i(3650),e=a.i(32886),f=a.i(15925),g=a.i(5050);let h=(0,g.createServerReference)("40982da772e3ee038e7e09aeaab1089c754f3f43eb",g.callServer,void 0,g.findSourceMapURL,"logout");var i=a.i(99570);a.s(["default",0,()=>{let a=(0,f.f)("BaseLayout"),g=(0,e.X)();return(0,b.jsx)("form",{action:()=>h(g),className:"ml-auto shrink-0",children:(0,b.jsx)(i.f,{type:"submit",variant:"ghost",size:"sm","aria-label":a("logout"),title:a("logout"),className:"size-10 justify-center p-0 text-slate-400 hover:bg-slate-800/60 hover:text-rose-400",children:(0,b.jsx)(d.f,{icon:c.faRightFromBracket,className:"size-4"})})})}],67563)},42912,a=>{"use strict";var b=a.i(87924),c=a.i(87052),d=a.i(58165),e=a.i(3650),f=a.i(45094),g=a.i(15925),h=a.i(72131),i=a.i(74994);let j=[{href:"/services",label:"nav.services",icon:d.faServer}],k=[{href:"/settings",label:"nav.settings",icon:c.faGear}],l=({href:a,label:c,icon:d,pathname:h,onNavigate:j})=>{let k=(0,g.f)("BaseLayout"),l=h===a,m=l||h.startsWith(`${a}/`);return(0,b.jsxs)(i.L,{href:a,onClick:j,"aria-current":l?"page":m||void 0,className:(0,f.f)("flex h-10 items-center gap-3 rounded-lg px-3 text-sm font-medium transition-colors","focus-visible:outline-2 focus-visible:outline-slate-500",m?"bg-slate-800 text-white":"text-slate-400 hover:bg-slate-800/60 hover:text-slate-100"),children:[(0,b.jsx)(e.f,{icon:d,className:"size-4"}),(0,b.jsx)("span",{children:k(c)})]})},m=({isAdmin:a,...c})=>(0,h.use)(a)?k.map(a=>(0,b.jsx)(l,{...a,...c},a.href)):null,n=({isAdmin:a,...c})=>{let d=(0,g.f)("BaseLayout");return(0,b.jsxs)("nav",{"aria-label":d("nav.label"),className:"flex flex-1 flex-col gap-1 overflow-y-auto p-3",children:[j.map(a=>(0,b.jsx)(l,{...a,...c},a.href)),(0,b.jsx)(h.Suspense,{fallback:null,children:(0,b.jsx)(m,{isAdmin:a,...c})})]})},o=a=>(0,b.jsx)(n,{pathname:(0,i.x)(),...a});a.s(["default",0,a=>(0,b.jsx)(h.Suspense,{fallback:(0,b.jsx)(n,{pathname:"",...a}),children:(0,b.jsx)(o,{...a})})])},40300,a=>{"use strict";var b=a.i(87924),c=a.i(40197),d=a.i(17953),d=d,e=a.i(21341),f=a.i(68758),g=a.i(5358),h=a.i(49867),i=d,j=a.i(80745),k=a.i(62720),l=a.i(3650),m=a.i(45094),n=a.i(15925),o=a.i(72131),p=a.i(67563),q=a.i(67161),q=q;let r={src:a.i(52706).default,width:800,height:800,blurWidth:8,blurHeight:8,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAA70lEQVR42j1Pu2qEUBS89W6fzc8ovhAEwcLKQhBRtFFxIdX+g43fkIdYWFj5qLKNgv6BooWFCn6ANifeQHLgDMNMMTMInXe9Xl9Zln34vv/Ej/nlcrlhD53kxbbtzzzPj6ZpoG1byLLssCzrHXuIJMl7URT7uq5Q1zVUVQXLskBZljtBEHfkum7e9z1s2wZJkkAURTDPM4zjCJ7n5eiEchgGmKYJwjCEIAig6zrAmuM4OaJp+i1N012WZRBFESRJAo7jII7jHcfjkjdd179UVT14ngdBEEBRlEPTtI/fkn8zGYZ5mKb5bRjGk6Ko/5k/dFKCXEMFqaIAAAAASUVORK5CYII="};var s=a.i(74994);let t=()=>(0,b.jsxs)(s.L,{href:"/",className:"flex items-center gap-3 rounded-lg focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-slate-500",children:[(0,b.jsx)("span",{className:"size-8 shrink-0 overflow-hidden rounded-full bg-white",children:(0,b.jsx)(q.Image,{src:r,alt:"",width:64,height:64,className:"size-full scale-130"})}),(0,b.jsx)("span",{className:"text-base font-semibold tracking-tight text-slate-100",children:"Buttler"})]});var u=a.i(42912);let v=(0,m.f)("flex size-10 items-center justify-center rounded-lg text-slate-400 transition-colors","hover:bg-slate-800/60 hover:text-slate-100","focus-visible:outline-2 focus-visible:outline-slate-500");a.s(["default",0,({currentUser:a,isAdmin:q})=>{let r=(0,n.f)("BaseLayout"),[s,w]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{let a=window.matchMedia("(width >= 64rem)"),b=()=>{a.matches&&w(!1)};return a.addEventListener("change",b),()=>a.removeEventListener("change",b)},[]),(0,b.jsxs)("header",{className:(0,m.f)("sticky top-0 z-30 flex h-14 items-center justify-between pr-2 pl-4 lg:hidden","border-b border-slate-800 bg-slate-950/90 backdrop-blur-md"),children:[(0,b.jsx)(t,{}),(0,b.jsxs)(c.f.Root,{open:s,onOpenChange:w,children:[(0,b.jsx)(d.Trigger,{"aria-label":r("openMenu"),className:v,children:(0,b.jsx)(l.f,{icon:j.faBars,className:"size-4"})}),(0,b.jsxs)(e.f.Portal,{children:[(0,b.jsx)(f.f.Backdrop,{className:(0,m.f)("fixed inset-0 z-40 bg-slate-950/70 backdrop-blur-xs transition-opacity duration-200 lg:hidden","data-ending-style:opacity-0 data-starting-style:opacity-0")}),(0,b.jsxs)(g.f.Popup,{className:(0,m.f)("fixed inset-y-0 right-0 z-50 flex w-72 max-w-[85vw] flex-col lg:hidden","border-l border-slate-800 bg-slate-900 text-slate-100","transition-transform duration-200 ease-out motion-reduce:transition-none","data-ending-style:translate-x-full data-starting-style:translate-x-full"),children:[(0,b.jsxs)("div",{className:"flex h-14 shrink-0 items-center justify-between border-b border-slate-800 pr-2 pl-6",children:[(0,b.jsx)(h.f.Title,{className:"text-sm font-semibold",children:r("menu")}),(0,b.jsx)(i.Close,{"aria-label":r("closeMenu"),className:v,children:(0,b.jsx)(l.f,{icon:k.faXmark,className:"size-4"})})]}),(0,b.jsx)(u.default,{isAdmin:q,onNavigate:()=>w(!1)}),(0,b.jsxs)("div",{className:"flex items-center gap-2 border-t border-slate-800 p-3",children:[a,(0,b.jsx)(p.default,{})]})]})]})]})]})}],40300)},69769,a=>{"use strict";var b=a.i(87924),c=a.i(76983),d=a.i(64267),d=d,e=d,f=d,g=d,h=d,i=d,j=d,k=a.i(68830),l=a.i(75691),m=a.i(54942),n=a.i(62720),o=a.i(3650),p=a.i(45094),q=a.i(15925);let r=()=>{let a=(0,q.f)("BaseLayout"),{toasts:h}=c.f.useToastManager();return h.map(c=>{let{icon:h,className:i}=function(a){switch(a){case"loading":return{icon:m.faSpinner,className:"animate-spin text-slate-400"};case"error":return{icon:l.faCircleExclamation,className:"text-rose-400"};default:return{icon:k.faCircleCheck,className:"text-emerald-400"}}}(c.type);return(0,b.jsx)(d.Root,{toast:c,className:(0,p.f)("rounded-xl border border-slate-700 bg-slate-900 shadow-2xl transition duration-200","data-starting-style:translate-y-2 data-starting-style:opacity-0","data-ending-style:translate-y-2 data-ending-style:opacity-0 data-limited:hidden"),children:(0,b.jsxs)(e.Content,{className:"flex items-center gap-3 px-4 py-3",children:[(0,b.jsx)(o.f,{icon:h,className:(0,p.f)("size-4 shrink-0",i)}),(0,b.jsx)(f.Description,{className:"min-w-0 flex-1 text-sm text-slate-200"}),(0,b.jsx)(g.Close,{"aria-label":a("dismissNotification"),className:"rounded p-1 text-slate-500 hover:text-slate-200 focus-visible:outline-2 focus-visible:outline-slate-400",children:(0,b.jsx)(o.f,{icon:n.faXmark,className:"size-3"})})]})},c.id)})};a.s(["default",0,({children:a})=>(0,b.jsxs)(h.Provider,{children:[a,(0,b.jsx)(i.Portal,{children:(0,b.jsx)(j.Viewport,{className:"fixed right-4 bottom-4 z-60 flex w-[min(22rem,calc(100vw-2rem))] flex-col gap-2",children:(0,b.jsx)(r,{})})})]})],69769)}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=_1jvwyvy2mdunl._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[99882,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d="plus",e=[10133,61543,"add"],f="M256 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 160-160 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l160 0 0 160c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160 160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0 0-160z";c.definition={prefix:"fas",iconName:d,icon:[448,512,e,"2b",f]},c.faPlus=c.definition,c.prefix="fas",c.iconName=d,c.width=448,c.height=512,c.ligatures=e,c.unicode="2b",c.svgPathData=f,c.aliases=e},61293,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d="server",e=[],f="f233",g="M64 32C28.7 32 0 60.7 0 96l0 64c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-64c0-35.3-28.7-64-64-64L64 32zm216 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm56 24a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zM64 288c-35.3 0-64 28.7-64 64l0 64c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-64c0-35.3-28.7-64-64-64L64 288zm216 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm56 24a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z";c.definition={prefix:"fas",iconName:d,icon:[448,512,e,f,g]},c.faServer=c.definition,c.prefix="fas",c.iconName=d,c.width=448,c.height=512,c.ligatures=e,c.unicode=f,c.svgPathData=g,c.aliases=e},66526,a=>{"use strict";let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/node_modules/@omer-x/tailwind-ui-kit/dist/components/button/PulseButton.js from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@omer-x/tailwind-ui-kit/dist/components/button/PulseButton.js","default");a.s(["default",0,b])},32487,a=>{"use strict";var b=a.i(66526);a.n(b)},37233,a=>{"use strict";var b=a.i(7997),c=a.i(99882),d=a.i(61293),e=a.i(62791),f=a.i(38904),g=a.i(21684);a.s(["f",0,({title:a,description:h,actionLabel:i})=>(0,b.jsxs)("div",{className:"flex flex-col items-center justify-center rounded-2xl border border-dashed border-slate-800 bg-slate-900/40 px-6 py-16 text-center",children:[(0,b.jsx)("div",{className:"flex size-14 items-center justify-center rounded-2xl border border-slate-800 bg-slate-900 shadow-inner",children:(0,b.jsx)(e.f,{icon:d.faServer,className:"size-6 text-slate-400"})}),(0,b.jsx)("h3",{className:"mt-4 text-base font-semibold text-slate-100",children:a}),(0,b.jsx)("p",{className:"mt-1.5 max-w-sm text-sm text-slate-400",children:h}),(0,b.jsx)("div",{className:"mt-6",children:(0,b.jsx)(g.L,{href:"/services/new",children:(0,b.jsxs)(f.f,{variant:"primary",size:"sm",className:"gap-2",children:[(0,b.jsx)(e.f,{icon:c.faPlus,className:"size-3"}),(0,b.jsx)("span",{children:i})]})})})]})])},38904,a=>{"use strict";var b=a.i(7997),c=a.i(43679),d=a.i(62791);a.i(717);var e=a.i(86164),f=a.i(32487),g=({size:a="md",pending:g=!1,disabled:h,focusableWhenDisabled:i,className:j,children:k,...l})=>(0,b.jsxs)(f.default,{...l,className:(0,e.f)({"h-12 px-5 text-base leading-7 gap-3":"lg"===a,"h-10 px-4 text-sm leading-6 gap-3":"md"===a,"h-9 px-3 text-sm leading-5 gap-2":"sm"===a,"h-8 px-2.5 text-xs leading-4 gap-2":"xs"===a},["relative","flex items-center justify-center","rounded-md","font-medium","select-none","outline-0","transition-colors","focus-visible:outline-2","focus-visible:outline-offset-2","cursor-pointer","data-disabled:cursor-default"],j),disabled:h,focusableWhenDisabled:g||i,children:[g&&(0,b.jsx)(d.f,{icon:c.faSpinner,size:"lg",className:"fa-spin-pulse"}),k]});let h={primary:(0,e.f)("bg-slate-100 text-slate-950 font-semibold shadow-xs","hover:bg-white active:bg-slate-200","focus-visible:outline-slate-400","disabled:bg-slate-800 disabled:text-slate-500 disabled:cursor-not-allowed"),secondary:(0,e.f)("bg-slate-800 text-slate-100 border border-slate-700 font-medium shadow-xs","hover:bg-slate-700 hover:border-slate-600 active:bg-slate-800","focus-visible:outline-slate-500","disabled:bg-slate-900 disabled:text-slate-600 disabled:border-slate-800 disabled:cursor-not-allowed"),outline:(0,e.f)("border border-slate-700 text-slate-200 font-medium","hover:bg-slate-800/80 hover:text-white hover:border-slate-600 active:bg-slate-800","focus-visible:outline-slate-500","disabled:border-slate-800 disabled:text-slate-600 disabled:cursor-not-allowed"),ghost:(0,e.f)("text-slate-300 font-medium","hover:bg-slate-800/60 hover:text-white active:bg-slate-800","focus-visible:outline-slate-500","disabled:text-slate-600 disabled:cursor-not-allowed"),danger:(0,e.f)("bg-rose-600 text-white font-semibold shadow-xs","hover:bg-rose-500 active:bg-rose-700","focus-visible:outline-rose-400","disabled:bg-rose-950/60 disabled:text-rose-800 disabled:cursor-not-allowed")};a.s(["f",0,({variant:a="primary",className:c,...d})=>(0,b.jsx)(g,{className:(0,e.f)(h[a],c),...d})],38904)}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=_1rtp67myolpxl._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[8260,a=>{"use strict";var b=a.i(54757);a.s(["f",0,b])},18683,a=>{"use strict";var b=a.i(4707),c=a.i(58388);async function d(a,b,c){let d=new Headers(c?.headers);return d.set("Authorization",`Bearer ${b}`),c?.body&&d.set("Content-Type","application/json"),await fetch(`https://api.cloudflare.com/client/v4${a}`,{...c,headers:d,signal:AbortSignal.timeout(3e4)})}async function e(a,e){let f=await (0,b.e)(),g=await d(a,f,e);if((401===g.status||403===g.status)&&(g=await d(a,await (0,b.e)(f),e)),!g.ok){let a=await g.json().catch(()=>null),b=a?.errors?.map(({code:a,message:b})=>`${b} (${a})`).join(", ");throw new c.F(b||`The Cloudflare API responded with status ${g.status}`,g.status)}return await g.json()}a.s(["f",0,e])},4707,58388,68279,a=>{"use strict";var b=a.i(83476),c=a.i(75553),d=a.i(93321),e=a.i(65661),f=a.i(8260),g=a.i(62512),h=a.i(55824);let i="cloudflare_connection";async function j(a){let b=await a.query.settings.findFirst({where:{key:i}});if(!b)return{state:"disconnected"};try{let a=JSON.parse((0,g.w)(b.value,i)),c=f.f.nullable(h.H).parse(a);return c?{state:"connected",tokens:c}:{state:"lost"}}catch{return{state:"lost"}}}async function k(a){await a.delete(e.settings).where((0,d.u)(e.settings.key,i))}async function l(a,b){let c=(0,g.E)(JSON.stringify(b),i);await a.insert(e.settings).values({key:i,value:c}).onConflictDoUpdate({target:e.settings.key,set:{value:c}})}class m extends Error{constructor(a="Cloudflare is not connected"){super(a),this.name="CloudflareConnectionError"}}class n extends Error{status;constructor(a,b){super(a),this.name="CloudflareApiError",this.status=b}}function o(a){return a instanceof Error&&"CloudflareConnectionError"===a.name}a.s(["F",0,n,"r",0,m,"E",0,function(a){return a instanceof Error&&"CloudflareApiError"===a.name},"l",0,o],58388);var p=a.i(66680),q=a.i(39791),r=a.i(61482),s=a.i(1535);let t="da30b553ee59ff299ad39d51e3cdf91f",u=["zone.read","dns.write","teams-connector-cloudflared.write","offline_access"],v="https://dash.cloudflare.com/oauth2",w=q.f.object({access_token:r.f.string().min(1),refresh_token:r.f.string().min(1),expires_in:s.f.number()}),x=q.f.object({error:r.f.string()});function y(){return p.default.randomBytes(32).toString("base64url")}async function z(a,b){return await fetch(`${v}/${a}`,{method:"POST",body:new URLSearchParams({client_id:t,...b}),signal:AbortSignal.timeout(3e4)})}async function A(a){let b=await z("token",a),c=await b.json().catch(()=>null);if(!b.ok){let{data:a}=x.safeParse(c);if(a?.error==="invalid_grant")throw new m("Cloudflare doesn't accept the credentials");throw new n(`Cloudflare rejected the token request (${a?.error??"unknown error"})`,b.status)}let{data:d}=w.safeParse(c);if(!d)throw new n("Cloudflare returned an unknown token response",b.status);return{accessToken:d.access_token,refreshToken:d.refresh_token,expiresAt:Date.now()+1e3*d.expires_in}}function B(a){return A({grant_type:"refresh_token",refresh_token:a})}async function C(a){let b=await z("revoke",{token:a});if(!b.ok)throw new n("Cloudflare couldn't revoke the token",b.status)}async function D({accessToken:a,refreshToken:b}){await C(b),await C(a)}a.s(["q",0,function(){let a=y(),b=y(),c=new URL(`${v}/auth`);return c.search=new URLSearchParams({response_type:"code",client_id:t,redirect_uri:"http://localhost:7777/auth/cloudflare",scope:u.join(" "),state:a,code_challenge:p.default.createHash("sha256").update(b).digest("base64url"),code_challenge_method:"S256"}).toString(),{url:c.toString(),state:a,verifier:b}},"U",0,B,"g",0,D],68279);let E=(0,b.f)("cloudflare-connection-queue");async function F({refreshToken:a}){try{let b=await B(a);return await l(c.f,b),b}catch(a){throw o(a)&&await l(c.f,null),a}}async function G(){let{state:a}=await j(c.f);return a}a.s(["y",0,function(){return E(async()=>{let a=await j(c.f);"connected"===a.state&&await D(a.tokens),await k(c.f)})},"e",0,function(a){return E(async()=>{let b=await j(c.f);if("connected"!==b.state)throw new m;let{tokens:d}=b;if(d.accessToken!==a&&d.expiresAt-6e4>Date.now())return d.accessToken;let{accessToken:e}=await F(d);return e})},"x",0,G],4707)},8024,35025,a=>{"use strict";var b=a.i(75553),c=a.i(36132),d=a.i(66631),e=a.i(18683),f=a.i(58388);let g="Managed by Buttler",h=["A","AAAA","CNAME"];function i(a,b){return`/zones/${a}/dns_records${void 0===b?"":`/${b}`}`}function j(a){return`${a}.cfargotunnel.com`}function k(a,b){return{type:"CNAME",name:a,content:j(b),proxied:!0,comment:g}}function l({type:a,content:b,proxied:c},d){return"CNAME"===a&&b===j(d)&&!0===c}async function m(a,b){let c=new URLSearchParams([["name.exact",b],["per_page","100"]]),{result:d}=await (0,e.f)(`${i(a)}?${c}`);return d.filter(({name:a,type:c})=>a.toLowerCase()===b&&h.includes(c))}async function n(a,b,c){let{result:d}=await (0,e.f)(i(a),{method:"POST",body:JSON.stringify(k(b,c))});return d.id}async function o(a,b,c,d){let{result:f}=await (0,e.f)(`${i(a)}/batch`,{method:"POST",body:JSON.stringify({deletes:b.map(({id:a})=>({id:a})),posts:[k(c,d)]})});return f.posts[0].id}async function p(a,b,c,d){await (0,e.f)(i(a,b),{method:"PATCH",body:JSON.stringify(k(c,d))})}async function q(a,b){try{await (0,e.f)(i(a,b),{method:"DELETE"})}catch(a){if(!(0,f.E)(a)||404!==a.status)throw a}}async function r(){for(let{hostname:a,zoneId:e,recordId:g}of(await (0,d.f)(b.f))){if(null!==e&&null!==g)try{await q(e,g)}catch(a){if(!(0,f.E)(a)||403!==a.status)throw a;continue}await (0,c.f)(b.f,a)}}async function s(){let a=[],b=1;for(let c=1;c<=b;c++){let d=new URLSearchParams({page:`${c}`,per_page:"50",order:"name"}),{result:f,result_info:g}=await (0,e.f)(`/zones?${d}`);a.push(...f.map(({id:a,name:b,account:c})=>({id:a,name:b,accountId:c.id,accountName:c.name}))),b=g?.total_pages??1}return a}a.s(["Y",0,n,"A",0,r,"l",0,q,"H",0,function(a){return a.map(({type:a,content:b})=>`${a} ${b}`).sort().join(", ")},"j",0,m,"S",0,l,"p",0,function(a,b){return l(a,b)&&a.comment===g},"e",0,o,"d",0,p],8024),a.s(["f",0,s],35025)},
|
|
1
|
+
module.exports=[8260,a=>{"use strict";var b=a.i(54757);a.s(["f",0,b])},18683,a=>{"use strict";var b=a.i(4707),c=a.i(58388);async function d(a,b,c){let d=new Headers(c?.headers);return d.set("Authorization",`Bearer ${b}`),c?.body&&d.set("Content-Type","application/json"),await fetch(`https://api.cloudflare.com/client/v4${a}`,{...c,headers:d,signal:AbortSignal.timeout(3e4)})}async function e(a,e){let f=await (0,b.e)(),g=await d(a,f,e);if((401===g.status||403===g.status)&&(g=await d(a,await (0,b.e)(f),e)),!g.ok){let a=await g.json().catch(()=>null),b=a?.errors?.map(({code:a,message:b})=>`${b} (${a})`).join(", ");throw new c.F(b||`The Cloudflare API responded with status ${g.status}`,g.status)}return await g.json()}a.s(["f",0,e])},4707,58388,68279,a=>{"use strict";var b=a.i(83476),c=a.i(75553),d=a.i(93321),e=a.i(65661),f=a.i(8260),g=a.i(62512),h=a.i(55824);let i="cloudflare_connection";async function j(a){let b=await a.query.settings.findFirst({where:{key:i}});if(!b)return{state:"disconnected"};try{let a=JSON.parse((0,g.w)(b.value,i)),c=f.f.nullable(h.H).parse(a);return c?{state:"connected",tokens:c}:{state:"lost"}}catch{return{state:"lost"}}}async function k(a){await a.delete(e.settings).where((0,d.u)(e.settings.key,i))}async function l(a,b){let c=(0,g.E)(JSON.stringify(b),i);await a.insert(e.settings).values({key:i,value:c}).onConflictDoUpdate({target:e.settings.key,set:{value:c}})}class m extends Error{constructor(a="Cloudflare is not connected"){super(a),this.name="CloudflareConnectionError"}}class n extends Error{status;constructor(a,b){super(a),this.name="CloudflareApiError",this.status=b}}function o(a){return a instanceof Error&&"CloudflareConnectionError"===a.name}a.s(["F",0,n,"r",0,m,"E",0,function(a){return a instanceof Error&&"CloudflareApiError"===a.name},"l",0,o],58388);var p=a.i(66680),q=a.i(39791),r=a.i(61482),s=a.i(1535);let t="da30b553ee59ff299ad39d51e3cdf91f",u=["zone.read","dns.write","teams-connector-cloudflared.write","offline_access"],v="https://dash.cloudflare.com/oauth2",w=q.f.object({access_token:r.f.string().min(1),refresh_token:r.f.string().min(1),expires_in:s.f.number()}),x=q.f.object({error:r.f.string()});function y(){return p.default.randomBytes(32).toString("base64url")}async function z(a,b){return await fetch(`${v}/${a}`,{method:"POST",body:new URLSearchParams({client_id:t,...b}),signal:AbortSignal.timeout(3e4)})}async function A(a){let b=await z("token",a),c=await b.json().catch(()=>null);if(!b.ok){let{data:a}=x.safeParse(c);if(a?.error==="invalid_grant")throw new m("Cloudflare doesn't accept the credentials");throw new n(`Cloudflare rejected the token request (${a?.error??"unknown error"})`,b.status)}let{data:d}=w.safeParse(c);if(!d)throw new n("Cloudflare returned an unknown token response",b.status);return{accessToken:d.access_token,refreshToken:d.refresh_token,expiresAt:Date.now()+1e3*d.expires_in}}function B(a){return A({grant_type:"refresh_token",refresh_token:a})}async function C(a){let b=await z("revoke",{token:a});if(!b.ok)throw new n("Cloudflare couldn't revoke the token",b.status)}async function D({accessToken:a,refreshToken:b}){await C(b),await C(a)}a.s(["q",0,function(){let a=y(),b=y(),c=new URL(`${v}/auth`);return c.search=new URLSearchParams({response_type:"code",client_id:t,redirect_uri:"http://localhost:7777/auth/cloudflare",scope:u.join(" "),state:a,code_challenge:p.default.createHash("sha256").update(b).digest("base64url"),code_challenge_method:"S256"}).toString(),{url:c.toString(),state:a,verifier:b}},"U",0,B,"g",0,D],68279);let E=(0,b.f)("cloudflare-connection-queue");async function F({refreshToken:a}){try{let b=await B(a);return await l(c.f,b),b}catch(a){throw o(a)&&await l(c.f,null),a}}async function G(){let{state:a}=await j(c.f);return a}a.s(["y",0,function(){return E(async()=>{let a=await j(c.f);"connected"===a.state&&await D(a.tokens),await k(c.f)})},"e",0,function(a){return E(async()=>{let b=await j(c.f);if("connected"!==b.state)throw new m;let{tokens:d}=b;if(d.accessToken!==a&&d.expiresAt-6e4>Date.now())return d.accessToken;let{accessToken:e}=await F(d);return e})},"x",0,G],4707)},8024,35025,a=>{"use strict";var b=a.i(75553),c=a.i(36132),d=a.i(66631),e=a.i(18683),f=a.i(58388);let g="Managed by Buttler",h=["A","AAAA","CNAME"];function i(a,b){return`/zones/${a}/dns_records${void 0===b?"":`/${b}`}`}function j(a){return`${a}.cfargotunnel.com`}function k(a,b){return{type:"CNAME",name:a,content:j(b),proxied:!0,comment:g}}function l({type:a,content:b,proxied:c},d){return"CNAME"===a&&b===j(d)&&!0===c}async function m(a,b){let c=new URLSearchParams([["name.exact",b],["per_page","100"]]),{result:d}=await (0,e.f)(`${i(a)}?${c}`);return d.filter(({name:a,type:c})=>a.toLowerCase()===b&&h.includes(c))}async function n(a,b,c){let{result:d}=await (0,e.f)(i(a),{method:"POST",body:JSON.stringify(k(b,c))});return d.id}async function o(a,b,c,d){let{result:f}=await (0,e.f)(`${i(a)}/batch`,{method:"POST",body:JSON.stringify({deletes:b.map(({id:a})=>({id:a})),posts:[k(c,d)]})});return f.posts[0].id}async function p(a,b,c,d){await (0,e.f)(i(a,b),{method:"PATCH",body:JSON.stringify(k(c,d))})}async function q(a,b){try{await (0,e.f)(i(a,b),{method:"DELETE"})}catch(a){if(!(0,f.E)(a)||404!==a.status)throw a}}async function r(){for(let{hostname:a,zoneId:e,recordId:g}of(await (0,d.f)(b.f))){if(null!==e&&null!==g)try{await q(e,g)}catch(a){if(!(0,f.E)(a)||403!==a.status)throw a;continue}await (0,c.f)(b.f,a)}}async function s(){let a=[],b=1;for(let c=1;c<=b;c++){let d=new URLSearchParams({page:`${c}`,per_page:"50",order:"name"}),{result:f,result_info:g}=await (0,e.f)(`/zones?${d}`);a.push(...f.map(({id:a,name:b,account:c})=>({id:a,name:b,accountId:c.id,accountName:c.name}))),b=g?.total_pages??1}return a}a.s(["Y",0,n,"A",0,r,"l",0,q,"H",0,function(a){return a.map(({type:a,content:b})=>`${a} ${b}`).sort().join(", ")},"j",0,m,"S",0,l,"p",0,function(a,b){return l(a,b)&&a.comment===g},"e",0,o,"d",0,p],8024),a.s(["f",0,s],35025)},55824,1535,a=>{"use strict";var b=a.i(39791),c=a.i(61482),d=a.i(54757);a.s(["f",0,d],1535);var d=d;let e=b.f.object({accessToken:c.f.string().min(1),refreshToken:c.f.string().min(1),expiresAt:d.number()}).describe("Represents the credentials of the connected Cloudflare account"),f=b.f.object({id:c.f.string().min(1),accountId:c.f.string().min(1),token:c.f.string().min(1).nullable()}).describe("Represents the tunnel that Buttler has created in the connected Cloudflare account");a.s(["H",0,e,"E",0,f],55824)},36132,a=>{"use strict";var b=a.i(93321),c=a.i(44943);async function d(a,d){await a.delete(c.dnsRecords).where((0,b.u)(c.dnsRecords.hostname,d))}a.s(["f",0,d])},55610,a=>{"use strict";var b=a.i(93321),c=a.i(43678);async function d(a,d){let[e]=await a.delete(c.services).where((0,b.u)(c.services.id,d)).returning();return e}a.s(["f",0,d])},86409,a=>{"use strict";var b=a.i(62512),c=a.i(55824);let d="cloudflare_tunnel";async function e(a){let e=await a.query.settings.findFirst({where:{key:d}});if(!e)return null;try{return c.E.parse(JSON.parse((0,b.w)(e.value,d)))}catch{return null}}a.s(["B",0,d,"U",0,e])},66631,a=>{"use strict";a.s(["f",0,function(a){return a.query.dnsRecords.findMany({orderBy:{hostname:"asc"}})}])}];
|
|
2
2
|
|
|
3
|
-
//# sourceMappingURL=
|
|
3
|
+
//# sourceMappingURL=_1u8kexnz9q33-._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[8260,a=>{"use strict";var b=a.i(54757);a.s(["f",0,b])},18683,a=>{"use strict";var b=a.i(4707),c=a.i(58388);async function d(a,b,c){let d=new Headers(c?.headers);return d.set("Authorization",`Bearer ${b}`),c?.body&&d.set("Content-Type","application/json"),await fetch(`https://api.cloudflare.com/client/v4${a}`,{...c,headers:d,signal:AbortSignal.timeout(3e4)})}async function e(a,e){let f=await (0,b.e)(),g=await d(a,f,e);if((401===g.status||403===g.status)&&(g=await d(a,await (0,b.e)(f),e)),!g.ok){let a=await g.json().catch(()=>null),b=a?.errors?.map(({code:a,message:b})=>`${b} (${a})`).join(", ");throw new c.F(b||`The Cloudflare API responded with status ${g.status}`,g.status)}return await g.json()}a.s(["f",0,e])},4707,58388,68279,a=>{"use strict";var b=a.i(83476),c=a.i(75553),d=a.i(93321),e=a.i(65661),f=a.i(8260),g=a.i(62512),h=a.i(55824);let i="cloudflare_connection";async function j(a){let b=await a.query.settings.findFirst({where:{key:i}});if(!b)return{state:"disconnected"};try{let a=JSON.parse((0,g.w)(b.value,i)),c=f.f.nullable(h.H).parse(a);return c?{state:"connected",tokens:c}:{state:"lost"}}catch{return{state:"lost"}}}async function k(a){await a.delete(e.settings).where((0,d.u)(e.settings.key,i))}async function l(a,b){let c=(0,g.E)(JSON.stringify(b),i);await a.insert(e.settings).values({key:i,value:c}).onConflictDoUpdate({target:e.settings.key,set:{value:c}})}class m extends Error{constructor(a="Cloudflare is not connected"){super(a),this.name="CloudflareConnectionError"}}class n extends Error{status;constructor(a,b){super(a),this.name="CloudflareApiError",this.status=b}}function o(a){return a instanceof Error&&"CloudflareConnectionError"===a.name}a.s(["F",0,n,"r",0,m,"E",0,function(a){return a instanceof Error&&"CloudflareApiError"===a.name},"l",0,o],58388);var p=a.i(66680),q=a.i(39791),r=a.i(61482),s=a.i(1535);let t="da30b553ee59ff299ad39d51e3cdf91f",u=["zone.read","dns.write","teams-connector-cloudflared.write","offline_access"],v="https://dash.cloudflare.com/oauth2",w=q.f.object({access_token:r.f.string().min(1),refresh_token:r.f.string().min(1),expires_in:s.f.number()}),x=q.f.object({error:r.f.string()});function y(){return p.default.randomBytes(32).toString("base64url")}async function z(a,b){return await fetch(`${v}/${a}`,{method:"POST",body:new URLSearchParams({client_id:t,...b}),signal:AbortSignal.timeout(3e4)})}async function A(a){let b=await z("token",a),c=await b.json().catch(()=>null);if(!b.ok){let{data:a}=x.safeParse(c);if(a?.error==="invalid_grant")throw new m("Cloudflare doesn't accept the credentials");throw new n(`Cloudflare rejected the token request (${a?.error??"unknown error"})`,b.status)}let{data:d}=w.safeParse(c);if(!d)throw new n("Cloudflare returned an unknown token response",b.status);return{accessToken:d.access_token,refreshToken:d.refresh_token,expiresAt:Date.now()+1e3*d.expires_in}}function B(a){return A({grant_type:"refresh_token",refresh_token:a})}async function C(a){let b=await z("revoke",{token:a});if(!b.ok)throw new n("Cloudflare couldn't revoke the token",b.status)}async function D({accessToken:a,refreshToken:b}){await C(b),await C(a)}a.s(["q",0,function(){let a=y(),b=y(),c=new URL(`${v}/auth`);return c.search=new URLSearchParams({response_type:"code",client_id:t,redirect_uri:"http://localhost:7777/auth/cloudflare",scope:u.join(" "),state:a,code_challenge:p.default.createHash("sha256").update(b).digest("base64url"),code_challenge_method:"S256"}).toString(),{url:c.toString(),state:a,verifier:b}},"U",0,B,"g",0,D],68279);let E=(0,b.f)("cloudflare-connection-queue");async function F({refreshToken:a}){try{let b=await B(a);return await l(c.f,b),b}catch(a){throw o(a)&&await l(c.f,null),a}}async function G(){let{state:a}=await j(c.f);return a}a.s(["y",0,function(){return E(async()=>{let a=await j(c.f);"connected"===a.state&&await D(a.tokens),await k(c.f)})},"e",0,function(a){return E(async()=>{let b=await j(c.f);if("connected"!==b.state)throw new m;let{tokens:d}=b;if(d.accessToken!==a&&d.expiresAt-6e4>Date.now())return d.accessToken;let{accessToken:e}=await F(d);return e})},"x",0,G],4707)},8024,35025,a=>{"use strict";var b=a.i(75553),c=a.i(36132),d=a.i(66631),e=a.i(18683),f=a.i(58388);let g="Managed by Buttler",h=["A","AAAA","CNAME"];function i(a,b){return`/zones/${a}/dns_records${void 0===b?"":`/${b}`}`}function j(a){return`${a}.cfargotunnel.com`}function k(a,b){return{type:"CNAME",name:a,content:j(b),proxied:!0,comment:g}}function l({type:a,content:b,proxied:c},d){return"CNAME"===a&&b===j(d)&&!0===c}async function m(a,b){let c=new URLSearchParams([["name.exact",b],["per_page","100"]]),{result:d}=await (0,e.f)(`${i(a)}?${c}`);return d.filter(({name:a,type:c})=>a.toLowerCase()===b&&h.includes(c))}async function n(a,b,c){let{result:d}=await (0,e.f)(i(a),{method:"POST",body:JSON.stringify(k(b,c))});return d.id}async function o(a,b,c,d){let{result:f}=await (0,e.f)(`${i(a)}/batch`,{method:"POST",body:JSON.stringify({deletes:b.map(({id:a})=>({id:a})),posts:[k(c,d)]})});return f.posts[0].id}async function p(a,b,c,d){await (0,e.f)(i(a,b),{method:"PATCH",body:JSON.stringify(k(c,d))})}async function q(a,b){try{await (0,e.f)(i(a,b),{method:"DELETE"})}catch(a){if(!(0,f.E)(a)||404!==a.status)throw a}}async function r(){for(let{hostname:a,zoneId:e,recordId:g}of(await (0,d.f)(b.f))){if(null!==e&&null!==g)try{await q(e,g)}catch(a){if(!(0,f.E)(a)||403!==a.status)throw a;continue}await (0,c.f)(b.f,a)}}async function s(){let a=[],b=1;for(let c=1;c<=b;c++){let d=new URLSearchParams({page:`${c}`,per_page:"50",order:"name"}),{result:f,result_info:g}=await (0,e.f)(`/zones?${d}`);a.push(...f.map(({id:a,name:b,account:c})=>({id:a,name:b,accountId:c.id,accountName:c.name}))),b=g?.total_pages??1}return a}a.s(["Y",0,n,"A",0,r,"l",0,q,"H",0,function(a){return a.map(({type:a,content:b})=>`${a} ${b}`).sort().join(", ")},"j",0,m,"S",0,l,"p",0,function(a,b){return l(a,b)&&a.comment===g},"e",0,o,"d",0,p],8024),a.s(["f",0,s],35025)},
|
|
1
|
+
module.exports=[8260,a=>{"use strict";var b=a.i(54757);a.s(["f",0,b])},18683,a=>{"use strict";var b=a.i(4707),c=a.i(58388);async function d(a,b,c){let d=new Headers(c?.headers);return d.set("Authorization",`Bearer ${b}`),c?.body&&d.set("Content-Type","application/json"),await fetch(`https://api.cloudflare.com/client/v4${a}`,{...c,headers:d,signal:AbortSignal.timeout(3e4)})}async function e(a,e){let f=await (0,b.e)(),g=await d(a,f,e);if((401===g.status||403===g.status)&&(g=await d(a,await (0,b.e)(f),e)),!g.ok){let a=await g.json().catch(()=>null),b=a?.errors?.map(({code:a,message:b})=>`${b} (${a})`).join(", ");throw new c.F(b||`The Cloudflare API responded with status ${g.status}`,g.status)}return await g.json()}a.s(["f",0,e])},4707,58388,68279,a=>{"use strict";var b=a.i(83476),c=a.i(75553),d=a.i(93321),e=a.i(65661),f=a.i(8260),g=a.i(62512),h=a.i(55824);let i="cloudflare_connection";async function j(a){let b=await a.query.settings.findFirst({where:{key:i}});if(!b)return{state:"disconnected"};try{let a=JSON.parse((0,g.w)(b.value,i)),c=f.f.nullable(h.H).parse(a);return c?{state:"connected",tokens:c}:{state:"lost"}}catch{return{state:"lost"}}}async function k(a){await a.delete(e.settings).where((0,d.u)(e.settings.key,i))}async function l(a,b){let c=(0,g.E)(JSON.stringify(b),i);await a.insert(e.settings).values({key:i,value:c}).onConflictDoUpdate({target:e.settings.key,set:{value:c}})}class m extends Error{constructor(a="Cloudflare is not connected"){super(a),this.name="CloudflareConnectionError"}}class n extends Error{status;constructor(a,b){super(a),this.name="CloudflareApiError",this.status=b}}function o(a){return a instanceof Error&&"CloudflareConnectionError"===a.name}a.s(["F",0,n,"r",0,m,"E",0,function(a){return a instanceof Error&&"CloudflareApiError"===a.name},"l",0,o],58388);var p=a.i(66680),q=a.i(39791),r=a.i(61482),s=a.i(1535);let t="da30b553ee59ff299ad39d51e3cdf91f",u=["zone.read","dns.write","teams-connector-cloudflared.write","offline_access"],v="https://dash.cloudflare.com/oauth2",w=q.f.object({access_token:r.f.string().min(1),refresh_token:r.f.string().min(1),expires_in:s.f.number()}),x=q.f.object({error:r.f.string()});function y(){return p.default.randomBytes(32).toString("base64url")}async function z(a,b){return await fetch(`${v}/${a}`,{method:"POST",body:new URLSearchParams({client_id:t,...b}),signal:AbortSignal.timeout(3e4)})}async function A(a){let b=await z("token",a),c=await b.json().catch(()=>null);if(!b.ok){let{data:a}=x.safeParse(c);if(a?.error==="invalid_grant")throw new m("Cloudflare doesn't accept the credentials");throw new n(`Cloudflare rejected the token request (${a?.error??"unknown error"})`,b.status)}let{data:d}=w.safeParse(c);if(!d)throw new n("Cloudflare returned an unknown token response",b.status);return{accessToken:d.access_token,refreshToken:d.refresh_token,expiresAt:Date.now()+1e3*d.expires_in}}function B(a){return A({grant_type:"refresh_token",refresh_token:a})}async function C(a){let b=await z("revoke",{token:a});if(!b.ok)throw new n("Cloudflare couldn't revoke the token",b.status)}async function D({accessToken:a,refreshToken:b}){await C(b),await C(a)}a.s(["q",0,function(){let a=y(),b=y(),c=new URL(`${v}/auth`);return c.search=new URLSearchParams({response_type:"code",client_id:t,redirect_uri:"http://localhost:7777/auth/cloudflare",scope:u.join(" "),state:a,code_challenge:p.default.createHash("sha256").update(b).digest("base64url"),code_challenge_method:"S256"}).toString(),{url:c.toString(),state:a,verifier:b}},"U",0,B,"g",0,D],68279);let E=(0,b.f)("cloudflare-connection-queue");async function F({refreshToken:a}){try{let b=await B(a);return await l(c.f,b),b}catch(a){throw o(a)&&await l(c.f,null),a}}async function G(){let{state:a}=await j(c.f);return a}a.s(["y",0,function(){return E(async()=>{let a=await j(c.f);"connected"===a.state&&await D(a.tokens),await k(c.f)})},"e",0,function(a){return E(async()=>{let b=await j(c.f);if("connected"!==b.state)throw new m;let{tokens:d}=b;if(d.accessToken!==a&&d.expiresAt-6e4>Date.now())return d.accessToken;let{accessToken:e}=await F(d);return e})},"x",0,G],4707)},8024,35025,a=>{"use strict";var b=a.i(75553),c=a.i(36132),d=a.i(66631),e=a.i(18683),f=a.i(58388);let g="Managed by Buttler",h=["A","AAAA","CNAME"];function i(a,b){return`/zones/${a}/dns_records${void 0===b?"":`/${b}`}`}function j(a){return`${a}.cfargotunnel.com`}function k(a,b){return{type:"CNAME",name:a,content:j(b),proxied:!0,comment:g}}function l({type:a,content:b,proxied:c},d){return"CNAME"===a&&b===j(d)&&!0===c}async function m(a,b){let c=new URLSearchParams([["name.exact",b],["per_page","100"]]),{result:d}=await (0,e.f)(`${i(a)}?${c}`);return d.filter(({name:a,type:c})=>a.toLowerCase()===b&&h.includes(c))}async function n(a,b,c){let{result:d}=await (0,e.f)(i(a),{method:"POST",body:JSON.stringify(k(b,c))});return d.id}async function o(a,b,c,d){let{result:f}=await (0,e.f)(`${i(a)}/batch`,{method:"POST",body:JSON.stringify({deletes:b.map(({id:a})=>({id:a})),posts:[k(c,d)]})});return f.posts[0].id}async function p(a,b,c,d){await (0,e.f)(i(a,b),{method:"PATCH",body:JSON.stringify(k(c,d))})}async function q(a,b){try{await (0,e.f)(i(a,b),{method:"DELETE"})}catch(a){if(!(0,f.E)(a)||404!==a.status)throw a}}async function r(){for(let{hostname:a,zoneId:e,recordId:g}of(await (0,d.f)(b.f))){if(null!==e&&null!==g)try{await q(e,g)}catch(a){if(!(0,f.E)(a)||403!==a.status)throw a;continue}await (0,c.f)(b.f,a)}}async function s(){let a=[],b=1;for(let c=1;c<=b;c++){let d=new URLSearchParams({page:`${c}`,per_page:"50",order:"name"}),{result:f,result_info:g}=await (0,e.f)(`/zones?${d}`);a.push(...f.map(({id:a,name:b,account:c})=>({id:a,name:b,accountId:c.id,accountName:c.name}))),b=g?.total_pages??1}return a}a.s(["Y",0,n,"A",0,r,"l",0,q,"H",0,function(a){return a.map(({type:a,content:b})=>`${a} ${b}`).sort().join(", ")},"j",0,m,"S",0,l,"p",0,function(a,b){return l(a,b)&&a.comment===g},"e",0,o,"d",0,p],8024),a.s(["f",0,s],35025)},55824,1535,a=>{"use strict";var b=a.i(39791),c=a.i(61482),d=a.i(54757);a.s(["f",0,d],1535);var d=d;let e=b.f.object({accessToken:c.f.string().min(1),refreshToken:c.f.string().min(1),expiresAt:d.number()}).describe("Represents the credentials of the connected Cloudflare account"),f=b.f.object({id:c.f.string().min(1),accountId:c.f.string().min(1),token:c.f.string().min(1).nullable()}).describe("Represents the tunnel that Buttler has created in the connected Cloudflare account");a.s(["H",0,e,"E",0,f],55824)},36132,a=>{"use strict";var b=a.i(93321),c=a.i(44943);async function d(a,d){await a.delete(c.dnsRecords).where((0,b.u)(c.dnsRecords.hostname,d))}a.s(["f",0,d])},55610,a=>{"use strict";var b=a.i(93321),c=a.i(43678);async function d(a,d){let[e]=await a.delete(c.services).where((0,b.u)(c.services.id,d)).returning();return e}a.s(["f",0,d])},86409,a=>{"use strict";var b=a.i(62512),c=a.i(55824);let d="cloudflare_tunnel";async function e(a){let e=await a.query.settings.findFirst({where:{key:d}});if(!e)return null;try{return c.E.parse(JSON.parse((0,b.w)(e.value,d)))}catch{return null}}a.s(["B",0,d,"U",0,e])},66631,a=>{"use strict";a.s(["f",0,function(a){return a.query.dnsRecords.findMany({orderBy:{hostname:"asc"}})}])}];
|
|
2
2
|
|
|
3
|
-
//# sourceMappingURL=
|
|
3
|
+
//# sourceMappingURL=_1xae8y1jdr-yt._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[31124,a=>{"use strict";var b=a.i(19974),c=a.i(58382),d=a.i(90184),e=a.i(66417),f=a.i(37936),g=a.i(66680);a.i(70396);var h=a.i(73727),i=a.i(40421),j=a.i(10287),k=a.i(27954),l=a.i(66146),m=a.i(8490);async function n(a){let b=a.get("privateKeyFile");return b instanceof File&&b.size>0?(await b.text()).trim():a.get("privateKey")?.toString().trim()??""}async function o(a,b){let c;await (0,i.x)();let d=b.get("appId")?.toString().trim()??"",e=await n(b),f=b.get("clientSecret")?.toString().trim()??"",o=b.get("webhookSecret")?.toString().trim()??"";if(!/^\d+$/.test(d))return{error:"invalidAppId"};if(!e)return{error:"missingPrivateKey"};if(!function(a){try{return(0,g.createPrivateKey)(a),!0}catch{return!1}}(e))return{error:"invalidPrivateKey"};if(!f)return{error:"missingClientSecret"};let p=await (0,m.f)();if("github"!==p.step)return{error:"domainUnreachable"};try{c=await (0,j.O)(d,e)}catch(a){return{error:a instanceof k.t?"invalidCredentials":"githubUnreachable"}}if(String(c.id)!==d)return{error:"appIdMismatch"};await Promise.all([(0,l.setSetting)("github_app_id",d),(0,l.setSetting)("github_private_key",e),(0,l.setSetting)("github_client_id",c.clientId),(0,l.setSetting)("github_client_secret",f),(0,l.setSetting)("github_app_slug",c.slug),(0,l.setSetting)("github_app_domain",p.hostname),...o?[(0,l.setSetting)("github_webhook_secret",o)]:[]]),await (0,l.setSetting)("installed","true"),(0,h.redirect)("/login")}(0,a.i(13095).ensureServerEntryExports)([o]),(0,f.registerServerReference)(o,"
|
|
1
|
+
module.exports=[31124,a=>{"use strict";var b=a.i(19974),c=a.i(58382),d=a.i(90184),e=a.i(66417),f=a.i(37936),g=a.i(66680);a.i(70396);var h=a.i(73727),i=a.i(40421),j=a.i(10287),k=a.i(27954),l=a.i(66146),m=a.i(8490);async function n(a){let b=a.get("privateKeyFile");return b instanceof File&&b.size>0?(await b.text()).trim():a.get("privateKey")?.toString().trim()??""}async function o(a,b){let c;await (0,i.x)();let d=b.get("appId")?.toString().trim()??"",e=await n(b),f=b.get("clientSecret")?.toString().trim()??"",o=b.get("webhookSecret")?.toString().trim()??"";if(!/^\d+$/.test(d))return{error:"invalidAppId"};if(!e)return{error:"missingPrivateKey"};if(!function(a){try{return(0,g.createPrivateKey)(a),!0}catch{return!1}}(e))return{error:"invalidPrivateKey"};if(!f)return{error:"missingClientSecret"};let p=await (0,m.f)();if("github"!==p.step)return{error:"domainUnreachable"};try{c=await (0,j.O)(d,e)}catch(a){return{error:a instanceof k.t?"invalidCredentials":"githubUnreachable"}}if(String(c.id)!==d)return{error:"appIdMismatch"};await Promise.all([(0,l.setSetting)("github_app_id",d),(0,l.setSetting)("github_private_key",e),(0,l.setSetting)("github_client_id",c.clientId),(0,l.setSetting)("github_client_secret",f),(0,l.setSetting)("github_app_slug",c.slug),(0,l.setSetting)("github_app_domain",p.hostname),...o?[(0,l.setSetting)("github_webhook_secret",o)]:[]]),await (0,l.setSetting)("installed","true"),(0,h.redirect)("/login")}(0,a.i(13095).ensureServerEntryExports)([o]),(0,f.registerServerReference)(o,"609806a180ede028edc771411ff01e81c64164adb6",null),a.s(["609806a180ede028edc771411ff01e81c64164adb6",0,o,"7f4745bf652ac53273a3be16e6a672e995c56cc5d1",()=>c.f,"7f4c38029fe1021be73cd0fc95b784d5ae33d2948e",()=>b.r,"7f68c395f42dbab13f590f9136f59dfa3c3a788527",()=>e.A,"7f78477937447b3e24be1391a2c80f98c7026eaaf8",()=>b.U,"7f7b3d55136eacf2a08f12c6bb3f71c59164ed238c",()=>e.$,"7f98edd2d5321ef2d0e09823039ebc6720f0de513b",()=>b.k,"7fd061cb1e35ca5e0efeb7f728f9333ad7ed32166d",()=>d.J,"7fdd38ca9485e8cc80c4ec2629e54c273fb408f428",()=>d.b,"7fec7b638eed02c4f2ee1b4e8bf39da29d95c8f585",()=>e.r,"7ff02a9f0053e010f49329f6b30e0bbc729dad07d9",()=>e.Q],31124)}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=_next-internal_server_app_%5Blocale%5D_%28auth%29_install_page_actions_0q608mh34etxn.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[40965,(a,b,c)=>{b.exports=JSON.parse('{"HomePage":{"title":"Buttler"},"LoginPage":{"title":"Sign in to Buttler","description":"Authenticate with your GitHub account to continue.","continueWithGitHub":"Continue with GitHub","setupRequired":{"title":"Setup Required","description":"GitHub App configuration is missing. Please complete the setup to configure GitHub OAuth credentials.","button":"Go to Setup"},"errors":{"github":"GitHub authentication failed. Please try again.","access_denied":"Access was denied by GitHub. Please authorize the application to proceed.","not_allowed":"Your GitHub account doesn\'t have access to this Buttler instance. Ask its admin to let you in.","missing_code":"Authorization code was missing. Please try again.","default":"An error occurred during authentication. Please try again.","setup_link":"This Buttler instance doesn\'t have an admin yet. Open the link that buttler start prints, and log in again."}},"AccessPage":{"unauthorized":{"title":"You are not signed in","description":"Sign in to see this page.","link":"Go to the login page"},"forbidden":{"title":"Access denied","description":"Your GitHub account doesn\'t have access to this page.","link":"Back to services"}},"InstallPage":{"title":"Install Buttler","description":"Set up your GitHub App in one click, or enter your credentials manually below.","orManual":"Or configure manually","manifest":{"appNameLabel":"GitHub App Name","organizationLabel":"GitHub Organization","organizationPlaceholder":"e.g. acme-corp (optional)","organizationHelp":"Leave blank to create the app under your personal account.","publicLabel":"Make the app public","publicHelp":"Public apps can be installed on any GitHub account or organization. Private apps can only be installed on the account that owns them.","submit":"Create GitHub App"},"manual":{"setupUrlHint":"In your GitHub App settings (General → Post installation), set <strong>Setup URL</strong> to the address below and enable <strong>Redirect on update</strong>. Otherwise GitHub won\'t send you back to Buttler after installation.","setupUrlLabel":"Setup URL","appIdLabel":"GitHub App ID","appIdPlaceholder":"e.g. 123456","privateKeyLabel":"Private Key","privateKeyPlaceholder":"-----BEGIN RSA PRIVATE KEY-----","privateKeyFileLabel":"Upload private key (.pem)","privateKeyHelp":"Paste the PEM contents or upload the .pem file generated in your GitHub App settings.","clientSecretLabel":"GitHub App Client Secret","clientSecretPlaceholder":"••••••••••••••••••••••••••••••••","webhookSecretLabel":"Webhook Secret (optional)","webhookSecretPlaceholder":"Leave blank if webhooks are not configured","submit":"Complete Installation","submitting":"Verifying credentials…","errors":{"invalidAppId":"App ID must be a number.","missingPrivateKey":"Please paste or upload the private key.","invalidPrivateKey":"The private key is not a valid PEM.","missingClientSecret":"Please enter the client secret.","invalidCredentials":"GitHub rejected the App ID and private key. Check that they belong to the same app.","appIdMismatch":"The private key belongs to a different GitHub App.","githubUnreachable":"Could not reach GitHub to verify the credentials. Please try again.","domainUnreachable":"The domain is not reachable anymore. Reload the page to see the reason."}},"linkRequired":{"title":"Open the setup link","description":"Only the person who started Buttler can set it up. Open the link that <command>buttler start</command> has printed. If you don\'t have it anymore, run the command again."},"loading":"Checking the setup...","steps":{"item":"{number}. {name}","cloudflare":"Cloudflare","domain":"Domain","github":"GitHub App","login":"Log in"},"domain":{"description":"Choose the address that Buttler will be reachable at. GitHub needs it too.","checking":"Buttler keeps checking the domain while this page is open.","moving":"The domain is reachable. The setup continues at","change":"Choose another domain","keep":"Continue with {hostname}","problems":{"unknown_host":"{hostname} doesn\'t exist yet. It can take a few minutes after the DNS record is created.","no_connection":"{hostname} could not be reached: {details}","no_tunnel":"The Cloudflare tunnel is not connected yet.","no_dashboard":"The tunnel is connected, but Buttler can\'t be reached through it (status {details}). A firewall may block the Docker containers from reaching port 7777 of this computer.","other_response":"{hostname} doesn\'t lead to this Buttler instance (status {details}). A rule or an Access policy in Cloudflare may block the requests."}},"github":{"origin":"The app will use {origin}."}},"BaseLayout":{"dismissNotification":"Dismiss notification","skipToContent":"Skip to content","menu":"Menu","openMenu":"Open menu","closeMenu":"Close menu","signedInWithGitHub":"Signed in with GitHub","logout":"Log out","nav":{"label":"Main navigation","services":"Services","settings":"Settings"}},"SettingsPage":{"title":"Settings","subtitle":"Manage this Buttler instance.","users":{"title":"Users","description":"Only these people can use this instance. Everyone else is denied.","admin":"Admin","loginLabel":"GitHub handle","loginPlaceholder":"e.g. octocat","add":"Add user","adding":"Adding...","remove":"Remove","removing":"Removing...","removeUser":"Remove {login}","messages":{"unknown_user":"There is no GitHub user with this handle.","already_added":"This user already has access.","github_unreachable":"Could not reach GitHub to look up the handle. Please try again.","remove_failed":"This user could not be removed."}},"domain":{"title":"Dashboard domain","description":"The public hostname of this Buttler dashboard.","warning":"The login page is public at this domain. When you change or remove it, the dashboard is no longer reachable at the old one.","save":"Save domain","saving":"Saving...","github":{"title":"Update the GitHub App","description":"Buttler can\'t change these addresses. Without the callback URL, nobody can log in at this domain.","callback":"Callback URL","webhook":"Webhook URL","setup":"Setup URL","open":"Open the GitHub App"},"removal":{"button":"Remove domain","title":"Remove {hostname}","description":"The dashboard will no longer be reachable at {hostname}. If you are using it right now, you will lose access until you open Buttler at another address.","close":"Close","cancel":"Cancel","submit":"Remove domain","submitting":"Removing..."},"messages":{"hostname_taken":"This domain is already used by a service.","invalid_hostname":"This is not a valid domain. Wildcards, ports and paths are not allowed.","reload_failed":"The change was undone, because Nginx could not be reloaded with it. The reason is in the server log.","remove_failed":"There is no domain to remove.","zone_unavailable":"The domain was not saved, because the chosen zone could not be loaded from Cloudflare. Please try again."}},"cloudflare":{"title":"Cloudflare","description":"Buttler uses your Cloudflare account to make your domains reachable.","access":"Buttler can manage the tunnels of the accounts you choose, and the DNS records of all their domains.","localhost":"Cloudflare returns you to localhost, so connect on the computer that Buttler runs on.","connect":"Connect Cloudflare","connectAgain":"Connect again","connecting":"Connecting...","connected":"Connected","lost":"Cloudflare doesn\'t accept the connection anymore. Connect again to change your domains.","zones":"Domains in Cloudflare","noZones":"There are no domains in the accounts you chose.","zonesFailed":"Could not load the domains from Cloudflare. Please try again.","disconnect":"Disconnect","disconnecting":"Disconnecting...","messages":{"disconnect_failed":"Cloudflare could not be disconnected. Please try again.","setup_failed":"The tunnel could not be set up. The reason is in the server log."},"errors":{"access_denied":"The connection was not approved on Cloudflare.","invalid_state":"The connection was not started in this browser, or it took too long. Please try again.","failed":"Cloudflare could not be connected. Please try again."},"tunnel":{"title":"Tunnel","running":"Buttler has a tunnel in the account {account}. You can see its status and logs on its own page.","open":"Open the tunnel","missing":"The tunnel is not set up yet. Your domains need it to be reachable.","account":"Account","setUp":"Set up the tunnel","settingUp":"Setting up..."},"disconnectHelp":"Disconnecting also deletes the tunnel and the DNS records of your domains. The domains are kept in Buttler.","leftovers":{"title":"DNS records to be deleted","description":"These domains were removed from Buttler, but their DNS records are still in Cloudflare."}}},"DashboardPage":{"title":"Services","subtitle":"Manage and monitor your running services and containers in real time.","addService":"Add service","refresh":"Refresh","refreshing":"Refreshing...","emptyState":{"title":"No services configured","description":"Deploy your first service from GitHub or Docker Hub to get started.","action":"Add service"},"service":{"source":"Source","ports":"Ports","ipAddress":"IP Address","uptime":"Uptime","deployedBuild":"Deployed build","builtAt":"Built at","none":"None","notAvailable":"N/A","actions":{"start":"Start","stop":"Stop","restart":"Restart","rebuild":"Rebuild","redeploy":"Redeploy","details":"Details","starting":"Starting...","pulling":"Pulling...","building":"Building...","stopping":"Stopping...","restarting":"Restarting...","toasts":{"pending":{"start":"Starting the service...","stop":"Stopping the service...","restart":"Restarting the service...","rebuild":"Requesting a build...","redeploy":"Requesting a redeploy..."},"done":{"started":"Service started","stopped":"Service stopped","restarted":"Service restarted","building":"Build started","pulling":"Pulling the image"},"failed":{"start":"The service could not be started","stop":"The service could not be stopped","restart":"The service could not be restarted","rebuild":"The build could not be started","redeploy":"The service could not be redeployed"}}},"status":{"running":"Running","stopped":"Stopped","exited":"Exited","building":"Building","pulling":"Pulling image","restarting":"Restarting"},"types":{"github":"GitHub","dockerhub":"Docker Hub","system":"System"}}},"NewServicePage":{"title":"Create a new service","subtitle":"Configure and deploy a container service from GitHub or Docker Hub.","back":"Back to services","sourceSection":{"title":"Service Source","description":"Choose where to deploy your container from.","github":"GitHub","dockerhub":"Docker Hub"},"githubSource":{"repoLabel":"GitHub Repository","branchLabel":"Deployment Branch","loadingRepos":"Loading repositories...","loadingBranches":"Loading branches...","selectRepo":"Select a repository...","selectBranch":"Select a branch...","noRepos":"No repositories accessible to GitHub App","loadingReposPlaceholder":"Loading available repositories...","notConnected":{"title":"GitHub App not connected","description":"The GitHub App is not installed on any account or organization. Connect or install the app to deploy repositories.","installButton":"Install GitHub App","refreshButton":"Refresh"},"manageAccess":"Can\'t find your repository? Configure repository access on GitHub","privateBadge":"Private"},"generalSection":{"title":"General Settings","nameLabel":"Service Name","namePlaceholder":"e.g. My Web App","nameHelp":"Unique name used to identify this service."},"internetSection":{"title":"Internet Access","description":"Whether the container can reach the internet. It never makes the service reachable by other services. This can be changed later in the settings."},"portsSection":{"title":"Port Mappings","description":"Map host ports to container ports for network access.","addButton":"Add Port","removeButton":"Remove port","hostPortLabel":"Host Port","hostPortPlaceholder":"Host port (e.g. 8080)","containerPortLabel":"Container Port","containerPortPlaceholder":"Container port (e.g. 80)","emptyMessage":"No port mappings configured."},"envSection":{"title":"Environment Variables","description":"Define configuration environment variables and secrets.","addButton":"Add Variable","copyButton":"Copy as .env","copiedButton":"Copied","clearButton":"Clear all","pasteButton":"Paste .env","pasteInvalidMessage":"The clipboard has no environment variables.","pasteFailedMessage":"The clipboard could not be read.","removeButton":"Remove variable","keyLabel":"Key","keyPlaceholder":"e.g. DATABASE_URL","valueLabel":"Value","valuePlaceholder":"Value","scopeLabel":"Available in","scopes":{"build":"Build","runtime":"Runtime","both":"Both"},"scopeHelp":"Build variables are passed as build arguments and can be seen in the image history. Build secrets are not, the Dockerfile reads them with RUN --mount=type=secret,id=KEY.","secretLabel":"Secret","emptyMessage":"No environment variables configured."},"volumesSection":{"title":"Storage Mounts","description":"Attach persistent Docker volumes to persist data across restarts.","addButton":"Add Mount","removeButton":"Remove storage mount","containerPathLabel":"Container Path","containerPathPlaceholder":"e.g. /var/lib/mysql","volumeNameLabel":"Volume Name","volumeNamePlaceholder":"e.g. db-data","emptyMessage":"No storage mounts configured."},"submit":"Create Service","submitting":"Creating service...","messages":{"create_failed":"Failed to create service. Please try again.","service_name_required":"Service name is required.","repository_required":"Please select a repository or enter an image name.","branch_required":"Please select a deployment branch or image tag.","invalid_ports":"One or more port mappings are invalid.","invalid_environment_variables":"One or more environment variables are invalid.","invalid_volumes":"One or more storage mounts are invalid.","volume_name_required":"Volume name is required for all storage mounts.","invalid_volume_name":"Volume names may only contain letters, digits, \\"_\\", \\".\\" and \\"-\\", start with a letter or digit and be at least 2 characters long. To mount a folder on the host, enter its absolute path.","internet_access_required":"Choose whether the service has internet access."}},"ServicePage":{"back":"Back to services","tabs":{"label":"Service sections","info":"Info","builds":"Builds","logs":"Logs","links":"Links","settings":"Settings"},"notFound":{"title":"Service not found","description":"This service doesn\'t exist or has been removed."},"info":{"runtime":"Runtime","source":"Source","container":"Container","containerId":"Container ID","uptime":"Uptime","ipAddress":"IP Address","type":"Type","repository":"Repository","image":"Image","branch":"Branch","tag":"Tag","deployedBuild":"Deployed build","builtAt":"Built at","ports":"Port Mappings","noPorts":"No port mappings configured.","variables":"Environment Variables","noVariables":"No environment variables configured.","key":"Key","value":"Value","scope":"Available in","secret":"Secret","volumes":"Storage Mounts","noVolumes":"No storage mounts configured.","domains":"Domains","noDomains":"No domains configured.","none":"None","notAvailable":"N/A"},"edit":{"button":"Edit","titles":{"name":"Edit name","source":"Edit source","ports":"Edit port mappings","variables":"Edit environment variables","volumes":"Edit storage mounts"},"help":{"restart":"Restart the service to apply the changes.","build":"The changes are applied with the next build.","variables":"Restart the service to apply the changes. Changes to the build variables need a new build."},"close":"Close","cancel":"Cancel","save":"Save changes","saving":"Saving...","name":"Service Name","secretPlaceholder":"Leave empty to keep the saved value","messages":{"update_failed":"Failed to save the changes. Check that host ports and variable keys are unique, and try again.","secret_value_required":"Enter the value again for secrets that are renamed or no longer secret.","field_required":"Name and source fields are required.","invalid_ports":"One or more port mappings are invalid.","invalid_environment_variables":"One or more environment variables are invalid.","invalid_volumes":"One or more storage mounts are invalid.","invalid_volume_name":"Volume names may only contain letters, digits, \\"_\\", \\".\\" and \\"-\\", start with a letter or digit and be at least 2 characters long. To mount a folder on the host, enter its absolute path."}},"settings":{"systemService":"System services are managed by Buttler, they can\'t be deleted and don\'t have domains.","internetAccess":{"title":"Internet Access","description":"Whether the container can reach the internet. It never makes the service reachable by other services.","recreate":"Recreate the container now","help":{"now":"The container is recreated with the change when you save.","onRestart":"The change applies the next time the service is restarted.","onStart":"The service has no container, the change applies when it\'s started.","onDeploy":"The change applies when the running build or pull deploys a new container."},"save":"Save","saving":"Saving...","messages":{"saved":"Saved. It applies the next time the container is created, e.g. when the service is restarted.","recreated":"Saved, and the container was recreated with the change.","update_failed":"The change could not be saved.","recreate_failed":"The change was saved, but the container could not be recreated. The reason is in the server log.","service_busy":"The service is being built, pulled or deleted. Nothing was changed, try again when it\'s done."}},"domains":{"title":"Domains","description":"The public hostnames of this service, and the port of its container that receives their requests.","empty":"No domains configured.","portLabel":"Container port","portPlaceholder":"e.g. 3000","add":"Add domain","adding":"Adding...","remove":"Remove","removing":"Removing...","removeDomain":"Remove {hostname}","messages":{"add_failed":"The domain could not be added.","connect_failed":"The domain was not added, because the service could not be connected to Nginx. The reason is in the server log.","hostname_taken":"This domain is already in use.","invalid_hostname":"This is not a valid domain. Wildcards, ports and paths are not allowed.","invalid_port":"The port must be a number between 1 and 65535.","reload_failed":"The change was undone, because Nginx could not be reloaded with it. The reason is in the server log.","remove_failed":"The domain could not be removed.","zone_unavailable":"The domain was not saved, because the chosen zone could not be loaded from Cloudflare. Please try again."}},"delete":{"title":"Delete this service","description":"Its container and the images that Buttler built for it are deleted too. This can\'t be undone."}},"delete":{"button":"Delete","title":"Delete {name}","description":"The service is deleted permanently, with its container and the images that Buttler built for it.","volumes":"Choose the volumes to delete","volumesHelp":"The data of a deleted volume can\'t be recovered. The others are kept, and so are the ones that other containers use.","keptAs":{"shared":"Used by other services, always kept","hostPath":"Not a Docker volume, always kept"},"close":"Close","cancel":"Cancel","submit":"Delete service","submitting":"Deleting...","messages":{"delete_failed":"The service could not be deleted. Please try again.","service_busy":"The service is being deployed. Try again when it\'s done."}},"builds":{"empty":"This service hasn\'t been built yet.","notBuilt":"Only GitHub services are built by Buttler.","unavailable":"Failed to load the builds.","deployed":"Deployed","unknownCommit":"Unknown commit","status":{"ready":"Ready","building":"Building","failed":"Failed"}},"logs":{"pauseScroll":"Pause scrolling","resumeScroll":"Resume scrolling","copy":"Copy","copied":"Copied!","download":"Download","clear":"Clear","reconnect":"Reconnect","filter":"Filter lines by keyword","noMatches":"No lines match the filter.","loading":"Fetching logs...","empty":"No logs to show yet.","error":"Failed to load container logs.","notRunning":"The container is not running. These are its last logs.","status":{"connecting":"Connecting","live":"Live","reconnecting":"Reconnecting","stopped":"Not running","failed":"Disconnected"},"noContainer":"This service doesn\'t have a container. Start it to see its logs."},"internetAccess":{"title":"Internet Access","allowed":{"label":"Allow internet access","description":"The container gets its own network to the internet, no other service is on it."},"blocked":{"label":"No internet access","description":"The container can\'t reach the internet. Its domains and published ports keep working."}},"links":{"title":"Links","description":"Linked services can reach each other, and no other service can reach this one. Both sides can open connections.","systemService":"System services are linked by Buttler.","hostDescription":"Reach it at","empty":"This service isn\'t linked to any other service.","noCandidates":"There is no other service to link.","serviceLabel":"Service","add":"Add link","adding":"Adding...","remove":"Remove","removing":"Removing...","removeLink":"Remove the link to {name}","messages":{"add_failed":"The link could not be added.","already_linked":"These services are already linked.","connect_failed":"The link was not added, because its network could not be set up. The reason is in the server log.","disconnect_failed":"The link was kept, because its network could not be removed. The reason is in the server log.","remove_failed":"The link could not be removed."}}},"Domains":{"subdomainLabel":"Subdomain","subdomainPlaceholder":"e.g. app, or empty","zoneLabel":"Domain in Cloudflare","preview":"The address will be {hostname}","certificateWarning":"The free certificate of Cloudflare only covers one level of subdomains. Browsers will show an error at this address without an additional certificate.","retry":"Try again","retrying":"Trying...","replace":"Replace the DNS records","replacing":"Replacing...","states":{"active":"Active","pending":"Pending","failed":"Failed","disconnected":"Not reachable"},"help":{"pending":"Cloudflare is not up to date with this domain yet.","failed":"Cloudflare could not be updated.","disconnected":"The domain is not reachable, because there is no Cloudflare tunnel."},"failures":{"unreachable":"Cloudflare could not be reached. Buttler will try again automatically.","connection_lost":"Cloudflare doesn\'t accept the connection anymore. Connect again in the settings.","no_zone":"The Cloudflare account of the tunnel doesn\'t have a domain that {hostname} belongs to.","taken":"{hostname} already has DNS records that Buttler didn\'t create: {details}. Whatever uses them will stop working if they are replaced.","rejected":"Cloudflare rejected the change: {details}. Buttler will try again automatically."},"zones":{"ready":"There are no domains in the Cloudflare account of the tunnel.","disconnected":"Domains need Cloudflare. Connect it and set up the tunnel first.","unavailable":"Could not load your domains from Cloudflare. Please try again later, or check the connection.","open":"Open the settings"}}}')}];
|
|
1
|
+
module.exports=[40965,(a,b,c)=>{b.exports=JSON.parse('{"HomePage":{"title":"Buttler","graph":"Services and their links"},"LoginPage":{"title":"Sign in to Buttler","description":"Authenticate with your GitHub account to continue.","continueWithGitHub":"Continue with GitHub","setupRequired":{"title":"Setup Required","description":"GitHub App configuration is missing. Please complete the setup to configure GitHub OAuth credentials.","button":"Go to Setup"},"errors":{"github":"GitHub authentication failed. Please try again.","access_denied":"Access was denied by GitHub. Please authorize the application to proceed.","not_allowed":"Your GitHub account doesn\'t have access to this Buttler instance. Ask its admin to let you in.","missing_code":"Authorization code was missing. Please try again.","default":"An error occurred during authentication. Please try again.","setup_link":"This Buttler instance doesn\'t have an admin yet. Open the link that buttler start prints, and log in again."}},"AccessPage":{"unauthorized":{"title":"You are not signed in","description":"Sign in to see this page.","link":"Go to the login page"},"forbidden":{"title":"Access denied","description":"Your GitHub account doesn\'t have access to this page.","link":"Back to services"}},"InstallPage":{"title":"Install Buttler","description":"Set up your GitHub App in one click, or enter your credentials manually below.","orManual":"Or configure manually","manifest":{"appNameLabel":"GitHub App Name","organizationLabel":"GitHub Organization","organizationPlaceholder":"e.g. acme-corp (optional)","organizationHelp":"Leave blank to create the app under your personal account.","publicLabel":"Make the app public","publicHelp":"Public apps can be installed on any GitHub account or organization. Private apps can only be installed on the account that owns them.","submit":"Create GitHub App"},"manual":{"setupUrlHint":"In your GitHub App settings (General → Post installation), set <strong>Setup URL</strong> to the address below and enable <strong>Redirect on update</strong>. Otherwise GitHub won\'t send you back to Buttler after installation.","setupUrlLabel":"Setup URL","appIdLabel":"GitHub App ID","appIdPlaceholder":"e.g. 123456","privateKeyLabel":"Private Key","privateKeyPlaceholder":"-----BEGIN RSA PRIVATE KEY-----","privateKeyFileLabel":"Upload private key (.pem)","privateKeyHelp":"Paste the PEM contents or upload the .pem file generated in your GitHub App settings.","clientSecretLabel":"GitHub App Client Secret","clientSecretPlaceholder":"••••••••••••••••••••••••••••••••","webhookSecretLabel":"Webhook Secret (optional)","webhookSecretPlaceholder":"Leave blank if webhooks are not configured","submit":"Complete Installation","submitting":"Verifying credentials…","errors":{"invalidAppId":"App ID must be a number.","missingPrivateKey":"Please paste or upload the private key.","invalidPrivateKey":"The private key is not a valid PEM.","missingClientSecret":"Please enter the client secret.","invalidCredentials":"GitHub rejected the App ID and private key. Check that they belong to the same app.","appIdMismatch":"The private key belongs to a different GitHub App.","githubUnreachable":"Could not reach GitHub to verify the credentials. Please try again.","domainUnreachable":"The domain is not reachable anymore. Reload the page to see the reason."}},"linkRequired":{"title":"Open the setup link","description":"Only the person who started Buttler can set it up. Open the link that <command>buttler start</command> has printed. If you don\'t have it anymore, run the command again."},"loading":"Checking the setup...","steps":{"item":"{number}. {name}","cloudflare":"Cloudflare","domain":"Domain","github":"GitHub App","login":"Log in"},"domain":{"description":"Choose the address that Buttler will be reachable at. GitHub needs it too.","checking":"Buttler keeps checking the domain while this page is open.","moving":"The domain is reachable. The setup continues at","change":"Choose another domain","keep":"Continue with {hostname}","problems":{"unknown_host":"{hostname} doesn\'t exist yet. It can take a few minutes after the DNS record is created.","no_connection":"{hostname} could not be reached: {details}","no_tunnel":"The Cloudflare tunnel is not connected yet.","no_dashboard":"The tunnel is connected, but Buttler can\'t be reached through it (status {details}). A firewall may block the Docker containers from reaching port 7777 of this computer.","other_response":"{hostname} doesn\'t lead to this Buttler instance (status {details}). A rule or an Access policy in Cloudflare may block the requests."}},"github":{"origin":"The app will use {origin}."}},"BaseLayout":{"dismissNotification":"Dismiss notification","skipToContent":"Skip to content","menu":"Menu","openMenu":"Open menu","closeMenu":"Close menu","signedInWithGitHub":"Signed in with GitHub","logout":"Log out","nav":{"label":"Main navigation","services":"Services","settings":"Settings"}},"SettingsPage":{"title":"Settings","subtitle":"Manage this Buttler instance.","users":{"title":"Users","description":"Only these people can use this instance. Everyone else is denied.","admin":"Admin","loginLabel":"GitHub handle","loginPlaceholder":"e.g. octocat","add":"Add user","adding":"Adding...","remove":"Remove","removing":"Removing...","removeUser":"Remove {login}","messages":{"unknown_user":"There is no GitHub user with this handle.","already_added":"This user already has access.","github_unreachable":"Could not reach GitHub to look up the handle. Please try again.","remove_failed":"This user could not be removed."}},"domain":{"title":"Dashboard domain","description":"The public hostname of this Buttler dashboard.","warning":"The login page is public at this domain. When you change or remove it, the dashboard is no longer reachable at the old one.","save":"Save domain","saving":"Saving...","github":{"title":"Update the GitHub App","description":"Buttler can\'t change these addresses. Without the callback URL, nobody can log in at this domain.","callback":"Callback URL","webhook":"Webhook URL","setup":"Setup URL","open":"Open the GitHub App"},"removal":{"button":"Remove domain","title":"Remove {hostname}","description":"The dashboard will no longer be reachable at {hostname}. If you are using it right now, you will lose access until you open Buttler at another address.","close":"Close","cancel":"Cancel","submit":"Remove domain","submitting":"Removing..."},"messages":{"hostname_taken":"This domain is already used by a service.","invalid_hostname":"This is not a valid domain. Wildcards, ports and paths are not allowed.","reload_failed":"The change was undone, because Nginx could not be reloaded with it. The reason is in the server log.","remove_failed":"There is no domain to remove.","zone_unavailable":"The domain was not saved, because the chosen zone could not be loaded from Cloudflare. Please try again."}},"cloudflare":{"title":"Cloudflare","description":"Buttler uses your Cloudflare account to make your domains reachable.","access":"Buttler can manage the tunnels of the accounts you choose, and the DNS records of all their domains.","localhost":"Cloudflare returns you to localhost, so connect on the computer that Buttler runs on.","connect":"Connect Cloudflare","connectAgain":"Connect again","connecting":"Connecting...","connected":"Connected","lost":"Cloudflare doesn\'t accept the connection anymore. Connect again to change your domains.","zones":"Domains in Cloudflare","noZones":"There are no domains in the accounts you chose.","zonesFailed":"Could not load the domains from Cloudflare. Please try again.","disconnect":"Disconnect","disconnecting":"Disconnecting...","messages":{"disconnect_failed":"Cloudflare could not be disconnected. Please try again.","setup_failed":"The tunnel could not be set up. The reason is in the server log."},"errors":{"access_denied":"The connection was not approved on Cloudflare.","invalid_state":"The connection was not started in this browser, or it took too long. Please try again.","failed":"Cloudflare could not be connected. Please try again."},"tunnel":{"title":"Tunnel","running":"Buttler has a tunnel in the account {account}. You can see its status and logs on its own page.","open":"Open the tunnel","missing":"The tunnel is not set up yet. Your domains need it to be reachable.","account":"Account","setUp":"Set up the tunnel","settingUp":"Setting up..."},"disconnectHelp":"Disconnecting also deletes the tunnel and the DNS records of your domains. The domains are kept in Buttler.","leftovers":{"title":"DNS records to be deleted","description":"These domains were removed from Buttler, but their DNS records are still in Cloudflare."}}},"DashboardPage":{"title":"Services","subtitle":"Manage and monitor your running services and containers in real time.","addService":"Add service","refresh":"Refresh","refreshing":"Refreshing...","emptyState":{"title":"No services configured","description":"Deploy your first service from GitHub or Docker Hub to get started.","action":"Add service"},"service":{"source":"Source","ports":"Ports","ipAddress":"IP Address","uptime":"Uptime","deployedBuild":"Deployed build","builtAt":"Built at","none":"None","notAvailable":"N/A","actions":{"start":"Start","stop":"Stop","restart":"Restart","rebuild":"Rebuild","redeploy":"Redeploy","details":"Details","starting":"Starting...","pulling":"Pulling...","building":"Building...","stopping":"Stopping...","restarting":"Restarting...","toasts":{"pending":{"start":"Starting the service...","stop":"Stopping the service...","restart":"Restarting the service...","rebuild":"Requesting a build...","redeploy":"Requesting a redeploy..."},"done":{"started":"Service started","stopped":"Service stopped","restarted":"Service restarted","building":"Build started","pulling":"Pulling the image"},"failed":{"start":"The service could not be started","stop":"The service could not be stopped","restart":"The service could not be restarted","rebuild":"The build could not be started","redeploy":"The service could not be redeployed"}}},"status":{"running":"Running","stopped":"Stopped","exited":"Exited","building":"Building","pulling":"Pulling image","restarting":"Restarting"},"types":{"github":"GitHub","dockerhub":"Docker Hub","system":"System"}}},"NewServicePage":{"title":"Create a new service","subtitle":"Configure and deploy a container service from GitHub or Docker Hub.","back":"Back to services","sourceSection":{"title":"Service Source","description":"Choose where to deploy your container from.","github":"GitHub","dockerhub":"Docker Hub"},"githubSource":{"repoLabel":"GitHub Repository","branchLabel":"Deployment Branch","loadingRepos":"Loading repositories...","loadingBranches":"Loading branches...","selectRepo":"Select a repository...","selectBranch":"Select a branch...","noRepos":"No repositories accessible to GitHub App","loadingReposPlaceholder":"Loading available repositories...","notConnected":{"title":"GitHub App not connected","description":"The GitHub App is not installed on any account or organization. Connect or install the app to deploy repositories.","installButton":"Install GitHub App","refreshButton":"Refresh"},"manageAccess":"Can\'t find your repository? Configure repository access on GitHub","privateBadge":"Private"},"generalSection":{"title":"General Settings","nameLabel":"Service Name","namePlaceholder":"e.g. My Web App","nameHelp":"Unique name used to identify this service."},"internetSection":{"title":"Internet Access","description":"Whether the container can reach the internet. It never makes the service reachable by other services. This can be changed later in the settings."},"portsSection":{"title":"Port Mappings","description":"Map host ports to container ports for network access.","addButton":"Add Port","removeButton":"Remove port","hostPortLabel":"Host Port","hostPortPlaceholder":"Host port (e.g. 8080)","containerPortLabel":"Container Port","containerPortPlaceholder":"Container port (e.g. 80)","emptyMessage":"No port mappings configured."},"envSection":{"title":"Environment Variables","description":"Define configuration environment variables and secrets.","addButton":"Add Variable","copyButton":"Copy as .env","copiedButton":"Copied","clearButton":"Clear all","pasteButton":"Paste .env","pasteInvalidMessage":"The clipboard has no environment variables.","pasteFailedMessage":"The clipboard could not be read.","removeButton":"Remove variable","keyLabel":"Key","keyPlaceholder":"e.g. DATABASE_URL","valueLabel":"Value","valuePlaceholder":"Value","scopeLabel":"Available in","scopes":{"build":"Build","runtime":"Runtime","both":"Both"},"scopeHelp":"Build variables are passed as build arguments and can be seen in the image history. Build secrets are not, the Dockerfile reads them with RUN --mount=type=secret,id=KEY.","secretLabel":"Secret","emptyMessage":"No environment variables configured."},"volumesSection":{"title":"Storage Mounts","description":"Attach persistent Docker volumes to persist data across restarts.","addButton":"Add Mount","removeButton":"Remove storage mount","containerPathLabel":"Container Path","containerPathPlaceholder":"e.g. /var/lib/mysql","volumeNameLabel":"Volume Name","volumeNamePlaceholder":"e.g. db-data","emptyMessage":"No storage mounts configured."},"submit":"Create Service","submitting":"Creating service...","messages":{"create_failed":"Failed to create service. Please try again.","service_name_required":"Service name is required.","repository_required":"Please select a repository or enter an image name.","branch_required":"Please select a deployment branch or image tag.","invalid_ports":"One or more port mappings are invalid.","invalid_environment_variables":"One or more environment variables are invalid.","invalid_volumes":"One or more storage mounts are invalid.","volume_name_required":"Volume name is required for all storage mounts.","invalid_volume_name":"Volume names may only contain letters, digits, \\"_\\", \\".\\" and \\"-\\", start with a letter or digit and be at least 2 characters long. To mount a folder on the host, enter its absolute path.","internet_access_required":"Choose whether the service has internet access."}},"ServicePage":{"back":"Back to services","tabs":{"label":"Service sections","info":"Info","builds":"Builds","logs":"Logs","links":"Links","settings":"Settings"},"notFound":{"title":"Service not found","description":"This service doesn\'t exist or has been removed."},"info":{"runtime":"Runtime","source":"Source","container":"Container","containerId":"Container ID","uptime":"Uptime","ipAddress":"IP Address","type":"Type","repository":"Repository","image":"Image","branch":"Branch","tag":"Tag","deployedBuild":"Deployed build","builtAt":"Built at","ports":"Port Mappings","noPorts":"No port mappings configured.","variables":"Environment Variables","noVariables":"No environment variables configured.","inheritedFrom":"From the link to {name}, read-only","overridden":"A variable of this service has the same name and wins","inheritedUnset":"Not set in the linked service: {names}","key":"Key","value":"Value","scope":"Available in","secret":"Secret","volumes":"Storage Mounts","noVolumes":"No storage mounts configured.","domains":"Domains","noDomains":"No domains configured.","none":"None","notAvailable":"N/A"},"edit":{"button":"Edit","titles":{"name":"Edit name","source":"Edit source","ports":"Edit port mappings","variables":"Edit environment variables","volumes":"Edit storage mounts"},"help":{"restart":"Restart the service to apply the changes.","build":"The changes are applied with the next build.","variables":"Restart the service to apply the changes. Changes to the build variables need a new build."},"close":"Close","cancel":"Cancel","save":"Save changes","saving":"Saving...","name":"Service Name","secretPlaceholder":"Leave empty to keep the saved value","messages":{"update_failed":"Failed to save the changes. Check that host ports and variable keys are unique, and try again.","secret_value_required":"Enter the value again for secrets that are renamed or no longer secret.","inherited_variable_name":"A variable with this name is inherited from a link. Choose another name, or rename the inherited one on the links tab.","field_required":"Name and source fields are required.","invalid_ports":"One or more port mappings are invalid.","invalid_environment_variables":"One or more environment variables are invalid.","invalid_volumes":"One or more storage mounts are invalid.","invalid_volume_name":"Volume names may only contain letters, digits, \\"_\\", \\".\\" and \\"-\\", start with a letter or digit and be at least 2 characters long. To mount a folder on the host, enter its absolute path."}},"settings":{"systemService":"System services are managed by Buttler, they can\'t be deleted and don\'t have domains.","internetAccess":{"title":"Internet Access","description":"Whether the container can reach the internet. It never makes the service reachable by other services.","recreate":"Recreate the container now","help":{"now":"The container is recreated with the change when you save.","onRestart":"The change applies the next time the service is restarted.","onStart":"The service has no container, the change applies when it\'s started.","onDeploy":"The change applies when the running build or pull deploys a new container."},"save":"Save","saving":"Saving...","messages":{"saved":"Saved. It applies the next time the container is created, e.g. when the service is restarted.","recreated":"Saved, and the container was recreated with the change.","update_failed":"The change could not be saved.","recreate_failed":"The change was saved, but the container could not be recreated. The reason is in the server log.","service_busy":"The service is being built, pulled or deleted. Nothing was changed, try again when it\'s done."}},"domains":{"title":"Domains","description":"The public hostnames of this service, and the port of its container that receives their requests.","empty":"No domains configured.","portLabel":"Container port","portPlaceholder":"e.g. 3000","add":"Add domain","adding":"Adding...","remove":"Remove","removing":"Removing...","removeDomain":"Remove {hostname}","messages":{"add_failed":"The domain could not be added.","connect_failed":"The domain was not added, because the service could not be connected to Nginx. The reason is in the server log.","hostname_taken":"This domain is already in use.","invalid_hostname":"This is not a valid domain. Wildcards, ports and paths are not allowed.","invalid_port":"The port must be a number between 1 and 65535.","reload_failed":"The change was undone, because Nginx could not be reloaded with it. The reason is in the server log.","remove_failed":"The domain could not be removed.","zone_unavailable":"The domain was not saved, because the chosen zone could not be loaded from Cloudflare. Please try again."}},"delete":{"title":"Delete this service","description":"Its container and the images that Buttler built for it are deleted too. This can\'t be undone."}},"delete":{"button":"Delete","title":"Delete {name}","description":"The service is deleted permanently, with its container and the images that Buttler built for it.","volumes":"Choose the volumes to delete","volumesHelp":"The data of a deleted volume can\'t be recovered. The others are kept, and so are the ones that other containers use.","keptAs":{"shared":"Used by other services, always kept","hostPath":"Not a Docker volume, always kept"},"close":"Close","cancel":"Cancel","submit":"Delete service","submitting":"Deleting...","messages":{"delete_failed":"The service could not be deleted. Please try again.","service_busy":"The service is being deployed. Try again when it\'s done."}},"builds":{"empty":"This service hasn\'t been built yet.","notBuilt":"Only GitHub services are built by Buttler.","unavailable":"Failed to load the builds.","deployed":"Deployed","unknownCommit":"Unknown commit","status":{"ready":"Ready","building":"Building","failed":"Failed"}},"logs":{"pauseScroll":"Pause scrolling","resumeScroll":"Resume scrolling","copy":"Copy","copied":"Copied!","download":"Download","clear":"Clear","reconnect":"Reconnect","filter":"Filter lines by keyword","noMatches":"No lines match the filter.","loading":"Fetching logs...","empty":"No logs to show yet.","error":"Failed to load container logs.","notRunning":"The container is not running. These are its last logs.","status":{"connecting":"Connecting","live":"Live","reconnecting":"Reconnecting","stopped":"Not running","failed":"Disconnected"},"noContainer":"This service doesn\'t have a container. Start it to see its logs."},"internetAccess":{"title":"Internet Access","allowed":{"label":"Allow internet access","description":"The container gets its own network to the internet, no other service is on it."},"blocked":{"label":"No internet access","description":"The container can\'t reach the internet. Its domains and published ports keep working."}},"links":{"title":"Links","description":"Linked services can reach each other, and no other service can reach this one. Both sides can open connections.","systemService":"System services are linked by Buttler.","hostDescription":"Reach it at","empty":"This service isn\'t linked to any other service.","noCandidates":"There is no other service to link.","serviceLabel":"Service","add":"Add link","adding":"Adding...","remove":"Remove","removing":"Removing...","removeLink":"Remove the link to {name}","messages":{"add_failed":"The link could not be added.","already_linked":"These services are already linked.","connect_failed":"The link was not added, because its network could not be set up. The reason is in the server log.","disconnect_failed":"The link was kept, because its network could not be removed. The reason is in the server log.","remove_failed":"The link could not be removed."},"shared":{"title":"Shared Variables","description":"Variables that this service offers to its linked services. Each linked service decides whether to inherit them, and what to call them.","empty":"This service doesn\'t share any variables.","keyLabel":"Name","keyPlaceholder":"e.g. POSTGRES_HOST","templateLabel":"Value","templatePlaceholder":"e.g. {example}","remove":"Remove variable","add":"Add variable","emptyValue":"empty","secret":"Secret, it\'s built from a secret variable","duplicateKey":"Another shared variable has the same name.","unset":"{name} isn\'t a runtime variable of this service, so it resolves to an empty string.","addFallback":"Add a fallback","unknown":"{placeholder} isn\'t a placeholder, it\'s kept as it is.","help":"{host} is the address of this service, {env} is one of its runtime variables, and {fallback} has a fallback when it isn\'t set. The values are resolved when the containers of the linked services are created.","recreate":"Recreate the containers of these services now:","applyNow":"The chosen containers are recreated with the change when you save.","applyLater":"The change applies the next time the containers of the linked services are created.","save":"Save","saving":"Saving...","messages":{"saved":"Saved. It applies the next time the containers of the linked services are created.","recreated":"Saved, and the containers were recreated with the change.","save_failed":"The shared variables could not be saved.","recreate_failed":"The change was saved, but some containers could not be recreated. The reason is in the server log.","duplicate_keys":"Two shared variables have the same name.","invalid_shared_variables":"Every shared variable needs a valid name, with letters, digits and underscores."}},"inheritance":{"inherit":"Inherit the shared variables of {name}","nothingShared":"{name} doesn\'t share any variables.","nameLabel":"Name of {key} in this service","keepName":"Keep the name","duplicateName":"This service would inherit {name} twice.","recreate":"Recreate the container now","save":"Save","saving":"Saving...","messages":{"saved":"Saved. It applies the next time the container is created, e.g. when the service is restarted.","recreated":"Saved, and the container was recreated with the change.","update_failed":"The change could not be saved.","recreate_failed":"The change was saved, but the container could not be recreated. The reason is in the server log.","duplicate_names":"Two inherited variables would have the same name. Rename one of them.","invalid_names":"A name can only have letters, digits and underscores, and can\'t start with a digit."}}}},"Domains":{"subdomainLabel":"Subdomain","subdomainPlaceholder":"e.g. app, or empty","zoneLabel":"Domain in Cloudflare","preview":"The address will be {hostname}","certificateWarning":"The free certificate of Cloudflare only covers one level of subdomains. Browsers will show an error at this address without an additional certificate.","retry":"Try again","retrying":"Trying...","replace":"Replace the DNS records","replacing":"Replacing...","states":{"active":"Active","pending":"Pending","failed":"Failed","disconnected":"Not reachable"},"help":{"pending":"Cloudflare is not up to date with this domain yet.","failed":"Cloudflare could not be updated.","disconnected":"The domain is not reachable, because there is no Cloudflare tunnel."},"failures":{"unreachable":"Cloudflare could not be reached. Buttler will try again automatically.","connection_lost":"Cloudflare doesn\'t accept the connection anymore. Connect again in the settings.","no_zone":"The Cloudflare account of the tunnel doesn\'t have a domain that {hostname} belongs to.","taken":"{hostname} already has DNS records that Buttler didn\'t create: {details}. Whatever uses them will stop working if they are replaced.","rejected":"Cloudflare rejected the change: {details}. Buttler will try again automatically."},"zones":{"ready":"There are no domains in the Cloudflare account of the tunnel.","disconnected":"Domains need Cloudflare. Connect it and set up the tunnel first.","unavailable":"Could not load your domains from Cloudflare. Please try again later, or check the connection.","open":"Open the settings"}}}')}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=dictionaries_en_json_%5Bjson%5D_cjs_1pkm_n6uii6ve._.js.map
|