@zuplo/cli 1.102.0 → 1.104.0-temporary-fix-without-deno
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +1 -6
- package/dist/cmds/convert.js +1 -4
- package/dist/cmds/delete.js +1 -4
- package/dist/cmds/deploy.js +1 -4
- package/dist/cmds/dev.js +1 -4
- package/dist/cmds/editor.js +1 -4
- package/dist/cmds/link.js +1 -4
- package/dist/cmds/list.js +1 -4
- package/dist/cmds/login.js +1 -4
- package/dist/cmds/project/import-openapi.js +1 -4
- package/dist/cmds/project/index.js +1 -4
- package/dist/cmds/project/update.js +1 -4
- package/dist/cmds/test.js +1 -4
- package/dist/cmds/tunnel/create.js +1 -4
- package/dist/cmds/tunnel/delete.js +1 -4
- package/dist/cmds/tunnel/describe.js +1 -4
- package/dist/cmds/tunnel/index.js +1 -4
- package/dist/cmds/tunnel/list.js +1 -4
- package/dist/cmds/tunnel/rotate-token.js +1 -4
- package/dist/cmds/tunnel/services/describe.js +1 -4
- package/dist/cmds/tunnel/services/index.js +1 -4
- package/dist/cmds/tunnel/services/update.js +1 -4
- package/dist/cmds/variable/create.js +1 -4
- package/dist/cmds/variable/index.js +1 -4
- package/dist/cmds/variable/update.js +1 -4
- package/dist/common/alias.js +1 -4
- package/dist/common/analytics/lib.js +1 -4
- package/dist/common/api/lib.js +1 -4
- package/dist/common/constants.js +1 -4
- package/dist/common/deno-utils/locator.js +1 -4
- package/dist/common/handler.js +1 -4
- package/dist/common/logger.js +1 -4
- package/dist/common/machine-id/lib.js +1 -4
- package/dist/common/middleware/user-configuration.js +1 -4
- package/dist/common/middleware/user-identification.js +1 -4
- package/dist/common/models.js +1 -4
- package/dist/common/output.js +1 -4
- package/dist/common/settings.js +1 -4
- package/dist/common/upgraders/lib.js +1 -4
- package/dist/common/upgraders/package-json-upgrader.js +1 -4
- package/dist/common/upgraders/vscode-settings-json-upgrader.js +1 -4
- package/dist/common/validators/file-system-validator.js +1 -4
- package/dist/common/validators/lib.js +1 -4
- package/dist/common/validators/login-state-validator.js +1 -4
- package/dist/common/validators/project-name-validator.js +1 -4
- package/dist/common/xdg/lib.js +1 -4
- package/dist/convert/engine.js +1 -4
- package/dist/convert/handler.js +1 -4
- package/dist/convert/routes.generated.js +1 -4
- package/dist/delete/handler.js +1 -4
- package/dist/delete/poll-deployment.js +1 -4
- package/dist/deploy/archive.js +2 -5
- package/dist/deploy/file-upload.js +1 -4
- package/dist/deploy/handler.js +1 -4
- package/dist/deploy/poll-deployment.js +1 -4
- package/dist/dev/handler.js +1 -4
- package/dist/editor/assets/index-03352ce7.js +0 -4
- package/dist/editor/handler.js +1 -4
- package/dist/editor/server/cors-plugin.js +1 -4
- package/dist/editor/server/server.js +1 -4
- package/dist/editor/server/xfs.js +1 -4
- package/dist/link/handler.js +1 -4
- package/dist/link/populate.js +1 -4
- package/dist/list/handler.js +1 -4
- package/dist/login/handler.js +1 -4
- package/dist/login/server.js +1 -4
- package/dist/project/import-openapi/handler.js +1 -4
- package/dist/project/import-openapi/interfaces.js +1 -4
- package/dist/project/import-openapi/utils.js +1 -4
- package/dist/project/update/handler.js +1 -4
- package/dist/test/esbuild-config.js +1 -4
- package/dist/test/esbuild-plugins/deno-test-prep-plugin.js +1 -4
- package/dist/test/handler.js +1 -4
- package/dist/test/invoke-test.js +1 -4
- package/dist/tunnel/create/handler.js +1 -4
- package/dist/tunnel/delete/handler.js +1 -4
- package/dist/tunnel/delete/poll-teardown-operation.js +1 -4
- package/dist/tunnel/describe/handler.js +1 -4
- package/dist/tunnel/list/handler.js +1 -4
- package/dist/tunnel/models.js +1 -4
- package/dist/tunnel/rotate-token/handler.js +1 -4
- package/dist/tunnel/services/describe/handler.js +1 -4
- package/dist/tunnel/services/update/handler.js +1 -4
- package/dist/tunnel/services/update/poll-provisioning-operations.js +1 -4
- package/dist/variable/create/handler.js +1 -4
- package/dist/variable/models.js +1 -4
- package/dist/variable/update/handler.js +1 -4
- package/package.json +5 -4
- package/polyfills/async_hooks.js +8 -0
- package/polyfills/diagnostics_channel.js +155 -0
package/dist/common/xdg/lib.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b489b940-9f72-5e46-bb6b-f86931bf9503")}catch(e){}}();
|
|
3
1
|
import { homedir } from "node:os";
|
|
4
2
|
import path from "node:path";
|
|
5
3
|
import { ZUPLO_CLI_XDG_FOLDER_NAME } from "../constants.js";
|
|
@@ -17,5 +15,4 @@ export const XDG_STATE_HOME = defineDirectoryWithFallback("XDG_DATA_HOME", ".loc
|
|
|
17
15
|
export const ZUPLO_XDG_CONFIG_HOME = path.join(XDG_CONFIG_HOME, ZUPLO_CLI_XDG_FOLDER_NAME);
|
|
18
16
|
export const ZUPLO_XDG_DATA_HOME = path.join(XDG_DATA_HOME, ZUPLO_CLI_XDG_FOLDER_NAME);
|
|
19
17
|
export const ZUPLO_XDG_STATE_HOME = path.join(XDG_STATE_HOME, ZUPLO_CLI_XDG_FOLDER_NAME);
|
|
20
|
-
//# sourceMappingURL=lib.js.map
|
|
21
|
-
//# debugId=b489b940-9f72-5e46-bb6b-f86931bf9503
|
|
18
|
+
//# sourceMappingURL=lib.js.map
|
package/dist/convert/engine.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d65a6f87-4437-515b-b099-6e6be3b46f6e")}catch(e){}}();
|
|
3
1
|
import { join } from "node:path";
|
|
4
2
|
export function convertRoutes(routesConfig) {
|
|
5
3
|
const base = generateBaseOpenAPIConfig();
|
|
@@ -72,5 +70,4 @@ function fullPath(path, context) {
|
|
|
72
70
|
const versionPrefix = context.versions.filter((v) => v.name === path.version)[0].pathPrefix;
|
|
73
71
|
return join(versionPrefix, path.path);
|
|
74
72
|
}
|
|
75
|
-
//# sourceMappingURL=engine.js.map
|
|
76
|
-
//# debugId=d65a6f87-4437-515b-b099-6e6be3b46f6e
|
|
73
|
+
//# sourceMappingURL=engine.js.map
|
package/dist/convert/handler.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="0cfd36e0-6ea6-5449-b680-9d0a8dfa1a9e")}catch(e){}}();
|
|
3
1
|
import { writeFileSync } from "node:fs";
|
|
4
2
|
import { readFile } from "node:fs/promises";
|
|
5
3
|
import { join, relative } from "node:path";
|
|
@@ -35,5 +33,4 @@ export async function convert(argv) {
|
|
|
35
33
|
await printCriticalFailureToConsoleAndExit(err);
|
|
36
34
|
}
|
|
37
35
|
}
|
|
38
|
-
//# sourceMappingURL=handler.js.map
|
|
39
|
-
//# debugId=0cfd36e0-6ea6-5449-b680-9d0a8dfa1a9e
|
|
36
|
+
//# sourceMappingURL=handler.js.map
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="08f01bb2-9972-5856-87c5-86eced9af7f2")}catch(e){}}();
|
|
3
1
|
export {};
|
|
4
|
-
//# sourceMappingURL=routes.generated.js.map
|
|
5
|
-
//# debugId=08f01bb2-9972-5856-87c5-86eced9af7f2
|
|
2
|
+
//# sourceMappingURL=routes.generated.js.map
|
package/dist/delete/handler.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a50adfc6-66cf-556f-851f-f9f7a464bcb9")}catch(e){}}();
|
|
3
1
|
import { logger } from "../common/logger.js";
|
|
4
2
|
import { printCriticalFailureToConsoleAndExit, printResultToConsoleAndExitGracefully, } from "../common/output.js";
|
|
5
3
|
import settings from "../common/settings.js";
|
|
@@ -60,5 +58,4 @@ export async function deleteZup(argv) {
|
|
|
60
58
|
await printCriticalFailureToConsoleAndExit("Error: Failed to enqueue the deletion request. Try again later.");
|
|
61
59
|
}
|
|
62
60
|
}
|
|
63
|
-
//# sourceMappingURL=handler.js.map
|
|
64
|
-
//# debugId=a50adfc6-66cf-556f-851f-f9f7a464bcb9
|
|
61
|
+
//# sourceMappingURL=handler.js.map
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a698b41b-5ddc-5fef-ba13-85d60383e927")}catch(e){}}();
|
|
3
1
|
import { printDiagnosticsToConsole } from "../common/output.js";
|
|
4
2
|
import settings from "../common/settings.js";
|
|
5
3
|
function wait(duration = settings.POLL_INTERVAL) {
|
|
@@ -19,5 +17,4 @@ export async function pingDeployment(argv) {
|
|
|
19
17
|
}
|
|
20
18
|
return false;
|
|
21
19
|
}
|
|
22
|
-
//# sourceMappingURL=poll-deployment.js.map
|
|
23
|
-
//# debugId=a698b41b-5ddc-5fef-ba13-85d60383e927
|
|
20
|
+
//# sourceMappingURL=poll-deployment.js.map
|
package/dist/deploy/archive.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="fc308050-449c-5058-b4ee-4bbfefa6ab93")}catch(e){}}();
|
|
3
1
|
import ignore from "ignore";
|
|
4
|
-
import minimatch from "minimatch";
|
|
2
|
+
import { minimatch } from "minimatch";
|
|
5
3
|
import { existsSync, mkdirSync, readFileSync, writeFileSync, } from "node:fs";
|
|
6
4
|
import { join, relative, sep } from "node:path";
|
|
7
5
|
import { simpleGit } from "simple-git";
|
|
@@ -107,5 +105,4 @@ async function writeGeneratedMetadata(dir, metadata) {
|
|
|
107
105
|
flag: "w",
|
|
108
106
|
});
|
|
109
107
|
}
|
|
110
|
-
//# sourceMappingURL=archive.js.map
|
|
111
|
-
//# debugId=fc308050-449c-5058-b4ee-4bbfefa6ab93
|
|
108
|
+
//# sourceMappingURL=archive.js.map
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="276fdbdc-f00d-56c1-9119-77780a0328cc")}catch(e){}}();
|
|
3
1
|
import { readFileSync, statSync } from "node:fs";
|
|
4
2
|
export async function upload(tarballPath, url) {
|
|
5
3
|
const stats = statSync(tarballPath);
|
|
@@ -13,5 +11,4 @@ export async function upload(tarballPath, url) {
|
|
|
13
11
|
body: bufferContent,
|
|
14
12
|
});
|
|
15
13
|
}
|
|
16
|
-
//# sourceMappingURL=file-upload.js.map
|
|
17
|
-
//# debugId=276fdbdc-f00d-56c1-9119-77780a0328cc
|
|
14
|
+
//# sourceMappingURL=file-upload.js.map
|
package/dist/deploy/handler.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="46771f8e-3893-5428-b081-43f1ce22162f")}catch(e){}}();
|
|
3
1
|
import { parse } from "node:path";
|
|
4
2
|
import { logger } from "../common/logger.js";
|
|
5
3
|
import { printCriticalFailureToConsoleAndExit, printDiagnosticsToConsole, printResultToConsoleAndExitGracefully, } from "../common/output.js";
|
|
@@ -48,5 +46,4 @@ export async function deploy(argv) {
|
|
|
48
46
|
await printCriticalFailureToConsoleAndExit("Error: Failed to determine where to upload your files. Try again later.");
|
|
49
47
|
}
|
|
50
48
|
}
|
|
51
|
-
//# sourceMappingURL=handler.js.map
|
|
52
|
-
//# debugId=46771f8e-3893-5428-b081-43f1ce22162f
|
|
49
|
+
//# sourceMappingURL=handler.js.map
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d51d59c4-00c9-53e6-a25b-48339755ffa5")}catch(e){}}();
|
|
3
1
|
import { logger } from "../common/logger.js";
|
|
4
2
|
import { printDiagnosticsToConsole, textOrJson } from "../common/output.js";
|
|
5
3
|
import settings from "../common/settings.js";
|
|
@@ -62,5 +60,4 @@ export async function pollDeployment(argv, fileId, account, project) {
|
|
|
62
60
|
}
|
|
63
61
|
return {};
|
|
64
62
|
}
|
|
65
|
-
//# sourceMappingURL=poll-deployment.js.map
|
|
66
|
-
//# debugId=d51d59c4-00c9-53e6-a25b-48339755ffa5
|
|
63
|
+
//# sourceMappingURL=poll-deployment.js.map
|
package/dist/dev/handler.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="fb49f8ca-f866-5a9a-be9a-d216de277f0c")}catch(e){}}();
|
|
3
1
|
import { cpSync, existsSync } from "node:fs";
|
|
4
2
|
import { join, relative, resolve } from "node:path";
|
|
5
3
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
@@ -78,5 +76,4 @@ export async function dev(argv) {
|
|
|
78
76
|
process.on("SIGINT", exit);
|
|
79
77
|
});
|
|
80
78
|
}
|
|
81
|
-
//# sourceMappingURL=handler.js.map
|
|
82
|
-
//# debugId=fb49f8ca-f866-5a9a-be9a-d216de277f0c
|
|
79
|
+
//# sourceMappingURL=handler.js.map
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="aee89485-cf69-52ad-a454-730d4ed42d1e")}catch(e){}}();
|
|
3
1
|
var FS=Object.defineProperty;var HS=(e,t,n)=>t in e?FS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var se=(e,t,n)=>(HS(e,typeof t!="symbol"?t+"":t,n),n),gd=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)};var Y=(e,t,n)=>(gd(e,t,"read from private field"),n?n.call(e):t.get(e)),Et=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},Ye=(e,t,n,r)=>(gd(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);var Pi=(e,t,n)=>(gd(e,t,"access private method"),n);function GS(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const o=Object.getOwnPropertyDescriptor(r,i);o&&Object.defineProperty(e,i,o.get?o:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();function sl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Y0={exports:{}},Hu={},Q0={exports:{}},ye={};/**
|
|
4
2
|
* @license React
|
|
5
3
|
* react.production.min.js
|
|
@@ -167,5 +165,3 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
167
165
|
`)+`
|
|
168
166
|
`}function KH(e,t,n,r,i,o){return MS(e,e,t,n,r,i,o)}function eG(e,t){return e.length!==t.length?!1:Yp(e,t)}function Yp(e,t){if(t.length>e.length)return!1;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}function tG(e){var t=Qp(e.lines),n=t.oldLines,r=t.newLines;n!==void 0?e.oldLines=n:delete e.oldLines,r!==void 0?e.newLines=r:delete e.newLines}function nG(e,t,n){e=T0(e,n),t=T0(t,n);var r={};(e.index||t.index)&&(r.index=e.index||t.index),(e.newFileName||t.newFileName)&&(j0(e)?j0(t)?(r.oldFileName=bs(r,e.oldFileName,t.oldFileName),r.newFileName=bs(r,e.newFileName,t.newFileName),r.oldHeader=bs(r,e.oldHeader,t.oldHeader),r.newHeader=bs(r,e.newHeader,t.newHeader)):(r.oldFileName=e.oldFileName,r.newFileName=e.newFileName,r.oldHeader=e.oldHeader,r.newHeader=e.newHeader):(r.oldFileName=t.oldFileName||e.oldFileName,r.newFileName=t.newFileName||e.newFileName,r.oldHeader=t.oldHeader||e.oldHeader,r.newHeader=t.newHeader||e.newHeader)),r.hunks=[];for(var i=0,o=0,a=0,l=0;i<e.hunks.length||o<t.hunks.length;){var s=e.hunks[i]||{oldStart:1/0},u=t.hunks[o]||{oldStart:1/0};if(L0(s,u))r.hunks.push(P0(s,a)),i++,l+=s.newLines-s.oldLines;else if(L0(u,s))r.hunks.push(P0(u,l)),o++,a+=u.newLines-u.oldLines;else{var c={oldStart:Math.min(s.oldStart,u.oldStart),oldLines:0,newStart:Math.min(s.newStart+a,u.oldStart+l),newLines:0,lines:[]};rG(c,s.oldStart,s.lines,u.oldStart,u.lines),o++,i++,r.hunks.push(c)}}return r}function T0(e,t){if(typeof e=="string"){if(/^@@/m.test(e)||/^Index:/m.test(e))return ud(e)[0];if(!t)throw new Error("Must provide a base reference or pass in a patch");return fh(void 0,void 0,t,e)}return e}function j0(e){return e.newFileName&&e.newFileName!==e.oldFileName}function bs(e,t,n){return t===n?t:(e.conflict=!0,{mine:t,theirs:n})}function L0(e,t){return e.oldStart<t.oldStart&&e.oldStart+e.oldLines<t.oldStart}function P0(e,t){return{oldStart:e.oldStart,oldLines:e.oldLines,newStart:e.newStart+t,newLines:e.newLines,lines:e.lines}}function rG(e,t,n,r,i){var o={offset:t,lines:n,index:0},a={offset:r,lines:i,index:0};for(O0(e,o,a),O0(e,a,o);o.index<o.lines.length&&a.index<a.lines.length;){var l=o.lines[o.index],s=a.lines[a.index];if((l[0]==="-"||l[0]==="+")&&(s[0]==="-"||s[0]==="+"))iG(e,o,a);else if(l[0]==="+"&&s[0]===" "){var u;(u=e.lines).push.apply(u,or(ui(o)))}else if(s[0]==="+"&&l[0]===" "){var c;(c=e.lines).push.apply(c,or(ui(a)))}else l[0]==="-"&&s[0]===" "?R0(e,o,a):s[0]==="-"&&l[0]===" "?R0(e,a,o,!0):l===s?(e.lines.push(l),o.index++,a.index++):ph(e,ui(o),ui(a))}k0(e,o),k0(e,a),tG(e)}function iG(e,t,n){var r=ui(t),i=ui(n);if(z0(r)&&z0(i)){if(Yp(r,i)&&B0(n,r,r.length-i.length)){var o;(o=e.lines).push.apply(o,or(r));return}else if(Yp(i,r)&&B0(t,i,i.length-r.length)){var a;(a=e.lines).push.apply(a,or(i));return}}else if(eG(r,i)){var l;(l=e.lines).push.apply(l,or(r));return}ph(e,r,i)}function R0(e,t,n,r){var i=ui(t),o=oG(n,i);if(o.merged){var a;(a=e.lines).push.apply(a,or(o.merged))}else ph(e,r?o:i,r?i:o)}function ph(e,t,n){e.conflict=!0,e.lines.push({conflict:!0,mine:t,theirs:n})}function O0(e,t,n){for(;t.offset<n.offset&&t.index<t.lines.length;){var r=t.lines[t.index++];e.lines.push(r),t.offset++}}function k0(e,t){for(;t.index<t.lines.length;){var n=t.lines[t.index++];e.lines.push(n)}}function ui(e){for(var t=[],n=e.lines[e.index][0];e.index<e.lines.length;){var r=e.lines[e.index];if(n==="-"&&r[0]==="+"&&(n="+"),n===r[0])t.push(r),e.index++;else break}return t}function oG(e,t){for(var n=[],r=[],i=0,o=!1,a=!1;i<t.length&&e.index<e.lines.length;){var l=e.lines[e.index],s=t[i];if(s[0]==="+")break;if(o=o||l[0]!==" ",r.push(s),i++,l[0]==="+")for(a=!0;l[0]==="+";)n.push(l),l=e.lines[++e.index];s.substr(1)===l.substr(1)?(n.push(l),e.index++):a=!0}if((t[i]||"")[0]==="+"&&o&&(a=!0),a)return n;for(;i<t.length;)r.push(t[i++]);return{merged:r,changes:n}}function z0(e){return e.reduce(function(t,n){return t&&n[0]==="-"},!0)}function B0(e,t,n){for(var r=0;r<n;r++){var i=t[t.length-n+r].substr(1);if(e.lines[e.index+r]!==" "+i)return!1}return e.index+=n,!0}function Qp(e){var t=0,n=0;return e.forEach(function(r){if(typeof r!="string"){var i=Qp(r.mine),o=Qp(r.theirs);t!==void 0&&(i.oldLines===o.oldLines?t+=i.oldLines:t=void 0),n!==void 0&&(i.newLines===o.newLines?n+=i.newLines:n=void 0)}else n!==void 0&&(r[0]==="+"||r[0]===" ")&&n++,t!==void 0&&(r[0]==="-"||r[0]===" ")&&t++}),{oldLines:t,newLines:n}}function aG(e){for(var t=[],n,r,i=0;i<e.length;i++)n=e[i],n.added?r=1:n.removed?r=-1:r=0,t.push([r,n.value]);return t}function lG(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];r.added?t.push("<ins>"):r.removed&&t.push("<del>"),t.push(sG(r.value)),r.added?t.push("</ins>"):r.removed&&t.push("</del>")}return t.join("")}function sG(e){var t=e;return t=t.replace(/&/g,"&"),t=t.replace(/</g,"<"),t=t.replace(/>/g,">"),t=t.replace(/"/g,"""),t}const uG=Object.freeze(Object.defineProperty({__proto__:null,Diff:Xn,applyPatch:wS,applyPatches:qH,canonicalize:Bu,convertChangesToDMP:aG,convertChangesToXML:lG,createPatch:KH,createTwoFilesPatch:MS,diffArrays:JH,diffChars:UH,diffCss:GH,diffJson:QH,diffLines:dh,diffSentences:HH,diffTrimmedLines:FH,diffWords:$H,diffWordsWithSpace:_H,merge:nG,parsePatch:ud,structuredPatch:fh},Symbol.toStringTag,{value:"Module"}));function cG(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function dG(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var fG=function(){function e(n){var r=this;this._insertTag=function(i){var o;r.tags.length===0?r.insertionPoint?o=r.insertionPoint.nextSibling:r.prepend?o=r.container.firstChild:o=r.before:o=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(i,o),r.tags.push(i)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(dG(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=cG(i);try{o.insertRule(r,o.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){return r.parentNode&&r.parentNode.removeChild(r)}),this.tags=[],this.ctr=0},e}(),xt="-ms-",$u="-moz-",xe="-webkit-",xS="comm",mh="rule",gh="decl",pG="@import",bS="@keyframes",mG="@layer",gG=Math.abs,cd=String.fromCharCode,hG=Object.assign;function vG(e,t){return ht(e,0)^45?(((t<<2^ht(e,0))<<2^ht(e,1))<<2^ht(e,2))<<2^ht(e,3):0}function NS(e){return e.trim()}function yG(e,t){return(e=t.exec(e))?e[0]:e}function be(e,t,n){return e.replace(t,n)}function Jp(e,t){return e.indexOf(t)}function ht(e,t){return e.charCodeAt(t)|0}function il(e,t,n){return e.slice(t,n)}function Bn(e){return e.length}function hh(e){return e.length}function Ns(e,t){return t.push(e),e}function IG(e,t){return e.map(t).join("")}var dd=1,Do=1,SS=0,Wt=0,qe=0,zo="";function fd(e,t,n,r,i,o,a){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:dd,column:Do,length:a,return:""}}function oa(e,t){return hG(fd("",null,null,"",null,null,0),e,{length:-e.length},t)}function wG(){return qe}function MG(){return qe=Wt>0?ht(zo,--Wt):0,Do--,qe===10&&(Do=1,dd--),qe}function nn(){return qe=Wt<SS?ht(zo,Wt++):0,Do++,qe===10&&(Do=1,dd++),qe}function Vn(){return ht(zo,Wt)}function Fs(){return Wt}function Hl(e,t){return il(zo,e,t)}function ol(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function DS(e){return dd=Do=1,SS=Bn(zo=e),Wt=0,[]}function AS(e){return zo="",e}function Hs(e){return NS(Hl(Wt-1,Xp(e===91?e+2:e===40?e+1:e)))}function xG(e){for(;(qe=Vn())&&qe<33;)nn();return ol(e)>2||ol(qe)>3?"":" "}function bG(e,t){for(;--t&&nn()&&!(qe<48||qe>102||qe>57&&qe<65||qe>70&&qe<97););return Hl(e,Fs()+(t<6&&Vn()==32&&nn()==32))}function Xp(e){for(;nn();)switch(qe){case e:return Wt;case 34:case 39:e!==34&&e!==39&&Xp(qe);break;case 40:e===41&&Xp(e);break;case 92:nn();break}return Wt}function NG(e,t){for(;nn()&&e+qe!==47+10;)if(e+qe===42+42&&Vn()===47)break;return"/*"+Hl(t,Wt-1)+"*"+cd(e===47?e:nn())}function SG(e){for(;!ol(Vn());)nn();return Hl(e,Wt)}function DG(e){return AS(Gs("",null,null,null,[""],e=DS(e),0,[0],e))}function Gs(e,t,n,r,i,o,a,l,s){for(var u=0,c=0,d=a,f=0,p=0,g=0,h=1,w=1,I=1,y=0,M="",x=i,S=o,b=r,N=M;w;)switch(g=y,y=nn()){case 40:if(g!=108&&ht(N,d-1)==58){Jp(N+=be(Hs(y),"&","&\f"),"&\f")!=-1&&(I=-1);break}case 34:case 39:case 91:N+=Hs(y);break;case 9:case 10:case 13:case 32:N+=xG(g);break;case 92:N+=bG(Fs()-1,7);continue;case 47:switch(Vn()){case 42:case 47:Ns(AG(NG(nn(),Fs()),t,n),s);break;default:N+="/"}break;case 123*h:l[u++]=Bn(N)*I;case 125*h:case 59:case 0:switch(y){case 0:case 125:w=0;case 59+c:I==-1&&(N=be(N,/\f/g,"")),p>0&&Bn(N)-d&&Ns(p>32?$0(N+";",r,n,d-1):$0(be(N," ","")+";",r,n,d-2),s);break;case 59:N+=";";default:if(Ns(b=U0(N,t,n,u,c,i,l,M,x=[],S=[],d),o),y===123)if(c===0)Gs(N,t,b,b,x,o,d,l,S);else switch(f===99&&ht(N,3)===110?100:f){case 100:case 108:case 109:case 115:Gs(e,b,b,r&&Ns(U0(e,b,b,0,0,i,l,M,i,x=[],d),S),i,S,d,l,r?x:S);break;default:Gs(N,b,b,b,[""],S,0,l,S)}}u=c=p=0,h=I=1,M=N="",d=a;break;case 58:d=1+Bn(N),p=g;default:if(h<1){if(y==123)--h;else if(y==125&&h++==0&&MG()==125)continue}switch(N+=cd(y),y*h){case 38:I=c>0?1:(N+="\f",-1);break;case 44:l[u++]=(Bn(N)-1)*I,I=1;break;case 64:Vn()===45&&(N+=Hs(nn())),f=Vn(),c=d=Bn(M=N+=SG(Fs())),y++;break;case 45:g===45&&Bn(N)==2&&(h=0)}}return o}function U0(e,t,n,r,i,o,a,l,s,u,c){for(var d=i-1,f=i===0?o:[""],p=hh(f),g=0,h=0,w=0;g<r;++g)for(var I=0,y=il(e,d+1,d=gG(h=a[g])),M=e;I<p;++I)(M=NS(h>0?f[I]+" "+y:be(y,/&\f/g,f[I])))&&(s[w++]=M);return fd(e,t,n,i===0?mh:l,s,u,c)}function AG(e,t,n){return fd(e,t,n,xS,cd(wG()),il(e,2,-2),0)}function $0(e,t,n,r){return fd(e,t,n,gh,il(e,0,r),il(e,r+1,-1),r)}function oo(e,t){for(var n="",r=hh(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function CG(e,t,n,r){switch(e.type){case mG:if(e.children.length)break;case pG:case gh:return e.return=e.return||e.value;case xS:return"";case bS:return e.return=e.value+"{"+oo(e.children,r)+"}";case mh:e.value=e.props.join(",")}return Bn(n=oo(e.children,r))?e.return=e.value+"{"+n+"}":""}function EG(e){var t=hh(e);return function(n,r,i,o){for(var a="",l=0;l<t;l++)a+=e[l](n,r,i,o)||"";return a}}function TG(e){return function(t){t.root||(t=t.return)&&e(t)}}function jG(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var LG=function(t,n,r){for(var i=0,o=0;i=o,o=Vn(),i===38&&o===12&&(n[r]=1),!ol(o);)nn();return Hl(t,Wt)},PG=function(t,n){var r=-1,i=44;do switch(ol(i)){case 0:i===38&&Vn()===12&&(n[r]=1),t[r]+=LG(Wt-1,n,r);break;case 2:t[r]+=Hs(i);break;case 4:if(i===44){t[++r]=Vn()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=cd(i)}while(i=nn());return t},RG=function(t,n){return AS(PG(DS(t),n))},_0=new WeakMap,OG=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,i=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!_0.get(r))&&!i){_0.set(t,!0);for(var o=[],a=RG(n,o),l=r.props,s=0,u=0;s<a.length;s++)for(var c=0;c<l.length;c++,u++)t.props[u]=o[s]?a[s].replace(/&\f/g,l[c]):l[c]+" "+a[s]}}},kG=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function CS(e,t){switch(vG(e,t)){case 5103:return xe+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return xe+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return xe+e+$u+e+xt+e+e;case 6828:case 4268:return xe+e+xt+e+e;case 6165:return xe+e+xt+"flex-"+e+e;case 5187:return xe+e+be(e,/(\w+).+(:[^]+)/,xe+"box-$1$2"+xt+"flex-$1$2")+e;case 5443:return xe+e+xt+"flex-item-"+be(e,/flex-|-self/,"")+e;case 4675:return xe+e+xt+"flex-line-pack"+be(e,/align-content|flex-|-self/,"")+e;case 5548:return xe+e+xt+be(e,"shrink","negative")+e;case 5292:return xe+e+xt+be(e,"basis","preferred-size")+e;case 6060:return xe+"box-"+be(e,"-grow","")+xe+e+xt+be(e,"grow","positive")+e;case 4554:return xe+be(e,/([^-])(transform)/g,"$1"+xe+"$2")+e;case 6187:return be(be(be(e,/(zoom-|grab)/,xe+"$1"),/(image-set)/,xe+"$1"),e,"")+e;case 5495:case 3959:return be(e,/(image-set\([^]*)/,xe+"$1$`$1");case 4968:return be(be(e,/(.+:)(flex-)?(.*)/,xe+"box-pack:$3"+xt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+xe+e+e;case 4095:case 3583:case 4068:case 2532:return be(e,/(.+)-inline(.+)/,xe+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Bn(e)-1-t>6)switch(ht(e,t+1)){case 109:if(ht(e,t+4)!==45)break;case 102:return be(e,/(.+:)(.+)-([^]+)/,"$1"+xe+"$2-$3$1"+$u+(ht(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Jp(e,"stretch")?CS(be(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ht(e,t+1)!==115)break;case 6444:switch(ht(e,Bn(e)-3-(~Jp(e,"!important")&&10))){case 107:return be(e,":",":"+xe)+e;case 101:return be(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+xe+(ht(e,14)===45?"inline-":"")+"box$3$1"+xe+"$2$3$1"+xt+"$2box$3")+e}break;case 5936:switch(ht(e,t+11)){case 114:return xe+e+xt+be(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return xe+e+xt+be(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return xe+e+xt+be(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return xe+e+xt+e+e}return e}var zG=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case gh:t.return=CS(t.value,t.length);break;case bS:return oo([oa(t,{value:be(t.value,"@","@"+xe)})],i);case mh:if(t.length)return IG(t.props,function(o){switch(yG(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return oo([oa(t,{props:[be(o,/:(read-\w+)/,":"+$u+"$1")]})],i);case"::placeholder":return oo([oa(t,{props:[be(o,/:(plac\w+)/,":"+xe+"input-$1")]}),oa(t,{props:[be(o,/:(plac\w+)/,":"+$u+"$1")]}),oa(t,{props:[be(o,/:(plac\w+)/,xt+"input-$1")]})],i)}return""})}},BG=[zG],UG=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(h){var w=h.getAttribute("data-emotion");w.indexOf(" ")!==-1&&(document.head.appendChild(h),h.setAttribute("data-s",""))})}var i=t.stylisPlugins||BG,o={},a,l=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(h){for(var w=h.getAttribute("data-emotion").split(" "),I=1;I<w.length;I++)o[w[I]]=!0;l.push(h)});var s,u=[OG,kG];{var c,d=[CG,TG(function(h){c.insert(h)})],f=EG(u.concat(i,d)),p=function(w){return oo(DG(w),f)};s=function(w,I,y,M){c=y,p(w?w+"{"+I.styles+"}":I.styles),M&&(g.inserted[I.name]=!0)}}var g={key:n,sheet:new fG({key:n,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:s};return g.sheet.hydrate(l),g};function $G(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var _G={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},FG=/[A-Z]|^ms/g,HG=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ES=function(t){return t.charCodeAt(1)===45},F0=function(t){return t!=null&&typeof t!="boolean"},Sf=jG(function(e){return ES(e)?e:e.replace(FG,"-$&").toLowerCase()}),H0=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(HG,function(r,i,o){return Un={name:i,styles:o,next:Un},i})}return _G[t]!==1&&!ES(t)&&typeof n=="number"&&n!==0?n+"px":n};function al(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return Un={name:n.name,styles:n.styles,next:Un},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)Un={name:r.name,styles:r.styles,next:Un},r=r.next;var i=n.styles+";";return i}return GG(e,t,n)}case"function":{if(e!==void 0){var o=Un,a=n(e);return Un=o,al(e,t,a)}break}}if(t==null)return n;var l=t[n];return l!==void 0?l:n}function GG(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=al(e,t,n[i])+";";else for(var o in n){var a=n[o];if(typeof a!="object")t!=null&&t[a]!==void 0?r+=o+"{"+t[a]+"}":F0(a)&&(r+=Sf(o)+":"+H0(o,a)+";");else if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var l=0;l<a.length;l++)F0(a[l])&&(r+=Sf(o)+":"+H0(o,a[l])+";");else{var s=al(e,t,a);switch(o){case"animation":case"animationName":{r+=Sf(o)+":"+s+";";break}default:r+=o+"{"+s+"}"}}}return r}var G0=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Un,Df=function(t,n,r){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var i=!0,o="";Un=void 0;var a=t[0];a==null||a.raw===void 0?(i=!1,o+=al(r,n,a)):o+=a[0];for(var l=1;l<t.length;l++)o+=al(r,n,t[l]),i&&(o+=a[l]);G0.lastIndex=0;for(var s="",u;(u=G0.exec(o))!==null;)s+="-"+u[1];var c=$G(o)+s;return{name:c,styles:o,next:Un}},WG=!0;function TS(e,t,n){var r="";return n.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):r+=i+" "}),r}var VG=function(t,n,r){var i=t.key+"-"+n.name;(r===!1||WG===!1)&&t.registered[i]===void 0&&(t.registered[i]=n.styles)},ZG=function(t,n,r){VG(t,n,r);var i=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var o=n;do t.insert(n===o?"."+i:"",o,t.sheet,!0),o=o.next;while(o!==void 0)}};function W0(e,t){if(e.inserted[t.name]===void 0)return e.insert("",t,e.sheet,!0)}function V0(e,t,n){var r=[],i=TS(e,r,n);return r.length<2?n:i+t(r)}var YG=function(t){var n=UG(t);n.sheet.speedy=function(l){this.isSpeedy=l},n.compat=!0;var r=function(){for(var s=arguments.length,u=new Array(s),c=0;c<s;c++)u[c]=arguments[c];var d=Df(u,n.registered,void 0);return ZG(n,d,!1),n.key+"-"+d.name},i=function(){for(var s=arguments.length,u=new Array(s),c=0;c<s;c++)u[c]=arguments[c];var d=Df(u,n.registered),f="animation-"+d.name;return W0(n,{name:d.name,styles:"@keyframes "+f+"{"+d.styles+"}"}),f},o=function(){for(var s=arguments.length,u=new Array(s),c=0;c<s;c++)u[c]=arguments[c];var d=Df(u,n.registered);W0(n,d)},a=function(){for(var s=arguments.length,u=new Array(s),c=0;c<s;c++)u[c]=arguments[c];return V0(n.registered,r,QG(u))};return{css:r,cx:a,injectGlobal:o,keyframes:i,hydrate:function(s){s.forEach(function(u){n.inserted[u]=!0})},flush:function(){n.registered={},n.inserted={},n.sheet.flush()},sheet:n.sheet,cache:n,getRegisteredStyles:TS.bind(null,n.registered),merge:V0.bind(null,n.registered,r)}},QG=function e(t){for(var n="",r=0;r<t.length;r++){var i=t[r];if(i!=null){var o=void 0;switch(typeof i){case"boolean":break;case"object":{if(Array.isArray(i))o=e(i);else{o="";for(var a in i)i[a]&&a&&(o&&(o+=" "),o+=a)}break}default:o=i}o&&(n&&(n+=" "),n+=o)}}return n},jS=YG({key:"css"}),JG=jS.cx,Ge=jS.css,XG=uG,Z0=e=>{const t=e.split(`
|
|
169
167
|
`);if(t.every(o=>!o))return t.length===2?[]:(t.pop(),t);const r=t[t.length-1],i=t[0];return r||t.pop(),i||t.shift(),t},qG=(e,t,n="diffChars")=>{const r=XG[n](e,t),i={left:[],right:[]};return r.forEach(({added:o,removed:a,value:l})=>{const s={};return o&&(s.type=1,s.value=l,i.right.push(s)),a&&(s.type=2,s.value=l,i.left.push(s)),!a&&!o&&(s.type=0,s.value=l,i.right.push(s),i.left.push(s)),s}),i},KG=(e,t,n=!1,r="diffChars",i=0)=>{const o=dh(e.trimRight(),t.trimRight(),{newlineIsToken:!0,ignoreWhitespace:!1,ignoreCase:!1});let a=i,l=i,s=[],u=0;const c=[],d=[],f=(p,g,h,w,I)=>Z0(p).map((M,x)=>{const S={},b={};if(!(d.includes(`${g}-${x}`)||I&&x!==0)){if(h||w)if(c.includes(u)||c.push(u),w){l+=1,S.lineNumber=l,S.type=2,S.value=M||" ";const N=o[g+1];if(N&&N.added&&Z0(N.value)[x]){const{value:P,lineNumber:R,type:O}=f(N.value,g,!0,!1,!0)[0].right;if(d.push(`${g+1}-${x}`),b.lineNumber=R,b.type=O,n)b.value=P;else{const J=qG(M,P,r);b.value=J.right,S.value=J.left}}}else a+=1,b.lineNumber=a,b.type=1,b.value=M;else l+=1,a+=1,S.lineNumber=l,S.type=0,S.value=M,b.lineNumber=a,b.type=0,b.value=M;return u+=1,{right:b,left:S}}}).filter(Boolean);return o.forEach(({added:p,removed:g,value:h},w)=>{s=[...s,...f(h,w,p,g)]}),{lineInformation:s,diffLines:c}},eW=(e,t=!1)=>{const{variables:n={},...r}=e,i={light:{diffViewerBackground:"#fff",diffViewerColor:"#212529",addedBackground:"#e6ffed",addedColor:"#24292e",removedBackground:"#ffeef0",removedColor:"#24292e",wordAddedBackground:"#acf2bd",wordRemovedBackground:"#fdb8c0",addedGutterBackground:"#cdffd8",removedGutterBackground:"#ffdce0",gutterBackground:"#f7f7f7",gutterBackgroundDark:"#f3f1f1",highlightBackground:"#fffbdd",highlightGutterBackground:"#fff5b1",codeFoldGutterBackground:"#dbedff",codeFoldBackground:"#f1f8ff",emptyLineBackground:"#fafbfc",gutterColor:"#212529",addedGutterColor:"#212529",removedGutterColor:"#212529",codeFoldContentColor:"#212529",diffViewerTitleBackground:"#fafbfc",diffViewerTitleColor:"#212529",diffViewerTitleBorderColor:"#eee",...n.light||{}},dark:{diffViewerBackground:"#2e303c",diffViewerColor:"#FFF",addedBackground:"#044B53",addedColor:"white",removedBackground:"#632F34",removedColor:"white",wordAddedBackground:"#055d67",wordRemovedBackground:"#7d383f",addedGutterBackground:"#034148",removedGutterBackground:"#632b30",gutterBackground:"#2c2f3a",gutterBackgroundDark:"#262933",highlightBackground:"#2a3967",highlightGutterBackground:"#2d4077",codeFoldGutterBackground:"#21232b",codeFoldBackground:"#262831",emptyLineBackground:"#363946",gutterColor:"#464c67",addedGutterColor:"#8c8c8c",removedGutterColor:"#8c8c8c",codeFoldContentColor:"#555a7b",diffViewerTitleBackground:"#2f323e",diffViewerTitleColor:"#555a7b",diffViewerTitleBorderColor:"#353846",...n.dark||{}}},o=t?i.dark:i.light,a=Ge({width:"100%",label:"content"}),l=Ge({[`.${a}`]:{width:"50%"},label:"split-view"}),s=Ge({width:"100%",background:o.diffViewerBackground,pre:{margin:0,whiteSpace:"pre-wrap",lineHeight:"25px"},label:"diff-container",borderCollapse:"collapse"}),u=Ge({color:o.codeFoldContentColor,label:"code-fold-content"}),c=Ge({color:o.diffViewerColor,label:"content-text"}),d=Ge({background:o.diffViewerTitleBackground,padding:10,borderBottom:`1px solid ${o.diffViewerTitleBorderColor}`,label:"title-block",":last-child":{borderLeft:`1px solid ${o.diffViewerTitleBorderColor}`},[`.${c}`]:{color:o.diffViewerTitleColor}}),f=Ge({color:o.gutterColor,label:"line-number"}),p=Ge({background:o.removedBackground,color:o.removedColor,pre:{color:o.removedColor},[`.${f}`]:{color:o.removedGutterColor},label:"diff-removed"}),g=Ge({background:o.addedBackground,color:o.addedColor,pre:{color:o.addedColor},[`.${f}`]:{color:o.addedGutterColor},label:"diff-added"}),h=Ge({padding:2,display:"inline-flex",borderRadius:1,label:"word-diff"}),w=Ge({background:o.wordAddedBackground,label:"word-added"}),I=Ge({background:o.wordRemovedBackground,label:"word-removed"}),y=Ge({backgroundColor:o.codeFoldGutterBackground,label:"code-fold-gutter"}),M=Ge({backgroundColor:o.codeFoldBackground,height:40,fontSize:14,fontWeight:700,label:"code-fold",a:{textDecoration:"underline !important",cursor:"pointer",pre:{display:"inline"}}}),x=Ge({backgroundColor:o.emptyLineBackground,label:"empty-line"}),S=Ge({width:25,paddingLeft:10,paddingRight:10,userSelect:"none",label:"marker",[`&.${g}`]:{pre:{color:o.addedColor}},[`&.${p}`]:{pre:{color:o.removedColor}}}),b=Ge({background:o.highlightBackground,label:"highlighted-line",[`.${w}, .${I}`]:{backgroundColor:"initial"}}),N=Ge({label:"highlighted-gutter"}),C=Ge({userSelect:"none",minWidth:50,padding:"0 10px",label:"gutter",textAlign:"right",background:o.gutterBackground,"&:hover":{cursor:"pointer",background:o.gutterBackgroundDark,pre:{opacity:1}},pre:{opacity:.5},[`&.${g}`]:{background:o.addedGutterBackground},[`&.${p}`]:{background:o.removedGutterBackground},[`&.${N}`]:{background:o.highlightGutterBackground,"&:hover":{background:o.highlightGutterBackground}}}),P=Ge({"&:hover":{background:o.gutterBackground,cursor:"initial"},label:"empty-gutter"}),R=Ge({verticalAlign:"baseline",label:"line"}),O={diffContainer:s,diffRemoved:p,diffAdded:g,splitView:l,marker:S,highlightedGutter:N,highlightedLine:b,gutter:C,line:R,wordDiff:h,wordAdded:w,wordRemoved:I,codeFoldGutter:y,codeFold:M,emptyGutter:P,emptyLine:x,lineNumber:f,contentText:c,content:a,codeFoldContent:u,titleBlock:d},J=Object.keys(r).reduce((U,W)=>({...U,[W]:Ge(r[W])}),{});return Object.keys(O).reduce((U,W)=>({...U,[W]:J[W]?JG(O[W],J[W]):O[W]}),{})},LS=class extends v.Component{constructor(e){super(e),this.resetCodeBlocks=()=>this.state.expandedBlocks.length>0?(this.setState({expandedBlocks:[]}),!0):!1,this.onBlockExpand=t=>{const n=this.state.expandedBlocks.slice();n.push(t),this.setState({expandedBlocks:n})},this.computeStyles=OH(eW),this.onLineNumberClickProxy=t=>this.props.onLineNumberClick?n=>this.props.onLineNumberClick(t,n):()=>{},this.renderWordDiff=(t,n)=>t.map((r,i)=>v.createElement("span",{key:i,className:ae(this.styles.wordDiff,{[this.styles.wordAdded]:r.type===1,[this.styles.wordRemoved]:r.type===2})},n?n(r.value):r.value)),this.renderLine=(t,n,r,i,o,a)=>{const l=`${r}-${t}`,s=`${a}-${o}`,u=this.props.highlightLines.includes(l)||this.props.highlightLines.includes(s),c=n===1,d=n===2;let f;return Array.isArray(i)?f=this.renderWordDiff(i,this.props.renderContent):this.props.renderContent?f=this.props.renderContent(i):f=i,v.createElement(v.Fragment,null,!this.props.hideLineNumbers&&v.createElement("td",{onClick:t&&this.onLineNumberClickProxy(l),className:ae(this.styles.gutter,{[this.styles.emptyGutter]:!t,[this.styles.diffAdded]:c,[this.styles.diffRemoved]:d,[this.styles.highlightedGutter]:u})},v.createElement("pre",{className:this.styles.lineNumber},t)),!this.props.splitView&&!this.props.hideLineNumbers&&v.createElement("td",{onClick:o&&this.onLineNumberClickProxy(s),className:ae(this.styles.gutter,{[this.styles.emptyGutter]:!o,[this.styles.diffAdded]:c,[this.styles.diffRemoved]:d,[this.styles.highlightedGutter]:u})},v.createElement("pre",{className:this.styles.lineNumber},o)),v.createElement("td",{className:ae(this.styles.marker,{[this.styles.emptyLine]:!f,[this.styles.diffAdded]:c,[this.styles.diffRemoved]:d,[this.styles.highlightedLine]:u})},v.createElement("pre",null,c&&"+",d&&"-")),v.createElement("td",{className:ae(this.styles.content,{[this.styles.emptyLine]:!f,[this.styles.diffAdded]:c,[this.styles.diffRemoved]:d,[this.styles.highlightedLine]:u})},v.createElement("pre",{className:this.styles.contentText},f)))},this.renderSplitView=({left:t,right:n},r)=>v.createElement("tr",{key:r,className:this.styles.line},this.renderLine(t.lineNumber,t.type,"L",t.value),this.renderLine(n.lineNumber,n.type,"R",n.value)),this.renderInlineView=({left:t,right:n},r)=>{let i;return t.type===2&&n.type===1?v.createElement(v.Fragment,{key:r},v.createElement("tr",{className:this.styles.line},this.renderLine(t.lineNumber,t.type,"L",t.value,null)),v.createElement("tr",{className:this.styles.line},this.renderLine(null,n.type,"R",n.value,n.lineNumber))):(t.type===2&&(i=this.renderLine(t.lineNumber,t.type,"L",t.value,null)),t.type===0&&(i=this.renderLine(t.lineNumber,t.type,"L",t.value,n.lineNumber,"R")),n.type===1&&(i=this.renderLine(null,n.type,"R",n.value,n.lineNumber)),v.createElement("tr",{key:r,className:this.styles.line},i))},this.onBlockClickProxy=t=>()=>this.onBlockExpand(t),this.renderSkippedLineIndicator=(t,n,r,i)=>{const{hideLineNumbers:o,splitView:a}=this.props,l=this.props.codeFoldMessageRenderer?this.props.codeFoldMessageRenderer(t,r,i):v.createElement("pre",{className:this.styles.codeFoldContent},"Expand ",t," lines ..."),s=v.createElement("td",null,v.createElement("a",{onClick:this.onBlockClickProxy(n),tabIndex:0},l)),u=!a&&!o;return v.createElement("tr",{key:`${r}-${i}`,className:this.styles.codeFold},!o&&v.createElement("td",{className:this.styles.codeFoldGutter}),v.createElement("td",{className:ae({[this.styles.codeFoldGutter]:u})}),u?v.createElement(v.Fragment,null,v.createElement("td",null),s):v.createElement(v.Fragment,null,s,v.createElement("td",null)),v.createElement("td",null),v.createElement("td",null))},this.renderDiff=()=>{const{oldValue:t,newValue:n,splitView:r,disableWordDiff:i,compareMethod:o,linesOffset:a}=this.props,{lineInformation:l,diffLines:s}=KG(t,n,i,o,a),u=this.props.extraLinesSurroundingDiff<0?0:this.props.extraLinesSurroundingDiff;let c=[];return l.map((d,f)=>{const p=s[0],g=p-f;if(this.props.showDiffOnly&&(g===-u&&(c=[],s.shift()),d.left.type===0&&(g>u||typeof p>"u")&&!this.state.expandedBlocks.includes(p)))return c.push(f+1),f===l.length-1&&c.length>1?this.renderSkippedLineIndicator(c.length,p,d.left.lineNumber,d.right.lineNumber):null;const h=r?this.renderSplitView(d,f):this.renderInlineView(d,f);if(g===u&&c.length>0){const{length:w}=c;return c=[],v.createElement(v.Fragment,{key:f},this.renderSkippedLineIndicator(w,p,d.left.lineNumber,d.right.lineNumber),h)}return h})},this.render=()=>{const{oldValue:t,newValue:n,useDarkTheme:r,leftTitle:i,rightTitle:o,splitView:a,hideLineNumbers:l}=this.props;if(typeof t!="string"||typeof n!="string")throw Error('"oldValue" and "newValue" should be strings');this.styles=this.computeStyles(this.props.styles,r);const s=this.renderDiff(),u=l?2:3,c=l?2:4,d=(i||o)&&v.createElement("tr",null,v.createElement("td",{colSpan:a?u:c,className:this.styles.titleBlock},v.createElement("pre",{className:this.styles.contentText},i)),a&&v.createElement("td",{colSpan:u,className:this.styles.titleBlock},v.createElement("pre",{className:this.styles.contentText},o)));return v.createElement("table",{className:ae(this.styles.diffContainer,{[this.styles.splitView]:a})},v.createElement("tbody",null,d,s))},this.state={expandedBlocks:[]}}};LS.defaultProps={oldValue:"",newValue:"",splitView:!0,highlightLines:[],disableWordDiff:!1,compareMethod:"diffChars",styles:{},hideLineNumbers:!1,extraLinesSurroundingDiff:3,showDiffOnly:!0,useDarkTheme:!1,linesOffset:0};var tW=LS;const nW={line:{padding:"5px 2px","&:hover":{background:"#a26ea1"}},titleBlock:{padding:"5px",paddingLeft:"15px"}},rW=({url:e,surfaceResponse:t})=>{const n=Cl().get("path"),r=$c(),i=El(),o=Al(),[a,l]=v.useState(!1),[s,u]=v.useState(!1),[c,d]=v.useState(null),[f,p]=v.useState(null),[g,h]=v.useState(!0);v.useEffect(()=>{(async()=>{try{(await fetch(`${e}/ping`)).ok||h(!1)}catch{h(!1)}})()},[g]),v.useEffect(()=>{async function S(b){const N=await fetch(`${e}/open-api-content?path=${n}`,{method:"GET"});if(N.status!==200){const R=await N.json();throw Error(R.message)}const P=(await N.json()).filter(R=>R.path===b);if(P.length>0)return P[0]}if(g){const b=new EventSource(`${e}/updates`);return b.onmessage=async N=>{const C=JSON.parse(N.data);if(C.type==="update"){if(n===null)return;const R=/([a-zA-Z0-9\.\-\_]*)$/.exec(C.filePath);if(!R||!R[0])return;const O=R[0];if(O!==zp&&O!==n){console.log(`discarded event since changes were on '${C.filePath}'`);return}try{const J=await S(O);if(J){const U={path:J.path,type:xu.File,content:JSON.stringify(J.content,void 0,4),saveState:St.unmodified};O===zp&&i.policyListFileModel.saveState!==St.unmodified||O===n&&r.openApiFileModel.saveState!==St.unmodified?x(O,U):(o(U,St.unmodified),t(`Successfully updated Local Designer with external file changes from '${U.path}'.`,"info"))}}catch(J){const U=J.message&&J.message.includes("Failed to fetch")?Bc:`Error: ${J.message}`;t(U,"error")}}},b.onerror=N=>{console.warn("Hot-reload error:",N),t("An error occurred while attempting to set the hot-reload connection. Try restarting the editor.","error"),b.close(),h(!1)},b.addEventListener("close",()=>b.close()),()=>{b.close()}}},[i,r,g]);const w=()=>{l(!1),M(),d(null),p(null),u(!1)},I=()=>{if(f===null){t("An error occurred while attempting to overwrite using the external file changes. Try refreshing the editor session.","error"),w();return}o(f,St.unmodified),t(`Successfully updated Local Designer with external file changes from '${f.path}'.`,"info"),w()},[y,M]=ho(()=>m.jsx(kM,{onClose:w,isOpen:!0,maxWidth:"max-w-4xl",children:m.jsxs("div",{className:"space-y-4",children:[m.jsx("div",{className:"text-xl font-bold",children:"Changes outside of Local Designer"}),m.jsx("div",{className:"text-left text-sm text-gray-600 whitespace-pre-line w-full mb-2",children:m.jsxs("p",{className:"leading-6 mb-5",children:["Failed to hot-reload '",c,"': The content in Local Designer is newer.",m.jsx("br",{})," Please choose if you want to keep current Local Designer changes or overwrite them with the external changes."]})}),s?m.jsx("div",{className:"overflow-scroll h-96 text-sm border",children:m.jsx(tW,{oldValue:(f==null?void 0:f.path)==="policies.json"?i.policyListFileModel.content:r.openApiFileModel.content,newValue:f==null?void 0:f.content,splitView:!0,leftTitle:"Current changes",rightTitle:"External changes",styles:nW})}):m.jsx("div",{className:"text-sm",children:"* This diff is too large to display properly."}),m.jsxs("div",{className:"flex flex-row items-center justify-center space-x-2",children:[m.jsx(En,{label:"Keep current changes",onClick:w}),m.jsx(En,{dataTestId:"connect-non-empty-repo-confirm",buttonType:xi.WHITE,label:"Overwrite current changes",onClick:I})]})]})}),[c,i,f,r]),x=(S,b)=>{d(S),p(b);try{if(b.path.endsWith(".oas.json")&&b.content){const N=JSON.parse(b.content);N.paths&&Object.keys(N.paths).length<40&&u(!0)}else if(b.path.endsWith("policies.json")&&b.content){const N=JSON.parse(b.content);N.policies&&N.policies.length<40&&u(!0)}}catch{console.warn("Failed while calculating the diff size")}y()};return m.jsx("div",{})},iW=5e3;function oW(){const[e,t]=v.useState(null),n=a=>{t({message:a,type:"error"})},r=(a,l)=>{t({message:a,type:l}),setTimeout(()=>{t(null)},iW)},i=window.SERVER_DATA,o=`http://${i.server_address}:${i.server_port}`;return m.jsx("div",{className:"h-screen min-w-lg",children:m.jsx(a3,{children:m.jsx(yC,{children:m.jsx(mk,{children:m.jsx(s3,{url:o,handleErrors:n,children:m.jsx(f3,{children:m.jsxs(m.Fragment,{children:[m.jsxs("div",{className:"flex gap-5 px-3 mx-4 ",children:[m.jsx("div",{className:"flex-grow",children:m.jsx(Ob,{url:o,handleErrors:n})}),m.jsx("div",{className:"flex-grow",children:e!==null&&m.jsx(LH,{message:e.message,type:e.type})}),m.jsx("div",{className:"flex-grow",children:m.jsx(jH,{url:o,surfaceResponse:r})})]}),m.jsx(rW,{url:o,surfaceResponse:r}),m.jsx("div",{className:"flex-grow",children:m.jsx(TH,{})})]})})})})})})})}Af.createRoot(document.getElementById("root")).render(m.jsx(k.StrictMode,{children:m.jsx(oW,{})}));
|
|
170
|
-
|
|
171
|
-
//# debugId=aee89485-cf69-52ad-a454-730d4ed42d1e
|
package/dist/editor/handler.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9e4106dc-1dc1-522d-9fb8-0657dd99f9f9")}catch(e){}}();
|
|
3
1
|
import { logger } from "../common/logger.js";
|
|
4
2
|
import { ApiServer } from "./server/server.js";
|
|
5
3
|
export async function editor(argv) {
|
|
@@ -22,5 +20,4 @@ export async function editor(argv) {
|
|
|
22
20
|
});
|
|
23
21
|
});
|
|
24
22
|
}
|
|
25
|
-
//# sourceMappingURL=handler.js.map
|
|
26
|
-
//# debugId=9e4106dc-1dc1-522d-9fb8-0657dd99f9f9
|
|
23
|
+
//# sourceMappingURL=handler.js.map
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="6dd8502e-8d2f-5f28-aa0e-50cb0ead72d4")}catch(e){}}();
|
|
3
1
|
import fp from 'fastify-plugin';
|
|
4
2
|
import cors from '@fastify/cors';
|
|
5
3
|
export const corsPlugin = fp(async function (fastify, opts) {
|
|
@@ -15,5 +13,4 @@ export const corsPlugin = fp(async function (fastify, opts) {
|
|
|
15
13
|
};
|
|
16
14
|
});
|
|
17
15
|
});
|
|
18
|
-
//# sourceMappingURL=cors-plugin.js.map
|
|
19
|
-
//# debugId=6dd8502e-8d2f-5f28-aa0e-50cb0ead72d4
|
|
16
|
+
//# sourceMappingURL=cors-plugin.js.map
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="421dfa2f-b392-5e9d-9e07-f810a3e4295f")}catch(e){}}();
|
|
3
1
|
import fastifyStatic from "@fastify/static";
|
|
4
2
|
import chokidar from "chokidar";
|
|
5
3
|
import Fastify from "fastify";
|
|
@@ -252,5 +250,4 @@ export class ApiServer {
|
|
|
252
250
|
process.exit();
|
|
253
251
|
};
|
|
254
252
|
}
|
|
255
|
-
//# sourceMappingURL=server.js.map
|
|
256
|
-
//# debugId=421dfa2f-b392-5e9d-9e07-f810a3e4295f
|
|
253
|
+
//# sourceMappingURL=server.js.map
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1b54efb0-e801-5361-9801-9ede9473aab8")}catch(e){}}();
|
|
3
1
|
import fs from 'node:fs/promises';
|
|
4
2
|
export async function fileExists(fsPath) {
|
|
5
3
|
try {
|
|
@@ -19,5 +17,4 @@ export async function dirExists(fsPath) {
|
|
|
19
17
|
return false;
|
|
20
18
|
}
|
|
21
19
|
}
|
|
22
|
-
//# sourceMappingURL=xfs.js.map
|
|
23
|
-
//# debugId=1b54efb0-e801-5361-9801-9ede9473aab8
|
|
20
|
+
//# sourceMappingURL=xfs.js.map
|
package/dist/link/handler.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f2a83b29-714e-55f4-b001-87f76642259b")}catch(e){}}();
|
|
3
1
|
import { select } from "@inquirer/prompts";
|
|
4
2
|
import { readFile } from "node:fs/promises";
|
|
5
3
|
import { join } from "node:path";
|
|
@@ -79,5 +77,4 @@ export async function link(argv) {
|
|
|
79
77
|
Successfully linked your local directory to the ${project} project in the ${account} account.
|
|
80
78
|
.env.zuplo and zuplo.jsonc have been updated with the new values.`);
|
|
81
79
|
}
|
|
82
|
-
//# sourceMappingURL=handler.js.map
|
|
83
|
-
//# debugId=f2a83b29-714e-55f4-b001-87f76642259b
|
|
80
|
+
//# sourceMappingURL=handler.js.map
|
package/dist/link/populate.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="50bbf97c-4d18-5bc7-a456-bcf385c394c2")}catch(e){}}();
|
|
3
1
|
import { applyEdits, modify } from "jsonc-parser";
|
|
4
2
|
import { existsSync } from "node:fs";
|
|
5
3
|
import { readFile, writeFile } from "node:fs/promises";
|
|
@@ -65,5 +63,4 @@ export async function pullSystemConfig(dir, options) {
|
|
|
65
63
|
.replaceAll("_", "-")}-working-copy`;
|
|
66
64
|
await writeFile(zuploPreferredConfigFile, content);
|
|
67
65
|
}
|
|
68
|
-
//# sourceMappingURL=populate.js.map
|
|
69
|
-
//# debugId=50bbf97c-4d18-5bc7-a456-bcf385c394c2
|
|
66
|
+
//# sourceMappingURL=populate.js.map
|
package/dist/list/handler.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="8cad6ec2-47f2-50b2-be0e-ce65d57fbf27")}catch(e){}}();
|
|
3
1
|
import { logger } from "../common/logger.js";
|
|
4
2
|
import { printDiagnosticsToConsole, printResultToConsoleAndExitGracefully, textOrJson, } from "../common/output.js";
|
|
5
3
|
import settings from "../common/settings.js";
|
|
@@ -25,5 +23,4 @@ export async function list(argv) {
|
|
|
25
23
|
printDiagnosticsToConsole("Error: Failed to list deployed zups. Try again later.");
|
|
26
24
|
}
|
|
27
25
|
}
|
|
28
|
-
//# sourceMappingURL=handler.js.map
|
|
29
|
-
//# debugId=8cad6ec2-47f2-50b2-be0e-ce65d57fbf27
|
|
26
|
+
//# sourceMappingURL=handler.js.map
|
package/dist/login/handler.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="47613374-a841-57bd-ab35-fca2955e4661")}catch(e){}}();
|
|
3
1
|
import crypto from "node:crypto";
|
|
4
2
|
import { existsSync, mkdirSync } from "node:fs";
|
|
5
3
|
import { writeFile } from "node:fs/promises";
|
|
@@ -74,5 +72,4 @@ export async function login(args) {
|
|
|
74
72
|
}
|
|
75
73
|
await printResultToConsoleAndExitGracefully("Successfully authenticated.");
|
|
76
74
|
}
|
|
77
|
-
//# sourceMappingURL=handler.js.map
|
|
78
|
-
//# debugId=47613374-a841-57bd-ab35-fca2955e4661
|
|
75
|
+
//# sourceMappingURL=handler.js.map
|
package/dist/login/server.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f50996c1-f4f5-5ef7-8640-a17a2c9555f2")}catch(e){}}();
|
|
3
1
|
import http from "node:http";
|
|
4
2
|
import opn from "open";
|
|
5
3
|
import { printCriticalFailureToConsoleAndExit } from "../common/output.js";
|
|
@@ -34,5 +32,4 @@ export async function browserAuth(authorizationUrl) {
|
|
|
34
32
|
server.close();
|
|
35
33
|
return params;
|
|
36
34
|
}
|
|
37
|
-
//# sourceMappingURL=server.js.map
|
|
38
|
-
//# debugId=f50996c1-f4f5-5ef7-8640-a17a2c9555f2
|
|
35
|
+
//# sourceMappingURL=server.js.map
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="084826a4-e8ee-5dc8-9b9b-486425443698")}catch(e){}}();
|
|
3
1
|
import { confirm } from "@inquirer/prompts";
|
|
4
2
|
import jsYaml from "js-yaml";
|
|
5
3
|
import { existsSync, writeFileSync } from "node:fs";
|
|
@@ -141,5 +139,4 @@ export async function importOpenApi(argv) {
|
|
|
141
139
|
});
|
|
142
140
|
await printResultToConsoleAndExitGracefully(`Import successful. File written to ${destinationFilePath}`);
|
|
143
141
|
}
|
|
144
|
-
//# sourceMappingURL=handler.js.map
|
|
145
|
-
//# debugId=084826a4-e8ee-5dc8-9b9b-486425443698
|
|
142
|
+
//# sourceMappingURL=handler.js.map
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b14028c7-4667-5a33-8f2d-e6c8216e26eb")}catch(e){}}();
|
|
3
1
|
export const ZUPLO_OPEN_API_VENDOR_PREFIX = "x-zuplo";
|
|
4
2
|
export const OPEN_API_INTERNAL_PROPERTY_VENDOR_TAG = "x-internal";
|
|
5
3
|
export const ZUPLO_OPEN_API_PATH_KEY = `${ZUPLO_OPEN_API_VENDOR_PREFIX}-path`;
|
|
6
4
|
export const ZUPLO_OPEN_API_ROUTE_KEY = `${ZUPLO_OPEN_API_VENDOR_PREFIX}-route`;
|
|
7
|
-
//# sourceMappingURL=interfaces.js.map
|
|
8
|
-
//# debugId=b14028c7-4667-5a33-8f2d-e6c8216e26eb
|
|
5
|
+
//# sourceMappingURL=interfaces.js.map
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="c089ea78-2efe-51c0-aa97-d386b8b87324")}catch(e){}}();
|
|
3
1
|
import yaml from "js-yaml";
|
|
4
2
|
import { v4 } from "uuid";
|
|
5
3
|
import { ZUPLO_OPEN_API_PATH_KEY, ZUPLO_OPEN_API_ROUTE_KEY, } from "./interfaces.js";
|
|
@@ -219,5 +217,4 @@ const getAllOperationKeys = (pathsObject) => {
|
|
|
219
217
|
})
|
|
220
218
|
.flat();
|
|
221
219
|
};
|
|
222
|
-
//# sourceMappingURL=utils.js.map
|
|
223
|
-
//# debugId=c089ea78-2efe-51c0-aa97-d386b8b87324
|
|
220
|
+
//# sourceMappingURL=utils.js.map
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1ed6743c-0033-514a-a3f9-7420ec11a90a")}catch(e){}}();
|
|
3
1
|
import { confirm } from "@inquirer/prompts";
|
|
4
2
|
import { printDiagnosticsToConsole, printResultToConsoleAndExitGracefully, } from "../../common/output.js";
|
|
5
3
|
import { PackageJsonUpgrader } from "../../common/upgraders/package-json-upgrader.js";
|
|
@@ -25,5 +23,4 @@ export async function update(argv) {
|
|
|
25
23
|
await printResultToConsoleAndExitGracefully("Update completed");
|
|
26
24
|
}
|
|
27
25
|
}
|
|
28
|
-
//# sourceMappingURL=handler.js.map
|
|
29
|
-
//# debugId=1ed6743c-0033-514a-a3f9-7420ec11a90a
|
|
26
|
+
//# sourceMappingURL=handler.js.map
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f13aec76-f70a-5053-8b92-7e9a9134dbfc")}catch(e){}}();
|
|
3
1
|
import { TEST_OUT_FOLDER } from "../common/constants.js";
|
|
4
2
|
import { denoTestPrepPlugin } from "./esbuild-plugins/deno-test-prep-plugin.js";
|
|
5
3
|
export function generateBuildOptionsForTest(argv) {
|
|
@@ -19,5 +17,4 @@ export function generateBuildOptionsForTest(argv) {
|
|
|
19
17
|
],
|
|
20
18
|
};
|
|
21
19
|
}
|
|
22
|
-
//# sourceMappingURL=esbuild-config.js.map
|
|
23
|
-
//# debugId=f13aec76-f70a-5053-8b92-7e9a9134dbfc
|
|
20
|
+
//# sourceMappingURL=esbuild-config.js.map
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="539485e8-648f-57f9-94fe-d9f213cb7bf2")}catch(e){}}();
|
|
3
1
|
export function denoTestPrepPlugin(argv, options) {
|
|
4
2
|
const aliases = Object.keys(options);
|
|
5
3
|
const re = new RegExp(`^(${aliases.map((x) => escapeRegExp(x)).join("|")})$`);
|
|
@@ -95,5 +93,4 @@ function generateTestContents(argv) {
|
|
|
95
93
|
|
|
96
94
|
`;
|
|
97
95
|
}
|
|
98
|
-
//# sourceMappingURL=deno-test-prep-plugin.js.map
|
|
99
|
-
//# debugId=539485e8-648f-57f9-94fe-d9f213cb7bf2
|
|
96
|
+
//# sourceMappingURL=deno-test-prep-plugin.js.map
|
package/dist/test/handler.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="3013b06a-1c1b-580e-bea6-b42c687d931d")}catch(e){}}();
|
|
3
1
|
import fg from "fast-glob";
|
|
4
2
|
import { promisify } from "node:util";
|
|
5
3
|
import rimraf from "rimraf";
|
|
@@ -26,5 +24,4 @@ export async function test(argv) {
|
|
|
26
24
|
process.exit(exitCode);
|
|
27
25
|
}
|
|
28
26
|
}
|
|
29
|
-
//# sourceMappingURL=handler.js.map
|
|
30
|
-
//# debugId=3013b06a-1c1b-580e-bea6-b42c687d931d
|
|
27
|
+
//# sourceMappingURL=handler.js.map
|
package/dist/test/invoke-test.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f6dd3ed4-5d26-57b8-bdbe-7165fe72db14")}catch(e){}}();
|
|
3
1
|
import { execa } from "execa";
|
|
4
2
|
import { TEST_OUT_FOLDER } from "../common/constants.js";
|
|
5
3
|
import { locateDenoExecutable, MissingDenoExecutableError, } from "../common/deno-utils/locator.js";
|
|
@@ -34,5 +32,4 @@ export async function runTests(argv) {
|
|
|
34
32
|
throw new MissingDenoExecutableError();
|
|
35
33
|
}
|
|
36
34
|
}
|
|
37
|
-
//# sourceMappingURL=invoke-test.js.map
|
|
38
|
-
//# debugId=f6dd3ed4-5d26-57b8-bdbe-7165fe72db14
|
|
35
|
+
//# sourceMappingURL=invoke-test.js.map
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a1debcef-6c59-5009-8642-ccd01cc75ff9")}catch(e){}}();
|
|
3
1
|
import { logger } from "../../common/logger.js";
|
|
4
2
|
import { printDiagnosticsToConsole, printTableToConsoleAndExitGracefully, textOrJson, } from "../../common/output.js";
|
|
5
3
|
import settings from "../../common/settings.js";
|
|
@@ -26,5 +24,4 @@ export async function create(argv) {
|
|
|
26
24
|
printDiagnosticsToConsole("Error: Failed to create tunnel for your account. Check the arguments.");
|
|
27
25
|
}
|
|
28
26
|
}
|
|
29
|
-
//# sourceMappingURL=handler.js.map
|
|
30
|
-
//# debugId=a1debcef-6c59-5009-8642-ccd01cc75ff9
|
|
27
|
+
//# sourceMappingURL=handler.js.map
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="efff74cf-9dfa-573b-99aa-3d0e86247285")}catch(e){}}();
|
|
3
1
|
import { logger } from "../../common/logger.js";
|
|
4
2
|
import { printCriticalFailureToConsoleAndExit, printDiagnosticsToConsole, printResultToConsoleAndExitGracefully, textOrJson, } from "../../common/output.js";
|
|
5
3
|
import settings from "../../common/settings.js";
|
|
@@ -37,5 +35,4 @@ export async function deleteTunnel(argv) {
|
|
|
37
35
|
printDiagnosticsToConsole("Error: Failed to delete the tunnel for your account. Check the arguments.");
|
|
38
36
|
}
|
|
39
37
|
}
|
|
40
|
-
//# sourceMappingURL=handler.js.map
|
|
41
|
-
//# debugId=efff74cf-9dfa-573b-99aa-3d0e86247285
|
|
38
|
+
//# sourceMappingURL=handler.js.map
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="805ecf52-ac85-501d-abe2-1e012168f448")}catch(e){}}();
|
|
3
1
|
import { logger } from "../../common/logger.js";
|
|
4
2
|
import { printDiagnosticsToConsole } from "../../common/output.js";
|
|
5
3
|
import settings from "../../common/settings.js";
|
|
@@ -36,5 +34,4 @@ export async function pollTeardownOperation(args) {
|
|
|
36
34
|
}
|
|
37
35
|
throw new Error("Unexpected error while polling for teardown operation status");
|
|
38
36
|
}
|
|
39
|
-
//# sourceMappingURL=poll-teardown-operation.js.map
|
|
40
|
-
//# debugId=805ecf52-ac85-501d-abe2-1e012168f448
|
|
37
|
+
//# sourceMappingURL=poll-teardown-operation.js.map
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="5ec931dd-6ed8-5cc9-bf88-2cdad7f506af")}catch(e){}}();
|
|
3
1
|
import { logger } from "../../common/logger.js";
|
|
4
2
|
import { printDiagnosticsToConsole, printTableToConsoleAndExitGracefully, textOrJson, } from "../../common/output.js";
|
|
5
3
|
import settings from "../../common/settings.js";
|
|
@@ -24,5 +22,4 @@ export async function describe(argv) {
|
|
|
24
22
|
printDiagnosticsToConsole("Error: Failed to describe tunnel for your account. Check the arguments.");
|
|
25
23
|
}
|
|
26
24
|
}
|
|
27
|
-
//# sourceMappingURL=handler.js.map
|
|
28
|
-
//# debugId=5ec931dd-6ed8-5cc9-bf88-2cdad7f506af
|
|
25
|
+
//# sourceMappingURL=handler.js.map
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="70127469-fbba-5a95-9262-0499d2ea0b41")}catch(e){}}();
|
|
3
1
|
import { logger } from "../../common/logger.js";
|
|
4
2
|
import { printDiagnosticsToConsole, printResultToConsoleAndExitGracefully, printTableToConsoleAndExitGracefully, } from "../../common/output.js";
|
|
5
3
|
import settings from "../../common/settings.js";
|
|
@@ -33,5 +31,4 @@ export async function list(argv) {
|
|
|
33
31
|
printDiagnosticsToConsole("Error: Failed to list tunnels for your account. Try again later.");
|
|
34
32
|
}
|
|
35
33
|
}
|
|
36
|
-
//# sourceMappingURL=handler.js.map
|
|
37
|
-
//# debugId=70127469-fbba-5a95-9262-0499d2ea0b41
|
|
34
|
+
//# sourceMappingURL=handler.js.map
|
package/dist/tunnel/models.js
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="30085b72-4d54-5ac4-8286-11868105744e")}catch(e){}}();
|
|
3
1
|
export {};
|
|
4
|
-
//# sourceMappingURL=models.js.map
|
|
5
|
-
//# debugId=30085b72-4d54-5ac4-8286-11868105744e
|
|
2
|
+
//# sourceMappingURL=models.js.map
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="273075ea-56f9-5051-9538-963f47162f95")}catch(e){}}();
|
|
3
1
|
import { logger } from "../../common/logger.js";
|
|
4
2
|
import { printDiagnosticsToConsole, printTableToConsoleAndExitGracefully, textOrJson, } from "../../common/output.js";
|
|
5
3
|
import settings from "../../common/settings.js";
|
|
@@ -24,5 +22,4 @@ export async function rotateToken(argv) {
|
|
|
24
22
|
printDiagnosticsToConsole("Error: Failed to rotate token for tunnel. Check the arguments.");
|
|
25
23
|
}
|
|
26
24
|
}
|
|
27
|
-
//# sourceMappingURL=handler.js.map
|
|
28
|
-
//# debugId=273075ea-56f9-5051-9538-963f47162f95
|
|
25
|
+
//# sourceMappingURL=handler.js.map
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="94799b1a-7f6d-5dfd-8ef9-e8fbff787249")}catch(e){}}();
|
|
3
1
|
import { logger } from "../../../common/logger.js";
|
|
4
2
|
import { printDiagnosticsToConsole, printResultToConsoleAndExitGracefully, textOrJson, } from "../../../common/output.js";
|
|
5
3
|
import settings from "../../../common/settings.js";
|
|
@@ -24,5 +22,4 @@ export async function describe(argv) {
|
|
|
24
22
|
printDiagnosticsToConsole("Error: Failed to describe the services for your tunnel. Check the arguments.");
|
|
25
23
|
}
|
|
26
24
|
}
|
|
27
|
-
//# sourceMappingURL=handler.js.map
|
|
28
|
-
//# debugId=94799b1a-7f6d-5dfd-8ef9-e8fbff787249
|
|
25
|
+
//# sourceMappingURL=handler.js.map
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="bb15dcbc-5d6f-57fb-bf35-3dca54d0d707")}catch(e){}}();
|
|
3
1
|
import { readFile } from "node:fs/promises";
|
|
4
2
|
import { logger } from "../../../common/logger.js";
|
|
5
3
|
import { printCriticalFailureToConsoleAndExit, printDiagnosticsToConsole, printResultToConsoleAndExitGracefully, textOrJson, } from "../../../common/output.js";
|
|
@@ -47,5 +45,4 @@ export async function updateServices(argv) {
|
|
|
47
45
|
printDiagnosticsToConsole("Error: Failed to update the tunnel for your account. Check the arguments.");
|
|
48
46
|
}
|
|
49
47
|
}
|
|
50
|
-
//# sourceMappingURL=handler.js.map
|
|
51
|
-
//# debugId=bb15dcbc-5d6f-57fb-bf35-3dca54d0d707
|
|
48
|
+
//# sourceMappingURL=handler.js.map
|