@cocos/ccbuild 2.3.16 → 2.3.18

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.
Files changed (31) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +16 -16
  3. package/modules/build-engine/lib/engine-js/babel-plugins/decorator-parser.js +10 -10
  4. package/modules/build-engine/lib/engine-js/rollup-plugins/enum-scanner/core/enum.d.ts +12 -12
  5. package/modules/build-engine/lib/engine-js/rollup-plugins/enum-scanner/core/enum.js +12 -12
  6. package/modules/build-engine/lib/engine-js/rollup-plugins/enum-scanner/core/options.d.ts +17 -17
  7. package/modules/build-engine/lib/engine-js/rollup-plugins/enum-scanner/core/options.js +4 -4
  8. package/modules/build-engine/lib/engine-js/rollup-plugins/enum-scanner/index.d.ts +2 -2
  9. package/modules/build-engine/lib/engine-js/rollup-plugins/enum-scanner/index.js +2 -2
  10. package/modules/build-engine/lib/engine-js/rollup-plugins/external-wasm-loader.d.ts +28 -28
  11. package/modules/build-engine/lib/engine-js/rollup-plugins/external-wasm-loader.js +10 -10
  12. package/modules/build-engine/lib/engine-js/ts-plugins/properties-minifier/index.d.ts +2 -2
  13. package/modules/build-engine/lib/engine-ts/plugins/external-wasm-loader.d.ts +2 -2
  14. package/modules/build-engine/lib/engine-ts/plugins/interface.d.ts +14 -14
  15. package/modules/build-engine/lib/index.d.ts +131 -131
  16. package/modules/build-engine/lib/index.js +16 -16
  17. package/modules/dts-bundler/lib/index.js +5 -5
  18. package/modules/modularize/lib/module-config.d.ts +71 -71
  19. package/modules/modularize/lib/module-config.d.ts.map +1 -1
  20. package/modules/modularize/lib/module-query.d.ts +31 -31
  21. package/modules/modularize/lib/module-query.js +19 -19
  22. package/modules/stats-query/lib/config-interface.d.ts +68 -68
  23. package/modules/stats-query/lib/index.d.ts +63 -59
  24. package/modules/stats-query/lib/index.d.ts.map +1 -1
  25. package/modules/stats-query/lib/index.js +43 -43
  26. package/modules/stats-query/lib/index.js.map +1 -1
  27. package/package.json +1 -1
  28. package/static/helper-dynamic-constants.txt +13 -13
  29. package/static/helper-file-decorator.ts +20 -20
  30. package/static/helper-global-exporter.txt +8 -8
  31. package/static/lib.dom.d.ts +2330 -2330
@@ -1,26 +1,26 @@
1
1
  import { ModuleConfig, PlatformType } from './module-config';
2
2
  export interface ModuleQueryContext {
3
- /**
4
- * The engine root path.
3
+ /**
4
+ * The engine root path.
5
5
  */
6
6
  engine: string;
7
- /**
8
- * The platform to resolve conditional export.
7
+ /**
8
+ * The platform to resolve conditional export.
9
9
  */
10
10
  platform: PlatformType;
11
- /**
12
- * The custom export condition.
13
- * The higher the array is sorted, the higher the priority is.
14
- *
15
- * @example
16
- * ```ts
17
- * [ 'webgl1', 'cannon' ] // the backend of 'gfx' and 'physics' modules.
18
- * ```
11
+ /**
12
+ * The custom export condition.
13
+ * The higher the array is sorted, the higher the priority is.
14
+ *
15
+ * @example
16
+ * ```ts
17
+ * [ 'webgl1', 'cannon' ] // the backend of 'gfx' and 'physics' modules.
18
+ * ```
19
19
  */
20
20
  customExportConditions?: string[];
21
21
  }
22
- /**
23
- * The module info manager.
22
+ /**
23
+ * The module info manager.
24
24
  */
25
25
  export declare class ModuleQuery {
26
26
  private _context;
@@ -28,37 +28,37 @@ export declare class ModuleQuery {
28
28
  private _resolvedCache;
29
29
  private _cachedHasEditorSpecificExport;
30
30
  constructor(context: ModuleQueryContext);
31
- /**
32
- * Get all modules' name defined in engine workspaces.
31
+ /**
32
+ * Get all modules' name defined in engine workspaces.
33
33
  */
34
34
  getAllModules(): Promise<string[]>;
35
- /**
36
- * Get modules' all exports by module name.
35
+ /**
36
+ * Get modules' all exports by module name.
37
37
  */
38
38
  getExports(moduleName: string): Promise<string[]>;
39
- /**
40
- * Get all the modules' exports.
39
+ /**
40
+ * Get all the modules' exports.
41
41
  */
42
42
  getAllExports(): Promise<string[]>;
43
- /**
44
- * Get the map from module name to module path.
43
+ /**
44
+ * Get the map from module name to module path.
45
45
  */
46
46
  getExportMap(): Promise<Record<string, string>>;
47
- /**
48
- * Resolve module package.json path by module name.
47
+ /**
48
+ * Resolve module package.json path by module name.
49
49
  */
50
50
  resolvePackageJson(moduleName: string): Promise<string>;
51
- /**
52
- * Get module config by module name.
51
+ /**
52
+ * Get module config by module name.
53
53
  */
54
54
  getConfig(moduleName: string): Promise<ModuleConfig>;
55
- /**
56
- * Resolve module entry path by import source.
55
+ /**
56
+ * Resolve module entry path by import source.
57
57
  */
58
58
  resolveExport(source: string): Promise<string | void>;
59
- /**
60
- * To detect whether the module has a './editor' export.
61
- * @param moduleName
59
+ /**
60
+ * To detect whether the module has a './editor' export.
61
+ * @param moduleName
62
62
  */
63
63
  hasEditorSpecificExport(moduleName: string): Promise<boolean>;
64
64
  private _ensureModuleName2PkgJson;
@@ -13,8 +13,8 @@ const fs_extra_1 = __importDefault(require("fs-extra"));
13
13
  const platform_config_1 = require("./platform-config");
14
14
  const glob_1 = __importDefault(require("glob"));
15
15
  const utils_1 = require("../../utils/lib/index.js");
16
- /**
17
- * The module info manager.
16
+ /**
17
+ * The module info manager.
18
18
  */
19
19
  class ModuleQuery {
20
20
  constructor(context) {
@@ -22,8 +22,8 @@ class ModuleQuery {
22
22
  this._cachedHasEditorSpecificExport = {};
23
23
  this._context = context;
24
24
  }
25
- /**
26
- * Get all modules' name defined in engine workspaces.
25
+ /**
26
+ * Get all modules' name defined in engine workspaces.
27
27
  */
28
28
  async getAllModules() {
29
29
  await this._ensureModuleName2PkgJson();
@@ -32,8 +32,8 @@ class ModuleQuery {
32
32
  }
33
33
  return Object.keys(this._cachedModuleName2PkgJson);
34
34
  }
35
- /**
36
- * Get modules' all exports by module name.
35
+ /**
36
+ * Get modules' all exports by module name.
37
37
  */
38
38
  async getExports(moduleName) {
39
39
  const config = await this.getConfig(moduleName);
@@ -54,8 +54,8 @@ class ModuleQuery {
54
54
  }
55
55
  return moduleExports;
56
56
  }
57
- /**
58
- * Get all the modules' exports.
57
+ /**
58
+ * Get all the modules' exports.
59
59
  */
60
60
  async getAllExports() {
61
61
  const allModules = await this.getAllModules();
@@ -65,8 +65,8 @@ class ModuleQuery {
65
65
  }
66
66
  return allExports;
67
67
  }
68
- /**
69
- * Get the map from module name to module path.
68
+ /**
69
+ * Get the map from module name to module path.
70
70
  */
71
71
  async getExportMap() {
72
72
  const allExports = await this.getAllExports();
@@ -79,8 +79,8 @@ class ModuleQuery {
79
79
  }
80
80
  return map;
81
81
  }
82
- /**
83
- * Resolve module package.json path by module name.
82
+ /**
83
+ * Resolve module package.json path by module name.
84
84
  */
85
85
  async resolvePackageJson(moduleName) {
86
86
  await this._ensureModuleName2PkgJson();
@@ -93,8 +93,8 @@ class ModuleQuery {
93
93
  }
94
94
  return pkgJson;
95
95
  }
96
- /**
97
- * Get module config by module name.
96
+ /**
97
+ * Get module config by module name.
98
98
  */
99
99
  async getConfig(moduleName) {
100
100
  const modulePath = await this.resolvePackageJson(moduleName);
@@ -103,8 +103,8 @@ class ModuleQuery {
103
103
  }
104
104
  return await fs_extra_1.default.readJson(modulePath);
105
105
  }
106
- /**
107
- * Resolve module entry path by import source.
106
+ /**
107
+ * Resolve module entry path by import source.
108
108
  */
109
109
  async resolveExport(source) {
110
110
  var _a;
@@ -183,9 +183,9 @@ class ModuleQuery {
183
183
  throw new Error(`Cannot resolve export: '${source}'.`);
184
184
  }
185
185
  }
186
- /**
187
- * To detect whether the module has a './editor' export.
188
- * @param moduleName
186
+ /**
187
+ * To detect whether the module has a './editor' export.
188
+ * @param moduleName
189
189
  */
190
190
  async hasEditorSpecificExport(moduleName) {
191
191
  var _a;
@@ -1,11 +1,11 @@
1
1
  export interface Config {
2
- /**
3
- * Engine features. Keys are feature IDs.
2
+ /**
3
+ * Engine features. Keys are feature IDs.
4
4
  */
5
5
  features: Record<string, Feature>;
6
- /**
7
- * Describe how to generate the index module `'cc'`.
8
- * Currently not used.
6
+ /**
7
+ * Describe how to generate the index module `'cc'`.
8
+ * Currently not used.
9
9
  */
10
10
  index?: IndexConfig;
11
11
  moduleOverrides?: Array<{
@@ -13,71 +13,71 @@ export interface Config {
13
13
  overrides: Record<string, string>;
14
14
  isVirtualModule: boolean;
15
15
  }>;
16
- /**
17
- * Included files for quick-compiler.
16
+ /**
17
+ * Included files for quick-compiler.
18
18
  */
19
19
  includes: Array<string>;
20
- /**
21
- * The constants config for engine and user.
20
+ /**
21
+ * The constants config for engine and user.
22
22
  */
23
23
  constants: IConstantConfig;
24
- /**
25
- * The decorators to be optimize when build engine.
24
+ /**
25
+ * The decorators to be optimize when build engine.
26
26
  */
27
27
  optimizeDecorators: IOptimizeDecorators;
28
- /**
29
- * The TreeShake config
28
+ /**
29
+ * The TreeShake config
30
30
  */
31
31
  treeShake?: ITreeShakeConfig;
32
32
  }
33
33
  export interface IndexConfig {
34
34
  modules?: Record<string, {
35
- /**
36
- * If specified, export contents of the module into a namespace specified by `ns`
37
- * and then export that namespace into `'cc'`.
38
- * If not specified, contents of the module will be directly exported into `'cc'`.
35
+ /**
36
+ * If specified, export contents of the module into a namespace specified by `ns`
37
+ * and then export that namespace into `'cc'`.
38
+ * If not specified, contents of the module will be directly exported into `'cc'`.
39
39
  */
40
40
  ns?: string;
41
- /**
42
- * If `true`, accesses the exports of this module from `'cc'` will be marked as deprecated.
41
+ /**
42
+ * If `true`, accesses the exports of this module from `'cc'` will be marked as deprecated.
43
43
  */
44
44
  deprecated?: boolean;
45
45
  }>;
46
46
  }
47
47
  export type Test = string;
48
- /**
49
- * An engine feature.
48
+ /**
49
+ * An engine feature.
50
50
  */
51
51
  export interface Feature {
52
- /**
53
- * Modules to be included in this feature in their IDs.
54
- * The ID of a module is its relative path(no extension) under /exports/.
52
+ /**
53
+ * Modules to be included in this feature in their IDs.
54
+ * The ID of a module is its relative path(no extension) under /exports/.
55
55
  */
56
56
  modules: string[];
57
- /**
58
- * Flags to set when this feature is enabled.
57
+ /**
58
+ * Flags to set when this feature is enabled.
59
59
  */
60
60
  intrinsicFlags?: Record<string, unknown>;
61
- /**
62
- * Constants to override when this feature is enabled.
63
- * The overridden constants should be defined in cc.config.json.
61
+ /**
62
+ * Constants to override when this feature is enabled.
63
+ * The overridden constants should be defined in cc.config.json.
64
64
  */
65
65
  overrideConstants?: Record<string, number | boolean>;
66
- /**
67
- * List of uuid that the feature depends on.
66
+ /**
67
+ * List of uuid that the feature depends on.
68
68
  */
69
69
  dependentAssets?: string[];
70
- /**
71
- * List of script uuid that the feature depends on.
70
+ /**
71
+ * List of script uuid that the feature depends on.
72
72
  */
73
73
  dependentScripts?: string[];
74
- /**
75
- * List of module that the feature depends on.
74
+ /**
75
+ * List of module that the feature depends on.
76
76
  */
77
77
  dependentModules?: string[];
78
- /**
79
- * Whether it is a native only feature, default is false.
80
- * @default false
78
+ /**
79
+ * Whether it is a native only feature, default is false.
80
+ * @default false
81
81
  */
82
82
  isNativeOnly?: boolean;
83
83
  }
@@ -88,42 +88,42 @@ export interface Context {
88
88
  }
89
89
  export type ConstantTypeName = 'boolean' | 'number';
90
90
  export interface IConstantInfo {
91
- /**
92
- * The comment of the constant.
93
- * Which is used to generate the consts.d.ts file.
91
+ /**
92
+ * The comment of the constant.
93
+ * Which is used to generate the consts.d.ts file.
94
94
  */
95
95
  readonly comment: string;
96
- /**
97
- * The type of the constant for generating consts.d.ts file.
96
+ /**
97
+ * The type of the constant for generating consts.d.ts file.
98
98
  */
99
99
  readonly type: ConstantTypeName;
100
- /**
101
- * The default value of the constant.
102
- * It can be a boolean, number or string.
103
- * When it's a string type, the value is the result of eval().
100
+ /**
101
+ * The default value of the constant.
102
+ * It can be a boolean, number or string.
103
+ * When it's a string type, the value is the result of eval().
104
104
  */
105
105
  value: boolean | string | number;
106
- /**
107
- * Whether exported to global as a `CC_XXXX` constant.
108
- * eg. WECHAT is exported to global.CC_WECHAT
109
- * NOTE: this is a feature of compatibility with Cocos 2.x engine.
110
- * Default is false.
111
- *
112
- * @default false
106
+ /**
107
+ * Whether exported to global as a `CC_XXXX` constant.
108
+ * eg. WECHAT is exported to global.CC_WECHAT
109
+ * NOTE: this is a feature of compatibility with Cocos 2.x engine.
110
+ * Default is false.
111
+ *
112
+ * @default false
113
113
  */
114
114
  ccGlobal?: boolean;
115
- /**
116
- * Whether exported to developer.
117
- * If true, it's only exported to engine.
115
+ /**
116
+ * Whether exported to developer.
117
+ * If true, it's only exported to engine.
118
118
  */
119
119
  readonly internal: boolean;
120
- /**
121
- * Some constant can't specify the value in the Editor, Preview or Test environment,
122
- * so we need to dynamically judge them in runtime.
123
- * These values are specified in a helper called `helper-dynamic-constants.ts`.
124
- * Default is false.
125
- *
126
- * @default false
120
+ /**
121
+ * Some constant can't specify the value in the Editor, Preview or Test environment,
122
+ * so we need to dynamically judge them in runtime.
123
+ * These values are specified in a helper called `helper-dynamic-constants.ts`.
124
+ * Default is false.
125
+ *
126
+ * @default false
127
127
  */
128
128
  dynamic?: boolean;
129
129
  }
@@ -131,12 +131,12 @@ export interface IConstantConfig {
131
131
  [ConstantName: string]: IConstantInfo;
132
132
  }
133
133
  export interface IOptimizeDecorators {
134
- /**
135
- * The decorators which should be optimized when they only decorate class fields.
134
+ /**
135
+ * The decorators which should be optimized when they only decorate class fields.
136
136
  */
137
137
  fieldDecorators: string[];
138
- /**
139
- * The decorators which should be removed directly when they only work in Cocos Creator editor.
138
+ /**
139
+ * The decorators which should be removed directly when they only work in Cocos Creator editor.
140
140
  */
141
141
  editorDecorators: string[];
142
142
  }
@@ -2,83 +2,83 @@ import { Context, Test } from './config-interface';
2
2
  import * as ConfigInterface from './config-interface';
3
3
  import { PlatformType as _PlatformType } from "../../modularize/lib/index";
4
4
  export { ConfigInterface };
5
- /**
6
- * Query any any stats of the engine.
7
- * @group Merged Types
5
+ /**
6
+ * Query any any stats of the engine.
7
+ * @group Merged Types
8
8
  */
9
9
  export declare class StatsQuery {
10
- /**
11
- * @param engine Path to the engine root.
10
+ /**
11
+ * @param engine Path to the engine root.
12
12
  */
13
13
  static create(engine: string): Promise<StatsQuery>;
14
- /**
15
- * Constant manager for engine and user.
14
+ /**
15
+ * Constant manager for engine and user.
16
16
  */
17
17
  constantManager: StatsQuery.ConstantManager;
18
- /**
19
- * Gets the path to the engine root.
18
+ /**
19
+ * Gets the path to the engine root.
20
20
  */
21
21
  get path(): string;
22
- /**
23
- * Gets the path to tsconfig.
22
+ /**
23
+ * Gets the path to tsconfig.
24
24
  */
25
25
  get tsConfigPath(): string;
26
- /**
27
- * Gets all optimzie decorators
26
+ /**
27
+ * Gets all optimzie decorators
28
28
  */
29
29
  getOptimizeDecorators(): ConfigInterface.IOptimizeDecorators;
30
- /**
31
- * Gets TreeShake config
30
+ /**
31
+ * Gets TreeShake config
32
32
  */
33
33
  getTreeShakeConfig(): ConfigInterface.ITreeShakeConfig | undefined;
34
- /**
35
- * Gets all features defined.
34
+ /**
35
+ * Gets all features defined.
36
36
  */
37
37
  getFeatures(): string[];
38
- /**
39
- * Returns if the specified feature is defined.
40
- * @param feature Feature ID.
38
+ /**
39
+ * Returns if the specified feature is defined.
40
+ * @param feature Feature ID.
41
41
  */
42
42
  hasFeature(feature: string): boolean;
43
- /**
44
- * Gets all feature units included in specified features.
45
- * @param featureIds Feature ID.
43
+ /**
44
+ * Gets all feature units included in specified features.
45
+ * @param featureIds Feature ID.
46
46
  */
47
47
  getUnitsOfFeatures(featureIds: string[]): string[];
48
48
  getIntrinsicFlagsOfFeatures(featureIds: string[]): Record<string, number | boolean | string>;
49
49
  getOverriddenConstantsOfFeatures(featureIds: string[]): Record<string, number | boolean>;
50
- /**
51
- * Gets all feature units in their names.
50
+ /**
51
+ * Gets all feature units in their names.
52
52
  */
53
53
  getFeatureUnits(): string[];
54
- /**
55
- * Gets the path to source file of the feature unit.
56
- * @param moduleId Name of the feature unit.
54
+ /**
55
+ * Gets the path to source file of the feature unit.
56
+ * @param moduleId Name of the feature unit.
57
57
  */
58
58
  getFeatureUnitFile(featureUnit: string): string;
59
- /**
60
- * Gets all editor public modules in their names.
59
+ /**
60
+ * Gets all editor public modules in their names.
61
61
  */
62
62
  getEditorPublicModules(): string[];
63
- /**
64
- * Gets the path to source file of the editor-public module.
65
- * @param moduleName Name of the public module.
63
+ /**
64
+ * Gets the path to source file of the editor-public module.
65
+ * @param moduleName Name of the public module.
66
66
  */
67
67
  getEditorPublicModuleFile(moduleName: string): string;
68
- /**
69
- * Gets the source of `'cc'`.
70
- * @param featureUnits Involved feature units.
71
- * @param mapper If exists, map the feature unit name into another module request.
68
+ /**
69
+ * Gets the source of `'cc'`.
70
+ * @param featureUnits Involved feature units.
71
+ * @param mapper If exists, map the feature unit name into another module request.
72
72
  */
73
73
  evaluateIndexModuleSource(featureUnits: string[], mapper?: (featureUnit: string) => string): string;
74
- /**
75
- * Evaluates the source of `'internal-constants'`(`'cc/env'`),
76
- * @param context
74
+ /**
75
+ * Evaluates the source of `'internal-constants'`(`'cc/env'`),
76
+ * @param context
77
77
  */
78
78
  evaluateEnvModuleSourceFromRecord(record: Record<string, unknown>): string;
79
- /**
80
- * Evaluates module overrides under specified context.
81
- * @param context
79
+ /**
80
+ * Evaluates module overrides under specified context.
81
+ * @param context
82
82
  */
83
83
  evaluateModuleOverrides(context: Context): Record<string, string>;
84
84
  private static _readModulesInDir;
@@ -95,8 +95,8 @@ export declare class StatsQuery {
95
95
  private _featureUnits;
96
96
  private _editorPublicModules;
97
97
  }
98
- /**
99
- * @group Merged Types
98
+ /**
99
+ * @group Merged Types
100
100
  */
101
101
  export declare namespace StatsQuery {
102
102
  namespace ConstantManager {
@@ -106,30 +106,34 @@ export declare namespace StatsQuery {
106
106
  SERVER_MODE: boolean;
107
107
  NOT_PACK_PHYSX_LIBS: boolean;
108
108
  WEBGPU: boolean;
109
- /**
110
- * Native code (wasm/asmjs) bundle mode, 0: asmjs, 1: wasm, 2: both
111
- * @default 2
109
+ /**
110
+ * Native code (wasm/asmjs) bundle mode, 0: asmjs, 1: wasm, 2: both
111
+ * @default 2
112
112
  */
113
113
  NATIVE_CODE_BUNDLE_MODE: number;
114
- /**
115
- * An internal constant to indicate whether we cull the meshopt wasm module and asm.js module.
116
- *
117
- * @default false
114
+ /**
115
+ * An internal constant to indicate whether we cull the meshopt wasm module and asm.js module.
116
+ *
117
+ * @default false
118
118
  */
119
119
  CULL_MESHOPT: boolean;
120
- /**
121
- * An internal constant to indicate whether we use wasm assets as minigame subpackage.
122
- * This is useful when we need to reduce code size.
120
+ /**
121
+ * An internal constant to indicate whether we use wasm assets as minigame subpackage.
122
+ * This is useful when we need to reduce code size.
123
123
  */
124
124
  WASM_SUBPACKAGE: boolean;
125
- /**
126
- * An internal constant to indicate whether we're using 3D modules.
125
+ /**
126
+ * An internal constant to indicate whether we're using 3D modules.
127
127
  */
128
128
  USE_3D: boolean;
129
- /**
130
- * An internal constant to indicate whether we're using ui skew module.
129
+ /**
130
+ * An internal constant to indicate whether we're using ui skew module.
131
131
  */
132
132
  USE_UI_SKEW: boolean;
133
+ /**
134
+ * An internal constant to indicate whether we're using sorting-2d module.
135
+ */
136
+ USE_SORTING_2D: boolean;
133
137
  }
134
138
  interface IPublicFlagConfig {
135
139
  DEBUG: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAU,OAAO,EAAwB,IAAI,EAAkC,MAAM,oBAAoB,CAAC;AAEjH,OAAO,KAAK,eAAe,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,YAAY,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,CAAC;AAE3B;;;GAGG;AACH,qBAAa,UAAU;IACnB;;OAEG;WACiB,MAAM,CAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC;IAUhE;;OAEG;IACI,eAAe,EAAE,UAAU,CAAC,eAAe,CAAC;IAEnD;;OAEG;IACH,IAAI,IAAI,IAAK,MAAM,CAElB;IAED;;OAEG;IACH,IAAI,YAAY,IAAK,MAAM,CAE1B;IAED;;OAEG;IACI,qBAAq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