@angular/core 17.0.0-next.0 → 17.0.0-next.1

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.
@@ -63,7 +63,7 @@ var __async = (__this, __arguments, generator) => {
63
63
  });
64
64
  };
65
65
 
66
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
66
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
67
67
  var standalone_migration_exports = {};
68
68
  __export(standalone_migration_exports, {
69
69
  default: () => standalone_migration_default
@@ -71,10 +71,10 @@ __export(standalone_migration_exports, {
71
71
  module.exports = __toCommonJS(standalone_migration_exports);
72
72
  var import_schematics = require("@angular-devkit/schematics");
73
73
 
74
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
74
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
75
75
  var import_typescript = __toESM(require("typescript"), 1);
76
76
 
77
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
77
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
78
78
  var InvalidFileSystem = class {
79
79
  exists(path3) {
80
80
  throw makeError();
@@ -162,7 +162,7 @@ function makeError() {
162
162
  return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
163
163
  }
164
164
 
165
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
165
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
166
166
  var TS_DTS_JS_EXTENSION = /(?:\.d)?\.ts$|\.js$/;
167
167
  function stripExtension(path3) {
168
168
  return path3.replace(TS_DTS_JS_EXTENSION, "");
@@ -175,7 +175,7 @@ function getSourceFileOrError(program, fileName) {
175
175
  return sf;
176
176
  }
177
177
 
178
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
178
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
179
179
  var fs = new InvalidFileSystem();
180
180
  function getFileSystem() {
181
181
  return fs;
@@ -219,7 +219,7 @@ function toRelativeImport(relativePath) {
219
219
  return isLocalRelativePath(relativePath) ? `./${relativePath}` : relativePath;
220
220
  }
221
221
 
222
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
222
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
223
223
  var LogicalProjectPath = {
224
224
  relativePathBetween: function(from, to) {
225
225
  const relativePath = relative(dirname(resolve(from)), resolve(to));
@@ -265,7 +265,7 @@ function isWithinBasePath(base, path3) {
265
265
  return isLocalRelativePath(relative(base, path3));
266
266
  }
267
267
 
268
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
268
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
269
269
  var import_fs = __toESM(require("fs"), 1);
270
270
  var import_module = __toESM(require("module"), 1);
271
271
  var p = __toESM(require("path"), 1);
@@ -373,7 +373,7 @@ function toggleCase(str) {
373
373
  return str.replace(/\w/g, (ch) => ch.toUpperCase() === ch ? ch.toLowerCase() : ch.toUpperCase());
374
374
  }
375
375
 
376
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/selector.mjs
376
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/selector.mjs
377
377
  var _SELECTOR_REGEXP = new RegExp(
378
378
  `(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,
379
379
  "g"
@@ -681,7 +681,7 @@ var SelectorContext = class {
681
681
  }
682
682
  };
683
683
 
684
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/core.mjs
684
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/core.mjs
685
685
  var emitDistinctChangesOnlyDefaultValue = true;
686
686
  var ViewEncapsulation;
687
687
  (function(ViewEncapsulation2) {
@@ -744,7 +744,7 @@ function parseSelectorToR3Selector(selector) {
744
744
  return selector ? CssSelector.parse(selector).map(parserSelectorToR3Selector) : [];
745
745
  }
746
746
 
747
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
747
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
748
748
  var output_ast_exports = {};
749
749
  __export(output_ast_exports, {
750
750
  ArrayType: () => ArrayType,
@@ -830,7 +830,7 @@ __export(output_ast_exports, {
830
830
  variable: () => variable
831
831
  });
832
832
 
833
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/big_integer.mjs
833
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/big_integer.mjs
834
834
  var BigInteger = class {
835
835
  static zero() {
836
836
  return new BigInteger([0]);
@@ -922,7 +922,7 @@ var BigIntExponentiation = class {
922
922
  }
923
923
  };
924
924
 
925
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
925
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
926
926
  var textEncoder;
927
927
  function digest(message) {
928
928
  return message.id || computeDigest(message);
@@ -1185,7 +1185,7 @@ function wordsToDecimalString(hi, lo) {
1185
1185
  return decimal.toString();
1186
1186
  }
1187
1187
 
1188
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
1188
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
1189
1189
  var TypeModifier;
1190
1190
  (function(TypeModifier2) {
1191
1191
  TypeModifier2[TypeModifier2["None"] = 0] = "None";
@@ -2334,7 +2334,7 @@ function serializeTags(tags) {
2334
2334
  return out;
2335
2335
  }
2336
2336
 
2337
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/constant_pool.mjs
2337
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/constant_pool.mjs
2338
2338
  var CONSTANT_PREFIX = "_c";
2339
2339
  var UNKNOWN_VALUE_KEY = variable("<unknown>");
2340
2340
  var KEY_CONTEXT = {};
@@ -2502,7 +2502,7 @@ function isLongStringLiteral(expr) {
2502
2502
  return expr instanceof LiteralExpr && typeof expr.value === "string" && expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS;
2503
2503
  }
2504
2504
 
2505
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
2505
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
2506
2506
  var CORE = "@angular/core";
2507
2507
  var _Identifiers = class {
2508
2508
  };
@@ -2732,6 +2732,9 @@ var Identifiers = _Identifiers;
2732
2732
  (() => {
2733
2733
  _Identifiers.deferPrefetchOnViewport = { name: "\u0275\u0275deferPrefetchOnViewport", moduleName: CORE };
2734
2734
  })();
2735
+ (() => {
2736
+ _Identifiers.conditional = { name: "\u0275\u0275conditional", moduleName: CORE };
2737
+ })();
2735
2738
  (() => {
2736
2739
  _Identifiers.text = { name: "\u0275\u0275text", moduleName: CORE };
2737
2740
  })();
@@ -3111,7 +3114,7 @@ var Identifiers = _Identifiers;
3111
3114
  _Identifiers.validateIframeAttribute = { name: "\u0275\u0275validateIframeAttribute", moduleName: CORE };
3112
3115
  })();
3113
3116
 
3114
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/util.mjs
3117
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/util.mjs
3115
3118
  var DASH_CASE_REGEXP = /-+([a-z0-9])/g;
3116
3119
  function dashCaseToCamelCase(input) {
3117
3120
  return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
@@ -3199,7 +3202,7 @@ function partitionArray(arr, conditionFn) {
3199
3202
  return [truthy, falsy];
3200
3203
  }
3201
3204
 
3202
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/source_map.mjs
3205
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/source_map.mjs
3203
3206
  var VERSION = 3;
3204
3207
  var JS_B64_PREFIX = "# sourceMappingURL=data:application/json;base64,";
3205
3208
  var SourceMapGenerator = class {
@@ -3328,7 +3331,7 @@ function toBase64Digit(value) {
3328
3331
  return B64_DIGITS[value];
3329
3332
  }
3330
3333
 
3331
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
3334
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
3332
3335
  var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
3333
3336
  var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;
3334
3337
  var _INDENT_WITH = " ";
@@ -3806,7 +3809,7 @@ function _createIndent(count) {
3806
3809
  return res;
3807
3810
  }
3808
3811
 
3809
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/util.mjs
3812
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/util.mjs
3810
3813
  function typeWithParameters(type, numParams) {
3811
3814
  if (numParams === 0) {
3812
3815
  return expressionType(type);
@@ -3874,7 +3877,7 @@ function generateForwardRef(expr) {
3874
3877
  return importExpr(Identifiers.forwardRef).callFn([fn([], [new ReturnStatement(expr)])]);
3875
3878
  }
3876
3879
 
3877
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
3880
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
3878
3881
  var R3FactoryDelegateType;
3879
3882
  (function(R3FactoryDelegateType2) {
3880
3883
  R3FactoryDelegateType2[R3FactoryDelegateType2["Class"] = 0] = "Class";
@@ -4019,7 +4022,7 @@ function getInjectFn(target) {
4019
4022
  }
4020
4023
  }
4021
4024
 
4022
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
4025
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
4023
4026
  var Comment = class {
4024
4027
  constructor(value, sourceSpan) {
4025
4028
  this.value = value;
@@ -4252,10 +4255,11 @@ var SwitchBlockCase = class {
4252
4255
  }
4253
4256
  };
4254
4257
  var ForLoopBlock = class {
4255
- constructor(itemName, expression, trackBy, children, empty, sourceSpan, startSourceSpan, endSourceSpan) {
4258
+ constructor(itemName, expression, trackBy, contextVariables, children, empty, sourceSpan, startSourceSpan, endSourceSpan) {
4256
4259
  this.itemName = itemName;
4257
4260
  this.expression = expression;
4258
4261
  this.trackBy = trackBy;
4262
+ this.contextVariables = contextVariables;
4259
4263
  this.children = children;
4260
4264
  this.empty = empty;
4261
4265
  this.sourceSpan = sourceSpan;
@@ -4451,7 +4455,7 @@ function visitAll(visitor, nodes) {
4451
4455
  return result;
4452
4456
  }
4453
4457
 
4454
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
4458
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
4455
4459
  var Message = class {
4456
4460
  constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
4457
4461
  this.nodes = nodes;
@@ -4614,7 +4618,7 @@ var LocalizeMessageStringVisitor = class {
4614
4618
  }
4615
4619
  };
4616
4620
 
4617
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/serializer.mjs
4621
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/serializer.mjs
4618
4622
  var Serializer = class {
4619
4623
  createNameMapper(message) {
4620
4624
  return null;
@@ -4666,7 +4670,7 @@ var SimplePlaceholderMapper = class extends RecurseVisitor {
4666
4670
  }
4667
4671
  };
4668
4672
 
4669
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
4673
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
4670
4674
  var _Visitor = class {
4671
4675
  visitTag(tag) {
4672
4676
  const strAttrs = this._serializeAttributes(tag.attrs);
@@ -4754,7 +4758,7 @@ function escapeXml(text2) {
4754
4758
  return _ESCAPED_CHARS.reduce((text3, entry) => text3.replace(entry[0], entry[1]), text2);
4755
4759
  }
4756
4760
 
4757
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
4761
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
4758
4762
  var _MESSAGES_TAG = "messagebundle";
4759
4763
  var _MESSAGE_TAG = "msg";
4760
4764
  var _PLACEHOLDER_TAG = "ph";
@@ -4897,7 +4901,7 @@ function toPublicName(internalName) {
4897
4901
  return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, "_");
4898
4902
  }
4899
4903
 
4900
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
4904
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
4901
4905
  var CLOSURE_TRANSLATION_VAR_PREFIX = "MSG_";
4902
4906
  var TRANSLATION_VAR_PREFIX = "i18n_";
4903
4907
  var I18N_ATTR = "i18n";
@@ -4999,7 +5003,7 @@ function declareI18nVariable(variable2) {
4999
5003
  return new DeclareVarStmt(variable2.name, void 0, INFERRED_TYPE, void 0, variable2.sourceSpan);
5000
5004
  }
5001
5005
 
5002
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
5006
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
5003
5007
  var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
5004
5008
  var TEMPORARY_NAME = "_t";
5005
5009
  var CONTEXT_NAME = "ctx";
@@ -5008,6 +5012,7 @@ var REFERENCE_PREFIX = "_r";
5008
5012
  var IMPLICIT_REFERENCE = "$implicit";
5009
5013
  var NON_BINDABLE_ATTR = "ngNonBindable";
5010
5014
  var RESTORED_VIEW_CONTEXT_NAME = "restoredCtx";
5015
+ var DIRECT_CONTEXT_REFERENCE = "#context";
5011
5016
  var MAX_CHAIN_LENGTH = 500;
5012
5017
  var CHAINABLE_INSTRUCTIONS = /* @__PURE__ */ new Set([
5013
5018
  Identifiers.element,
@@ -5215,7 +5220,7 @@ function getInstructionStatements(instructions) {
5215
5220
  return statements;
5216
5221
  }
5217
5222
 
5218
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
5223
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
5219
5224
  function compileInjectable(meta, resolveForwardRefs) {
5220
5225
  let result = null;
5221
5226
  const factoryMeta = {
@@ -5303,7 +5308,7 @@ function createFactoryFunction(type) {
5303
5308
  return fn([new FnParam("t", DYNAMIC_TYPE)], [new ReturnStatement(type.prop("\u0275fac").callFn([variable("t")]))]);
5304
5309
  }
5305
5310
 
5306
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/assertions.mjs
5311
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/assertions.mjs
5307
5312
  var UNUSABLE_INTERPOLATION_REGEXPS = [
5308
5313
  /^\s*$/,
5309
5314
  /[<>]/,
@@ -5325,7 +5330,7 @@ function assertInterpolationSymbols(identifier, value) {
5325
5330
  }
5326
5331
  }
5327
5332
 
5328
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/interpolation_config.mjs
5333
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/interpolation_config.mjs
5329
5334
  var InterpolationConfig = class {
5330
5335
  static fromArray(markers) {
5331
5336
  if (!markers) {
@@ -5341,7 +5346,7 @@ var InterpolationConfig = class {
5341
5346
  };
5342
5347
  var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig("{{", "}}");
5343
5348
 
5344
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/chars.mjs
5349
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/chars.mjs
5345
5350
  var $EOF = 0;
5346
5351
  var $BSPACE = 8;
5347
5352
  var $TAB = 9;
@@ -5422,7 +5427,7 @@ function isQuote(code) {
5422
5427
  return code === $SQ || code === $DQ || code === $BT;
5423
5428
  }
5424
5429
 
5425
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/parse_util.mjs
5430
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/parse_util.mjs
5426
5431
  var ParseLocation = class {
5427
5432
  constructor(file, offset, line, col) {
5428
5433
  this.file = file;
@@ -5569,7 +5574,7 @@ function sanitizeIdentifier(name) {
5569
5574
  return name.replace(/\W/g, "_");
5570
5575
  }
5571
5576
 
5572
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
5577
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
5573
5578
  var makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
5574
5579
  var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
5575
5580
  constructor() {
@@ -5640,7 +5645,7 @@ var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
5640
5645
  }
5641
5646
  };
5642
5647
 
5643
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
5648
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
5644
5649
  var policy;
5645
5650
  function getPolicy() {
5646
5651
  if (policy === void 0) {
@@ -5677,7 +5682,7 @@ function newTrustedFunctionForJIT(...args) {
5677
5682
  return fn2.bind(_global);
5678
5683
  }
5679
5684
 
5680
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
5685
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
5681
5686
  var JitEvaluator = class {
5682
5687
  evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
5683
5688
  const converter = new JitEmitterVisitor(refResolver);
@@ -5768,7 +5773,7 @@ function isUseStrictStatement(statement) {
5768
5773
  return statement.isEquivalent(literal("use strict").toStmt());
5769
5774
  }
5770
5775
 
5771
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
5776
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
5772
5777
  function compileInjector(meta) {
5773
5778
  const definitionMap = new DefinitionMap();
5774
5779
  if (meta.providers !== null) {
@@ -5785,7 +5790,7 @@ function createInjectorType(meta) {
5785
5790
  return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
5786
5791
  }
5787
5792
 
5788
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
5793
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
5789
5794
  var R3JitReflector = class {
5790
5795
  constructor(context) {
5791
5796
  this.context = context;
@@ -5801,7 +5806,7 @@ var R3JitReflector = class {
5801
5806
  }
5802
5807
  };
5803
5808
 
5804
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
5809
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
5805
5810
  var R3SelectorScopeMode;
5806
5811
  (function(R3SelectorScopeMode2) {
5807
5812
  R3SelectorScopeMode2[R3SelectorScopeMode2["Inline"] = 0] = "Inline";
@@ -5945,7 +5950,7 @@ function tupleOfTypes(types) {
5945
5950
  return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
5946
5951
  }
5947
5952
 
5948
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
5953
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
5949
5954
  function compilePipeFromMetadata(metadata) {
5950
5955
  const definitionMapValues = [];
5951
5956
  definitionMapValues.push({ key: "name", value: literal(metadata.pipeName), quoted: false });
@@ -5966,7 +5971,7 @@ function createPipeType(metadata) {
5966
5971
  ]));
5967
5972
  }
5968
5973
 
5969
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
5974
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
5970
5975
  var R3TemplateDependencyKind;
5971
5976
  (function(R3TemplateDependencyKind2) {
5972
5977
  R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive";
@@ -5974,7 +5979,7 @@ var R3TemplateDependencyKind;
5974
5979
  R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule";
5975
5980
  })(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
5976
5981
 
5977
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
5982
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
5978
5983
  var ParserError = class {
5979
5984
  constructor(message, input, errLocation, ctxLocation) {
5980
5985
  this.input = input;
@@ -6640,7 +6645,7 @@ var BoundElementProperty = class {
6640
6645
  }
6641
6646
  };
6642
6647
 
6643
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/compiler_util/expression_converter.mjs
6648
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler_util/expression_converter.mjs
6644
6649
  var _EventHandlerVars = class {
6645
6650
  };
6646
6651
  var EventHandlerVars = _EventHandlerVars;
@@ -7262,7 +7267,7 @@ var BuiltinFunctionCall = class extends Call {
7262
7267
  }
7263
7268
  };
7264
7269
 
7265
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
7270
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
7266
7271
  var _SECURITY_SCHEMA;
7267
7272
  function SECURITY_SCHEMA() {
7268
7273
  if (!_SECURITY_SCHEMA) {
@@ -7320,7 +7325,7 @@ function isIframeSecuritySensitiveAttr(attrName) {
7320
7325
  return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
7321
7326
  }
7322
7327
 
7323
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/shadow_css.mjs
7328
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/shadow_css.mjs
7324
7329
  var animationKeywords = /* @__PURE__ */ new Set([
7325
7330
  "inherit",
7326
7331
  "initial",
@@ -7787,7 +7792,7 @@ function repeatGroups(groups, multiples) {
7787
7792
  }
7788
7793
  }
7789
7794
 
7790
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
7795
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
7791
7796
  var OpKind;
7792
7797
  (function(OpKind2) {
7793
7798
  OpKind2[OpKind2["ListEnd"] = 0] = "ListEnd";
@@ -7872,7 +7877,7 @@ var BindingKind;
7872
7877
  BindingKind2[BindingKind2["Animation"] = 6] = "Animation";
7873
7878
  })(BindingKind || (BindingKind = {}));
7874
7879
 
7875
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
7880
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
7876
7881
  var ConsumesSlot = Symbol("ConsumesSlot");
7877
7882
  var DependsOnSlotContext = Symbol("DependsOnSlotContext");
7878
7883
  var UsesSlotIndex = Symbol("UsesSlotIndex");
@@ -7913,7 +7918,7 @@ function hasUsesSlotIndexTrait(value) {
7913
7918
  return value[UsesSlotIndex] === true;
7914
7919
  }
7915
7920
 
7916
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
7921
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
7917
7922
  function createStatementOp(statement) {
7918
7923
  return __spreadValues({
7919
7924
  kind: OpKind.Statement,
@@ -7934,7 +7939,7 @@ var NEW_OP = {
7934
7939
  next: null
7935
7940
  };
7936
7941
 
7937
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
7942
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
7938
7943
  function createInterpolateTextOp(xref, interpolation, sourceSpan) {
7939
7944
  return __spreadValues(__spreadValues(__spreadValues({
7940
7945
  kind: OpKind.InterpolateText,
@@ -8032,7 +8037,7 @@ function createAdvanceOp(delta, sourceSpan) {
8032
8037
  }, NEW_OP);
8033
8038
  }
8034
8039
 
8035
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
8040
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
8036
8041
  var _a;
8037
8042
  var _b;
8038
8043
  var _c;
@@ -8711,7 +8716,7 @@ function isStringLiteral(expr) {
8711
8716
  return expr instanceof LiteralExpr && typeof expr.value === "string";
8712
8717
  }
8713
8718
 
8714
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
8719
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
8715
8720
  var _OpList = class {
8716
8721
  constructor() {
8717
8722
  this.debugListId = _OpList.nextListId++;
@@ -8890,7 +8895,7 @@ var OpList = _OpList;
8890
8895
  _OpList.nextListId = 0;
8891
8896
  })();
8892
8897
 
8893
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
8898
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
8894
8899
  var elementContainerOpKinds = /* @__PURE__ */ new Set([
8895
8900
  OpKind.Element,
8896
8901
  OpKind.ElementStart,
@@ -9009,7 +9014,7 @@ function createExtractedAttributeOp(target, bindingKind, name, expression) {
9009
9014
  }, NEW_OP);
9010
9015
  }
9011
9016
 
9012
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
9017
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
9013
9018
  function createHostPropertyOp(name, expression, sourceSpan) {
9014
9019
  return __spreadValues(__spreadValues({
9015
9020
  kind: OpKind.HostProperty,
@@ -9019,7 +9024,7 @@ function createHostPropertyOp(name, expression, sourceSpan) {
9019
9024
  }, TRAIT_CONSUMES_VARS), NEW_OP);
9020
9025
  }
9021
9026
 
9022
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
9027
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
9023
9028
  var CompilationUnit = class {
9024
9029
  constructor(xref) {
9025
9030
  this.xref = xref;
@@ -9110,7 +9115,7 @@ var ViewCompilationUnit = class extends CompilationUnit {
9110
9115
  }
9111
9116
  };
9112
9117
 
9113
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
9118
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
9114
9119
  function phaseVarCounting(job) {
9115
9120
  for (const unit of job.units) {
9116
9121
  let varCount = 0;
@@ -9183,7 +9188,7 @@ function varsUsedByIrExpression(expr) {
9183
9188
  }
9184
9189
  }
9185
9190
 
9186
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/align_pipe_variadic_var_offset.mjs
9191
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/align_pipe_variadic_var_offset.mjs
9187
9192
  function phaseAlignPipeVariadicVarOffset(cpl) {
9188
9193
  for (const view of cpl.views.values()) {
9189
9194
  for (const op of view.update) {
@@ -9204,7 +9209,7 @@ function phaseAlignPipeVariadicVarOffset(cpl) {
9204
9209
  }
9205
9210
  }
9206
9211
 
9207
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
9212
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
9208
9213
  function phaseFindAnyCasts(cpl) {
9209
9214
  for (const [_, view] of cpl.views) {
9210
9215
  for (const op of view.ops()) {
@@ -9222,7 +9227,7 @@ function removeAnys(e) {
9222
9227
  return e;
9223
9228
  }
9224
9229
 
9225
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
9230
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
9226
9231
  function getElementsByXrefId(view) {
9227
9232
  const elements = /* @__PURE__ */ new Map();
9228
9233
  for (const op of view.create) {
@@ -9234,7 +9239,7 @@ function getElementsByXrefId(view) {
9234
9239
  return elements;
9235
9240
  }
9236
9241
 
9237
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
9242
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
9238
9243
  function phaseAttributeExtraction(cpl) {
9239
9244
  for (const [_, view] of cpl.views) {
9240
9245
  const elements = getElementsByXrefId(view);
@@ -9288,7 +9293,7 @@ function extractAttributeOp(view, op, elements) {
9288
9293
  }
9289
9294
  }
9290
9295
 
9291
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
9296
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
9292
9297
  function lookupElement2(elements, xref) {
9293
9298
  const el = elements.get(xref);
9294
9299
  if (el === void 0) {
@@ -9338,7 +9343,7 @@ function phaseBindingSpecialization(job) {
9338
9343
  }
9339
9344
  }
9340
9345
 
9341
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
9346
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
9342
9347
  var CHAINABLE = /* @__PURE__ */ new Set([
9343
9348
  Identifiers.elementStart,
9344
9349
  Identifiers.elementEnd,
@@ -9400,7 +9405,7 @@ function chainOperationsInList(opList) {
9400
9405
  }
9401
9406
  }
9402
9407
 
9403
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
9408
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
9404
9409
  var TagContentType;
9405
9410
  (function(TagContentType2) {
9406
9411
  TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
@@ -9433,7 +9438,7 @@ function mergeNsAndName(prefix, localName) {
9433
9438
  return prefix ? `:${prefix}:${localName}` : localName;
9434
9439
  }
9435
9440
 
9436
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
9441
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
9437
9442
  function phaseConstCollection(cpl) {
9438
9443
  const elementAttributes = /* @__PURE__ */ new Map();
9439
9444
  for (const [_, view] of cpl.views) {
@@ -9547,7 +9552,7 @@ function serializeAttributes({ attributes, bindings, classes, i18n, projectAs, s
9547
9552
  return literalArr(attrArray);
9548
9553
  }
9549
9554
 
9550
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
9555
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
9551
9556
  var REPLACEMENTS = /* @__PURE__ */ new Map([
9552
9557
  [OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
9553
9558
  [OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]]
@@ -9568,7 +9573,7 @@ function phaseEmptyElements(cpl) {
9568
9573
  }
9569
9574
  }
9570
9575
 
9571
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
9576
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
9572
9577
  function phaseExpandSafeReads(job) {
9573
9578
  for (const unit of job.units) {
9574
9579
  for (const op of unit.ops()) {
@@ -9704,7 +9709,7 @@ function ternaryTransform(e) {
9704
9709
  return new ConditionalExpr(new BinaryOperatorExpr(BinaryOperator.Equals, e.guard, NULL_EXPR), NULL_EXPR, e.expr);
9705
9710
  }
9706
9711
 
9707
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
9712
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
9708
9713
  function phaseGenerateAdvance(cpl) {
9709
9714
  for (const [_, view] of cpl.views) {
9710
9715
  const slotMap = /* @__PURE__ */ new Map();
@@ -9736,7 +9741,7 @@ function phaseGenerateAdvance(cpl) {
9736
9741
  }
9737
9742
  }
9738
9743
 
9739
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
9744
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
9740
9745
  function phaseGenerateVariables(cpl) {
9741
9746
  recursivelyProcessView(cpl.root, null);
9742
9747
  }
@@ -9816,7 +9821,7 @@ function generateVariablesInScopeForView(view, scope) {
9816
9821
  return newOps;
9817
9822
  }
9818
9823
 
9819
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
9824
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
9820
9825
  var STYLE_DOT = "style.";
9821
9826
  var CLASS_DOT = "class.";
9822
9827
  function phaseHostStylePropertyParsing(job) {
@@ -9864,7 +9869,7 @@ function parseProperty(name) {
9864
9869
  return { property: property2, suffix };
9865
9870
  }
9866
9871
 
9867
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
9872
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
9868
9873
  function phaseLocalRefs(cpl) {
9869
9874
  for (const view of cpl.views.values()) {
9870
9875
  for (const op of view.create) {
@@ -9895,7 +9900,7 @@ function serializeLocalRefs(refs) {
9895
9900
  return literalArr(constRefs);
9896
9901
  }
9897
9902
 
9898
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
9903
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
9899
9904
  function phaseNamespace(job) {
9900
9905
  for (const [_, view] of job.views) {
9901
9906
  let activeNamespace = Namespace.HTML;
@@ -9911,7 +9916,7 @@ function phaseNamespace(job) {
9911
9916
  }
9912
9917
  }
9913
9918
 
9914
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/style_parser.mjs
9919
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/style_parser.mjs
9915
9920
  function parse(value) {
9916
9921
  const styles = [];
9917
9922
  let i = 0;
@@ -9972,7 +9977,7 @@ function hyphenate2(value) {
9972
9977
  }).toLowerCase();
9973
9978
  }
9974
9979
 
9975
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
9980
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
9976
9981
  var BINARY_OPERATORS = /* @__PURE__ */ new Map([
9977
9982
  ["&&", BinaryOperator.And],
9978
9983
  [">", BinaryOperator.Bigger],
@@ -10015,7 +10020,7 @@ function prefixWithNamespace(strippedTag, namespace) {
10015
10020
  return `:${keyForNamespace(namespace)}:${strippedTag}`;
10016
10021
  }
10017
10022
 
10018
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
10023
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
10019
10024
  function phaseNaming(cpl) {
10020
10025
  addNamesToView(cpl.root, cpl.componentName, { index: 0 }, cpl.compatibility === CompatibilityMode.TemplateDefinitionBuilder);
10021
10026
  }
@@ -10110,7 +10115,7 @@ function stripImportant(name) {
10110
10115
  return name;
10111
10116
  }
10112
10117
 
10113
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
10118
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
10114
10119
  function phaseMergeNextContext(cpl) {
10115
10120
  for (const view of cpl.views.values()) {
10116
10121
  for (const op of view.create) {
@@ -10155,7 +10160,7 @@ function mergeNextContextsInOps(ops) {
10155
10160
  }
10156
10161
  }
10157
10162
 
10158
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
10163
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
10159
10164
  var CONTAINER_TAG = "ng-container";
10160
10165
  function phaseNgContainer(cpl) {
10161
10166
  for (const [_, view] of cpl.views) {
@@ -10172,7 +10177,7 @@ function phaseNgContainer(cpl) {
10172
10177
  }
10173
10178
  }
10174
10179
 
10175
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/no_listeners_on_templates.mjs
10180
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/no_listeners_on_templates.mjs
10176
10181
  function phaseNoListenersOnTemplates(job) {
10177
10182
  for (const unit of job.units) {
10178
10183
  let inTemplate = false;
@@ -10197,7 +10202,7 @@ function phaseNoListenersOnTemplates(job) {
10197
10202
  }
10198
10203
  }
10199
10204
 
10200
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
10205
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
10201
10206
  function lookupElement3(elements, xref) {
10202
10207
  const el = elements.get(xref);
10203
10208
  if (el === void 0) {
@@ -10227,7 +10232,7 @@ function phaseNonbindable(job) {
10227
10232
  }
10228
10233
  }
10229
10234
 
10230
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
10235
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
10231
10236
  function phaseNullishCoalescing(job) {
10232
10237
  for (const unit of job.units) {
10233
10238
  for (const op of unit.ops()) {
@@ -10243,7 +10248,7 @@ function phaseNullishCoalescing(job) {
10243
10248
  }
10244
10249
  }
10245
10250
 
10246
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
10251
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
10247
10252
  function phaseParseExtractedStyles(cpl) {
10248
10253
  for (const [_, view] of cpl.views) {
10249
10254
  for (const op of view.create) {
@@ -10266,7 +10271,7 @@ function phaseParseExtractedStyles(cpl) {
10266
10271
  }
10267
10272
  }
10268
10273
 
10269
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
10274
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
10270
10275
  function phasePipeCreation(cpl) {
10271
10276
  for (const view of cpl.views.values()) {
10272
10277
  processPipeBindingsInView(view);
@@ -10309,7 +10314,7 @@ function addPipeToCreationBlock(view, afterTargetXref, binding) {
10309
10314
  throw new Error(`AssertionError: unable to find insertion point for pipe ${binding.name}`);
10310
10315
  }
10311
10316
 
10312
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
10317
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
10313
10318
  function phasePipeVariadic(cpl) {
10314
10319
  for (const view of cpl.views.values()) {
10315
10320
  for (const op of view.update) {
@@ -10326,7 +10331,7 @@ function phasePipeVariadic(cpl) {
10326
10331
  }
10327
10332
  }
10328
10333
 
10329
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/property_ordering.mjs
10334
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/property_ordering.mjs
10330
10335
  function kindTest(kind) {
10331
10336
  return (op) => op.kind === kind;
10332
10337
  }
@@ -10386,7 +10391,7 @@ function keepLast(ops) {
10386
10391
  return ops.slice(ops.length - 1);
10387
10392
  }
10388
10393
 
10389
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
10394
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
10390
10395
  function phasePureFunctionExtraction(job) {
10391
10396
  for (const view of job.units) {
10392
10397
  for (const op of view.ops()) {
@@ -10428,7 +10433,7 @@ var PureFunctionConstant = class extends GenericKeyFn {
10428
10433
  }
10429
10434
  };
10430
10435
 
10431
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
10436
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
10432
10437
  function phasePureLiteralStructures(job) {
10433
10438
  for (const view of job.units) {
10434
10439
  for (const op of view.update) {
@@ -10475,7 +10480,7 @@ function transformLiteralMap(expr) {
10475
10480
  return new PureFunctionExpr(literalMap(derivedEntries), nonConstantArgs);
10476
10481
  }
10477
10482
 
10478
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
10483
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
10479
10484
  function element(slot, tag, constIndex, localRefIndex, sourceSpan) {
10480
10485
  return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex, sourceSpan);
10481
10486
  }
@@ -10859,7 +10864,7 @@ function callVariadicInstruction(config, baseArgs, interpolationArgs, extraArgs,
10859
10864
  return createStatementOp(callVariadicInstructionExpr(config, baseArgs, interpolationArgs, extraArgs, sourceSpan).toStmt());
10860
10865
  }
10861
10866
 
10862
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
10867
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
10863
10868
  var sanitizerIdentifierMap = /* @__PURE__ */ new Map([
10864
10869
  [SanitizerFn.Html, Identifiers.sanitizeHtml],
10865
10870
  [SanitizerFn.IframeAttribute, Identifiers.validateIframeAttribute],
@@ -11081,7 +11086,7 @@ function reifyListenerHandler(unit, name, handlerOps, consumesDollarEvent) {
11081
11086
  return fn(params, handlerStmts, void 0, void 0, name);
11082
11087
  }
11083
11088
 
11084
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
11089
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
11085
11090
  function phaseRemoveEmptyBindings(job) {
11086
11091
  for (const unit of job.units) {
11087
11092
  for (const op of unit.update) {
@@ -11102,7 +11107,7 @@ function phaseRemoveEmptyBindings(job) {
11102
11107
  }
11103
11108
  }
11104
11109
 
11105
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
11110
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
11106
11111
  function phaseResolveContexts(cpl) {
11107
11112
  for (const unit of cpl.units) {
11108
11113
  processLexicalScope(unit, unit.create);
@@ -11140,7 +11145,7 @@ function processLexicalScope(view, ops) {
11140
11145
  }
11141
11146
  }
11142
11147
 
11143
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
11148
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
11144
11149
  function phaseResolveDollarEvent(cpl) {
11145
11150
  for (const [_, view] of cpl.views) {
11146
11151
  resolveDollarEvent(view, view.create);
@@ -11161,7 +11166,7 @@ function resolveDollarEvent(view, ops) {
11161
11166
  }
11162
11167
  }
11163
11168
 
11164
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
11169
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
11165
11170
  function phaseResolveNames(cpl) {
11166
11171
  for (const unit of cpl.units) {
11167
11172
  processLexicalScope2(unit, unit.create, null);
@@ -11224,7 +11229,7 @@ function processLexicalScope2(unit, ops, savedView) {
11224
11229
  }
11225
11230
  }
11226
11231
 
11227
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
11232
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
11228
11233
  var sanitizers = /* @__PURE__ */ new Map([
11229
11234
  [SecurityContext.HTML, SanitizerFn.Html],
11230
11235
  [SecurityContext.SCRIPT, SanitizerFn.Script],
@@ -11260,7 +11265,7 @@ function isIframeElement(op) {
11260
11265
  return (op.kind === OpKind.Element || op.kind === OpKind.ElementStart) && op.tag.toLowerCase() === "iframe";
11261
11266
  }
11262
11267
 
11263
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
11268
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
11264
11269
  function phaseSaveRestoreView(cpl) {
11265
11270
  for (const view of cpl.views.values()) {
11266
11271
  view.create.prepend([
@@ -11305,7 +11310,7 @@ function addSaveRestoreViewOperationToListener(view, op) {
11305
11310
  }
11306
11311
  }
11307
11312
 
11308
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
11313
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
11309
11314
  function phaseSlotAllocation(cpl) {
11310
11315
  const slotMap = /* @__PURE__ */ new Map();
11311
11316
  for (const [_, view] of cpl.views) {
@@ -11348,7 +11353,7 @@ function phaseSlotAllocation(cpl) {
11348
11353
  }
11349
11354
  }
11350
11355
 
11351
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
11356
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
11352
11357
  function phaseStyleBindingSpecialization(cpl) {
11353
11358
  for (const unit of cpl.units) {
11354
11359
  for (const op of unit.update) {
@@ -11378,7 +11383,7 @@ function phaseStyleBindingSpecialization(cpl) {
11378
11383
  }
11379
11384
  }
11380
11385
 
11381
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
11386
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
11382
11387
  function phaseTemporaryVariables(cpl) {
11383
11388
  for (const unit of cpl.units) {
11384
11389
  let opCount = 0;
@@ -11423,7 +11428,7 @@ function assignName(names, expr) {
11423
11428
  expr.name = name;
11424
11429
  }
11425
11430
 
11426
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
11431
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
11427
11432
  function phaseVariableOptimization(job) {
11428
11433
  for (const unit of job.units) {
11429
11434
  optimizeVariablesInOpList(unit.create, job.compatibility);
@@ -11633,7 +11638,7 @@ function allowConservativeInlining(decl, target) {
11633
11638
  }
11634
11639
  }
11635
11640
 
11636
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
11641
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
11637
11642
  function transformTemplate(job) {
11638
11643
  phaseNamespace(job);
11639
11644
  phaseStyleBindingSpecialization(job);
@@ -11785,7 +11790,7 @@ function emitHostBindingFunction(job) {
11785
11790
  );
11786
11791
  }
11787
11792
 
11788
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
11793
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
11789
11794
  var compatibilityMode = CompatibilityMode.TemplateDefinitionBuilder;
11790
11795
  function ingestComponent(componentName, template2, constantPool) {
11791
11796
  const cpl = new ComponentCompilationJob(componentName, constantPool, compatibilityMode);
@@ -12028,10 +12033,10 @@ function assertIsArray(value) {
12028
12033
  }
12029
12034
  }
12030
12035
 
12031
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/switch/index.mjs
12036
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/switch/index.mjs
12032
12037
  var USE_TEMPLATE_PIPELINE = false;
12033
12038
 
12034
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/styling_builder.mjs
12039
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/styling_builder.mjs
12035
12040
  var IMPORTANT_FLAG = "!important";
12036
12041
  var MIN_STYLING_BINDING_SLOTS_REQUIRED = 2;
12037
12042
  var StylingBuilder = class {
@@ -12364,7 +12369,7 @@ function isEmptyExpression(ast) {
12364
12369
  return ast instanceof EmptyExpr;
12365
12370
  }
12366
12371
 
12367
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
12372
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
12368
12373
  var TokenType;
12369
12374
  (function(TokenType2) {
12370
12375
  TokenType2[TokenType2["Character"] = 0] = "Character";
@@ -12725,7 +12730,7 @@ function parseIntAutoRadix(text2) {
12725
12730
  return result;
12726
12731
  }
12727
12732
 
12728
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
12733
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
12729
12734
  var SplitInterpolation = class {
12730
12735
  constructor(strings, expressions, offsets) {
12731
12736
  this.strings = strings;
@@ -13619,7 +13624,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
13619
13624
  return offsetMap;
13620
13625
  }
13621
13626
 
13622
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
13627
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
13623
13628
  var NodeWithI18n = class {
13624
13629
  constructor(sourceSpan, i18n) {
13625
13630
  this.sourceSpan = sourceSpan;
@@ -13740,11 +13745,11 @@ function visitAll2(visitor, nodes, context = null) {
13740
13745
  return result;
13741
13746
  }
13742
13747
 
13743
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
13748
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
13744
13749
  var ElementSchemaRegistry = class {
13745
13750
  };
13746
13751
 
13747
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
13752
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
13748
13753
  var BOOLEAN = "boolean";
13749
13754
  var NUMBER = "number";
13750
13755
  var STRING = "string";
@@ -14097,7 +14102,7 @@ function _isPixelDimensionStyle(prop) {
14097
14102
  }
14098
14103
  }
14099
14104
 
14100
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
14105
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
14101
14106
  var HtmlTagDefinition = class {
14102
14107
  constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
14103
14108
  this.closedByChildren = {};
@@ -14215,7 +14220,7 @@ function getHtmlTagDefinition(tagName) {
14215
14220
  return (_b2 = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b2 : DEFAULT_TAG_DEFINITION;
14216
14221
  }
14217
14222
 
14218
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
14223
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
14219
14224
  var NAMED_ENTITIES = {
14220
14225
  "AElig": "\xC6",
14221
14226
  "AMP": "&",
@@ -16346,7 +16351,7 @@ var NAMED_ENTITIES = {
16346
16351
  var NGSP_UNICODE = "\uE500";
16347
16352
  NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
16348
16353
 
16349
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
16354
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
16350
16355
  var TokenError = class extends ParseError {
16351
16356
  constructor(errorMsg, tokenType, span) {
16352
16357
  super(span, errorMsg);
@@ -17265,7 +17270,7 @@ var CursorError = class {
17265
17270
  }
17266
17271
  };
17267
17272
 
17268
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
17273
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
17269
17274
  var TreeError = class extends ParseError {
17270
17275
  static create(elementName, span, msg) {
17271
17276
  return new TreeError(elementName, span, msg);
@@ -17667,7 +17672,7 @@ function decodeEntity(match, entity) {
17667
17672
  return match;
17668
17673
  }
17669
17674
 
17670
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
17675
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
17671
17676
  var HtmlParser = class extends Parser2 {
17672
17677
  constructor() {
17673
17678
  super(getHtmlTagDefinition);
@@ -17677,7 +17682,7 @@ var HtmlParser = class extends Parser2 {
17677
17682
  }
17678
17683
  };
17679
17684
 
17680
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
17685
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
17681
17686
  var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
17682
17687
  var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
17683
17688
  var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
@@ -17746,7 +17751,7 @@ function visitAllWithSiblings(visitor, nodes) {
17746
17751
  return result;
17747
17752
  }
17748
17753
 
17749
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/map_util.mjs
17754
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/map_util.mjs
17750
17755
  function mapLiteral(obj, quoted = false) {
17751
17756
  return literalMap(Object.keys(obj).map((key) => ({
17752
17757
  key,
@@ -17755,7 +17760,7 @@ function mapLiteral(obj, quoted = false) {
17755
17760
  })));
17756
17761
  }
17757
17762
 
17758
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
17763
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
17759
17764
  var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
17760
17765
  "iframe|srcdoc",
17761
17766
  "*|innerhtml",
@@ -17770,7 +17775,7 @@ function isTrustedTypesSink(tagName, propName) {
17770
17775
  return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
17771
17776
  }
17772
17777
 
17773
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
17778
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
17774
17779
  var PROPERTY_PARTS_SEPARATOR = ".";
17775
17780
  var ATTRIBUTE_PREFIX = "attr";
17776
17781
  var CLASS_PREFIX = "class";
@@ -18090,7 +18095,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
18090
18095
  return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
18091
18096
  }
18092
18097
 
18093
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
18098
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
18094
18099
  function isStyleUrlResolvable(url) {
18095
18100
  if (url == null || url.length === 0 || url[0] == "/")
18096
18101
  return false;
@@ -18099,7 +18104,7 @@ function isStyleUrlResolvable(url) {
18099
18104
  }
18100
18105
  var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
18101
18106
 
18102
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
18107
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
18103
18108
  var NG_CONTENT_SELECT_ATTR = "select";
18104
18109
  var LINK_ELEMENT = "link";
18105
18110
  var LINK_STYLE_REL_ATTR = "rel";
@@ -18169,11 +18174,13 @@ function normalizeNgContentSelect(selectAttr) {
18169
18174
  return selectAttr;
18170
18175
  }
18171
18176
 
18172
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
18177
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
18173
18178
  var FOR_LOOP_EXPRESSION_PATTERN = /^\s*([0-9A-Za-z_$]*)\s+of\s+(.*)/;
18174
18179
  var FOR_LOOP_TRACK_PATTERN = /^track\s+(.*)/;
18175
18180
  var CONDITIONAL_ALIAS_PATTERN = /^as\s+(.*)/;
18176
18181
  var ELSE_IF_PATTERN = /^if\s/;
18182
+ var FOR_LOOP_LET_PATTERN = /^let\s+(.*)/;
18183
+ var ALLOWED_FOR_LOOP_LET_VARIABLES = /* @__PURE__ */ new Set(["$index", "$first", "$last", "$even", "$odd", "$count"]);
18177
18184
  function createIfBlock(ast, visitor, bindingParser) {
18178
18185
  const errors = validateIfBlock(ast);
18179
18186
  const branches = [];
@@ -18186,8 +18193,7 @@ function createIfBlock(ast, visitor, bindingParser) {
18186
18193
  branches.push(new IfBlockBranch(null, children, null, block.sourceSpan, block.startSourceSpan));
18187
18194
  continue;
18188
18195
  }
18189
- const expressionStart = block.name === "if" ? 0 : 2;
18190
- const params = parseConditionalBlockParameters(block, errors, bindingParser, expressionStart);
18196
+ const params = parseConditionalBlockParameters(block, errors, bindingParser);
18191
18197
  if (params !== null) {
18192
18198
  branches.push(new IfBlockBranch(params.expression, children, params.expressionAlias, block.sourceSpan, block.startSourceSpan));
18193
18199
  }
@@ -18220,7 +18226,7 @@ function createForLoop(ast, visitor, bindingParser) {
18220
18226
  if (params.trackBy === null) {
18221
18227
  errors.push(new ParseError(ast.sourceSpan, 'For loop must have a "track" expression'));
18222
18228
  } else {
18223
- node = new ForLoopBlock(params.itemName, params.expression, params.trackBy, visitAll2(visitor, primaryBlock.children), empty, ast.sourceSpan, ast.startSourceSpan, ast.endSourceSpan);
18229
+ node = new ForLoopBlock(params.itemName, params.expression, params.trackBy, params.context, visitAll2(visitor, primaryBlock.children), empty, ast.sourceSpan, ast.startSourceSpan, ast.endSourceSpan);
18224
18230
  }
18225
18231
  }
18226
18232
  return { node, errors };
@@ -18267,25 +18273,46 @@ function parseForLoopParameters(block, errors, bindingParser) {
18267
18273
  const result = {
18268
18274
  itemName,
18269
18275
  trackBy: null,
18270
- expression: bindingParser.parseBinding(
18271
- rawExpression,
18272
- false,
18273
- expressionParam.sourceSpan,
18274
- Math.max(0, expressionParam.expression.lastIndexOf(rawExpression))
18275
- )
18276
+ expression: parseBlockParameterToBinding(expressionParam, bindingParser, rawExpression),
18277
+ context: null
18276
18278
  };
18277
18279
  for (const param of secondaryParams) {
18280
+ const letMatch = param.expression.match(FOR_LOOP_LET_PATTERN);
18281
+ if (letMatch !== null) {
18282
+ result.context = result.context || {};
18283
+ parseLetParameter(param.sourceSpan, letMatch[1], result.context, errors);
18284
+ continue;
18285
+ }
18278
18286
  const trackMatch = param.expression.match(FOR_LOOP_TRACK_PATTERN);
18279
- if (trackMatch === null) {
18280
- errors.push(new ParseError(param.sourceSpan, `Unrecognized loop paramater "${param.expression}"`));
18281
- } else if (result.trackBy !== null) {
18282
- errors.push(new ParseError(param.sourceSpan, 'For loop can only have one "track" expression'));
18283
- } else {
18284
- result.trackBy = trackMatch[1].trim();
18287
+ if (trackMatch !== null) {
18288
+ if (result.trackBy !== null) {
18289
+ errors.push(new ParseError(param.sourceSpan, 'For loop can only have one "track" expression'));
18290
+ } else {
18291
+ result.trackBy = parseBlockParameterToBinding(param, bindingParser, trackMatch[1]);
18292
+ }
18293
+ continue;
18285
18294
  }
18295
+ errors.push(new ParseError(param.sourceSpan, `Unrecognized loop paramater "${param.expression}"`));
18286
18296
  }
18287
18297
  return result;
18288
18298
  }
18299
+ function parseLetParameter(sourceSpan, expression, context, errors) {
18300
+ const parts = expression.split(",");
18301
+ for (const part of parts) {
18302
+ const expressionParts = part.split("=");
18303
+ const name = expressionParts.length === 2 ? expressionParts[0].trim() : "";
18304
+ const variableName = expressionParts.length === 2 ? expressionParts[1].trim() : "";
18305
+ if (name.length === 0 || variableName.length === 0) {
18306
+ errors.push(new ParseError(sourceSpan, `Invalid for loop "let" parameter. Parameter should match the pattern "<name> = <variable name>"`));
18307
+ } else if (!ALLOWED_FOR_LOOP_LET_VARIABLES.has(variableName)) {
18308
+ errors.push(new ParseError(sourceSpan, `Unknown "let" parameter variable "${variableName}". The allowed variables are: ${Array.from(ALLOWED_FOR_LOOP_LET_VARIABLES).join(", ")}`));
18309
+ } else if (context.hasOwnProperty(variableName)) {
18310
+ errors.push(new ParseError(sourceSpan, `Duplicate "let" parameter variable "${variableName}"`));
18311
+ } else {
18312
+ context[variableName] = name;
18313
+ }
18314
+ }
18315
+ }
18289
18316
  function validateIfBlock(ast) {
18290
18317
  const errors = [];
18291
18318
  let hasElse = false;
@@ -18339,21 +18366,33 @@ function validateSwitchBlock(ast) {
18339
18366
  }
18340
18367
  return errors;
18341
18368
  }
18342
- function parseBlockParameterToBinding(ast, bindingParser, start = 0) {
18343
- return bindingParser.parseBinding(ast.expression.slice(start), false, ast.sourceSpan, ast.sourceSpan.start.offset + start);
18369
+ function parseBlockParameterToBinding(ast, bindingParser, part = 0) {
18370
+ let start;
18371
+ let end;
18372
+ if (typeof part === "number") {
18373
+ start = part;
18374
+ end = ast.expression.length;
18375
+ } else {
18376
+ start = Math.max(0, ast.expression.lastIndexOf(part));
18377
+ end = start + part.length;
18378
+ }
18379
+ return bindingParser.parseBinding(ast.expression.slice(start, end), false, ast.sourceSpan, ast.sourceSpan.start.offset + start);
18344
18380
  }
18345
- function parseConditionalBlockParameters(block, errors, bindingParser, primaryExpressionStart) {
18381
+ function parseConditionalBlockParameters(block, errors, bindingParser) {
18346
18382
  if (block.parameters.length === 0) {
18347
18383
  errors.push(new ParseError(block.sourceSpan, "Conditional block does not have an expression"));
18348
18384
  return null;
18349
18385
  }
18350
- const expression = parseBlockParameterToBinding(block.parameters[0], bindingParser, primaryExpressionStart);
18386
+ const isPrimaryIfBlock = block.name === "if";
18387
+ const expression = parseBlockParameterToBinding(block.parameters[0], bindingParser, isPrimaryIfBlock ? 0 : 2);
18351
18388
  let expressionAlias = null;
18352
18389
  for (let i = 1; i < block.parameters.length; i++) {
18353
18390
  const param = block.parameters[i];
18354
18391
  const aliasMatch = param.expression.match(CONDITIONAL_ALIAS_PATTERN);
18355
18392
  if (aliasMatch === null) {
18356
18393
  errors.push(new ParseError(param.sourceSpan, `Unrecognized conditional paramater "${param.expression}"`));
18394
+ } else if (!isPrimaryIfBlock) {
18395
+ errors.push(new ParseError(param.sourceSpan, '"as" expression is only allowed on the primary "if" block'));
18357
18396
  } else if (expressionAlias !== null) {
18358
18397
  errors.push(new ParseError(param.sourceSpan, 'Conditional can only have one "as" expression'));
18359
18398
  } else {
@@ -18403,7 +18442,7 @@ function stripOptionalParentheses(param, errors) {
18403
18442
  return expression.slice(start, end);
18404
18443
  }
18405
18444
 
18406
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
18445
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
18407
18446
  var TIME_PATTERN = /^\d+(ms|s)?$/;
18408
18447
  var SEPARATOR_PATTERN = /^\s$/;
18409
18448
  var COMMA_DELIMITED_SYNTAX = /* @__PURE__ */ new Map([
@@ -18642,7 +18681,7 @@ function parseDeferredTime(value) {
18642
18681
  return parseInt(time) * (units === "s" ? 1e3 : 1);
18643
18682
  }
18644
18683
 
18645
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
18684
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
18646
18685
  var PREFETCH_WHEN_PATTERN = /^prefetch\s+when\s/;
18647
18686
  var PREFETCH_ON_PATTERN = /^prefetch\s+on\s/;
18648
18687
  var MINIMUM_PARAMETER_PATTERN = /^minimum\s/;
@@ -18774,7 +18813,7 @@ function parsePrimaryTriggers(params, bindingParser, errors) {
18774
18813
  return { triggers, prefetchTriggers };
18775
18814
  }
18776
18815
 
18777
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
18816
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
18778
18817
  var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
18779
18818
  var KW_BIND_IDX = 1;
18780
18819
  var KW_LET_IDX = 2;
@@ -19181,7 +19220,7 @@ function textContents(node) {
19181
19220
  }
19182
19221
  }
19183
19222
 
19184
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/context.mjs
19223
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/context.mjs
19185
19224
  var TagType;
19186
19225
  (function(TagType2) {
19187
19226
  TagType2[TagType2["ELEMENT"] = 0] = "ELEMENT";
@@ -19316,7 +19355,7 @@ function serializePlaceholderValue(value) {
19316
19355
  }
19317
19356
  }
19318
19357
 
19319
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
19358
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
19320
19359
  var IcuSerializerVisitor = class {
19321
19360
  visitText(text2) {
19322
19361
  return text2.value;
@@ -19347,7 +19386,7 @@ function serializeIcuNode(icu) {
19347
19386
  return icu.visit(serializer);
19348
19387
  }
19349
19388
 
19350
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
19389
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
19351
19390
  var TAG_TO_PLACEHOLDER_NAMES = {
19352
19391
  "A": "LINK",
19353
19392
  "B": "BOLD_TEXT",
@@ -19441,7 +19480,7 @@ var PlaceholderRegistry = class {
19441
19480
  }
19442
19481
  };
19443
19482
 
19444
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
19483
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
19445
19484
  var _expParser = new Parser(new Lexer());
19446
19485
  function createI18nMessageFactory(interpolationConfig) {
19447
19486
  const visitor = new _I18nVisitor(_expParser, interpolationConfig);
@@ -19608,14 +19647,14 @@ function extractPlaceholderName(input) {
19608
19647
  return input.split(_CUSTOM_PH_EXP)[2];
19609
19648
  }
19610
19649
 
19611
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
19650
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
19612
19651
  var I18nError = class extends ParseError {
19613
19652
  constructor(span, msg) {
19614
19653
  super(span, msg);
19615
19654
  }
19616
19655
  };
19617
19656
 
19618
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
19657
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
19619
19658
  var setI18nRefs = (htmlNode, i18nNode) => {
19620
19659
  if (htmlNode instanceof NodeWithI18n) {
19621
19660
  if (i18nNode instanceof IcuPlaceholder && htmlNode.i18n instanceof Message) {
@@ -19775,7 +19814,7 @@ function i18nMetaToJSDoc(meta) {
19775
19814
  return jsDocComment(tags);
19776
19815
  }
19777
19816
 
19778
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
19817
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
19779
19818
  var GOOG_GET_MSG = "goog.getMsg";
19780
19819
  function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
19781
19820
  const messageString = serializeI18nMessageForGetMsg(message);
@@ -19823,7 +19862,7 @@ function serializeI18nMessageForGetMsg(message) {
19823
19862
  return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
19824
19863
  }
19825
19864
 
19826
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
19865
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
19827
19866
  function createLocalizeStatements(variable2, message, params) {
19828
19867
  const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
19829
19868
  const sourceSpan = getSourceSpan(message);
@@ -19906,7 +19945,7 @@ function createEmptyMessagePart(location) {
19906
19945
  return new LiteralPiece("", new ParseSourceSpan(location, location));
19907
19946
  }
19908
19947
 
19909
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
19948
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
19910
19949
  var NG_CONTENT_SELECT_ATTR2 = "select";
19911
19950
  var NG_PROJECT_AS_ATTR_NAME = "ngProjectAs";
19912
19951
  var EVENT_BINDING_SCOPE_GLOBALS = /* @__PURE__ */ new Set(["$event"]);
@@ -19983,6 +20022,7 @@ var TemplateDefinitionBuilder = class {
19983
20022
  this._updateCodeFns = [];
19984
20023
  this._currentIndex = 0;
19985
20024
  this._tempVariables = [];
20025
+ this._controlFlowTempVariable = null;
19986
20026
  this._nestedTemplateFns = [];
19987
20027
  this.i18n = null;
19988
20028
  this._pureFunctionSlots = 0;
@@ -19999,6 +20039,8 @@ var TemplateDefinitionBuilder = class {
19999
20039
  this.visitDeferredBlockError = invalid;
20000
20040
  this.visitDeferredBlockLoading = invalid;
20001
20041
  this.visitDeferredBlockPlaceholder = invalid;
20042
+ this.visitIfBlockBranch = invalid;
20043
+ this.visitSwitchBlockCase = invalid;
20002
20044
  this._bindingScope = parentBindingScope.nestedScope(level);
20003
20045
  this.fileBasedI18nSuffix = relativeContextFilePath.replace(/[^A-Za-z0-9]/g, "_") + "_";
20004
20046
  this._valueConverter = new ValueConverter(constantPool, () => this.allocateDataSlot(), (numSlots) => this.allocatePureFunctionSlots(numSlots), (name, localName, slot, value) => {
@@ -20069,13 +20111,18 @@ var TemplateDefinitionBuilder = class {
20069
20111
  registerContextVariables(variable2) {
20070
20112
  const scopedName = this._bindingScope.freshReferenceName();
20071
20113
  const retrievalLevel = this.level;
20114
+ const isDirect = variable2.value === DIRECT_CONTEXT_REFERENCE;
20072
20115
  const lhs = variable(variable2.name + scopedName);
20073
- this._bindingScope.set(retrievalLevel, variable2.name, lhs, 1, (scope, relativeLevel) => {
20116
+ this._bindingScope.set(retrievalLevel, variable2.name, (scope) => {
20117
+ return isDirect && scope.bindingLevel === retrievalLevel && !scope.isListenerScope() ? variable(CONTEXT_NAME) : lhs;
20118
+ }, 1, (scope, relativeLevel) => {
20074
20119
  let rhs;
20075
20120
  if (scope.bindingLevel === retrievalLevel) {
20076
20121
  if (scope.isListenerScope() && scope.hasRestoreViewVariable()) {
20077
20122
  rhs = variable(RESTORED_VIEW_CONTEXT_NAME);
20078
20123
  scope.notifyRestoredViewContextUse();
20124
+ } else if (isDirect) {
20125
+ return [];
20079
20126
  } else {
20080
20127
  rhs = variable(CONTEXT_NAME);
20081
20128
  }
@@ -20083,7 +20130,9 @@ var TemplateDefinitionBuilder = class {
20083
20130
  const sharedCtxVar = scope.getSharedContextName(retrievalLevel);
20084
20131
  rhs = sharedCtxVar ? sharedCtxVar : generateNextContextExpr(relativeLevel);
20085
20132
  }
20086
- return [lhs.set(rhs.prop(variable2.value || IMPLICIT_REFERENCE)).toConstDecl()];
20133
+ return [
20134
+ lhs.set(isDirect ? rhs : rhs.prop(variable2.value || IMPLICIT_REFERENCE)).toConstDecl()
20135
+ ];
20087
20136
  });
20088
20137
  }
20089
20138
  i18nAppendBindings(expressions) {
@@ -20524,6 +20573,76 @@ var TemplateDefinitionBuilder = class {
20524
20573
  }
20525
20574
  return null;
20526
20575
  }
20576
+ visitIfBlock(block) {
20577
+ const branchData = block.branches.map(({ expression, expressionAlias, children, sourceSpan }) => {
20578
+ let processedExpression = null;
20579
+ if (expression !== null) {
20580
+ processedExpression = expression.visit(this._valueConverter);
20581
+ this.allocateBindingSlots(processedExpression);
20582
+ }
20583
+ const variables = expressionAlias ? [new Variable(expressionAlias, DIRECT_CONTEXT_REFERENCE, sourceSpan, sourceSpan)] : void 0;
20584
+ return {
20585
+ index: this.createEmbeddedTemplateFn(null, children, "_Conditional", sourceSpan, variables),
20586
+ expression: processedExpression,
20587
+ alias: expressionAlias
20588
+ };
20589
+ });
20590
+ const containerIndex = branchData[0].index;
20591
+ const paramsCallback = () => {
20592
+ let contextVariable = null;
20593
+ const generateBranch = (branchIndex) => {
20594
+ if (branchIndex > branchData.length - 1) {
20595
+ return literal(-1);
20596
+ }
20597
+ const { index, expression, alias } = branchData[branchIndex];
20598
+ if (expression === null) {
20599
+ return literal(index);
20600
+ }
20601
+ let comparisonTarget;
20602
+ if (alias) {
20603
+ contextVariable = this.allocateControlFlowTempVariable();
20604
+ comparisonTarget = contextVariable.set(this.convertPropertyBinding(expression));
20605
+ } else {
20606
+ comparisonTarget = this.convertPropertyBinding(expression);
20607
+ }
20608
+ return comparisonTarget.conditional(literal(index), generateBranch(branchIndex + 1));
20609
+ };
20610
+ const params = [literal(containerIndex), generateBranch(0)];
20611
+ if (contextVariable !== null) {
20612
+ params.push(contextVariable);
20613
+ }
20614
+ return params;
20615
+ };
20616
+ this.updateInstructionWithAdvance(containerIndex, block.branches[0].sourceSpan, Identifiers.conditional, paramsCallback);
20617
+ }
20618
+ visitSwitchBlock(block) {
20619
+ const blockExpression = block.expression.visit(this._valueConverter);
20620
+ this.allocateBindingSlots(blockExpression);
20621
+ const caseData = block.cases.map((currentCase) => {
20622
+ const index = this.createEmbeddedTemplateFn(null, currentCase.children, "_Case", currentCase.sourceSpan);
20623
+ let expression = null;
20624
+ if (currentCase.expression !== null) {
20625
+ expression = currentCase.expression.visit(this._valueConverter);
20626
+ this.allocateBindingSlots(expression);
20627
+ }
20628
+ return { index, expression };
20629
+ });
20630
+ const containerIndex = caseData[0].index;
20631
+ this.updateInstructionWithAdvance(containerIndex, block.sourceSpan, Identifiers.conditional, () => {
20632
+ const generateCases = (caseIndex) => {
20633
+ if (caseIndex > caseData.length - 1) {
20634
+ return literal(-1);
20635
+ }
20636
+ const { index, expression } = caseData[caseIndex];
20637
+ if (expression === null) {
20638
+ return literal(index);
20639
+ }
20640
+ const comparisonTarget = caseIndex === 0 ? this.allocateControlFlowTempVariable().set(this.convertPropertyBinding(blockExpression)) : this.allocateControlFlowTempVariable();
20641
+ return comparisonTarget.identical(this.convertPropertyBinding(expression)).conditional(literal(index), generateCases(caseIndex + 1));
20642
+ };
20643
+ return [literal(containerIndex), generateCases(0)];
20644
+ });
20645
+ }
20527
20646
  visitDeferredBlock(deferred) {
20528
20647
  const { loading, placeholder, error: error2, triggers, prefetchTriggers } = deferred;
20529
20648
  const primaryTemplateIndex = this.createEmbeddedTemplateFn(null, deferred.children, "_Defer", deferred.sourceSpan);
@@ -20595,18 +20714,10 @@ var TemplateDefinitionBuilder = class {
20595
20714
  allocateDataSlot() {
20596
20715
  return this._dataIndex++;
20597
20716
  }
20598
- visitSwitchBlock(block) {
20599
- }
20600
- visitSwitchBlockCase(block) {
20601
- }
20602
20717
  visitForLoopBlock(block) {
20603
20718
  }
20604
20719
  visitForLoopBlockEmpty(block) {
20605
20720
  }
20606
- visitIfBlock(block) {
20607
- }
20608
- visitIfBlockBranch(block) {
20609
- }
20610
20721
  getConstCount() {
20611
20722
  return this._dataIndex;
20612
20723
  }
@@ -20705,6 +20816,14 @@ var TemplateDefinitionBuilder = class {
20705
20816
  this._tempVariables.push(...stmts);
20706
20817
  return args;
20707
20818
  }
20819
+ allocateControlFlowTempVariable() {
20820
+ if (this._controlFlowTempVariable === null) {
20821
+ const name = `${this.contextName}_contFlowTmp`;
20822
+ this._tempVariables.push(new DeclareVarStmt(name));
20823
+ this._controlFlowTempVariable = variable(name);
20824
+ }
20825
+ return this._controlFlowTempVariable;
20826
+ }
20708
20827
  getAttributeExpressions(elementName, renderAttributes, inputs, outputs, styles, templateAttrs = [], boundI18nAttrs = []) {
20709
20828
  const alreadySeen = /* @__PURE__ */ new Set();
20710
20829
  const attrExprs = [];
@@ -20952,7 +21071,7 @@ var BindingScope = class {
20952
21071
  if (value.declareLocalCallback && !value.declare) {
20953
21072
  value.declare = true;
20954
21073
  }
20955
- return value.lhs;
21074
+ return typeof value.lhs === "function" ? value.lhs(this) : value.lhs;
20956
21075
  }
20957
21076
  current = current.parent;
20958
21077
  }
@@ -21025,7 +21144,8 @@ var BindingScope = class {
21025
21144
  const componentValue = this.map.get(SHARED_CONTEXT_KEY + 0);
21026
21145
  componentValue.declare = true;
21027
21146
  this.maybeRestoreView();
21028
- return componentValue.lhs.prop(name);
21147
+ const lhs = typeof componentValue.lhs === "function" ? componentValue.lhs(this) : componentValue.lhs;
21148
+ return name === DIRECT_CONTEXT_REFERENCE ? lhs : lhs.prop(name);
21029
21149
  }
21030
21150
  maybeRestoreView() {
21031
21151
  if (this.isListenerScope()) {
@@ -21306,7 +21426,7 @@ function createClosureModeGuard() {
21306
21426
  return typeofExpr(variable(NG_I18N_CLOSURE_MODE)).notIdentical(literal("undefined", STRING_TYPE)).and(variable(NG_I18N_CLOSURE_MODE));
21307
21427
  }
21308
21428
 
21309
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
21429
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
21310
21430
  var ATTR_REGEX = /attr\.([^\]]+)/;
21311
21431
  var COMPONENT_VARIABLE = "%COMP%";
21312
21432
  var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
@@ -21887,11 +22007,11 @@ function createHostDirectivesMappingArray(mapping) {
21887
22007
  return elements.length > 0 ? literalArr(elements) : null;
21888
22008
  }
21889
22009
 
21890
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/resource_loader.mjs
22010
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/resource_loader.mjs
21891
22011
  var ResourceLoader = class {
21892
22012
  };
21893
22013
 
21894
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
22014
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
21895
22015
  var enabledBlockTypes;
21896
22016
  var CompilerFacadeImpl = class {
21897
22017
  constructor(jitEvaluator = new JitEvaluator()) {
@@ -22420,10 +22540,10 @@ function publishFacade(global) {
22420
22540
  ng.\u0275compilerFacade = new CompilerFacadeImpl();
22421
22541
  }
22422
22542
 
22423
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/version.mjs
22424
- var VERSION2 = new Version("17.0.0-next.0");
22543
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
22544
+ var VERSION2 = new Version("17.0.0-next.1");
22425
22545
 
22426
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
22546
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
22427
22547
  var _I18N_ATTR = "i18n";
22428
22548
  var _I18N_ATTR_PREFIX = "i18n-";
22429
22549
  var _I18N_COMMENT_PREFIX_REGEXP = /^i18n:?/;
@@ -22735,7 +22855,7 @@ function _parseMessageMeta(i18n) {
22735
22855
  return { meaning, description, id: id.trim() };
22736
22856
  }
22737
22857
 
22738
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
22858
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
22739
22859
  var XmlTagDefinition = class {
22740
22860
  constructor() {
22741
22861
  this.closedByParent = false;
@@ -22760,7 +22880,7 @@ function getXmlTagDefinition(tagName) {
22760
22880
  return _TAG_DEFINITION;
22761
22881
  }
22762
22882
 
22763
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/xml_parser.mjs
22883
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_parser.mjs
22764
22884
  var XmlParser = class extends Parser2 {
22765
22885
  constructor() {
22766
22886
  super(getXmlTagDefinition);
@@ -22770,7 +22890,7 @@ var XmlParser = class extends Parser2 {
22770
22890
  }
22771
22891
  };
22772
22892
 
22773
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff.mjs
22893
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff.mjs
22774
22894
  var _VERSION = "1.2";
22775
22895
  var _XMLNS = "urn:oasis:names:tc:xliff:document:1.2";
22776
22896
  var _DEFAULT_SOURCE_LANG = "en";
@@ -23022,7 +23142,7 @@ function getCtypeForTag(tag) {
23022
23142
  }
23023
23143
  }
23024
23144
 
23025
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff2.mjs
23145
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff2.mjs
23026
23146
  var _VERSION2 = "2.0";
23027
23147
  var _XMLNS2 = "urn:oasis:names:tc:xliff:document:2.0";
23028
23148
  var _DEFAULT_SOURCE_LANG2 = "en";
@@ -23325,7 +23445,7 @@ function getTypeForTag(tag) {
23325
23445
  }
23326
23446
  }
23327
23447
 
23328
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/message_bundle.mjs
23448
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/message_bundle.mjs
23329
23449
  var MessageBundle = class {
23330
23450
  constructor(_htmlParser, _implicitTags, _implicitAttrs, _locale = null) {
23331
23451
  this._htmlParser = _htmlParser;
@@ -23392,7 +23512,7 @@ var MapPlaceholderNames = class extends CloneVisitor {
23392
23512
  }
23393
23513
  };
23394
23514
 
23395
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
23515
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
23396
23516
  var FactoryTarget2;
23397
23517
  (function(FactoryTarget3) {
23398
23518
  FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
@@ -23402,7 +23522,7 @@ var FactoryTarget2;
23402
23522
  FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
23403
23523
  })(FactoryTarget2 || (FactoryTarget2 = {}));
23404
23524
 
23405
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
23525
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
23406
23526
  var R3TargetBinder = class {
23407
23527
  constructor(directiveMatcher) {
23408
23528
  this.directiveMatcher = directiveMatcher;
@@ -23911,7 +24031,7 @@ function extractTemplateEntities(rootScope) {
23911
24031
  return templateEntities;
23912
24032
  }
23913
24033
 
23914
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_class_metadata_compiler.mjs
24034
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_class_metadata_compiler.mjs
23915
24035
  function compileClassMetadata(metadata) {
23916
24036
  var _a2, _b2;
23917
24037
  const fnCall = importExpr(Identifiers.setClassMetadata).callFn([
@@ -23953,12 +24073,12 @@ function compileComponentClassMetadata(metadata, deferrableTypes) {
23953
24073
  return iife.callFn([]);
23954
24074
  }
23955
24075
 
23956
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/class_metadata.mjs
24076
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/class_metadata.mjs
23957
24077
  var MINIMUM_PARTIAL_LINKER_VERSION = "12.0.0";
23958
24078
  function compileDeclareClassMetadata(metadata) {
23959
24079
  const definitionMap = new DefinitionMap();
23960
24080
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
23961
- definitionMap.set("version", literal("17.0.0-next.0"));
24081
+ definitionMap.set("version", literal("17.0.0-next.1"));
23962
24082
  definitionMap.set("ngImport", importExpr(Identifiers.core));
23963
24083
  definitionMap.set("type", metadata.type);
23964
24084
  definitionMap.set("decorators", metadata.decorators);
@@ -23967,7 +24087,7 @@ function compileDeclareClassMetadata(metadata) {
23967
24087
  return importExpr(Identifiers.declareClassMetadata).callFn([definitionMap.toLiteralMap()]);
23968
24088
  }
23969
24089
 
23970
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/util.mjs
24090
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/util.mjs
23971
24091
  function toOptionalLiteralArray(values, mapper) {
23972
24092
  if (values === null || values.length === 0) {
23973
24093
  return null;
@@ -24015,8 +24135,8 @@ function compileDependency(dep) {
24015
24135
  return depMeta.toLiteralMap();
24016
24136
  }
24017
24137
 
24018
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/directive.mjs
24019
- var MINIMUM_PARTIAL_LINKER_VERSION2 = "14.0.0";
24138
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/directive.mjs
24139
+ var MINIMUM_PARTIAL_LINKER_VERSION2 = "16.1.0";
24020
24140
  function compileDeclareDirectiveFromMetadata(meta) {
24021
24141
  const definitionMap = createDirectiveDefinitionMap(meta);
24022
24142
  const expression = importExpr(Identifiers.declareDirective).callFn([definitionMap.toLiteralMap()]);
@@ -24026,8 +24146,10 @@ function compileDeclareDirectiveFromMetadata(meta) {
24026
24146
  function createDirectiveDefinitionMap(meta) {
24027
24147
  var _a2;
24028
24148
  const definitionMap = new DefinitionMap();
24029
- definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION2));
24030
- definitionMap.set("version", literal("17.0.0-next.0"));
24149
+ const hasTransformFunctions = Object.values(meta.inputs).some((input) => input.transformFunction !== null);
24150
+ const minVersion = hasTransformFunctions ? MINIMUM_PARTIAL_LINKER_VERSION2 : "14.0.0";
24151
+ definitionMap.set("minVersion", literal(minVersion));
24152
+ definitionMap.set("version", literal("17.0.0-next.1"));
24031
24153
  definitionMap.set("type", meta.type.value);
24032
24154
  if (meta.isStandalone) {
24033
24155
  definitionMap.set("isStandalone", literal(meta.isStandalone));
@@ -24120,7 +24242,7 @@ function createHostDirectives(hostDirectives) {
24120
24242
  return literalArr(expressions);
24121
24243
  }
24122
24244
 
24123
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/component.mjs
24245
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/component.mjs
24124
24246
  function compileDeclareComponentFromMetadata(meta, template2, additionalTemplateInfo) {
24125
24247
  const definitionMap = createComponentDefinitionMap(meta, template2, additionalTemplateInfo);
24126
24248
  const expression = importExpr(Identifiers.declareComponent).callFn([definitionMap.toLiteralMap()]);
@@ -24210,12 +24332,12 @@ function compileUsedDependenciesMetadata(meta) {
24210
24332
  });
24211
24333
  }
24212
24334
 
24213
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/factory.mjs
24335
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/factory.mjs
24214
24336
  var MINIMUM_PARTIAL_LINKER_VERSION3 = "12.0.0";
24215
24337
  function compileDeclareFactoryFunction(meta) {
24216
24338
  const definitionMap = new DefinitionMap();
24217
24339
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION3));
24218
- definitionMap.set("version", literal("17.0.0-next.0"));
24340
+ definitionMap.set("version", literal("17.0.0-next.1"));
24219
24341
  definitionMap.set("ngImport", importExpr(Identifiers.core));
24220
24342
  definitionMap.set("type", meta.type.value);
24221
24343
  definitionMap.set("deps", compileDependencies(meta.deps));
@@ -24227,7 +24349,7 @@ function compileDeclareFactoryFunction(meta) {
24227
24349
  };
24228
24350
  }
24229
24351
 
24230
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/injectable.mjs
24352
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/injectable.mjs
24231
24353
  var MINIMUM_PARTIAL_LINKER_VERSION4 = "12.0.0";
24232
24354
  function compileDeclareInjectableFromMetadata(meta) {
24233
24355
  const definitionMap = createInjectableDefinitionMap(meta);
@@ -24238,7 +24360,7 @@ function compileDeclareInjectableFromMetadata(meta) {
24238
24360
  function createInjectableDefinitionMap(meta) {
24239
24361
  const definitionMap = new DefinitionMap();
24240
24362
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION4));
24241
- definitionMap.set("version", literal("17.0.0-next.0"));
24363
+ definitionMap.set("version", literal("17.0.0-next.1"));
24242
24364
  definitionMap.set("ngImport", importExpr(Identifiers.core));
24243
24365
  definitionMap.set("type", meta.type.value);
24244
24366
  if (meta.providedIn !== void 0) {
@@ -24265,7 +24387,7 @@ function createInjectableDefinitionMap(meta) {
24265
24387
  return definitionMap;
24266
24388
  }
24267
24389
 
24268
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/injector.mjs
24390
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/injector.mjs
24269
24391
  var MINIMUM_PARTIAL_LINKER_VERSION5 = "12.0.0";
24270
24392
  function compileDeclareInjectorFromMetadata(meta) {
24271
24393
  const definitionMap = createInjectorDefinitionMap(meta);
@@ -24276,7 +24398,7 @@ function compileDeclareInjectorFromMetadata(meta) {
24276
24398
  function createInjectorDefinitionMap(meta) {
24277
24399
  const definitionMap = new DefinitionMap();
24278
24400
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION5));
24279
- definitionMap.set("version", literal("17.0.0-next.0"));
24401
+ definitionMap.set("version", literal("17.0.0-next.1"));
24280
24402
  definitionMap.set("ngImport", importExpr(Identifiers.core));
24281
24403
  definitionMap.set("type", meta.type.value);
24282
24404
  definitionMap.set("providers", meta.providers);
@@ -24286,7 +24408,7 @@ function createInjectorDefinitionMap(meta) {
24286
24408
  return definitionMap;
24287
24409
  }
24288
24410
 
24289
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/ng_module.mjs
24411
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/ng_module.mjs
24290
24412
  var MINIMUM_PARTIAL_LINKER_VERSION6 = "14.0.0";
24291
24413
  function compileDeclareNgModuleFromMetadata(meta) {
24292
24414
  const definitionMap = createNgModuleDefinitionMap(meta);
@@ -24300,7 +24422,7 @@ function createNgModuleDefinitionMap(meta) {
24300
24422
  throw new Error("Invalid path! Local compilation mode should not get into the partial compilation path");
24301
24423
  }
24302
24424
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION6));
24303
- definitionMap.set("version", literal("17.0.0-next.0"));
24425
+ definitionMap.set("version", literal("17.0.0-next.1"));
24304
24426
  definitionMap.set("ngImport", importExpr(Identifiers.core));
24305
24427
  definitionMap.set("type", meta.type.value);
24306
24428
  if (meta.bootstrap.length > 0) {
@@ -24324,7 +24446,7 @@ function createNgModuleDefinitionMap(meta) {
24324
24446
  return definitionMap;
24325
24447
  }
24326
24448
 
24327
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/pipe.mjs
24449
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/pipe.mjs
24328
24450
  var MINIMUM_PARTIAL_LINKER_VERSION7 = "14.0.0";
24329
24451
  function compileDeclarePipeFromMetadata(meta) {
24330
24452
  const definitionMap = createPipeDefinitionMap(meta);
@@ -24335,7 +24457,7 @@ function compileDeclarePipeFromMetadata(meta) {
24335
24457
  function createPipeDefinitionMap(meta) {
24336
24458
  const definitionMap = new DefinitionMap();
24337
24459
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION7));
24338
- definitionMap.set("version", literal("17.0.0-next.0"));
24460
+ definitionMap.set("version", literal("17.0.0-next.1"));
24339
24461
  definitionMap.set("ngImport", importExpr(Identifiers.core));
24340
24462
  definitionMap.set("type", meta.type.value);
24341
24463
  if (meta.isStandalone) {
@@ -24348,13 +24470,13 @@ function createPipeDefinitionMap(meta) {
24348
24470
  return definitionMap;
24349
24471
  }
24350
24472
 
24351
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/compiler.mjs
24473
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler.mjs
24352
24474
  publishFacade(_global);
24353
24475
 
24354
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version.mjs
24355
- var VERSION3 = new Version("17.0.0-next.0");
24476
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version.mjs
24477
+ var VERSION3 = new Version("17.0.0-next.1");
24356
24478
 
24357
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
24479
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
24358
24480
  var EmitFlags;
24359
24481
  (function(EmitFlags2) {
24360
24482
  EmitFlags2[EmitFlags2["DTS"] = 1] = "DTS";
@@ -24366,13 +24488,13 @@ var EmitFlags;
24366
24488
  EmitFlags2[EmitFlags2["All"] = 31] = "All";
24367
24489
  })(EmitFlags || (EmitFlags = {}));
24368
24490
 
24369
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
24491
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
24370
24492
  var import_typescript2 = __toESM(require("typescript"), 1);
24371
24493
 
24372
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
24494
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
24373
24495
  var import_typescript96 = __toESM(require("typescript"), 1);
24374
24496
 
24375
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
24497
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
24376
24498
  var path = __toESM(require("path"), 1);
24377
24499
  function i18nGetExtension(formatName) {
24378
24500
  const format = formatName.toLowerCase();
@@ -24422,10 +24544,10 @@ function getPathNormalizer(basePath) {
24422
24544
  };
24423
24545
  }
24424
24546
 
24425
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
24547
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
24426
24548
  var import_typescript3 = __toESM(require("typescript"), 1);
24427
24549
 
24428
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
24550
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
24429
24551
  function toNumbers(value) {
24430
24552
  const suffixIndex = value.lastIndexOf("-");
24431
24553
  return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
@@ -24460,9 +24582,9 @@ function compareVersions(v1, v2) {
24460
24582
  return compareNumbers(toNumbers(v1), toNumbers(v2));
24461
24583
  }
24462
24584
 
24463
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
24585
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
24464
24586
  var MIN_TS_VERSION = "4.9.3";
24465
- var MAX_TS_VERSION = "5.2.0";
24587
+ var MAX_TS_VERSION = "5.3.0";
24466
24588
  var tsVersion = import_typescript3.default.version;
24467
24589
  function checkVersion(version, minVersion, maxVersion) {
24468
24590
  if (compareVersions(version, minVersion) < 0 || compareVersions(version, maxVersion) >= 0) {
@@ -24473,13 +24595,13 @@ function verifySupportedTypeScriptVersion() {
24473
24595
  checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
24474
24596
  }
24475
24597
 
24476
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
24598
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
24477
24599
  var import_typescript92 = __toESM(require("typescript"), 1);
24478
24600
 
24479
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
24601
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
24480
24602
  var import_typescript31 = __toESM(require("typescript"), 1);
24481
24603
 
24482
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
24604
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
24483
24605
  var ErrorCode;
24484
24606
  (function(ErrorCode2) {
24485
24607
  ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
@@ -24551,9 +24673,11 @@ var ErrorCode;
24551
24673
  ErrorCode2[ErrorCode2["INJECTABLE_DUPLICATE_PROV"] = 9001] = "INJECTABLE_DUPLICATE_PROV";
24552
24674
  ErrorCode2[ErrorCode2["SUGGEST_STRICT_TEMPLATES"] = 10001] = "SUGGEST_STRICT_TEMPLATES";
24553
24675
  ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
24676
+ ErrorCode2[ErrorCode2["LOCAL_COMPILATION_IMPORTED_TEMPLATE_STRING"] = 11001] = "LOCAL_COMPILATION_IMPORTED_TEMPLATE_STRING";
24677
+ ErrorCode2[ErrorCode2["LOCAL_COMPILATION_IMPORTED_STYLES_STRING"] = 11002] = "LOCAL_COMPILATION_IMPORTED_STYLES_STRING";
24554
24678
  })(ErrorCode || (ErrorCode = {}));
24555
24679
 
24556
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
24680
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
24557
24681
  var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
24558
24682
  ErrorCode.DECORATOR_ARG_NOT_LITERAL,
24559
24683
  ErrorCode.IMPORT_CYCLE_DETECTED,
@@ -24565,15 +24689,15 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
24565
24689
  ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
24566
24690
  ]);
24567
24691
 
24568
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
24692
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
24569
24693
  var import_typescript4 = __toESM(require("typescript"), 1);
24570
24694
 
24571
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
24695
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
24572
24696
  function ngErrorCode(code) {
24573
24697
  return parseInt("-99" + code);
24574
24698
  }
24575
24699
 
24576
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
24700
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
24577
24701
  var FatalDiagnosticError = class {
24578
24702
  constructor(code, node, message, relatedInformation) {
24579
24703
  this.code = code;
@@ -24629,10 +24753,10 @@ function addDiagnosticChain(messageText, add) {
24629
24753
  return messageText;
24630
24754
  }
24631
24755
 
24632
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
24756
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
24633
24757
  var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
24634
24758
 
24635
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
24759
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
24636
24760
  var ExtendedTemplateDiagnosticName;
24637
24761
  (function(ExtendedTemplateDiagnosticName2) {
24638
24762
  ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
@@ -24645,7 +24769,7 @@ var ExtendedTemplateDiagnosticName;
24645
24769
  ExtendedTemplateDiagnosticName2["SKIP_HYDRATION_NOT_STATIC"] = "skipHydrationNotStatic";
24646
24770
  })(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
24647
24771
 
24648
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
24772
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
24649
24773
  var CompilationMode;
24650
24774
  (function(CompilationMode2) {
24651
24775
  CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
@@ -24659,7 +24783,7 @@ var HandlerPrecedence;
24659
24783
  HandlerPrecedence2[HandlerPrecedence2["WEAK"] = 2] = "WEAK";
24660
24784
  })(HandlerPrecedence || (HandlerPrecedence = {}));
24661
24785
 
24662
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
24786
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
24663
24787
  var import_typescript5 = __toESM(require("typescript"), 1);
24664
24788
  function aliasTransformFactory(exportStatements) {
24665
24789
  return () => {
@@ -24682,10 +24806,10 @@ function aliasTransformFactory(exportStatements) {
24682
24806
  };
24683
24807
  }
24684
24808
 
24685
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
24809
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
24686
24810
  var import_typescript12 = __toESM(require("typescript"), 1);
24687
24811
 
24688
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
24812
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
24689
24813
  var PerfPhase;
24690
24814
  (function(PerfPhase2) {
24691
24815
  PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
@@ -24752,7 +24876,7 @@ var PerfCheckpoint;
24752
24876
  PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
24753
24877
  })(PerfCheckpoint || (PerfCheckpoint = {}));
24754
24878
 
24755
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
24879
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
24756
24880
  var NoopPerfRecorder = class {
24757
24881
  eventCount() {
24758
24882
  }
@@ -24769,7 +24893,7 @@ var NoopPerfRecorder = class {
24769
24893
  };
24770
24894
  var NOOP_PERF_RECORDER = new NoopPerfRecorder();
24771
24895
 
24772
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
24896
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
24773
24897
  function mark() {
24774
24898
  return process.hrtime();
24775
24899
  }
@@ -24778,7 +24902,7 @@ function timeSinceInMicros(mark2) {
24778
24902
  return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
24779
24903
  }
24780
24904
 
24781
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
24905
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
24782
24906
  var ActivePerfRecorder = class {
24783
24907
  static zeroedToNow() {
24784
24908
  return new ActivePerfRecorder(mark());
@@ -24872,7 +24996,7 @@ var DelegatingPerfRecorder = class {
24872
24996
  }
24873
24997
  };
24874
24998
 
24875
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
24999
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
24876
25000
  var import_typescript6 = __toESM(require("typescript"), 1);
24877
25001
  function isDecoratorIdentifier(exp) {
24878
25002
  return import_typescript6.default.isIdentifier(exp) || import_typescript6.default.isPropertyAccessExpression(exp) && import_typescript6.default.isIdentifier(exp.expression) && import_typescript6.default.isIdentifier(exp.name);
@@ -24886,7 +25010,7 @@ var ClassMemberKind;
24886
25010
  ClassMemberKind2[ClassMemberKind2["Method"] = 4] = "Method";
24887
25011
  })(ClassMemberKind || (ClassMemberKind = {}));
24888
25012
 
24889
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
25013
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
24890
25014
  var import_typescript7 = __toESM(require("typescript"), 1);
24891
25015
  function typeToValue(typeNode, checker) {
24892
25016
  if (typeNode === null) {
@@ -25052,10 +25176,10 @@ function extractModuleName(node) {
25052
25176
  return node.moduleSpecifier.text;
25053
25177
  }
25054
25178
 
25055
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
25179
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
25056
25180
  var import_typescript9 = __toESM(require("typescript"), 1);
25057
25181
 
25058
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
25182
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
25059
25183
  var import_typescript8 = __toESM(require("typescript"), 1);
25060
25184
  function isNamedClassDeclaration(node) {
25061
25185
  return import_typescript8.default.isClassDeclaration(node) && isIdentifier(node.name);
@@ -25064,7 +25188,7 @@ function isIdentifier(node) {
25064
25188
  return node !== void 0 && import_typescript8.default.isIdentifier(node);
25065
25189
  }
25066
25190
 
25067
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
25191
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
25068
25192
  var TypeScriptReflectionHost = class {
25069
25193
  constructor(checker) {
25070
25194
  this.checker = checker;
@@ -25498,7 +25622,7 @@ function getExportedName(decl, originalId) {
25498
25622
  }
25499
25623
  var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
25500
25624
 
25501
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
25625
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
25502
25626
  var import_typescript11 = __toESM(require("typescript"), 1);
25503
25627
  var TS = /\.tsx?$/i;
25504
25628
  var D_TS = /\.d\.ts$/i;
@@ -25599,7 +25723,7 @@ function toUnredirectedSourceFile(sf) {
25599
25723
  return redirectInfo.unredirected;
25600
25724
  }
25601
25725
 
25602
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
25726
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
25603
25727
  var TraitState;
25604
25728
  (function(TraitState2) {
25605
25729
  TraitState2[TraitState2["Pending"] = 0] = "Pending";
@@ -25656,7 +25780,7 @@ var TraitImpl = class {
25656
25780
  }
25657
25781
  };
25658
25782
 
25659
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
25783
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
25660
25784
  var TraitCompiler = class {
25661
25785
  constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
25662
25786
  this.handlers = handlers;
@@ -26104,10 +26228,10 @@ function containsErrors(diagnostics) {
26104
26228
  return diagnostics !== null && diagnostics.some((diag) => diag.category === import_typescript12.default.DiagnosticCategory.Error);
26105
26229
  }
26106
26230
 
26107
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
26231
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
26108
26232
  var import_typescript27 = __toESM(require("typescript"), 1);
26109
26233
 
26110
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
26234
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
26111
26235
  var Context = class {
26112
26236
  constructor(isStatement) {
26113
26237
  this.isStatement = isStatement;
@@ -26120,13 +26244,13 @@ var Context = class {
26120
26244
  }
26121
26245
  };
26122
26246
 
26123
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
26247
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
26124
26248
  var import_typescript23 = __toESM(require("typescript"), 1);
26125
26249
 
26126
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
26250
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
26127
26251
  var import_typescript15 = __toESM(require("typescript"), 1);
26128
26252
 
26129
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
26253
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
26130
26254
  function findExportedNameOfNode(target, file, reflector) {
26131
26255
  const exports = reflector.getExportsOfModule(file);
26132
26256
  if (exports === null) {
@@ -26146,7 +26270,7 @@ function findExportedNameOfNode(target, file, reflector) {
26146
26270
  return foundExportName;
26147
26271
  }
26148
26272
 
26149
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
26273
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
26150
26274
  var ImportFlags;
26151
26275
  (function(ImportFlags2) {
26152
26276
  ImportFlags2[ImportFlags2["None"] = 0] = "None";
@@ -26362,7 +26486,7 @@ var UnifiedModulesStrategy = class {
26362
26486
  }
26363
26487
  };
26364
26488
 
26365
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
26489
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
26366
26490
  var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
26367
26491
  var UnifiedModulesAliasingHost = class {
26368
26492
  constructor(unifiedModulesHost) {
@@ -26429,7 +26553,7 @@ var AliasStrategy = class {
26429
26553
  }
26430
26554
  };
26431
26555
 
26432
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
26556
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
26433
26557
  function relativePathBetween(from, to) {
26434
26558
  const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
26435
26559
  return relativePath !== "" ? toRelativeImport(relativePath) : null;
@@ -26438,7 +26562,7 @@ function normalizeSeparators2(path3) {
26438
26562
  return path3.replace(/\\/g, "/");
26439
26563
  }
26440
26564
 
26441
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
26565
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
26442
26566
  var NoopImportRewriter = class {
26443
26567
  shouldImportSymbol(symbol, specifier) {
26444
26568
  return true;
@@ -26497,7 +26621,7 @@ function validateAndRewriteCoreSymbol(name) {
26497
26621
  return CORE_SUPPORTED_SYMBOLS.get(name);
26498
26622
  }
26499
26623
 
26500
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
26624
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
26501
26625
  var import_typescript17 = __toESM(require("typescript"), 1);
26502
26626
  var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
26503
26627
  function loadIsReferencedAliasDeclarationPatch(context) {
@@ -26532,7 +26656,7 @@ function throwIncompatibleTransformationContextError() {
26532
26656
  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.");
26533
26657
  }
26534
26658
 
26535
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
26659
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
26536
26660
  var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
26537
26661
  function attachDefaultImportDeclaration(expr, importDecl) {
26538
26662
  expr[DefaultImportDeclaration] = importDecl;
@@ -26573,7 +26697,7 @@ var DefaultImportTracker = class {
26573
26697
  }
26574
26698
  };
26575
26699
 
26576
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
26700
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
26577
26701
  var import_typescript19 = __toESM(require("typescript"), 1);
26578
26702
  var AssumeEager = "AssumeEager";
26579
26703
  var DeferredSymbolTracker = class {
@@ -26666,7 +26790,7 @@ var DeferredSymbolTracker = class {
26666
26790
  }
26667
26791
  };
26668
26792
 
26669
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
26793
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
26670
26794
  var Reference2 = class {
26671
26795
  constructor(node, bestGuessOwningModule = null) {
26672
26796
  this.node = node;
@@ -26729,7 +26853,7 @@ var Reference2 = class {
26729
26853
  }
26730
26854
  };
26731
26855
 
26732
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
26856
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
26733
26857
  var ModuleResolver = class {
26734
26858
  constructor(program, compilerOptions, host, moduleResolutionCache) {
26735
26859
  this.program = program;
@@ -26746,7 +26870,7 @@ var ModuleResolver = class {
26746
26870
  }
26747
26871
  };
26748
26872
 
26749
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
26873
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
26750
26874
  var ImportManager = class {
26751
26875
  constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
26752
26876
  this.rewriter = rewriter;
@@ -26781,7 +26905,7 @@ var ImportManager = class {
26781
26905
  }
26782
26906
  };
26783
26907
 
26784
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
26908
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
26785
26909
  var UNARY_OPERATORS = /* @__PURE__ */ new Map([
26786
26910
  [UnaryOperator.Minus, "-"],
26787
26911
  [UnaryOperator.Plus, "+"]
@@ -27015,7 +27139,7 @@ function createRange(span) {
27015
27139
  };
27016
27140
  }
27017
27141
 
27018
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
27142
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
27019
27143
  var import_typescript24 = __toESM(require("typescript"), 1);
27020
27144
  function translateType(type, contextFile, reflector, refEmitter, imports) {
27021
27145
  return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
@@ -27234,7 +27358,7 @@ var TypeTranslatorVisitor = class {
27234
27358
  }
27235
27359
  };
27236
27360
 
27237
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
27361
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
27238
27362
  var import_typescript25 = __toESM(require("typescript"), 1);
27239
27363
  var PureAnnotation;
27240
27364
  (function(PureAnnotation2) {
@@ -27424,7 +27548,7 @@ function attachComments(statement, leadingComments) {
27424
27548
  }
27425
27549
  }
27426
27550
 
27427
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
27551
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
27428
27552
  function translateExpression(expression, imports, options = {}) {
27429
27553
  return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
27430
27554
  }
@@ -27432,7 +27556,7 @@ function translateStatement(statement, imports, options = {}) {
27432
27556
  return statement.visitStatement(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(true));
27433
27557
  }
27434
27558
 
27435
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
27559
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
27436
27560
  var import_typescript26 = __toESM(require("typescript"), 1);
27437
27561
  function addImports(importManager, sf, extraStatements = []) {
27438
27562
  const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
@@ -27468,7 +27592,7 @@ function isImportStatement(stmt) {
27468
27592
  return import_typescript26.default.isImportDeclaration(stmt) || import_typescript26.default.isImportEqualsDeclaration(stmt) || import_typescript26.default.isNamespaceImport(stmt);
27469
27593
  }
27470
27594
 
27471
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
27595
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
27472
27596
  var DtsTransformRegistry = class {
27473
27597
  constructor() {
27474
27598
  this.ivyDeclarationTransforms = /* @__PURE__ */ new Map();
@@ -27615,10 +27739,10 @@ function markForEmitAsSingleLine(node) {
27615
27739
  import_typescript27.default.forEachChild(node, markForEmitAsSingleLine);
27616
27740
  }
27617
27741
 
27618
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
27742
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
27619
27743
  var import_typescript29 = __toESM(require("typescript"), 1);
27620
27744
 
27621
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
27745
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
27622
27746
  var import_typescript28 = __toESM(require("typescript"), 1);
27623
27747
  function visit(node, visitor, context) {
27624
27748
  return visitor._visit(node, context);
@@ -27679,7 +27803,7 @@ var Visitor = class {
27679
27803
  }
27680
27804
  };
27681
27805
 
27682
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
27806
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
27683
27807
  var NO_DECORATORS = /* @__PURE__ */ new Set();
27684
27808
  var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
27685
27809
  function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
@@ -27903,7 +28027,7 @@ function nodeArrayFromDecoratorsArray(decorators) {
27903
28027
  return array;
27904
28028
  }
27905
28029
 
27906
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
28030
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
27907
28031
  var import_typescript30 = __toESM(require("typescript"), 1);
27908
28032
  function valueReferenceToExpression(valueRef) {
27909
28033
  if (valueRef.kind === 2) {
@@ -28144,7 +28268,7 @@ function isAbstractClassDeclaration(clazz) {
28144
28268
  return import_typescript30.default.canHaveModifiers(clazz) && clazz.modifiers !== void 0 ? clazz.modifiers.some((mod) => mod.kind === import_typescript30.default.SyntaxKind.AbstractKeyword) : false;
28145
28269
  }
28146
28270
 
28147
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
28271
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
28148
28272
  function getConstructorDependencies(clazz, reflector, isCore, compilationMode) {
28149
28273
  const deps = [];
28150
28274
  const errors = [];
@@ -28301,10 +28425,10 @@ function createUnsuitableInjectionTokenError(clazz, error2) {
28301
28425
  return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain, hints);
28302
28426
  }
28303
28427
 
28304
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
28428
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
28305
28429
  var import_typescript39 = __toESM(require("typescript"), 1);
28306
28430
 
28307
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
28431
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
28308
28432
  var MetaKind;
28309
28433
  (function(MetaKind2) {
28310
28434
  MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
@@ -28317,10 +28441,10 @@ var MatchSource;
28317
28441
  MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
28318
28442
  })(MatchSource || (MatchSource = {}));
28319
28443
 
28320
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
28444
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
28321
28445
  var import_typescript34 = __toESM(require("typescript"), 1);
28322
28446
 
28323
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
28447
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
28324
28448
  var ClassPropertyMapping = class {
28325
28449
  constructor(forwardMap) {
28326
28450
  this.forwardMap = forwardMap;
@@ -28398,7 +28522,7 @@ function reverseMapFromForwardMap(forwardMap) {
28398
28522
  return reverseMap;
28399
28523
  }
28400
28524
 
28401
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
28525
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
28402
28526
  var import_typescript32 = __toESM(require("typescript"), 1);
28403
28527
  function extractReferencesFromType(checker, def, bestGuessOwningModule) {
28404
28528
  if (!import_typescript32.default.isTupleTypeNode(def)) {
@@ -28583,7 +28707,7 @@ function hasInjectableFields(clazz, host) {
28583
28707
  return members.some(({ isStatic, name }) => isStatic && (name === "\u0275prov" || name === "\u0275fac"));
28584
28708
  }
28585
28709
 
28586
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
28710
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
28587
28711
  var DtsMetadataReader = class {
28588
28712
  constructor(checker, reflector) {
28589
28713
  this.checker = checker;
@@ -28758,7 +28882,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
28758
28882
  return result.length > 0 ? result : null;
28759
28883
  }
28760
28884
 
28761
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
28885
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
28762
28886
  function flattenInheritedDirectiveMetadata(reader, dir) {
28763
28887
  const topMeta = reader.getDirectiveMetadata(dir);
28764
28888
  if (topMeta === null) {
@@ -28815,7 +28939,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
28815
28939
  });
28816
28940
  }
28817
28941
 
28818
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
28942
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
28819
28943
  var LocalMetadataRegistry = class {
28820
28944
  constructor() {
28821
28945
  this.directives = /* @__PURE__ */ new Map();
@@ -28872,7 +28996,7 @@ var CompoundMetadataRegistry = class {
28872
28996
  }
28873
28997
  };
28874
28998
 
28875
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
28999
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
28876
29000
  var ResourceRegistry = class {
28877
29001
  constructor() {
28878
29002
  this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
@@ -28937,7 +29061,7 @@ var ResourceRegistry = class {
28937
29061
  }
28938
29062
  };
28939
29063
 
28940
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
29064
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
28941
29065
  var ExportedProviderStatusResolver = class {
28942
29066
  constructor(metaReader) {
28943
29067
  this.metaReader = metaReader;
@@ -28981,7 +29105,7 @@ var ExportedProviderStatusResolver = class {
28981
29105
  }
28982
29106
  };
28983
29107
 
28984
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
29108
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
28985
29109
  var EMPTY_ARRAY = [];
28986
29110
  var HostDirectivesResolver = class {
28987
29111
  constructor(metaReader) {
@@ -29042,10 +29166,10 @@ function resolveOutput(bindingName) {
29042
29166
  return bindingName;
29043
29167
  }
29044
29168
 
29045
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
29169
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
29046
29170
  var import_typescript36 = __toESM(require("typescript"), 1);
29047
29171
 
29048
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
29172
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
29049
29173
  var DynamicValue = class {
29050
29174
  constructor(node, reason, code) {
29051
29175
  this.node = node;
@@ -29135,7 +29259,7 @@ var DynamicValue = class {
29135
29259
  }
29136
29260
  };
29137
29261
 
29138
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
29262
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
29139
29263
  var ResolvedModule = class {
29140
29264
  constructor(exports, evaluate) {
29141
29265
  this.exports = exports;
@@ -29165,7 +29289,7 @@ var EnumValue = class {
29165
29289
  var KnownFn = class {
29166
29290
  };
29167
29291
 
29168
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
29292
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
29169
29293
  function describeResolvedType(value, maxDepth = 1) {
29170
29294
  var _a2, _b2;
29171
29295
  if (value === null) {
@@ -29294,10 +29418,10 @@ function getContainerNode(node) {
29294
29418
  return node.getSourceFile();
29295
29419
  }
29296
29420
 
29297
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
29421
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
29298
29422
  var import_typescript37 = __toESM(require("typescript"), 1);
29299
29423
 
29300
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
29424
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
29301
29425
  var ArraySliceBuiltinFn = class extends KnownFn {
29302
29426
  constructor(lhs) {
29303
29427
  super();
@@ -29349,14 +29473,14 @@ var StringConcatBuiltinFn = class extends KnownFn {
29349
29473
  }
29350
29474
  };
29351
29475
 
29352
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
29476
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
29353
29477
  var SyntheticValue = class {
29354
29478
  constructor(value) {
29355
29479
  this.value = value;
29356
29480
  }
29357
29481
  };
29358
29482
 
29359
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
29483
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
29360
29484
  function literalBinaryOp(op) {
29361
29485
  return { op, literal: true };
29362
29486
  }
@@ -29934,7 +30058,7 @@ function getOriginalKeywordKind(identifier) {
29934
30058
  return typeof import_typescript37.default.identifierToKeywordKind === "function" ? import_typescript37.default.identifierToKeywordKind(identifier) : identifier.originalKeywordKind;
29935
30059
  }
29936
30060
 
29937
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
30061
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
29938
30062
  var PartialEvaluator = class {
29939
30063
  constructor(host, checker, dependencyTracker) {
29940
30064
  this.host = host;
@@ -29954,7 +30078,7 @@ var PartialEvaluator = class {
29954
30078
  }
29955
30079
  };
29956
30080
 
29957
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
30081
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
29958
30082
  function makeDuplicateDeclarationError(node, data, kind) {
29959
30083
  const context = [];
29960
30084
  for (const decl of data) {
@@ -30150,7 +30274,7 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, kind) {
30150
30274
  return makeDiagnostic(ErrorCode.DIRECTIVE_INHERITS_UNDECORATED_CTOR, node.name, `The ${kind.toLowerCase()} ${node.name.text} inherits its constructor from ${baseClassName}, but the latter does not have an Angular decorator of its own. Dependency injection will not be able to resolve the parameters of ${baseClassName}'s constructor. Either add a @${baseNeedsDecorator} decorator to ${baseClassName}, or add an explicit constructor to ${node.name.text}.`);
30151
30275
  }
30152
30276
 
30153
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
30277
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
30154
30278
  var import_typescript41 = __toESM(require("typescript"), 1);
30155
30279
  function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
30156
30280
  let resolved = null;
@@ -30183,7 +30307,7 @@ function resolveLiteral(decorator, literalCache) {
30183
30307
  return meta;
30184
30308
  }
30185
30309
 
30186
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
30310
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
30187
30311
  function compileNgFactoryDefField(metadata) {
30188
30312
  const res = compileFactoryFunction(metadata);
30189
30313
  return {
@@ -30205,7 +30329,7 @@ function compileDeclareFactory(metadata) {
30205
30329
  };
30206
30330
  }
30207
30331
 
30208
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
30332
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
30209
30333
  var InjectableClassRegistry = class {
30210
30334
  constructor(host, isCore) {
30211
30335
  this.host = host;
@@ -30231,7 +30355,7 @@ var InjectableClassRegistry = class {
30231
30355
  }
30232
30356
  };
30233
30357
 
30234
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
30358
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
30235
30359
  var import_typescript42 = __toESM(require("typescript"), 1);
30236
30360
  function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
30237
30361
  if (!reflection.isClass(clazz)) {
@@ -30317,13 +30441,13 @@ function removeIdentifierReferences(node, names) {
30317
30441
  return result.transformed[0];
30318
30442
  }
30319
30443
 
30320
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
30444
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
30321
30445
  var NoopReferencesRegistry = class {
30322
30446
  add(source, ...references) {
30323
30447
  }
30324
30448
  };
30325
30449
 
30326
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
30450
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
30327
30451
  function extractSchemas(rawExpr, evaluator, context) {
30328
30452
  const schemas = [];
30329
30453
  const result = evaluator.evaluate(rawExpr);
@@ -30352,7 +30476,7 @@ function extractSchemas(rawExpr, evaluator, context) {
30352
30476
  return schemas;
30353
30477
  }
30354
30478
 
30355
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
30479
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
30356
30480
  function compileInputTransformFields(inputs) {
30357
30481
  const extraFields = [];
30358
30482
  for (const input of inputs) {
@@ -30369,10 +30493,10 @@ function compileInputTransformFields(inputs) {
30369
30493
  return extraFields;
30370
30494
  }
30371
30495
 
30372
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
30496
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
30373
30497
  var import_typescript53 = __toESM(require("typescript"), 1);
30374
30498
 
30375
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
30499
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
30376
30500
  var import_typescript43 = __toESM(require("typescript"), 1);
30377
30501
  var SemanticSymbol = class {
30378
30502
  constructor(decl) {
@@ -30388,7 +30512,7 @@ function getSymbolIdentifier(decl) {
30388
30512
  return decl.name.text;
30389
30513
  }
30390
30514
 
30391
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
30515
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
30392
30516
  var OpaqueSymbol = class extends SemanticSymbol {
30393
30517
  isPublicApiAffected() {
30394
30518
  return false;
@@ -30530,10 +30654,10 @@ function getImportPath(expr) {
30530
30654
  }
30531
30655
  }
30532
30656
 
30533
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
30657
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
30534
30658
  var import_typescript44 = __toESM(require("typescript"), 1);
30535
30659
 
30536
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
30660
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
30537
30661
  function isSymbolEqual(a, b) {
30538
30662
  if (a.decl === b.decl) {
30539
30663
  return true;
@@ -30583,7 +30707,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
30583
30707
  return true;
30584
30708
  }
30585
30709
 
30586
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
30710
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
30587
30711
  function extractSemanticTypeParameters(node) {
30588
30712
  if (!import_typescript44.default.isClassDeclaration(node) || node.typeParameters === void 0) {
30589
30713
  return null;
@@ -30603,14 +30727,14 @@ function isTypeParameterEqual(a, b) {
30603
30727
  return a.hasGenericTypeBound === b.hasGenericTypeBound;
30604
30728
  }
30605
30729
 
30606
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
30730
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
30607
30731
  var ComponentScopeKind;
30608
30732
  (function(ComponentScopeKind2) {
30609
30733
  ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
30610
30734
  ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
30611
30735
  })(ComponentScopeKind || (ComponentScopeKind = {}));
30612
30736
 
30613
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
30737
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
30614
30738
  var CompoundComponentScopeReader = class {
30615
30739
  constructor(readers) {
30616
30740
  this.readers = readers;
@@ -30635,7 +30759,7 @@ var CompoundComponentScopeReader = class {
30635
30759
  }
30636
30760
  };
30637
30761
 
30638
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
30762
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
30639
30763
  var MetadataDtsModuleScopeResolver = class {
30640
30764
  constructor(dtsMetaReader, aliasingHost) {
30641
30765
  this.dtsMetaReader = dtsMetaReader;
@@ -30710,10 +30834,10 @@ var MetadataDtsModuleScopeResolver = class {
30710
30834
  }
30711
30835
  };
30712
30836
 
30713
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
30837
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
30714
30838
  var import_typescript45 = __toESM(require("typescript"), 1);
30715
30839
 
30716
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
30840
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
30717
30841
  function getDiagnosticNode(ref, rawExpr) {
30718
30842
  return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
30719
30843
  }
@@ -30736,7 +30860,7 @@ function makeUnknownComponentImportDiagnostic(ref, rawExpr) {
30736
30860
  return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_IMPORT, getDiagnosticNode(ref, rawExpr), `Component imports must be standalone components, directives, pipes, or must be NgModules.`);
30737
30861
  }
30738
30862
 
30739
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
30863
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
30740
30864
  var LocalModuleScopeRegistry = class {
30741
30865
  constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
30742
30866
  this.localReader = localReader;
@@ -31075,7 +31199,7 @@ function reexportCollision(module3, refA, refB) {
31075
31199
  ]);
31076
31200
  }
31077
31201
 
31078
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
31202
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
31079
31203
  var import_typescript47 = __toESM(require("typescript"), 1);
31080
31204
  var TypeCheckScopeRegistry = class {
31081
31205
  constructor(scopeReader, metaReader, hostDirectivesResolver) {
@@ -31143,7 +31267,7 @@ var TypeCheckScopeRegistry = class {
31143
31267
  }
31144
31268
  };
31145
31269
 
31146
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
31270
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
31147
31271
  var import_typescript48 = __toESM(require("typescript"), 1);
31148
31272
  var EMPTY_OBJECT = {};
31149
31273
  var QUERY_TYPES = /* @__PURE__ */ new Set([
@@ -31418,6 +31542,30 @@ function extractQueriesFromDecorator(queryData, reflector, evaluator, isCore) {
31418
31542
  });
31419
31543
  return { content, view };
31420
31544
  }
31545
+ function parseDirectiveStyles(directive, evaluator, compilationMode) {
31546
+ const expression = directive.get("styles");
31547
+ if (!expression) {
31548
+ return null;
31549
+ }
31550
+ const value = evaluator.evaluate(expression);
31551
+ if (compilationMode === CompilationMode.LOCAL && Array.isArray(value)) {
31552
+ for (const entry of value) {
31553
+ if (entry instanceof DynamicValue && entry.isFromUnknownIdentifier()) {
31554
+ const relatedInformation = traceDynamicValue(expression, entry);
31555
+ const chain = {
31556
+ messageText: `Unknown identifier used as styles string: ${entry.node.getText()} (did you import this string from another file? This is not allowed in local compilation mode. Please either inline it or move it to a separate file and include it using'styleUrls')`,
31557
+ category: import_typescript48.default.DiagnosticCategory.Error,
31558
+ code: 0
31559
+ };
31560
+ throw new FatalDiagnosticError(ErrorCode.LOCAL_COMPILATION_IMPORTED_STYLES_STRING, expression, chain, relatedInformation);
31561
+ }
31562
+ }
31563
+ }
31564
+ if (!isStringArrayOrDie(value, "styles", expression)) {
31565
+ throw createValueHasWrongTypeError(expression, value, `Failed to resolve @Directive.styles to a string array`);
31566
+ }
31567
+ return value;
31568
+ }
31421
31569
  function parseFieldStringArrayValue(directive, field, evaluator) {
31422
31570
  if (!directive.has(field)) {
31423
31571
  return null;
@@ -31706,7 +31854,7 @@ function toR3InputMetadata(mapping) {
31706
31854
  };
31707
31855
  }
31708
31856
 
31709
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
31857
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
31710
31858
  var DirectiveSymbol = class extends SemanticSymbol {
31711
31859
  constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
31712
31860
  super(decl);
@@ -31786,7 +31934,7 @@ function isBaseClassEqual(current, previous) {
31786
31934
  return isSymbolEqual(current, previous);
31787
31935
  }
31788
31936
 
31789
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
31937
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
31790
31938
  var FIELD_DECORATORS = [
31791
31939
  "Input",
31792
31940
  "Output",
@@ -31958,10 +32106,10 @@ var DirectiveDecoratorHandler = class {
31958
32106
  }
31959
32107
  };
31960
32108
 
31961
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
32109
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
31962
32110
  var import_typescript50 = __toESM(require("typescript"), 1);
31963
32111
 
31964
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
32112
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
31965
32113
  var import_typescript49 = __toESM(require("typescript"), 1);
31966
32114
  function createModuleWithProvidersResolver(reflector, isCore) {
31967
32115
  function _reflectModuleFromTypeParam(type, node) {
@@ -32028,7 +32176,7 @@ function isResolvedModuleWithProviders(sv) {
32028
32176
  return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
32029
32177
  }
32030
32178
 
32031
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
32179
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
32032
32180
  var NgModuleSymbol = class extends SemanticSymbol {
32033
32181
  constructor(decl, hasProviders) {
32034
32182
  super(decl);
@@ -32587,7 +32735,7 @@ function isSyntheticReference(ref) {
32587
32735
  return ref.synthetic;
32588
32736
  }
32589
32737
 
32590
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
32738
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
32591
32739
  function makeCyclicImportInfo(ref, type, cycle) {
32592
32740
  const name = ref.debugName || "(unknown)";
32593
32741
  const path3 = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
@@ -32610,12 +32758,12 @@ function checkCustomElementSelectorForErrors(selector) {
32610
32758
  return null;
32611
32759
  }
32612
32760
 
32613
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
32761
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
32614
32762
  var import_typescript52 = __toESM(require("typescript"), 1);
32615
32763
  function getTemplateDeclarationNodeForError(declaration) {
32616
32764
  return declaration.isInline ? declaration.expression : declaration.templateUrlExpression;
32617
32765
  }
32618
- function extractTemplate(node, template2, evaluator, depTracker, resourceLoader, options) {
32766
+ function extractTemplate(node, template2, evaluator, depTracker, resourceLoader, options, compilationMode) {
32619
32767
  if (template2.isInline) {
32620
32768
  let sourceStr;
32621
32769
  let sourceParseRange = null;
@@ -32635,6 +32783,15 @@ function extractTemplate(node, template2, evaluator, depTracker, resourceLoader,
32635
32783
  sourceMapUrl = template2.resolvedTemplateUrl;
32636
32784
  } else {
32637
32785
  const resolvedTemplate = evaluator.evaluate(template2.expression);
32786
+ if (compilationMode === CompilationMode.LOCAL && resolvedTemplate instanceof DynamicValue && resolvedTemplate.isFromUnknownIdentifier()) {
32787
+ const relatedInformation = traceDynamicValue(template2.expression, resolvedTemplate);
32788
+ const chain = {
32789
+ messageText: `Unknown identifier used as template string: ${template2.expression.getText()} (did you import this string from another file? This is not allowed in local compilation mode. Please either inline it or move it to a separate file and include it using 'templateUrl')`,
32790
+ category: import_typescript52.default.DiagnosticCategory.Error,
32791
+ code: 0
32792
+ };
32793
+ throw new FatalDiagnosticError(ErrorCode.LOCAL_COMPILATION_IMPORTED_TEMPLATE_STRING, template2.expression, chain, relatedInformation);
32794
+ }
32638
32795
  if (typeof resolvedTemplate !== "string") {
32639
32796
  throw createValueHasWrongTypeError(template2.expression, resolvedTemplate, "template must be a string");
32640
32797
  }
@@ -32760,7 +32917,7 @@ function parseTemplateDeclaration(node, decorator, component, containingFile, ev
32760
32917
  throw new FatalDiagnosticError(ErrorCode.COMPONENT_MISSING_TEMPLATE, decorator.node, "component is missing a template");
32761
32918
  }
32762
32919
  }
32763
- function preloadAndParseTemplate(evaluator, resourceLoader, depTracker, preanalyzeTemplateCache, node, decorator, component, containingFile, defaultPreserveWhitespaces, options) {
32920
+ function preloadAndParseTemplate(evaluator, resourceLoader, depTracker, preanalyzeTemplateCache, node, decorator, component, containingFile, defaultPreserveWhitespaces, options, compilationMode) {
32764
32921
  if (component.has("templateUrl")) {
32765
32922
  const templateUrlExpr = component.get("templateUrl");
32766
32923
  const templateUrl = evaluator.evaluate(templateUrlExpr);
@@ -32773,7 +32930,7 @@ function preloadAndParseTemplate(evaluator, resourceLoader, depTracker, preanaly
32773
32930
  if (templatePromise !== void 0) {
32774
32931
  return templatePromise.then(() => {
32775
32932
  const templateDecl = parseTemplateDeclaration(node, decorator, component, containingFile, evaluator, depTracker, resourceLoader, defaultPreserveWhitespaces);
32776
- const template2 = extractTemplate(node, templateDecl, evaluator, depTracker, resourceLoader, options);
32933
+ const template2 = extractTemplate(node, templateDecl, evaluator, depTracker, resourceLoader, options, compilationMode);
32777
32934
  preanalyzeTemplateCache.set(node, template2);
32778
32935
  return template2;
32779
32936
  });
@@ -32788,7 +32945,7 @@ function preloadAndParseTemplate(evaluator, resourceLoader, depTracker, preanaly
32788
32945
  }
32789
32946
  } else {
32790
32947
  const templateDecl = parseTemplateDeclaration(node, decorator, component, containingFile, evaluator, depTracker, resourceLoader, defaultPreserveWhitespaces);
32791
- const template2 = extractTemplate(node, templateDecl, evaluator, depTracker, resourceLoader, options);
32948
+ const template2 = extractTemplate(node, templateDecl, evaluator, depTracker, resourceLoader, options, compilationMode);
32792
32949
  preanalyzeTemplateCache.set(node, template2);
32793
32950
  return Promise.resolve(template2);
32794
32951
  }
@@ -32921,7 +33078,7 @@ function _extractTemplateStyleUrls(template2) {
32921
33078
  return template2.styleUrls.map((url) => ({ url, source: 1, nodeForError }));
32922
33079
  }
32923
33080
 
32924
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
33081
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
32925
33082
  var ComponentSymbol = class extends DirectiveSymbol {
32926
33083
  constructor() {
32927
33084
  super(...arguments);
@@ -32956,7 +33113,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
32956
33113
  }
32957
33114
  };
32958
33115
 
32959
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
33116
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
32960
33117
  function collectAnimationNames(value, animationTriggerNames) {
32961
33118
  if (value instanceof Map) {
32962
33119
  const name = value.get("name");
@@ -33032,7 +33189,7 @@ function isLikelyModuleWithProviders(value) {
33032
33189
  return false;
33033
33190
  }
33034
33191
 
33035
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
33192
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
33036
33193
  var EMPTY_ARRAY2 = [];
33037
33194
  var isUsedDirective = (decl) => decl.kind === R3TemplateDependencyKind.Directive;
33038
33195
  var isUsedPipe = (decl) => decl.kind === R3TemplateDependencyKind.Pipe;
@@ -33114,7 +33271,7 @@ var ComponentDecoratorHandler = class {
33114
33271
  return void 0;
33115
33272
  }
33116
33273
  };
33117
- const templateAndTemplateStyleResources = preloadAndParseTemplate(this.evaluator, this.resourceLoader, this.depTracker, this.preanalyzeTemplateCache, node, decorator, component, containingFile, this.defaultPreserveWhitespaces, this.extractTemplateOptions).then((template2) => {
33274
+ const templateAndTemplateStyleResources = preloadAndParseTemplate(this.evaluator, this.resourceLoader, this.depTracker, this.preanalyzeTemplateCache, node, decorator, component, containingFile, this.defaultPreserveWhitespaces, this.extractTemplateOptions, this.compilationMode).then((template2) => {
33118
33275
  if (template2 === null) {
33119
33276
  return void 0;
33120
33277
  }
@@ -33123,7 +33280,7 @@ var ComponentDecoratorHandler = class {
33123
33280
  const componentStyleUrls = extractComponentStyleUrls(this.evaluator, component);
33124
33281
  let inlineStyles;
33125
33282
  if (component.has("styles")) {
33126
- const litStyles = parseFieldStringArrayValue(component, "styles", this.evaluator);
33283
+ const litStyles = parseDirectiveStyles(component, this.evaluator, this.compilationMode);
33127
33284
  if (litStyles === null) {
33128
33285
  this.preanalyzeStylesCache.set(node, null);
33129
33286
  } else {
@@ -33231,7 +33388,7 @@ var ComponentDecoratorHandler = class {
33231
33388
  i18nNormalizeLineEndingsInICUs: this.i18nNormalizeLineEndingsInICUs,
33232
33389
  usePoisonedData: this.usePoisonedData,
33233
33390
  enabledBlockTypes: this.enabledBlockTypes
33234
- });
33391
+ }, this.compilationMode);
33235
33392
  }
33236
33393
  const templateResource = template2.declaration.isInline ? { path: null, expression: component.get("template") } : {
33237
33394
  path: absoluteFrom(template2.declaration.resolvedTemplateUrl),
@@ -33283,7 +33440,7 @@ var ComponentDecoratorHandler = class {
33283
33440
  throw new Error("Inline resource processing requires asynchronous preanalyze.");
33284
33441
  }
33285
33442
  if (component.has("styles")) {
33286
- const litStyles = parseFieldStringArrayValue(component, "styles", this.evaluator);
33443
+ const litStyles = parseDirectiveStyles(component, this.evaluator, this.compilationMode);
33287
33444
  if (litStyles !== null) {
33288
33445
  inlineStyles = [...litStyles];
33289
33446
  styles.push(...litStyles);
@@ -33616,7 +33773,7 @@ var ComponentDecoratorHandler = class {
33616
33773
  const containingFile = node.getSourceFile().fileName;
33617
33774
  const templateDecl = analysis.template.declaration;
33618
33775
  if (!templateDecl.isInline) {
33619
- analysis.template = extractTemplate(node, templateDecl, this.evaluator, this.depTracker, this.resourceLoader, this.extractTemplateOptions);
33776
+ analysis.template = extractTemplate(node, templateDecl, this.evaluator, this.depTracker, this.resourceLoader, this.extractTemplateOptions, this.compilationMode);
33620
33777
  }
33621
33778
  let styles = [];
33622
33779
  if (analysis.styleUrls !== null) {
@@ -33809,7 +33966,7 @@ function validateStandaloneImports(importRefs, importExpr2, metaReader, scopeRea
33809
33966
  return diagnostics;
33810
33967
  }
33811
33968
 
33812
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
33969
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
33813
33970
  var import_typescript55 = __toESM(require("typescript"), 1);
33814
33971
  var InjectableDecoratorHandler = class {
33815
33972
  constructor(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, perf, includeClassMetadata, compilationMode, errorOnDuplicateProv = true) {
@@ -34034,7 +34191,7 @@ function getDep(dep, reflector) {
34034
34191
  return meta;
34035
34192
  }
34036
34193
 
34037
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
34194
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
34038
34195
  var import_typescript56 = __toESM(require("typescript"), 1);
34039
34196
  var PipeSymbol = class extends SemanticSymbol {
34040
34197
  constructor(decl, name) {
@@ -34185,7 +34342,7 @@ var PipeDecoratorHandler = class {
34185
34342
  }
34186
34343
  };
34187
34344
 
34188
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
34345
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
34189
34346
  var CycleAnalyzer = class {
34190
34347
  constructor(importGraph) {
34191
34348
  this.importGraph = importGraph;
@@ -34256,7 +34413,7 @@ var Cycle = class {
34256
34413
  }
34257
34414
  };
34258
34415
 
34259
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
34416
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
34260
34417
  var import_typescript57 = __toESM(require("typescript"), 1);
34261
34418
  var ImportGraph = class {
34262
34419
  constructor(checker, perf) {
@@ -34348,7 +34505,7 @@ var Found = class {
34348
34505
  }
34349
34506
  };
34350
34507
 
34351
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
34508
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
34352
34509
  var import_typescript58 = __toESM(require("typescript"), 1);
34353
34510
  var FlatIndexGenerator = class {
34354
34511
  constructor(entryPoint, relativeFlatIndexPath, moduleName) {
@@ -34373,7 +34530,7 @@ export * from '${relativeEntryPoint}';
34373
34530
  }
34374
34531
  };
34375
34532
 
34376
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
34533
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
34377
34534
  function findFlatIndexEntryPoint(rootFiles) {
34378
34535
  const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
34379
34536
  let resolvedEntryPoint = null;
@@ -34389,7 +34546,7 @@ function findFlatIndexEntryPoint(rootFiles) {
34389
34546
  return resolvedEntryPoint;
34390
34547
  }
34391
34548
 
34392
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
34549
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
34393
34550
  var import_typescript60 = __toESM(require("typescript"), 1);
34394
34551
  function checkForPrivateExports(entryPoint, checker, refGraph) {
34395
34552
  const diagnostics = [];
@@ -34469,7 +34626,7 @@ function getDescriptorOfDeclaration(decl) {
34469
34626
  }
34470
34627
  }
34471
34628
 
34472
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
34629
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
34473
34630
  var ReferenceGraph = class {
34474
34631
  constructor() {
34475
34632
  this.references = /* @__PURE__ */ new Map();
@@ -34523,7 +34680,7 @@ var ReferenceGraph = class {
34523
34680
  }
34524
34681
  };
34525
34682
 
34526
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
34683
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
34527
34684
  var NgOriginalFile = Symbol("NgOriginalFile");
34528
34685
  var UpdateMode;
34529
34686
  (function(UpdateMode2) {
@@ -34531,13 +34688,13 @@ var UpdateMode;
34531
34688
  UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
34532
34689
  })(UpdateMode || (UpdateMode = {}));
34533
34690
 
34534
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
34691
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
34535
34692
  var import_typescript64 = __toESM(require("typescript"), 1);
34536
34693
 
34537
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
34694
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
34538
34695
  var import_typescript61 = __toESM(require("typescript"), 1);
34539
34696
 
34540
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
34697
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
34541
34698
  var NgExtension = Symbol("NgExtension");
34542
34699
  function isExtended(sf) {
34543
34700
  return sf[NgExtension] !== void 0;
@@ -34597,13 +34754,13 @@ function retagTsFile(sf) {
34597
34754
  }
34598
34755
  }
34599
34756
 
34600
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
34757
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
34601
34758
  var TS_EXTENSIONS = /\.tsx?$/i;
34602
34759
  function makeShimFileName(fileName, suffix) {
34603
34760
  return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
34604
34761
  }
34605
34762
 
34606
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
34763
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
34607
34764
  var ShimAdapter = class {
34608
34765
  constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
34609
34766
  this.delegate = delegate;
@@ -34698,7 +34855,7 @@ var ShimAdapter = class {
34698
34855
  }
34699
34856
  };
34700
34857
 
34701
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
34858
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
34702
34859
  var ShimReferenceTagger = class {
34703
34860
  constructor(shimExtensions) {
34704
34861
  this.tagged = /* @__PURE__ */ new Set();
@@ -34732,7 +34889,7 @@ var ShimReferenceTagger = class {
34732
34889
  }
34733
34890
  };
34734
34891
 
34735
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
34892
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
34736
34893
  var DelegatingCompilerHost = class {
34737
34894
  constructor(delegate) {
34738
34895
  this.delegate = delegate;
@@ -34845,7 +35002,7 @@ var TsCreateProgramDriver = class {
34845
35002
  }
34846
35003
  };
34847
35004
 
34848
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
35005
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
34849
35006
  var FileDependencyGraph = class {
34850
35007
  constructor() {
34851
35008
  this.nodes = /* @__PURE__ */ new Map();
@@ -34912,7 +35069,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
34912
35069
  return false;
34913
35070
  }
34914
35071
 
34915
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
35072
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
34916
35073
  var IncrementalStateKind;
34917
35074
  (function(IncrementalStateKind2) {
34918
35075
  IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
@@ -34920,7 +35077,7 @@ var IncrementalStateKind;
34920
35077
  IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
34921
35078
  })(IncrementalStateKind || (IncrementalStateKind = {}));
34922
35079
 
34923
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
35080
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
34924
35081
  var PhaseKind;
34925
35082
  (function(PhaseKind2) {
34926
35083
  PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
@@ -35121,7 +35278,7 @@ function toOriginalSourceFile(sf) {
35121
35278
  }
35122
35279
  }
35123
35280
 
35124
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
35281
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
35125
35282
  var TrackedIncrementalBuildStrategy = class {
35126
35283
  constructor() {
35127
35284
  this.state = null;
@@ -35142,7 +35299,7 @@ var TrackedIncrementalBuildStrategy = class {
35142
35299
  };
35143
35300
  var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
35144
35301
 
35145
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
35302
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
35146
35303
  var IdentifierKind;
35147
35304
  (function(IdentifierKind2) {
35148
35305
  IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
@@ -35160,7 +35317,7 @@ var AbsoluteSourceSpan2 = class {
35160
35317
  }
35161
35318
  };
35162
35319
 
35163
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
35320
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
35164
35321
  var IndexingContext = class {
35165
35322
  constructor() {
35166
35323
  this.components = /* @__PURE__ */ new Set();
@@ -35170,7 +35327,7 @@ var IndexingContext = class {
35170
35327
  }
35171
35328
  };
35172
35329
 
35173
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
35330
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
35174
35331
  var ExpressionVisitor = class extends RecursiveAstVisitor2 {
35175
35332
  constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
35176
35333
  super();
@@ -35447,7 +35604,7 @@ function getTemplateIdentifiers(boundTemplate) {
35447
35604
  return { identifiers: visitor.identifiers, errors: visitor.errors };
35448
35605
  }
35449
35606
 
35450
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
35607
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
35451
35608
  function generateAnalysis(context) {
35452
35609
  const analysis = /* @__PURE__ */ new Map();
35453
35610
  context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
@@ -35483,7 +35640,7 @@ function generateAnalysis(context) {
35483
35640
  return analysis;
35484
35641
  }
35485
35642
 
35486
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
35643
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
35487
35644
  var NgModuleIndexImpl = class {
35488
35645
  constructor(metaReader, localReader) {
35489
35646
  this.metaReader = metaReader;
@@ -35572,7 +35729,7 @@ var NgModuleIndexImpl = class {
35572
35729
  }
35573
35730
  };
35574
35731
 
35575
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
35732
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
35576
35733
  var import_typescript67 = __toESM(require("typescript"), 1);
35577
35734
  var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
35578
35735
  var RESOURCE_MARKER = ".$ngresource$";
@@ -35720,7 +35877,7 @@ function createLookupResolutionHost(adapter) {
35720
35877
  };
35721
35878
  }
35722
35879
 
35723
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
35880
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
35724
35881
  var StandaloneComponentScopeReader = class {
35725
35882
  constructor(metaReader, localModuleReader, dtsModuleReader) {
35726
35883
  this.metaReader = metaReader;
@@ -35798,21 +35955,21 @@ var StandaloneComponentScopeReader = class {
35798
35955
  }
35799
35956
  };
35800
35957
 
35801
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
35958
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
35802
35959
  var OptimizeFor;
35803
35960
  (function(OptimizeFor2) {
35804
35961
  OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
35805
35962
  OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
35806
35963
  })(OptimizeFor || (OptimizeFor = {}));
35807
35964
 
35808
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
35965
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
35809
35966
  var CompletionKind;
35810
35967
  (function(CompletionKind2) {
35811
35968
  CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
35812
35969
  CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
35813
35970
  })(CompletionKind || (CompletionKind = {}));
35814
35971
 
35815
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
35972
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
35816
35973
  var PotentialImportKind;
35817
35974
  (function(PotentialImportKind2) {
35818
35975
  PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
@@ -35824,7 +35981,7 @@ var PotentialImportMode;
35824
35981
  PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
35825
35982
  })(PotentialImportMode || (PotentialImportMode = {}));
35826
35983
 
35827
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
35984
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
35828
35985
  var SymbolKind;
35829
35986
  (function(SymbolKind2) {
35830
35987
  SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
@@ -35840,7 +35997,7 @@ var SymbolKind;
35840
35997
  SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
35841
35998
  })(SymbolKind || (SymbolKind = {}));
35842
35999
 
35843
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
36000
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
35844
36001
  var import_typescript68 = __toESM(require("typescript"), 1);
35845
36002
  function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
35846
36003
  var _a2;
@@ -35947,7 +36104,7 @@ function parseTemplateAsSourceFile(fileName, template2) {
35947
36104
  return import_typescript68.default.createSourceFile(fileName, template2, import_typescript68.default.ScriptTarget.Latest, false, import_typescript68.default.ScriptKind.JSX);
35948
36105
  }
35949
36106
 
35950
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
36107
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
35951
36108
  var TEMPLATE_ID = Symbol("ngTemplateId");
35952
36109
  var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
35953
36110
  function getTemplateId(clazz) {
@@ -35964,10 +36121,10 @@ function allocateTemplateId(sf) {
35964
36121
  return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
35965
36122
  }
35966
36123
 
35967
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
36124
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
35968
36125
  var import_typescript70 = __toESM(require("typescript"), 1);
35969
36126
 
35970
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
36127
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
35971
36128
  var import_typescript69 = __toESM(require("typescript"), 1);
35972
36129
  var parseSpanComment = /^(\d+),(\d+)$/;
35973
36130
  function readSpanComment(node, sourceFile = node.getSourceFile()) {
@@ -36096,7 +36253,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
36096
36253
  }) || false;
36097
36254
  }
36098
36255
 
36099
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
36256
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
36100
36257
  var CompletionEngine = class {
36101
36258
  constructor(tcb, data, tcbPath, tcbIsShim) {
36102
36259
  this.tcb = tcb;
@@ -36253,10 +36410,10 @@ var CompletionEngine = class {
36253
36410
  }
36254
36411
  };
36255
36412
 
36256
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
36413
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
36257
36414
  var import_typescript85 = __toESM(require("typescript"), 1);
36258
36415
 
36259
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
36416
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
36260
36417
  var import_typescript71 = __toESM(require("typescript"), 1);
36261
36418
  var REGISTRY = new DomElementSchemaRegistry();
36262
36419
  var REMOVE_XHTML_REGEX = /^:xhtml:/;
@@ -36308,10 +36465,10 @@ var RegistryDomSchemaChecker = class {
36308
36465
  }
36309
36466
  };
36310
36467
 
36311
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
36468
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
36312
36469
  var import_typescript78 = __toESM(require("typescript"), 1);
36313
36470
 
36314
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
36471
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
36315
36472
  var import_typescript72 = __toESM(require("typescript"), 1);
36316
36473
  var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
36317
36474
  import_typescript72.default.SyntaxKind.ParenthesizedExpression,
@@ -36385,16 +36542,16 @@ function isAccessExpression2(node) {
36385
36542
  return import_typescript72.default.isPropertyAccessExpression(node) || import_typescript72.default.isElementAccessExpression(node);
36386
36543
  }
36387
36544
 
36388
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
36545
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
36389
36546
  var import_typescript77 = __toESM(require("typescript"), 1);
36390
36547
 
36391
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
36548
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
36392
36549
  var import_typescript75 = __toESM(require("typescript"), 1);
36393
36550
 
36394
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
36551
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
36395
36552
  var import_typescript74 = __toESM(require("typescript"), 1);
36396
36553
 
36397
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
36554
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
36398
36555
  var import_typescript73 = __toESM(require("typescript"), 1);
36399
36556
  var INELIGIBLE = {};
36400
36557
  function canEmitType(type, canEmit) {
@@ -36469,7 +36626,7 @@ var TypeEmitter = class {
36469
36626
  }
36470
36627
  };
36471
36628
 
36472
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
36629
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
36473
36630
  var TypeParameterEmitter = class {
36474
36631
  constructor(typeParameters, reflector) {
36475
36632
  this.typeParameters = typeParameters;
@@ -36546,7 +36703,7 @@ var TypeParameterEmitter = class {
36546
36703
  }
36547
36704
  };
36548
36705
 
36549
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
36706
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
36550
36707
  var TcbInliningRequirement;
36551
36708
  (function(TcbInliningRequirement2) {
36552
36709
  TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
@@ -36626,7 +36783,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
36626
36783
  return emitter.canEmit((ref) => env.canReferenceType(ref));
36627
36784
  }
36628
36785
 
36629
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
36786
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
36630
36787
  function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
36631
36788
  const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
36632
36789
  const rawType = import_typescript77.default.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
@@ -36737,7 +36894,7 @@ function typeParametersWithDefaultTypes(params) {
36737
36894
  });
36738
36895
  }
36739
36896
 
36740
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
36897
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
36741
36898
  var Environment = class {
36742
36899
  constructor(config, importManager, refEmitter, reflector, contextFile) {
36743
36900
  this.config = config;
@@ -36831,7 +36988,7 @@ var Environment = class {
36831
36988
  }
36832
36989
  };
36833
36990
 
36834
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
36991
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
36835
36992
  var import_typescript79 = __toESM(require("typescript"), 1);
36836
36993
  var OutOfBandDiagnosticRecorderImpl = class {
36837
36994
  constructor(resolver) {
@@ -36966,7 +37123,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
36966
37123
  });
36967
37124
  }
36968
37125
 
36969
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
37126
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
36970
37127
  var import_typescript80 = __toESM(require("typescript"), 1);
36971
37128
  var TypeCheckShimGenerator = class {
36972
37129
  constructor() {
@@ -36984,10 +37141,10 @@ var TypeCheckShimGenerator = class {
36984
37141
  }
36985
37142
  };
36986
37143
 
36987
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
37144
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
36988
37145
  var import_typescript83 = __toESM(require("typescript"), 1);
36989
37146
 
36990
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
37147
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
36991
37148
  var import_typescript81 = __toESM(require("typescript"), 1);
36992
37149
  function wrapForDiagnostics(expr) {
36993
37150
  return import_typescript81.default.factory.createParenthesizedExpression(expr);
@@ -37032,7 +37189,7 @@ function translateDiagnostic(diagnostic, resolver) {
37032
37189
  return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
37033
37190
  }
37034
37191
 
37035
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
37192
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
37036
37193
  var import_typescript82 = __toESM(require("typescript"), 1);
37037
37194
  var NULL_AS_ANY = import_typescript82.default.factory.createAsExpression(import_typescript82.default.factory.createNull(), import_typescript82.default.factory.createKeywordTypeNode(import_typescript82.default.SyntaxKind.AnyKeyword));
37038
37195
  var UNDEFINED = import_typescript82.default.factory.createIdentifier("undefined");
@@ -37364,7 +37521,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
37364
37521
  _VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
37365
37522
  })();
37366
37523
 
37367
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
37524
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
37368
37525
  var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
37369
37526
  constructor(templateId, boundTarget, oob) {
37370
37527
  super();
@@ -37387,7 +37544,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
37387
37544
  }
37388
37545
  };
37389
37546
 
37390
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
37547
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
37391
37548
  var TcbGenericContextBehavior;
37392
37549
  (function(TcbGenericContextBehavior2) {
37393
37550
  TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
@@ -38514,7 +38671,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
38514
38671
  }
38515
38672
  };
38516
38673
 
38517
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
38674
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
38518
38675
  var import_typescript84 = __toESM(require("typescript"), 1);
38519
38676
  var TypeCheckFile = class extends Environment {
38520
38677
  constructor(fileName, config, refEmitter, reflector, compilerHost) {
@@ -38550,7 +38707,7 @@ var TypeCheckFile = class extends Environment {
38550
38707
  }
38551
38708
  };
38552
38709
 
38553
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
38710
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
38554
38711
  var InliningMode;
38555
38712
  (function(InliningMode2) {
38556
38713
  InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
@@ -38787,7 +38944,7 @@ function splitStringAtPoints(str, points) {
38787
38944
  return splits;
38788
38945
  }
38789
38946
 
38790
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
38947
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
38791
38948
  var LF_CHAR = 10;
38792
38949
  var CR_CHAR = 13;
38793
38950
  var LINE_SEP_CHAR = 8232;
@@ -38828,7 +38985,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
38828
38985
  return low - 1;
38829
38986
  }
38830
38987
 
38831
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
38988
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
38832
38989
  var TemplateSource = class {
38833
38990
  constructor(mapping, file) {
38834
38991
  this.mapping = mapping;
@@ -38879,7 +39036,7 @@ var TemplateSourceManager = class {
38879
39036
  }
38880
39037
  };
38881
39038
 
38882
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
39039
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
38883
39040
  var import_typescript86 = __toESM(require("typescript"), 1);
38884
39041
  var SymbolBuilder = class {
38885
39042
  constructor(tcbPath, tcbIsShim, typeCheckBlock, templateData, componentScopeReader, getTypeChecker) {
@@ -39356,7 +39513,7 @@ function sourceSpanEqual(a, b) {
39356
39513
  return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
39357
39514
  }
39358
39515
 
39359
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
39516
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
39360
39517
  var REGISTRY2 = new DomElementSchemaRegistry();
39361
39518
  var TemplateTypeCheckerImpl = class {
39362
39519
  constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
@@ -40052,7 +40209,7 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
40052
40209
  }
40053
40210
  };
40054
40211
 
40055
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
40212
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
40056
40213
  var TemplateCheckWithVisitor = class {
40057
40214
  run(ctx, component, template2) {
40058
40215
  const visitor = new TemplateVisitor2(ctx, component, this);
@@ -40169,7 +40326,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
40169
40326
  }
40170
40327
  };
40171
40328
 
40172
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
40329
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
40173
40330
  var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
40174
40331
  constructor() {
40175
40332
  super(...arguments);
@@ -40194,7 +40351,7 @@ var factory = {
40194
40351
  create: () => new InvalidBananaInBoxCheck()
40195
40352
  };
40196
40353
 
40197
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
40354
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
40198
40355
  var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
40199
40356
  ["ngIf", "NgIf"],
40200
40357
  ["ngFor", "NgFor"],
@@ -40238,7 +40395,7 @@ var factory2 = {
40238
40395
  }
40239
40396
  };
40240
40397
 
40241
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
40398
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
40242
40399
  var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
40243
40400
  constructor() {
40244
40401
  super(...arguments);
@@ -40270,7 +40427,7 @@ var factory3 = {
40270
40427
  create: () => new MissingNgForOfLetCheck()
40271
40428
  };
40272
40429
 
40273
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
40430
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
40274
40431
  var import_typescript89 = __toESM(require("typescript"), 1);
40275
40432
  var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
40276
40433
  constructor() {
@@ -40314,7 +40471,7 @@ var factory4 = {
40314
40471
  }
40315
40472
  };
40316
40473
 
40317
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
40474
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
40318
40475
  var import_typescript90 = __toESM(require("typescript"), 1);
40319
40476
  var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
40320
40477
  constructor() {
@@ -40359,7 +40516,7 @@ var factory5 = {
40359
40516
  }
40360
40517
  };
40361
40518
 
40362
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
40519
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
40363
40520
  var STYLE_SUFFIXES = ["px", "%", "em"];
40364
40521
  var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
40365
40522
  constructor() {
@@ -40382,7 +40539,7 @@ var factory6 = {
40382
40539
  create: () => new SuffixNotSupportedCheck()
40383
40540
  };
40384
40541
 
40385
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
40542
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
40386
40543
  var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
40387
40544
  constructor() {
40388
40545
  super(...arguments);
@@ -40420,10 +40577,10 @@ var factory7 = {
40420
40577
  create: () => new TextAttributeNotBindingSpec()
40421
40578
  };
40422
40579
 
40423
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
40580
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
40424
40581
  var import_typescript91 = __toESM(require("typescript"), 1);
40425
40582
 
40426
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
40583
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
40427
40584
  var DiagnosticCategoryLabel;
40428
40585
  (function(DiagnosticCategoryLabel2) {
40429
40586
  DiagnosticCategoryLabel2["Warning"] = "warning";
@@ -40431,7 +40588,7 @@ var DiagnosticCategoryLabel;
40431
40588
  DiagnosticCategoryLabel2["Suppress"] = "suppress";
40432
40589
  })(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
40433
40590
 
40434
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
40591
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
40435
40592
  var ExtendedTemplateCheckerImpl = class {
40436
40593
  constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
40437
40594
  var _a2, _b2, _c2, _d2, _e2;
@@ -40483,7 +40640,7 @@ function assertNever(value) {
40483
40640
  ${value}`);
40484
40641
  }
40485
40642
 
40486
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
40643
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
40487
40644
  var ALL_DIAGNOSTIC_FACTORIES = [
40488
40645
  factory,
40489
40646
  factory4,
@@ -40494,7 +40651,7 @@ var ALL_DIAGNOSTIC_FACTORIES = [
40494
40651
  factory6
40495
40652
  ];
40496
40653
 
40497
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
40654
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
40498
40655
  var CompilationTicketKind;
40499
40656
  (function(CompilationTicketKind2) {
40500
40657
  CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
@@ -41223,7 +41380,7 @@ function versionMapFromProgram(program, driver) {
41223
41380
  return versions;
41224
41381
  }
41225
41382
 
41226
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
41383
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
41227
41384
  var import_typescript94 = __toESM(require("typescript"), 1);
41228
41385
  var DelegatingCompilerHost2 = class {
41229
41386
  constructor(delegate) {
@@ -41356,7 +41513,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
41356
41513
  }
41357
41514
  };
41358
41515
 
41359
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
41516
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
41360
41517
  var NgtscProgram = class {
41361
41518
  constructor(rootNames, options, delegateHost, oldProgram) {
41362
41519
  this.options = options;
@@ -41580,21 +41737,21 @@ function mergeEmitResults(emitResults) {
41580
41737
  return { diagnostics, emitSkipped, emittedFiles };
41581
41738
  }
41582
41739
 
41583
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
41740
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
41584
41741
  function createProgram({ rootNames, options, host, oldProgram }) {
41585
41742
  return new NgtscProgram(rootNames, options, host, oldProgram);
41586
41743
  }
41587
41744
 
41588
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
41745
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
41589
41746
  var import_typescript98 = __toESM(require("typescript"), 1);
41590
41747
 
41591
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
41748
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
41592
41749
  var import_typescript97 = __toESM(require("typescript"), 1);
41593
41750
 
41594
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
41751
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
41595
41752
  var import_typescript99 = __toESM(require("typescript"), 1);
41596
41753
 
41597
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
41754
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
41598
41755
  var GLOBAL_DEFS_FOR_TERSER = {
41599
41756
  ngDevMode: false,
41600
41757
  ngI18nClosureMode: false
@@ -41603,7 +41760,7 @@ var GLOBAL_DEFS_FOR_TERSER_WITH_AOT = __spreadProps(__spreadValues({}, GLOBAL_DE
41603
41760
  ngJitMode: false
41604
41761
  });
41605
41762
 
41606
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
41763
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
41607
41764
  var LogLevel;
41608
41765
  (function(LogLevel2) {
41609
41766
  LogLevel2[LogLevel2["debug"] = 0] = "debug";
@@ -41612,7 +41769,7 @@ var LogLevel;
41612
41769
  LogLevel2[LogLevel2["error"] = 3] = "error";
41613
41770
  })(LogLevel || (LogLevel = {}));
41614
41771
 
41615
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
41772
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
41616
41773
  var RESET = "\x1B[0m";
41617
41774
  var RED = "\x1B[31m";
41618
41775
  var YELLOW = "\x1B[33m";
@@ -41621,18 +41778,18 @@ var DEBUG = `${BLUE}Debug:${RESET}`;
41621
41778
  var WARN = `${YELLOW}Warning:${RESET}`;
41622
41779
  var ERROR = `${RED}Error:${RESET}`;
41623
41780
 
41624
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/index.mjs
41781
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/index.mjs
41625
41782
  setFileSystem(new NodeJSFileSystem());
41626
41783
 
41627
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
41784
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
41628
41785
  var import_fs2 = require("fs");
41629
41786
  var import_path8 = require("path");
41630
41787
  var import_typescript112 = __toESM(require("typescript"), 1);
41631
41788
 
41632
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
41789
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
41633
41790
  var import_typescript101 = __toESM(require("typescript"), 1);
41634
41791
 
41635
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
41792
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
41636
41793
  var import_path4 = require("path");
41637
41794
  var import_typescript100 = __toESM(require("typescript"), 1);
41638
41795
  var ImportManager2 = class {
@@ -41816,7 +41973,7 @@ ${text2}`;
41816
41973
  }
41817
41974
  };
41818
41975
 
41819
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
41976
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
41820
41977
  var ChangeTracker = class {
41821
41978
  constructor(_printer, _importRemapper) {
41822
41979
  __publicField(this, "_printer");
@@ -41872,7 +42029,7 @@ function normalizePath(path3) {
41872
42029
  return path3.replace(/\\/g, "/");
41873
42030
  }
41874
42031
 
41875
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
42032
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
41876
42033
  var import_core15 = require("@angular-devkit/core");
41877
42034
  function getProjectTsConfigPaths(tree) {
41878
42035
  return __async(this, null, function* () {
@@ -41952,11 +42109,11 @@ function getWorkspace(tree) {
41952
42109
  });
41953
42110
  }
41954
42111
 
41955
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
42112
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
41956
42113
  var import_path5 = require("path");
41957
42114
  var import_typescript103 = __toESM(require("typescript"), 1);
41958
42115
 
41959
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
42116
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
41960
42117
  var path2 = __toESM(require("path"), 1);
41961
42118
  var import_typescript102 = __toESM(require("typescript"), 1);
41962
42119
  function parseTsconfigFile(tsconfigPath, basePath) {
@@ -41973,7 +42130,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
41973
42130
  return import_typescript102.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
41974
42131
  }
41975
42132
 
41976
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
42133
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
41977
42134
  function createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles, optionOverrides) {
41978
42135
  tsconfigPath = (0, import_path5.resolve)(basePath, tsconfigPath);
41979
42136
  const parsed = parseTsconfigFile(tsconfigPath, (0, import_path5.dirname)(tsconfigPath));
@@ -42002,13 +42159,13 @@ function canMigrateFile(basePath, sourceFile, program) {
42002
42159
  return !(0, import_path5.relative)(basePath, sourceFile.fileName).startsWith("..");
42003
42160
  }
42004
42161
 
42005
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
42162
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
42006
42163
  var import_typescript108 = __toESM(require("typescript"), 1);
42007
42164
 
42008
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
42165
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
42009
42166
  var import_typescript105 = __toESM(require("typescript"), 1);
42010
42167
 
42011
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
42168
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
42012
42169
  var import_typescript104 = __toESM(require("typescript"), 1);
42013
42170
  function getImportOfIdentifier(typeChecker, node) {
42014
42171
  const symbol = typeChecker.getSymbolAtLocation(node);
@@ -42059,7 +42216,7 @@ function findImportSpecifier(nodes, specifierName) {
42059
42216
  });
42060
42217
  }
42061
42218
 
42062
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
42219
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
42063
42220
  function getCallDecoratorImport(typeChecker, decorator) {
42064
42221
  if (!import_typescript105.default.isCallExpression(decorator.expression) || !import_typescript105.default.isIdentifier(decorator.expression.expression)) {
42065
42222
  return null;
@@ -42068,7 +42225,7 @@ function getCallDecoratorImport(typeChecker, decorator) {
42068
42225
  return getImportOfIdentifier(typeChecker, identifier);
42069
42226
  }
42070
42227
 
42071
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/ng_decorators.mjs
42228
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/ng_decorators.mjs
42072
42229
  function getAngularDecorators(typeChecker, decorators) {
42073
42230
  return decorators.map((node) => ({ node, importData: getCallDecoratorImport(typeChecker, node) })).filter(({ importData }) => importData && importData.importModule.startsWith("@angular/")).map(({ node, importData }) => ({
42074
42231
  node,
@@ -42078,7 +42235,7 @@ function getAngularDecorators(typeChecker, decorators) {
42078
42235
  }));
42079
42236
  }
42080
42237
 
42081
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs
42238
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs
42082
42239
  var import_typescript106 = __toESM(require("typescript"), 1);
42083
42240
  function closestNode(node, predicate) {
42084
42241
  let current = node.parent;
@@ -42091,7 +42248,7 @@ function closestNode(node, predicate) {
42091
42248
  return null;
42092
42249
  }
42093
42250
 
42094
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/util.mjs
42251
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/util.mjs
42095
42252
  var import_path6 = require("path");
42096
42253
  var import_typescript107 = __toESM(require("typescript"), 1);
42097
42254
  var UniqueItemTracker = class {
@@ -42267,7 +42424,7 @@ function isClassReferenceInAngularModule(node, className, moduleName, typeChecke
42267
42424
  }));
42268
42425
  }
42269
42426
 
42270
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
42427
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
42271
42428
  function pruneNgModules(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles) {
42272
42429
  const filesToRemove = /* @__PURE__ */ new Set();
42273
42430
  const tracker = new ChangeTracker(printer, importRemapper);
@@ -42466,14 +42623,14 @@ function findNgModuleDecorator(node, typeChecker) {
42466
42623
  return decorators.find((decorator) => decorator.name === "NgModule") || null;
42467
42624
  }
42468
42625
 
42469
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
42626
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
42470
42627
  var import_path7 = require("path");
42471
42628
  var import_typescript111 = __toESM(require("typescript"), 1);
42472
42629
 
42473
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
42630
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
42474
42631
  var import_typescript110 = __toESM(require("typescript"), 1);
42475
42632
 
42476
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/symbol.mjs
42633
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/symbol.mjs
42477
42634
  var import_typescript109 = __toESM(require("typescript"), 1);
42478
42635
  function isReferenceToImport(typeChecker, node, importSpecifier) {
42479
42636
  var _a2, _b2;
@@ -42482,7 +42639,7 @@ function isReferenceToImport(typeChecker, node, importSpecifier) {
42482
42639
  return !!(((_a2 = nodeSymbol == null ? void 0 : nodeSymbol.declarations) == null ? void 0 : _a2[0]) && ((_b2 = importSymbol == null ? void 0 : importSymbol.declarations) == null ? void 0 : _b2[0])) && nodeSymbol.declarations[0] === importSymbol.declarations[0];
42483
42640
  }
42484
42641
 
42485
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
42642
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
42486
42643
  function toStandalone(sourceFiles, program, printer, fileImportRemapper, componentImportRemapper) {
42487
42644
  const templateTypeChecker = program.compiler.getTemplateTypeChecker();
42488
42645
  const typeChecker = program.getTsProgram().getTypeChecker();
@@ -42845,7 +43002,7 @@ function isStandaloneDeclaration(node, declarationsInMigration, templateTypeChec
42845
43002
  return metadata != null && metadata.isStandalone;
42846
43003
  }
42847
43004
 
42848
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
43005
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
42849
43006
  function toStandaloneBootstrap(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles, componentImportRemapper) {
42850
43007
  const tracker = new ChangeTracker(printer, importRemapper);
42851
43008
  const typeChecker = program.getTsProgram().getTypeChecker();
@@ -43222,7 +43379,7 @@ function hasImport(program, rootFileNames, moduleName) {
43222
43379
  return false;
43223
43380
  }
43224
43381
 
43225
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
43382
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
43226
43383
  var MigrationMode;
43227
43384
  (function(MigrationMode2) {
43228
43385
  MigrationMode2["toStandalone"] = "convert-to-standalone";