@auto-engineer/design-system-importer 0.4.4 → 0.4.6

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.
@@ -1,5 +1,6 @@
1
-
2
- > @auto-engineer/design-system-importer@0.4.4 build /Users/sam/WebstormProjects/top/auto-engineer/packages/design-system-importer
3
- > tsc && tsx ../../scripts/fix-esm-imports.ts
4
-
5
- Fixed ESM imports in dist/
1
+
2
+ 
3
+ > @auto-engineer/design-system-importer@0.4.6 build /Users/sam/WebstormProjects/top/auto-engineer/packages/design-system-importer
4
+ > tsc && tsx ../../scripts/fix-esm-imports.ts && cp -r src/utils/templates dist/utils/
5
+
6
+ Fixed ESM imports in dist/
@@ -1,13 +1,12 @@
1
-
2
- 
3
- > @auto-engineer/design-system-importer@0.4.4 format /Users/sam/WebstormProjects/top/auto-engineer/packages/design-system-importer
4
- > prettier --write "**/*.{js,ts,json,md,yml,yaml}" --ignore-path ../../.prettierignore
5
-
6
- CHANGELOG.mdCHANGELOG.md 20ms (unchanged)
7
- package.jsonpackage.json 15ms (unchanged)
8
- README.mdREADME.md 8ms (unchanged)
9
- src/commands/import-design-system.tssrc/commands/import-design-system.ts 39ms (unchanged)
10
- src/FigmaComponentsBuilder.tssrc/FigmaComponentsBuilder.ts 17ms (unchanged)
11
- src/index.tssrc/index.ts 13ms (unchanged)
12
- src/utils/FilterLoader.tssrc/utils/FilterLoader.ts 8ms
13
- tsconfig.jsontsconfig.json 1ms (unchanged)
1
+
2
+ > @auto-engineer/design-system-importer@0.4.5 format /Users/sam/WebstormProjects/top/auto-engineer/packages/design-system-importer
3
+ > prettier --write "**/*.{js,ts,json,md,yml,yaml}" --ignore-path ../../.prettierignore
4
+
5
+ CHANGELOG.md 20ms (unchanged)
6
+ package.json 15ms (unchanged)
7
+ README.md 8ms (unchanged)
8
+ src/commands/import-design-system.ts 40ms (unchanged)
9
+ src/FigmaComponentsBuilder.ts 19ms (unchanged)
10
+ src/index.ts 14ms (unchanged)
11
+ src/utils/FilterLoader.ts 10ms (unchanged)
12
+ tsconfig.json 1ms (unchanged)
@@ -1,27 +1,4 @@
1
-
2
- 
3
- > @auto-engineer/design-system-importer@0.4.4 lint /Users/sam/WebstormProjects/top/auto-engineer/packages/design-system-importer
4
- > eslint 'src/**/*.ts' --max-warnings 0 --config ../../eslint.config.ts
5
-
6
- 
7
- /Users/sam/WebstormProjects/top/auto-engineer/packages/design-system-importer/src/utils/FilterLoader.ts
8
-  46:37 error Async method 'loadTypeScriptFilter' has a complexity of 12. Maximum allowed is 10 complexity
9
-  118:15 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
10
-  119:29 error Unsafe member access .filter on an `any` value @typescript-eslint/no-unsafe-member-access
11
-  151:17 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
12
-  152:15 error Unexpected any value in conditional. An explicit comparison or type conversion is required @typescript-eslint/strict-boolean-expressions
13
-  152:22 error Unsafe member access .success on an `any` value @typescript-eslint/no-unsafe-member-access
14
-  152:33 error Unexpected any value in conditional. An explicit comparison or type conversion is required @typescript-eslint/strict-boolean-expressions
15
-  152:40 error Unsafe member access .filterCode on an `any` value @typescript-eslint/no-unsafe-member-access
16
-  154:13 warning Unused eslint-disable directive (no problems were reported from 'no-new-func')
17
-  155:19 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
18
-  155:28 error Implied eval. Do not use the Function constructor to create functions @typescript-eslint/no-implied-eval
19
-  155:28 error Unsafe call of a(n) `Function` typed value @typescript-eslint/no-unsafe-call
20
-  155:60 error Unsafe member access .filterCode on an `any` value @typescript-eslint/no-unsafe-member-access
21
-  210:17 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
22
-  211:30 error Unsafe member access .filter on an `any` value @typescript-eslint/no-unsafe-member-access
23
- 
24
- ✖ 15 problems (14 errors, 1 warning)
25
-  0 errors and 1 warning potentially fixable with the `--fix` option.
26
- 
27
-  ELIFECYCLE  Command failed with exit code 1.
1
+
2
+ > @auto-engineer/design-system-importer@0.4.5 lint /Users/sam/WebstormProjects/top/auto-engineer/packages/design-system-importer
3
+ > eslint 'src/**/*.ts' --max-warnings 0 --config ../../eslint.config.ts
4
+
@@ -1,6 +1,6 @@
1
1
 
2
2
  
3
- > @auto-engineer/design-system-importer@0.4.4 test /Users/sam/WebstormProjects/top/auto-engineer/packages/design-system-importer
3
+ > @auto-engineer/design-system-importer@0.4.6 test /Users/sam/WebstormProjects/top/auto-engineer/packages/design-system-importer
4
4
  > vitest run
5
5
 
6
6
  [?25l
@@ -1,5 +1,5 @@
1
1
 
2
2
  
3
- > @auto-engineer/design-system-importer@0.4.4 type-check /Users/sam/WebstormProjects/top/auto-engineer/packages/design-system-importer
3
+ > @auto-engineer/design-system-importer@0.4.6 type-check /Users/sam/WebstormProjects/top/auto-engineer/packages/design-system-importer
4
4
  > tsc --noEmit
5
5
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @auto-engineer/design-system-importer
2
2
 
3
+ ## 0.4.6
4
+
5
+ ### Patch Changes
6
+
7
+ - Version bump to trigger builds
8
+ - Updated dependencies
9
+ - @auto-engineer/message-bus@0.3.1
10
+
11
+ ## 0.4.5
12
+
13
+ ### Patch Changes
14
+
15
+ - Refactor TypeScript filter loading to use template files instead of inline strings for better maintainability
16
+
3
17
  ## 0.4.4
4
18
 
5
19
  ### Patch Changes
@@ -1,7 +1,13 @@
1
1
  import type { FilterFunctionType } from '../FigmaComponentsBuilder';
2
2
  export declare class FilterLoader {
3
+ private templatesDir;
4
+ constructor();
3
5
  loadFilter(filePath: string): Promise<FilterFunctionType>;
4
6
  private loadTypeScriptFilter;
7
+ private tryNodeDirectLoad;
8
+ private tryNpxTsxExport;
9
+ private tryNodeLoaderOptions;
10
+ private prepareTemplate;
5
11
  cleanup(): void;
6
12
  }
7
13
  //# sourceMappingURL=FilterLoader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FilterLoader.d.ts","sourceRoot":"","sources":["../../src/utils/FilterLoader.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,qBAAa,YAAY;IACjB,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,CAAC;YAmCjD,oBAAoB;IA+LlC,OAAO,IAAI,IAAI;CAGhB"}
1
+ {"version":3,"file":"FilterLoader.d.ts","sourceRoot":"","sources":["../../src/utils/FilterLoader.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,qBAAa,YAAY;IACvB,OAAO,CAAC,YAAY,CAAS;;IAQvB,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,CAAC;YAmCjD,oBAAoB;YA2CpB,iBAAiB;YAsBjB,eAAe;YA2Bf,oBAAoB;IA8BlC,OAAO,CAAC,eAAe;IA2BvB,OAAO,IAAI,IAAI;CAGhB"}
@@ -1,11 +1,14 @@
1
- import { extname, resolve as resolvePath } from 'path';
2
- import { pathToFileURL } from 'url';
3
- import { existsSync } from 'fs';
1
+ import { extname, resolve as resolvePath, dirname, join } from 'path';
2
+ import { pathToFileURL, fileURLToPath } from 'url';
3
+ import { existsSync, readFileSync, writeFileSync, mkdtempSync, rmSync } from 'fs';
4
4
  import { spawnSync } from 'child_process';
5
- import { writeFileSync, mkdtempSync, rmSync } from 'fs';
6
5
  import { tmpdir } from 'os';
7
- import { join } from 'path';
8
6
  export class FilterLoader {
7
+ constructor() {
8
+ // Get the directory where template files are stored
9
+ const currentFile = fileURLToPath(import.meta.url);
10
+ this.templatesDir = join(dirname(currentFile), 'templates');
11
+ }
9
12
  async loadFilter(filePath) {
10
13
  if (typeof filePath !== 'string' || filePath.trim().length === 0) {
11
14
  throw new Error('Filter file path is required');
@@ -33,158 +36,20 @@ export class FilterLoader {
33
36
  throw new Error('No filter function found. Export a function named "filter" or as a default export from the file.');
34
37
  }
35
38
  async loadTypeScriptFilter(filePath) {
36
- // Create a temporary directory for our loader script
39
+ // Create a temporary directory for our scripts
37
40
  const tempDir = mkdtempSync(join(tmpdir(), 'tsx-filter-'));
38
- const tempFile = join(tempDir, 'loader.mjs');
39
41
  try {
40
- // Create a loader script that uses tsx to load and execute the TypeScript filter
41
- const loaderScript = `
42
- import { register } from 'node:module';
43
- import { pathToFileURL } from 'node:url';
44
- import { createRequire } from 'node:module';
45
-
46
- // Try to find and register tsx
47
- try {
48
- // First try to find tsx in the project's node_modules
49
- const require = createRequire(import.meta.url);
50
- let tsxPath;
51
-
52
- try {
53
- // Try to resolve tsx from the current working directory
54
- tsxPath = require.resolve('tsx/esm/api', { paths: ['${process.cwd()}'] });
55
- } catch {
56
- try {
57
- // Try alternative path for tsx v3
58
- tsxPath = require.resolve('tsx/esm', { paths: ['${process.cwd()}'] });
59
- } catch {
60
- // Try to find tsx anywhere
61
- tsxPath = require.resolve('tsx');
62
- }
63
- }
64
-
65
- // Import tsx and register it
66
- const tsx = await import(tsxPath);
67
- if (tsx.register) {
68
- tsx.register();
69
- }
70
- } catch (e) {
71
- // If we can't find tsx's register, try using node's experimental loader
72
- try {
73
- register('tsx', pathToFileURL('./'));
74
- } catch {
75
- console.error('Could not register tsx loader:', e);
76
- }
77
- }
78
-
79
- // Now import the TypeScript filter file
80
- const filterModule = await import('${pathToFileURL(filePath).href}');
81
- const filter = filterModule.filter || filterModule.default;
82
-
83
- if (typeof filter !== 'function') {
84
- throw new Error('No filter function found in TypeScript file');
85
- }
86
-
87
- // Export it so we can use it
88
- export { filter };
89
- `;
90
- writeFileSync(tempFile, loaderScript);
91
- // First attempt: Try to run the loader script with Node.js directly
92
- // This will work if tsx is installed locally and can be found
93
- const result = spawnSync('node', [tempFile], {
94
- cwd: process.cwd(),
95
- encoding: 'utf-8',
96
- env: {
97
- ...process.env,
98
- NODE_OPTIONS: '--experimental-loader tsx',
99
- },
100
- });
101
- if (result.status === 0) {
102
- // Success! Now import the loader module to get the filter
103
- const loaderModule = await import(pathToFileURL(tempFile).href);
104
- return loaderModule.filter;
105
- }
106
- // Second attempt: Use npx tsx to run a script that exports the filter
107
- const exportScript = `
108
- import * as filterModule from '${pathToFileURL(filePath).href}';
109
- const filter = filterModule.filter || filterModule.default;
110
- if (typeof filter === 'function') {
111
- // Output the filter as a module we can import
112
- console.log(JSON.stringify({
113
- success: true,
114
- filterCode: filter.toString()
115
- }));
116
- } else {
117
- console.log(JSON.stringify({
118
- success: false,
119
- error: 'No filter function found'
120
- }));
121
- }
122
- `;
123
- const exportFile = join(tempDir, 'export.mjs');
124
- writeFileSync(exportFile, exportScript);
125
- const npxResult = spawnSync('npx', ['tsx', exportFile], {
126
- cwd: process.cwd(),
127
- encoding: 'utf-8',
128
- shell: true,
129
- });
130
- if (npxResult.status === 0 && npxResult.stdout) {
131
- try {
132
- const output = JSON.parse(npxResult.stdout);
133
- if (output.success && output.filterCode) {
134
- // Create a function from the filter code
135
- // eslint-disable-next-line no-new-func
136
- const filter = new Function('return ' + output.filterCode)();
137
- return filter;
138
- }
139
- }
140
- catch {
141
- // JSON parse failed, try another approach
142
- }
143
- }
144
- // Third attempt: Create a wrapper that uses dynamic import with tsx
145
- const wrapperScript = `
146
- #!/usr/bin/env node
147
- import('${pathToFileURL(filePath).href}').then(module => {
148
- const filter = module.filter || module.default;
149
- if (typeof filter === 'function') {
150
- // Test it works
151
- filter({ name: 'test', type: 'COMPONENT', children: [] });
152
- process.exit(0);
153
- } else {
154
- process.exit(1);
155
- }
156
- }).catch(err => {
157
- console.error(err);
158
- process.exit(1);
159
- });
160
- `;
161
- const wrapperFile = join(tempDir, 'wrapper.mjs');
162
- writeFileSync(wrapperFile, wrapperScript);
163
- // Try with various Node.js loader configurations
164
- const loaderOptions = [
165
- ['--loader', 'tsx'],
166
- ['--experimental-loader', 'tsx'],
167
- ['--require', 'tsx'],
168
- ['--import', 'tsx'],
42
+ const filterUrl = pathToFileURL(filePath).href;
43
+ // Try different loading strategies in order
44
+ const strategies = [
45
+ () => this.tryNodeDirectLoad(tempDir, filterUrl),
46
+ () => this.tryNpxTsxExport(tempDir, filterUrl),
47
+ () => this.tryNodeLoaderOptions(tempDir, filterUrl),
169
48
  ];
170
- for (const options of loaderOptions) {
171
- const testResult = spawnSync('node', [...options, wrapperFile], {
172
- cwd: process.cwd(),
173
- encoding: 'utf-8',
174
- env: { ...process.env },
175
- });
176
- if (testResult.status === 0) {
177
- // This configuration works! Use it to load the actual filter
178
- const finalLoaderScript = `
179
- import { register } from 'node:module';
180
- register('tsx', import.meta.url);
181
- const filterModule = await import('${pathToFileURL(filePath).href}');
182
- export const filter = filterModule.filter || filterModule.default;
183
- `;
184
- const finalFile = join(tempDir, 'final.mjs');
185
- writeFileSync(finalFile, finalLoaderScript);
186
- const finalModule = await import(pathToFileURL(finalFile).href);
187
- return finalModule.filter;
49
+ for (const strategy of strategies) {
50
+ const result = await strategy();
51
+ if (result) {
52
+ return result;
188
53
  }
189
54
  }
190
55
  throw new Error(`TypeScript filter cannot be loaded. ` +
@@ -207,6 +72,97 @@ export const filter = filterModule.filter || filterModule.default;
207
72
  }
208
73
  }
209
74
  }
75
+ async tryNodeDirectLoad(tempDir, filterUrl) {
76
+ // First attempt: Try to run the loader script with Node.js directly
77
+ const loaderFile = this.prepareTemplate(tempDir, 'tsx-loader.mjs', filterUrl);
78
+ const result = spawnSync('node', [loaderFile], {
79
+ cwd: process.cwd(),
80
+ encoding: 'utf-8',
81
+ env: {
82
+ ...process.env,
83
+ NODE_OPTIONS: '--experimental-loader tsx',
84
+ },
85
+ });
86
+ if (result.status === 0) {
87
+ // Success! Now import the loader module to get the filter
88
+ const loaderModule = (await import(pathToFileURL(loaderFile).href));
89
+ return loaderModule.filter;
90
+ }
91
+ return null;
92
+ }
93
+ async tryNpxTsxExport(tempDir, filterUrl) {
94
+ // Second attempt: Use npx tsx to run a script that exports the filter
95
+ const exportFile = this.prepareTemplate(tempDir, 'tsx-export.mjs', filterUrl);
96
+ const npxResult = spawnSync('npx', ['tsx', exportFile], {
97
+ cwd: process.cwd(),
98
+ encoding: 'utf-8',
99
+ shell: true,
100
+ });
101
+ if (npxResult.status === 0 && npxResult.stdout) {
102
+ try {
103
+ const output = JSON.parse(npxResult.stdout);
104
+ if (output.success === true && typeof output.filterCode === 'string' && output.filterCode.length > 0) {
105
+ // Create a function from the filter code
106
+ // eslint-disable-next-line @typescript-eslint/no-implied-eval, @typescript-eslint/no-unsafe-call
107
+ const filter = new Function('return ' + output.filterCode)();
108
+ return filter;
109
+ }
110
+ }
111
+ catch {
112
+ // JSON parse failed, try another approach
113
+ }
114
+ }
115
+ return null;
116
+ }
117
+ async tryNodeLoaderOptions(tempDir, filterUrl) {
118
+ // Third attempt: Create a wrapper that uses dynamic import with tsx
119
+ const wrapperFile = this.prepareTemplate(tempDir, 'tsx-wrapper.mjs', filterUrl);
120
+ // Try with various Node.js loader configurations
121
+ const loaderOptions = [
122
+ ['--loader', 'tsx'],
123
+ ['--experimental-loader', 'tsx'],
124
+ ['--require', 'tsx'],
125
+ ['--import', 'tsx'],
126
+ ];
127
+ for (const options of loaderOptions) {
128
+ const testResult = spawnSync('node', [...options, wrapperFile], {
129
+ cwd: process.cwd(),
130
+ encoding: 'utf-8',
131
+ env: { ...process.env },
132
+ });
133
+ if (testResult.status === 0) {
134
+ // This configuration works! Use it to load the actual filter
135
+ const finalFile = this.prepareTemplate(tempDir, 'tsx-final-loader.mjs', filterUrl);
136
+ const finalModule = (await import(pathToFileURL(finalFile).href));
137
+ return finalModule.filter;
138
+ }
139
+ }
140
+ return null;
141
+ }
142
+ prepareTemplate(tempDir, templateName, filterPath) {
143
+ const templatePath = join(this.templatesDir, templateName);
144
+ const outputPath = join(tempDir, templateName);
145
+ // Read the template
146
+ let content;
147
+ if (existsSync(templatePath)) {
148
+ content = readFileSync(templatePath, 'utf-8');
149
+ }
150
+ else {
151
+ // Fallback to dist directory if running from compiled code
152
+ const distTemplatePath = templatePath.replace('/src/', '/dist/');
153
+ if (existsSync(distTemplatePath)) {
154
+ content = readFileSync(distTemplatePath, 'utf-8');
155
+ }
156
+ else {
157
+ throw new Error(`Template not found: ${templateName}`);
158
+ }
159
+ }
160
+ // Replace the placeholder with the actual filter path
161
+ content = content.replace(/__FILTER_PATH__/g, filterPath);
162
+ // Write the prepared script
163
+ writeFileSync(outputPath, content);
164
+ return outputPath;
165
+ }
210
166
  cleanup() {
211
167
  // No cleanup needed
212
168
  }
@@ -1 +1 @@
1
- {"version":3,"file":"FilterLoader.js","sourceRoot":"","sources":["../../src/utils/FilterLoader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,MAAM,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,IAAI,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,IAAI,CAAC;AAC5B,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAG5B,MAAM,OAAO,YAAY;IACvB,KAAK,CAAC,UAAU,CAAC,QAAgB;QAC/B,IAAI,OAAO,QAAQ,KAAK,QAAQ,IAAI,QAAQ,CAAC,IAAI,EAAE,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACjE,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QAED,MAAM,YAAY,GAAG,WAAW,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,QAAQ,CAAC,CAAC;QAE1D,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,0BAA0B,YAAY,EAAE,CAAC,CAAC;QAC5D,CAAC;QAED,MAAM,G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Aa,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,CAAmC,CAAC;gBACpG,OAAO,WAAW,CAAC,MAAM,CAAC;YAC5B,CAAC;QACH,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;IAEO,eAAe,CAAC,OAAe,EAAE,YAAoB,EAAE,UAAkB;QAC/E,MAAM,YAAY,GAAG,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC;QAC3D,MAAM,UAAU,GAAG,IAAI,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC;QAE/C,oBAAoB;QACpB,IAAI,OAAe,CAAC;QACpB,IAAI,UAAU,CAAC,YAAY,CAAC,EAAE,CAAC;YAC7B,OAAO,GAAG,YAAY,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC;QAChD,CAAC;aAAM,CAAC;YACN,2DAA2D;YAC3D,MAAM,gBAAgB,GAAG,YAAY,CAAC,OAAO,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YACjE,IAAI,UAAU,CAAC,gBAAgB,CAAC,EAAE,CAAC;gBACjC,OAAO,GAAG,YAAY,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;YACpD,CAAC;iBAAM,CAAC;gBACN,MAAM,IAAI,KAAK,CAAC,uBAAuB,YAAY,EAAE,CAAC,CAAC;YACzD,CAAC;QACH,CAAC;QAED,sDAAsD;QACtD,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,kBAAkB,EAAE,UAAU,CAAC,CAAC;QAE1D,4BAA4B;QAC5B,aAAa,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;QAEnC,OAAO,UAAU,CAAC;IACpB,CAAC;IAED,OAAO;QACL,oBAAoB;IACtB,CAAC;CACF"}
@@ -0,0 +1,17 @@
1
+ // This script exports the filter function as JSON for serialization
2
+ import * as filterModule from '__FILTER_PATH__';
3
+
4
+ const filter = filterModule.filter || filterModule.default;
5
+
6
+ if (typeof filter === 'function') {
7
+ // Output the filter as a module we can import
8
+ console.log(JSON.stringify({
9
+ success: true,
10
+ filterCode: filter.toString()
11
+ }));
12
+ } else {
13
+ console.log(JSON.stringify({
14
+ success: false,
15
+ error: 'No filter function found'
16
+ }));
17
+ }
@@ -0,0 +1,10 @@
1
+ import { register } from 'node:module';
2
+
3
+ // Register tsx for TypeScript support
4
+ register('tsx', import.meta.url);
5
+
6
+ // Import the TypeScript filter module
7
+ const filterModule = await import('__FILTER_PATH__');
8
+
9
+ // Export the filter function
10
+ export const filter = filterModule.filter || filterModule.default;
@@ -0,0 +1,48 @@
1
+ import { register } from 'node:module';
2
+ import { pathToFileURL } from 'node:url';
3
+ import { createRequire } from 'node:module';
4
+
5
+ // Try to find and register tsx
6
+ try {
7
+ // First try to find tsx in the project's node_modules
8
+ const require = createRequire(import.meta.url);
9
+ let tsxPath;
10
+
11
+ try {
12
+ // Try to resolve tsx from the current working directory
13
+ tsxPath = require.resolve('tsx/esm/api', { paths: [process.cwd()] });
14
+ } catch {
15
+ try {
16
+ // Try alternative path for tsx v3
17
+ tsxPath = require.resolve('tsx/esm', { paths: [process.cwd()] });
18
+ } catch {
19
+ // Try to find tsx anywhere
20
+ tsxPath = require.resolve('tsx');
21
+ }
22
+ }
23
+
24
+ // Import tsx and register it
25
+ const tsx = await import(tsxPath);
26
+ if (tsx.register) {
27
+ tsx.register();
28
+ }
29
+ } catch (e) {
30
+ // If we can't find tsx's register, try using node's experimental loader
31
+ try {
32
+ register('tsx', pathToFileURL('./'));
33
+ } catch {
34
+ console.error('Could not register tsx loader:', e);
35
+ }
36
+ }
37
+
38
+ // Now import the TypeScript filter file
39
+ // __FILTER_PATH__ will be replaced with the actual path
40
+ const filterModule = await import('__FILTER_PATH__');
41
+ const filter = filterModule.filter || filterModule.default;
42
+
43
+ if (typeof filter !== 'function') {
44
+ throw new Error('No filter function found in TypeScript file');
45
+ }
46
+
47
+ // Export it so we can use it
48
+ export { filter };
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env node
2
+ // This script tests if the filter can be loaded and executed
3
+ import('__FILTER_PATH__').then(module => {
4
+ const filter = module.filter || module.default;
5
+ if (typeof filter === 'function') {
6
+ // Test it works
7
+ filter({ name: 'test', type: 'COMPONENT', children: [] });
8
+ process.exit(0);
9
+ } else {
10
+ process.exit(1);
11
+ }
12
+ }).catch(err => {
13
+ console.error(err);
14
+ process.exit(1);
15
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@auto-engineer/design-system-importer",
3
- "version": "0.4.4",
3
+ "version": "0.4.6",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -18,13 +18,13 @@
18
18
  "access": "public"
19
19
  },
20
20
  "dependencies": {
21
- "@auto-engineer/message-bus": "^0.3.0",
21
+ "@auto-engineer/message-bus": "^0.3.1",
22
22
  "figma-api": "2.0.2-beta",
23
23
  "tsx": "^3.12.7"
24
24
  },
25
25
  "scripts": {
26
26
  "start": "tsx src/index.ts",
27
- "build": "tsc && tsx ../../scripts/fix-esm-imports.ts",
27
+ "build": "tsc && tsx ../../scripts/fix-esm-imports.ts && cp -r src/utils/templates dist/utils/",
28
28
  "dev": "tsc --watch",
29
29
  "test": "vitest run",
30
30
  "test:coverage": "vitest run --coverage",
@@ -1,13 +1,19 @@
1
- import { extname, resolve as resolvePath } from 'path';
2
- import { pathToFileURL } from 'url';
3
- import { existsSync } from 'fs';
1
+ import { extname, resolve as resolvePath, dirname, join } from 'path';
2
+ import { pathToFileURL, fileURLToPath } from 'url';
3
+ import { existsSync, readFileSync, writeFileSync, mkdtempSync, rmSync } from 'fs';
4
4
  import { spawnSync } from 'child_process';
5
- import { writeFileSync, mkdtempSync, rmSync } from 'fs';
6
5
  import { tmpdir } from 'os';
7
- import { join } from 'path';
8
6
  import type { FilterFunctionType } from '../FigmaComponentsBuilder';
9
7
 
10
8
  export class FilterLoader {
9
+ private templatesDir: string;
10
+
11
+ constructor() {
12
+ // Get the directory where template files are stored
13
+ const currentFile = fileURLToPath(import.meta.url);
14
+ this.templatesDir = join(dirname(currentFile), 'templates');
15
+ }
16
+
11
17
  async loadFilter(filePath: string): Promise<FilterFunctionType> {
12
18
  if (typeof filePath !== 'string' || filePath.trim().length === 0) {
13
19
  throw new Error('Filter file path is required');
@@ -44,171 +50,23 @@ export class FilterLoader {
44
50
  }
45
51
 
46
52
  private async loadTypeScriptFilter(filePath: string): Promise<FilterFunctionType> {
47
- // Create a temporary directory for our loader script
53
+ // Create a temporary directory for our scripts
48
54
  const tempDir = mkdtempSync(join(tmpdir(), 'tsx-filter-'));
49
- const tempFile = join(tempDir, 'loader.mjs');
50
55
 
51
56
  try {
52
- // Create a loader script that uses tsx to load and execute the TypeScript filter
53
- const loaderScript = `
54
- import { register } from 'node:module';
55
- import { pathToFileURL } from 'node:url';
56
- import { createRequire } from 'node:module';
57
-
58
- // Try to find and register tsx
59
- try {
60
- // First try to find tsx in the project's node_modules
61
- const require = createRequire(import.meta.url);
62
- let tsxPath;
63
-
64
- try {
65
- // Try to resolve tsx from the current working directory
66
- tsxPath = require.resolve('tsx/esm/api', { paths: ['${process.cwd()}'] });
67
- } catch {
68
- try {
69
- // Try alternative path for tsx v3
70
- tsxPath = require.resolve('tsx/esm', { paths: ['${process.cwd()}'] });
71
- } catch {
72
- // Try to find tsx anywhere
73
- tsxPath = require.resolve('tsx');
74
- }
75
- }
76
-
77
- // Import tsx and register it
78
- const tsx = await import(tsxPath);
79
- if (tsx.register) {
80
- tsx.register();
81
- }
82
- } catch (e) {
83
- // If we can't find tsx's register, try using node's experimental loader
84
- try {
85
- register('tsx', pathToFileURL('./'));
86
- } catch {
87
- console.error('Could not register tsx loader:', e);
88
- }
89
- }
90
-
91
- // Now import the TypeScript filter file
92
- const filterModule = await import('${pathToFileURL(filePath).href}');
93
- const filter = filterModule.filter || filterModule.default;
94
-
95
- if (typeof filter !== 'function') {
96
- throw new Error('No filter function found in TypeScript file');
97
- }
98
-
99
- // Export it so we can use it
100
- export { filter };
101
- `;
102
-
103
- writeFileSync(tempFile, loaderScript);
104
-
105
- // First attempt: Try to run the loader script with Node.js directly
106
- // This will work if tsx is installed locally and can be found
107
- const result = spawnSync('node', [tempFile], {
108
- cwd: process.cwd(),
109
- encoding: 'utf-8',
110
- env: {
111
- ...process.env,
112
- NODE_OPTIONS: '--experimental-loader tsx',
113
- },
114
- });
115
-
116
- if (result.status === 0) {
117
- // Success! Now import the loader module to get the filter
118
- const loaderModule = await import(pathToFileURL(tempFile).href);
119
- return loaderModule.filter as FilterFunctionType;
120
- }
121
-
122
- // Second attempt: Use npx tsx to run a script that exports the filter
123
- const exportScript = `
124
- import * as filterModule from '${pathToFileURL(filePath).href}';
125
- const filter = filterModule.filter || filterModule.default;
126
- if (typeof filter === 'function') {
127
- // Output the filter as a module we can import
128
- console.log(JSON.stringify({
129
- success: true,
130
- filterCode: filter.toString()
131
- }));
132
- } else {
133
- console.log(JSON.stringify({
134
- success: false,
135
- error: 'No filter function found'
136
- }));
137
- }
138
- `;
139
-
140
- const exportFile = join(tempDir, 'export.mjs');
141
- writeFileSync(exportFile, exportScript);
142
-
143
- const npxResult = spawnSync('npx', ['tsx', exportFile], {
144
- cwd: process.cwd(),
145
- encoding: 'utf-8',
146
- shell: true,
147
- });
148
-
149
- if (npxResult.status === 0 && npxResult.stdout) {
150
- try {
151
- const output = JSON.parse(npxResult.stdout);
152
- if (output.success && output.filterCode) {
153
- // Create a function from the filter code
154
- // eslint-disable-next-line no-new-func
155
- const filter = new Function('return ' + output.filterCode)();
156
- return filter as FilterFunctionType;
157
- }
158
- } catch {
159
- // JSON parse failed, try another approach
160
- }
161
- }
57
+ const filterUrl = pathToFileURL(filePath).href;
162
58
 
163
- // Third attempt: Create a wrapper that uses dynamic import with tsx
164
- const wrapperScript = `
165
- #!/usr/bin/env node
166
- import('${pathToFileURL(filePath).href}').then(module => {
167
- const filter = module.filter || module.default;
168
- if (typeof filter === 'function') {
169
- // Test it works
170
- filter({ name: 'test', type: 'COMPONENT', children: [] });
171
- process.exit(0);
172
- } else {
173
- process.exit(1);
174
- }
175
- }).catch(err => {
176
- console.error(err);
177
- process.exit(1);
178
- });
179
- `;
180
-
181
- const wrapperFile = join(tempDir, 'wrapper.mjs');
182
- writeFileSync(wrapperFile, wrapperScript);
183
-
184
- // Try with various Node.js loader configurations
185
- const loaderOptions = [
186
- ['--loader', 'tsx'],
187
- ['--experimental-loader', 'tsx'],
188
- ['--require', 'tsx'],
189
- ['--import', 'tsx'],
59
+ // Try different loading strategies in order
60
+ const strategies = [
61
+ () => this.tryNodeDirectLoad(tempDir, filterUrl),
62
+ () => this.tryNpxTsxExport(tempDir, filterUrl),
63
+ () => this.tryNodeLoaderOptions(tempDir, filterUrl),
190
64
  ];
191
65
 
192
- for (const options of loaderOptions) {
193
- const testResult = spawnSync('node', [...options, wrapperFile], {
194
- cwd: process.cwd(),
195
- encoding: 'utf-8',
196
- env: { ...process.env },
197
- });
198
-
199
- if (testResult.status === 0) {
200
- // This configuration works! Use it to load the actual filter
201
- const finalLoaderScript = `
202
- import { register } from 'node:module';
203
- register('tsx', import.meta.url);
204
- const filterModule = await import('${pathToFileURL(filePath).href}');
205
- export const filter = filterModule.filter || filterModule.default;
206
- `;
207
- const finalFile = join(tempDir, 'final.mjs');
208
- writeFileSync(finalFile, finalLoaderScript);
209
-
210
- const finalModule = await import(pathToFileURL(finalFile).href);
211
- return finalModule.filter as FilterFunctionType;
66
+ for (const strategy of strategies) {
67
+ const result = await strategy();
68
+ if (result) {
69
+ return result;
212
70
  }
213
71
  }
214
72
 
@@ -234,6 +92,112 @@ export const filter = filterModule.filter || filterModule.default;
234
92
  }
235
93
  }
236
94
 
95
+ private async tryNodeDirectLoad(tempDir: string, filterUrl: string): Promise<FilterFunctionType | null> {
96
+ // First attempt: Try to run the loader script with Node.js directly
97
+ const loaderFile = this.prepareTemplate(tempDir, 'tsx-loader.mjs', filterUrl);
98
+
99
+ const result = spawnSync('node', [loaderFile], {
100
+ cwd: process.cwd(),
101
+ encoding: 'utf-8',
102
+ env: {
103
+ ...process.env,
104
+ NODE_OPTIONS: '--experimental-loader tsx',
105
+ },
106
+ });
107
+
108
+ if (result.status === 0) {
109
+ // Success! Now import the loader module to get the filter
110
+ const loaderModule = (await import(pathToFileURL(loaderFile).href)) as { filter: FilterFunctionType };
111
+ return loaderModule.filter;
112
+ }
113
+
114
+ return null;
115
+ }
116
+
117
+ private async tryNpxTsxExport(tempDir: string, filterUrl: string): Promise<FilterFunctionType | null> {
118
+ // Second attempt: Use npx tsx to run a script that exports the filter
119
+ const exportFile = this.prepareTemplate(tempDir, 'tsx-export.mjs', filterUrl);
120
+
121
+ const npxResult = spawnSync('npx', ['tsx', exportFile], {
122
+ cwd: process.cwd(),
123
+ encoding: 'utf-8',
124
+ shell: true,
125
+ });
126
+
127
+ if (npxResult.status === 0 && npxResult.stdout) {
128
+ try {
129
+ const output = JSON.parse(npxResult.stdout) as { success: boolean; filterCode?: string };
130
+ if (output.success === true && typeof output.filterCode === 'string' && output.filterCode.length > 0) {
131
+ // Create a function from the filter code
132
+ // eslint-disable-next-line @typescript-eslint/no-implied-eval, @typescript-eslint/no-unsafe-call
133
+ const filter = new Function('return ' + output.filterCode)() as FilterFunctionType;
134
+ return filter;
135
+ }
136
+ } catch {
137
+ // JSON parse failed, try another approach
138
+ }
139
+ }
140
+
141
+ return null;
142
+ }
143
+
144
+ private async tryNodeLoaderOptions(tempDir: string, filterUrl: string): Promise<FilterFunctionType | null> {
145
+ // Third attempt: Create a wrapper that uses dynamic import with tsx
146
+ const wrapperFile = this.prepareTemplate(tempDir, 'tsx-wrapper.mjs', filterUrl);
147
+
148
+ // Try with various Node.js loader configurations
149
+ const loaderOptions = [
150
+ ['--loader', 'tsx'],
151
+ ['--experimental-loader', 'tsx'],
152
+ ['--require', 'tsx'],
153
+ ['--import', 'tsx'],
154
+ ];
155
+
156
+ for (const options of loaderOptions) {
157
+ const testResult = spawnSync('node', [...options, wrapperFile], {
158
+ cwd: process.cwd(),
159
+ encoding: 'utf-8',
160
+ env: { ...process.env },
161
+ });
162
+
163
+ if (testResult.status === 0) {
164
+ // This configuration works! Use it to load the actual filter
165
+ const finalFile = this.prepareTemplate(tempDir, 'tsx-final-loader.mjs', filterUrl);
166
+ const finalModule = (await import(pathToFileURL(finalFile).href)) as { filter: FilterFunctionType };
167
+ return finalModule.filter;
168
+ }
169
+ }
170
+
171
+ return null;
172
+ }
173
+
174
+ private prepareTemplate(tempDir: string, templateName: string, filterPath: string): string {
175
+ const templatePath = join(this.templatesDir, templateName);
176
+ const outputPath = join(tempDir, templateName);
177
+
178
+ // Read the template
179
+ let content: string;
180
+ if (existsSync(templatePath)) {
181
+ content = readFileSync(templatePath, 'utf-8');
182
+ } else {
183
+ // Fallback to dist directory if running from compiled code
184
+ const distTemplatePath = templatePath.replace('/src/', '/dist/');
185
+ if (existsSync(distTemplatePath)) {
186
+ content = readFileSync(distTemplatePath, 'utf-8');
187
+ } else {
188
+ throw new Error(`Template not found: ${templateName}`);
189
+ }
190
+ }
191
+
192
+ // Replace the placeholder with the actual filter path
193
+ content = content.replace(/__FILTER_PATH__/g, filterPath);
194
+
195
+ // Write the prepared script
196
+ writeFileSync(outputPath, content);
197
+
198
+ return outputPath;
199
+ }
200
+
237
201
  cleanup(): void {
238
202
  // No cleanup needed
239
203
  }
@@ -0,0 +1,17 @@
1
+ // This script exports the filter function as JSON for serialization
2
+ import * as filterModule from '__FILTER_PATH__';
3
+
4
+ const filter = filterModule.filter || filterModule.default;
5
+
6
+ if (typeof filter === 'function') {
7
+ // Output the filter as a module we can import
8
+ console.log(JSON.stringify({
9
+ success: true,
10
+ filterCode: filter.toString()
11
+ }));
12
+ } else {
13
+ console.log(JSON.stringify({
14
+ success: false,
15
+ error: 'No filter function found'
16
+ }));
17
+ }
@@ -0,0 +1,10 @@
1
+ import { register } from 'node:module';
2
+
3
+ // Register tsx for TypeScript support
4
+ register('tsx', import.meta.url);
5
+
6
+ // Import the TypeScript filter module
7
+ const filterModule = await import('__FILTER_PATH__');
8
+
9
+ // Export the filter function
10
+ export const filter = filterModule.filter || filterModule.default;
@@ -0,0 +1,48 @@
1
+ import { register } from 'node:module';
2
+ import { pathToFileURL } from 'node:url';
3
+ import { createRequire } from 'node:module';
4
+
5
+ // Try to find and register tsx
6
+ try {
7
+ // First try to find tsx in the project's node_modules
8
+ const require = createRequire(import.meta.url);
9
+ let tsxPath;
10
+
11
+ try {
12
+ // Try to resolve tsx from the current working directory
13
+ tsxPath = require.resolve('tsx/esm/api', { paths: [process.cwd()] });
14
+ } catch {
15
+ try {
16
+ // Try alternative path for tsx v3
17
+ tsxPath = require.resolve('tsx/esm', { paths: [process.cwd()] });
18
+ } catch {
19
+ // Try to find tsx anywhere
20
+ tsxPath = require.resolve('tsx');
21
+ }
22
+ }
23
+
24
+ // Import tsx and register it
25
+ const tsx = await import(tsxPath);
26
+ if (tsx.register) {
27
+ tsx.register();
28
+ }
29
+ } catch (e) {
30
+ // If we can't find tsx's register, try using node's experimental loader
31
+ try {
32
+ register('tsx', pathToFileURL('./'));
33
+ } catch {
34
+ console.error('Could not register tsx loader:', e);
35
+ }
36
+ }
37
+
38
+ // Now import the TypeScript filter file
39
+ // __FILTER_PATH__ will be replaced with the actual path
40
+ const filterModule = await import('__FILTER_PATH__');
41
+ const filter = filterModule.filter || filterModule.default;
42
+
43
+ if (typeof filter !== 'function') {
44
+ throw new Error('No filter function found in TypeScript file');
45
+ }
46
+
47
+ // Export it so we can use it
48
+ export { filter };
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env node
2
+ // This script tests if the filter can be loaded and executed
3
+ import('__FILTER_PATH__').then(module => {
4
+ const filter = module.filter || module.default;
5
+ if (typeof filter === 'function') {
6
+ // Test it works
7
+ filter({ name: 'test', type: 'COMPONENT', children: [] });
8
+ process.exit(0);
9
+ } else {
10
+ process.exit(1);
11
+ }
12
+ }).catch(err => {
13
+ console.error(err);
14
+ process.exit(1);
15
+ });
@@ -1 +1 @@
1
- {"program":{"fileNames":["../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/compatibility/disposable.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/compatibility/indexable.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/compatibility/iterators.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/compatibility/index.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/ts5.6/globals.typedarray.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/ts5.6/buffer.buffer.d.ts","../../node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/header.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/readable.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/file.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/fetch.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/formdata.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/connector.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/client.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/errors.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/dispatcher.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-dispatcher.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-origin.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool-stats.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/handlers.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/balanced-pool.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/agent.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-interceptor.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-agent.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-client.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-pool.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-errors.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/proxy-agent.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/env-http-proxy-agent.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-handler.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-agent.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/api.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/interceptors.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/util.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cookies.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/patch.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/websocket.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/eventsource.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/filereader.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/diagnostics-channel.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/content-type.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cache.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/index.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/globals.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/assert.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/assert/strict.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/async_hooks.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/buffer.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/child_process.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/cluster.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/console.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/constants.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/crypto.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/dgram.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/dns.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/dns/promises.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/domain.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/dom-events.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/events.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/fs.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/fs/promises.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/http.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/http2.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/https.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/inspector.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/module.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/net.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/os.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/path.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/perf_hooks.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/process.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/punycode.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/querystring.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/readline.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/readline/promises.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/repl.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/sea.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/stream.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/stream/promises.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/stream/consumers.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/stream/web.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/string_decoder.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/test.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/timers.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/timers/promises.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/tls.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/trace_events.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/tty.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/url.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/util.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/v8.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/vm.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/wasi.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/worker_threads.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/zlib.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/ts5.6/index.d.ts","../../node_modules/.pnpm/dotenv@16.6.1/node_modules/dotenv/lib/main.d.ts","../../node_modules/.pnpm/figma-api@2.0.2-beta_debug@4.4.1/node_modules/figma-api/lib/config.d.ts","../../node_modules/.pnpm/axios@0.30.1_debug@4.4.1/node_modules/axios/index.d.ts","../../node_modules/.pnpm/figma-api@2.0.2-beta_debug@4.4.1/node_modules/figma-api/lib/utils.d.ts","../../node_modules/.pnpm/figma-api@2.0.2-beta_debug@4.4.1/node_modules/figma-api/lib/api-endpoints.d.ts","../../node_modules/.pnpm/figma-api@2.0.2-beta_debug@4.4.1/node_modules/figma-api/lib/api-class.d.ts","../../node_modules/.pnpm/figma-api@2.0.2-beta_debug@4.4.1/node_modules/figma-api/lib/index.d.ts","./src/figmacomponentsbuilder.ts","../message-bus/dist/types.d.ts","../message-bus/dist/message-bus.d.ts","../message-bus/dist/index.d.ts","./src/utils/filterloader.ts","./src/commands/import-design-system.ts","./src/index.ts","../../node_modules/.pnpm/@types+ms@2.1.0/node_modules/@types/ms/index.d.ts","../../node_modules/.pnpm/@types+debug@4.1.12/node_modules/@types/debug/index.d.ts"],"fileInfos":[{"version":"44e584d4f6444f58791784f1d530875970993129442a847597db702a073ca68c","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4",{"version":"6920e1448680767498a0b77c6a00a8e77d14d62c3da8967b171f1ddffa3c18e4","affectsGlobalScope":true},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true},{"version":"ae37d6ccd1560b0203ab88d46987393adaaa78c919e51acf32fb82c86502e98c","affectsGlobalScope":true},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"5e07ed3809d48205d5b985642a59f2eba47c402374a7cf8006b686f79efadcbd","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"479553e3779be7d4f68e9f40cdb82d038e5ef7592010100410723ceced22a0f7","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"70521b6ab0dcba37539e5303104f29b721bfb2940b2776da4cc818c07e1fefc1","affectsGlobalScope":true},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true},"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a",{"version":"613b21ccdf3be6329d56e6caa13b258c842edf8377be7bc9f014ed14cdcfc308","affectsGlobalScope":true},{"version":"109b9c280e8848c08bf4a78fff1fed0750a6ca1735671b5cf08b71bae5448c03","affectsGlobalScope":true},"4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","763fe0f42b3d79b440a9b6e51e9ba3f3f91352469c1e4b3b67bfa4ff6352f3f4","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","7f182617db458e98fc18dfb272d40aa2fff3a353c44a89b2c0ccb3937709bfb5","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107",{"version":"1ca84b44ad1d8e4576f24904d8b95dd23b94ea67e1575f89614ac90062fc67f4","affectsGlobalScope":true},"6d586db0a09a9495ebb5dece28f54df9684bfbd6e1f568426ca153126dac4a40","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","8c0bcd6c6b67b4b503c11e91a1fb91522ed585900eab2ab1f61bba7d7caa9d6f",{"version":"567b7f607f400873151d7bc63a049514b53c3c00f5f56e9e95695d93b66a138e","affectsGlobalScope":true},"f3e58c4c18a031cbb17abec7a4ad0bd5ae9fc70c1f4ba1e7fb921ad87c504aca","84c1930e33d1bb12ad01bcbe11d656f9646bd21b2fb2afd96e8e10615a021aef",{"version":"35ec8b6760fd7138bbf5809b84551e31028fb2ba7b6dc91d95d098bf212ca8b4","affectsGlobalScope":true},"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a",{"version":"4b87f767c7bc841511113c876a6b8bf1fd0cb0b718c888ad84478b372ec486b1","affectsGlobalScope":true},"8d04e3640dd9eb67f7f1e5bd3d0bf96c784666f7aefc8ac1537af6f2d38d4c29","9d19808c8c291a9010a6c788e8532a2da70f811adb431c97520803e0ec649991","2bf469abae4cc9c0f340d4e05d9d26e37f936f9c8ca8f007a6534f109dcc77e4","4aacb0dd020eeaef65426153686cc639a78ec2885dc72ad220be1d25f1a439df","f0bd7e6d931657b59605c44112eaf8b980ba7f957a5051ed21cb93d978cf2f45",{"version":"71450bbc2d82821d24ca05699a533e72758964e9852062c53b30f31c36978ab8","affectsGlobalScope":true},{"version":"0ada07543808f3b967624645a8e1ccd446f8b01ade47842acf1328aec899fed0","affectsGlobalScope":true},"4c21aaa8257d7950a5b75a251d9075b6a371208fc948c9c8402f6690ef3b5b55","b5895e6353a5d708f55d8685c38a235c3a6d8138e374dee8ceb8ffde5aa8002a","4ec3c48b7d89091aafb4e0452e4c971f34cf1615b490b5201044f31ac07f4b16","de735eca2c51dd8b860254e9fdb6d9ec19fe402dfe597c23090841ce3937cfc5","4ff41188773cbf465807dd2f7059c7494cbee5115608efc297383832a1150c43","5650cf3dace09e7c25d384e3e6b818b938f68f4e8de96f52d9c5a1b3db068e86",{"version":"1354ca5c38bd3fd3836a68e0f7c9f91f172582ba30ab15bb8c075891b91502b7","affectsGlobalScope":true},"5155da3047ef977944d791a2188ff6e6c225f6975cc1910ab7bb6838ab84cede","93f437e1398a4f06a984f441f7fa7a9f0535c04399619b5c22e0b87bdee182cb","afbe24ab0d74694372baa632ecb28bb375be53f3be53f9b07ecd7fc994907de5",{"version":"e16d218a30f6a6810b57f7e968124eaa08c7bb366133ea34bbf01e7cd6b8c0ad","affectsGlobalScope":true},{"version":"eb8692dea24c27821f77e397272d9ed2eda0b95e4a75beb0fdda31081d15a8ae","affectsGlobalScope":true},"9e043a1bc8fbf2a255bccf9bf27e0f1caf916c3b0518ea34aa72357c0afd42ec","b4f70ec656a11d570e1a9edce07d118cd58d9760239e2ece99306ee9dfe61d02","3bc2f1e2c95c04048212c569ed38e338873f6a8593930cf5a7ef24ffb38fc3b6","8145e07aad6da5f23f2fcd8c8e4c5c13fb26ee986a79d03b0829b8fce152d8b2","f9d9d753d430ed050dc1bf2667a1bab711ccbb1c1507183d794cc195a5b085cc","9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","5b6844ad931dcc1d3aca53268f4bd671428421464b1286746027aede398094f2","37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","125d792ec6c0c0f657d758055c494301cc5fdb327d9d9d5960b3f129aff76093",{"version":"0dbcebe2126d03936c70545e96a6e41007cf065be38a1ce4d32a39fcedefead4","affectsGlobalScope":true},"1851a3b4db78664f83901bb9cac9e45e03a37bb5933cc5bf37e10bb7e91ab4eb","461e54289e6287e8494a0178ba18182acce51a02bca8dea219149bf2cf96f105",{"version":"12ed4559eba17cd977aa0db658d25c4047067444b51acfdcbf38470630642b23","affectsGlobalScope":true},"f3ffabc95802521e1e4bcba4c88d8615176dc6e09111d920c7a213bdda6e1d65","e31e51c55800014d926e3f74208af49cb7352803619855c89296074d1ecbb524","ae56f65caf3be91108707bd8dfbccc2a57a91feb5daabf7165a06a945545ed26","a136d5de521da20f31631a0a96bf712370779d1c05b7015d7019a9b2a0446ca9",{"version":"dfb96ba5177b68003deec9e773c47257da5c4c8a74053d8956389d832df72002","affectsGlobalScope":true},{"version":"92d3070580cf72b4bb80959b7f16ede9a3f39e6f4ef2ac87cfa4561844fdc69f","affectsGlobalScope":true},"d3dffd70e6375b872f0b4e152de4ae682d762c61a24881ecc5eb9f04c5caf76f","613deebaec53731ff6b74fe1a89f094b708033db6396b601df3e6d5ab0ec0a47","d91a7d8b5655c42986f1bdfe2105c4408f472831c8f20cf11a8c3345b6b56c8c",{"version":"e56eb632f0281c9f8210eb8c86cc4839a427a4ffffcfd2a5e40b956050b3e042","affectsGlobalScope":true},"e8a979b8af001c9fc2e774e7809d233c8ca955a28756f52ee5dee88ccb0611d2","9091e564b81e7b4c382a33c62de704a699e10508190547d4f7c1c3e039d2db2b","0c5f112b6d3377b9e8214d8920e1a69d8098b881d941f2ab3ca45234d13d68de","f8b51ca9e7a32ddc4e7d1eb56bcfc5349781ce6999c56277cfeb79afab6bf129","b8fed43680ec4066d13d2c48daaff88a885c4ea5fa11fc5393011e1b13f2c2f0","f80f5fb90a23e6131494d2e674fc893c4b4b780bc8fc45eac9d4a982ebb1ea50","696a74b4fff3069192bc5b2f9d2626b8f001c3c291e2deb55c0dc4c7b599390a","f19c272bd24a3414292db0a5611376d9a4a6154e4691922a0821b2f8704a3c44","14707ebac04eb637e6c81102ab2e775f449ce9bb8a29231406993f5c9420c63a",{"version":"a9b89cce1ebdb949d73151177370535c84ff5e31a14e3d19791e482cf9acedaf","signature":"0c02e02ed39b51ac483fd9baf571ae9e89c699c9046e982a4ea0d79b827607d8"},"df47fd9f3376361bd3c95f8ed682e93f17975341bc48971fdcd1becfd7126bf3","7b4016a0a25c81c83f90dc80f0d71245d7f9a196ea33473bcddc5d90fa8e41bf","0049beb632aa48dd202a8fbedbd05ccef5c8eb51614ee73d7bb9bdcecb5076d7",{"version":"30e0de88bf0f0404df78f37fe8670742ed9907ff45d040a3d64a430efd823adf","signature":"590f9cfee5c61054f5a89decd6fc7688e19aa4d8d3869ace66f84c9b85be192f"},{"version":"375894789b2deab8ec66c28da6fb2d492c247c14245ea7ec21ea375616792536","signature":"c3f30ed8ade31eed8d6c4528462b91db20981d62d0c7a14bf1ecfe84f08879cf"},{"version":"b3159c41173dad4efa32c8e71b87aeb99623bb82221ef200092e870e0088a91f","signature":"2fc348b0114f794cc10e53200701b7f298616042f72d2268563f54286fbcbf32"},"fb893a0dfc3c9fb0f9ca93d0648694dd95f33cbad2c0f2c629f842981dfd4e2e","3eb11dbf3489064a47a2e1cf9d261b1f100ef0b3b50ffca6c44dd99d6dd81ac1"],"root":[150,[154,156]],"options":{"allowJs":true,"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"inlineSources":false,"module":99,"noUnusedLocals":false,"noUnusedParameters":false,"outDir":"./dist","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"strict":true,"strictNullChecks":true,"target":7},"fileIdsList":[[50,93,157],[50,93],[50,90,93],[50,92,93],[50,93,98,127],[50,93,94,99,105,106,113,124,135],[50,93,94,95,105,113],[45,46,47,50,93],[50,93,96,136],[50,93,97,98,106,114],[50,93,98,124,132],[50,93,99,101,105,113],[50,92,93,100],[50,93,101,102],[50,93,103,105],[50,92,93,105],[50,93,105,106,107,124,135],[50,93,105,106,107,120,124,127],[50,88,93],[50,93,101,105,108,113,124,135],[50,93,105,106,108,109,113,124,132,135],[50,93,108,110,124,132,135],[50,93,105,111],[50,93,112,135,140],[50,93,101,105,113,124],[50,93,114],[50,93,115],[50,92,93,116],[50,90,91,92,93,94,95,96,97,98,99,100,101,102,103,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141],[50,93,118],[50,93,119],[50,93,105,120,121],[50,93,120,122,136,138],[50,93,105,124,125,127],[50,93,126,127],[50,93,124,125],[50,93,127],[50,93,128],[50,90,93,124,129],[50,93,105,130,131],[50,93,130,131],[50,93,98,113,124,132],[50,93,133],[93],[48,49,50,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141],[50,93,113,134],[50,93,108,119,135],[50,93,98,136],[50,93,124,137],[50,93,112,138],[50,93,139],[50,93,105,107,116,124,127,135,138,140],[50,93,124,141],[50,93,135,142],[50,93,146,147],[50,93,146],[50,93,144,148],[50,93,145],[50,60,64,93,135],[50,60,93,124,135],[50,55,93],[50,57,60,93,132,135],[50,93,113,132],[50,93,142],[50,55,93,142],[50,57,60,93,113,135],[50,52,53,56,59,93,105,124,135],[50,60,67,93],[50,52,58,93],[50,60,81,82,93],[50,56,60,93,127,135,142],[50,81,93,142],[50,54,55,93,142],[50,60,93],[50,54,55,56,57,58,59,60,61,62,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,82,83,84,85,86,87,93],[50,60,75,93],[50,60,67,68,93],[50,58,60,68,69,93],[50,59,93],[50,52,55,60,93],[50,60,64,68,69,93],[50,64,93],[50,58,60,63,93,135],[50,52,57,60,67,93],[50,93,124],[50,55,60,81,93,140,142],[50,93,153,154,156],[50,93,143,149],[50,93,107,115,135,143,149,150,155],[50,93,94,106,114,115,135,150],[50,93,151,152],[50,93,151]],"referencedMap":[[158,1],[157,2],[90,3],[91,3],[92,4],[93,5],[94,6],[95,7],[45,2],[48,8],[46,2],[47,2],[96,9],[97,10],[98,11],[99,12],[100,13],[101,14],[102,14],[104,2],[103,15],[105,16],[106,17],[107,18],[89,19],[108,20],[109,21],[110,22],[111,23],[112,24],[113,25],[114,26],[115,27],[116,28],[117,29],[118,30],[119,31],[120,32],[121,32],[122,33],[123,2],[124,34],[126,35],[125,36],[127,37],[128,38],[129,39],[130,40],[131,41],[132,42],[133,43],[50,44],[49,2],[142,45],[134,46],[135,47],[136,48],[137,49],[138,50],[139,51],[140,52],[141,53],[145,2],[51,2],[143,54],[148,55],[147,56],[144,2],[149,57],[146,58],[43,2],[44,2],[9,2],[8,2],[2,2],[10,2],[11,2],[12,2],[13,2],[14,2],[15,2],[16,2],[17,2],[3,2],[18,2],[4,2],[19,2],[23,2],[20,2],[21,2],[22,2],[24,2],[25,2],[26,2],[5,2],[27,2],[28,2],[29,2],[30,2],[6,2],[34,2],[31,2],[32,2],[33,2],[35,2],[7,2],[36,2],[41,2],[42,2],[37,2],[38,2],[39,2],[40,2],[1,2],[67,59],[77,60],[66,59],[87,61],[58,62],[57,63],[86,64],[80,65],[85,66],[60,67],[74,68],[59,69],[83,70],[55,71],[54,64],[84,72],[56,73],[61,74],[62,2],[65,74],[52,2],[88,75],[78,76],[69,77],[70,78],[72,79],[68,80],[71,81],[81,64],[63,82],[64,83],[73,84],[53,85],[76,76],[75,74],[79,2],[82,86],[155,87],[150,88],[156,89],[154,90],[153,91],[152,92],[151,2]],"latestChangedDtsFile":"./dist/utils/FilterLoader.d.ts"},"version":"5.5.4"}
1
+ {"program":{"fileNames":["../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/compatibility/disposable.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/compatibility/indexable.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/compatibility/iterators.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/compatibility/index.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/ts5.6/globals.typedarray.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/ts5.6/buffer.buffer.d.ts","../../node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/header.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/readable.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/file.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/fetch.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/formdata.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/connector.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/client.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/errors.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/dispatcher.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-dispatcher.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-origin.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool-stats.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/handlers.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/balanced-pool.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/agent.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-interceptor.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-agent.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-client.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-pool.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-errors.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/proxy-agent.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/env-http-proxy-agent.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-handler.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-agent.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/api.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/interceptors.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/util.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cookies.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/patch.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/websocket.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/eventsource.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/filereader.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/diagnostics-channel.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/content-type.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cache.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/index.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/globals.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/assert.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/assert/strict.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/async_hooks.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/buffer.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/child_process.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/cluster.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/console.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/constants.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/crypto.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/dgram.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/dns.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/dns/promises.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/domain.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/dom-events.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/events.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/fs.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/fs/promises.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/http.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/http2.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/https.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/inspector.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/module.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/net.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/os.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/path.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/perf_hooks.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/process.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/punycode.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/querystring.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/readline.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/readline/promises.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/repl.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/sea.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/stream.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/stream/promises.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/stream/consumers.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/stream/web.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/string_decoder.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/test.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/timers.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/timers/promises.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/tls.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/trace_events.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/tty.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/url.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/util.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/v8.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/vm.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/wasi.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/worker_threads.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/zlib.d.ts","../../node_modules/.pnpm/@types+node@20.19.8/node_modules/@types/node/ts5.6/index.d.ts","../../node_modules/.pnpm/dotenv@16.6.1/node_modules/dotenv/lib/main.d.ts","../../node_modules/.pnpm/figma-api@2.0.2-beta_debug@4.4.1/node_modules/figma-api/lib/config.d.ts","../../node_modules/.pnpm/axios@0.30.1_debug@4.4.1/node_modules/axios/index.d.ts","../../node_modules/.pnpm/figma-api@2.0.2-beta_debug@4.4.1/node_modules/figma-api/lib/utils.d.ts","../../node_modules/.pnpm/figma-api@2.0.2-beta_debug@4.4.1/node_modules/figma-api/lib/api-endpoints.d.ts","../../node_modules/.pnpm/figma-api@2.0.2-beta_debug@4.4.1/node_modules/figma-api/lib/api-class.d.ts","../../node_modules/.pnpm/figma-api@2.0.2-beta_debug@4.4.1/node_modules/figma-api/lib/index.d.ts","./src/figmacomponentsbuilder.ts","../message-bus/dist/types.d.ts","../message-bus/dist/message-bus.d.ts","../message-bus/dist/index.d.ts","./src/utils/filterloader.ts","./src/commands/import-design-system.ts","./src/index.ts","../../node_modules/.pnpm/@types+ms@2.1.0/node_modules/@types/ms/index.d.ts","../../node_modules/.pnpm/@types+debug@4.1.12/node_modules/@types/debug/index.d.ts"],"fileInfos":[{"version":"44e584d4f6444f58791784f1d530875970993129442a847597db702a073ca68c","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4",{"version":"6920e1448680767498a0b77c6a00a8e77d14d62c3da8967b171f1ddffa3c18e4","affectsGlobalScope":true},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true},{"version":"ae37d6ccd1560b0203ab88d46987393adaaa78c919e51acf32fb82c86502e98c","affectsGlobalScope":true},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"5e07ed3809d48205d5b985642a59f2eba47c402374a7cf8006b686f79efadcbd","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"479553e3779be7d4f68e9f40cdb82d038e5ef7592010100410723ceced22a0f7","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"70521b6ab0dcba37539e5303104f29b721bfb2940b2776da4cc818c07e1fefc1","affectsGlobalScope":true},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true},"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a",{"version":"613b21ccdf3be6329d56e6caa13b258c842edf8377be7bc9f014ed14cdcfc308","affectsGlobalScope":true},{"version":"109b9c280e8848c08bf4a78fff1fed0750a6ca1735671b5cf08b71bae5448c03","affectsGlobalScope":true},"4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","763fe0f42b3d79b440a9b6e51e9ba3f3f91352469c1e4b3b67bfa4ff6352f3f4","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","7f182617db458e98fc18dfb272d40aa2fff3a353c44a89b2c0ccb3937709bfb5","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107",{"version":"1ca84b44ad1d8e4576f24904d8b95dd23b94ea67e1575f89614ac90062fc67f4","affectsGlobalScope":true},"6d586db0a09a9495ebb5dece28f54df9684bfbd6e1f568426ca153126dac4a40","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","8c0bcd6c6b67b4b503c11e91a1fb91522ed585900eab2ab1f61bba7d7caa9d6f",{"version":"567b7f607f400873151d7bc63a049514b53c3c00f5f56e9e95695d93b66a138e","affectsGlobalScope":true},"f3e58c4c18a031cbb17abec7a4ad0bd5ae9fc70c1f4ba1e7fb921ad87c504aca","84c1930e33d1bb12ad01bcbe11d656f9646bd21b2fb2afd96e8e10615a021aef",{"version":"35ec8b6760fd7138bbf5809b84551e31028fb2ba7b6dc91d95d098bf212ca8b4","affectsGlobalScope":true},"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a",{"version":"4b87f767c7bc841511113c876a6b8bf1fd0cb0b718c888ad84478b372ec486b1","affectsGlobalScope":true},"8d04e3640dd9eb67f7f1e5bd3d0bf96c784666f7aefc8ac1537af6f2d38d4c29","9d19808c8c291a9010a6c788e8532a2da70f811adb431c97520803e0ec649991","2bf469abae4cc9c0f340d4e05d9d26e37f936f9c8ca8f007a6534f109dcc77e4","4aacb0dd020eeaef65426153686cc639a78ec2885dc72ad220be1d25f1a439df","f0bd7e6d931657b59605c44112eaf8b980ba7f957a5051ed21cb93d978cf2f45",{"version":"71450bbc2d82821d24ca05699a533e72758964e9852062c53b30f31c36978ab8","affectsGlobalScope":true},{"version":"0ada07543808f3b967624645a8e1ccd446f8b01ade47842acf1328aec899fed0","affectsGlobalScope":true},"4c21aaa8257d7950a5b75a251d9075b6a371208fc948c9c8402f6690ef3b5b55","b5895e6353a5d708f55d8685c38a235c3a6d8138e374dee8ceb8ffde5aa8002a","4ec3c48b7d89091aafb4e0452e4c971f34cf1615b490b5201044f31ac07f4b16","de735eca2c51dd8b860254e9fdb6d9ec19fe402dfe597c23090841ce3937cfc5","4ff41188773cbf465807dd2f7059c7494cbee5115608efc297383832a1150c43","5650cf3dace09e7c25d384e3e6b818b938f68f4e8de96f52d9c5a1b3db068e86",{"version":"1354ca5c38bd3fd3836a68e0f7c9f91f172582ba30ab15bb8c075891b91502b7","affectsGlobalScope":true},"5155da3047ef977944d791a2188ff6e6c225f6975cc1910ab7bb6838ab84cede","93f437e1398a4f06a984f441f7fa7a9f0535c04399619b5c22e0b87bdee182cb","afbe24ab0d74694372baa632ecb28bb375be53f3be53f9b07ecd7fc994907de5",{"version":"e16d218a30f6a6810b57f7e968124eaa08c7bb366133ea34bbf01e7cd6b8c0ad","affectsGlobalScope":true},{"version":"eb8692dea24c27821f77e397272d9ed2eda0b95e4a75beb0fdda31081d15a8ae","affectsGlobalScope":true},"9e043a1bc8fbf2a255bccf9bf27e0f1caf916c3b0518ea34aa72357c0afd42ec","b4f70ec656a11d570e1a9edce07d118cd58d9760239e2ece99306ee9dfe61d02","3bc2f1e2c95c04048212c569ed38e338873f6a8593930cf5a7ef24ffb38fc3b6","8145e07aad6da5f23f2fcd8c8e4c5c13fb26ee986a79d03b0829b8fce152d8b2","f9d9d753d430ed050dc1bf2667a1bab711ccbb1c1507183d794cc195a5b085cc","9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","5b6844ad931dcc1d3aca53268f4bd671428421464b1286746027aede398094f2","37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","125d792ec6c0c0f657d758055c494301cc5fdb327d9d9d5960b3f129aff76093",{"version":"0dbcebe2126d03936c70545e96a6e41007cf065be38a1ce4d32a39fcedefead4","affectsGlobalScope":true},"1851a3b4db78664f83901bb9cac9e45e03a37bb5933cc5bf37e10bb7e91ab4eb","461e54289e6287e8494a0178ba18182acce51a02bca8dea219149bf2cf96f105",{"version":"12ed4559eba17cd977aa0db658d25c4047067444b51acfdcbf38470630642b23","affectsGlobalScope":true},"f3ffabc95802521e1e4bcba4c88d8615176dc6e09111d920c7a213bdda6e1d65","e31e51c55800014d926e3f74208af49cb7352803619855c89296074d1ecbb524","ae56f65caf3be91108707bd8dfbccc2a57a91feb5daabf7165a06a945545ed26","a136d5de521da20f31631a0a96bf712370779d1c05b7015d7019a9b2a0446ca9",{"version":"dfb96ba5177b68003deec9e773c47257da5c4c8a74053d8956389d832df72002","affectsGlobalScope":true},{"version":"92d3070580cf72b4bb80959b7f16ede9a3f39e6f4ef2ac87cfa4561844fdc69f","affectsGlobalScope":true},"d3dffd70e6375b872f0b4e152de4ae682d762c61a24881ecc5eb9f04c5caf76f","613deebaec53731ff6b74fe1a89f094b708033db6396b601df3e6d5ab0ec0a47","d91a7d8b5655c42986f1bdfe2105c4408f472831c8f20cf11a8c3345b6b56c8c",{"version":"e56eb632f0281c9f8210eb8c86cc4839a427a4ffffcfd2a5e40b956050b3e042","affectsGlobalScope":true},"e8a979b8af001c9fc2e774e7809d233c8ca955a28756f52ee5dee88ccb0611d2","9091e564b81e7b4c382a33c62de704a699e10508190547d4f7c1c3e039d2db2b","0c5f112b6d3377b9e8214d8920e1a69d8098b881d941f2ab3ca45234d13d68de","f8b51ca9e7a32ddc4e7d1eb56bcfc5349781ce6999c56277cfeb79afab6bf129","b8fed43680ec4066d13d2c48daaff88a885c4ea5fa11fc5393011e1b13f2c2f0","f80f5fb90a23e6131494d2e674fc893c4b4b780bc8fc45eac9d4a982ebb1ea50","696a74b4fff3069192bc5b2f9d2626b8f001c3c291e2deb55c0dc4c7b599390a","f19c272bd24a3414292db0a5611376d9a4a6154e4691922a0821b2f8704a3c44","14707ebac04eb637e6c81102ab2e775f449ce9bb8a29231406993f5c9420c63a",{"version":"a9b89cce1ebdb949d73151177370535c84ff5e31a14e3d19791e482cf9acedaf","signature":"0c02e02ed39b51ac483fd9baf571ae9e89c699c9046e982a4ea0d79b827607d8"},"df47fd9f3376361bd3c95f8ed682e93f17975341bc48971fdcd1becfd7126bf3","7b4016a0a25c81c83f90dc80f0d71245d7f9a196ea33473bcddc5d90fa8e41bf","0049beb632aa48dd202a8fbedbd05ccef5c8eb51614ee73d7bb9bdcecb5076d7",{"version":"8516546cdc3c60d1d893fee9cc7f01257b3e47e66cbd5e3b5ffaae2e2707bbce","signature":"eb9a8c7c913447084af76c7cfbdfc07d77155b691a2bfea8e2289f44653a4d65"},{"version":"375894789b2deab8ec66c28da6fb2d492c247c14245ea7ec21ea375616792536","signature":"c3f30ed8ade31eed8d6c4528462b91db20981d62d0c7a14bf1ecfe84f08879cf"},{"version":"b3159c41173dad4efa32c8e71b87aeb99623bb82221ef200092e870e0088a91f","signature":"2fc348b0114f794cc10e53200701b7f298616042f72d2268563f54286fbcbf32"},"fb893a0dfc3c9fb0f9ca93d0648694dd95f33cbad2c0f2c629f842981dfd4e2e","3eb11dbf3489064a47a2e1cf9d261b1f100ef0b3b50ffca6c44dd99d6dd81ac1"],"root":[150,[154,156]],"options":{"allowJs":true,"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"inlineSources":false,"module":99,"noUnusedLocals":false,"noUnusedParameters":false,"outDir":"./dist","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"strict":true,"strictNullChecks":true,"target":7},"fileIdsList":[[50,93,157],[50,93],[50,90,93],[50,92,93],[50,93,98,127],[50,93,94,99,105,106,113,124,135],[50,93,94,95,105,113],[45,46,47,50,93],[50,93,96,136],[50,93,97,98,106,114],[50,93,98,124,132],[50,93,99,101,105,113],[50,92,93,100],[50,93,101,102],[50,93,103,105],[50,92,93,105],[50,93,105,106,107,124,135],[50,93,105,106,107,120,124,127],[50,88,93],[50,93,101,105,108,113,124,135],[50,93,105,106,108,109,113,124,132,135],[50,93,108,110,124,132,135],[50,93,105,111],[50,93,112,135,140],[50,93,101,105,113,124],[50,93,114],[50,93,115],[50,92,93,116],[50,90,91,92,93,94,95,96,97,98,99,100,101,102,103,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141],[50,93,118],[50,93,119],[50,93,105,120,121],[50,93,120,122,136,138],[50,93,105,124,125,127],[50,93,126,127],[50,93,124,125],[50,93,127],[50,93,128],[50,90,93,124,129],[50,93,105,130,131],[50,93,130,131],[50,93,98,113,124,132],[50,93,133],[93],[48,49,50,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141],[50,93,113,134],[50,93,108,119,135],[50,93,98,136],[50,93,124,137],[50,93,112,138],[50,93,139],[50,93,105,107,116,124,127,135,138,140],[50,93,124,141],[50,93,135,142],[50,93,146,147],[50,93,146],[50,93,144,148],[50,93,145],[50,60,64,93,135],[50,60,93,124,135],[50,55,93],[50,57,60,93,132,135],[50,93,113,132],[50,93,142],[50,55,93,142],[50,57,60,93,113,135],[50,52,53,56,59,93,105,124,135],[50,60,67,93],[50,52,58,93],[50,60,81,82,93],[50,56,60,93,127,135,142],[50,81,93,142],[50,54,55,93,142],[50,60,93],[50,54,55,56,57,58,59,60,61,62,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,82,83,84,85,86,87,93],[50,60,75,93],[50,60,67,68,93],[50,58,60,68,69,93],[50,59,93],[50,52,55,60,93],[50,60,64,68,69,93],[50,64,93],[50,58,60,63,93,135],[50,52,57,60,67,93],[50,93,124],[50,55,60,81,93,140,142],[50,93,153,154,156],[50,93,143,149],[50,93,107,115,135,143,149,150,155],[50,93,94,106,114,115,135,150],[50,93,151,152],[50,93,151]],"referencedMap":[[158,1],[157,2],[90,3],[91,3],[92,4],[93,5],[94,6],[95,7],[45,2],[48,8],[46,2],[47,2],[96,9],[97,10],[98,11],[99,12],[100,13],[101,14],[102,14],[104,2],[103,15],[105,16],[106,17],[107,18],[89,19],[108,20],[109,21],[110,22],[111,23],[112,24],[113,25],[114,26],[115,27],[116,28],[117,29],[118,30],[119,31],[120,32],[121,32],[122,33],[123,2],[124,34],[126,35],[125,36],[127,37],[128,38],[129,39],[130,40],[131,41],[132,42],[133,43],[50,44],[49,2],[142,45],[134,46],[135,47],[136,48],[137,49],[138,50],[139,51],[140,52],[141,53],[145,2],[51,2],[143,54],[148,55],[147,56],[144,2],[149,57],[146,58],[43,2],[44,2],[9,2],[8,2],[2,2],[10,2],[11,2],[12,2],[13,2],[14,2],[15,2],[16,2],[17,2],[3,2],[18,2],[4,2],[19,2],[23,2],[20,2],[21,2],[22,2],[24,2],[25,2],[26,2],[5,2],[27,2],[28,2],[29,2],[30,2],[6,2],[34,2],[31,2],[32,2],[33,2],[35,2],[7,2],[36,2],[41,2],[42,2],[37,2],[38,2],[39,2],[40,2],[1,2],[67,59],[77,60],[66,59],[87,61],[58,62],[57,63],[86,64],[80,65],[85,66],[60,67],[74,68],[59,69],[83,70],[55,71],[54,64],[84,72],[56,73],[61,74],[62,2],[65,74],[52,2],[88,75],[78,76],[69,77],[70,78],[72,79],[68,80],[71,81],[81,64],[63,82],[64,83],[73,84],[53,85],[76,76],[75,74],[79,2],[82,86],[155,87],[150,88],[156,89],[154,90],[153,91],[152,92],[151,2]],"latestChangedDtsFile":"./dist/utils/FilterLoader.d.ts"},"version":"5.5.4"}