@o3r/application 10.0.0-next.0 → 10.0.0-next.7

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.
@@ -27,10 +27,10 @@ export class ApplicationDevtoolsConsoleService {
27
27
  displayApplicationInfo() {
28
28
  console.info('Application info', this.applicationDevtools.getApplicationInformation());
29
29
  }
30
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: ApplicationDevtoolsConsoleService, deps: [{ token: i1.OtterApplicationDevtools }, { token: OTTER_APPLICATION_DEVTOOLS_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
31
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: ApplicationDevtoolsConsoleService, providedIn: 'root' }); }
30
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: ApplicationDevtoolsConsoleService, deps: [{ token: i1.OtterApplicationDevtools }, { token: OTTER_APPLICATION_DEVTOOLS_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
31
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: ApplicationDevtoolsConsoleService, providedIn: 'root' }); }
32
32
  }
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: ApplicationDevtoolsConsoleService, decorators: [{
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: ApplicationDevtoolsConsoleService, decorators: [{
34
34
  type: Injectable,
35
35
  args: [{
36
36
  providedIn: 'root'
@@ -86,10 +86,10 @@ export class ApplicationDevtoolsMessageService {
86
86
  ngOnDestroy() {
87
87
  this.subscriptions.unsubscribe();
88
88
  }
89
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: ApplicationDevtoolsMessageService, deps: [{ token: i1.LoggerService }, { token: i2.OtterApplicationDevtools }, { token: OTTER_APPLICATION_DEVTOOLS_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
90
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: ApplicationDevtoolsMessageService, providedIn: 'root' }); }
89
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: ApplicationDevtoolsMessageService, deps: [{ token: i1.LoggerService }, { token: i2.OtterApplicationDevtools }, { token: OTTER_APPLICATION_DEVTOOLS_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
90
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: ApplicationDevtoolsMessageService, providedIn: 'root' }); }
91
91
  }
92
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: ApplicationDevtoolsMessageService, decorators: [{
92
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: ApplicationDevtoolsMessageService, decorators: [{
93
93
  type: Injectable,
94
94
  args: [{
95
95
  providedIn: 'root'
@@ -21,16 +21,16 @@ export class ApplicationDevtoolsModule {
21
21
  ]
22
22
  };
23
23
  }
24
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: ApplicationDevtoolsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
25
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: ApplicationDevtoolsModule }); }
26
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: ApplicationDevtoolsModule, providers: [
24
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: ApplicationDevtoolsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
25
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.0", ngImport: i0, type: ApplicationDevtoolsModule }); }
26
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: ApplicationDevtoolsModule, providers: [
27
27
  { provide: OTTER_APPLICATION_DEVTOOLS_OPTIONS, useValue: OTTER_APPLICATION_DEVTOOLS_DEFAULT_OPTIONS },
28
28
  ApplicationDevtoolsMessageService,
29
29
  ApplicationDevtoolsConsoleService,
30
30
  OtterApplicationDevtools
31
31
  ] }); }
32
32
  }
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: ApplicationDevtoolsModule, decorators: [{
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: ApplicationDevtoolsModule, decorators: [{
34
34
  type: NgModule,
35
35
  args: [{
36
36
  providers: [
@@ -14,10 +14,10 @@ export class OtterApplicationDevtools {
14
14
  isProduction: isProductionEnvironment(this.document?.body.dataset)
15
15
  };
16
16
  }
17
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: OtterApplicationDevtools, deps: [{ token: DOCUMENT, optional: true }, { token: ENVIRONMENT_CONFIG_TOKEN, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
18
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: OtterApplicationDevtools, providedIn: 'root' }); }
17
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: OtterApplicationDevtools, deps: [{ token: DOCUMENT, optional: true }, { token: ENVIRONMENT_CONFIG_TOKEN, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
18
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: OtterApplicationDevtools, providedIn: 'root' }); }
19
19
  }
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: OtterApplicationDevtools, decorators: [{
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: OtterApplicationDevtools, decorators: [{
21
21
  type: Injectable,
22
22
  args: [{ providedIn: 'root' }]
23
23
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -40,10 +40,10 @@ class OtterApplicationDevtools {
40
40
  isProduction: isProductionEnvironment(this.document?.body.dataset)
41
41
  };
42
42
  }
43
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: OtterApplicationDevtools, deps: [{ token: DOCUMENT, optional: true }, { token: ENVIRONMENT_CONFIG_TOKEN, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
44
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: OtterApplicationDevtools, providedIn: 'root' }); }
43
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: OtterApplicationDevtools, deps: [{ token: DOCUMENT, optional: true }, { token: ENVIRONMENT_CONFIG_TOKEN, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
44
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: OtterApplicationDevtools, providedIn: 'root' }); }
45
45
  }
46
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: OtterApplicationDevtools, decorators: [{
46
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: OtterApplicationDevtools, decorators: [{
47
47
  type: Injectable,
48
48
  args: [{ providedIn: 'root' }]
49
49
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -87,10 +87,10 @@ class ApplicationDevtoolsConsoleService {
87
87
  displayApplicationInfo() {
88
88
  console.info('Application info', this.applicationDevtools.getApplicationInformation());
89
89
  }
90
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: ApplicationDevtoolsConsoleService, deps: [{ token: OtterApplicationDevtools }, { token: OTTER_APPLICATION_DEVTOOLS_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
91
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: ApplicationDevtoolsConsoleService, providedIn: 'root' }); }
90
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: ApplicationDevtoolsConsoleService, deps: [{ token: OtterApplicationDevtools }, { token: OTTER_APPLICATION_DEVTOOLS_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
91
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: ApplicationDevtoolsConsoleService, providedIn: 'root' }); }
92
92
  }
93
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: ApplicationDevtoolsConsoleService, decorators: [{
93
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: ApplicationDevtoolsConsoleService, decorators: [{
94
94
  type: Injectable,
95
95
  args: [{
96
96
  providedIn: 'root'
@@ -179,10 +179,10 @@ class ApplicationDevtoolsMessageService {
179
179
  ngOnDestroy() {
180
180
  this.subscriptions.unsubscribe();
181
181
  }
182
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: ApplicationDevtoolsMessageService, deps: [{ token: i1.LoggerService }, { token: OtterApplicationDevtools }, { token: OTTER_APPLICATION_DEVTOOLS_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
183
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: ApplicationDevtoolsMessageService, providedIn: 'root' }); }
182
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: ApplicationDevtoolsMessageService, deps: [{ token: i1.LoggerService }, { token: OtterApplicationDevtools }, { token: OTTER_APPLICATION_DEVTOOLS_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
183
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: ApplicationDevtoolsMessageService, providedIn: 'root' }); }
184
184
  }
185
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: ApplicationDevtoolsMessageService, decorators: [{
185
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: ApplicationDevtoolsMessageService, decorators: [{
186
186
  type: Injectable,
187
187
  args: [{
188
188
  providedIn: 'root'
@@ -211,16 +211,16 @@ class ApplicationDevtoolsModule {
211
211
  ]
212
212
  };
213
213
  }
214
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: ApplicationDevtoolsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
215
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: ApplicationDevtoolsModule }); }
216
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: ApplicationDevtoolsModule, providers: [
214
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: ApplicationDevtoolsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
215
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.0", ngImport: i0, type: ApplicationDevtoolsModule }); }
216
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: ApplicationDevtoolsModule, providers: [
217
217
  { provide: OTTER_APPLICATION_DEVTOOLS_OPTIONS, useValue: OTTER_APPLICATION_DEVTOOLS_DEFAULT_OPTIONS },
218
218
  ApplicationDevtoolsMessageService,
219
219
  ApplicationDevtoolsConsoleService,
220
220
  OtterApplicationDevtools
221
221
  ] }); }
222
222
  }
223
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: ApplicationDevtoolsModule, decorators: [{
223
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: ApplicationDevtoolsModule, decorators: [{
224
224
  type: NgModule,
225
225
  args: [{
226
226
  providers: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@o3r/application",
3
- "version": "10.0.0-next.0",
3
+ "version": "10.0.0-next.7",
4
4
  "description": "This module provides development help to monitor your Otter Application",
5
5
  "keywords": [
6
6
  "application",
@@ -22,16 +22,16 @@
22
22
  }
23
23
  },
24
24
  "peerDependencies": {
25
- "@angular-devkit/schematics": "~16.1.6",
26
- "@angular/common": "~16.1.6",
27
- "@angular/core": "~16.1.6",
28
- "@o3r/core": "^10.0.0-next.0",
29
- "@o3r/dev-tools": "^10.0.0-next.0",
30
- "@o3r/logger": "^10.0.0-next.0",
31
- "@o3r/routing": "^10.0.0-next.0",
32
- "@o3r/schematics": "^10.0.0-next.0",
33
- "@o3r/testing": "^10.0.0-next.0",
34
- "@schematics/angular": "~16.1.6",
25
+ "@angular-devkit/schematics": "~16.2.0",
26
+ "@angular/common": "~16.2.0",
27
+ "@angular/core": "~16.2.0",
28
+ "@o3r/core": "^10.0.0-next.7",
29
+ "@o3r/dev-tools": "^10.0.0-next.7",
30
+ "@o3r/logger": "^10.0.0-next.7",
31
+ "@o3r/routing": "^10.0.0-next.7",
32
+ "@o3r/schematics": "^10.0.0-next.7",
33
+ "@o3r/testing": "^10.0.0-next.7",
34
+ "@schematics/angular": "~16.2.0",
35
35
  "rxjs": "^7.8.1",
36
36
  "typescript": "~5.1.6"
37
37
  },
@@ -1,6 +1,8 @@
1
1
  import type { Rule } from '@angular-devkit/schematics';
2
+ import type { NgAddSchematicsSchema } from './schema';
2
3
  /**
3
4
  * Add Otter application to an Angular Project
5
+ * @param options The options to pass to ng-add execution
4
6
  */
5
- export declare function ngAdd(): Rule;
7
+ export declare function ngAdd(options: NgAddSchematicsSchema): Rule;
6
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/ng-add/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAA0B,MAAM,4BAA4B,CAAC;AAK/E;;GAEG;AACH,wBAAgB,KAAK,IAAI,IAAI,CA0E5B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/ng-add/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAA0B,MAAM,4BAA4B,CAAC;AAG/E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAGtD;;;GAGG;AACH,wBAAgB,KAAK,CAAC,OAAO,EAAE,qBAAqB,GAAG,IAAI,CA8E1D"}
@@ -5,17 +5,19 @@ const schematics_1 = require("@angular-devkit/schematics");
5
5
  const path = require("node:path");
6
6
  /**
7
7
  * Add Otter application to an Angular Project
8
+ * @param options The options to pass to ng-add execution
8
9
  */
9
- function ngAdd() {
10
+ function ngAdd(options) {
10
11
  /* ng add rules */
11
12
  return async (tree, context) => {
12
13
  try {
13
- const { addImportToModuleFile, getAppModuleFilePath, getProjectDepType, insertImportToModuleFile, ngAddPackages, getO3rPeerDeps } = await Promise.resolve().then(() => require('@o3r/schematics'));
14
+ const { addImportToModuleFile, getAppModuleFilePath, getProjectDepType, getProjectRootDir, insertImportToModuleFile, ngAddPackages, getO3rPeerDeps } = await Promise.resolve().then(() => require('@o3r/schematics'));
14
15
  const { getDecoratorMetadata, isImported } = await Promise.resolve().then(() => require('@schematics/angular/utility/ast-utils'));
15
16
  const ts = await Promise.resolve().then(() => require('typescript'));
16
17
  const depsInfo = getO3rPeerDeps(path.resolve(__dirname, '..', '..', 'package.json'));
18
+ const workingDirectory = options.projectName ? getProjectRootDir(tree, options.projectName) : undefined;
17
19
  const addAngularAnimationPreferences = () => {
18
- const moduleFilePath = getAppModuleFilePath(tree, context);
20
+ const moduleFilePath = getAppModuleFilePath(tree, context, options.projectName);
19
21
  if (!moduleFilePath) {
20
22
  return tree;
21
23
  }
@@ -39,7 +41,9 @@ function ngAdd() {
39
41
  skipConfirmation: true,
40
42
  version: depsInfo.packageVersion,
41
43
  parentPackageInfo: depsInfo.packageName,
42
- dependencyType
44
+ projectName: options.projectName,
45
+ dependencyType,
46
+ workingDirectory
43
47
  }),
44
48
  addAngularAnimationPreferences
45
49
  ])(tree, context);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../schematics/ng-add/index.ts"],"names":[],"mappings":";;;AACA,2DAAmD;AACnD,kCAAkC;AAGlC;;GAEG;AACH,SAAgB,KAAK;IACnB,kBAAkB;IAClB,OAAO,KAAK,EAAE,IAAU,EAAE,OAAyB,EAAE,EAAE;QACrD,IAAI;YACF,MAAM,EAAC,qBAAqB,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,aAAa,EAAE,cAAc,EAAC,GAAG,2CAAa,iBAAiB,EAAC,CAAC;YAClK,MAAM,EAAC,oBAAoB,EAAE,UAAU,EAAC,GAAG,2CAAa,uCAAuC,EAAC,CAAC;YACjG,MAAM,EAAE,GAAG,2CAAa,YAAY,EAAC,CAAC;YACtC,MAAM,QAAQ,GAAG,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,cAAc,CAAC,CAAC,CAAC;YAErF,MAAM,8BAA8B,GAAS,GAAG,EAAE;gBAChD,MAAM,cAAc,GAAG,oBAAoB,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;gBAE3D,IAAI,CAAC,cAAc,EAAE;oBACnB,OAAO,IAAI,CAAC;iBACb;gBAED,MAAM,iBAAiB,GAAG,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC;gBACxD,MAAM,UAAU,GAAG,EAAE,CAAC,gBAAgB,CACpC,cAAc,EACd,iBAAiB,EACjB,EAAE,CAAC,YAAY,CAAC,MAAM,EACtB,IAAI,CACL,CAAC;gBAEF,IAAI,UAAU,CAAC,UAAU,EAAE,sBAAsB,EAAE,kBAAkB,CAAC,EAAE;oBACtE,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,wEAAwE,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