@angular/compiler-cli 19.1.0-next.1 → 19.1.0-next.3

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 (45) hide show
  1. package/bundles/{chunk-STORTTKY.js → chunk-37JMVF7H.js} +8 -8
  2. package/bundles/{chunk-5UDS2TPQ.js → chunk-77D5CI2U.js} +7 -7
  3. package/bundles/{chunk-P5OLJFAE.js → chunk-BC3UIHLS.js} +45 -45
  4. package/bundles/chunk-BC3UIHLS.js.map +6 -0
  5. package/bundles/{chunk-YCOYUOYB.js → chunk-CONSPLNK.js} +3 -3
  6. package/bundles/{chunk-A7ZZMLHV.js → chunk-DVLQORCX.js} +5 -5
  7. package/bundles/{chunk-NQFS66HQ.js → chunk-F3XFZLFK.js} +32 -31
  8. package/bundles/{chunk-NQFS66HQ.js.map → chunk-F3XFZLFK.js.map} +1 -1
  9. package/bundles/{chunk-3OT7XV3K.js → chunk-F73PYGWL.js} +147 -137
  10. package/bundles/chunk-F73PYGWL.js.map +6 -0
  11. package/bundles/{chunk-GBKXY6BH.js → chunk-FKXFEX7K.js} +3 -3
  12. package/bundles/{chunk-34FJ6PKD.js → chunk-JU5KR7ZS.js} +98 -95
  13. package/bundles/{chunk-34FJ6PKD.js.map → chunk-JU5KR7ZS.js.map} +1 -1
  14. package/bundles/{chunk-I6R3GL3L.js → chunk-Q2WE7ECN.js} +5 -5
  15. package/bundles/{chunk-MIHO36SM.js → chunk-QMSFXNUC.js} +12 -12
  16. package/bundles/index.js +12 -12
  17. package/bundles/linker/babel/index.js +12 -12
  18. package/bundles/linker/index.js +4 -4
  19. package/bundles/ngcc/index.js +1 -1
  20. package/bundles/private/bazel.js +1 -1
  21. package/bundles/private/localize.js +3 -3
  22. package/bundles/private/migrations.js +4 -4
  23. package/bundles/private/tooling.js +6 -6
  24. package/bundles/src/bin/ng_xi18n.js +10 -10
  25. package/bundles/src/bin/ngc.js +8 -8
  26. package/bundles_metadata.json +1 -1
  27. package/linker/src/file_linker/declaration_scope.d.ts +1 -1
  28. package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
  29. package/package.json +2 -2
  30. package/src/ngtsc/core/api/src/options.d.ts +4 -0
  31. package/src/ngtsc/core/api/src/public_options.d.ts +2 -2
  32. package/src/ngtsc/diagnostics/src/error_code.d.ts +13 -13
  33. package/src/ngtsc/partial_evaluator/src/interpreter.d.ts +1 -1
  34. package/src/ngtsc/translator/src/type_emitter.d.ts +2 -2
  35. package/src/ngtsc/typecheck/api/api.d.ts +4 -0
  36. package/src/ngtsc/util/src/path.d.ts +5 -5
  37. package/bundles/chunk-3OT7XV3K.js.map +0 -6
  38. package/bundles/chunk-P5OLJFAE.js.map +0 -6
  39. /package/bundles/{chunk-STORTTKY.js.map → chunk-37JMVF7H.js.map} +0 -0
  40. /package/bundles/{chunk-5UDS2TPQ.js.map → chunk-77D5CI2U.js.map} +0 -0
  41. /package/bundles/{chunk-YCOYUOYB.js.map → chunk-CONSPLNK.js.map} +0 -0
  42. /package/bundles/{chunk-A7ZZMLHV.js.map → chunk-DVLQORCX.js.map} +0 -0
  43. /package/bundles/{chunk-GBKXY6BH.js.map → chunk-FKXFEX7K.js.map} +0 -0
  44. /package/bundles/{chunk-I6R3GL3L.js.map → chunk-Q2WE7ECN.js.map} +0 -0
  45. /package/bundles/{chunk-MIHO36SM.js.map → chunk-QMSFXNUC.js.map} +0 -0
@@ -6,7 +6,7 @@ import {
6
6
  __require
7
7
  } from "./chunk-KPQ72R34.js";
8
8
 
9
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
9
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
10
10
  var TS_DTS_JS_EXTENSION = /(?:\.d)?\.ts$|\.js$/;
11
11
  function normalizeSeparators(path) {
12
12
  return path.replace(/\\/g, "/");
@@ -22,7 +22,7 @@ function getSourceFileOrError(program, fileName) {
22
22
  return sf;
23
23
  }
24
24
 
25
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
25
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
26
26
  var InvalidFileSystem = class {
27
27
  exists(path) {
28
28
  throw makeError();
@@ -110,7 +110,7 @@ function makeError() {
110
110
  return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
111
111
  }
112
112
 
113
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
113
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
114
114
  var fs = new InvalidFileSystem();
115
115
  function getFileSystem() {
116
116
  return fs;
@@ -167,7 +167,7 @@ function toRelativeImport(relativePath) {
167
167
  return isLocalRelativePath(relativePath) ? `./${relativePath}` : relativePath;
168
168
  }
169
169
 
170
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
170
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
171
171
  import * as os from "os";
172
172
  import ts from "typescript";
173
173
  var NgtscCompilerHost = class {
@@ -227,7 +227,7 @@ var NgtscCompilerHost = class {
227
227
  }
228
228
  };
229
229
 
230
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
230
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
231
231
  var LogicalProjectPath = {
232
232
  relativePathBetween: function(from, to) {
233
233
  const relativePath = relative(dirname(resolve(from)), resolve(to));
@@ -276,7 +276,7 @@ function isWithinBasePath(base, path) {
276
276
  return isLocalRelativePath(relative(base, path));
277
277
  }
278
278
 
279
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
279
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
280
280
  import fs2 from "fs";
281
281
  import { createRequire } from "module";
282
282
  import * as p from "path";
@@ -380,7 +380,7 @@ function toggleCase(str) {
380
380
  return str.replace(/\w/g, (ch) => ch.toUpperCase() === ch ? ch.toLowerCase() : ch.toUpperCase());
381
381
  }
382
382
 
383
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/ts_read_directory.mjs
383
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/ts_read_directory.mjs
384
384
  import ts2 from "typescript";
385
385
  function createFileSystemTsReadDirectoryFn(fs3) {
386
386
  if (ts2.matchFiles === void 0) {
@@ -443,4 +443,4 @@ export {
443
443
  * Use of this source code is governed by an MIT-style license that can be
444
444
  * found in the LICENSE file at https://angular.dev/license
445
445
  */
446
- //# sourceMappingURL=chunk-STORTTKY.js.map
446
+ //# sourceMappingURL=chunk-37JMVF7H.js.map
@@ -3,11 +3,11 @@
3
3
  const require = __cjsCompatRequire(import.meta.url);
4
4
 
5
5
 
6
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
6
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
7
7
  import { decode, encode } from "@jridgewell/sourcemap-codec";
8
8
  import mapHelpers from "convert-source-map";
9
9
 
10
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/segment_marker.mjs
10
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/segment_marker.mjs
11
11
  function compareSegments(a, b) {
12
12
  return a.position - b.position;
13
13
  }
@@ -27,7 +27,7 @@ function offsetSegment(startOfLinePositions, marker, offset) {
27
27
  return { line, column, position, next: void 0 };
28
28
  }
29
29
 
30
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
30
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
31
31
  function removeSourceMapComments(contents) {
32
32
  return mapHelpers.removeMapFileComments(mapHelpers.removeComments(contents)).replace(/\n\n$/, "\n");
33
33
  }
@@ -282,10 +282,10 @@ var Cache = class {
282
282
  }
283
283
  };
284
284
 
285
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
285
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
286
286
  import mapHelpers2 from "convert-source-map";
287
287
 
288
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/content_origin.mjs
288
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/content_origin.mjs
289
289
  var ContentOrigin;
290
290
  (function(ContentOrigin2) {
291
291
  ContentOrigin2[ContentOrigin2["Provided"] = 0] = "Provided";
@@ -293,7 +293,7 @@ var ContentOrigin;
293
293
  ContentOrigin2[ContentOrigin2["FileSystem"] = 2] = "FileSystem";
294
294
  })(ContentOrigin || (ContentOrigin = {}));
295
295
 
296
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
296
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
297
297
  var SCHEME_MATCHER = /^([a-z][a-z0-9.-]*):\/\//i;
298
298
  var SourceFileLoader = class {
299
299
  fs;
@@ -426,4 +426,4 @@ export {
426
426
  * Use of this source code is governed by an MIT-style license that can be
427
427
  * found in the LICENSE file at https://angular.dev/license
428
428
  */
429
- //# sourceMappingURL=chunk-5UDS2TPQ.js.map
429
+ //# sourceMappingURL=chunk-77D5CI2U.js.map
@@ -12,12 +12,12 @@ import {
12
12
  resolve,
13
13
  stripExtension,
14
14
  toRelativeImport
15
- } from "./chunk-STORTTKY.js";
15
+ } from "./chunk-37JMVF7H.js";
16
16
 
17
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
17
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
18
18
  import ts from "typescript";
19
19
 
20
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
20
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
21
21
  var ErrorCode;
22
22
  (function(ErrorCode2) {
23
23
  ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
@@ -114,7 +114,7 @@ var ErrorCode;
114
114
  ErrorCode2[ErrorCode2["LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION"] = 11003] = "LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION";
115
115
  })(ErrorCode || (ErrorCode = {}));
116
116
 
117
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
117
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
118
118
  var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
119
119
  function replaceTsWithNgInErrors(errors) {
120
120
  return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
@@ -123,7 +123,7 @@ function ngErrorCode(code) {
123
123
  return parseInt("-99" + code);
124
124
  }
125
125
 
126
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
126
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
127
127
  var FatalDiagnosticError = class extends Error {
128
128
  code;
129
129
  node;
@@ -191,7 +191,7 @@ function isLocalCompilationDiagnostics(diagnostic) {
191
191
  return diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNRESOLVED_CONST) || diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION);
192
192
  }
193
193
 
194
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
194
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
195
195
  var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
196
196
  ErrorCode.DECORATOR_ARG_NOT_LITERAL,
197
197
  ErrorCode.IMPORT_CYCLE_DETECTED,
@@ -203,10 +203,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
203
203
  ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
204
204
  ]);
205
205
 
206
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
206
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
207
207
  var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.dev/errors";
208
208
 
209
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
209
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
210
210
  var ExtendedTemplateDiagnosticName;
211
211
  (function(ExtendedTemplateDiagnosticName2) {
212
212
  ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
@@ -224,10 +224,10 @@ var ExtendedTemplateDiagnosticName;
224
224
  ExtendedTemplateDiagnosticName2["UNUSED_STANDALONE_IMPORTS"] = "unusedStandaloneImports";
225
225
  })(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
226
226
 
227
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
227
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
228
228
  import ts5 from "typescript";
229
229
 
230
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
230
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
231
231
  import ts2 from "typescript";
232
232
  function isDecoratorIdentifier(exp) {
233
233
  return ts2.isIdentifier(exp) || ts2.isPropertyAccessExpression(exp) && ts2.isIdentifier(exp.expression) && ts2.isIdentifier(exp.name);
@@ -250,7 +250,7 @@ var ClassMemberAccessLevel;
250
250
  })(ClassMemberAccessLevel || (ClassMemberAccessLevel = {}));
251
251
  var AmbientImport = {};
252
252
 
253
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
253
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
254
254
  import ts3 from "typescript";
255
255
  function typeToValue(typeNode, checker, isLocalCompilation) {
256
256
  var _a, _b;
@@ -434,7 +434,7 @@ function extractModuleName(node) {
434
434
  return node.moduleSpecifier.text;
435
435
  }
436
436
 
437
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
437
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
438
438
  import ts4 from "typescript";
439
439
  function isNamedClassDeclaration(node) {
440
440
  return ts4.isClassDeclaration(node) && isIdentifier(node.name);
@@ -458,7 +458,7 @@ function classMemberAccessLevelToString(level) {
458
458
  }
459
459
  }
460
460
 
461
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
461
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
462
462
  var TypeScriptReflectionHost = class {
463
463
  checker;
464
464
  isLocalCompilation;
@@ -950,7 +950,7 @@ function getExportedName(decl, originalId) {
950
950
  }
951
951
  var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
952
952
 
953
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
953
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
954
954
  import ts6 from "typescript";
955
955
  var TS = /\.tsx?$/i;
956
956
  var D_TS = /\.d\.ts$/i;
@@ -1051,7 +1051,7 @@ function toUnredirectedSourceFile(sf) {
1051
1051
  return redirectInfo.unredirected;
1052
1052
  }
1053
1053
 
1054
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
1054
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
1055
1055
  var Reference = class {
1056
1056
  node;
1057
1057
  bestGuessOwningModule;
@@ -1123,14 +1123,14 @@ var Reference = class {
1123
1123
  }
1124
1124
  };
1125
1125
 
1126
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
1126
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
1127
1127
  import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
1128
1128
 
1129
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
1129
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
1130
1130
  import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
1131
1131
  import ts7 from "typescript";
1132
1132
 
1133
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
1133
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
1134
1134
  function findExportedNameOfNode(target, file, reflector) {
1135
1135
  const exports = reflector.getExportsOfModule(file);
1136
1136
  if (exports === null) {
@@ -1150,7 +1150,7 @@ function findExportedNameOfNode(target, file, reflector) {
1150
1150
  return foundExportName;
1151
1151
  }
1152
1152
 
1153
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
1153
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
1154
1154
  var ImportFlags;
1155
1155
  (function(ImportFlags2) {
1156
1156
  ImportFlags2[ImportFlags2["None"] = 0] = "None";
@@ -1397,7 +1397,7 @@ var UnifiedModulesStrategy = class {
1397
1397
  }
1398
1398
  };
1399
1399
 
1400
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
1400
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
1401
1401
  var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
1402
1402
  var UnifiedModulesAliasingHost = class {
1403
1403
  unifiedModulesHost;
@@ -1466,7 +1466,7 @@ var AliasStrategy = class {
1466
1466
  }
1467
1467
  };
1468
1468
 
1469
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
1469
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
1470
1470
  function relativePathBetween(from, to) {
1471
1471
  const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
1472
1472
  return relativePath !== "" ? toRelativeImport(relativePath) : null;
@@ -1474,8 +1474,8 @@ function relativePathBetween(from, to) {
1474
1474
  function normalizeSeparators(path) {
1475
1475
  return path.replace(/\\/g, "/");
1476
1476
  }
1477
- function getProjectRelativePath(sourceFile, rootDirs, compilerHost) {
1478
- const filePath = compilerHost.getCanonicalFileName(sourceFile.fileName);
1477
+ function getProjectRelativePath(fileName, rootDirs, compilerHost) {
1478
+ const filePath = compilerHost.getCanonicalFileName(fileName);
1479
1479
  for (const rootDir of rootDirs) {
1480
1480
  const rel = relative(compilerHost.getCanonicalFileName(rootDir), filePath);
1481
1481
  if (!rel.startsWith("..")) {
@@ -1485,7 +1485,7 @@ function getProjectRelativePath(sourceFile, rootDirs, compilerHost) {
1485
1485
  return null;
1486
1486
  }
1487
1487
 
1488
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
1488
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
1489
1489
  var NoopImportRewriter = class {
1490
1490
  rewriteSymbol(symbol, specifier) {
1491
1491
  return symbol;
@@ -1545,7 +1545,7 @@ function validateAndRewriteCoreSymbol(name) {
1545
1545
  return CORE_SUPPORTED_SYMBOLS.get(name);
1546
1546
  }
1547
1547
 
1548
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
1548
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
1549
1549
  import ts8 from "typescript";
1550
1550
  var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
1551
1551
  function loadIsReferencedAliasDeclarationPatch(context) {
@@ -1580,7 +1580,7 @@ function throwIncompatibleTransformationContextError() {
1580
1580
  throw Error("Angular compiler is incompatible with this version of the TypeScript compiler.\n\nIf you recently updated TypeScript and this issue surfaces now, consider downgrading.\n\nPlease report an issue on the Angular repositories when this issue surfaces and you are using a supposedly compatible TypeScript version.");
1581
1581
  }
1582
1582
 
1583
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
1583
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
1584
1584
  var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
1585
1585
  function attachDefaultImportDeclaration(expr, importDecl) {
1586
1586
  expr[DefaultImportDeclaration] = importDecl;
@@ -1619,7 +1619,7 @@ var DefaultImportTracker = class {
1619
1619
  }
1620
1620
  };
1621
1621
 
1622
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
1622
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
1623
1623
  import ts9 from "typescript";
1624
1624
  var AssumeEager = "AssumeEager";
1625
1625
  var DeferredSymbolTracker = class {
@@ -1742,7 +1742,7 @@ var DeferredSymbolTracker = class {
1742
1742
  }
1743
1743
  };
1744
1744
 
1745
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/imported_symbols_tracker.mjs
1745
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/imported_symbols_tracker.mjs
1746
1746
  import ts10 from "typescript";
1747
1747
  var ImportedSymbolsTracker = class {
1748
1748
  fileToNamedImports = /* @__PURE__ */ new WeakMap();
@@ -1810,7 +1810,7 @@ var ImportedSymbolsTracker = class {
1810
1810
  }
1811
1811
  };
1812
1812
 
1813
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.mjs
1813
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.mjs
1814
1814
  import ts11 from "typescript";
1815
1815
  var LocalCompilationExtraImportsTracker = class {
1816
1816
  typeChecker;
@@ -1862,7 +1862,7 @@ function removeQuotations(s) {
1862
1862
  return s.substring(1, s.length - 1).trim();
1863
1863
  }
1864
1864
 
1865
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
1865
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
1866
1866
  var ModuleResolver = class {
1867
1867
  program;
1868
1868
  compilerOptions;
@@ -1883,10 +1883,10 @@ var ModuleResolver = class {
1883
1883
  }
1884
1884
  };
1885
1885
 
1886
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
1886
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
1887
1887
  import ts16 from "typescript";
1888
1888
 
1889
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/check_unique_identifier_name.mjs
1889
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/check_unique_identifier_name.mjs
1890
1890
  import ts12 from "typescript";
1891
1891
  function createGenerateUniqueIdentifierHelper() {
1892
1892
  const generatedIdentifiers = /* @__PURE__ */ new Set();
@@ -1912,7 +1912,7 @@ function createGenerateUniqueIdentifierHelper() {
1912
1912
  };
1913
1913
  }
1914
1914
 
1915
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_typescript_transform.mjs
1915
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_typescript_transform.mjs
1916
1916
  import ts13 from "typescript";
1917
1917
  function createTsTransformForImportManager(manager, extraStatementsForFiles) {
1918
1918
  return (ctx) => {
@@ -1979,7 +1979,7 @@ function isImportStatement(stmt) {
1979
1979
  return ts13.isImportDeclaration(stmt) || ts13.isImportEqualsDeclaration(stmt) || ts13.isNamespaceImport(stmt);
1980
1980
  }
1981
1981
 
1982
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_generated_imports.mjs
1982
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_generated_imports.mjs
1983
1983
  import ts14 from "typescript";
1984
1984
  function attemptToReuseGeneratedImports(tracker, request) {
1985
1985
  const requestHash = hashImportRequest(request);
@@ -2006,7 +2006,7 @@ function hashImportRequest(req) {
2006
2006
  return `${req.requestedFile.fileName}:${req.exportModuleSpecifier}:${req.exportSymbolName}${req.unsafeAliasOverride ? ":" + req.unsafeAliasOverride : ""}`;
2007
2007
  }
2008
2008
 
2009
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_source_file_imports.mjs
2009
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_source_file_imports.mjs
2010
2010
  import ts15 from "typescript";
2011
2011
  function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
2012
2012
  let candidateImportToBeUpdated = null;
@@ -2066,7 +2066,7 @@ function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
2066
2066
  return fileUniqueAlias != null ? fileUniqueAlias : propertyName;
2067
2067
  }
2068
2068
 
2069
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
2069
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
2070
2070
  var presetImportManagerForceNamespaceImports = {
2071
2071
  disableOriginalSourceFileReuse: true,
2072
2072
  forceGenerateNamespacesForNewImports: true
@@ -2289,7 +2289,7 @@ function createImportReference(asTypeReference, ref) {
2289
2289
  }
2290
2290
  }
2291
2291
 
2292
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
2292
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
2293
2293
  var Context = class {
2294
2294
  isStatement;
2295
2295
  constructor(isStatement) {
@@ -2303,7 +2303,7 @@ var Context = class {
2303
2303
  }
2304
2304
  };
2305
2305
 
2306
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
2306
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
2307
2307
  import * as o from "@angular/compiler";
2308
2308
  var UNARY_OPERATORS = /* @__PURE__ */ new Map([
2309
2309
  [o.UnaryOperator.Minus, "-"],
@@ -2559,7 +2559,7 @@ function createRange(span) {
2559
2559
  };
2560
2560
  }
2561
2561
 
2562
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
2562
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
2563
2563
  import ts17 from "typescript";
2564
2564
  var INELIGIBLE = {};
2565
2565
  function canEmitType(type, canEmit) {
@@ -2635,11 +2635,11 @@ var TypeEmitter = class {
2635
2635
  }
2636
2636
  };
2637
2637
 
2638
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
2638
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
2639
2639
  import * as o2 from "@angular/compiler";
2640
2640
  import ts19 from "typescript";
2641
2641
 
2642
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.mjs
2642
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.mjs
2643
2643
  import ts18 from "typescript";
2644
2644
  function tsNumericExpression(value) {
2645
2645
  if (value < 0) {
@@ -2649,7 +2649,7 @@ function tsNumericExpression(value) {
2649
2649
  return ts18.factory.createNumericLiteral(value);
2650
2650
  }
2651
2651
 
2652
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
2652
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
2653
2653
  function translateType(type, contextFile, reflector, refEmitter, imports) {
2654
2654
  return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
2655
2655
  }
@@ -2870,7 +2870,7 @@ var TypeTranslatorVisitor = class {
2870
2870
  }
2871
2871
  };
2872
2872
 
2873
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
2873
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
2874
2874
  import ts20 from "typescript";
2875
2875
  var PureAnnotation;
2876
2876
  (function(PureAnnotation2) {
@@ -3074,7 +3074,7 @@ function attachComments(statement, leadingComments) {
3074
3074
  }
3075
3075
  }
3076
3076
 
3077
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
3077
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
3078
3078
  function translateExpression(contextFile, expression, imports, options = {}) {
3079
3079
  return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, contextFile, options), new Context(false));
3080
3080
  }
@@ -3174,4 +3174,4 @@ export {
3174
3174
  * Use of this source code is governed by an MIT-style license that can be
3175
3175
  * found in the LICENSE file at https://angular.dev/license
3176
3176
  */
3177
- //# sourceMappingURL=chunk-P5OLJFAE.js.map
3177
+ //# sourceMappingURL=chunk-BC3UIHLS.js.map