bonzai-tools 1.0.100 → 1.0.102

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/bconfig.js CHANGED
@@ -165,7 +165,7 @@ async function main() {
165
165
  console.log('All code stays on your machine\n');
166
166
  console.log('Relay server running on localhost:3001');
167
167
  console.log('Terminal WebSocket available at ws://localhost:3001/terminal');
168
- console.log('Diagram available at https://bonzai.dev/visualize\n');
168
+ console.log('App available at http://localhost:3001\n');
169
169
 
170
170
  // Start the server automatically
171
171
  const server = spawn('node', ['receiver.js'], {
@@ -178,7 +178,7 @@ async function main() {
178
178
  });
179
179
 
180
180
  // Open browser automatically
181
- exec('open https://bonzai.dev/visualize?ref=btools');
181
+ exec('open http://localhost:3001');
182
182
 
183
183
  // Handle server process
184
184
  server.on('close', (serverCode) => {
@@ -14,34 +14,16 @@ const server = http.createServer(app);
14
14
  app.use(cors());
15
15
  app.use(express.json());
16
16
 
17
- // Serve static build files
18
- const buildDir = path.join(__dirname, 'build');
19
- app.use('/static', express.static(path.join(buildDir, 'static')));
20
-
21
- // Embed shell - serves HTML that loads bundled app
17
+ // Embed shell - loads app from CDN
22
18
  app.get('/', (req, res) => {
23
19
  const repoName = path.basename(ROOT);
24
-
25
- // Read asset manifest to get hashed filenames
26
- const manifestPath = path.join(buildDir, 'asset-manifest.json');
27
- let cssFile = '';
28
- let jsFile = '';
29
-
30
- try {
31
- const manifest = JSON.parse(fs.readFileSync(manifestPath, 'utf8'));
32
- cssFile = manifest.files['main.css'] || '';
33
- jsFile = manifest.files['main.js'] || '';
34
- } catch (e) {
35
- console.error('Could not read asset-manifest.json:', e.message);
36
- }
37
-
38
20
  res.send(`<!DOCTYPE html>
39
21
  <html>
40
22
  <head>
41
23
  <meta charset="UTF-8">
42
24
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
43
25
  <title>Bonzai - ${repoName}</title>
44
- ${cssFile ? `<link rel="stylesheet" href="${cssFile}">` : ''}
26
+ <link rel="stylesheet" href="https://bonzai.dev/app.css">
45
27
  <style>
46
28
  * { margin: 0; padding: 0; box-sizing: border-box; }
47
29
  html, body, #root { height: 100%; }
@@ -53,7 +35,7 @@ app.get('/', (req, res) => {
53
35
  window.BONZAI_REPO = "${repoName}";
54
36
  window.BONZAI_API = "http://localhost:${port}";
55
37
  </script>
56
- ${jsFile ? `<script src="${jsFile}"></script>` : '<p>Build not found. Run npm run build in the frontend.</p>'}
38
+ <script src="https://bonzai.dev/app.js"></script>
57
39
  </body>
58
40
  </html>`);
59
41
  });
package/dist/index.js CHANGED
@@ -152,7 +152,7 @@ async function main() {
152
152
  console.log("All code stays on your machine\n");
153
153
  console.log("Relay server running on localhost:3001");
154
154
  console.log("Terminal WebSocket available at ws://localhost:3001/terminal");
155
- console.log("Diagram available at https://bonzai.dev/visualize\n");
155
+ console.log("App available at http://localhost:3001\n");
156
156
  const server = spawn("node", ["receiver.js"], {
157
157
  stdio: "inherit",
158
158
  cwd: bonzaiDir,
@@ -161,7 +161,7 @@ async function main() {
161
161
  BONZAI_REPO_DIR: currentDir
162
162
  }
163
163
  });
164
- exec("open https://bonzai.dev/visualize?ref=btools");
164
+ exec("open http://localhost:3001");
165
165
  server.on("close", (serverCode) => {
166
166
  console.log(`
167
167
  Server stopped with code ${serverCode}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bonzai-tools",
3
- "version": "1.0.100",
3
+ "version": "1.0.102",
4
4
  "description": "Visualization and file management tools for codebases",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,9 +0,0 @@
1
- class Real:
2
- def __init__(self, value):
3
- self.value = value
4
-
5
- def dog(self):
6
- pass
7
-
8
- def leopard(self):
9
- pass
@@ -1,353 +0,0 @@
1
- /**
2
- * SampleClass - A sample JavaScript class for testing parsing
3
- * This class demonstrates various method types and patterns
4
- */
5
- class SampleClass {
6
- /**
7
- * Constructor for SampleClass
8
- * @param {string} name - The name of the instance
9
- * @param {number} value - Initial value
10
- */
11
- constructor(name, value = 0) {
12
- this.name = name;
13
- this._value = value;
14
- this.items = [];
15
- }
16
-
17
- /**
18
- * Public method to get the name
19
- * @returns {string} The name
20
- */
21
- getName() {
22
- return this.name;
23
- }
24
-
25
- /**
26
- * Public method to set the name
27
- * @param {string} newName - The new name
28
- */
29
- setName(newName) {
30
- this.name = newName;
31
- }
32
-
33
- /**
34
- * Getter for value property
35
- * @returns {number} The current value
36
- */
37
- get value() {
38
- return this._value;
39
- }
40
-
41
- /**
42
- * Setter for value property
43
- * @param {number} newValue - The new value
44
- */
45
- set value(newValue) {
46
- if (typeof newValue === 'number' && newValue >= 0) {
47
- this._value = newValue;
48
- } else {
49
- throw new Error('Value must be a non-negative number');
50
- }
51
- }
52
-
53
- /**
54
- * Public method to add two numbers
55
- * @param {number} a - First number
56
- * @param {number} b - Second number
57
- * @returns {number} Sum of a and b
58
- */
59
- add(a, b) {
60
- return a + b;
61
- }
62
-
63
- /**
64
- * Public method to multiply two numbers
65
- * @param {number} a - First number
66
- * @param {number} b - Second number
67
- * @returns {number} Product of a and b
68
- */
69
- multiply(a, b) {
70
- return a * b;
71
- }
72
-
73
- /**
74
- * Public method to add an item to the items array
75
- * @param {any} item - Item to add
76
- */
77
- addItem(item) {
78
- this.items.push(item);
79
- }
80
-
81
- /**
82
- * Public method to remove an item from the items array
83
- * @param {any} item - Item to remove
84
- * @returns {boolean} True if item was removed, false otherwise
85
- */
86
- removeItem(item) {
87
- const index = this.items.indexOf(item);
88
- if (index > -1) {
89
- this.items.splice(index, 1);
90
- return true;
91
- }
92
- return false;
93
- }
94
-
95
- /**
96
- * Public async method to fetch data
97
- * @param {string} url - URL to fetch from
98
- * @returns {Promise<Object>} Fetched data
99
- */
100
- async fetchData(url) {
101
- try {
102
- const response = await fetch(url);
103
- return await response.json();
104
- } catch (error) {
105
- throw new Error(`Failed to fetch data: ${error.message}`);
106
- }
107
- }
108
-
109
- /**
110
- * Public method that uses a callback
111
- * @param {Function} callback - Callback function to execute
112
- * @param {any} data - Data to pass to callback
113
- */
114
- processWithCallback(callback, data) {
115
- if (typeof callback === 'function') {
116
- return callback(data);
117
- }
118
- return null;
119
- }
120
-
121
- /**
122
- * Private method (convention with underscore)
123
- * @param {number} num - Number to validate
124
- * @returns {boolean} True if valid
125
- */
126
- _validateNumber(num) {
127
- return typeof num === 'number' && !isNaN(num);
128
- }
129
-
130
- /**
131
- * Static method - can be called without instance
132
- * @param {string} str - String to capitalize
133
- * @returns {string} Capitalized string
134
- */
135
- static capitalize(str) {
136
- if (typeof str !== 'string' || str.length === 0) {
137
- return str;
138
- }
139
- return str.charAt(0).toUpperCase() + str.slice(1).toLowerCase();
140
- }
141
-
142
- /**
143
- * Static method to create instance from object
144
- * @param {Object} config - Configuration object
145
- * @returns {SampleClass} New instance
146
- */
147
- static fromConfig(config) {
148
- return new SampleClass(config.name || 'Default', config.value || 0);
149
- }
150
-
151
- /**
152
- * Method with default parameters
153
- * @param {string} message - Message to log
154
- * @param {string} level - Log level (default: 'info')
155
- * @param {boolean} timestamp - Include timestamp (default: true)
156
- */
157
- log(message, level = 'info', timestamp = true) {
158
- const prefix = timestamp ? `[${new Date().toISOString()}]` : '';
159
- console.log(`${prefix} [${level.toUpperCase()}] ${message}`);
160
- }
161
-
162
- /**
163
- * Method using arrow function internally
164
- * @param {Array<number>} numbers - Array of numbers
165
- * @returns {Array<number>} Doubled numbers
166
- */
167
- doubleNumbers(numbers) {
168
- return numbers.map(num => num * 2);
169
- }
170
-
171
- /**
172
- * Method with destructuring
173
- * @param {Object} options - Options object
174
- * @param {string} options.type - Type option
175
- * @param {number} options.count - Count option
176
- */
177
- processOptions({ type, count = 1 }) {
178
- return {
179
- type: type || 'default',
180
- count: count,
181
- processed: true
182
- };
183
- }
184
-
185
- /**
186
- * Method with rest parameters
187
- * @param {...number} numbers - Variable number of numbers
188
- * @returns {number} Sum of all numbers
189
- */
190
- sum(...numbers) {
191
- return numbers.reduce((total, num) => total + num, 0);
192
- }
193
-
194
- /**
195
- * Get all items in the items array
196
- * @returns {Array} Copy of the items array
197
- */
198
- getItems() {
199
- return [...this.items];
200
- }
201
-
202
- /**
203
- * Clear all items from the items array
204
- */
205
- clearItems() {
206
- this.items = [];
207
- }
208
-
209
- /**
210
- * Check if the items array is empty
211
- * @returns {boolean} True if items array is empty
212
- */
213
- isEmpty() {
214
- return this.items.length === 0;
215
- }
216
-
217
- /**
218
- * Get the count of items in the array
219
- * @returns {number} Number of items
220
- */
221
- getItemCount() {
222
- return this.items.length;
223
- }
224
-
225
- /**
226
- * Calculate the average of numeric items
227
- * @returns {number} Average value or 0 if no numeric items
228
- */
229
- calculateAverage() {
230
- const numericItems = this.items.filter(item => typeof item === 'number');
231
- if (numericItems.length === 0) {
232
- return 0;
233
- }
234
- const sum = numericItems.reduce((total, num) => total + num, 0);
235
- return sum / numericItems.length;
236
- }
237
-
238
- /**
239
- * Filter items based on a predicate function
240
- * @param {Function} predicate - Function to test each item
241
- * @returns {Array} Filtered items
242
- */
243
- filterItems(predicate) {
244
- if (typeof predicate !== 'function') {
245
- throw new Error('Predicate must be a function');
246
- }
247
- return this.items.filter(predicate);
248
- }
249
-
250
- /**
251
- * Find an item in the items array
252
- * @param {Function} predicate - Function to test each item
253
- * @returns {any} Found item or undefined
254
- */
255
- findItem(predicate) {
256
- if (typeof predicate !== 'function') {
257
- throw new Error('Predicate must be a function');
258
- }
259
- return this.items.find(predicate);
260
- }
261
-
262
- /**
263
- * Increment the value by a specified amount
264
- * @param {number} amount - Amount to increment (default: 1)
265
- */
266
- increment(amount = 1) {
267
- if (!this._validateNumber(amount)) {
268
- throw new Error('Amount must be a valid number');
269
- }
270
- this._value += amount;
271
- }
272
-
273
- /**
274
- * Decrement the value by a specified amount
275
- * @param {number} amount - Amount to decrement (default: 1)
276
- */
277
- decrement(amount = 1) {
278
- if (!this._validateNumber(amount)) {
279
- throw new Error('Amount must be a valid number');
280
- }
281
- const newValue = this._value - amount;
282
- if (newValue < 0) {
283
- throw new Error('Value cannot be negative');
284
- }
285
- this._value = newValue;
286
- }
287
-
288
- /**
289
- * Create a clone of this instance
290
- * @returns {SampleClass} New instance with copied properties
291
- */
292
- clone() {
293
- const cloned = new SampleClass(this.name, this._value);
294
- cloned.items = [...this.items];
295
- return cloned;
296
- }
297
-
298
- /**
299
- * Convert the instance to a JSON string
300
- * @returns {string} JSON representation
301
- */
302
- toJSON() {
303
- return JSON.stringify({
304
- name: this.name,
305
- value: this._value,
306
- items: this.items
307
- });
308
- }
309
-
310
- /**
311
- * Create instance from JSON string
312
- * @param {string} jsonString - JSON string to parse
313
- * @returns {SampleClass} New instance from JSON
314
- */
315
- static fromJSON(jsonString) {
316
- const data = JSON.parse(jsonString);
317
- const instance = new SampleClass(data.name, data.value);
318
- instance.items = data.items || [];
319
- return instance;
320
- }
321
-
322
- /**
323
- * Get a summary of the instance
324
- * @returns {Object} Summary object with key information
325
- */
326
- getSummary() {
327
- return {
328
- name: this.name,
329
- value: this._value,
330
- itemCount: this.items.length,
331
- isEmpty: this.items.length === 0
332
- };
333
- }
334
-
335
- /**
336
- * Reset the instance to initial state
337
- * @param {string} newName - Optional new name (keeps current if not provided)
338
- */
339
- reset(newName = null) {
340
- this._value = 0;
341
- this.items = [];
342
- if (newName !== null) {
343
- this.name = newName;
344
- }
345
- }
346
- }
347
-
348
- // Export for use in modules
349
- if (typeof module !== 'undefined' && module.exports) {
350
- module.exports = SampleClass;
351
- }
352
-
353
-
@@ -1,13 +0,0 @@
1
- {
2
- "files": {
3
- "main.css": "/static/css/main.97e4c611.css",
4
- "main.js": "/static/js/main.601eb044.js",
5
- "index.html": "/index.html",
6
- "main.97e4c611.css.map": "/static/css/main.97e4c611.css.map",
7
- "main.601eb044.js.map": "/static/js/main.601eb044.js.map"
8
- },
9
- "entrypoints": [
10
- "static/css/main.97e4c611.css",
11
- "static/js/main.601eb044.js"
12
- ]
13
- }
@@ -1,11 +0,0 @@
1
- def add(a, b):
2
- return a + b
3
-
4
- def subtract(a, b):
5
- return a - b
6
-
7
- def multiply(a, b):
8
- return a * b
9
-
10
- def divide(a, b):
11
- return a / b
@@ -1,3 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg version="1.1" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://web.resource.org/cc/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="110px" height="110px" viewBox="0.21 -0.077 110 110" enable-background="new 0.21 -0.077 110 110" xml:space="preserve"><linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="63.8159" y1="56.6829" x2="118.4934" y2="1.8225" gradientTransform="matrix(1 0 0 -1 -53.2974 66.4321)"> <stop offset="0" style="stop-color:#387EB8"/> <stop offset="1" style="stop-color:#366994"/></linearGradient><path fill="url(#SVGID_1_)" d="M55.023-0.077c-25.971,0-26.25,10.081-26.25,12.156c0,3.148,0,12.594,0,12.594h26.75v3.781 c0,0-27.852,0-37.375,0c-7.949,0-17.938,4.833-17.938,26.25c0,19.673,7.792,27.281,15.656,27.281c2.335,0,9.344,0,9.344,0 s0-9.765,0-13.125c0-5.491,2.721-15.656,15.406-15.656c15.91,0,19.971,0,26.531,0c3.902,0,14.906-1.696,14.906-14.406 c0-13.452,0-17.89,0-24.219C82.054,11.426,81.515-0.077,55.023-0.077z M40.273,8.392c2.662,0,4.813,2.15,4.813,4.813 c0,2.661-2.151,4.813-4.813,4.813s-4.813-2.151-4.813-4.813C35.46,10.542,37.611,8.392,40.273,8.392z"/><linearGradient id="SVGID_2_" gradientUnits="userSpaceOnUse" x1="97.0444" y1="21.6321" x2="155.6665" y2="-34.5308" gradientTransform="matrix(1 0 0 -1 -53.2974 66.4321)"> <stop offset="0" style="stop-color:#FFE052"/> <stop offset="1" style="stop-color:#FFC331"/></linearGradient><path fill="url(#SVGID_2_)" d="M55.397,109.923c25.959,0,26.282-10.271,26.282-12.156c0-3.148,0-12.594,0-12.594H54.897v-3.781 c0,0,28.032,0,37.375,0c8.009,0,17.938-4.954,17.938-26.25c0-23.322-10.538-27.281-15.656-27.281c-2.336,0-9.344,0-9.344,0 s0,10.216,0,13.125c0,5.491-2.631,15.656-15.406,15.656c-15.91,0-19.476,0-26.532,0c-3.892,0-14.906,1.896-14.906,14.406 c0,14.475,0,18.265,0,24.219C28.366,100.497,31.562,109.923,55.397,109.923z M70.148,101.454c-2.662,0-4.813-2.151-4.813-4.813 s2.15-4.813,4.813-4.813c2.661,0,4.813,2.151,4.813,4.813S72.809,101.454,70.148,101.454z"/></svg>
2
-
3
-
@@ -1,5 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
2
- <rect width="20" height="20" x="2" y="2" fill="#4CAF50" rx="2"/>
3
- </svg>
4
-
5
-
@@ -1 +0,0 @@
1
- <!doctype html><html lang="en"><head><script async src="https://www.googletagmanager.com/gtag/js?id=G-6SY7KB5JP6"></script><script>function gtag(){dataLayer.push(arguments)}window.dataLayer=window.dataLayer||[],gtag("js",new Date),gtag("config","G-6SY7KB5JP6")</script><meta charset="UTF-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="icon" type="image/jpeg" href="/favicon.jpg"/><title>Bonzai</title><style>@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}</style><script defer="defer" src="/static/js/main.601eb044.js"></script><link href="/static/css/main.97e4c611.css" rel="stylesheet"></head><body><div id="root"></div></body></html>
@@ -1,32 +0,0 @@
1
- body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.react-flow{--xy-theme-selected:#f57dbd;--xy-theme-hover:#c5c5c5;--xy-theme-edge-hover:#000;--xy-theme-color-focus:#e8e8e8;--xy-node-border-default:1px solid #ededed;--xy-node-boxshadow-default:0px 3.54px 4.55px 0px #00000005,0px 3.54px 4.55px 0px #0000000d,0px 0.51px 1.01px 0px #0000001a;--xy-node-border-radius-default:8px;--xy-handle-background-color-default:#fff;--xy-handle-border-color-default:#aaa;--xy-edge-label-color-default:#505050}.react-flow.dark{--xy-node-boxshadow-default:0px 3.54px 4.55px 0px #ffffff0d,0px 3.54px 4.55px 0px #ffffff21,0px 0.51px 1.01px 0px #fff3;--xy-theme-color-focus:#535353}.react-flow__node{align-items:center;background-color:var(--xy-node-background-color-default);border:var(--xy-node-border-default);border-radius:var(--xy-node-border-radius-default);box-shadow:var(--xy-node-boxshadow-default);color:var(--xy-node-color-default);color:var(--xy-node-color,var(--xy-node-color-default));display:flex;flex-direction:column;font-size:12px;justify-content:center;min-width:172px;padding:10px;text-align:center}.react-flow__node.selectable:focus{border-color:#d9d9d9;box-shadow:0 0 0 4px var(--xy-theme-color-focus)}.react-flow__node.selectable:focus:active{box-shadow:var(--xy-node-boxshadow-default)}.react-flow__node.draggable:hover,.react-flow__node.selectable:hover{border-color:var(--xy-theme-hover)}.react-flow__node.selectable.selected{border-color:var(--xy-theme-selected);box-shadow:var(--xy-node-boxshadow-default)}.react-flow__node-group{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background-color:#cfb6ff66;border-color:#9e86ed}.react-flow__node.folder-node{align-items:center!important;background-color:initial!important;flex-direction:row!important;justify-content:flex-start!important;padding:0!important}.react-flow__node.class-node,.react-flow__node.function-node,.react-flow__node.method-node{border:1px dashed #666!important}.react-flow__edge.selectable.selected .react-flow__edge-path,.react-flow__edge.selectable:hover .react-flow__edge-path{stroke:var(--xy-theme-edge-hover)}.react-flow__edge.temp .react-flow__edge-path{stroke:#60a5fa;stroke-dasharray:5,5;stroke-width:2px;opacity:.6}.react-flow__edge.class-edge .react-flow__edge-path,.react-flow__edge.method-edge .react-flow__edge-path{stroke-dasharray:5,5}.react-flow__handle{border:none!important;height:1px!important;opacity:0!important;width:1px!important}.react-flow__handle.connectionindicator:hover{background-color:#fff;border-color:var(--xy-theme-edge-hover);pointer-events:all}.react-flow__handle.connectingfrom,.react-flow__handle.connectingto,.react-flow__handle.connectionindicator:focus{border-color:var(--xy-theme-edge-hover)}.react-flow__node-resizer{border:none;border-radius:0}.react-flow__resize-control.handle{background-color:#fff;border-color:#9e86ed;border-radius:0}:root{--color-primary:#ff0073;--color-background:#fefefe;--color-hover-bg:#f6f6f6;--color-disabled:#76797e}.xy-theme__button-group{align-items:center;display:flex;.xy-theme__button:first-child{border-radius:100px 0 0 100px}.xy-theme__button:last-child{border-radius:0 100px 100px 0;margin:0}}.xy-theme__button{align-items:center;background-color:#fefefe;background-color:var(--color-background);border:1px solid #ff0073;border:1px solid var(--color-primary);border-radius:100px;box-shadow:var(--xy-node-boxshadow-default);color:#ff0073;color:var(--color-primary);cursor:pointer;display:inline-flex;height:2.5rem;justify-content:center;padding:0 1rem;transition:background-color .2s ease,border-color .2s ease}.xy-theme__button:hover{background-color:#f6f6f6;background-color:var(--color-hover-bg)}.xy-theme__button:not(:last-child){margin-right:8px}.react-flow{--xy-edge-stroke-default:#b1b1b7;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#555;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:#ffffff80;--xy-minimap-background-color-default:#fff;--xy-minimap-mask-background-color-default:#f0f0f099;--xy-minimap-mask-stroke-color-default:#0000;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#e2e2e2;--xy-minimap-node-stroke-color-default:#0000;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:#0000;--xy-background-pattern-dots-color-default:#91919a;--xy-background-pattern-lines-color-default:#eee;--xy-background-pattern-cross-color-default:#e2e2e2;--xy-node-color-default:inherit;--xy-node-border-default:1px solid #1a192b;--xy-node-background-color-default:#fff;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #00000014;--xy-node-boxshadow-selected-default:0 0 0 0.5px #1a192b;--xy-node-border-radius-default:3px;--xy-handle-background-color-default:#1a192b;--xy-handle-border-color-default:#fff;--xy-selection-background-color-default:#0059dc14;--xy-selection-border-default:1px dotted #0059dccc;--xy-controls-button-background-color-default:#fefefe;--xy-controls-button-background-color-hover-default:#f4f4f4;--xy-controls-button-color-default:inherit;--xy-controls-button-color-hover-default:inherit;--xy-controls-button-border-color-default:#eee;--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:#fff;--xy-edge-label-color-default:inherit;--xy-resize-background-color-default:#3367d9;background-color:var(--xy-background-color-default);background-color:var(--xy-background-color,var(--xy-background-color-default));direction:ltr}.react-flow.dark{--xy-edge-stroke-default:#3e3e3e;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#727272;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:#96969640;--xy-minimap-background-color-default:#141414;--xy-minimap-mask-background-color-default:#3c3c3c99;--xy-minimap-mask-stroke-color-default:#0000;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#2b2b2b;--xy-minimap-node-stroke-color-default:#0000;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:#141414;--xy-background-pattern-dots-color-default:#777;--xy-background-pattern-lines-color-default:#777;--xy-background-pattern-cross-color-default:#777;--xy-node-color-default:#f8f8f8;--xy-node-border-default:1px solid #3c3c3c;--xy-node-background-color-default:#1e1e1e;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #ffffff14;--xy-node-boxshadow-selected-default:0 0 0 0.5px #999;--xy-handle-background-color-default:#bebebe;--xy-handle-border-color-default:#1e1e1e;--xy-selection-background-color-default:#c8c8dc14;--xy-selection-border-default:1px dotted #c8c8dccc;--xy-controls-button-background-color-default:#2b2b2b;--xy-controls-button-background-color-hover-default:#3e3e3e;--xy-controls-button-color-default:#f8f8f8;--xy-controls-button-color-hover-default:#fff;--xy-controls-button-border-color-default:#5b5b5b;--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:#141414;--xy-edge-label-color-default:#f8f8f8}.react-flow__background{background-color:var(--xy-background-color-default);background-color:var(--xy-background-color-props,var(--xy-background-color,var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{height:100%;left:0;position:absolute;top:0;width:100%}.react-flow__pane{z-index:1}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{pointer-events:none;transform-origin:0 0;z-index:2}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke-default);stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width-default);stroke-width:var(--xy-edge-stroke-width,var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke-default);stroke:var(--xy-connectionline-stroke,var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width-default);stroke-width:var(--xy-connectionline-stroke-width,var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{overflow:visible;pointer-events:none;position:absolute}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path,.react-flow__edge.selected .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected-default);stroke:var(--xy-edge-stroke-selected,var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke-default);stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke-default);fill:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}svg.react-flow__connectionline{overflow:visible;position:absolute;z-index:1001}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{box-sizing:border-box;cursor:default;pointer-events:all;position:absolute;transform-origin:0 0;-webkit-user-select:none;user-select:none}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{pointer-events:none;transform-origin:left top;z-index:3}.react-flow__nodesselection-rect{cursor:grab;pointer-events:all;position:absolute}.react-flow__handle{background-color:var(--xy-handle-background-color-default);background-color:var(--xy-handle-background-color,var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color,var(--xy-handle-border-color-default));border-radius:100%;height:6px;min-height:5px;min-width:5px;pointer-events:none;position:absolute;width:6px}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{cursor:crosshair;pointer-events:all}.react-flow__handle-bottom{bottom:0;left:50%;top:auto;transform:translate(-50%,50%)}.react-flow__handle-top{left:50%;top:0;transform:translate(-50%,-50%)}.react-flow__handle-left{left:0;top:50%;transform:translate(-50%,-50%)}.react-flow__handle-right{right:0;top:50%;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{margin:15px;position:absolute;z-index:5}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.bottom.center,.react-flow__panel.top.center{left:50%;transform:translateX(-15px) translateX(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px) translateY(-50%)}.react-flow__attribution{background:var(--xy-attribution-background-color-default);background:var(--xy-attribution-background-color,var(--xy-attribution-background-color-default));font-size:10px;margin:0;padding:2px 3px}.react-flow__attribution a{color:#999;text-decoration:none}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{pointer-events:none}.react-flow__edgelabel-renderer,.react-flow__viewport-portal{height:100%;left:0;position:absolute;top:0;-webkit-user-select:none;user-select:none;width:100%}.react-flow__minimap{background:var(--xy-minimap-background-color-default);background:var(
2
- --xy-minimap-background-color-props,var(--xy-minimap-background-color,var(--xy-minimap-background-color-default))
3
- )}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var(--xy-minimap-mask-background-color-default);fill:var(
4
- --xy-minimap-mask-background-color-props,var(--xy-minimap-mask-background-color,var(--xy-minimap-mask-background-color-default))
5
- );stroke:var(--xy-minimap-mask-stroke-color-default);stroke:var(
6
- --xy-minimap-mask-stroke-color-props,var(--xy-minimap-mask-stroke-color,var(--xy-minimap-mask-stroke-color-default))
7
- );stroke-width:var(--xy-minimap-mask-stroke-width-default);stroke-width:var(
8
- --xy-minimap-mask-stroke-width-props,var(--xy-minimap-mask-stroke-width,var(--xy-minimap-mask-stroke-width-default))
9
- )}.react-flow__minimap-node{fill:var(--xy-minimap-node-background-color-default);fill:var(
10
- --xy-minimap-node-background-color-props,var(--xy-minimap-node-background-color,var(--xy-minimap-node-background-color-default))
11
- );stroke:var(--xy-minimap-node-stroke-color-default);stroke:var(
12
- --xy-minimap-node-stroke-color-props,var(--xy-minimap-node-stroke-color,var(--xy-minimap-node-stroke-color-default))
13
- );stroke-width:var(--xy-minimap-node-stroke-width-default);stroke-width:var(
14
- --xy-minimap-node-stroke-width-props,var(--xy-minimap-node-stroke-width,var(--xy-minimap-node-stroke-width-default))
15
- )}.react-flow__background-pattern.dots{fill:var(--xy-background-pattern-dots-color-default);fill:var(
16
- --xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-dots-color-default))
17
- )}.react-flow__background-pattern.lines{stroke:var(--xy-background-pattern-lines-color-default);stroke:var(
18
- --xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-lines-color-default))
19
- )}.react-flow__background-pattern.cross{stroke:var(--xy-background-pattern-cross-color-default);stroke:var(
20
- --xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-cross-color-default))
21
- )}.react-flow__controls{box-shadow:var(--xy-controls-box-shadow-default);box-shadow:var(--xy-controls-box-shadow,var(--xy-controls-box-shadow-default));display:flex;flex-direction:column}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{align-items:center;background:var(--xy-controls-button-background-color-default);background:var(--xy-controls-button-background-color,var(--xy-controls-button-background-color-default));border:none;border-bottom:1px solid var(
22
- --xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default))
23
- );color:var(--xy-controls-button-color-default);color:var(
24
- --xy-controls-button-color-props,var(--xy-controls-button-color,var(--xy-controls-button-color-default))
25
- );cursor:pointer;display:flex;height:26px;justify-content:center;padding:4px;-webkit-user-select:none;user-select:none;width:26px}.react-flow__controls-button svg{fill:currentColor;max-height:12px;max-width:12px;width:100%}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-default,.react-flow__node-group,.react-flow__node-input,.react-flow__node-output{background-color:var(--xy-node-background-color-default);background-color:var(--xy-node-background-color,var(--xy-node-background-color-default));border:var(--xy-node-border,var(--xy-node-border-default));border-radius:var(--xy-node-border-radius-default);border-radius:var(--xy-node-border-radius,var(--xy-node-border-radius-default));color:var(--xy-node-color-default);color:var(--xy-node-color,var(--xy-node-color-default));font-size:12px;padding:10px;text-align:center;width:150px}.react-flow__node-default.selectable:hover,.react-flow__node-group.selectable:hover,.react-flow__node-input.selectable:hover,.react-flow__node-output.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover-default);box-shadow:var(--xy-node-boxshadow-hover,var(--xy-node-boxshadow-hover-default))}.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible,.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected-default);box-shadow:var(--xy-node-boxshadow-selected,var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color-default);background-color:var(--xy-node-group-background-color,var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color-default);background:var(--xy-selection-background-color,var(--xy-selection-background-color-default));border:var(--xy-selection-border,var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var(--xy-controls-button-background-color-hover-default);background:var(
26
- --xy-controls-button-background-color-hover-props,var(--xy-controls-button-background-color-hover,var(--xy-controls-button-background-color-hover-default))
27
- );color:var(--xy-controls-button-color-hover-default);color:var(
28
- --xy-controls-button-color-hover-props,var(--xy-controls-button-color-hover,var(--xy-controls-button-color-hover-default))
29
- )}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var(
30
- --xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default))
31
- )}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.bottom,.react-flow__resize-control.top{cursor:ns-resize}.react-flow__resize-control.bottom.right,.react-flow__resize-control.top.left{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{background-color:var(--xy-resize-background-color-default);background-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border:1px solid #fff;border-radius:1px;height:5px;translate:-50% -50%;width:5px}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.bottom.left,.react-flow__resize-control.handle.top.left{left:0}.react-flow__resize-control.handle.bottom.right,.react-flow__resize-control.handle.top.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border-style:solid;border-width:0}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{height:100%;top:0;transform:translate(-50%);width:1px}.react-flow__resize-control.line.left{border-left-width:1px;left:0}.react-flow__resize-control.line.right{border-right-width:1px;left:100%}.react-flow__resize-control.line.bottom,.react-flow__resize-control.line.top{height:1px;left:0;transform:translateY(-50%);width:100%}.react-flow__resize-control.line.top{border-top-width:1px;top:0}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color-default);fill:var(--xy-edge-label-background-color,var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color-default);fill:var(--xy-edge-label-color,var(--xy-edge-label-color-default))}.xterm{cursor:text;position:relative;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{border:0;height:0;left:-9999em;margin:0;opacity:0;overflow:hidden;padding:0;position:absolute;resize:none;top:0;white-space:nowrap;width:0;z-index:-5}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;bottom:0;cursor:default;left:0;overflow-y:scroll;position:absolute;right:0;top:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{left:0;position:absolute;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;left:-9999em;line-height:normal;position:absolute;top:0;visibility:hidden}.xterm.enable-mouse-events{cursor:default}.xterm .xterm-cursor-pointer,.xterm.xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility,.xterm .xterm-message{bottom:0;color:#0000;left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:10}.xterm .live-region{height:1px;left:-9999px;overflow:hidden;position:absolute;width:1px}.xterm-dim{opacity:1!important}.xterm-underline-1{text-decoration:underline}.xterm-underline-2{-webkit-text-decoration:double underline;text-decoration:double underline}.xterm-underline-3{-webkit-text-decoration:wavy underline;text-decoration:wavy underline}.xterm-underline-4{-webkit-text-decoration:dotted underline;text-decoration:dotted underline}.xterm-underline-5{-webkit-text-decoration:dashed underline;text-decoration:dashed underline}.xterm-overline{text-decoration:overline}.xterm-overline.xterm-underline-1{text-decoration:overline underline}.xterm-overline.xterm-underline-2{-webkit-text-decoration:overline double underline;text-decoration:overline double underline}.xterm-overline.xterm-underline-3{-webkit-text-decoration:overline wavy underline;text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{-webkit-text-decoration:overline dotted underline;text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{-webkit-text-decoration:overline dashed underline;text-decoration:overline dashed underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{position:absolute;z-index:6}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{pointer-events:none;position:absolute;right:0;top:0;z-index:8}.xterm-decoration-top{position:relative;z-index:2}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes fadeIn{0%{opacity:0;transform:translateX(-50%) translateY(10px)}to{opacity:1;transform:translateX(-50%) translateY(0)}}@keyframes slideInRight{0%{transform:translateX(100%)}to{transform:translateX(0)}}@keyframes slideOutRight{0%{transform:translateX(0)}to{transform:translateX(100%)}}.App{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}
32
- /*# sourceMappingURL=main.97e4c611.css.map*/