@angular/compiler-cli 19.0.0-rc.0 → 19.0.0-rc.2

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 (47) hide show
  1. package/bundles/{chunk-STORTTKY.js → chunk-37JMVF7H.js} +8 -8
  2. package/bundles/{chunk-V2Z4WDVR.js → chunk-6RLW23PZ.js} +3 -3
  3. package/bundles/{chunk-5UDS2TPQ.js → chunk-77D5CI2U.js} +7 -7
  4. package/bundles/{chunk-4W4CWRSP.js → chunk-F33AEX64.js} +5 -5
  5. package/bundles/{chunk-GBKXY6BH.js → chunk-FKXFEX7K.js} +3 -3
  6. package/bundles/{chunk-TRCFFQ47.js → chunk-NC4E5UYB.js} +73 -64
  7. package/bundles/chunk-NC4E5UYB.js.map +6 -0
  8. package/bundles/{chunk-S2JI2WY5.js → chunk-OM3GHCE5.js} +193 -159
  9. package/bundles/chunk-OM3GHCE5.js.map +6 -0
  10. package/bundles/{chunk-PXQLBKVP.js → chunk-P6YTDBL7.js} +31 -31
  11. package/bundles/{chunk-I6R3GL3L.js → chunk-Q2WE7ECN.js} +5 -5
  12. package/bundles/{chunk-NS33RCEE.js → chunk-RJMMB5HJ.js} +12 -12
  13. package/bundles/{chunk-TQQOHNLL.js → chunk-WLQBAON6.js} +108 -94
  14. package/bundles/chunk-WLQBAON6.js.map +6 -0
  15. package/bundles/index.js +12 -12
  16. package/bundles/linker/babel/index.js +12 -12
  17. package/bundles/linker/index.js +4 -4
  18. package/bundles/ngcc/index.js +1 -1
  19. package/bundles/private/bazel.js +1 -1
  20. package/bundles/private/localize.js +3 -3
  21. package/bundles/private/migrations.js +4 -4
  22. package/bundles/private/tooling.js +6 -6
  23. package/bundles/src/bin/ng_xi18n.js +10 -10
  24. package/bundles/src/bin/ngc.js +8 -8
  25. package/bundles_metadata.json +1 -1
  26. package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
  27. package/package.json +3 -3
  28. package/src/ngtsc/docs/src/entities.d.ts +4 -2
  29. package/src/ngtsc/docs/src/type_alias_extractor.d.ts +1 -0
  30. package/src/ngtsc/imports/src/emitter.d.ts +1 -1
  31. package/src/ngtsc/metadata/src/api.d.ts +5 -0
  32. package/src/ngtsc/metadata/src/util.d.ts +5 -2
  33. package/src/ngtsc/reflection/src/typescript.d.ts +6 -0
  34. package/src/ngtsc/typecheck/api/checker.d.ts +1 -1
  35. package/src/ngtsc/typecheck/src/checker.d.ts +1 -1
  36. package/src/ngtsc/validation/src/rules/unused_standalone_imports_rule.d.ts +4 -4
  37. package/bundles/chunk-S2JI2WY5.js.map +0 -6
  38. package/bundles/chunk-TQQOHNLL.js.map +0 -6
  39. package/bundles/chunk-TRCFFQ47.js.map +0 -6
  40. /package/bundles/{chunk-STORTTKY.js.map → chunk-37JMVF7H.js.map} +0 -0
  41. /package/bundles/{chunk-V2Z4WDVR.js.map → chunk-6RLW23PZ.js.map} +0 -0
  42. /package/bundles/{chunk-5UDS2TPQ.js.map → chunk-77D5CI2U.js.map} +0 -0
  43. /package/bundles/{chunk-4W4CWRSP.js.map → chunk-F33AEX64.js.map} +0 -0
  44. /package/bundles/{chunk-GBKXY6BH.js.map → chunk-FKXFEX7K.js.map} +0 -0
  45. /package/bundles/{chunk-PXQLBKVP.js.map → chunk-P6YTDBL7.js.map} +0 -0
  46. /package/bundles/{chunk-I6R3GL3L.js.map → chunk-Q2WE7ECN.js.map} +0 -0
  47. /package/bundles/{chunk-NS33RCEE.js.map → chunk-RJMMB5HJ.js.map} +0 -0
@@ -11,7 +11,9 @@ import {
11
11
  ImportFlags,
12
12
  ImportManager,
13
13
  Reference,
14
+ ReferenceEmitKind,
14
15
  TypeEmitter,
16
+ TypeEntityToDeclarationError,
15
17
  addDiagnosticChain,
16
18
  assertSuccessfulReferenceEmit,
17
19
  attachDefaultImportDeclaration,
@@ -46,23 +48,23 @@ import {
46
48
  translateStatement,
47
49
  translateType,
48
50
  typeNodeToValueExpr
49
- } from "./chunk-TRCFFQ47.js";
51
+ } from "./chunk-NC4E5UYB.js";
50
52
  import {
51
53
  PerfCheckpoint,
52
54
  PerfEvent,
53
55
  PerfPhase
54
- } from "./chunk-I6R3GL3L.js";
56
+ } from "./chunk-Q2WE7ECN.js";
55
57
  import {
56
58
  absoluteFrom,
57
59
  absoluteFromSourceFile,
58
60
  getSourceFileOrError,
59
61
  relative
60
- } from "./chunk-STORTTKY.js";
62
+ } from "./chunk-37JMVF7H.js";
61
63
  import {
62
64
  __publicField
63
65
  } from "./chunk-KPQ72R34.js";
64
66
 
65
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
67
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
66
68
  import { ExternalExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr } from "@angular/compiler";
67
69
  import ts from "typescript";
68
70
  var CORE_MODULE = "@angular/core";
@@ -324,7 +326,7 @@ function isAbstractClassDeclaration(clazz) {
324
326
  return ts.canHaveModifiers(clazz) && clazz.modifiers !== void 0 ? clazz.modifiers.some((mod) => mod.kind === ts.SyntaxKind.AbstractKeyword) : false;
325
327
  }
326
328
 
327
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
329
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
328
330
  var DynamicValue = class {
329
331
  node;
330
332
  reason;
@@ -417,10 +419,10 @@ var DynamicValue = class {
417
419
  }
418
420
  };
419
421
 
420
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
422
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
421
423
  import ts2 from "typescript";
422
424
 
423
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
425
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
424
426
  var ResolvedModule = class {
425
427
  exports;
426
428
  evaluate;
@@ -455,7 +457,7 @@ var EnumValue = class {
455
457
  var KnownFn = class {
456
458
  };
457
459
 
458
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
460
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
459
461
  var ArraySliceBuiltinFn = class extends KnownFn {
460
462
  lhs;
461
463
  constructor(lhs) {
@@ -510,7 +512,7 @@ var StringConcatBuiltinFn = class extends KnownFn {
510
512
  }
511
513
  };
512
514
 
513
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
515
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
514
516
  var SyntheticValue = class {
515
517
  value;
516
518
  constructor(value) {
@@ -518,7 +520,7 @@ var SyntheticValue = class {
518
520
  }
519
521
  };
520
522
 
521
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
523
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
522
524
  function literalBinaryOp(op) {
523
525
  return { op, literal: true };
524
526
  }
@@ -1099,7 +1101,7 @@ function owningModule(context, override = null) {
1099
1101
  }
1100
1102
  }
1101
1103
 
1102
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
1104
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
1103
1105
  var PartialEvaluator = class {
1104
1106
  host;
1105
1107
  checker;
@@ -1122,7 +1124,7 @@ var PartialEvaluator = class {
1122
1124
  }
1123
1125
  };
1124
1126
 
1125
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
1127
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
1126
1128
  import ts3 from "typescript";
1127
1129
  function describeResolvedType(value, maxDepth = 1) {
1128
1130
  var _a, _b;
@@ -1257,14 +1259,14 @@ function getContainerNode(node) {
1257
1259
  return node.getSourceFile();
1258
1260
  }
1259
1261
 
1260
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
1262
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
1261
1263
  var OptimizeFor;
1262
1264
  (function(OptimizeFor2) {
1263
1265
  OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
1264
1266
  OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
1265
1267
  })(OptimizeFor || (OptimizeFor = {}));
1266
1268
 
1267
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
1269
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
1268
1270
  var PotentialImportKind;
1269
1271
  (function(PotentialImportKind2) {
1270
1272
  PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
@@ -1276,7 +1278,7 @@ var PotentialImportMode;
1276
1278
  PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
1277
1279
  })(PotentialImportMode || (PotentialImportMode = {}));
1278
1280
 
1279
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
1281
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
1280
1282
  var CompletionKind;
1281
1283
  (function(CompletionKind2) {
1282
1284
  CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
@@ -1284,7 +1286,7 @@ var CompletionKind;
1284
1286
  CompletionKind2[CompletionKind2["LetDeclaration"] = 2] = "LetDeclaration";
1285
1287
  })(CompletionKind || (CompletionKind = {}));
1286
1288
 
1287
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
1289
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
1288
1290
  var SymbolKind;
1289
1291
  (function(SymbolKind2) {
1290
1292
  SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
@@ -1301,7 +1303,7 @@ var SymbolKind;
1301
1303
  SymbolKind2[SymbolKind2["LetDeclaration"] = 11] = "LetDeclaration";
1302
1304
  })(SymbolKind || (SymbolKind = {}));
1303
1305
 
1304
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
1306
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
1305
1307
  import { LiteralExpr, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
1306
1308
  import ts4 from "typescript";
1307
1309
  function getConstructorDependencies(clazz, reflector, isCore) {
@@ -1447,10 +1449,10 @@ function createUnsuitableInjectionTokenError(clazz, error) {
1447
1449
  return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain, hints);
1448
1450
  }
1449
1451
 
1450
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
1452
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
1451
1453
  import ts12 from "typescript";
1452
1454
 
1453
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
1455
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
1454
1456
  var MetaKind;
1455
1457
  (function(MetaKind2) {
1456
1458
  MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
@@ -1463,10 +1465,10 @@ var MatchSource;
1463
1465
  MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
1464
1466
  })(MatchSource || (MatchSource = {}));
1465
1467
 
1466
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
1468
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
1467
1469
  import ts6 from "typescript";
1468
1470
 
1469
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
1471
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
1470
1472
  var ClassPropertyMapping = class {
1471
1473
  forwardMap;
1472
1474
  reverseMap;
@@ -1548,22 +1550,41 @@ function reverseMapFromForwardMap(forwardMap) {
1548
1550
  return reverseMap;
1549
1551
  }
1550
1552
 
1551
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
1553
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
1552
1554
  import ts5 from "typescript";
1553
1555
  function extractReferencesFromType(checker, def, bestGuessOwningModule) {
1554
1556
  if (!ts5.isTupleTypeNode(def)) {
1555
- return [];
1557
+ return { result: [], isIncomplete: false };
1556
1558
  }
1557
- return def.elements.map((element) => {
1559
+ const result = [];
1560
+ let isIncomplete = false;
1561
+ for (const element of def.elements) {
1558
1562
  if (!ts5.isTypeQueryNode(element)) {
1559
1563
  throw new Error(`Expected TypeQueryNode: ${nodeDebugInfo(element)}`);
1560
1564
  }
1561
- return extraReferenceFromTypeQuery(checker, element, def, bestGuessOwningModule);
1562
- });
1565
+ const ref = extraReferenceFromTypeQuery(checker, element, def, bestGuessOwningModule);
1566
+ if (ref === null) {
1567
+ isIncomplete = true;
1568
+ } else {
1569
+ result.push(ref);
1570
+ }
1571
+ }
1572
+ return { result, isIncomplete };
1563
1573
  }
1564
1574
  function extraReferenceFromTypeQuery(checker, typeNode, origin, bestGuessOwningModule) {
1565
1575
  const type = typeNode.exprName;
1566
- const { node, from } = reflectTypeEntityToDeclaration(type, checker);
1576
+ let node;
1577
+ let from;
1578
+ try {
1579
+ const result = reflectTypeEntityToDeclaration(type, checker);
1580
+ node = result.node;
1581
+ from = result.from;
1582
+ } catch (e) {
1583
+ if (e instanceof TypeEntityToDeclarationError) {
1584
+ return null;
1585
+ }
1586
+ throw e;
1587
+ }
1567
1588
  if (!isNamedClassDeclaration(node)) {
1568
1589
  throw new Error(`Expected named ClassDeclaration: ${nodeDebugInfo(node)}`);
1569
1590
  }
@@ -1745,7 +1766,7 @@ function isHostDirectiveMetaForGlobalMode(hostDirectiveMeta) {
1745
1766
  return hostDirectiveMeta.directive instanceof Reference;
1746
1767
  }
1747
1768
 
1748
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
1769
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
1749
1770
  var DtsMetadataReader = class {
1750
1771
  checker;
1751
1772
  reflector;
@@ -1762,12 +1783,17 @@ var DtsMetadataReader = class {
1762
1783
  return null;
1763
1784
  }
1764
1785
  const [_, declarationMetadata, importMetadata, exportMetadata] = ngModuleDef.type.typeArguments;
1786
+ const declarations = extractReferencesFromType(this.checker, declarationMetadata, ref.bestGuessOwningModule);
1787
+ const exports = extractReferencesFromType(this.checker, exportMetadata, ref.bestGuessOwningModule);
1788
+ const imports = extractReferencesFromType(this.checker, importMetadata, ref.bestGuessOwningModule);
1789
+ const isPoisoned = exports.isIncomplete;
1765
1790
  return {
1766
1791
  kind: MetaKind.NgModule,
1767
1792
  ref,
1768
- declarations: extractReferencesFromType(this.checker, declarationMetadata, ref.bestGuessOwningModule),
1769
- exports: extractReferencesFromType(this.checker, exportMetadata, ref.bestGuessOwningModule),
1770
- imports: extractReferencesFromType(this.checker, importMetadata, ref.bestGuessOwningModule),
1793
+ declarations: declarations.result,
1794
+ isPoisoned,
1795
+ exports: exports.result,
1796
+ imports: imports.result,
1771
1797
  schemas: [],
1772
1798
  rawDeclarations: null,
1773
1799
  rawImports: null,
@@ -1777,7 +1803,7 @@ var DtsMetadataReader = class {
1777
1803
  };
1778
1804
  }
1779
1805
  getDirectiveMetadata(ref) {
1780
- var _a, _b;
1806
+ var _a, _b, _c;
1781
1807
  const clazz = ref.node;
1782
1808
  const def = this.reflector.getMembersOfClass(clazz).find((field) => field.isStatic && (field.name === "\u0275cmp" || field.name === "\u0275dir"));
1783
1809
  if (def === void 0) {
@@ -1796,6 +1822,7 @@ var DtsMetadataReader = class {
1796
1822
  const outputs = ClassPropertyMapping.fromMappedObject(readMapType(def.type.typeArguments[4], readStringType));
1797
1823
  const hostDirectives = def.type.typeArguments.length > 8 ? readHostDirectivesType(this.checker, def.type.typeArguments[8], ref.bestGuessOwningModule) : null;
1798
1824
  const isSignal = def.type.typeArguments.length > 9 && ((_b = readBooleanType(def.type.typeArguments[9])) != null ? _b : false);
1825
+ const isPoisoned = hostDirectives !== null && (hostDirectives == null ? void 0 : hostDirectives.isIncomplete);
1799
1826
  return {
1800
1827
  kind: MetaKind.Directive,
1801
1828
  matchSource: MatchSource.Selector,
@@ -1806,11 +1833,11 @@ var DtsMetadataReader = class {
1806
1833
  exportAs: readStringArrayType(def.type.typeArguments[2]),
1807
1834
  inputs,
1808
1835
  outputs,
1809
- hostDirectives,
1836
+ hostDirectives: (_c = hostDirectives == null ? void 0 : hostDirectives.result) != null ? _c : null,
1810
1837
  queries: readStringArrayType(def.type.typeArguments[5]),
1811
1838
  ...extractDirectiveTypeCheckMeta(clazz, inputs, this.reflector),
1812
1839
  baseClass: readBaseClass2(clazz, this.checker, this.reflector),
1813
- isPoisoned: false,
1840
+ isPoisoned,
1814
1841
  isStructural,
1815
1842
  animationTriggerNames: null,
1816
1843
  ngContentSelectors,
@@ -1915,24 +1942,30 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
1915
1942
  return null;
1916
1943
  }
1917
1944
  const result = [];
1945
+ let isIncomplete = false;
1918
1946
  for (const hostDirectiveType of type.elements) {
1919
1947
  const { directive, inputs, outputs } = readMapType(hostDirectiveType, (type2) => type2);
1920
1948
  if (directive) {
1921
1949
  if (!ts6.isTypeQueryNode(directive)) {
1922
1950
  throw new Error(`Expected TypeQueryNode: ${nodeDebugInfo(directive)}`);
1923
1951
  }
1952
+ const ref = extraReferenceFromTypeQuery(checker, directive, type, bestGuessOwningModule);
1953
+ if (ref === null) {
1954
+ isIncomplete = true;
1955
+ continue;
1956
+ }
1924
1957
  result.push({
1925
- directive: extraReferenceFromTypeQuery(checker, directive, type, bestGuessOwningModule),
1958
+ directive: ref,
1926
1959
  isForwardReference: false,
1927
1960
  inputs: readMapType(inputs, readStringType),
1928
1961
  outputs: readMapType(outputs, readStringType)
1929
1962
  });
1930
1963
  }
1931
1964
  }
1932
- return result.length > 0 ? result : null;
1965
+ return result.length > 0 ? { result, isIncomplete } : null;
1933
1966
  }
1934
1967
 
1935
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
1968
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
1936
1969
  function flattenInheritedDirectiveMetadata(reader, dir) {
1937
1970
  const topMeta = reader.getDirectiveMetadata(dir);
1938
1971
  if (topMeta === null) {
@@ -1996,7 +2029,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
1996
2029
  };
1997
2030
  }
1998
2031
 
1999
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
2032
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
2000
2033
  var LocalMetadataRegistry = class {
2001
2034
  directives = /* @__PURE__ */ new Map();
2002
2035
  ngModules = /* @__PURE__ */ new Map();
@@ -2052,7 +2085,7 @@ var CompoundMetadataRegistry = class {
2052
2085
  }
2053
2086
  };
2054
2087
 
2055
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
2088
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
2056
2089
  var ResourceRegistry = class {
2057
2090
  externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
2058
2091
  componentToTemplateMap = /* @__PURE__ */ new Map();
@@ -2115,7 +2148,7 @@ var ResourceRegistry = class {
2115
2148
  }
2116
2149
  };
2117
2150
 
2118
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
2151
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
2119
2152
  var ExportedProviderStatusResolver = class {
2120
2153
  metaReader;
2121
2154
  calculating = /* @__PURE__ */ new Set();
@@ -2160,7 +2193,7 @@ var ExportedProviderStatusResolver = class {
2160
2193
  }
2161
2194
  };
2162
2195
 
2163
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
2196
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
2164
2197
  var EMPTY_ARRAY = [];
2165
2198
  var HostDirectivesResolver = class {
2166
2199
  metaReader;
@@ -2227,7 +2260,7 @@ function resolveOutput(bindingName) {
2227
2260
  return bindingName;
2228
2261
  }
2229
2262
 
2230
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
2263
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
2231
2264
  var CompilationMode;
2232
2265
  (function(CompilationMode2) {
2233
2266
  CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
@@ -2241,7 +2274,7 @@ var HandlerPrecedence;
2241
2274
  HandlerPrecedence2[HandlerPrecedence2["WEAK"] = 2] = "WEAK";
2242
2275
  })(HandlerPrecedence || (HandlerPrecedence = {}));
2243
2276
 
2244
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
2277
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
2245
2278
  import ts7 from "typescript";
2246
2279
  function aliasTransformFactory(exportStatements) {
2247
2280
  return () => {
@@ -2266,10 +2299,10 @@ function aliasTransformFactory(exportStatements) {
2266
2299
  };
2267
2300
  }
2268
2301
 
2269
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
2302
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
2270
2303
  import ts8 from "typescript";
2271
2304
 
2272
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
2305
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
2273
2306
  var TraitState;
2274
2307
  (function(TraitState2) {
2275
2308
  TraitState2[TraitState2["Pending"] = 0] = "Pending";
@@ -2328,7 +2361,7 @@ var TraitImpl = class {
2328
2361
  }
2329
2362
  };
2330
2363
 
2331
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
2364
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
2332
2365
  var TraitCompiler = class {
2333
2366
  handlers;
2334
2367
  reflector;
@@ -2809,7 +2842,7 @@ function containsErrors(diagnostics) {
2809
2842
  return diagnostics !== null && diagnostics.some((diag) => diag.category === ts8.DiagnosticCategory.Error);
2810
2843
  }
2811
2844
 
2812
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
2845
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
2813
2846
  import ts9 from "typescript";
2814
2847
  var DtsTransformRegistry = class {
2815
2848
  ivyDeclarationTransforms = /* @__PURE__ */ new Map();
@@ -2959,11 +2992,11 @@ function markForEmitAsSingleLine(node) {
2959
2992
  ts9.forEachChild(node, markForEmitAsSingleLine);
2960
2993
  }
2961
2994
 
2962
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
2995
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
2963
2996
  import { ConstantPool } from "@angular/compiler";
2964
2997
  import ts11 from "typescript";
2965
2998
 
2966
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
2999
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
2967
3000
  import ts10 from "typescript";
2968
3001
  function visit(node, visitor, context) {
2969
3002
  return visitor._visit(node, context);
@@ -3022,7 +3055,7 @@ var Visitor = class {
3022
3055
  }
3023
3056
  };
3024
3057
 
3025
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
3058
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
3026
3059
  var NO_DECORATORS = /* @__PURE__ */ new Set();
3027
3060
  var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
3028
3061
  function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, localCompilationExtraImportsTracker, perf, isCore, isClosureCompilerEnabled) {
@@ -3268,7 +3301,7 @@ function nodeArrayFromDecoratorsArray(decorators) {
3268
3301
  return array;
3269
3302
  }
3270
3303
 
3271
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
3304
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
3272
3305
  function makeDuplicateDeclarationError(node, data, kind) {
3273
3306
  const context = [];
3274
3307
  for (const decl of data) {
@@ -3477,7 +3510,7 @@ function assertLocalCompilationUnresolvedConst(compilationMode, value, nodeToHig
3477
3510
  }
3478
3511
  }
3479
3512
 
3480
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
3513
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
3481
3514
  import { ViewEncapsulation } from "@angular/compiler";
3482
3515
  import ts13 from "typescript";
3483
3516
  function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
@@ -3528,7 +3561,7 @@ function resolveLiteral(decorator, literalCache) {
3528
3561
  return meta;
3529
3562
  }
3530
3563
 
3531
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
3564
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
3532
3565
  import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
3533
3566
  function compileNgFactoryDefField(metadata) {
3534
3567
  const res = compileFactoryFunction(metadata);
@@ -3551,7 +3584,7 @@ function compileDeclareFactory(metadata) {
3551
3584
  };
3552
3585
  }
3553
3586
 
3554
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
3587
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
3555
3588
  var InjectableClassRegistry = class {
3556
3589
  host;
3557
3590
  isCore;
@@ -3579,7 +3612,7 @@ var InjectableClassRegistry = class {
3579
3612
  }
3580
3613
  };
3581
3614
 
3582
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
3615
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
3583
3616
  import { ArrowFunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
3584
3617
  import ts14 from "typescript";
3585
3618
  function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
@@ -3666,7 +3699,7 @@ function removeIdentifierReferences(node, names) {
3666
3699
  return result.transformed[0];
3667
3700
  }
3668
3701
 
3669
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/debug_info.mjs
3702
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/debug_info.mjs
3670
3703
  import { literal as literal2, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
3671
3704
  function extractClassDebugInfo(clazz, reflection, compilerHost, rootDirs, forbidOrphanRendering) {
3672
3705
  if (!reflection.isClass(clazz)) {
@@ -3683,13 +3716,13 @@ function extractClassDebugInfo(clazz, reflection, compilerHost, rootDirs, forbid
3683
3716
  };
3684
3717
  }
3685
3718
 
3686
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
3719
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
3687
3720
  var NoopReferencesRegistry = class {
3688
3721
  add(source, ...references) {
3689
3722
  }
3690
3723
  };
3691
3724
 
3692
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
3725
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
3693
3726
  import { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from "@angular/compiler";
3694
3727
  function extractSchemas(rawExpr, evaluator, context) {
3695
3728
  const schemas = [];
@@ -3719,7 +3752,7 @@ function extractSchemas(rawExpr, evaluator, context) {
3719
3752
  return schemas;
3720
3753
  }
3721
3754
 
3722
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
3755
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
3723
3756
  import { outputAst } from "@angular/compiler";
3724
3757
  function compileInputTransformFields(inputs) {
3725
3758
  const extraFields = [];
@@ -3737,16 +3770,16 @@ function compileInputTransformFields(inputs) {
3737
3770
  return extraFields;
3738
3771
  }
3739
3772
 
3740
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/jit_declaration_registry.mjs
3773
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/jit_declaration_registry.mjs
3741
3774
  var JitDeclarationRegistry = class {
3742
3775
  jitDeclarations = /* @__PURE__ */ new Set();
3743
3776
  };
3744
3777
 
3745
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
3778
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
3746
3779
  import { compileClassDebugInfo, compileHmrInitializer, compileComponentClassMetadata, compileComponentDeclareClassMetadata, compileComponentFromMetadata, compileDeclareComponentFromMetadata, compileDeferResolverFunction, ConstantPool as ConstantPool2, CssSelector as CssSelector4, DEFAULT_INTERPOLATION_CONFIG as DEFAULT_INTERPOLATION_CONFIG2, DomElementSchemaRegistry as DomElementSchemaRegistry3, ExternalExpr as ExternalExpr8, FactoryTarget as FactoryTarget3, makeBindingParser as makeBindingParser2, outputAst as o4, R3TargetBinder, R3TemplateDependencyKind, SelectorMatcher as SelectorMatcher3, ViewEncapsulation as ViewEncapsulation2 } from "@angular/compiler";
3747
3780
  import ts47 from "typescript";
3748
3781
 
3749
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
3782
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
3750
3783
  import ts15 from "typescript";
3751
3784
  var SemanticSymbol = class {
3752
3785
  decl;
@@ -3765,7 +3798,7 @@ function getSymbolIdentifier(decl) {
3765
3798
  return decl.name.text;
3766
3799
  }
3767
3800
 
3768
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
3801
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
3769
3802
  import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
3770
3803
  var OpaqueSymbol = class extends SemanticSymbol {
3771
3804
  isPublicApiAffected() {
@@ -3907,10 +3940,10 @@ function getImportPath(expr) {
3907
3940
  }
3908
3941
  }
3909
3942
 
3910
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
3943
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
3911
3944
  import ts16 from "typescript";
3912
3945
 
3913
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
3946
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
3914
3947
  function isSymbolEqual(a, b) {
3915
3948
  if (a.decl === b.decl) {
3916
3949
  return true;
@@ -3960,7 +3993,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
3960
3993
  return true;
3961
3994
  }
3962
3995
 
3963
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
3996
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
3964
3997
  function extractSemanticTypeParameters(node) {
3965
3998
  if (!ts16.isClassDeclaration(node) || node.typeParameters === void 0) {
3966
3999
  return null;
@@ -3982,14 +4015,14 @@ function isTypeParameterEqual(a, b) {
3982
4015
  return a.hasGenericTypeBound === b.hasGenericTypeBound;
3983
4016
  }
3984
4017
 
3985
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
4018
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
3986
4019
  var ComponentScopeKind;
3987
4020
  (function(ComponentScopeKind2) {
3988
4021
  ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
3989
4022
  ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
3990
4023
  })(ComponentScopeKind || (ComponentScopeKind = {}));
3991
4024
 
3992
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
4025
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
3993
4026
  var CompoundComponentScopeReader = class {
3994
4027
  readers;
3995
4028
  constructor(readers) {
@@ -4015,7 +4048,7 @@ var CompoundComponentScopeReader = class {
4015
4048
  }
4016
4049
  };
4017
4050
 
4018
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
4051
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
4019
4052
  var MetadataDtsModuleScopeResolver = class {
4020
4053
  dtsMetaReader;
4021
4054
  aliasingHost;
@@ -4071,7 +4104,7 @@ var MetadataDtsModuleScopeResolver = class {
4071
4104
  const exportScope = {
4072
4105
  exported: {
4073
4106
  dependencies,
4074
- isPoisoned: false
4107
+ isPoisoned: meta.isPoisoned
4075
4108
  }
4076
4109
  };
4077
4110
  this.cache.set(clazz, exportScope);
@@ -4093,11 +4126,11 @@ var MetadataDtsModuleScopeResolver = class {
4093
4126
  }
4094
4127
  };
4095
4128
 
4096
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
4129
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
4097
4130
  import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
4098
4131
  import ts17 from "typescript";
4099
4132
 
4100
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
4133
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
4101
4134
  function getDiagnosticNode(ref, rawExpr) {
4102
4135
  return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
4103
4136
  }
@@ -4123,7 +4156,7 @@ function makeUnknownComponentDeferredImportDiagnostic(ref, rawExpr) {
4123
4156
  return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_DEFERRED_IMPORT, getDiagnosticNode(ref, rawExpr), `Component deferred imports must be standalone components, directives or pipes.`);
4124
4157
  }
4125
4158
 
4126
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
4159
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
4127
4160
  var IN_PROGRESS_RESOLUTION = {};
4128
4161
  var LocalModuleScopeRegistry = class {
4129
4162
  localReader;
@@ -4482,7 +4515,7 @@ function reexportCollision(module, refA, refB) {
4482
4515
  ]);
4483
4516
  }
4484
4517
 
4485
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
4518
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
4486
4519
  import { CssSelector, SelectorMatcher } from "@angular/compiler";
4487
4520
  import ts18 from "typescript";
4488
4521
  var TypeCheckScopeRegistry = class {
@@ -4566,14 +4599,14 @@ var TypeCheckScopeRegistry = class {
4566
4599
  }
4567
4600
  };
4568
4601
 
4569
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
4602
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
4570
4603
  import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, FactoryTarget, makeBindingParser, WrappedNodeExpr as WrappedNodeExpr6 } from "@angular/compiler";
4571
4604
 
4572
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
4605
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
4573
4606
  import { createMayBeForwardRefExpression as createMayBeForwardRefExpression2, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr4, getSafePropertyAccessString, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
4574
4607
  import ts22 from "typescript";
4575
4608
 
4576
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_function_access.mjs
4609
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_function_access.mjs
4577
4610
  function validateAccessOfInitializerApiMember({ api, call }, member) {
4578
4611
  if (!api.allowedAccessLevels.includes(member.accessLevel)) {
4579
4612
  throw new FatalDiagnosticError(ErrorCode.INITIALIZER_API_DISALLOWED_MEMBER_VISIBILITY, call, makeDiagnosticChain(`Cannot use "${api.functionName}" on a class member that is declared as ${classMemberAccessLevelToString(member.accessLevel)}.`, [
@@ -4582,7 +4615,7 @@ function validateAccessOfInitializerApiMember({ api, call }, member) {
4582
4615
  }
4583
4616
  }
4584
4617
 
4585
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_functions.mjs
4618
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_functions.mjs
4586
4619
  import ts19 from "typescript";
4587
4620
  function tryParseInitializerApi(functions, expression, reflector, importTracker) {
4588
4621
  if (!ts19.isCallExpression(expression)) {
@@ -4651,7 +4684,7 @@ function parseTopLevelCallFromNamespace(call, functions, importTracker) {
4651
4684
  return { api: matchingApi, apiReference, isRequired };
4652
4685
  }
4653
4686
 
4654
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_output_parse_options.mjs
4687
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_output_parse_options.mjs
4655
4688
  import ts20 from "typescript";
4656
4689
  function parseAndValidateInputAndOutputOptions(optionsNode) {
4657
4690
  if (!ts20.isObjectLiteralExpression(optionsNode)) {
@@ -4669,7 +4702,7 @@ function parseAndValidateInputAndOutputOptions(optionsNode) {
4669
4702
  return { alias };
4670
4703
  }
4671
4704
 
4672
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_function.mjs
4705
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_function.mjs
4673
4706
  var INPUT_INITIALIZER_FN = {
4674
4707
  functionName: "input",
4675
4708
  owningModule: "@angular/core",
@@ -4701,7 +4734,7 @@ function tryParseSignalInputMapping(member, reflector, importTracker) {
4701
4734
  };
4702
4735
  }
4703
4736
 
4704
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/model_function.mjs
4737
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/model_function.mjs
4705
4738
  var MODEL_INITIALIZER_FN = {
4706
4739
  functionName: "model",
4707
4740
  owningModule: "@angular/core",
@@ -4742,7 +4775,7 @@ function tryParseSignalModelMapping(member, reflector, importTracker) {
4742
4775
  };
4743
4776
  }
4744
4777
 
4745
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/output_function.mjs
4778
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/output_function.mjs
4746
4779
  var allowedAccessLevels = [
4747
4780
  ClassMemberAccessLevel.PublicWritable,
4748
4781
  ClassMemberAccessLevel.PublicReadonly,
@@ -4786,7 +4819,7 @@ function tryParseInitializerBasedOutput(member, reflector, importTracker) {
4786
4819
  };
4787
4820
  }
4788
4821
 
4789
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/query_functions.mjs
4822
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/query_functions.mjs
4790
4823
  import { createMayBeForwardRefExpression, outputAst as o } from "@angular/compiler";
4791
4824
  import ts21 from "typescript";
4792
4825
  var queryFunctionNames = [
@@ -4871,7 +4904,7 @@ function parseDescendantsOption(value) {
4871
4904
  throw new FatalDiagnosticError(ErrorCode.VALUE_HAS_WRONG_TYPE, value, `Expected "descendants" option to be a boolean literal.`);
4872
4905
  }
4873
4906
 
4874
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
4907
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
4875
4908
  var EMPTY_OBJECT = {};
4876
4909
  var queryDecoratorNames = [
4877
4910
  "ViewChild",
@@ -5676,7 +5709,7 @@ function toR3InputMetadata(mapping) {
5676
5709
  };
5677
5710
  }
5678
5711
 
5679
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
5712
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
5680
5713
  var DirectiveSymbol = class extends SemanticSymbol {
5681
5714
  selector;
5682
5715
  inputs;
@@ -5762,7 +5795,7 @@ function isBaseClassEqual(current, previous) {
5762
5795
  return isSymbolEqual(current, previous);
5763
5796
  }
5764
5797
 
5765
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
5798
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
5766
5799
  var FIELD_DECORATORS = [
5767
5800
  "Input",
5768
5801
  "Output",
@@ -5982,11 +6015,11 @@ var DirectiveDecoratorHandler = class {
5982
6015
  }
5983
6016
  };
5984
6017
 
5985
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
6018
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
5986
6019
  import { compileClassMetadata as compileClassMetadata2, compileDeclareClassMetadata as compileDeclareClassMetadata2, compileDeclareInjectorFromMetadata, compileDeclareNgModuleFromMetadata, compileInjector, compileNgModule, ExternalExpr as ExternalExpr5, FactoryTarget as FactoryTarget2, FunctionExpr, InvokeFunctionExpr, LiteralArrayExpr as LiteralArrayExpr2, R3Identifiers, R3NgModuleMetadataKind, R3SelectorScopeMode, ReturnStatement, WrappedNodeExpr as WrappedNodeExpr7 } from "@angular/compiler";
5987
6020
  import ts24 from "typescript";
5988
6021
 
5989
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
6022
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
5990
6023
  import ts23 from "typescript";
5991
6024
  function createModuleWithProvidersResolver(reflector, isCore) {
5992
6025
  function _reflectModuleFromTypeParam(type, node) {
@@ -6058,7 +6091,7 @@ function isResolvedModuleWithProviders(sv) {
6058
6091
  return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
6059
6092
  }
6060
6093
 
6061
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
6094
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
6062
6095
  var NgModuleSymbol = class extends SemanticSymbol {
6063
6096
  hasProviders;
6064
6097
  remotelyScopedComponents = [];
@@ -6421,7 +6454,8 @@ var NgModuleDecoratorHandler = class {
6421
6454
  rawImports: analysis.rawImports,
6422
6455
  rawExports: analysis.rawExports,
6423
6456
  decorator: analysis.decorator,
6424
- mayDeclareProviders: analysis.providers !== null
6457
+ mayDeclareProviders: analysis.providers !== null,
6458
+ isPoisoned: false
6425
6459
  });
6426
6460
  this.injectableRegistry.registerInjectable(node, {
6427
6461
  ctorDeps: analysis.fac.deps
@@ -6697,7 +6731,7 @@ function isSyntheticReference(ref) {
6697
6731
  return ref.synthetic;
6698
6732
  }
6699
6733
 
6700
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
6734
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
6701
6735
  function makeCyclicImportInfo(ref, type, cycle) {
6702
6736
  const name = ref.debugName || "(unknown)";
6703
6737
  const path = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
@@ -6720,7 +6754,7 @@ function checkCustomElementSelectorForErrors(selector) {
6720
6754
  return null;
6721
6755
  }
6722
6756
 
6723
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
6757
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
6724
6758
  import { DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, ParseSourceFile as ParseSourceFile2, parseTemplate } from "@angular/compiler";
6725
6759
  import ts25 from "typescript";
6726
6760
  function getTemplateDeclarationNodeForError(declaration) {
@@ -7058,7 +7092,7 @@ function _extractTemplateStyleUrls(template) {
7058
7092
  }));
7059
7093
  }
7060
7094
 
7061
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
7095
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
7062
7096
  var ComponentSymbol = class extends DirectiveSymbol {
7063
7097
  usedDirectives = [];
7064
7098
  usedPipes = [];
@@ -7090,7 +7124,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
7090
7124
  }
7091
7125
  };
7092
7126
 
7093
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
7127
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
7094
7128
  function collectAnimationNames(value, animationTriggerNames) {
7095
7129
  if (value instanceof Map) {
7096
7130
  const name = value.get("name");
@@ -7167,10 +7201,10 @@ function isLikelyModuleWithProviders(value) {
7167
7201
  return false;
7168
7202
  }
7169
7203
 
7170
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
7204
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
7171
7205
  import { CssSelector as CssSelector3, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr7, WrappedNodeExpr as WrappedNodeExpr9 } from "@angular/compiler";
7172
7206
 
7173
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
7207
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
7174
7208
  var NgOriginalFile = Symbol("NgOriginalFile");
7175
7209
  var UpdateMode;
7176
7210
  (function(UpdateMode2) {
@@ -7178,13 +7212,13 @@ var UpdateMode;
7178
7212
  UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
7179
7213
  })(UpdateMode || (UpdateMode = {}));
7180
7214
 
7181
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
7215
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
7182
7216
  import ts27 from "typescript";
7183
7217
 
7184
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
7218
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
7185
7219
  import ts26 from "typescript";
7186
7220
 
7187
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
7221
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
7188
7222
  var NgExtension = Symbol("NgExtension");
7189
7223
  function isExtended(sf) {
7190
7224
  return sf[NgExtension] !== void 0;
@@ -7244,13 +7278,13 @@ function retagTsFile(sf) {
7244
7278
  }
7245
7279
  }
7246
7280
 
7247
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
7281
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
7248
7282
  var TS_EXTENSIONS = /\.tsx?$/i;
7249
7283
  function makeShimFileName(fileName, suffix) {
7250
7284
  return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
7251
7285
  }
7252
7286
 
7253
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
7287
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
7254
7288
  var ShimAdapter = class {
7255
7289
  delegate;
7256
7290
  shims = /* @__PURE__ */ new Map();
@@ -7347,7 +7381,7 @@ var ShimAdapter = class {
7347
7381
  }
7348
7382
  };
7349
7383
 
7350
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
7384
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
7351
7385
  var ShimReferenceTagger = class {
7352
7386
  suffixes;
7353
7387
  tagged = /* @__PURE__ */ new Set();
@@ -7382,7 +7416,7 @@ var ShimReferenceTagger = class {
7382
7416
  }
7383
7417
  };
7384
7418
 
7385
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
7419
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
7386
7420
  var DelegatingCompilerHost = class {
7387
7421
  delegate;
7388
7422
  createHash;
@@ -7533,7 +7567,7 @@ var TsCreateProgramDriver = class {
7533
7567
  }
7534
7568
  };
7535
7569
 
7536
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
7570
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
7537
7571
  import ts28 from "typescript";
7538
7572
  function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
7539
7573
  var _a;
@@ -7644,7 +7678,7 @@ function parseTemplateAsSourceFile(fileName, template) {
7644
7678
  );
7645
7679
  }
7646
7680
 
7647
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
7681
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
7648
7682
  var TEMPLATE_ID = Symbol("ngTemplateId");
7649
7683
  var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
7650
7684
  function getTemplateId(clazz) {
@@ -7661,11 +7695,11 @@ function allocateTemplateId(sf) {
7661
7695
  return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
7662
7696
  }
7663
7697
 
7664
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
7698
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
7665
7699
  import { EmptyExpr, ImplicitReceiver, PropertyRead, PropertyWrite, SafePropertyRead, TmplAstLetDeclaration, TmplAstReference, TmplAstTextAttribute } from "@angular/compiler";
7666
7700
  import ts30 from "typescript";
7667
7701
 
7668
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
7702
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
7669
7703
  import { AbsoluteSourceSpan } from "@angular/compiler";
7670
7704
  import ts29 from "typescript";
7671
7705
  var parseSpanComment = /^(\d+),(\d+)$/;
@@ -7796,7 +7830,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
7796
7830
  }) || false;
7797
7831
  }
7798
7832
 
7799
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
7833
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
7800
7834
  var CompletionEngine = class {
7801
7835
  tcb;
7802
7836
  data;
@@ -8248,22 +8282,6 @@ var Mappings = class {
8248
8282
  let first = true;
8249
8283
  let charInHiresBoundary = false;
8250
8284
  while (originalCharIndex < chunk.end) {
8251
- if (this.hires || first || sourcemapLocations.has(originalCharIndex)) {
8252
- const segment = [this.generatedCodeColumn, sourceIndex, loc.line, loc.column];
8253
- if (this.hires === "boundary") {
8254
- if (wordRegex.test(original[originalCharIndex])) {
8255
- if (!charInHiresBoundary) {
8256
- this.rawSegments.push(segment);
8257
- charInHiresBoundary = true;
8258
- }
8259
- } else {
8260
- this.rawSegments.push(segment);
8261
- charInHiresBoundary = false;
8262
- }
8263
- } else {
8264
- this.rawSegments.push(segment);
8265
- }
8266
- }
8267
8285
  if (original[originalCharIndex] === "\n") {
8268
8286
  loc.line += 1;
8269
8287
  loc.column = 0;
@@ -8272,6 +8290,22 @@ var Mappings = class {
8272
8290
  this.generatedCodeColumn = 0;
8273
8291
  first = true;
8274
8292
  } else {
8293
+ if (this.hires || first || sourcemapLocations.has(originalCharIndex)) {
8294
+ const segment = [this.generatedCodeColumn, sourceIndex, loc.line, loc.column];
8295
+ if (this.hires === "boundary") {
8296
+ if (wordRegex.test(original[originalCharIndex])) {
8297
+ if (!charInHiresBoundary) {
8298
+ this.rawSegments.push(segment);
8299
+ charInHiresBoundary = true;
8300
+ }
8301
+ } else {
8302
+ this.rawSegments.push(segment);
8303
+ charInHiresBoundary = false;
8304
+ }
8305
+ } else {
8306
+ this.rawSegments.push(segment);
8307
+ }
8308
+ }
8275
8309
  loc.column += 1;
8276
8310
  this.generatedCodeColumn += 1;
8277
8311
  first = false;
@@ -8991,10 +9025,10 @@ var MagicString = class {
8991
9025
  }
8992
9026
  };
8993
9027
 
8994
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
9028
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
8995
9029
  import ts43 from "typescript";
8996
9030
 
8997
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
9031
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
8998
9032
  import { DomElementSchemaRegistry } from "@angular/compiler";
8999
9033
  import ts31 from "typescript";
9000
9034
  var REGISTRY = new DomElementSchemaRegistry();
@@ -9048,10 +9082,10 @@ var RegistryDomSchemaChecker = class {
9048
9082
  }
9049
9083
  };
9050
9084
 
9051
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
9085
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
9052
9086
  import ts36 from "typescript";
9053
9087
 
9054
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/reference_emit_environment.mjs
9088
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/reference_emit_environment.mjs
9055
9089
  import { ExpressionType, ExternalExpr as ExternalExpr6, TypeModifier } from "@angular/compiler";
9056
9090
  var ReferenceEmitEnvironment = class {
9057
9091
  importManager;
@@ -9066,7 +9100,7 @@ var ReferenceEmitEnvironment = class {
9066
9100
  }
9067
9101
  canReferenceType(ref, flags = ImportFlags.NoAliasing | ImportFlags.AllowTypeImports | ImportFlags.AllowRelativeDtsImports) {
9068
9102
  const result = this.refEmitter.emit(ref, this.contextFile, flags);
9069
- return result.kind === 0;
9103
+ return result.kind === ReferenceEmitKind.Success;
9070
9104
  }
9071
9105
  referenceType(ref, flags = ImportFlags.NoAliasing | ImportFlags.AllowTypeImports | ImportFlags.AllowRelativeDtsImports) {
9072
9106
  const ngExpr = this.refEmitter.emit(ref, this.contextFile, flags);
@@ -9086,7 +9120,7 @@ var ReferenceEmitEnvironment = class {
9086
9120
  }
9087
9121
  };
9088
9122
 
9089
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
9123
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
9090
9124
  import ts32 from "typescript";
9091
9125
  var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
9092
9126
  ts32.SyntaxKind.ParenthesizedExpression,
@@ -9169,15 +9203,15 @@ function tsNumericExpression(value) {
9169
9203
  return ts32.factory.createNumericLiteral(value);
9170
9204
  }
9171
9205
 
9172
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
9206
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
9173
9207
  import { ExpressionType as ExpressionType2, R3Identifiers as R3Identifiers3, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
9174
9208
  import ts35 from "typescript";
9175
9209
 
9176
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
9210
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
9177
9211
  import { R3Identifiers as R3Identifiers2 } from "@angular/compiler";
9178
9212
  import ts34 from "typescript";
9179
9213
 
9180
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
9214
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
9181
9215
  import ts33 from "typescript";
9182
9216
  var TypeParameterEmitter = class {
9183
9217
  typeParameters;
@@ -9257,7 +9291,7 @@ var TypeParameterEmitter = class {
9257
9291
  }
9258
9292
  };
9259
9293
 
9260
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
9294
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
9261
9295
  var TCB_FILE_IMPORT_GRAPH_PREPARE_IDENTIFIERS = [
9262
9296
  R3Identifiers2.InputSignalBrandWriteType
9263
9297
  ];
@@ -9349,7 +9383,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
9349
9383
  return emitter.canEmit((ref) => env.canReferenceType(ref));
9350
9384
  }
9351
9385
 
9352
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
9386
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
9353
9387
  function generateTypeCtorDeclarationFn(env, meta, nodeTypeRef, typeParams) {
9354
9388
  const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
9355
9389
  const rawType = ts35.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
@@ -9472,7 +9506,7 @@ function typeParametersWithDefaultTypes(params) {
9472
9506
  });
9473
9507
  }
9474
9508
 
9475
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
9509
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
9476
9510
  var Environment = class extends ReferenceEmitEnvironment {
9477
9511
  config;
9478
9512
  nextIds = {
@@ -9545,7 +9579,7 @@ var Environment = class extends ReferenceEmitEnvironment {
9545
9579
  }
9546
9580
  };
9547
9581
 
9548
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
9582
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
9549
9583
  import { AbsoluteSourceSpan as AbsoluteSourceSpan2, TmplAstElement } from "@angular/compiler";
9550
9584
  import ts37 from "typescript";
9551
9585
  var OutOfBandDiagnosticRecorderImpl = class {
@@ -9748,7 +9782,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
9748
9782
  };
9749
9783
  }
9750
9784
 
9751
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
9785
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
9752
9786
  import ts38 from "typescript";
9753
9787
  var TypeCheckShimGenerator = class {
9754
9788
  extensionPrefix = "ngtypecheck";
@@ -9764,11 +9798,11 @@ var TypeCheckShimGenerator = class {
9764
9798
  }
9765
9799
  };
9766
9800
 
9767
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
9801
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
9768
9802
  import { BindingPipe, BindingType, Call as Call2, createCssSelectorFromNode, CssSelector as CssSelector2, DYNAMIC_TYPE, ImplicitReceiver as ImplicitReceiver2, ParsedEventType, PropertyRead as PropertyRead3, PropertyWrite as PropertyWrite2, R3Identifiers as R3Identifiers4, SafeCall, SafePropertyRead as SafePropertyRead3, SelectorMatcher as SelectorMatcher2, ThisReceiver, TmplAstBoundAttribute, TmplAstBoundText, TmplAstContent, TmplAstDeferredBlock, TmplAstElement as TmplAstElement2, TmplAstForLoopBlock, TmplAstIcu, TmplAstIfBlock, TmplAstIfBlockBranch, TmplAstLetDeclaration as TmplAstLetDeclaration2, TmplAstReference as TmplAstReference2, TmplAstSwitchBlock, TmplAstTemplate, TmplAstText, TmplAstTextAttribute as TmplAstTextAttribute2, TmplAstVariable, TransplantedType } from "@angular/compiler";
9769
9803
  import ts41 from "typescript";
9770
9804
 
9771
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
9805
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
9772
9806
  import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
9773
9807
  import ts39 from "typescript";
9774
9808
  function wrapForDiagnostics(expr) {
@@ -9824,7 +9858,7 @@ function translateDiagnostic(diagnostic, resolver) {
9824
9858
  return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
9825
9859
  }
9826
9860
 
9827
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
9861
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
9828
9862
  import { ASTWithSource, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead2, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
9829
9863
  import ts40 from "typescript";
9830
9864
  var ANY_EXPRESSION = ts40.factory.createAsExpression(ts40.factory.createNumericLiteral("0"), ts40.factory.createKeywordTypeNode(ts40.SyntaxKind.AnyKeyword));
@@ -10166,7 +10200,7 @@ var _VeSafeLhsInferenceBugDetector = class {
10166
10200
  var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
10167
10201
  __publicField(VeSafeLhsInferenceBugDetector, "SINGLETON", new _VeSafeLhsInferenceBugDetector());
10168
10202
 
10169
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
10203
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
10170
10204
  var TcbGenericContextBehavior;
10171
10205
  (function(TcbGenericContextBehavior2) {
10172
10206
  TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
@@ -11853,7 +11887,7 @@ var TcbForLoopTrackTranslator = class extends TcbExpressionTranslator {
11853
11887
  }
11854
11888
  };
11855
11889
 
11856
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
11890
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
11857
11891
  import ts42 from "typescript";
11858
11892
  var TypeCheckFile = class extends Environment {
11859
11893
  fileName;
@@ -11902,7 +11936,7 @@ var TypeCheckFile = class extends Environment {
11902
11936
  }
11903
11937
  };
11904
11938
 
11905
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
11939
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
11906
11940
  var InliningMode;
11907
11941
  (function(InliningMode2) {
11908
11942
  InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
@@ -12170,10 +12204,10 @@ var TypeCtorOp = class {
12170
12204
  }
12171
12205
  };
12172
12206
 
12173
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
12207
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
12174
12208
  import { ParseLocation as ParseLocation2, ParseSourceSpan as ParseSourceSpan2 } from "@angular/compiler";
12175
12209
 
12176
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
12210
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
12177
12211
  var LF_CHAR = 10;
12178
12212
  var CR_CHAR = 13;
12179
12213
  var LINE_SEP_CHAR = 8232;
@@ -12214,7 +12248,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
12214
12248
  return low - 1;
12215
12249
  }
12216
12250
 
12217
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
12251
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
12218
12252
  var TemplateSource = class {
12219
12253
  mapping;
12220
12254
  file;
@@ -12265,7 +12299,7 @@ var TemplateSourceManager = class {
12265
12299
  }
12266
12300
  };
12267
12301
 
12268
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
12302
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
12269
12303
  import { AST, ASTWithName, ASTWithSource as ASTWithSource2, BindingPipe as BindingPipe2, PropertyRead as PropertyRead4, PropertyWrite as PropertyWrite3, R3Identifiers as R3Identifiers5, SafePropertyRead as SafePropertyRead4, TmplAstBoundAttribute as TmplAstBoundAttribute2, TmplAstBoundEvent, TmplAstElement as TmplAstElement3, TmplAstLetDeclaration as TmplAstLetDeclaration3, TmplAstReference as TmplAstReference3, TmplAstTemplate as TmplAstTemplate2, TmplAstTextAttribute as TmplAstTextAttribute3, TmplAstVariable as TmplAstVariable2 } from "@angular/compiler";
12270
12304
  import ts44 from "typescript";
12271
12305
  var SymbolBuilder = class {
@@ -12847,7 +12881,7 @@ function unwrapSignalInputWriteTAccessor(expr) {
12847
12881
  };
12848
12882
  }
12849
12883
 
12850
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
12884
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
12851
12885
  var REGISTRY2 = new DomElementSchemaRegistry2();
12852
12886
  var TemplateTypeCheckerImpl = class {
12853
12887
  originalProgram;
@@ -12887,7 +12921,7 @@ var TemplateTypeCheckerImpl = class {
12887
12921
  this.perf = perf;
12888
12922
  }
12889
12923
  getTemplate(component, optimizeFor) {
12890
- const { data } = this.getLatestComponentState(component);
12924
+ const { data } = this.getLatestComponentState(component, optimizeFor);
12891
12925
  if (data === null) {
12892
12926
  return null;
12893
12927
  }
@@ -13363,7 +13397,7 @@ var TemplateTypeCheckerImpl = class {
13363
13397
  emit(kind, refTo, inContext) {
13364
13398
  var _a, _b;
13365
13399
  const emittedRef = this.refEmitter.emit(refTo, inContext.getSourceFile());
13366
- if (emittedRef.kind === 1) {
13400
+ if (emittedRef.kind === ReferenceEmitKind.Failed) {
13367
13401
  return null;
13368
13402
  }
13369
13403
  const emitted = emittedRef.expression;
@@ -13572,10 +13606,10 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
13572
13606
  }
13573
13607
  };
13574
13608
 
13575
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/hmr/src/metadata.mjs
13609
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/hmr/src/metadata.mjs
13576
13610
  import { outputAst as o3 } from "@angular/compiler";
13577
13611
 
13578
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/hmr/src/extract_locals.mjs
13612
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/hmr/src/extract_locals.mjs
13579
13613
  import { outputAst as o2 } from "@angular/compiler";
13580
13614
  import ts45 from "typescript";
13581
13615
  function extractHmrLocals(node, definition, factory, classMetadata, debugInfo) {
@@ -13693,7 +13727,7 @@ var PotentialTopLevelReadsVisitor = class extends o2.RecursiveAstVisitor {
13693
13727
  }
13694
13728
  };
13695
13729
 
13696
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/hmr/src/metadata.mjs
13730
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/hmr/src/metadata.mjs
13697
13731
  function extractHmrMetatadata(clazz, reflection, compilerHost, rootDirs, definition, factory, classMetadata, debugInfo) {
13698
13732
  if (!reflection.isClass(clazz)) {
13699
13733
  return null;
@@ -13710,7 +13744,7 @@ function extractHmrMetatadata(clazz, reflection, compilerHost, rootDirs, definit
13710
13744
  return meta;
13711
13745
  }
13712
13746
 
13713
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/hmr/src/update_declaration.mjs
13747
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/hmr/src/update_declaration.mjs
13714
13748
  import { compileHmrUpdateCallback } from "@angular/compiler";
13715
13749
  import ts46 from "typescript";
13716
13750
  function getHmrUpdateDeclaration(compilationResults, constantStatements, meta, sourceFile) {
@@ -13742,7 +13776,7 @@ var HmrModuleImportRewriter = class {
13742
13776
  }
13743
13777
  };
13744
13778
 
13745
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
13779
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
13746
13780
  var EMPTY_ARRAY2 = [];
13747
13781
  var isUsedDirective = (decl) => decl.kind === R3TemplateDependencyKind.Directive;
13748
13782
  var isUsedPipe = (decl) => decl.kind === R3TemplateDependencyKind.Pipe;
@@ -14896,7 +14930,7 @@ function isDefaultImport(node) {
14896
14930
  return node.importClause !== void 0 && node.importClause.namedBindings === void 0;
14897
14931
  }
14898
14932
 
14899
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
14933
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
14900
14934
  import { compileClassMetadata as compileClassMetadata3, compileDeclareClassMetadata as compileDeclareClassMetadata3, compileDeclareInjectableFromMetadata, compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression3, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr10 } from "@angular/compiler";
14901
14935
  import ts48 from "typescript";
14902
14936
  var InjectableDecoratorHandler = class {
@@ -15137,7 +15171,7 @@ function getDep(dep, reflector) {
15137
15171
  return meta;
15138
15172
  }
15139
15173
 
15140
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
15174
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
15141
15175
  import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5 } from "@angular/compiler";
15142
15176
  import ts49 from "typescript";
15143
15177
  var PipeSymbol = class extends SemanticSymbol {
@@ -15385,4 +15419,4 @@ export {
15385
15419
  * Use of this source code is governed by an MIT-style license that can be
15386
15420
  * found in the LICENSE file at https://angular.dev/license
15387
15421
  */
15388
- //# sourceMappingURL=chunk-S2JI2WY5.js.map
15422
+ //# sourceMappingURL=chunk-OM3GHCE5.js.map