@angular/compiler-cli 18.0.3 → 18.0.4

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 (36) hide show
  1. package/bundles/{chunk-XNL3EK5H.js → chunk-3W345P4E.js} +7 -7
  2. package/bundles/{chunk-7E6Q23KF.js → chunk-4B53GUJY.js} +114 -114
  3. package/bundles/{chunk-7E6Q23KF.js.map → chunk-4B53GUJY.js.map} +1 -1
  4. package/bundles/{chunk-E2VPC2QT.js → chunk-6URKYGDE.js} +78 -78
  5. package/bundles/{chunk-SFKDQKE5.js → chunk-6X2NNIEJ.js} +5 -5
  6. package/bundles/{chunk-VE7PCF6B.js → chunk-BLUBTRCD.js} +48 -46
  7. package/bundles/{chunk-VE7PCF6B.js.map → chunk-BLUBTRCD.js.map} +1 -1
  8. package/bundles/{chunk-DYQ2FDEK.js → chunk-DSDKAUAS.js} +5 -5
  9. package/bundles/{chunk-AQFTVE7F.js → chunk-JZQHA4E7.js} +5 -5
  10. package/bundles/{chunk-SBDNBITT.js → chunk-LYJKWJUC.js} +3 -3
  11. package/bundles/{chunk-WR7TUJ7M.js → chunk-QYV344EV.js} +7 -7
  12. package/bundles/{chunk-Y4KWPMGX.js → chunk-XPJBEUMY.js} +13 -13
  13. package/bundles/{chunk-KBGMAHKE.js → chunk-XSV3ZGZJ.js} +34 -32
  14. package/bundles/{chunk-KBGMAHKE.js.map → chunk-XSV3ZGZJ.js.map} +1 -1
  15. package/bundles/index.js +12 -12
  16. package/bundles/linker/babel/index.js +15 -15
  17. package/bundles/linker/babel/index.js.map +1 -1
  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 +5 -5
  23. package/bundles/private/tooling.js +5 -5
  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/partial_linkers/util.d.ts +1 -1
  28. package/package.json +2 -2
  29. /package/bundles/{chunk-XNL3EK5H.js.map → chunk-3W345P4E.js.map} +0 -0
  30. /package/bundles/{chunk-E2VPC2QT.js.map → chunk-6URKYGDE.js.map} +0 -0
  31. /package/bundles/{chunk-SFKDQKE5.js.map → chunk-6X2NNIEJ.js.map} +0 -0
  32. /package/bundles/{chunk-DYQ2FDEK.js.map → chunk-DSDKAUAS.js.map} +0 -0
  33. /package/bundles/{chunk-AQFTVE7F.js.map → chunk-JZQHA4E7.js.map} +0 -0
  34. /package/bundles/{chunk-SBDNBITT.js.map → chunk-LYJKWJUC.js.map} +0 -0
  35. /package/bundles/{chunk-WR7TUJ7M.js.map → chunk-QYV344EV.js.map} +0 -0
  36. /package/bundles/{chunk-Y4KWPMGX.js.map → chunk-XPJBEUMY.js.map} +0 -0
@@ -3,14 +3,14 @@
3
3
  const require = __cjsCompatRequire(import.meta.url);
4
4
 
5
5
 
6
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
6
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
7
7
  var OptimizeFor;
8
8
  (function(OptimizeFor2) {
9
9
  OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
10
10
  OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
11
11
  })(OptimizeFor || (OptimizeFor = {}));
12
12
 
13
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
13
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
14
14
  var PotentialImportKind;
15
15
  (function(PotentialImportKind2) {
16
16
  PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
@@ -22,7 +22,7 @@ var PotentialImportMode;
22
22
  PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
23
23
  })(PotentialImportMode || (PotentialImportMode = {}));
24
24
 
25
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
25
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
26
26
  var CompletionKind;
27
27
  (function(CompletionKind2) {
28
28
  CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
@@ -30,7 +30,7 @@ var CompletionKind;
30
30
  CompletionKind2[CompletionKind2["LetDeclaration"] = 2] = "LetDeclaration";
31
31
  })(CompletionKind || (CompletionKind = {}));
32
32
 
33
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
33
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
34
34
  var SymbolKind;
35
35
  (function(SymbolKind2) {
36
36
  SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
@@ -61,4 +61,4 @@ export {
61
61
  * Use of this source code is governed by an MIT-style license that can be
62
62
  * found in the LICENSE file at https://angular.io/license
63
63
  */
64
- //# sourceMappingURL=chunk-SFKDQKE5.js.map
64
+ //# sourceMappingURL=chunk-6X2NNIEJ.js.map
@@ -12,12 +12,12 @@ import {
12
12
  resolve,
13
13
  stripExtension,
14
14
  toRelativeImport
15
- } from "./chunk-XNL3EK5H.js";
15
+ } from "./chunk-3W345P4E.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";
@@ -110,7 +110,7 @@ var ErrorCode;
110
110
  ErrorCode2[ErrorCode2["LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION"] = 11003] = "LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION";
111
111
  })(ErrorCode || (ErrorCode = {}));
112
112
 
113
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
113
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
114
114
  var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
115
115
  function replaceTsWithNgInErrors(errors) {
116
116
  return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
@@ -119,7 +119,7 @@ function ngErrorCode(code) {
119
119
  return parseInt("-99" + code);
120
120
  }
121
121
 
122
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
122
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
123
123
  var FatalDiagnosticError = class extends Error {
124
124
  constructor(code, node, diagnosticMessage, relatedInformation) {
125
125
  super(`FatalDiagnosticError: Code: ${code}, Message: ${ts.flattenDiagnosticMessageText(diagnosticMessage, "\n")}`);
@@ -183,7 +183,7 @@ function isLocalCompilationDiagnostics(diagnostic) {
183
183
  return diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNRESOLVED_CONST) || diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION);
184
184
  }
185
185
 
186
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
186
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
187
187
  var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
188
188
  ErrorCode.DECORATOR_ARG_NOT_LITERAL,
189
189
  ErrorCode.IMPORT_CYCLE_DETECTED,
@@ -195,10 +195,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
195
195
  ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
196
196
  ]);
197
197
 
198
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
198
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
199
199
  var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.dev/errors";
200
200
 
201
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
201
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
202
202
  var ExtendedTemplateDiagnosticName;
203
203
  (function(ExtendedTemplateDiagnosticName2) {
204
204
  ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
@@ -213,10 +213,10 @@ var ExtendedTemplateDiagnosticName;
213
213
  ExtendedTemplateDiagnosticName2["CONTROL_FLOW_PREVENTING_CONTENT_PROJECTION"] = "controlFlowPreventingContentProjection";
214
214
  })(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
215
215
 
216
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
216
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
217
217
  import ts5 from "typescript";
218
218
 
219
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
219
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
220
220
  import ts2 from "typescript";
221
221
  function isDecoratorIdentifier(exp) {
222
222
  return ts2.isIdentifier(exp) || ts2.isPropertyAccessExpression(exp) && ts2.isIdentifier(exp.expression) && ts2.isIdentifier(exp.name);
@@ -239,7 +239,7 @@ var ClassMemberAccessLevel;
239
239
  })(ClassMemberAccessLevel || (ClassMemberAccessLevel = {}));
240
240
  var AmbientImport = {};
241
241
 
242
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
242
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
243
243
  import ts3 from "typescript";
244
244
  function typeToValue(typeNode, checker, isLocalCompilation) {
245
245
  var _a, _b;
@@ -412,7 +412,7 @@ function extractModuleName(node) {
412
412
  return node.moduleSpecifier.text;
413
413
  }
414
414
 
415
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
415
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
416
416
  import ts4 from "typescript";
417
417
  function isNamedClassDeclaration(node) {
418
418
  return ts4.isClassDeclaration(node) && isIdentifier(node.name);
@@ -436,7 +436,7 @@ function classMemberAccessLevelToString(level) {
436
436
  }
437
437
  }
438
438
 
439
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
439
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
440
440
  var TypeScriptReflectionHost = class {
441
441
  constructor(checker, isLocalCompilation = false) {
442
442
  this.checker = checker;
@@ -924,7 +924,7 @@ function getExportedName(decl, originalId) {
924
924
  }
925
925
  var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
926
926
 
927
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
927
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
928
928
  import ts6 from "typescript";
929
929
  var TS = /\.tsx?$/i;
930
930
  var D_TS = /\.d\.ts$/i;
@@ -1025,7 +1025,7 @@ function toUnredirectedSourceFile(sf) {
1025
1025
  return redirectInfo.unredirected;
1026
1026
  }
1027
1027
 
1028
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
1028
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
1029
1029
  var Reference = class {
1030
1030
  constructor(node, bestGuessOwningModule = null) {
1031
1031
  this.node = node;
@@ -1094,14 +1094,14 @@ var Reference = class {
1094
1094
  }
1095
1095
  };
1096
1096
 
1097
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
1097
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
1098
1098
  import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
1099
1099
 
1100
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
1100
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
1101
1101
  import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
1102
1102
  import ts7 from "typescript";
1103
1103
 
1104
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
1104
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
1105
1105
  function findExportedNameOfNode(target, file, reflector) {
1106
1106
  const exports = reflector.getExportsOfModule(file);
1107
1107
  if (exports === null) {
@@ -1121,7 +1121,7 @@ function findExportedNameOfNode(target, file, reflector) {
1121
1121
  return foundExportName;
1122
1122
  }
1123
1123
 
1124
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
1124
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
1125
1125
  var ImportFlags;
1126
1126
  (function(ImportFlags2) {
1127
1127
  ImportFlags2[ImportFlags2["None"] = 0] = "None";
@@ -1352,7 +1352,7 @@ var UnifiedModulesStrategy = class {
1352
1352
  }
1353
1353
  };
1354
1354
 
1355
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
1355
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
1356
1356
  var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
1357
1357
  var UnifiedModulesAliasingHost = class {
1358
1358
  constructor(unifiedModulesHost) {
@@ -1419,7 +1419,7 @@ var AliasStrategy = class {
1419
1419
  }
1420
1420
  };
1421
1421
 
1422
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
1422
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
1423
1423
  function relativePathBetween(from, to) {
1424
1424
  const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
1425
1425
  return relativePath !== "" ? toRelativeImport(relativePath) : null;
@@ -1428,7 +1428,7 @@ function normalizeSeparators(path) {
1428
1428
  return path.replace(/\\/g, "/");
1429
1429
  }
1430
1430
 
1431
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
1431
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
1432
1432
  var NoopImportRewriter = class {
1433
1433
  rewriteSymbol(symbol, specifier) {
1434
1434
  return symbol;
@@ -1481,7 +1481,7 @@ function validateAndRewriteCoreSymbol(name) {
1481
1481
  return CORE_SUPPORTED_SYMBOLS.get(name);
1482
1482
  }
1483
1483
 
1484
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
1484
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
1485
1485
  import ts8 from "typescript";
1486
1486
  var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
1487
1487
  function loadIsReferencedAliasDeclarationPatch(context) {
@@ -1516,7 +1516,7 @@ function throwIncompatibleTransformationContextError() {
1516
1516
  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.");
1517
1517
  }
1518
1518
 
1519
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
1519
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
1520
1520
  var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
1521
1521
  function attachDefaultImportDeclaration(expr, importDecl) {
1522
1522
  expr[DefaultImportDeclaration] = importDecl;
@@ -1557,7 +1557,7 @@ var DefaultImportTracker = class {
1557
1557
  }
1558
1558
  };
1559
1559
 
1560
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
1560
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
1561
1561
  import ts9 from "typescript";
1562
1562
  var AssumeEager = "AssumeEager";
1563
1563
  var DeferredSymbolTracker = class {
@@ -1678,7 +1678,7 @@ var DeferredSymbolTracker = class {
1678
1678
  }
1679
1679
  };
1680
1680
 
1681
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/imported_symbols_tracker.mjs
1681
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/imported_symbols_tracker.mjs
1682
1682
  import ts10 from "typescript";
1683
1683
  var ImportedSymbolsTracker = class {
1684
1684
  constructor() {
@@ -1748,7 +1748,7 @@ var ImportedSymbolsTracker = class {
1748
1748
  }
1749
1749
  };
1750
1750
 
1751
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.mjs
1751
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.mjs
1752
1752
  import ts11 from "typescript";
1753
1753
  var LocalCompilationExtraImportsTracker = class {
1754
1754
  constructor(typeChecker) {
@@ -1792,7 +1792,7 @@ function removeQuotations(s) {
1792
1792
  return s.substring(1, s.length - 1).trim();
1793
1793
  }
1794
1794
 
1795
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
1795
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
1796
1796
  var ModuleResolver = class {
1797
1797
  constructor(program, compilerOptions, host, moduleResolutionCache) {
1798
1798
  this.program = program;
@@ -1809,21 +1809,23 @@ var ModuleResolver = class {
1809
1809
  }
1810
1810
  };
1811
1811
 
1812
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
1812
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
1813
1813
  import ts16 from "typescript";
1814
1814
 
1815
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/check_unique_identifier_name.mjs
1815
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/check_unique_identifier_name.mjs
1816
1816
  import ts12 from "typescript";
1817
1817
  function createGenerateUniqueIdentifierHelper() {
1818
1818
  const generatedIdentifiers = /* @__PURE__ */ new Set();
1819
+ const isGeneratedIdentifier = (sf, identifierName) => generatedIdentifiers.has(`${sf.fileName}@@${identifierName}`);
1820
+ const markIdentifierAsGenerated = (sf, identifierName) => generatedIdentifiers.add(`${sf.fileName}@@${identifierName}`);
1819
1821
  return (sourceFile, symbolName) => {
1820
1822
  const sf = sourceFile;
1821
1823
  if (sf.identifiers === void 0) {
1822
1824
  throw new Error("Source file unexpectedly lacks map of parsed `identifiers`.");
1823
1825
  }
1824
- const isUniqueIdentifier = (name2) => !sf.identifiers.has(name2) && !generatedIdentifiers.has(name2);
1826
+ const isUniqueIdentifier = (name2) => !sf.identifiers.has(name2) && !isGeneratedIdentifier(sf, name2);
1825
1827
  if (isUniqueIdentifier(symbolName)) {
1826
- generatedIdentifiers.add(symbolName);
1828
+ markIdentifierAsGenerated(sf, symbolName);
1827
1829
  return null;
1828
1830
  }
1829
1831
  let name = null;
@@ -1831,12 +1833,12 @@ function createGenerateUniqueIdentifierHelper() {
1831
1833
  do {
1832
1834
  name = `${symbolName}_${counter++}`;
1833
1835
  } while (!isUniqueIdentifier(name));
1834
- generatedIdentifiers.add(name);
1836
+ markIdentifierAsGenerated(sf, name);
1835
1837
  return ts12.factory.createUniqueName(name, ts12.GeneratedIdentifierFlags.Optimistic);
1836
1838
  };
1837
1839
  }
1838
1840
 
1839
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_typescript_transform.mjs
1841
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_typescript_transform.mjs
1840
1842
  import ts13 from "typescript";
1841
1843
  function createTsTransformForImportManager(manager, extraStatementsForFiles) {
1842
1844
  return (ctx) => {
@@ -1897,7 +1899,7 @@ function isImportStatement(stmt) {
1897
1899
  return ts13.isImportDeclaration(stmt) || ts13.isImportEqualsDeclaration(stmt) || ts13.isNamespaceImport(stmt);
1898
1900
  }
1899
1901
 
1900
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_generated_imports.mjs
1902
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_generated_imports.mjs
1901
1903
  import ts14 from "typescript";
1902
1904
  function attemptToReuseGeneratedImports(tracker, request) {
1903
1905
  const requestHash = hashImportRequest(request);
@@ -1924,7 +1926,7 @@ function hashImportRequest(req) {
1924
1926
  return `${req.requestedFile.fileName}:${req.exportModuleSpecifier}:${req.exportSymbolName}`;
1925
1927
  }
1926
1928
 
1927
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_source_file_imports.mjs
1929
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_source_file_imports.mjs
1928
1930
  import ts15 from "typescript";
1929
1931
  function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
1930
1932
  let candidateImportToBeUpdated = null;
@@ -1977,7 +1979,7 @@ function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
1977
1979
  return fileUniqueAlias != null ? fileUniqueAlias : propertyName;
1978
1980
  }
1979
1981
 
1980
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
1982
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
1981
1983
  var presetImportManagerForceNamespaceImports = {
1982
1984
  disableOriginalSourceFileReuse: true,
1983
1985
  forceGenerateNamespacesForNewImports: true
@@ -2127,7 +2129,7 @@ function createImportReference(asTypeReference, ref) {
2127
2129
  }
2128
2130
  }
2129
2131
 
2130
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
2132
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
2131
2133
  var Context = class {
2132
2134
  constructor(isStatement) {
2133
2135
  this.isStatement = isStatement;
@@ -2140,7 +2142,7 @@ var Context = class {
2140
2142
  }
2141
2143
  };
2142
2144
 
2143
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
2145
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
2144
2146
  import * as o from "@angular/compiler";
2145
2147
  var UNARY_OPERATORS = /* @__PURE__ */ new Map([
2146
2148
  [o.UnaryOperator.Minus, "-"],
@@ -2386,7 +2388,7 @@ function createRange(span) {
2386
2388
  };
2387
2389
  }
2388
2390
 
2389
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
2391
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
2390
2392
  import ts17 from "typescript";
2391
2393
  var INELIGIBLE = {};
2392
2394
  function canEmitType(type, canEmit) {
@@ -2461,11 +2463,11 @@ var TypeEmitter = class {
2461
2463
  }
2462
2464
  };
2463
2465
 
2464
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
2466
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
2465
2467
  import * as o2 from "@angular/compiler";
2466
2468
  import ts19 from "typescript";
2467
2469
 
2468
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.mjs
2470
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.mjs
2469
2471
  import ts18 from "typescript";
2470
2472
  function tsNumericExpression(value) {
2471
2473
  if (value < 0) {
@@ -2475,7 +2477,7 @@ function tsNumericExpression(value) {
2475
2477
  return ts18.factory.createNumericLiteral(value);
2476
2478
  }
2477
2479
 
2478
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
2480
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
2479
2481
  function translateType(type, contextFile, reflector, refEmitter, imports) {
2480
2482
  return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
2481
2483
  }
@@ -2692,7 +2694,7 @@ var TypeTranslatorVisitor = class {
2692
2694
  }
2693
2695
  };
2694
2696
 
2695
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
2697
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
2696
2698
  import ts20 from "typescript";
2697
2699
  var PureAnnotation;
2698
2700
  (function(PureAnnotation2) {
@@ -2895,7 +2897,7 @@ function attachComments(statement, leadingComments) {
2895
2897
  }
2896
2898
  }
2897
2899
 
2898
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
2900
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
2899
2901
  function translateExpression(contextFile, expression, imports, options = {}) {
2900
2902
  return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, contextFile, options), new Context(false));
2901
2903
  }
@@ -2992,4 +2994,4 @@ export {
2992
2994
  * Use of this source code is governed by an MIT-style license that can be
2993
2995
  * found in the LICENSE file at https://angular.io/license
2994
2996
  */
2995
- //# sourceMappingURL=chunk-VE7PCF6B.js.map
2997
+ //# sourceMappingURL=chunk-BLUBTRCD.js.map