@angular/core 16.1.0-next.2 → 16.1.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/esm2022/src/application_init.mjs +2 -3
  2. package/esm2022/src/application_module.mjs +2 -3
  3. package/esm2022/src/application_ref.mjs +10 -8
  4. package/esm2022/src/change_detection/change_detector_ref.mjs +2 -3
  5. package/esm2022/src/change_detection/differs/iterable_differs.mjs +2 -3
  6. package/esm2022/src/change_detection/differs/keyvalue_differs.mjs +2 -3
  7. package/esm2022/src/console.mjs +2 -3
  8. package/esm2022/src/core.mjs +2 -1
  9. package/esm2022/src/core_private_export.mjs +2 -2
  10. package/esm2022/src/di/injector.mjs +2 -3
  11. package/esm2022/src/hydration/api.mjs +4 -7
  12. package/esm2022/src/initial_render_pending_tasks.mjs +13 -39
  13. package/esm2022/src/linker/compiler.mjs +2 -3
  14. package/esm2022/src/linker/component_factory_resolver.mjs +2 -3
  15. package/esm2022/src/linker/destroy_ref.mjs +2 -3
  16. package/esm2022/src/linker/element_ref.mjs +2 -3
  17. package/esm2022/src/linker/template_ref.mjs +2 -3
  18. package/esm2022/src/linker/view_container_ref.mjs +2 -3
  19. package/esm2022/src/metadata/directives.mjs +1 -1
  20. package/esm2022/src/render/api.mjs +2 -3
  21. package/esm2022/src/render3/definition.mjs +3 -1
  22. package/esm2022/src/render3/features/inherit_definition_feature.mjs +8 -1
  23. package/esm2022/src/render3/features/input_transforms_feature.mjs +22 -3
  24. package/esm2022/src/render3/instructions/shared.mjs +5 -1
  25. package/esm2022/src/render3/interfaces/definition.mjs +1 -1
  26. package/esm2022/src/render3/jit/directive.mjs +2 -2
  27. package/esm2022/src/render3/reactivity/effect.mjs +2 -3
  28. package/esm2022/src/sanitization/sanitizer.mjs +2 -3
  29. package/esm2022/src/signals/src/graph.mjs +1 -1
  30. package/esm2022/src/testability/testability.mjs +3 -5
  31. package/esm2022/src/transfer_state.mjs +2 -3
  32. package/esm2022/src/util/coercion.mjs +24 -3
  33. package/esm2022/src/util/property.mjs +1 -1
  34. package/esm2022/src/version.mjs +1 -1
  35. package/esm2022/testing/src/logger.mjs +5 -6
  36. package/esm2022/testing/src/test_bed.mjs +2 -3
  37. package/fesm2022/core.mjs +108 -79
  38. package/fesm2022/core.mjs.map +1 -1
  39. package/fesm2022/rxjs-interop.mjs +1 -1
  40. package/fesm2022/rxjs-interop.mjs.map +1 -1
  41. package/fesm2022/testing.mjs +36 -4
  42. package/fesm2022/testing.mjs.map +1 -1
  43. package/index.d.ts +71 -18
  44. package/package.json +1 -1
  45. package/rxjs-interop/index.d.ts +1 -1
  46. package/schematics/migrations/guard-and-resolve-interfaces/bundle.js +13 -13
  47. package/schematics/migrations/remove-module-id/bundle.js +14 -14
  48. package/schematics/ng-generate/standalone-migration/bundle.js +1139 -582
  49. package/schematics/ng-generate/standalone-migration/bundle.js.map +4 -4
  50. package/testing/index.d.ts +1 -1
@@ -63,7 +63,7 @@ var __async = (__this, __arguments, generator) => {
63
63
  });
64
64
  };
65
65
 
66
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
66
+ // bazel-out/darwin_arm64-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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
74
+ // bazel-out/darwin_arm64-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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
77
+ // bazel-out/darwin_arm64-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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
165
+ // bazel-out/darwin_arm64-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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
178
+ // bazel-out/darwin_arm64-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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
222
+ // bazel-out/darwin_arm64-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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
268
+ // bazel-out/darwin_arm64-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/k8-fastbuild/bin/packages/compiler/src/selector.mjs
376
+ // bazel-out/darwin_arm64-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/k8-fastbuild/bin/packages/compiler/src/core.mjs
684
+ // bazel-out/darwin_arm64-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/k8-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
747
+ // bazel-out/darwin_arm64-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,
@@ -829,7 +829,7 @@ __export(output_ast_exports, {
829
829
  variable: () => variable
830
830
  });
831
831
 
832
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/big_integer.mjs
832
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/big_integer.mjs
833
833
  var BigInteger = class {
834
834
  static zero() {
835
835
  return new BigInteger([0]);
@@ -921,7 +921,7 @@ var BigIntExponentiation = class {
921
921
  }
922
922
  };
923
923
 
924
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
924
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
925
925
  var textEncoder;
926
926
  function digest(message) {
927
927
  return message.id || computeDigest(message);
@@ -1184,7 +1184,7 @@ function wordsToDecimalString(hi, lo) {
1184
1184
  return decimal.toString();
1185
1185
  }
1186
1186
 
1187
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
1187
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
1188
1188
  var TypeModifier;
1189
1189
  (function(TypeModifier2) {
1190
1190
  TypeModifier2[TypeModifier2["None"] = 0] = "None";
@@ -1618,12 +1618,12 @@ var LocalizedString = class extends Expression {
1618
1618
  return createCookedRawString(metaBlock, this.messageParts[0].text, this.getMessagePartSourceSpan(0));
1619
1619
  }
1620
1620
  getMessagePartSourceSpan(i) {
1621
- var _a2, _b;
1622
- return (_b = (_a2 = this.messageParts[i]) == null ? void 0 : _a2.sourceSpan) != null ? _b : this.sourceSpan;
1621
+ var _a2, _b2;
1622
+ return (_b2 = (_a2 = this.messageParts[i]) == null ? void 0 : _a2.sourceSpan) != null ? _b2 : this.sourceSpan;
1623
1623
  }
1624
1624
  getPlaceholderSourceSpan(i) {
1625
- var _a2, _b, _c, _d;
1626
- return (_d = (_c = (_a2 = this.placeHolderNames[i]) == null ? void 0 : _a2.sourceSpan) != null ? _c : (_b = this.expressions[i]) == null ? void 0 : _b.sourceSpan) != null ? _d : this.sourceSpan;
1625
+ var _a2, _b2, _c2, _d2;
1626
+ return (_d2 = (_c2 = (_a2 = this.placeHolderNames[i]) == null ? void 0 : _a2.sourceSpan) != null ? _c2 : (_b2 = this.expressions[i]) == null ? void 0 : _b2.sourceSpan) != null ? _d2 : this.sourceSpan;
1627
1627
  }
1628
1628
  serializeI18nTemplatePart(partIndex) {
1629
1629
  var _a2;
@@ -2226,7 +2226,7 @@ function serializeTags(tags) {
2226
2226
  return out;
2227
2227
  }
2228
2228
 
2229
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/constant_pool.mjs
2229
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/constant_pool.mjs
2230
2230
  var CONSTANT_PREFIX = "_c";
2231
2231
  var UNKNOWN_VALUE_KEY = variable("<unknown>");
2232
2232
  var KEY_CONTEXT = {};
@@ -2262,13 +2262,14 @@ var ConstantPool = class {
2262
2262
  this.statements = [];
2263
2263
  this.literals = /* @__PURE__ */ new Map();
2264
2264
  this.literalFactories = /* @__PURE__ */ new Map();
2265
+ this.sharedConstants = /* @__PURE__ */ new Map();
2265
2266
  this.nextNameIndex = 0;
2266
2267
  }
2267
2268
  getConstLiteral(literal3, forceShared) {
2268
2269
  if (literal3 instanceof LiteralExpr && !isLongStringLiteral(literal3) || literal3 instanceof FixupExpression) {
2269
2270
  return literal3;
2270
2271
  }
2271
- const key = this.keyOf(literal3);
2272
+ const key = GenericKeyFn.INSTANCE.keyOf(literal3);
2272
2273
  let fixup = this.literals.get(key);
2273
2274
  let newValue = false;
2274
2275
  if (!fixup) {
@@ -2297,10 +2298,19 @@ var ConstantPool = class {
2297
2298
  }
2298
2299
  return fixup;
2299
2300
  }
2301
+ getSharedConstant(def, expr) {
2302
+ const key = def.keyOf(expr);
2303
+ if (!this.sharedConstants.has(key)) {
2304
+ const id = this.freshName();
2305
+ this.sharedConstants.set(key, variable(id));
2306
+ this.statements.push(def.toSharedConstantDeclaration(id, expr));
2307
+ }
2308
+ return this.sharedConstants.get(key);
2309
+ }
2300
2310
  getLiteralFactory(literal3) {
2301
2311
  if (literal3 instanceof LiteralArrayExpr) {
2302
2312
  const argumentsForKey = literal3.entries.map((e) => e.isConstant() ? e : UNKNOWN_VALUE_KEY);
2303
- const key = this.keyOf(literalArr(argumentsForKey));
2313
+ const key = GenericKeyFn.INSTANCE.keyOf(literalArr(argumentsForKey));
2304
2314
  return this._getLiteralFactory(key, literal3.entries, (entries) => literalArr(entries));
2305
2315
  } else {
2306
2316
  const expressionForKey = literalMap(literal3.entries.map((e) => ({
@@ -2308,7 +2318,7 @@ var ConstantPool = class {
2308
2318
  value: e.value.isConstant() ? e.value : UNKNOWN_VALUE_KEY,
2309
2319
  quoted: e.quoted
2310
2320
  })));
2311
- const key = this.keyOf(expressionForKey);
2321
+ const key = GenericKeyFn.INSTANCE.keyOf(expressionForKey);
2312
2322
  return this._getLiteralFactory(key, literal3.entries.map((e) => e.value), (entries) => literalMap(entries.map((value, index) => ({
2313
2323
  key: literal3.entries[index].key,
2314
2324
  value,
@@ -2336,58 +2346,44 @@ var ConstantPool = class {
2336
2346
  freshName() {
2337
2347
  return this.uniqueName(CONSTANT_PREFIX);
2338
2348
  }
2339
- keyOf(expression) {
2340
- return expression.visitExpression(new KeyVisitor(), KEY_CONTEXT);
2341
- }
2342
2349
  };
2343
- var KeyVisitor = class {
2344
- constructor() {
2345
- this.visitWrappedNodeExpr = invalid;
2346
- this.visitWriteVarExpr = invalid;
2347
- this.visitWriteKeyExpr = invalid;
2348
- this.visitWritePropExpr = invalid;
2349
- this.visitInvokeFunctionExpr = invalid;
2350
- this.visitTaggedTemplateExpr = invalid;
2351
- this.visitInstantiateExpr = invalid;
2352
- this.visitConditionalExpr = invalid;
2353
- this.visitNotExpr = invalid;
2354
- this.visitAssertNotNullExpr = invalid;
2355
- this.visitCastExpr = invalid;
2356
- this.visitFunctionExpr = invalid;
2357
- this.visitUnaryOperatorExpr = invalid;
2358
- this.visitBinaryOperatorExpr = invalid;
2359
- this.visitReadPropExpr = invalid;
2360
- this.visitReadKeyExpr = invalid;
2361
- this.visitCommaExpr = invalid;
2362
- this.visitLocalizedString = invalid;
2363
- }
2364
- visitLiteralExpr(ast) {
2365
- return `${typeof ast.value === "string" ? '"' + ast.value + '"' : ast.value}`;
2366
- }
2367
- visitLiteralArrayExpr(ast, context) {
2368
- return `[${ast.entries.map((entry) => entry.visitExpression(this, context)).join(",")}]`;
2369
- }
2370
- visitLiteralMapExpr(ast, context) {
2371
- const mapKey = (entry) => {
2372
- const quote = entry.quoted ? '"' : "";
2373
- return `${quote}${entry.key}${quote}`;
2374
- };
2375
- const mapEntry = (entry) => `${mapKey(entry)}:${entry.value.visitExpression(this, context)}`;
2376
- return `{${ast.entries.map(mapEntry).join(",")}`;
2377
- }
2378
- visitExternalExpr(ast) {
2379
- return ast.value.moduleName ? `EX:${ast.value.moduleName}:${ast.value.name}` : `EX:${ast.value.runtime.name}`;
2380
- }
2381
- visitReadVarExpr(node) {
2382
- return `VAR:${node.name}`;
2383
- }
2384
- visitTypeofExpr(node, context) {
2385
- return `TYPEOF:${node.expr.visitExpression(this, context)}`;
2350
+ var _GenericKeyFn = class {
2351
+ keyOf(expr) {
2352
+ if (expr instanceof LiteralExpr && typeof expr.value === "string") {
2353
+ return `"${expr.value}"`;
2354
+ } else if (expr instanceof LiteralExpr) {
2355
+ return String(expr.value);
2356
+ } else if (expr instanceof LiteralArrayExpr) {
2357
+ const entries = [];
2358
+ for (const entry of expr.entries) {
2359
+ entries.push(this.keyOf(entry));
2360
+ }
2361
+ return `[${entries.join(",")}]`;
2362
+ } else if (expr instanceof LiteralMapExpr) {
2363
+ const entries = [];
2364
+ for (const entry of expr.entries) {
2365
+ let key = entry.key;
2366
+ if (entry.quoted) {
2367
+ key = `"${key}"`;
2368
+ }
2369
+ entries.push(key + ":" + this.keyOf(entry.value));
2370
+ }
2371
+ return `{${entries.join(",")}}`;
2372
+ } else if (expr instanceof ExternalExpr) {
2373
+ return `import("${expr.value.moduleName}", ${expr.value.name})`;
2374
+ } else if (expr instanceof ReadVarExpr) {
2375
+ return `read(${expr.name})`;
2376
+ } else if (expr instanceof TypeofExpr) {
2377
+ return `typeof(${this.keyOf(expr.expr)})`;
2378
+ } else {
2379
+ throw new Error(`${this.constructor.name} does not handle expressions of type ${expr.constructor.name}`);
2380
+ }
2386
2381
  }
2387
2382
  };
2388
- function invalid(arg) {
2389
- throw new Error(`Invalid state: Visitor ${this.constructor.name} doesn't handle ${arg.constructor.name}`);
2390
- }
2383
+ var GenericKeyFn = _GenericKeyFn;
2384
+ (() => {
2385
+ _GenericKeyFn.INSTANCE = new _GenericKeyFn();
2386
+ })();
2391
2387
  function isVariable(e) {
2392
2388
  return e instanceof ReadVarExpr;
2393
2389
  }
@@ -2395,7 +2391,7 @@ function isLongStringLiteral(expr) {
2395
2391
  return expr instanceof LiteralExpr && typeof expr.value === "string" && expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS;
2396
2392
  }
2397
2393
 
2398
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
2394
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
2399
2395
  var CORE = "@angular/core";
2400
2396
  var _Identifiers = class {
2401
2397
  };
@@ -2953,7 +2949,7 @@ var Identifiers = _Identifiers;
2953
2949
  _Identifiers.validateIframeAttribute = { name: "\u0275\u0275validateIframeAttribute", moduleName: CORE };
2954
2950
  })();
2955
2951
 
2956
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/util.mjs
2952
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/util.mjs
2957
2953
  var DASH_CASE_REGEXP = /-+([a-z0-9])/g;
2958
2954
  function dashCaseToCamelCase(input) {
2959
2955
  return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
@@ -3041,7 +3037,7 @@ function partitionArray(arr, conditionFn) {
3041
3037
  return [truthy, falsy];
3042
3038
  }
3043
3039
 
3044
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/source_map.mjs
3040
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/source_map.mjs
3045
3041
  var VERSION = 3;
3046
3042
  var JS_B64_PREFIX = "# sourceMappingURL=data:application/json;base64,";
3047
3043
  var SourceMapGenerator = class {
@@ -3170,7 +3166,7 @@ function toBase64Digit(value) {
3170
3166
  return B64_DIGITS[value];
3171
3167
  }
3172
3168
 
3173
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
3169
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
3174
3170
  var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
3175
3171
  var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;
3176
3172
  var _INDENT_WITH = " ";
@@ -3645,7 +3641,7 @@ function _createIndent(count) {
3645
3641
  return res;
3646
3642
  }
3647
3643
 
3648
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/util.mjs
3644
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/util.mjs
3649
3645
  function typeWithParameters(type, numParams) {
3650
3646
  if (numParams === 0) {
3651
3647
  return expressionType(type);
@@ -3713,7 +3709,7 @@ function generateForwardRef(expr) {
3713
3709
  return importExpr(Identifiers.forwardRef).callFn([fn([], [new ReturnStatement(expr)])]);
3714
3710
  }
3715
3711
 
3716
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
3712
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
3717
3713
  var R3FactoryDelegateType;
3718
3714
  (function(R3FactoryDelegateType2) {
3719
3715
  R3FactoryDelegateType2[R3FactoryDelegateType2["Class"] = 0] = "Class";
@@ -3858,7 +3854,7 @@ function getInjectFn(target) {
3858
3854
  }
3859
3855
  }
3860
3856
 
3861
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
3857
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
3862
3858
  var Comment = class {
3863
3859
  constructor(value, sourceSpan) {
3864
3860
  this.value = value;
@@ -4080,7 +4076,7 @@ function visitAll(visitor, nodes) {
4080
4076
  return result;
4081
4077
  }
4082
4078
 
4083
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
4079
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
4084
4080
  var Message = class {
4085
4081
  constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
4086
4082
  this.nodes = nodes;
@@ -4243,7 +4239,7 @@ var LocalizeMessageStringVisitor = class {
4243
4239
  }
4244
4240
  };
4245
4241
 
4246
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/serializer.mjs
4242
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/serializer.mjs
4247
4243
  var Serializer = class {
4248
4244
  createNameMapper(message) {
4249
4245
  return null;
@@ -4295,7 +4291,7 @@ var SimplePlaceholderMapper = class extends RecurseVisitor {
4295
4291
  }
4296
4292
  };
4297
4293
 
4298
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
4294
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
4299
4295
  var _Visitor = class {
4300
4296
  visitTag(tag) {
4301
4297
  const strAttrs = this._serializeAttributes(tag.attrs);
@@ -4383,7 +4379,7 @@ function escapeXml(text2) {
4383
4379
  return _ESCAPED_CHARS.reduce((text3, entry) => text3.replace(entry[0], entry[1]), text2);
4384
4380
  }
4385
4381
 
4386
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
4382
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
4387
4383
  var _MESSAGES_TAG = "messagebundle";
4388
4384
  var _MESSAGE_TAG = "msg";
4389
4385
  var _PLACEHOLDER_TAG = "ph";
@@ -4526,7 +4522,7 @@ function toPublicName(internalName) {
4526
4522
  return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, "_");
4527
4523
  }
4528
4524
 
4529
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
4525
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
4530
4526
  var CLOSURE_TRANSLATION_VAR_PREFIX = "MSG_";
4531
4527
  var TRANSLATION_VAR_PREFIX = "i18n_";
4532
4528
  var I18N_ATTR = "i18n";
@@ -4628,7 +4624,7 @@ function declareI18nVariable(variable2) {
4628
4624
  return new DeclareVarStmt(variable2.name, void 0, INFERRED_TYPE, void 0, variable2.sourceSpan);
4629
4625
  }
4630
4626
 
4631
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
4627
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
4632
4628
  var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
4633
4629
  var TEMPORARY_NAME = "_t";
4634
4630
  var CONTEXT_NAME = "ctx";
@@ -4705,7 +4701,7 @@ function temporaryAllocator(statements, name) {
4705
4701
  return temp;
4706
4702
  };
4707
4703
  }
4708
- function invalid2(arg) {
4704
+ function invalid(arg) {
4709
4705
  throw new Error(`Invalid state: Visitor ${this.constructor.name} doesn't handle ${arg.constructor.name}`);
4710
4706
  }
4711
4707
  function asLiteral(value) {
@@ -4844,7 +4840,7 @@ function getInstructionStatements(instructions) {
4844
4840
  return statements;
4845
4841
  }
4846
4842
 
4847
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
4843
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
4848
4844
  function compileInjectable(meta, resolveForwardRefs) {
4849
4845
  let result = null;
4850
4846
  const factoryMeta = {
@@ -4932,7 +4928,7 @@ function createFactoryFunction(type) {
4932
4928
  return fn([new FnParam("t", DYNAMIC_TYPE)], [new ReturnStatement(type.prop("\u0275fac").callFn([variable("t")]))]);
4933
4929
  }
4934
4930
 
4935
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/assertions.mjs
4931
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/assertions.mjs
4936
4932
  var UNUSABLE_INTERPOLATION_REGEXPS = [
4937
4933
  /^\s*$/,
4938
4934
  /[<>]/,
@@ -4954,7 +4950,7 @@ function assertInterpolationSymbols(identifier, value) {
4954
4950
  }
4955
4951
  }
4956
4952
 
4957
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/interpolation_config.mjs
4953
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/interpolation_config.mjs
4958
4954
  var InterpolationConfig = class {
4959
4955
  static fromArray(markers) {
4960
4956
  if (!markers) {
@@ -4970,7 +4966,7 @@ var InterpolationConfig = class {
4970
4966
  };
4971
4967
  var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig("{{", "}}");
4972
4968
 
4973
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/chars.mjs
4969
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/chars.mjs
4974
4970
  var $EOF = 0;
4975
4971
  var $BSPACE = 8;
4976
4972
  var $TAB = 9;
@@ -5051,7 +5047,7 @@ function isQuote(code) {
5051
5047
  return code === $SQ || code === $DQ || code === $BT;
5052
5048
  }
5053
5049
 
5054
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/parse_util.mjs
5050
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/parse_util.mjs
5055
5051
  var ParseLocation = class {
5056
5052
  constructor(file, offset, line, col) {
5057
5053
  this.file = file;
@@ -5198,7 +5194,7 @@ function sanitizeIdentifier(name) {
5198
5194
  return name.replace(/\W/g, "_");
5199
5195
  }
5200
5196
 
5201
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
5197
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
5202
5198
  var makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
5203
5199
  var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
5204
5200
  constructor() {
@@ -5269,7 +5265,7 @@ var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
5269
5265
  }
5270
5266
  };
5271
5267
 
5272
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
5268
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
5273
5269
  var policy;
5274
5270
  function getPolicy() {
5275
5271
  if (policy === void 0) {
@@ -5306,7 +5302,7 @@ function newTrustedFunctionForJIT(...args) {
5306
5302
  return fn2.bind(_global);
5307
5303
  }
5308
5304
 
5309
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
5305
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
5310
5306
  var JitEvaluator = class {
5311
5307
  evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
5312
5308
  const converter = new JitEmitterVisitor(refResolver);
@@ -5397,7 +5393,7 @@ function isUseStrictStatement(statement) {
5397
5393
  return statement.isEquivalent(literal("use strict").toStmt());
5398
5394
  }
5399
5395
 
5400
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
5396
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
5401
5397
  function compileInjector(meta) {
5402
5398
  const definitionMap = new DefinitionMap();
5403
5399
  if (meta.providers !== null) {
@@ -5414,7 +5410,7 @@ function createInjectorType(meta) {
5414
5410
  return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
5415
5411
  }
5416
5412
 
5417
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
5413
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
5418
5414
  var R3JitReflector = class {
5419
5415
  constructor(context) {
5420
5416
  this.context = context;
@@ -5430,7 +5426,7 @@ var R3JitReflector = class {
5430
5426
  }
5431
5427
  };
5432
5428
 
5433
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
5429
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
5434
5430
  var R3SelectorScopeMode;
5435
5431
  (function(R3SelectorScopeMode2) {
5436
5432
  R3SelectorScopeMode2[R3SelectorScopeMode2["Inline"] = 0] = "Inline";
@@ -5543,7 +5539,7 @@ function tupleOfTypes(types) {
5543
5539
  return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
5544
5540
  }
5545
5541
 
5546
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
5542
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
5547
5543
  function compilePipeFromMetadata(metadata) {
5548
5544
  const definitionMapValues = [];
5549
5545
  definitionMapValues.push({ key: "name", value: literal(metadata.pipeName), quoted: false });
@@ -5564,7 +5560,7 @@ function createPipeType(metadata) {
5564
5560
  ]));
5565
5561
  }
5566
5562
 
5567
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
5563
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
5568
5564
  var R3TemplateDependencyKind;
5569
5565
  (function(R3TemplateDependencyKind2) {
5570
5566
  R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive";
@@ -5572,7 +5568,7 @@ var R3TemplateDependencyKind;
5572
5568
  R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule";
5573
5569
  })(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
5574
5570
 
5575
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
5571
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
5576
5572
  var ParserError = class {
5577
5573
  constructor(message, input, errLocation, ctxLocation) {
5578
5574
  this.input = input;
@@ -6238,7 +6234,7 @@ var BoundElementProperty = class {
6238
6234
  }
6239
6235
  };
6240
6236
 
6241
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler_util/expression_converter.mjs
6237
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/compiler_util/expression_converter.mjs
6242
6238
  var _EventHandlerVars = class {
6243
6239
  };
6244
6240
  var EventHandlerVars = _EventHandlerVars;
@@ -6859,7 +6855,7 @@ var BuiltinFunctionCall = class extends Call {
6859
6855
  }
6860
6856
  };
6861
6857
 
6862
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
6858
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
6863
6859
  var _SECURITY_SCHEMA;
6864
6860
  function SECURITY_SCHEMA() {
6865
6861
  if (!_SECURITY_SCHEMA) {
@@ -6917,7 +6913,7 @@ function isIframeSecuritySensitiveAttr(attrName) {
6917
6913
  return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
6918
6914
  }
6919
6915
 
6920
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/shadow_css.mjs
6916
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/shadow_css.mjs
6921
6917
  var animationKeywords = /* @__PURE__ */ new Set([
6922
6918
  "inherit",
6923
6919
  "initial",
@@ -6952,11 +6948,21 @@ var ShadowCss = class {
6952
6948
  this._animationDeclarationKeyframesRe = /(^|\s+)(?:(?:(['"])((?:\\\\|\\\2|(?!\2).)+)\2)|(-?[A-Za-z][\w\-]*))(?=[,\s]|$)/g;
6953
6949
  }
6954
6950
  shimCssText(cssText, selector, hostSelector = "") {
6955
- const commentsWithHash = extractCommentsWithHash(cssText);
6956
- cssText = stripComments(cssText);
6951
+ const comments = [];
6952
+ cssText = cssText.replace(_commentRe, (m) => {
6953
+ var _a2;
6954
+ if (m.match(_commentWithHashRe)) {
6955
+ comments.push(m);
6956
+ } else {
6957
+ const newLinesMatches = m.match(_newLinesRe);
6958
+ comments.push(((_a2 = newLinesMatches == null ? void 0 : newLinesMatches.join("")) != null ? _a2 : "") + "\n");
6959
+ }
6960
+ return COMMENT_PLACEHOLDER;
6961
+ });
6957
6962
  cssText = this._insertDirectives(cssText);
6958
6963
  const scopedCssText = this._scopeCssText(cssText, selector, hostSelector);
6959
- return [scopedCssText, ...commentsWithHash].join("\n");
6964
+ let commentIdx = 0;
6965
+ return scopedCssText.replace(_commentWithHashPlaceHolderRe, () => comments[commentIdx++]);
6960
6966
  }
6961
6967
  _insertDirectives(cssText) {
6962
6968
  cssText = this._insertPolyfillDirectivesInCssText(cssText);
@@ -7221,17 +7227,14 @@ var _selectorReSuffix = "([>\\s~+[.,{:][\\s\\S]*)?$";
7221
7227
  var _polyfillHostRe = /-shadowcsshost/gim;
7222
7228
  var _colonHostRe = /:host/gim;
7223
7229
  var _colonHostContextRe = /:host-context/gim;
7230
+ var _newLinesRe = /\r?\n/g;
7224
7231
  var _commentRe = /\/\*[\s\S]*?\*\//g;
7232
+ var _commentWithHashRe = /\/\*\s*#\s*source(Mapping)?URL=/g;
7233
+ var COMMENT_PLACEHOLDER = "%COMMENT%";
7234
+ var _commentWithHashPlaceHolderRe = new RegExp(COMMENT_PLACEHOLDER, "g");
7225
7235
  var _placeholderRe = /__ph-(\d+)__/g;
7226
- function stripComments(input) {
7227
- return input.replace(_commentRe, "");
7228
- }
7229
- var _commentWithHashRe = /\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g;
7230
- function extractCommentsWithHash(input) {
7231
- return input.match(_commentWithHashRe) || [];
7232
- }
7233
7236
  var BLOCK_PLACEHOLDER = "%BLOCK%";
7234
- var _ruleRe = /(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g;
7237
+ var _ruleRe = new RegExp(`(\\s*(?:${COMMENT_PLACEHOLDER}\\s*)*)([^;\\{\\}]+?)(\\s*)((?:{%BLOCK%}?\\s*;?)|(?:\\s*;))`, "g");
7235
7238
  var CONTENT_PAIRS = /* @__PURE__ */ new Map([["{", "}"]]);
7236
7239
  var COMMA_IN_PLACEHOLDER = "%COMMA_IN_PLACEHOLDER%";
7237
7240
  var SEMI_IN_PLACEHOLDER = "%SEMI_IN_PLACEHOLDER%";
@@ -7377,7 +7380,7 @@ function repeatGroups(groups, multiples) {
7377
7380
  }
7378
7381
  }
7379
7382
 
7380
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
7383
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
7381
7384
  var TagContentType;
7382
7385
  (function(TagContentType2) {
7383
7386
  TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
@@ -7410,7 +7413,7 @@ function mergeNsAndName(prefix, localName) {
7410
7413
  return prefix ? `:${prefix}:${localName}` : localName;
7411
7414
  }
7412
7415
 
7413
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/element.mjs
7416
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/element.mjs
7414
7417
  var ElementAttributeKind;
7415
7418
  (function(ElementAttributeKind2) {
7416
7419
  ElementAttributeKind2[ElementAttributeKind2["Attribute"] = 0] = "Attribute";
@@ -7487,7 +7490,7 @@ function assertIsElementAttributes(attrs) {
7487
7490
  }
7488
7491
  }
7489
7492
 
7490
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
7493
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
7491
7494
  var OpKind;
7492
7495
  (function(OpKind2) {
7493
7496
  OpKind2[OpKind2["ListEnd"] = 0] = "ListEnd";
@@ -7504,7 +7507,9 @@ var OpKind;
7504
7507
  OpKind2[OpKind2["Listener"] = 11] = "Listener";
7505
7508
  OpKind2[OpKind2["InterpolateText"] = 12] = "InterpolateText";
7506
7509
  OpKind2[OpKind2["Property"] = 13] = "Property";
7507
- OpKind2[OpKind2["Advance"] = 14] = "Advance";
7510
+ OpKind2[OpKind2["InterpolateProperty"] = 14] = "InterpolateProperty";
7511
+ OpKind2[OpKind2["Advance"] = 15] = "Advance";
7512
+ OpKind2[OpKind2["Pipe"] = 16] = "Pipe";
7508
7513
  })(OpKind || (OpKind = {}));
7509
7514
  var ExpressionKind;
7510
7515
  (function(ExpressionKind2) {
@@ -7516,6 +7521,10 @@ var ExpressionKind;
7516
7521
  ExpressionKind2[ExpressionKind2["GetCurrentView"] = 5] = "GetCurrentView";
7517
7522
  ExpressionKind2[ExpressionKind2["RestoreView"] = 6] = "RestoreView";
7518
7523
  ExpressionKind2[ExpressionKind2["ResetView"] = 7] = "ResetView";
7524
+ ExpressionKind2[ExpressionKind2["PureFunctionExpr"] = 8] = "PureFunctionExpr";
7525
+ ExpressionKind2[ExpressionKind2["PureFunctionParameterExpr"] = 9] = "PureFunctionParameterExpr";
7526
+ ExpressionKind2[ExpressionKind2["PipeBinding"] = 10] = "PipeBinding";
7527
+ ExpressionKind2[ExpressionKind2["PipeBindingVariadic"] = 11] = "PipeBindingVariadic";
7519
7528
  })(ExpressionKind || (ExpressionKind = {}));
7520
7529
  var SemanticVariableKind;
7521
7530
  (function(SemanticVariableKind2) {
@@ -7524,11 +7533,12 @@ var SemanticVariableKind;
7524
7533
  SemanticVariableKind2[SemanticVariableKind2["SavedView"] = 2] = "SavedView";
7525
7534
  })(SemanticVariableKind || (SemanticVariableKind = {}));
7526
7535
 
7527
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
7536
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
7528
7537
  var ConsumesSlot = Symbol("ConsumesSlot");
7529
7538
  var DependsOnSlotContext = Symbol("DependsOnSlotContext");
7530
7539
  var UsesSlotIndex = Symbol("UsesSlotIndex");
7531
- var ConsumesVarsTrait = Symbol("UsesVars");
7540
+ var ConsumesVarsTrait = Symbol("ConsumesVars");
7541
+ var UsesVarOffset = Symbol("UsesVarOffset");
7532
7542
  var TRAIT_CONSUMES_SLOT = {
7533
7543
  [ConsumesSlot]: true,
7534
7544
  slot: null,
@@ -7544,6 +7554,10 @@ var TRAIT_DEPENDS_ON_SLOT_CONTEXT = {
7544
7554
  var TRAIT_CONSUMES_VARS = {
7545
7555
  [ConsumesVarsTrait]: true
7546
7556
  };
7557
+ var TRAIT_USES_VAR_OFFSET = {
7558
+ [UsesVarOffset]: true,
7559
+ varOffset: null
7560
+ };
7547
7561
  function hasConsumesSlotTrait(op) {
7548
7562
  return op[ConsumesSlot] === true;
7549
7563
  }
@@ -7553,12 +7567,26 @@ function hasDependsOnSlotContextTrait(op) {
7553
7567
  function hasConsumesVarsTrait(value) {
7554
7568
  return value[ConsumesVarsTrait] === true;
7555
7569
  }
7570
+ function hasUsesVarOffsetTrait(expr) {
7571
+ return expr[UsesVarOffset] === true;
7572
+ }
7556
7573
  function hasUsesSlotIndexTrait(value) {
7557
7574
  return value[UsesSlotIndex] === true;
7558
7575
  }
7559
7576
 
7560
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
7577
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
7561
7578
  var _a;
7579
+ var _b;
7580
+ var _c;
7581
+ var _d;
7582
+ var _e;
7583
+ var _f;
7584
+ var _g;
7585
+ var _h;
7586
+ var _j;
7587
+ function isIrExpression(expr) {
7588
+ return expr instanceof ExpressionBase;
7589
+ }
7562
7590
  var ExpressionBase = class extends Expression {
7563
7591
  constructor(sourceSpan = null) {
7564
7592
  super(null, sourceSpan);
@@ -7722,6 +7750,128 @@ var ReadVariableExpr = class extends ExpressionBase {
7722
7750
  transformInternalExpressions() {
7723
7751
  }
7724
7752
  };
7753
+ var _PureFunctionExpr = class extends ExpressionBase {
7754
+ constructor(expression, args) {
7755
+ super();
7756
+ this.kind = ExpressionKind.PureFunctionExpr;
7757
+ this[_b] = true;
7758
+ this[_c] = true;
7759
+ this.varOffset = null;
7760
+ this.fn = null;
7761
+ this.body = expression;
7762
+ this.args = args;
7763
+ }
7764
+ visitExpression(visitor, context) {
7765
+ var _a2;
7766
+ (_a2 = this.body) == null ? void 0 : _a2.visitExpression(visitor, context);
7767
+ for (const arg of this.args) {
7768
+ arg.visitExpression(visitor, context);
7769
+ }
7770
+ }
7771
+ isEquivalent(other) {
7772
+ if (!(other instanceof _PureFunctionExpr) || other.args.length !== this.args.length) {
7773
+ return false;
7774
+ }
7775
+ return other.body !== null && this.body !== null && other.body.isEquivalent(this.body) && other.args.every((arg, idx) => arg.isEquivalent(this.args[idx]));
7776
+ }
7777
+ isConstant() {
7778
+ return false;
7779
+ }
7780
+ transformInternalExpressions(transform, flags) {
7781
+ if (this.body !== null) {
7782
+ this.body = transformExpressionsInExpression(this.body, transform, flags | VisitorContextFlag.InChildOperation);
7783
+ } else if (this.fn !== null) {
7784
+ this.fn = transformExpressionsInExpression(this.fn, transform, flags);
7785
+ }
7786
+ for (let i = 0; i < this.args.length; i++) {
7787
+ this.args[i] = transformExpressionsInExpression(this.args[i], transform, flags);
7788
+ }
7789
+ }
7790
+ };
7791
+ var PureFunctionExpr = _PureFunctionExpr;
7792
+ (() => {
7793
+ _b = ConsumesVarsTrait, _c = UsesVarOffset;
7794
+ })();
7795
+ var PureFunctionParameterExpr = class extends ExpressionBase {
7796
+ constructor(index) {
7797
+ super();
7798
+ this.index = index;
7799
+ this.kind = ExpressionKind.PureFunctionParameterExpr;
7800
+ }
7801
+ visitExpression() {
7802
+ }
7803
+ isEquivalent(other) {
7804
+ return other instanceof PureFunctionParameterExpr && other.index === this.index;
7805
+ }
7806
+ isConstant() {
7807
+ return true;
7808
+ }
7809
+ transformInternalExpressions() {
7810
+ }
7811
+ };
7812
+ var PipeBindingExpr = class extends ExpressionBase {
7813
+ constructor(target, name, args) {
7814
+ super();
7815
+ this.target = target;
7816
+ this.name = name;
7817
+ this.args = args;
7818
+ this.kind = ExpressionKind.PipeBinding;
7819
+ this[_d] = true;
7820
+ this[_e] = true;
7821
+ this[_f] = true;
7822
+ this.slot = null;
7823
+ this.varOffset = null;
7824
+ }
7825
+ visitExpression(visitor, context) {
7826
+ for (const arg of this.args) {
7827
+ arg.visitExpression(visitor, context);
7828
+ }
7829
+ }
7830
+ isEquivalent() {
7831
+ return false;
7832
+ }
7833
+ isConstant() {
7834
+ return false;
7835
+ }
7836
+ transformInternalExpressions(transform, flags) {
7837
+ for (let idx = 0; idx < this.args.length; idx++) {
7838
+ this.args[idx] = transformExpressionsInExpression(this.args[idx], transform, flags);
7839
+ }
7840
+ }
7841
+ };
7842
+ (() => {
7843
+ _d = UsesSlotIndex, _e = ConsumesVarsTrait, _f = UsesVarOffset;
7844
+ })();
7845
+ var PipeBindingVariadicExpr = class extends ExpressionBase {
7846
+ constructor(target, name, args, numArgs) {
7847
+ super();
7848
+ this.target = target;
7849
+ this.name = name;
7850
+ this.args = args;
7851
+ this.numArgs = numArgs;
7852
+ this.kind = ExpressionKind.PipeBindingVariadic;
7853
+ this[_g] = true;
7854
+ this[_h] = true;
7855
+ this[_j] = true;
7856
+ this.slot = null;
7857
+ this.varOffset = null;
7858
+ }
7859
+ visitExpression(visitor, context) {
7860
+ this.args.visitExpression(visitor, context);
7861
+ }
7862
+ isEquivalent() {
7863
+ return false;
7864
+ }
7865
+ isConstant() {
7866
+ return false;
7867
+ }
7868
+ transformInternalExpressions(transform, flags) {
7869
+ this.args = transformExpressionsInExpression(this.args, transform, flags);
7870
+ }
7871
+ };
7872
+ (() => {
7873
+ _g = UsesSlotIndex, _h = ConsumesVarsTrait, _j = UsesVarOffset;
7874
+ })();
7725
7875
  function visitExpressionsInOp(op, visitor) {
7726
7876
  transformExpressionsInOp(op, (expr, flags) => {
7727
7877
  visitor(expr, flags);
@@ -7738,6 +7888,11 @@ function transformExpressionsInOp(op, transform, flags) {
7738
7888
  case OpKind.Property:
7739
7889
  op.expression = transformExpressionsInExpression(op.expression, transform, flags);
7740
7890
  break;
7891
+ case OpKind.InterpolateProperty:
7892
+ for (let i = 0; i < op.expressions.length; i++) {
7893
+ op.expressions[i] = transformExpressionsInExpression(op.expressions[i], transform, flags);
7894
+ }
7895
+ break;
7741
7896
  case OpKind.Statement:
7742
7897
  transformExpressionsInStatement(op.statement, transform, flags);
7743
7898
  break;
@@ -7762,6 +7917,7 @@ function transformExpressionsInOp(op, transform, flags) {
7762
7917
  case OpKind.ContainerEnd:
7763
7918
  case OpKind.Template:
7764
7919
  case OpKind.Text:
7920
+ case OpKind.Pipe:
7765
7921
  case OpKind.Advance:
7766
7922
  break;
7767
7923
  default:
@@ -7771,7 +7927,6 @@ function transformExpressionsInOp(op, transform, flags) {
7771
7927
  function transformExpressionsInExpression(expr, transform, flags) {
7772
7928
  if (expr instanceof ExpressionBase) {
7773
7929
  expr.transformInternalExpressions(transform, flags);
7774
- return transform(expr, flags);
7775
7930
  } else if (expr instanceof BinaryOperatorExpr) {
7776
7931
  expr.lhs = transformExpressionsInExpression(expr.lhs, transform, flags);
7777
7932
  expr.rhs = transformExpressionsInExpression(expr.rhs, transform, flags);
@@ -7780,16 +7935,37 @@ function transformExpressionsInExpression(expr, transform, flags) {
7780
7935
  } else if (expr instanceof ReadKeyExpr) {
7781
7936
  expr.receiver = transformExpressionsInExpression(expr.receiver, transform, flags);
7782
7937
  expr.index = transformExpressionsInExpression(expr.index, transform, flags);
7938
+ } else if (expr instanceof WritePropExpr) {
7939
+ expr.receiver = transformExpressionsInExpression(expr.receiver, transform, flags);
7940
+ expr.value = transformExpressionsInExpression(expr.value, transform, flags);
7941
+ } else if (expr instanceof WriteKeyExpr) {
7942
+ expr.receiver = transformExpressionsInExpression(expr.receiver, transform, flags);
7943
+ expr.index = transformExpressionsInExpression(expr.index, transform, flags);
7944
+ expr.value = transformExpressionsInExpression(expr.value, transform, flags);
7783
7945
  } else if (expr instanceof InvokeFunctionExpr) {
7784
7946
  expr.fn = transformExpressionsInExpression(expr.fn, transform, flags);
7785
7947
  for (let i = 0; i < expr.args.length; i++) {
7786
7948
  expr.args[i] = transformExpressionsInExpression(expr.args[i], transform, flags);
7787
7949
  }
7950
+ } else if (expr instanceof LiteralArrayExpr) {
7951
+ for (let i = 0; i < expr.entries.length; i++) {
7952
+ expr.entries[i] = transformExpressionsInExpression(expr.entries[i], transform, flags);
7953
+ }
7954
+ } else if (expr instanceof LiteralMapExpr) {
7955
+ for (let i = 0; i < expr.entries.length; i++) {
7956
+ expr.entries[i].value = transformExpressionsInExpression(expr.entries[i].value, transform, flags);
7957
+ }
7958
+ } else if (expr instanceof ConditionalExpr) {
7959
+ expr.condition = transformExpressionsInExpression(expr.condition, transform, flags);
7960
+ expr.trueCase = transformExpressionsInExpression(expr.trueCase, transform, flags);
7961
+ if (expr.falseCase !== null) {
7962
+ expr.falseCase = transformExpressionsInExpression(expr.falseCase, transform, flags);
7963
+ }
7788
7964
  } else if (expr instanceof ReadVarExpr || expr instanceof ExternalExpr || expr instanceof LiteralExpr) {
7789
7965
  } else {
7790
7966
  throw new Error(`Unhandled expression kind: ${expr.constructor.name}`);
7791
7967
  }
7792
- return expr;
7968
+ return transform(expr, flags);
7793
7969
  }
7794
7970
  function transformExpressionsInStatement(stmt, transform, flags) {
7795
7971
  if (stmt instanceof ExpressionStatement) {
@@ -7801,7 +7977,7 @@ function transformExpressionsInStatement(stmt, transform, flags) {
7801
7977
  }
7802
7978
  }
7803
7979
 
7804
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
7980
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
7805
7981
  var _OpList = class {
7806
7982
  constructor() {
7807
7983
  this.debugListId = _OpList.nextListId++;
@@ -7931,10 +8107,12 @@ var _OpList = class {
7931
8107
  op.next = null;
7932
8108
  }
7933
8109
  static insertBefore(op, before) {
7934
- _OpList.assertIsNotEnd(before);
8110
+ _OpList.assertIsOwned(before);
8111
+ if (before.prev === null) {
8112
+ throw new Error(`AssertionError: illegal operation on list start`);
8113
+ }
7935
8114
  _OpList.assertIsNotEnd(op);
7936
8115
  _OpList.assertIsUnowned(op);
7937
- _OpList.assertIsOwned(before);
7938
8116
  op.debugListId = before.debugListId;
7939
8117
  op.prev = null;
7940
8118
  before.prev.next = op;
@@ -7965,7 +8143,7 @@ var OpList = _OpList;
7965
8143
  _OpList.nextListId = 0;
7966
8144
  })();
7967
8145
 
7968
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
8146
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
7969
8147
  function createStatementOp(statement) {
7970
8148
  return __spreadValues({
7971
8149
  kind: OpKind.Statement,
@@ -7986,7 +8164,7 @@ var NEW_OP = {
7986
8164
  next: null
7987
8165
  };
7988
8166
 
7989
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
8167
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
7990
8168
  function createElementStartOp(tag, xref) {
7991
8169
  return __spreadValues(__spreadValues({
7992
8170
  kind: OpKind.ElementStart,
@@ -8030,8 +8208,15 @@ function createListenerOp(target, name, tag) {
8030
8208
  handlerFnName: null
8031
8209
  }, NEW_OP), TRAIT_USES_SLOT_INDEX);
8032
8210
  }
8211
+ function createPipeOp(xref, name) {
8212
+ return __spreadValues(__spreadValues({
8213
+ kind: OpKind.Pipe,
8214
+ xref,
8215
+ name
8216
+ }, NEW_OP), TRAIT_CONSUMES_SLOT);
8217
+ }
8033
8218
 
8034
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
8219
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
8035
8220
  function createInterpolateTextOp(xref, strings, expressions) {
8036
8221
  return __spreadValues(__spreadValues(__spreadValues({
8037
8222
  kind: OpKind.InterpolateText,
@@ -8048,6 +8233,15 @@ function createPropertyOp(xref, name, expression) {
8048
8233
  expression
8049
8234
  }, TRAIT_DEPENDS_ON_SLOT_CONTEXT), TRAIT_CONSUMES_VARS), NEW_OP);
8050
8235
  }
8236
+ function createInterpolatePropertyOp(xref, name, strings, expressions) {
8237
+ return __spreadValues(__spreadValues(__spreadValues({
8238
+ kind: OpKind.InterpolateProperty,
8239
+ target: xref,
8240
+ name,
8241
+ strings,
8242
+ expressions
8243
+ }, TRAIT_DEPENDS_ON_SLOT_CONTEXT), TRAIT_CONSUMES_VARS), NEW_OP);
8244
+ }
8051
8245
  function createAdvanceOp(delta) {
8052
8246
  return __spreadValues({
8053
8247
  kind: OpKind.Advance,
@@ -8055,7 +8249,7 @@ function createAdvanceOp(delta) {
8055
8249
  }, NEW_OP);
8056
8250
  }
8057
8251
 
8058
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
8252
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
8059
8253
  function phaseConstCollection(cpl) {
8060
8254
  for (const [_, view] of cpl.views) {
8061
8255
  for (const op of view.create) {
@@ -8096,7 +8290,7 @@ function serializeAttributes({ attributes, bindings, classes, i18n, projectAs, s
8096
8290
  return literalArr(attrArray);
8097
8291
  }
8098
8292
 
8099
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
8293
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
8100
8294
  var REPLACEMENTS = /* @__PURE__ */ new Map([
8101
8295
  [OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
8102
8296
  [OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]]
@@ -8117,7 +8311,7 @@ function phaseEmptyElements(cpl) {
8117
8311
  }
8118
8312
  }
8119
8313
 
8120
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
8314
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
8121
8315
  function phaseGenerateAdvance(cpl) {
8122
8316
  for (const [_, view] of cpl.views) {
8123
8317
  const slotMap = /* @__PURE__ */ new Map();
@@ -8149,7 +8343,7 @@ function phaseGenerateAdvance(cpl) {
8149
8343
  }
8150
8344
  }
8151
8345
 
8152
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
8346
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
8153
8347
  function element(slot, tag, constIndex, localRefIndex) {
8154
8348
  return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex);
8155
8349
  }
@@ -8199,6 +8393,12 @@ function listener(name, handlerFn) {
8199
8393
  handlerFn
8200
8394
  ]);
8201
8395
  }
8396
+ function pipe(slot, name) {
8397
+ return call(Identifiers.pipe, [
8398
+ literal(slot),
8399
+ literal(name)
8400
+ ]);
8401
+ }
8202
8402
  function advance(delta) {
8203
8403
  return call(Identifiers.advance, [
8204
8404
  literal(delta)
@@ -8238,6 +8438,30 @@ function property(name, expression) {
8238
8438
  expression
8239
8439
  ]);
8240
8440
  }
8441
+ var PIPE_BINDINGS = [
8442
+ Identifiers.pipeBind1,
8443
+ Identifiers.pipeBind2,
8444
+ Identifiers.pipeBind3,
8445
+ Identifiers.pipeBind4
8446
+ ];
8447
+ function pipeBind(slot, varOffset, args) {
8448
+ if (args.length < 1 || args.length > PIPE_BINDINGS.length) {
8449
+ throw new Error(`pipeBind() argument count out of bounds`);
8450
+ }
8451
+ const instruction = PIPE_BINDINGS[args.length - 1];
8452
+ return importExpr(instruction).callFn([
8453
+ literal(slot),
8454
+ literal(varOffset),
8455
+ ...args
8456
+ ]);
8457
+ }
8458
+ function pipeBindV(slot, varOffset, args) {
8459
+ return importExpr(Identifiers.pipeBindV).callFn([
8460
+ literal(slot),
8461
+ literal(varOffset),
8462
+ args
8463
+ ]);
8464
+ }
8241
8465
  function textInterpolate(strings, expressions) {
8242
8466
  if (strings.length < 1 || expressions.length !== strings.length - 1) {
8243
8467
  throw new Error(`AssertionError: expected specific shape of args for strings/expressions in interpolation`);
@@ -8252,7 +8476,29 @@ function textInterpolate(strings, expressions) {
8252
8476
  }
8253
8477
  interpolationArgs.push(literal(strings[idx]));
8254
8478
  }
8255
- return callInterpolation(TEXT_INTERPOLATE_CONFIG, [], interpolationArgs);
8479
+ return callVariadicInstruction(TEXT_INTERPOLATE_CONFIG, [], interpolationArgs);
8480
+ }
8481
+ function propertyInterpolate(name, strings, expressions) {
8482
+ if (strings.length < 1 || expressions.length !== strings.length - 1) {
8483
+ throw new Error(`AssertionError: expected specific shape of args for strings/expressions in interpolation`);
8484
+ }
8485
+ const interpolationArgs = [];
8486
+ if (expressions.length === 1 && strings[0] === "" && strings[1] === "") {
8487
+ interpolationArgs.push(expressions[0]);
8488
+ } else {
8489
+ let idx;
8490
+ for (idx = 0; idx < expressions.length; idx++) {
8491
+ interpolationArgs.push(literal(strings[idx]), expressions[idx]);
8492
+ }
8493
+ interpolationArgs.push(literal(strings[idx]));
8494
+ }
8495
+ return callVariadicInstruction(PROPERTY_INTERPOLATE_CONFIG, [literal(name)], interpolationArgs);
8496
+ }
8497
+ function pureFunction(varOffset, fn2, args) {
8498
+ return callVariadicInstructionExpr(PURE_FUNCTION_CONFIG, [
8499
+ literal(varOffset),
8500
+ fn2
8501
+ ], args);
8256
8502
  }
8257
8503
  function call(instruction, args) {
8258
8504
  return createStatementOp(importExpr(instruction).callFn(args).toStmt());
@@ -8269,21 +8515,64 @@ var TEXT_INTERPOLATE_CONFIG = {
8269
8515
  Identifiers.textInterpolate7,
8270
8516
  Identifiers.textInterpolate8
8271
8517
  ],
8272
- variable: Identifiers.textInterpolateV
8518
+ variable: Identifiers.textInterpolateV,
8519
+ mapping: (n) => {
8520
+ if (n % 2 === 0) {
8521
+ throw new Error(`Expected odd number of arguments`);
8522
+ }
8523
+ return (n - 1) / 2;
8524
+ }
8273
8525
  };
8274
- function callInterpolation(config, baseArgs, interpolationArgs) {
8275
- if (interpolationArgs.length % 2 === 0) {
8276
- throw new Error(`Expected odd number of interpolation arguments`);
8526
+ var PROPERTY_INTERPOLATE_CONFIG = {
8527
+ constant: [
8528
+ Identifiers.propertyInterpolate,
8529
+ Identifiers.propertyInterpolate1,
8530
+ Identifiers.propertyInterpolate2,
8531
+ Identifiers.propertyInterpolate3,
8532
+ Identifiers.propertyInterpolate4,
8533
+ Identifiers.propertyInterpolate5,
8534
+ Identifiers.propertyInterpolate6,
8535
+ Identifiers.propertyInterpolate7,
8536
+ Identifiers.propertyInterpolate8
8537
+ ],
8538
+ variable: Identifiers.propertyInterpolateV,
8539
+ mapping: (n) => {
8540
+ if (n % 2 === 0) {
8541
+ throw new Error(`Expected odd number of arguments`);
8542
+ }
8543
+ return (n - 1) / 2;
8277
8544
  }
8278
- const n = (interpolationArgs.length - 1) / 2;
8545
+ };
8546
+ var PURE_FUNCTION_CONFIG = {
8547
+ constant: [
8548
+ Identifiers.pureFunction0,
8549
+ Identifiers.pureFunction1,
8550
+ Identifiers.pureFunction2,
8551
+ Identifiers.pureFunction3,
8552
+ Identifiers.pureFunction4,
8553
+ Identifiers.pureFunction5,
8554
+ Identifiers.pureFunction6,
8555
+ Identifiers.pureFunction7,
8556
+ Identifiers.pureFunction8
8557
+ ],
8558
+ variable: Identifiers.pureFunctionV,
8559
+ mapping: (n) => n
8560
+ };
8561
+ function callVariadicInstructionExpr(config, baseArgs, interpolationArgs) {
8562
+ const n = config.mapping(interpolationArgs.length);
8279
8563
  if (n < config.constant.length) {
8280
- return call(config.constant[n], [...baseArgs, ...interpolationArgs]);
8564
+ return importExpr(config.constant[n]).callFn([...baseArgs, ...interpolationArgs]);
8565
+ } else if (config.variable !== null) {
8566
+ return importExpr(config.variable).callFn([...baseArgs, literalArr(interpolationArgs)]);
8281
8567
  } else {
8282
- return call(config.variable, [...baseArgs, literalArr(interpolationArgs)]);
8568
+ throw new Error(`AssertionError: unable to call variadic function`);
8283
8569
  }
8284
8570
  }
8571
+ function callVariadicInstruction(config, baseArgs, interpolationArgs) {
8572
+ return createStatementOp(callVariadicInstructionExpr(config, baseArgs, interpolationArgs).toStmt());
8573
+ }
8285
8574
 
8286
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
8575
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
8287
8576
  function phaseReify(cpl) {
8288
8577
  for (const [_, view] of cpl.views) {
8289
8578
  reifyCreateOperations(view, view.create);
@@ -8319,6 +8608,9 @@ function reifyCreateOperations(view, ops) {
8319
8608
  const childView = view.tpl.views.get(op.xref);
8320
8609
  OpList.replace(op, template(op.slot, variable(childView.fnName), childView.decls, childView.vars, op.tag, op.attributes));
8321
8610
  break;
8611
+ case OpKind.Pipe:
8612
+ OpList.replace(op, pipe(op.slot, op.name));
8613
+ break;
8322
8614
  case OpKind.Listener:
8323
8615
  const listenerFn = reifyListenerHandler(view, op.handlerFnName, op.handlerOps);
8324
8616
  OpList.replace(op, listener(op.name, listenerFn));
@@ -8346,6 +8638,9 @@ function reifyUpdateOperations(_view, ops) {
8346
8638
  case OpKind.Property:
8347
8639
  OpList.replace(op, property(op.name, op.expression));
8348
8640
  break;
8641
+ case OpKind.InterpolateProperty:
8642
+ OpList.replace(op, propertyInterpolate(op.name, op.strings, op.expressions));
8643
+ break;
8349
8644
  case OpKind.InterpolateText:
8350
8645
  OpList.replace(op, textInterpolate(op.strings, op.expressions));
8351
8646
  break;
@@ -8363,6 +8658,9 @@ function reifyUpdateOperations(_view, ops) {
8363
8658
  }
8364
8659
  }
8365
8660
  function reifyIrExpression(expr) {
8661
+ if (!isIrExpression(expr)) {
8662
+ return expr;
8663
+ }
8366
8664
  switch (expr.kind) {
8367
8665
  case ExpressionKind.NextContext:
8368
8666
  return nextContext(expr.steps);
@@ -8384,6 +8682,17 @@ function reifyIrExpression(expr) {
8384
8682
  throw new Error(`Read of unnamed variable ${expr.xref}`);
8385
8683
  }
8386
8684
  return variable(expr.name);
8685
+ case ExpressionKind.PureFunctionExpr:
8686
+ if (expr.fn === null) {
8687
+ throw new Error(`AssertionError: expected PureFunctions to have been extracted`);
8688
+ }
8689
+ return pureFunction(expr.varOffset, expr.fn, expr.args);
8690
+ case ExpressionKind.PureFunctionParameterExpr:
8691
+ throw new Error(`AssertionError: expected PureFunctionParameterExpr to have been extracted`);
8692
+ case ExpressionKind.PipeBinding:
8693
+ return pipeBind(expr.slot, expr.varOffset, expr.args);
8694
+ case ExpressionKind.PipeBindingVariadic:
8695
+ return pipeBindV(expr.slot, expr.varOffset, expr.args);
8387
8696
  default:
8388
8697
  throw new Error(`AssertionError: Unsupported reification of ir.Expression kind: ${ExpressionKind[expr.kind]}`);
8389
8698
  }
@@ -8417,7 +8726,7 @@ var LookForEventVisitor = class extends RecursiveAstVisitor {
8417
8726
  }
8418
8727
  };
8419
8728
 
8420
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
8729
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
8421
8730
  function phaseSlotAllocation(cpl) {
8422
8731
  const slotMap = /* @__PURE__ */ new Map();
8423
8732
  for (const [_, view] of cpl.views) {
@@ -8445,6 +8754,9 @@ function phaseSlotAllocation(cpl) {
8445
8754
  op.slot = slotMap.get(op.target);
8446
8755
  }
8447
8756
  visitExpressionsInOp(op, (expr) => {
8757
+ if (!isIrExpression(expr)) {
8758
+ return;
8759
+ }
8448
8760
  if (!hasUsesSlotIndexTrait(expr) || expr.slot !== null) {
8449
8761
  return;
8450
8762
  }
@@ -8457,7 +8769,7 @@ function phaseSlotAllocation(cpl) {
8457
8769
  }
8458
8770
  }
8459
8771
 
8460
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
8772
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
8461
8773
  function phaseVarCounting(cpl) {
8462
8774
  for (const [_, view] of cpl.views) {
8463
8775
  let varCount = 0;
@@ -8466,6 +8778,12 @@ function phaseVarCounting(cpl) {
8466
8778
  varCount += varsUsedByOp(op);
8467
8779
  }
8468
8780
  visitExpressionsInOp(op, (expr) => {
8781
+ if (!isIrExpression(expr)) {
8782
+ return;
8783
+ }
8784
+ if (hasUsesVarOffsetTrait(expr)) {
8785
+ expr.varOffset = varCount;
8786
+ }
8469
8787
  if (hasConsumesVarsTrait(expr)) {
8470
8788
  varCount += varsUsedByIrExpression(expr);
8471
8789
  }
@@ -8489,15 +8807,26 @@ function varsUsedByOp(op) {
8489
8807
  return 1;
8490
8808
  case OpKind.InterpolateText:
8491
8809
  return op.expressions.length;
8810
+ case OpKind.InterpolateProperty:
8811
+ return 1 + op.expressions.length;
8492
8812
  default:
8493
8813
  throw new Error(`Unhandled op: ${OpKind[op.kind]}`);
8494
8814
  }
8495
8815
  }
8496
8816
  function varsUsedByIrExpression(expr) {
8497
- return 0;
8817
+ switch (expr.kind) {
8818
+ case ExpressionKind.PureFunctionExpr:
8819
+ return 1 + expr.args.length;
8820
+ case ExpressionKind.PipeBinding:
8821
+ return 1 + expr.args.length;
8822
+ case ExpressionKind.PipeBindingVariadic:
8823
+ return 1 + expr.numArgs;
8824
+ default:
8825
+ throw new Error(`AssertionError: unhandled ConsumesVarsTrait expression ${expr.constructor.name}`);
8826
+ }
8498
8827
  }
8499
8828
 
8500
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
8829
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
8501
8830
  function phaseNaming(cpl) {
8502
8831
  addNamesToView(cpl.root, cpl.componentName, { index: 0 });
8503
8832
  }
@@ -8555,7 +8884,7 @@ function getVariableName(variable2, state) {
8555
8884
  return variable2.name;
8556
8885
  }
8557
8886
 
8558
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
8887
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
8559
8888
  function phaseLocalRefs(cpl) {
8560
8889
  for (const view of cpl.views.values()) {
8561
8890
  for (const op of view.create) {
@@ -8586,7 +8915,7 @@ function serializeLocalRefs(refs) {
8586
8915
  return literalArr(constRefs);
8587
8916
  }
8588
8917
 
8589
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
8918
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
8590
8919
  function phaseGenerateVariables(cpl) {
8591
8920
  recursivelyProcessView(cpl.root, null);
8592
8921
  }
@@ -8668,7 +8997,7 @@ function generateVariablesInScopeForView(view, scope) {
8668
8997
  return newOps;
8669
8998
  }
8670
8999
 
8671
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
9000
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
8672
9001
  function phaseResolveNames(cpl) {
8673
9002
  for (const [_, view] of cpl.views) {
8674
9003
  processLexicalScope(view, view.create, null);
@@ -8721,7 +9050,7 @@ function processLexicalScope(view, ops, savedView) {
8721
9050
  }
8722
9051
  }
8723
9052
 
8724
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
9053
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
8725
9054
  function phaseResolveContexts(cpl) {
8726
9055
  for (const view of cpl.views.values()) {
8727
9056
  processLexicalScope2(view, view.create);
@@ -8759,7 +9088,7 @@ function processLexicalScope2(view, ops) {
8759
9088
  }
8760
9089
  }
8761
9090
 
8762
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
9091
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
8763
9092
  function phaseVariableOptimization(cpl, options) {
8764
9093
  for (const [_, view] of cpl.views) {
8765
9094
  optimizeVariablesInOpList(view.create, options);
@@ -8870,6 +9199,9 @@ function collectOpInfo(op) {
8870
9199
  let fences = Fence.None;
8871
9200
  const variablesUsed = /* @__PURE__ */ new Set();
8872
9201
  visitExpressionsInOp(op, (expr) => {
9202
+ if (!isIrExpression(expr)) {
9203
+ return;
9204
+ }
8873
9205
  switch (expr.kind) {
8874
9206
  case ExpressionKind.ReadVariable:
8875
9207
  variablesUsed.add(expr.xref);
@@ -8882,6 +9214,9 @@ function collectOpInfo(op) {
8882
9214
  }
8883
9215
  function countVariableUsages(op, varUsages, varRemoteUsage) {
8884
9216
  visitExpressionsInOp(op, (expr, flags) => {
9217
+ if (!isIrExpression(expr)) {
9218
+ return;
9219
+ }
8885
9220
  if (expr.kind !== ExpressionKind.ReadVariable) {
8886
9221
  return;
8887
9222
  }
@@ -8897,6 +9232,9 @@ function countVariableUsages(op, varUsages, varRemoteUsage) {
8897
9232
  }
8898
9233
  function uncountVariableUsages(op, varUsages) {
8899
9234
  visitExpressionsInOp(op, (expr) => {
9235
+ if (!isIrExpression(expr)) {
9236
+ return;
9237
+ }
8900
9238
  if (expr.kind !== ExpressionKind.ReadVariable) {
8901
9239
  return;
8902
9240
  }
@@ -8925,6 +9263,9 @@ function tryInlineVariableInitializer(id, initializer, target, declFences) {
8925
9263
  let inlined = false;
8926
9264
  let inliningAllowed = true;
8927
9265
  transformExpressionsInOp(target, (expr, flags) => {
9266
+ if (!isIrExpression(expr)) {
9267
+ return expr;
9268
+ }
8928
9269
  if (inlined || !inliningAllowed) {
8929
9270
  return expr;
8930
9271
  } else if (flags & VisitorContextFlag.InChildOperation && declFences & Fence.ViewContextRead) {
@@ -8957,7 +9298,7 @@ function allowConservativeInlining(decl, target) {
8957
9298
  }
8958
9299
  }
8959
9300
 
8960
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
9301
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
8961
9302
  var CHAINABLE = /* @__PURE__ */ new Set([
8962
9303
  Identifiers.elementStart,
8963
9304
  Identifiers.elementEnd,
@@ -9003,7 +9344,7 @@ function chainOperationsInList(opList) {
9003
9344
  }
9004
9345
  }
9005
9346
 
9006
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
9347
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
9007
9348
  function phaseMergeNextContext(cpl) {
9008
9349
  for (const view of cpl.views.values()) {
9009
9350
  for (const op of view.create) {
@@ -9023,6 +9364,9 @@ function mergeNextContextsInOps(ops) {
9023
9364
  let tryToMerge = true;
9024
9365
  for (let candidate = op.next; candidate.kind !== OpKind.ListEnd && tryToMerge; candidate = candidate.next) {
9025
9366
  visitExpressionsInOp(candidate, (expr, flags) => {
9367
+ if (!isIrExpression(expr)) {
9368
+ return expr;
9369
+ }
9026
9370
  if (!tryToMerge) {
9027
9371
  return;
9028
9372
  }
@@ -9045,7 +9389,7 @@ function mergeNextContextsInOps(ops) {
9045
9389
  }
9046
9390
  }
9047
9391
 
9048
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
9392
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
9049
9393
  var CONTAINER_TAG = "ng-container";
9050
9394
  function phaseNgContainer(cpl) {
9051
9395
  for (const [_, view] of cpl.views) {
@@ -9062,7 +9406,7 @@ function phaseNgContainer(cpl) {
9062
9406
  }
9063
9407
  }
9064
9408
 
9065
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
9409
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
9066
9410
  function phaseSaveRestoreView(cpl) {
9067
9411
  for (const view of cpl.views.values()) {
9068
9412
  if (view === cpl.root) {
@@ -9095,8 +9439,181 @@ function phaseSaveRestoreView(cpl) {
9095
9439
  }
9096
9440
  }
9097
9441
 
9098
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
9442
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
9443
+ function phasePureFunctionExtraction(cpl) {
9444
+ for (const view of cpl.views.values()) {
9445
+ for (const op of view.ops()) {
9446
+ visitExpressionsInOp(op, (expr) => {
9447
+ if (!(expr instanceof PureFunctionExpr) || expr.body === null) {
9448
+ return;
9449
+ }
9450
+ const constantDef = new PureFunctionConstant(expr.args.length);
9451
+ expr.fn = cpl.pool.getSharedConstant(constantDef, expr.body);
9452
+ expr.body = null;
9453
+ });
9454
+ }
9455
+ }
9456
+ }
9457
+ var PureFunctionConstant = class extends GenericKeyFn {
9458
+ constructor(numArgs) {
9459
+ super();
9460
+ this.numArgs = numArgs;
9461
+ }
9462
+ keyOf(expr) {
9463
+ if (expr instanceof PureFunctionParameterExpr) {
9464
+ return `param(${expr.index})`;
9465
+ } else {
9466
+ return super.keyOf(expr);
9467
+ }
9468
+ }
9469
+ toSharedConstantDeclaration(declName, keyExpr) {
9470
+ const fnParams = [];
9471
+ for (let idx = 0; idx < this.numArgs; idx++) {
9472
+ fnParams.push(new FnParam("_p" + idx));
9473
+ }
9474
+ const returnExpr = transformExpressionsInExpression(keyExpr, (expr) => {
9475
+ if (!(expr instanceof PureFunctionParameterExpr)) {
9476
+ return expr;
9477
+ }
9478
+ return variable("_p" + expr.index);
9479
+ }, VisitorContextFlag.None);
9480
+ return new DeclareFunctionStmt(declName, fnParams, [new ReturnStatement(returnExpr)]);
9481
+ }
9482
+ };
9483
+
9484
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
9485
+ function phasePipeCreation(cpl) {
9486
+ for (const view of cpl.views.values()) {
9487
+ processPipeBindingsInView(view);
9488
+ }
9489
+ }
9490
+ function processPipeBindingsInView(view) {
9491
+ for (const updateOp of view.update) {
9492
+ visitExpressionsInOp(updateOp, (expr, flags) => {
9493
+ if (!isIrExpression(expr)) {
9494
+ return;
9495
+ }
9496
+ if (expr.kind !== ExpressionKind.PipeBinding) {
9497
+ return;
9498
+ }
9499
+ if (flags & VisitorContextFlag.InChildOperation) {
9500
+ throw new Error(`AssertionError: pipe bindings should not appear in child expressions`);
9501
+ }
9502
+ if (!hasDependsOnSlotContextTrait(updateOp)) {
9503
+ throw new Error(`AssertionError: pipe binding associated with non-slot operation ${OpKind[updateOp.kind]}`);
9504
+ }
9505
+ addPipeToCreationBlock(view, updateOp.target, expr);
9506
+ });
9507
+ }
9508
+ }
9509
+ function addPipeToCreationBlock(view, afterTargetXref, binding) {
9510
+ for (let op = view.create.head.next; op.kind !== OpKind.ListEnd; op = op.next) {
9511
+ if (!hasConsumesSlotTrait(op)) {
9512
+ continue;
9513
+ }
9514
+ if (op.xref !== afterTargetXref) {
9515
+ continue;
9516
+ }
9517
+ while (op.next.kind === OpKind.Pipe) {
9518
+ op = op.next;
9519
+ }
9520
+ const pipe2 = createPipeOp(binding.target, binding.name);
9521
+ OpList.insertBefore(pipe2, op.next);
9522
+ return;
9523
+ }
9524
+ throw new Error(`AssertionError: unable to find insertion point for pipe ${binding.name}`);
9525
+ }
9526
+
9527
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
9528
+ function phasePipeVariadic(cpl) {
9529
+ for (const view of cpl.views.values()) {
9530
+ for (const op of view.update) {
9531
+ transformExpressionsInOp(op, (expr) => {
9532
+ if (!(expr instanceof PipeBindingExpr)) {
9533
+ return expr;
9534
+ }
9535
+ if (expr.args.length <= 4) {
9536
+ return expr;
9537
+ }
9538
+ return new PipeBindingVariadicExpr(expr.target, expr.name, literalArr(expr.args), expr.args.length);
9539
+ }, VisitorContextFlag.None);
9540
+ }
9541
+ }
9542
+ }
9543
+
9544
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
9545
+ function phasePureLiteralStructures(cpl) {
9546
+ for (const view of cpl.views.values()) {
9547
+ for (const op of view.update) {
9548
+ transformExpressionsInOp(op, (expr, flags) => {
9549
+ if (flags & VisitorContextFlag.InChildOperation) {
9550
+ return expr;
9551
+ }
9552
+ if (expr instanceof LiteralArrayExpr) {
9553
+ return transformLiteralArray(expr);
9554
+ } else if (expr instanceof LiteralMapExpr) {
9555
+ return transformLiteralMap(expr);
9556
+ }
9557
+ return expr;
9558
+ }, VisitorContextFlag.None);
9559
+ }
9560
+ }
9561
+ }
9562
+ function transformLiteralArray(expr) {
9563
+ const derivedEntries = [];
9564
+ const nonConstantArgs = [];
9565
+ for (const entry of expr.entries) {
9566
+ if (entry.isConstant()) {
9567
+ derivedEntries.push(entry);
9568
+ } else {
9569
+ const idx = nonConstantArgs.length;
9570
+ nonConstantArgs.push(entry);
9571
+ derivedEntries.push(new PureFunctionParameterExpr(idx));
9572
+ }
9573
+ }
9574
+ return new PureFunctionExpr(literalArr(derivedEntries), nonConstantArgs);
9575
+ }
9576
+ function transformLiteralMap(expr) {
9577
+ let derivedEntries = [];
9578
+ const nonConstantArgs = [];
9579
+ for (const entry of expr.entries) {
9580
+ if (entry.value.isConstant()) {
9581
+ derivedEntries.push(entry);
9582
+ } else {
9583
+ const idx = nonConstantArgs.length;
9584
+ nonConstantArgs.push(entry.value);
9585
+ derivedEntries.push(new LiteralMapEntry(entry.key, new PureFunctionParameterExpr(idx), entry.quoted));
9586
+ }
9587
+ }
9588
+ return new PureFunctionExpr(literalMap(derivedEntries), nonConstantArgs);
9589
+ }
9590
+
9591
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/align_pipe_variadic_var_offset.mjs
9592
+ function phaseAlignPipeVariadicVarOffset(cpl) {
9593
+ for (const view of cpl.views.values()) {
9594
+ for (const op of view.update) {
9595
+ visitExpressionsInOp(op, (expr) => {
9596
+ if (!(expr instanceof PipeBindingVariadicExpr)) {
9597
+ return expr;
9598
+ }
9599
+ if (!(expr.args instanceof PureFunctionExpr)) {
9600
+ return expr;
9601
+ }
9602
+ if (expr.varOffset === null || expr.args.varOffset === null) {
9603
+ throw new Error(`Must run after variable counting`);
9604
+ }
9605
+ expr.varOffset = expr.args.varOffset;
9606
+ expr.args.varOffset = expr.varOffset + varsUsedByIrExpression(expr);
9607
+ });
9608
+ }
9609
+ }
9610
+ }
9611
+
9612
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
9099
9613
  function transformTemplate(cpl) {
9614
+ phasePipeCreation(cpl);
9615
+ phasePipeVariadic(cpl);
9616
+ phasePureLiteralStructures(cpl);
9100
9617
  phaseGenerateVariables(cpl);
9101
9618
  phaseSaveRestoreView(cpl);
9102
9619
  phaseResolveNames(cpl);
@@ -9111,6 +9628,8 @@ function transformTemplate(cpl) {
9111
9628
  phaseMergeNextContext(cpl);
9112
9629
  phaseNgContainer(cpl);
9113
9630
  phaseEmptyElements(cpl);
9631
+ phasePureFunctionExtraction(cpl);
9632
+ phaseAlignPipeVariadicVarOffset(cpl);
9114
9633
  phaseReify(cpl);
9115
9634
  phaseChaining(cpl);
9116
9635
  }
@@ -9172,10 +9691,11 @@ function maybeGenerateRfBlock(flag, statements) {
9172
9691
  ];
9173
9692
  }
9174
9693
 
9175
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
9694
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
9176
9695
  var ComponentCompilation = class {
9177
- constructor(componentName) {
9696
+ constructor(componentName, pool) {
9178
9697
  this.componentName = componentName;
9698
+ this.pool = pool;
9179
9699
  this.nextXrefId = 0;
9180
9700
  this.views = /* @__PURE__ */ new Map();
9181
9701
  this.consts = [];
@@ -9229,7 +9749,7 @@ var ViewCompilation = class {
9229
9749
  }
9230
9750
  };
9231
9751
 
9232
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
9752
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
9233
9753
  var BINARY_OPERATORS = /* @__PURE__ */ new Map([
9234
9754
  ["&&", BinaryOperator.And],
9235
9755
  [">", BinaryOperator.Bigger],
@@ -9250,9 +9770,9 @@ var BINARY_OPERATORS = /* @__PURE__ */ new Map([
9250
9770
  ["+", BinaryOperator.Plus]
9251
9771
  ]);
9252
9772
 
9253
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
9254
- function ingest(componentName, template2) {
9255
- const cpl = new ComponentCompilation(componentName);
9773
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
9774
+ function ingest(componentName, template2, constantPool) {
9775
+ const cpl = new ComponentCompilation(componentName, constantPool);
9256
9776
  ingestNodes(cpl.root, template2);
9257
9777
  return cpl;
9258
9778
  }
@@ -9322,6 +9842,10 @@ function convertAst(ast, cpl) {
9322
9842
  } else {
9323
9843
  return new ReadPropExpr(convertAst(ast.receiver, cpl), ast.name);
9324
9844
  }
9845
+ } else if (ast instanceof PropertyWrite) {
9846
+ return new WritePropExpr(convertAst(ast.receiver, cpl), ast.name, convertAst(ast.value, cpl));
9847
+ } else if (ast instanceof KeyedWrite) {
9848
+ return new WriteKeyExpr(convertAst(ast.receiver, cpl), convertAst(ast.key, cpl), convertAst(ast.value, cpl));
9325
9849
  } else if (ast instanceof Call) {
9326
9850
  if (ast.receiver instanceof ImplicitReceiver) {
9327
9851
  throw new Error(`Unexpected ImplicitReceiver`);
@@ -9342,6 +9866,21 @@ function convertAst(ast, cpl) {
9342
9866
  return new ReadKeyExpr(convertAst(ast.receiver, cpl), convertAst(ast.key, cpl));
9343
9867
  } else if (ast instanceof Chain) {
9344
9868
  throw new Error(`AssertionError: Chain in unknown context`);
9869
+ } else if (ast instanceof LiteralMap) {
9870
+ const entries = ast.keys.map((key, idx) => {
9871
+ const value = ast.values[idx];
9872
+ return new LiteralMapEntry(key.key, convertAst(value, cpl), key.quoted);
9873
+ });
9874
+ return new LiteralMapExpr(entries);
9875
+ } else if (ast instanceof LiteralArray) {
9876
+ return new LiteralArrayExpr(ast.expressions.map((expr) => convertAst(expr, cpl)));
9877
+ } else if (ast instanceof Conditional) {
9878
+ return new ConditionalExpr(convertAst(ast.condition, cpl), convertAst(ast.trueExp, cpl), convertAst(ast.falseExp, cpl));
9879
+ } else if (ast instanceof BindingPipe) {
9880
+ return new PipeBindingExpr(cpl.allocateXrefId(), ast.name, [
9881
+ convertAst(ast.exp, cpl),
9882
+ ...ast.args.map((arg) => convertAst(arg, cpl))
9883
+ ]);
9345
9884
  } else {
9346
9885
  throw new Error(`Unhandled expression type: ${ast.constructor.name}`);
9347
9886
  }
@@ -9365,15 +9904,15 @@ function ingestAttributes(op, element2) {
9365
9904
  }
9366
9905
  function ingestBindings(view, op, element2) {
9367
9906
  if (element2 instanceof Template) {
9368
- for (const input of [...element2.templateAttrs, ...element2.inputs]) {
9369
- if (!(input instanceof BoundAttribute)) {
9907
+ for (const attr of [...element2.templateAttrs, ...element2.inputs]) {
9908
+ if (!(attr instanceof BoundAttribute)) {
9370
9909
  continue;
9371
9910
  }
9372
- view.update.push(createPropertyOp(op.xref, input.name, convertAst(input.value, view.tpl)));
9911
+ ingestPropertyBinding(view, op.xref, attr.name, attr.value);
9373
9912
  }
9374
9913
  } else {
9375
9914
  for (const input of element2.inputs) {
9376
- view.update.push(createPropertyOp(op.xref, input.name, convertAst(input.value, view.tpl)));
9915
+ ingestPropertyBinding(view, op.xref, input.name, input.value);
9377
9916
  }
9378
9917
  for (const output of element2.outputs) {
9379
9918
  const listenerOp = createListenerOp(op.xref, output.name, op.tag);
@@ -9401,6 +9940,16 @@ function ingestBindings(view, op, element2) {
9401
9940
  }
9402
9941
  }
9403
9942
  }
9943
+ function ingestPropertyBinding(view, xref, name, value) {
9944
+ if (value instanceof ASTWithSource) {
9945
+ value = value.ast;
9946
+ }
9947
+ if (value instanceof Interpolation) {
9948
+ view.update.push(createInterpolatePropertyOp(xref, name, value.strings, value.expressions.map((expr) => convertAst(expr, view.tpl))));
9949
+ } else {
9950
+ view.update.push(createPropertyOp(xref, name, convertAst(value, view.tpl)));
9951
+ }
9952
+ }
9404
9953
  function ingestReferences(op, element2) {
9405
9954
  assertIsArray(op.localRefs);
9406
9955
  for (const { name, value } of element2.references) {
@@ -9416,10 +9965,10 @@ function assertIsArray(value) {
9416
9965
  }
9417
9966
  }
9418
9967
 
9419
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/switch/index.mjs
9968
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/switch/index.mjs
9420
9969
  var USE_TEMPLATE_PIPELINE = false;
9421
9970
 
9422
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/style_parser.mjs
9971
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/style_parser.mjs
9423
9972
  function parse(value) {
9424
9973
  const styles = [];
9425
9974
  let i = 0;
@@ -9480,7 +10029,7 @@ function hyphenate(value) {
9480
10029
  }).toLowerCase();
9481
10030
  }
9482
10031
 
9483
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/styling_builder.mjs
10032
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/styling_builder.mjs
9484
10033
  var IMPORTANT_FLAG = "!important";
9485
10034
  var MIN_STYLING_BINDING_SLOTS_REQUIRED = 2;
9486
10035
  var StylingBuilder = class {
@@ -9813,7 +10362,7 @@ function isEmptyExpression(ast) {
9813
10362
  return ast instanceof EmptyExpr;
9814
10363
  }
9815
10364
 
9816
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
10365
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
9817
10366
  var TokenType;
9818
10367
  (function(TokenType2) {
9819
10368
  TokenType2[TokenType2["Character"] = 0] = "Character";
@@ -10174,7 +10723,7 @@ function parseIntAutoRadix(text2) {
10174
10723
  return result;
10175
10724
  }
10176
10725
 
10177
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
10726
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
10178
10727
  var SplitInterpolation = class {
10179
10728
  constructor(strings, expressions, offsets) {
10180
10729
  this.strings = strings;
@@ -11068,7 +11617,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
11068
11617
  return offsetMap;
11069
11618
  }
11070
11619
 
11071
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
11620
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
11072
11621
  var NodeWithI18n = class {
11073
11622
  constructor(sourceSpan, i18n) {
11074
11623
  this.sourceSpan = sourceSpan;
@@ -11156,11 +11705,11 @@ function visitAll2(visitor, nodes, context = null) {
11156
11705
  return result;
11157
11706
  }
11158
11707
 
11159
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
11708
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
11160
11709
  var ElementSchemaRegistry = class {
11161
11710
  };
11162
11711
 
11163
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
11712
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
11164
11713
  var BOOLEAN = "boolean";
11165
11714
  var NUMBER = "number";
11166
11715
  var STRING = "string";
@@ -11513,7 +12062,7 @@ function _isPixelDimensionStyle(prop) {
11513
12062
  }
11514
12063
  }
11515
12064
 
11516
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
12065
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
11517
12066
  var HtmlTagDefinition = class {
11518
12067
  constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
11519
12068
  this.closedByChildren = {};
@@ -11543,7 +12092,7 @@ var HtmlTagDefinition = class {
11543
12092
  var DEFAULT_TAG_DEFINITION;
11544
12093
  var TAG_DEFINITIONS;
11545
12094
  function getHtmlTagDefinition(tagName) {
11546
- var _a2, _b;
12095
+ var _a2, _b2;
11547
12096
  if (!TAG_DEFINITIONS) {
11548
12097
  DEFAULT_TAG_DEFINITION = new HtmlTagDefinition({ canSelfClose: true });
11549
12098
  TAG_DEFINITIONS = {
@@ -11628,10 +12177,10 @@ function getHtmlTagDefinition(tagName) {
11628
12177
  }
11629
12178
  });
11630
12179
  }
11631
- return (_b = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b : DEFAULT_TAG_DEFINITION;
12180
+ return (_b2 = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b2 : DEFAULT_TAG_DEFINITION;
11632
12181
  }
11633
12182
 
11634
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
12183
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
11635
12184
  var NAMED_ENTITIES = {
11636
12185
  "AElig": "\xC6",
11637
12186
  "AMP": "&",
@@ -13762,7 +14311,7 @@ var NAMED_ENTITIES = {
13762
14311
  var NGSP_UNICODE = "\uE500";
13763
14312
  NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
13764
14313
 
13765
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
14314
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
13766
14315
  var TokenError = class extends ParseError {
13767
14316
  constructor(errorMsg, tokenType, span) {
13768
14317
  super(span, errorMsg);
@@ -14597,7 +15146,7 @@ var CursorError = class {
14597
15146
  }
14598
15147
  };
14599
15148
 
14600
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
15149
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
14601
15150
  var TreeError = class extends ParseError {
14602
15151
  static create(elementName, span, msg) {
14603
15152
  return new TreeError(elementName, span, msg);
@@ -14924,7 +15473,7 @@ function decodeEntity(match, entity) {
14924
15473
  return match;
14925
15474
  }
14926
15475
 
14927
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
15476
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
14928
15477
  var HtmlParser = class extends Parser2 {
14929
15478
  constructor() {
14930
15479
  super(getHtmlTagDefinition);
@@ -14934,7 +15483,7 @@ var HtmlParser = class extends Parser2 {
14934
15483
  }
14935
15484
  };
14936
15485
 
14937
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
15486
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
14938
15487
  var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
14939
15488
  var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
14940
15489
  var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
@@ -14994,7 +15543,7 @@ function visitAllWithSiblings(visitor, nodes) {
14994
15543
  return result;
14995
15544
  }
14996
15545
 
14997
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/map_util.mjs
15546
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/map_util.mjs
14998
15547
  function mapLiteral(obj, quoted = false) {
14999
15548
  return literalMap(Object.keys(obj).map((key) => ({
15000
15549
  key,
@@ -15003,7 +15552,7 @@ function mapLiteral(obj, quoted = false) {
15003
15552
  })));
15004
15553
  }
15005
15554
 
15006
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
15555
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
15007
15556
  var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
15008
15557
  "iframe|srcdoc",
15009
15558
  "*|innerhtml",
@@ -15018,7 +15567,7 @@ function isTrustedTypesSink(tagName, propName) {
15018
15567
  return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
15019
15568
  }
15020
15569
 
15021
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
15570
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
15022
15571
  var PROPERTY_PARTS_SEPARATOR = ".";
15023
15572
  var ATTRIBUTE_PREFIX = "attr";
15024
15573
  var CLASS_PREFIX = "class";
@@ -15338,7 +15887,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
15338
15887
  return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
15339
15888
  }
15340
15889
 
15341
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
15890
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
15342
15891
  function isStyleUrlResolvable(url) {
15343
15892
  if (url == null || url.length === 0 || url[0] == "/")
15344
15893
  return false;
@@ -15347,7 +15896,7 @@ function isStyleUrlResolvable(url) {
15347
15896
  }
15348
15897
  var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
15349
15898
 
15350
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
15899
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
15351
15900
  var NG_CONTENT_SELECT_ATTR = "select";
15352
15901
  var LINK_ELEMENT = "link";
15353
15902
  var LINK_STYLE_REL_ATTR = "rel";
@@ -15417,7 +15966,7 @@ function normalizeNgContentSelect(selectAttr) {
15417
15966
  return selectAttr;
15418
15967
  }
15419
15968
 
15420
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
15969
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
15421
15970
  var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
15422
15971
  var KW_BIND_IDX = 1;
15423
15972
  var KW_LET_IDX = 2;
@@ -15765,7 +16314,7 @@ function textContents(node) {
15765
16314
  }
15766
16315
  }
15767
16316
 
15768
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/context.mjs
16317
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/context.mjs
15769
16318
  var TagType;
15770
16319
  (function(TagType2) {
15771
16320
  TagType2[TagType2["ELEMENT"] = 0] = "ELEMENT";
@@ -15900,7 +16449,7 @@ function serializePlaceholderValue(value) {
15900
16449
  }
15901
16450
  }
15902
16451
 
15903
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
16452
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
15904
16453
  var IcuSerializerVisitor = class {
15905
16454
  visitText(text2) {
15906
16455
  return text2.value;
@@ -15931,7 +16480,7 @@ function serializeIcuNode(icu) {
15931
16480
  return icu.visit(serializer);
15932
16481
  }
15933
16482
 
15934
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
16483
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
15935
16484
  var TAG_TO_PLACEHOLDER_NAMES = {
15936
16485
  "A": "LINK",
15937
16486
  "B": "BOLD_TEXT",
@@ -16025,7 +16574,7 @@ var PlaceholderRegistry = class {
16025
16574
  }
16026
16575
  };
16027
16576
 
16028
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
16577
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
16029
16578
  var _expParser = new Parser(new Lexer());
16030
16579
  function createI18nMessageFactory(interpolationConfig) {
16031
16580
  const visitor = new _I18nVisitor(_expParser, interpolationConfig);
@@ -16180,14 +16729,14 @@ function extractPlaceholderName(input) {
16180
16729
  return input.split(_CUSTOM_PH_EXP)[2];
16181
16730
  }
16182
16731
 
16183
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
16732
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
16184
16733
  var I18nError = class extends ParseError {
16185
16734
  constructor(span, msg) {
16186
16735
  super(span, msg);
16187
16736
  }
16188
16737
  };
16189
16738
 
16190
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
16739
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
16191
16740
  var setI18nRefs = (htmlNode, i18nNode) => {
16192
16741
  if (htmlNode instanceof NodeWithI18n) {
16193
16742
  if (i18nNode instanceof IcuPlaceholder && htmlNode.i18n instanceof Message) {
@@ -16336,7 +16885,7 @@ function i18nMetaToJSDoc(meta) {
16336
16885
  return jsDocComment(tags);
16337
16886
  }
16338
16887
 
16339
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
16888
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
16340
16889
  var GOOG_GET_MSG = "goog.getMsg";
16341
16890
  function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
16342
16891
  const messageString = serializeI18nMessageForGetMsg(message);
@@ -16384,7 +16933,7 @@ function serializeI18nMessageForGetMsg(message) {
16384
16933
  return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
16385
16934
  }
16386
16935
 
16387
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
16936
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
16388
16937
  function createLocalizeStatements(variable2, message, params) {
16389
16938
  const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
16390
16939
  const sourceSpan = getSourceSpan(message);
@@ -16413,11 +16962,11 @@ var LocalizeSerializerVisitor = class {
16413
16962
  this.pieces.push(new LiteralPiece(serializeIcuNode(icu), icu.sourceSpan));
16414
16963
  }
16415
16964
  visitTagPlaceholder(ph) {
16416
- var _a2, _b;
16965
+ var _a2, _b2;
16417
16966
  this.pieces.push(this.createPlaceholderPiece(ph.startName, (_a2 = ph.startSourceSpan) != null ? _a2 : ph.sourceSpan));
16418
16967
  if (!ph.isVoid) {
16419
16968
  ph.children.forEach((child) => child.visit(this));
16420
- this.pieces.push(this.createPlaceholderPiece(ph.closeName, (_b = ph.endSourceSpan) != null ? _b : ph.sourceSpan));
16969
+ this.pieces.push(this.createPlaceholderPiece(ph.closeName, (_b2 = ph.endSourceSpan) != null ? _b2 : ph.sourceSpan));
16421
16970
  }
16422
16971
  }
16423
16972
  visitPlaceholder(ph) {
@@ -16467,7 +17016,7 @@ function createEmptyMessagePart(location) {
16467
17016
  return new LiteralPiece("", new ParseSourceSpan(location, location));
16468
17017
  }
16469
17018
 
16470
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
17019
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
16471
17020
  var NG_CONTENT_SELECT_ATTR2 = "select";
16472
17021
  var NG_PROJECT_AS_ATTR_NAME = "ngProjectAs";
16473
17022
  var EVENT_BINDING_SCOPE_GLOBALS = /* @__PURE__ */ new Set(["$event"]);
@@ -16550,11 +17099,11 @@ var TemplateDefinitionBuilder = class {
16550
17099
  this._ngContentReservedSlots = [];
16551
17100
  this._ngContentSelectorsOffset = 0;
16552
17101
  this._implicitReceiverExpr = null;
16553
- this.visitReference = invalid2;
16554
- this.visitVariable = invalid2;
16555
- this.visitTextAttribute = invalid2;
16556
- this.visitBoundAttribute = invalid2;
16557
- this.visitBoundEvent = invalid2;
17102
+ this.visitReference = invalid;
17103
+ this.visitVariable = invalid;
17104
+ this.visitTextAttribute = invalid;
17105
+ this.visitBoundAttribute = invalid;
17106
+ this.visitBoundEvent = invalid;
16558
17107
  this._bindingScope = parentBindingScope.nestedScope(level);
16559
17108
  this.fileBasedI18nSuffix = relativeContextFilePath.replace(/[^A-Za-z0-9]/g, "_") + "_";
16560
17109
  this._valueConverter = new ValueConverter(constantPool, () => this.allocateDataSlot(), (numSlots) => this.allocatePureFunctionSlots(numSlots), (name, localName, slot, value) => {
@@ -16808,7 +17357,7 @@ var TemplateDefinitionBuilder = class {
16808
17357
  }
16809
17358
  }
16810
17359
  visitElement(element2) {
16811
- var _a2, _b;
17360
+ var _a2, _b2;
16812
17361
  const elementIndex = this.allocateDataSlot();
16813
17362
  const stylingBuilder = new StylingBuilder(null);
16814
17363
  let isNonBindableMode = false;
@@ -16966,7 +17515,7 @@ var TemplateDefinitionBuilder = class {
16966
17515
  this.i18n.appendElement(element2.i18n, elementIndex, true);
16967
17516
  }
16968
17517
  if (!createSelfClosingInstruction) {
16969
- const span = (_b = element2.endSourceSpan) != null ? _b : element2.sourceSpan;
17518
+ const span = (_b2 = element2.endSourceSpan) != null ? _b2 : element2.sourceSpan;
16970
17519
  if (isI18nRootElement) {
16971
17520
  this.i18nEnd(span, createSelfClosingI18nInstruction);
16972
17521
  }
@@ -17295,26 +17844,26 @@ var ValueConverter = class extends AstMemoryEfficientTransformer {
17295
17844
  this.definePipe = definePipe;
17296
17845
  this._pipeBindExprs = [];
17297
17846
  }
17298
- visitPipe(pipe, context) {
17847
+ visitPipe(pipe2, context) {
17299
17848
  const slot = this.allocateSlot();
17300
17849
  const slotPseudoLocal = `PIPE:${slot}`;
17301
- const pureFunctionSlot = this.allocatePureFunctionSlots(2 + pipe.args.length);
17302
- const target = new PropertyRead(pipe.span, pipe.sourceSpan, pipe.nameSpan, new ImplicitReceiver(pipe.span, pipe.sourceSpan), slotPseudoLocal);
17303
- const { identifier, isVarLength } = pipeBindingCallInfo(pipe.args);
17304
- this.definePipe(pipe.name, slotPseudoLocal, slot, importExpr(identifier));
17305
- const args = [pipe.exp, ...pipe.args];
17306
- const convertedArgs = isVarLength ? this.visitAll([new LiteralArray(pipe.span, pipe.sourceSpan, args)]) : this.visitAll(args);
17307
- const pipeBindExpr = new Call(pipe.span, pipe.sourceSpan, target, [
17308
- new LiteralPrimitive(pipe.span, pipe.sourceSpan, slot),
17309
- new LiteralPrimitive(pipe.span, pipe.sourceSpan, pureFunctionSlot),
17850
+ const pureFunctionSlot = this.allocatePureFunctionSlots(2 + pipe2.args.length);
17851
+ const target = new PropertyRead(pipe2.span, pipe2.sourceSpan, pipe2.nameSpan, new ImplicitReceiver(pipe2.span, pipe2.sourceSpan), slotPseudoLocal);
17852
+ const { identifier, isVarLength } = pipeBindingCallInfo(pipe2.args);
17853
+ this.definePipe(pipe2.name, slotPseudoLocal, slot, importExpr(identifier));
17854
+ const args = [pipe2.exp, ...pipe2.args];
17855
+ const convertedArgs = isVarLength ? this.visitAll([new LiteralArray(pipe2.span, pipe2.sourceSpan, args)]) : this.visitAll(args);
17856
+ const pipeBindExpr = new Call(pipe2.span, pipe2.sourceSpan, target, [
17857
+ new LiteralPrimitive(pipe2.span, pipe2.sourceSpan, slot),
17858
+ new LiteralPrimitive(pipe2.span, pipe2.sourceSpan, pureFunctionSlot),
17310
17859
  ...convertedArgs
17311
17860
  ], null);
17312
17861
  this._pipeBindExprs.push(pipeBindExpr);
17313
17862
  return pipeBindExpr;
17314
17863
  }
17315
17864
  updatePipeSlotOffsets(bindingSlots) {
17316
- this._pipeBindExprs.forEach((pipe) => {
17317
- const slotOffset = pipe.args[1];
17865
+ this._pipeBindExprs.forEach((pipe2) => {
17866
+ const slotOffset = pipe2.args[1];
17318
17867
  slotOffset.value += bindingSlots;
17319
17868
  });
17320
17869
  }
@@ -17769,7 +18318,7 @@ function createClosureModeGuard() {
17769
18318
  return typeofExpr(variable(NG_I18N_CLOSURE_MODE)).notIdentical(literal("undefined", STRING_TYPE)).and(variable(NG_I18N_CLOSURE_MODE));
17770
18319
  }
17771
18320
 
17772
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
18321
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
17773
18322
  var ATTR_REGEX = /attr\.([^\]]+)/;
17774
18323
  var COMPONENT_VARIABLE = "%COMP%";
17775
18324
  var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
@@ -17814,6 +18363,12 @@ function addFeatures(definitionMap, meta) {
17814
18363
  }
17815
18364
  features.push(importExpr(Identifiers.ProvidersFeature).callFn(args));
17816
18365
  }
18366
+ for (const key of inputKeys) {
18367
+ if (meta.inputs[key].transformFunction !== null) {
18368
+ features.push(importExpr(Identifiers.InputTransformsFeatureFeature));
18369
+ break;
18370
+ }
18371
+ }
17817
18372
  if (meta.usesInheritance) {
17818
18373
  features.push(importExpr(Identifiers.InheritDefinitionFeature));
17819
18374
  }
@@ -17829,12 +18384,6 @@ function addFeatures(definitionMap, meta) {
17829
18384
  if ((_a2 = meta.hostDirectives) == null ? void 0 : _a2.length) {
17830
18385
  features.push(importExpr(Identifiers.HostDirectivesFeature).callFn([createHostDirectivesFeatureArg(meta.hostDirectives)]));
17831
18386
  }
17832
- for (const key of inputKeys) {
17833
- if (meta.inputs[key].transformFunction !== null) {
17834
- features.push(importExpr(Identifiers.InputTransformsFeatureFeature));
17835
- break;
17836
- }
17837
- }
17838
18387
  if (features.length) {
17839
18388
  definitionMap.set("features", literalArr(features));
17840
18389
  }
@@ -17883,7 +18432,7 @@ function compileComponentFromMetadata(meta, constantPool, bindingParser) {
17883
18432
  }
17884
18433
  definitionMap.set("template", templateFunctionExpression);
17885
18434
  } else {
17886
- const tpl = ingest(meta.name, meta.template.nodes);
18435
+ const tpl = ingest(meta.name, meta.template.nodes, constantPool);
17887
18436
  transformTemplate(tpl);
17888
18437
  const templateFn = emitTemplateFn(tpl, constantPool);
17889
18438
  definitionMap.set("decls", literal(tpl.root.decls));
@@ -18325,11 +18874,11 @@ function createHostDirectivesMappingArray(mapping) {
18325
18874
  return elements.length > 0 ? literalArr(elements) : null;
18326
18875
  }
18327
18876
 
18328
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/resource_loader.mjs
18877
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/resource_loader.mjs
18329
18878
  var ResourceLoader = class {
18330
18879
  };
18331
18880
 
18332
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
18881
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
18333
18882
  var CompilerFacadeImpl = class {
18334
18883
  constructor(jitEvaluator = new JitEvaluator()) {
18335
18884
  this.jitEvaluator = jitEvaluator;
@@ -18513,15 +19062,15 @@ function convertToR3QueryMetadata(facade) {
18513
19062
  });
18514
19063
  }
18515
19064
  function convertQueryDeclarationToMetadata(declaration) {
18516
- var _a2, _b, _c, _d;
19065
+ var _a2, _b2, _c2, _d2;
18517
19066
  return {
18518
19067
  propertyName: declaration.propertyName,
18519
19068
  first: (_a2 = declaration.first) != null ? _a2 : false,
18520
19069
  predicate: convertQueryPredicate(declaration.predicate),
18521
- descendants: (_b = declaration.descendants) != null ? _b : false,
19070
+ descendants: (_b2 = declaration.descendants) != null ? _b2 : false,
18522
19071
  read: declaration.read ? new WrappedNodeExpr(declaration.read) : null,
18523
- static: (_c = declaration.static) != null ? _c : false,
18524
- emitDistinctChangesOnly: (_d = declaration.emitDistinctChangesOnly) != null ? _d : true
19072
+ static: (_c2 = declaration.static) != null ? _c2 : false,
19073
+ emitDistinctChangesOnly: (_d2 = declaration.emitDistinctChangesOnly) != null ? _d2 : true
18525
19074
  };
18526
19075
  }
18527
19076
  function convertQueryPredicate(predicate) {
@@ -18541,7 +19090,7 @@ function convertDirectiveFacadeToMetadata(facade) {
18541
19090
  bindingPropertyName: ann.alias || field,
18542
19091
  classPropertyName: field,
18543
19092
  required: ann.required || false,
18544
- transformFunction: null
19093
+ transformFunction: ann.transform != null ? new WrappedNodeExpr(ann.transform) : null
18545
19094
  };
18546
19095
  } else if (isOutput(ann)) {
18547
19096
  outputsFromType[field] = ann.alias || field;
@@ -18565,35 +19114,35 @@ function convertDirectiveFacadeToMetadata(facade) {
18565
19114
  });
18566
19115
  }
18567
19116
  function convertDeclareDirectiveFacadeToMetadata(declaration, typeSourceSpan) {
18568
- var _a2, _b, _c, _d, _e, _f, _g, _h, _i;
19117
+ var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i;
18569
19118
  return {
18570
19119
  name: declaration.type.name,
18571
19120
  type: wrapReference(declaration.type),
18572
19121
  typeSourceSpan,
18573
19122
  selector: (_a2 = declaration.selector) != null ? _a2 : null,
18574
19123
  inputs: declaration.inputs ? inputsMappingToInputMetadata(declaration.inputs) : {},
18575
- outputs: (_b = declaration.outputs) != null ? _b : {},
19124
+ outputs: (_b2 = declaration.outputs) != null ? _b2 : {},
18576
19125
  host: convertHostDeclarationToMetadata(declaration.host),
18577
- queries: ((_c = declaration.queries) != null ? _c : []).map(convertQueryDeclarationToMetadata),
18578
- viewQueries: ((_d = declaration.viewQueries) != null ? _d : []).map(convertQueryDeclarationToMetadata),
19126
+ queries: ((_c2 = declaration.queries) != null ? _c2 : []).map(convertQueryDeclarationToMetadata),
19127
+ viewQueries: ((_d2 = declaration.viewQueries) != null ? _d2 : []).map(convertQueryDeclarationToMetadata),
18579
19128
  providers: declaration.providers !== void 0 ? new WrappedNodeExpr(declaration.providers) : null,
18580
- exportAs: (_e = declaration.exportAs) != null ? _e : null,
18581
- usesInheritance: (_f = declaration.usesInheritance) != null ? _f : false,
18582
- lifecycle: { usesOnChanges: (_g = declaration.usesOnChanges) != null ? _g : false },
19129
+ exportAs: (_e2 = declaration.exportAs) != null ? _e2 : null,
19130
+ usesInheritance: (_f2 = declaration.usesInheritance) != null ? _f2 : false,
19131
+ lifecycle: { usesOnChanges: (_g2 = declaration.usesOnChanges) != null ? _g2 : false },
18583
19132
  deps: null,
18584
19133
  typeArgumentCount: 0,
18585
19134
  fullInheritance: false,
18586
- isStandalone: (_h = declaration.isStandalone) != null ? _h : false,
19135
+ isStandalone: (_h2 = declaration.isStandalone) != null ? _h2 : false,
18587
19136
  isSignal: (_i = declaration.isSignal) != null ? _i : false,
18588
19137
  hostDirectives: convertHostDirectivesToMetadata(declaration)
18589
19138
  };
18590
19139
  }
18591
19140
  function convertHostDeclarationToMetadata(host = {}) {
18592
- var _a2, _b, _c;
19141
+ var _a2, _b2, _c2;
18593
19142
  return {
18594
19143
  attributes: convertOpaqueValuesToExpressions((_a2 = host.attributes) != null ? _a2 : {}),
18595
- listeners: (_b = host.listeners) != null ? _b : {},
18596
- properties: (_c = host.properties) != null ? _c : {},
19144
+ listeners: (_b2 = host.listeners) != null ? _b2 : {},
19145
+ properties: (_c2 = host.properties) != null ? _c2 : {},
18597
19146
  specialAttributes: {
18598
19147
  classAttr: host.classAttribute,
18599
19148
  styleAttr: host.styleAttribute
@@ -18627,7 +19176,7 @@ function convertOpaqueValuesToExpressions(obj) {
18627
19176
  return result;
18628
19177
  }
18629
19178
  function convertDeclareComponentFacadeToMetadata(decl, typeSourceSpan, sourceMapUrl) {
18630
- var _a2, _b, _c, _d;
19179
+ var _a2, _b2, _c2, _d2;
18631
19180
  const { template: template2, interpolation } = parseJitTemplate(decl.template, decl.type.name, sourceMapUrl, (_a2 = decl.preserveWhitespaces) != null ? _a2 : false, decl.interpolation);
18632
19181
  const declarations = [];
18633
19182
  if (decl.dependencies) {
@@ -18649,12 +19198,12 @@ function convertDeclareComponentFacadeToMetadata(decl, typeSourceSpan, sourceMap
18649
19198
  }
18650
19199
  return __spreadProps(__spreadValues({}, convertDeclareDirectiveFacadeToMetadata(decl, typeSourceSpan)), {
18651
19200
  template: template2,
18652
- styles: (_b = decl.styles) != null ? _b : [],
19201
+ styles: (_b2 = decl.styles) != null ? _b2 : [],
18653
19202
  declarations,
18654
19203
  viewProviders: decl.viewProviders !== void 0 ? new WrappedNodeExpr(decl.viewProviders) : null,
18655
19204
  animations: decl.animations !== void 0 ? new WrappedNodeExpr(decl.animations) : null,
18656
- changeDetection: (_c = decl.changeDetection) != null ? _c : ChangeDetectionStrategy.Default,
18657
- encapsulation: (_d = decl.encapsulation) != null ? _d : ViewEncapsulation.Emulated,
19205
+ changeDetection: (_c2 = decl.changeDetection) != null ? _c2 : ChangeDetectionStrategy.Default,
19206
+ encapsulation: (_d2 = decl.encapsulation) != null ? _d2 : ViewEncapsulation.Emulated,
18658
19207
  interpolation,
18659
19208
  declarationListEmitMode: 2,
18660
19209
  relativeContextFilePath: "",
@@ -18667,15 +19216,15 @@ function convertDeclarationFacadeToMetadata(declaration) {
18667
19216
  });
18668
19217
  }
18669
19218
  function convertDirectiveDeclarationToMetadata(declaration, isComponent = null) {
18670
- var _a2, _b, _c;
19219
+ var _a2, _b2, _c2;
18671
19220
  return {
18672
19221
  kind: R3TemplateDependencyKind.Directive,
18673
19222
  isComponent: isComponent || declaration.kind === "component",
18674
19223
  selector: declaration.selector,
18675
19224
  type: new WrappedNodeExpr(declaration.type),
18676
19225
  inputs: (_a2 = declaration.inputs) != null ? _a2 : [],
18677
- outputs: (_b = declaration.outputs) != null ? _b : [],
18678
- exportAs: (_c = declaration.exportAs) != null ? _c : null
19226
+ outputs: (_b2 = declaration.outputs) != null ? _b2 : [],
19227
+ exportAs: (_c2 = declaration.exportAs) != null ? _c2 : null
18679
19228
  };
18680
19229
  }
18681
19230
  function convertPipeMapToMetadata(pipes) {
@@ -18690,11 +19239,11 @@ function convertPipeMapToMetadata(pipes) {
18690
19239
  };
18691
19240
  });
18692
19241
  }
18693
- function convertPipeDeclarationToMetadata(pipe) {
19242
+ function convertPipeDeclarationToMetadata(pipe2) {
18694
19243
  return {
18695
19244
  kind: R3TemplateDependencyKind.Pipe,
18696
- name: pipe.name,
18697
- type: new WrappedNodeExpr(pipe.type)
19245
+ name: pipe2.name,
19246
+ type: new WrappedNodeExpr(pipe2.type)
18698
19247
  };
18699
19248
  }
18700
19249
  function parseJitTemplate(template2, typeName, sourceMapUrl, preserveWhitespaces, interpolation) {
@@ -18734,10 +19283,10 @@ function convertR3DependencyMetadata(facade) {
18734
19283
  return createR3DependencyMetadata(token, isAttributeDep, facade.host, facade.optional, facade.self, facade.skipSelf);
18735
19284
  }
18736
19285
  function convertR3DeclareDependencyMetadata(facade) {
18737
- var _a2, _b, _c, _d, _e;
19286
+ var _a2, _b2, _c2, _d2, _e2;
18738
19287
  const isAttributeDep = (_a2 = facade.attribute) != null ? _a2 : false;
18739
19288
  const token = facade.token === null ? null : new WrappedNodeExpr(facade.token);
18740
- return createR3DependencyMetadata(token, isAttributeDep, (_b = facade.host) != null ? _b : false, (_c = facade.optional) != null ? _c : false, (_d = facade.self) != null ? _d : false, (_e = facade.skipSelf) != null ? _e : false);
19289
+ return createR3DependencyMetadata(token, isAttributeDep, (_b2 = facade.host) != null ? _b2 : false, (_c2 = facade.optional) != null ? _c2 : false, (_d2 = facade.self) != null ? _d2 : false, (_e2 = facade.skipSelf) != null ? _e2 : false);
18741
19290
  }
18742
19291
  function createR3DependencyMetadata(token, isAttributeDep, host, optional, self2, skipSelf) {
18743
19292
  const attributeNameType = isAttributeDep ? literal("unknown") : null;
@@ -18781,15 +19330,15 @@ function inputsMappingToInputMetadata(inputs) {
18781
19330
  result[key] = {
18782
19331
  bindingPropertyName: value,
18783
19332
  classPropertyName: value,
18784
- required: false,
18785
- transformFunction: null
19333
+ transformFunction: null,
19334
+ required: false
18786
19335
  };
18787
19336
  } else {
18788
19337
  result[key] = {
18789
19338
  bindingPropertyName: value[0],
18790
19339
  classPropertyName: value[1],
18791
- required: false,
18792
- transformFunction: null
19340
+ transformFunction: value[2] ? new WrappedNodeExpr(value[2]) : null,
19341
+ required: false
18793
19342
  };
18794
19343
  }
18795
19344
  return result;
@@ -18799,13 +19348,18 @@ function parseInputsArray(values) {
18799
19348
  return values.reduce((results, value) => {
18800
19349
  if (typeof value === "string") {
18801
19350
  const [bindingPropertyName, classPropertyName] = parseMappingString(value);
18802
- results[classPropertyName] = { bindingPropertyName, classPropertyName, required: false, transformFunction: null };
19351
+ results[classPropertyName] = {
19352
+ bindingPropertyName,
19353
+ classPropertyName,
19354
+ required: false,
19355
+ transformFunction: null
19356
+ };
18803
19357
  } else {
18804
19358
  results[value.name] = {
18805
19359
  bindingPropertyName: value.alias || value.name,
18806
19360
  classPropertyName: value.name,
18807
19361
  required: value.required || false,
18808
- transformFunction: null
19362
+ transformFunction: value.transform != null ? new WrappedNodeExpr(value.transform) : null
18809
19363
  };
18810
19364
  }
18811
19365
  return results;
@@ -18823,7 +19377,7 @@ function parseMappingString(value) {
18823
19377
  return [bindingPropertyName != null ? bindingPropertyName : fieldName, fieldName];
18824
19378
  }
18825
19379
  function convertDeclarePipeFacadeToMetadata(declaration) {
18826
- var _a2, _b;
19380
+ var _a2, _b2;
18827
19381
  return {
18828
19382
  name: declaration.type.name,
18829
19383
  type: wrapReference(declaration.type),
@@ -18831,7 +19385,7 @@ function convertDeclarePipeFacadeToMetadata(declaration) {
18831
19385
  pipeName: declaration.name,
18832
19386
  deps: null,
18833
19387
  pure: (_a2 = declaration.pure) != null ? _a2 : true,
18834
- isStandalone: (_b = declaration.isStandalone) != null ? _b : false
19388
+ isStandalone: (_b2 = declaration.isStandalone) != null ? _b2 : false
18835
19389
  };
18836
19390
  }
18837
19391
  function convertDeclareInjectorFacadeToMetadata(declaration) {
@@ -18847,10 +19401,10 @@ function publishFacade(global2) {
18847
19401
  ng.\u0275compilerFacade = new CompilerFacadeImpl();
18848
19402
  }
18849
19403
 
18850
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
18851
- var VERSION2 = new Version("16.1.0-next.2");
19404
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/version.mjs
19405
+ var VERSION2 = new Version("16.1.0-rc.0");
18852
19406
 
18853
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
19407
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
18854
19408
  var _I18N_ATTR = "i18n";
18855
19409
  var _I18N_ATTR_PREFIX = "i18n-";
18856
19410
  var _I18N_COMMENT_PREFIX_REGEXP = /^i18n:?/;
@@ -19154,7 +19708,7 @@ function _parseMessageMeta(i18n) {
19154
19708
  return { meaning, description, id: id.trim() };
19155
19709
  }
19156
19710
 
19157
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
19711
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
19158
19712
  var XmlTagDefinition = class {
19159
19713
  constructor() {
19160
19714
  this.closedByParent = false;
@@ -19179,7 +19733,7 @@ function getXmlTagDefinition(tagName) {
19179
19733
  return _TAG_DEFINITION;
19180
19734
  }
19181
19735
 
19182
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_parser.mjs
19736
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/xml_parser.mjs
19183
19737
  var XmlParser = class extends Parser2 {
19184
19738
  constructor() {
19185
19739
  super(getXmlTagDefinition);
@@ -19189,7 +19743,7 @@ var XmlParser = class extends Parser2 {
19189
19743
  }
19190
19744
  };
19191
19745
 
19192
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff.mjs
19746
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff.mjs
19193
19747
  var _VERSION = "1.2";
19194
19748
  var _XMLNS = "urn:oasis:names:tc:xliff:document:1.2";
19195
19749
  var _DEFAULT_SOURCE_LANG = "en";
@@ -19429,7 +19983,7 @@ function getCtypeForTag(tag) {
19429
19983
  }
19430
19984
  }
19431
19985
 
19432
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff2.mjs
19986
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff2.mjs
19433
19987
  var _VERSION2 = "2.0";
19434
19988
  var _XMLNS2 = "urn:oasis:names:tc:xliff:document:2.0";
19435
19989
  var _DEFAULT_SOURCE_LANG2 = "en";
@@ -19720,7 +20274,7 @@ function getTypeForTag(tag) {
19720
20274
  }
19721
20275
  }
19722
20276
 
19723
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/message_bundle.mjs
20277
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/message_bundle.mjs
19724
20278
  var MessageBundle = class {
19725
20279
  constructor(_htmlParser, _implicitTags, _implicitAttrs, _locale = null) {
19726
20280
  this._htmlParser = _htmlParser;
@@ -19787,7 +20341,7 @@ var MapPlaceholderNames = class extends CloneVisitor {
19787
20341
  }
19788
20342
  };
19789
20343
 
19790
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
20344
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
19791
20345
  var FactoryTarget2;
19792
20346
  (function(FactoryTarget3) {
19793
20347
  FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
@@ -19797,7 +20351,7 @@ var FactoryTarget2;
19797
20351
  FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
19798
20352
  })(FactoryTarget2 || (FactoryTarget2 = {}));
19799
20353
 
19800
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
20354
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
19801
20355
  var R3TargetBinder = class {
19802
20356
  constructor(directiveMatcher) {
19803
20357
  this.directiveMatcher = directiveMatcher;
@@ -20149,25 +20703,25 @@ function extractTemplateEntities(rootScope) {
20149
20703
  return templateEntities;
20150
20704
  }
20151
20705
 
20152
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_class_metadata_compiler.mjs
20706
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_class_metadata_compiler.mjs
20153
20707
  function compileClassMetadata(metadata) {
20154
- var _a2, _b;
20708
+ var _a2, _b2;
20155
20709
  const fnCall = importExpr(Identifiers.setClassMetadata).callFn([
20156
20710
  metadata.type,
20157
20711
  metadata.decorators,
20158
20712
  (_a2 = metadata.ctorParameters) != null ? _a2 : literal(null),
20159
- (_b = metadata.propDecorators) != null ? _b : literal(null)
20713
+ (_b2 = metadata.propDecorators) != null ? _b2 : literal(null)
20160
20714
  ]);
20161
20715
  const iife = fn([], [devOnlyGuardedExpression(fnCall).toStmt()]);
20162
20716
  return iife.callFn([]);
20163
20717
  }
20164
20718
 
20165
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/class_metadata.mjs
20719
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/class_metadata.mjs
20166
20720
  var MINIMUM_PARTIAL_LINKER_VERSION = "12.0.0";
20167
20721
  function compileDeclareClassMetadata(metadata) {
20168
20722
  const definitionMap = new DefinitionMap();
20169
20723
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
20170
- definitionMap.set("version", literal("16.1.0-next.2"));
20724
+ definitionMap.set("version", literal("16.1.0-rc.0"));
20171
20725
  definitionMap.set("ngImport", importExpr(Identifiers.core));
20172
20726
  definitionMap.set("type", metadata.type);
20173
20727
  definitionMap.set("decorators", metadata.decorators);
@@ -20176,7 +20730,7 @@ function compileDeclareClassMetadata(metadata) {
20176
20730
  return importExpr(Identifiers.declareClassMetadata).callFn([definitionMap.toLiteralMap()]);
20177
20731
  }
20178
20732
 
20179
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/util.mjs
20733
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/util.mjs
20180
20734
  function toOptionalLiteralArray(values, mapper) {
20181
20735
  if (values === null || values.length === 0) {
20182
20736
  return null;
@@ -20224,7 +20778,7 @@ function compileDependency(dep) {
20224
20778
  return depMeta.toLiteralMap();
20225
20779
  }
20226
20780
 
20227
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/directive.mjs
20781
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/directive.mjs
20228
20782
  var MINIMUM_PARTIAL_LINKER_VERSION2 = "14.0.0";
20229
20783
  function compileDeclareDirectiveFromMetadata(meta) {
20230
20784
  const definitionMap = createDirectiveDefinitionMap(meta);
@@ -20236,7 +20790,7 @@ function createDirectiveDefinitionMap(meta) {
20236
20790
  var _a2;
20237
20791
  const definitionMap = new DefinitionMap();
20238
20792
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION2));
20239
- definitionMap.set("version", literal("16.1.0-next.2"));
20793
+ definitionMap.set("version", literal("16.1.0-rc.0"));
20240
20794
  definitionMap.set("type", meta.type.value);
20241
20795
  if (meta.isStandalone) {
20242
20796
  definitionMap.set("isStandalone", literal(meta.isStandalone));
@@ -20329,7 +20883,7 @@ function createHostDirectives(hostDirectives) {
20329
20883
  return literalArr(expressions);
20330
20884
  }
20331
20885
 
20332
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/component.mjs
20886
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/component.mjs
20333
20887
  function compileDeclareComponentFromMetadata(meta, template2, additionalTemplateInfo) {
20334
20888
  const definitionMap = createComponentDefinitionMap(meta, template2, additionalTemplateInfo);
20335
20889
  const expression = importExpr(Identifiers.declareComponent).callFn([definitionMap.toLiteralMap()]);
@@ -20416,12 +20970,12 @@ function compileUsedDependenciesMetadata(meta) {
20416
20970
  });
20417
20971
  }
20418
20972
 
20419
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/factory.mjs
20973
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/factory.mjs
20420
20974
  var MINIMUM_PARTIAL_LINKER_VERSION3 = "12.0.0";
20421
20975
  function compileDeclareFactoryFunction(meta) {
20422
20976
  const definitionMap = new DefinitionMap();
20423
20977
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION3));
20424
- definitionMap.set("version", literal("16.1.0-next.2"));
20978
+ definitionMap.set("version", literal("16.1.0-rc.0"));
20425
20979
  definitionMap.set("ngImport", importExpr(Identifiers.core));
20426
20980
  definitionMap.set("type", meta.type.value);
20427
20981
  definitionMap.set("deps", compileDependencies(meta.deps));
@@ -20433,7 +20987,7 @@ function compileDeclareFactoryFunction(meta) {
20433
20987
  };
20434
20988
  }
20435
20989
 
20436
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/injectable.mjs
20990
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/injectable.mjs
20437
20991
  var MINIMUM_PARTIAL_LINKER_VERSION4 = "12.0.0";
20438
20992
  function compileDeclareInjectableFromMetadata(meta) {
20439
20993
  const definitionMap = createInjectableDefinitionMap(meta);
@@ -20444,7 +20998,7 @@ function compileDeclareInjectableFromMetadata(meta) {
20444
20998
  function createInjectableDefinitionMap(meta) {
20445
20999
  const definitionMap = new DefinitionMap();
20446
21000
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION4));
20447
- definitionMap.set("version", literal("16.1.0-next.2"));
21001
+ definitionMap.set("version", literal("16.1.0-rc.0"));
20448
21002
  definitionMap.set("ngImport", importExpr(Identifiers.core));
20449
21003
  definitionMap.set("type", meta.type.value);
20450
21004
  if (meta.providedIn !== void 0) {
@@ -20471,7 +21025,7 @@ function createInjectableDefinitionMap(meta) {
20471
21025
  return definitionMap;
20472
21026
  }
20473
21027
 
20474
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/injector.mjs
21028
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/injector.mjs
20475
21029
  var MINIMUM_PARTIAL_LINKER_VERSION5 = "12.0.0";
20476
21030
  function compileDeclareInjectorFromMetadata(meta) {
20477
21031
  const definitionMap = createInjectorDefinitionMap(meta);
@@ -20482,7 +21036,7 @@ function compileDeclareInjectorFromMetadata(meta) {
20482
21036
  function createInjectorDefinitionMap(meta) {
20483
21037
  const definitionMap = new DefinitionMap();
20484
21038
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION5));
20485
- definitionMap.set("version", literal("16.1.0-next.2"));
21039
+ definitionMap.set("version", literal("16.1.0-rc.0"));
20486
21040
  definitionMap.set("ngImport", importExpr(Identifiers.core));
20487
21041
  definitionMap.set("type", meta.type.value);
20488
21042
  definitionMap.set("providers", meta.providers);
@@ -20492,7 +21046,7 @@ function createInjectorDefinitionMap(meta) {
20492
21046
  return definitionMap;
20493
21047
  }
20494
21048
 
20495
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/ng_module.mjs
21049
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/ng_module.mjs
20496
21050
  var MINIMUM_PARTIAL_LINKER_VERSION6 = "14.0.0";
20497
21051
  function compileDeclareNgModuleFromMetadata(meta) {
20498
21052
  const definitionMap = createNgModuleDefinitionMap(meta);
@@ -20503,7 +21057,7 @@ function compileDeclareNgModuleFromMetadata(meta) {
20503
21057
  function createNgModuleDefinitionMap(meta) {
20504
21058
  const definitionMap = new DefinitionMap();
20505
21059
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION6));
20506
- definitionMap.set("version", literal("16.1.0-next.2"));
21060
+ definitionMap.set("version", literal("16.1.0-rc.0"));
20507
21061
  definitionMap.set("ngImport", importExpr(Identifiers.core));
20508
21062
  definitionMap.set("type", meta.type.value);
20509
21063
  if (meta.bootstrap.length > 0) {
@@ -20527,7 +21081,7 @@ function createNgModuleDefinitionMap(meta) {
20527
21081
  return definitionMap;
20528
21082
  }
20529
21083
 
20530
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/pipe.mjs
21084
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/pipe.mjs
20531
21085
  var MINIMUM_PARTIAL_LINKER_VERSION7 = "14.0.0";
20532
21086
  function compileDeclarePipeFromMetadata(meta) {
20533
21087
  const definitionMap = createPipeDefinitionMap(meta);
@@ -20538,7 +21092,7 @@ function compileDeclarePipeFromMetadata(meta) {
20538
21092
  function createPipeDefinitionMap(meta) {
20539
21093
  const definitionMap = new DefinitionMap();
20540
21094
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION7));
20541
- definitionMap.set("version", literal("16.1.0-next.2"));
21095
+ definitionMap.set("version", literal("16.1.0-rc.0"));
20542
21096
  definitionMap.set("ngImport", importExpr(Identifiers.core));
20543
21097
  definitionMap.set("type", meta.type.value);
20544
21098
  if (meta.isStandalone) {
@@ -20551,13 +21105,13 @@ function createPipeDefinitionMap(meta) {
20551
21105
  return definitionMap;
20552
21106
  }
20553
21107
 
20554
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler.mjs
21108
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/compiler.mjs
20555
21109
  publishFacade(_global);
20556
21110
 
20557
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version.mjs
20558
- var VERSION3 = new Version("16.1.0-next.2");
21111
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version.mjs
21112
+ var VERSION3 = new Version("16.1.0-rc.0");
20559
21113
 
20560
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
21114
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
20561
21115
  var EmitFlags;
20562
21116
  (function(EmitFlags2) {
20563
21117
  EmitFlags2[EmitFlags2["DTS"] = 1] = "DTS";
@@ -20569,13 +21123,13 @@ var EmitFlags;
20569
21123
  EmitFlags2[EmitFlags2["All"] = 31] = "All";
20570
21124
  })(EmitFlags || (EmitFlags = {}));
20571
21125
 
20572
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
21126
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
20573
21127
  var import_typescript2 = __toESM(require("typescript"), 1);
20574
21128
 
20575
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
21129
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
20576
21130
  var import_typescript94 = __toESM(require("typescript"), 1);
20577
21131
 
20578
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
21132
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
20579
21133
  var path = __toESM(require("path"), 1);
20580
21134
  function i18nGetExtension(formatName) {
20581
21135
  const format = formatName.toLowerCase();
@@ -20625,10 +21179,10 @@ function getPathNormalizer(basePath) {
20625
21179
  };
20626
21180
  }
20627
21181
 
20628
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
21182
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
20629
21183
  var import_typescript3 = __toESM(require("typescript"), 1);
20630
21184
 
20631
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
21185
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
20632
21186
  function toNumbers(value) {
20633
21187
  const suffixIndex = value.lastIndexOf("-");
20634
21188
  return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
@@ -20663,7 +21217,7 @@ function compareVersions(v1, v2) {
20663
21217
  return compareNumbers(toNumbers(v1), toNumbers(v2));
20664
21218
  }
20665
21219
 
20666
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
21220
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
20667
21221
  var MIN_TS_VERSION = "4.9.3";
20668
21222
  var MAX_TS_VERSION = "5.2.0";
20669
21223
  var tsVersion = import_typescript3.default.version;
@@ -20676,13 +21230,13 @@ function verifySupportedTypeScriptVersion() {
20676
21230
  checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
20677
21231
  }
20678
21232
 
20679
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
21233
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
20680
21234
  var import_typescript90 = __toESM(require("typescript"), 1);
20681
21235
 
20682
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
21236
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
20683
21237
  var import_typescript14 = __toESM(require("typescript"), 1);
20684
21238
 
20685
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
21239
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
20686
21240
  var ErrorCode;
20687
21241
  (function(ErrorCode2) {
20688
21242
  ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
@@ -20756,7 +21310,7 @@ var ErrorCode;
20756
21310
  ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
20757
21311
  })(ErrorCode || (ErrorCode = {}));
20758
21312
 
20759
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
21313
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
20760
21314
  var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
20761
21315
  ErrorCode.DECORATOR_ARG_NOT_LITERAL,
20762
21316
  ErrorCode.IMPORT_CYCLE_DETECTED,
@@ -20768,15 +21322,15 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
20768
21322
  ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
20769
21323
  ]);
20770
21324
 
20771
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
21325
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
20772
21326
  var import_typescript4 = __toESM(require("typescript"), 1);
20773
21327
 
20774
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
21328
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
20775
21329
  function ngErrorCode(code) {
20776
21330
  return parseInt("-99" + code);
20777
21331
  }
20778
21332
 
20779
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
21333
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
20780
21334
  var FatalDiagnosticError = class {
20781
21335
  constructor(code, node, message, relatedInformation) {
20782
21336
  this.code = code;
@@ -20832,10 +21386,10 @@ function addDiagnosticChain(messageText, add) {
20832
21386
  return messageText;
20833
21387
  }
20834
21388
 
20835
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
21389
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
20836
21390
  var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
20837
21391
 
20838
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
21392
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
20839
21393
  var ExtendedTemplateDiagnosticName;
20840
21394
  (function(ExtendedTemplateDiagnosticName2) {
20841
21395
  ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
@@ -20848,13 +21402,13 @@ var ExtendedTemplateDiagnosticName;
20848
21402
  ExtendedTemplateDiagnosticName2["SKIP_HYDRATION_NOT_STATIC"] = "skipHydrationNotStatic";
20849
21403
  })(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
20850
21404
 
20851
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
21405
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
20852
21406
  var import_typescript13 = __toESM(require("typescript"), 1);
20853
21407
 
20854
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
21408
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
20855
21409
  var import_typescript7 = __toESM(require("typescript"), 1);
20856
21410
 
20857
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
21411
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
20858
21412
  var import_typescript5 = __toESM(require("typescript"), 1);
20859
21413
  var TS = /\.tsx?$/i;
20860
21414
  var D_TS = /\.d\.ts$/i;
@@ -20955,7 +21509,7 @@ function toUnredirectedSourceFile(sf) {
20955
21509
  return redirectInfo.unredirected;
20956
21510
  }
20957
21511
 
20958
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
21512
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
20959
21513
  function findExportedNameOfNode(target, file, reflector) {
20960
21514
  const exports = reflector.getExportsOfModule(file);
20961
21515
  if (exports === null) {
@@ -20975,7 +21529,7 @@ function findExportedNameOfNode(target, file, reflector) {
20975
21529
  return foundExportName;
20976
21530
  }
20977
21531
 
20978
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
21532
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
20979
21533
  var ImportFlags;
20980
21534
  (function(ImportFlags2) {
20981
21535
  ImportFlags2[ImportFlags2["None"] = 0] = "None";
@@ -21191,7 +21745,7 @@ var UnifiedModulesStrategy = class {
21191
21745
  }
21192
21746
  };
21193
21747
 
21194
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
21748
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
21195
21749
  var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
21196
21750
  var UnifiedModulesAliasingHost = class {
21197
21751
  constructor(unifiedModulesHost) {
@@ -21258,7 +21812,7 @@ var AliasStrategy = class {
21258
21812
  }
21259
21813
  };
21260
21814
 
21261
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
21815
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
21262
21816
  function relativePathBetween(from, to) {
21263
21817
  const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
21264
21818
  return relativePath !== "" ? toRelativeImport(relativePath) : null;
@@ -21267,7 +21821,7 @@ function normalizeSeparators2(path3) {
21267
21821
  return path3.replace(/\\/g, "/");
21268
21822
  }
21269
21823
 
21270
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
21824
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
21271
21825
  var NoopImportRewriter = class {
21272
21826
  shouldImportSymbol(symbol, specifier) {
21273
21827
  return true;
@@ -21325,7 +21879,7 @@ function validateAndRewriteCoreSymbol(name) {
21325
21879
  return CORE_SUPPORTED_SYMBOLS.get(name);
21326
21880
  }
21327
21881
 
21328
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
21882
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
21329
21883
  var import_typescript9 = __toESM(require("typescript"), 1);
21330
21884
  var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
21331
21885
  function loadIsReferencedAliasDeclarationPatch(context) {
@@ -21360,7 +21914,7 @@ function throwIncompatibleTransformationContextError() {
21360
21914
  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.");
21361
21915
  }
21362
21916
 
21363
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
21917
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
21364
21918
  var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
21365
21919
  function attachDefaultImportDeclaration(expr, importDecl) {
21366
21920
  expr[DefaultImportDeclaration] = importDecl;
@@ -21401,7 +21955,7 @@ var DefaultImportTracker = class {
21401
21955
  }
21402
21956
  };
21403
21957
 
21404
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
21958
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
21405
21959
  var Reference2 = class {
21406
21960
  constructor(node, bestGuessOwningModule = null) {
21407
21961
  this.node = node;
@@ -21464,7 +22018,7 @@ var Reference2 = class {
21464
22018
  }
21465
22019
  };
21466
22020
 
21467
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
22021
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
21468
22022
  var ModuleResolver = class {
21469
22023
  constructor(program, compilerOptions, host, moduleResolutionCache) {
21470
22024
  this.program = program;
@@ -21481,7 +22035,7 @@ var ModuleResolver = class {
21481
22035
  }
21482
22036
  };
21483
22037
 
21484
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
22038
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
21485
22039
  function valueReferenceToExpression(valueRef) {
21486
22040
  if (valueRef.kind === 2) {
21487
22041
  return null;
@@ -21720,7 +22274,7 @@ function isAbstractClassDeclaration(clazz) {
21720
22274
  return import_typescript13.default.canHaveModifiers(clazz) && clazz.modifiers !== void 0 ? clazz.modifiers.some((mod) => mod.kind === import_typescript13.default.SyntaxKind.AbstractKeyword) : false;
21721
22275
  }
21722
22276
 
21723
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
22277
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
21724
22278
  function getConstructorDependencies(clazz, reflector, isCore) {
21725
22279
  const deps = [];
21726
22280
  const errors = [];
@@ -21862,10 +22416,10 @@ function createUnsuitableInjectionTokenError(clazz, error2) {
21862
22416
  return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain, hints);
21863
22417
  }
21864
22418
 
21865
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
22419
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
21866
22420
  var import_typescript27 = __toESM(require("typescript"), 1);
21867
22421
 
21868
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
22422
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
21869
22423
  var MetaKind;
21870
22424
  (function(MetaKind2) {
21871
22425
  MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
@@ -21878,10 +22432,10 @@ var MatchSource;
21878
22432
  MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
21879
22433
  })(MatchSource || (MatchSource = {}));
21880
22434
 
21881
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
22435
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
21882
22436
  var import_typescript22 = __toESM(require("typescript"), 1);
21883
22437
 
21884
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
22438
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
21885
22439
  var import_typescript15 = __toESM(require("typescript"), 1);
21886
22440
  function isDecoratorIdentifier(exp) {
21887
22441
  return import_typescript15.default.isIdentifier(exp) || import_typescript15.default.isPropertyAccessExpression(exp) && import_typescript15.default.isIdentifier(exp.expression) && import_typescript15.default.isIdentifier(exp.name);
@@ -21895,7 +22449,7 @@ var ClassMemberKind;
21895
22449
  ClassMemberKind2[ClassMemberKind2["Method"] = 4] = "Method";
21896
22450
  })(ClassMemberKind || (ClassMemberKind = {}));
21897
22451
 
21898
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
22452
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
21899
22453
  var import_typescript16 = __toESM(require("typescript"), 1);
21900
22454
  function typeToValue(typeNode, checker) {
21901
22455
  if (typeNode === null) {
@@ -22061,10 +22615,10 @@ function extractModuleName(node) {
22061
22615
  return node.moduleSpecifier.text;
22062
22616
  }
22063
22617
 
22064
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
22618
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
22065
22619
  var import_typescript18 = __toESM(require("typescript"), 1);
22066
22620
 
22067
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
22621
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
22068
22622
  var import_typescript17 = __toESM(require("typescript"), 1);
22069
22623
  function isNamedClassDeclaration(node) {
22070
22624
  return import_typescript17.default.isClassDeclaration(node) && isIdentifier(node.name);
@@ -22073,7 +22627,7 @@ function isIdentifier(node) {
22073
22627
  return node !== void 0 && import_typescript17.default.isIdentifier(node);
22074
22628
  }
22075
22629
 
22076
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
22630
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
22077
22631
  var TypeScriptReflectionHost = class {
22078
22632
  constructor(checker) {
22079
22633
  this.checker = checker;
@@ -22502,7 +23056,7 @@ function getExportedName(decl, originalId) {
22502
23056
  }
22503
23057
  var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
22504
23058
 
22505
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
23059
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
22506
23060
  var ClassPropertyMapping = class {
22507
23061
  constructor(forwardMap) {
22508
23062
  this.forwardMap = forwardMap;
@@ -22580,7 +23134,7 @@ function reverseMapFromForwardMap(forwardMap) {
22580
23134
  return reverseMap;
22581
23135
  }
22582
23136
 
22583
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
23137
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
22584
23138
  var import_typescript20 = __toESM(require("typescript"), 1);
22585
23139
  function extractReferencesFromType(checker, def, bestGuessOwningModule) {
22586
23140
  if (!import_typescript20.default.isTupleTypeNode(def)) {
@@ -22765,7 +23319,7 @@ function hasInjectableFields(clazz, host) {
22765
23319
  return members.some(({ isStatic, name }) => isStatic && (name === "\u0275prov" || name === "\u0275fac"));
22766
23320
  }
22767
23321
 
22768
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
23322
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
22769
23323
  var DtsMetadataReader = class {
22770
23324
  constructor(checker, reflector) {
22771
23325
  this.checker = checker;
@@ -22795,7 +23349,7 @@ var DtsMetadataReader = class {
22795
23349
  };
22796
23350
  }
22797
23351
  getDirectiveMetadata(ref) {
22798
- var _a2, _b;
23352
+ var _a2, _b2;
22799
23353
  const clazz = ref.node;
22800
23354
  const def = this.reflector.getMembersOfClass(clazz).find((field) => field.isStatic && (field.name === "\u0275cmp" || field.name === "\u0275dir"));
22801
23355
  if (def === void 0) {
@@ -22812,7 +23366,7 @@ var DtsMetadataReader = class {
22812
23366
  const inputs = ClassPropertyMapping.fromMappedObject(readInputsType(def.type.typeArguments[3]));
22813
23367
  const outputs = ClassPropertyMapping.fromMappedObject(readMapType(def.type.typeArguments[4], readStringType));
22814
23368
  const hostDirectives = def.type.typeArguments.length > 8 ? readHostDirectivesType(this.checker, def.type.typeArguments[8], ref.bestGuessOwningModule) : null;
22815
- const isSignal = def.type.typeArguments.length > 9 && ((_b = readBooleanType(def.type.typeArguments[9])) != null ? _b : false);
23369
+ const isSignal = def.type.typeArguments.length > 9 && ((_b2 = readBooleanType(def.type.typeArguments[9])) != null ? _b2 : false);
22816
23370
  return __spreadProps(__spreadValues({
22817
23371
  kind: MetaKind.Directive,
22818
23372
  matchSource: MatchSource.Selector,
@@ -22940,7 +23494,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
22940
23494
  return result.length > 0 ? result : null;
22941
23495
  }
22942
23496
 
22943
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
23497
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
22944
23498
  function flattenInheritedDirectiveMetadata(reader, dir) {
22945
23499
  const topMeta = reader.getDirectiveMetadata(dir);
22946
23500
  if (topMeta === null) {
@@ -22997,7 +23551,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
22997
23551
  });
22998
23552
  }
22999
23553
 
23000
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
23554
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
23001
23555
  var LocalMetadataRegistry = class {
23002
23556
  constructor() {
23003
23557
  this.directives = /* @__PURE__ */ new Map();
@@ -23054,7 +23608,7 @@ var CompoundMetadataRegistry = class {
23054
23608
  }
23055
23609
  };
23056
23610
 
23057
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
23611
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
23058
23612
  var ResourceRegistry = class {
23059
23613
  constructor() {
23060
23614
  this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
@@ -23119,7 +23673,7 @@ var ResourceRegistry = class {
23119
23673
  }
23120
23674
  };
23121
23675
 
23122
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
23676
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
23123
23677
  var ExportedProviderStatusResolver = class {
23124
23678
  constructor(metaReader) {
23125
23679
  this.metaReader = metaReader;
@@ -23163,7 +23717,7 @@ var ExportedProviderStatusResolver = class {
23163
23717
  }
23164
23718
  };
23165
23719
 
23166
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
23720
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
23167
23721
  var EMPTY_ARRAY = [];
23168
23722
  var HostDirectivesResolver = class {
23169
23723
  constructor(metaReader) {
@@ -23224,10 +23778,10 @@ function resolveOutput(bindingName) {
23224
23778
  return bindingName;
23225
23779
  }
23226
23780
 
23227
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
23781
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
23228
23782
  var import_typescript24 = __toESM(require("typescript"), 1);
23229
23783
 
23230
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
23784
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
23231
23785
  var DynamicValue = class {
23232
23786
  constructor(node, reason, code) {
23233
23787
  this.node = node;
@@ -23317,7 +23871,7 @@ var DynamicValue = class {
23317
23871
  }
23318
23872
  };
23319
23873
 
23320
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
23874
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
23321
23875
  var ResolvedModule = class {
23322
23876
  constructor(exports, evaluate) {
23323
23877
  this.exports = exports;
@@ -23347,9 +23901,9 @@ var EnumValue = class {
23347
23901
  var KnownFn = class {
23348
23902
  };
23349
23903
 
23350
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
23904
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
23351
23905
  function describeResolvedType(value, maxDepth = 1) {
23352
- var _a2, _b;
23906
+ var _a2, _b2;
23353
23907
  if (value === null) {
23354
23908
  return "null";
23355
23909
  } else if (value === void 0) {
@@ -23369,7 +23923,7 @@ function describeResolvedType(value, maxDepth = 1) {
23369
23923
  } else if (value instanceof EnumValue) {
23370
23924
  return (_a2 = value.enumRef.debugName) != null ? _a2 : "(anonymous)";
23371
23925
  } else if (value instanceof Reference2) {
23372
- return (_b = value.debugName) != null ? _b : "(anonymous)";
23926
+ return (_b2 = value.debugName) != null ? _b2 : "(anonymous)";
23373
23927
  } else if (Array.isArray(value)) {
23374
23928
  if (maxDepth === 0) {
23375
23929
  return "Array";
@@ -23476,10 +24030,10 @@ function getContainerNode(node) {
23476
24030
  return node.getSourceFile();
23477
24031
  }
23478
24032
 
23479
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
24033
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
23480
24034
  var import_typescript25 = __toESM(require("typescript"), 1);
23481
24035
 
23482
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
24036
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
23483
24037
  var ArraySliceBuiltinFn = class extends KnownFn {
23484
24038
  constructor(lhs) {
23485
24039
  super();
@@ -23531,14 +24085,14 @@ var StringConcatBuiltinFn = class extends KnownFn {
23531
24085
  }
23532
24086
  };
23533
24087
 
23534
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
24088
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
23535
24089
  var SyntheticValue = class {
23536
24090
  constructor(value) {
23537
24091
  this.value = value;
23538
24092
  }
23539
24093
  };
23540
24094
 
23541
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
24095
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
23542
24096
  function literalBinaryOp(op) {
23543
24097
  return { op, literal: true };
23544
24098
  }
@@ -23695,7 +24249,7 @@ var StaticInterpreter = class {
23695
24249
  visitIdentifier(node, context) {
23696
24250
  const decl = this.host.getDeclarationOfIdentifier(node);
23697
24251
  if (decl === null) {
23698
- if (node.originalKeywordKind === import_typescript25.default.SyntaxKind.UndefinedKeyword) {
24252
+ if (getOriginalKeywordKind(node) === import_typescript25.default.SyntaxKind.UndefinedKeyword) {
23699
24253
  return void 0;
23700
24254
  } else {
23701
24255
  if (this.dependencyTracker !== null && this.host.getImportOfIdentifier(node) !== null) {
@@ -24112,8 +24666,11 @@ function owningModule(context, override = null) {
24112
24666
  return null;
24113
24667
  }
24114
24668
  }
24669
+ function getOriginalKeywordKind(identifier) {
24670
+ return typeof import_typescript25.default.identifierToKeywordKind === "function" ? import_typescript25.default.identifierToKeywordKind(identifier) : identifier.originalKeywordKind;
24671
+ }
24115
24672
 
24116
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
24673
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
24117
24674
  var PartialEvaluator = class {
24118
24675
  constructor(host, checker, dependencyTracker) {
24119
24676
  this.host = host;
@@ -24133,7 +24690,7 @@ var PartialEvaluator = class {
24133
24690
  }
24134
24691
  };
24135
24692
 
24136
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
24693
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
24137
24694
  function makeDuplicateDeclarationError(node, data, kind) {
24138
24695
  const context = [];
24139
24696
  for (const decl of data) {
@@ -24329,7 +24886,7 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, kind) {
24329
24886
  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}.`);
24330
24887
  }
24331
24888
 
24332
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
24889
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
24333
24890
  var import_typescript29 = __toESM(require("typescript"), 1);
24334
24891
  function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
24335
24892
  let resolved = null;
@@ -24362,7 +24919,7 @@ function resolveLiteral(decorator, literalCache) {
24362
24919
  return meta;
24363
24920
  }
24364
24921
 
24365
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
24922
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
24366
24923
  function compileNgFactoryDefField(metadata) {
24367
24924
  const res = compileFactoryFunction(metadata);
24368
24925
  return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
@@ -24372,7 +24929,7 @@ function compileDeclareFactory(metadata) {
24372
24929
  return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
24373
24930
  }
24374
24931
 
24375
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
24932
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
24376
24933
  var InjectableClassRegistry = class {
24377
24934
  constructor(host, isCore) {
24378
24935
  this.host = host;
@@ -24398,7 +24955,7 @@ var InjectableClassRegistry = class {
24398
24955
  }
24399
24956
  };
24400
24957
 
24401
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
24958
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
24402
24959
  var import_typescript30 = __toESM(require("typescript"), 1);
24403
24960
  function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
24404
24961
  if (!reflection.isClass(clazz)) {
@@ -24484,13 +25041,13 @@ function removeIdentifierReferences(node, name) {
24484
25041
  return result.transformed[0];
24485
25042
  }
24486
25043
 
24487
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
25044
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
24488
25045
  var NoopReferencesRegistry = class {
24489
25046
  add(source, ...references) {
24490
25047
  }
24491
25048
  };
24492
25049
 
24493
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
25050
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
24494
25051
  function extractSchemas(rawExpr, evaluator, context) {
24495
25052
  const schemas = [];
24496
25053
  const result = evaluator.evaluate(rawExpr);
@@ -24519,7 +25076,7 @@ function extractSchemas(rawExpr, evaluator, context) {
24519
25076
  return schemas;
24520
25077
  }
24521
25078
 
24522
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
25079
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
24523
25080
  function compileInputTransformFields(inputs) {
24524
25081
  const extraFields = [];
24525
25082
  for (const input of inputs) {
@@ -24535,10 +25092,10 @@ function compileInputTransformFields(inputs) {
24535
25092
  return extraFields;
24536
25093
  }
24537
25094
 
24538
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
25095
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
24539
25096
  var import_typescript51 = __toESM(require("typescript"), 1);
24540
25097
 
24541
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
25098
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
24542
25099
  var import_typescript31 = __toESM(require("typescript"), 1);
24543
25100
  var SemanticSymbol = class {
24544
25101
  constructor(decl) {
@@ -24554,7 +25111,7 @@ function getSymbolIdentifier(decl) {
24554
25111
  return decl.name.text;
24555
25112
  }
24556
25113
 
24557
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
25114
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
24558
25115
  var OpaqueSymbol = class extends SemanticSymbol {
24559
25116
  isPublicApiAffected() {
24560
25117
  return false;
@@ -24696,10 +25253,10 @@ function getImportPath(expr) {
24696
25253
  }
24697
25254
  }
24698
25255
 
24699
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
25256
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
24700
25257
  var import_typescript32 = __toESM(require("typescript"), 1);
24701
25258
 
24702
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
25259
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
24703
25260
  function isSymbolEqual(a, b) {
24704
25261
  if (a.decl === b.decl) {
24705
25262
  return true;
@@ -24749,7 +25306,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
24749
25306
  return true;
24750
25307
  }
24751
25308
 
24752
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
25309
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
24753
25310
  function extractSemanticTypeParameters(node) {
24754
25311
  if (!import_typescript32.default.isClassDeclaration(node) || node.typeParameters === void 0) {
24755
25312
  return null;
@@ -24769,7 +25326,7 @@ function isTypeParameterEqual(a, b) {
24769
25326
  return a.hasGenericTypeBound === b.hasGenericTypeBound;
24770
25327
  }
24771
25328
 
24772
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
25329
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
24773
25330
  var PerfPhase;
24774
25331
  (function(PerfPhase2) {
24775
25332
  PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
@@ -24836,7 +25393,7 @@ var PerfCheckpoint;
24836
25393
  PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
24837
25394
  })(PerfCheckpoint || (PerfCheckpoint = {}));
24838
25395
 
24839
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
25396
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
24840
25397
  var NoopPerfRecorder = class {
24841
25398
  eventCount() {
24842
25399
  }
@@ -24853,7 +25410,7 @@ var NoopPerfRecorder = class {
24853
25410
  };
24854
25411
  var NOOP_PERF_RECORDER = new NoopPerfRecorder();
24855
25412
 
24856
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
25413
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
24857
25414
  function mark() {
24858
25415
  return process.hrtime();
24859
25416
  }
@@ -24862,7 +25419,7 @@ function timeSinceInMicros(mark2) {
24862
25419
  return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
24863
25420
  }
24864
25421
 
24865
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
25422
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
24866
25423
  var ActivePerfRecorder = class {
24867
25424
  static zeroedToNow() {
24868
25425
  return new ActivePerfRecorder(mark());
@@ -24956,14 +25513,14 @@ var DelegatingPerfRecorder = class {
24956
25513
  }
24957
25514
  };
24958
25515
 
24959
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
25516
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
24960
25517
  var ComponentScopeKind;
24961
25518
  (function(ComponentScopeKind2) {
24962
25519
  ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
24963
25520
  ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
24964
25521
  })(ComponentScopeKind || (ComponentScopeKind = {}));
24965
25522
 
24966
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
25523
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
24967
25524
  var CompoundComponentScopeReader = class {
24968
25525
  constructor(readers) {
24969
25526
  this.readers = readers;
@@ -24988,7 +25545,7 @@ var CompoundComponentScopeReader = class {
24988
25545
  }
24989
25546
  };
24990
25547
 
24991
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
25548
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
24992
25549
  var MetadataDtsModuleScopeResolver = class {
24993
25550
  constructor(dtsMetaReader, aliasingHost) {
24994
25551
  this.dtsMetaReader = dtsMetaReader;
@@ -25021,10 +25578,10 @@ var MetadataDtsModuleScopeResolver = class {
25021
25578
  dependencies.push(this.maybeAlias(directive, sourceFile, isReExport));
25022
25579
  continue;
25023
25580
  }
25024
- const pipe = this.dtsMetaReader.getPipeMetadata(exportRef);
25025
- if (pipe !== null) {
25581
+ const pipe2 = this.dtsMetaReader.getPipeMetadata(exportRef);
25582
+ if (pipe2 !== null) {
25026
25583
  const isReExport = !declarations.has(exportRef.node);
25027
- dependencies.push(this.maybeAlias(pipe, sourceFile, isReExport));
25584
+ dependencies.push(this.maybeAlias(pipe2, sourceFile, isReExport));
25028
25585
  continue;
25029
25586
  }
25030
25587
  const exportScope2 = this.resolve(exportRef);
@@ -25063,10 +25620,10 @@ var MetadataDtsModuleScopeResolver = class {
25063
25620
  }
25064
25621
  };
25065
25622
 
25066
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
25623
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
25067
25624
  var import_typescript33 = __toESM(require("typescript"), 1);
25068
25625
 
25069
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
25626
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
25070
25627
  function getDiagnosticNode(ref, rawExpr) {
25071
25628
  return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
25072
25629
  }
@@ -25089,7 +25646,7 @@ function makeUnknownComponentImportDiagnostic(ref, rawExpr) {
25089
25646
  return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_IMPORT, getDiagnosticNode(ref, rawExpr), `Component imports must be standalone components, directives, pipes, or must be NgModules.`);
25090
25647
  }
25091
25648
 
25092
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
25649
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
25093
25650
  var LocalModuleScopeRegistry = class {
25094
25651
  constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
25095
25652
  this.localReader = localReader;
@@ -25116,7 +25673,7 @@ var LocalModuleScopeRegistry = class {
25116
25673
  }
25117
25674
  registerDirectiveMetadata(directive) {
25118
25675
  }
25119
- registerPipeMetadata(pipe) {
25676
+ registerPipeMetadata(pipe2) {
25120
25677
  }
25121
25678
  getScopeForComponent(clazz) {
25122
25679
  const scope = !this.declarationToModule.has(clazz) ? null : this.getScopeOfModule(this.declarationToModule.get(clazz).ngModule);
@@ -25209,10 +25766,10 @@ var LocalModuleScopeRegistry = class {
25209
25766
  }
25210
25767
  continue;
25211
25768
  }
25212
- const pipe = this.fullReader.getPipeMetadata(decl);
25213
- if (pipe !== null) {
25214
- if (pipe.isStandalone) {
25215
- compilationPipes.set(pipe.ref.node, pipe);
25769
+ const pipe2 = this.fullReader.getPipeMetadata(decl);
25770
+ if (pipe2 !== null) {
25771
+ if (pipe2.isStandalone) {
25772
+ compilationPipes.set(pipe2.ref.node, pipe2);
25216
25773
  } else {
25217
25774
  diagnostics.push(makeNotStandaloneDiagnostic(this, decl, ngModule.rawImports, "pipe"));
25218
25775
  isPoisoned = true;
@@ -25224,7 +25781,7 @@ var LocalModuleScopeRegistry = class {
25224
25781
  }
25225
25782
  for (const decl of ngModule.declarations) {
25226
25783
  const directive = this.localReader.getDirectiveMetadata(decl);
25227
- const pipe = this.localReader.getPipeMetadata(decl);
25784
+ const pipe2 = this.localReader.getPipeMetadata(decl);
25228
25785
  if (directive !== null) {
25229
25786
  if (directive.isStandalone) {
25230
25787
  const refType = directive.isComponent ? "Component" : "Directive";
@@ -25236,13 +25793,13 @@ var LocalModuleScopeRegistry = class {
25236
25793
  if (directive.isPoisoned) {
25237
25794
  isPoisoned = true;
25238
25795
  }
25239
- } else if (pipe !== null) {
25240
- if (pipe.isStandalone) {
25796
+ } else if (pipe2 !== null) {
25797
+ if (pipe2.isStandalone) {
25241
25798
  diagnostics.push(makeDiagnostic(ErrorCode.NGMODULE_DECLARATION_IS_STANDALONE, decl.getOriginForDiagnostics(ngModule.rawDeclarations), `Pipe ${decl.node.name.text} is standalone, and cannot be declared in an NgModule. Did you mean to import it instead?`));
25242
25799
  isPoisoned = true;
25243
25800
  continue;
25244
25801
  }
25245
- compilationPipes.set(decl.node, __spreadProps(__spreadValues({}, pipe), { ref: decl }));
25802
+ compilationPipes.set(decl.node, __spreadProps(__spreadValues({}, pipe2), { ref: decl }));
25246
25803
  } else {
25247
25804
  const errorNode = decl.getOriginForDiagnostics(ngModule.rawDeclarations);
25248
25805
  diagnostics.push(makeDiagnostic(ErrorCode.NGMODULE_INVALID_DECLARATION, errorNode, `The class '${decl.node.name.text}' is listed in the declarations of the NgModule '${ngModule.ref.node.name.text}', but is not a directive, a component, or a pipe. Either remove it from the NgModule's declarations, or add an appropriate Angular decorator.`, [makeRelatedInformation(decl.node.name, `'${decl.node.name.text}' is declared here.`)]));
@@ -25271,8 +25828,8 @@ var LocalModuleScopeRegistry = class {
25271
25828
  const directive = compilationDirectives.get(decl.node);
25272
25829
  exportDirectives.set(decl.node, directive);
25273
25830
  } else if (compilationPipes.has(decl.node)) {
25274
- const pipe = compilationPipes.get(decl.node);
25275
- exportPipes.set(decl.node, pipe);
25831
+ const pipe2 = compilationPipes.get(decl.node);
25832
+ exportPipes.set(decl.node, pipe2);
25276
25833
  } else {
25277
25834
  const dirMeta = this.fullReader.getDirectiveMetadata(decl);
25278
25835
  const pipeMeta = this.fullReader.getPipeMetadata(decl);
@@ -25428,7 +25985,7 @@ function reexportCollision(module3, refA, refB) {
25428
25985
  ]);
25429
25986
  }
25430
25987
 
25431
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
25988
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
25432
25989
  var import_typescript35 = __toESM(require("typescript"), 1);
25433
25990
  var TypeCheckScopeRegistry = class {
25434
25991
  constructor(scopeReader, metaReader, hostDirectivesResolver) {
@@ -25496,7 +26053,7 @@ var TypeCheckScopeRegistry = class {
25496
26053
  }
25497
26054
  };
25498
26055
 
25499
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
26056
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
25500
26057
  var CompilationMode;
25501
26058
  (function(CompilationMode2) {
25502
26059
  CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
@@ -25515,7 +26072,7 @@ var HandlerFlags;
25515
26072
  HandlerFlags2[HandlerFlags2["FULL_INHERITANCE"] = 1] = "FULL_INHERITANCE";
25516
26073
  })(HandlerFlags || (HandlerFlags = {}));
25517
26074
 
25518
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
26075
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
25519
26076
  var import_typescript36 = __toESM(require("typescript"), 1);
25520
26077
  function aliasTransformFactory(exportStatements) {
25521
26078
  return () => {
@@ -25538,10 +26095,10 @@ function aliasTransformFactory(exportStatements) {
25538
26095
  };
25539
26096
  }
25540
26097
 
25541
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
26098
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
25542
26099
  var import_typescript37 = __toESM(require("typescript"), 1);
25543
26100
 
25544
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
26101
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
25545
26102
  var TraitState;
25546
26103
  (function(TraitState2) {
25547
26104
  TraitState2[TraitState2["Pending"] = 0] = "Pending";
@@ -25598,7 +26155,7 @@ var TraitImpl = class {
25598
26155
  }
25599
26156
  };
25600
26157
 
25601
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
26158
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
25602
26159
  var TraitCompiler = class {
25603
26160
  constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
25604
26161
  this.handlers = handlers;
@@ -25809,7 +26366,7 @@ var TraitCompiler = class {
25809
26366
  }
25810
26367
  }
25811
26368
  analyzeTrait(clazz, trait, flags) {
25812
- var _a2, _b, _c;
26369
+ var _a2, _b2, _c2;
25813
26370
  if (trait.state !== TraitState.Pending) {
25814
26371
  throw new Error(`Attempt to analyze trait of ${clazz.name.text} in state ${TraitState[trait.state]} (expected DETECTED)`);
25815
26372
  }
@@ -25829,10 +26386,10 @@ var TraitCompiler = class {
25829
26386
  if (result.analysis !== void 0 && trait.handler.register !== void 0) {
25830
26387
  trait.handler.register(clazz, result.analysis);
25831
26388
  }
25832
- trait = trait.toAnalyzed((_b = result.analysis) != null ? _b : null, (_c = result.diagnostics) != null ? _c : null, symbol);
26389
+ trait = trait.toAnalyzed((_b2 = result.analysis) != null ? _b2 : null, (_c2 = result.diagnostics) != null ? _c2 : null, symbol);
25833
26390
  }
25834
26391
  resolve() {
25835
- var _a2, _b;
26392
+ var _a2, _b2;
25836
26393
  const classes = this.classes.keys();
25837
26394
  for (const clazz of classes) {
25838
26395
  const record = this.classes.get(clazz);
@@ -25864,7 +26421,7 @@ var TraitCompiler = class {
25864
26421
  throw err;
25865
26422
  }
25866
26423
  }
25867
- trait = trait.toResolved((_a2 = result.data) != null ? _a2 : null, (_b = result.diagnostics) != null ? _b : null);
26424
+ trait = trait.toResolved((_a2 = result.data) != null ? _a2 : null, (_b2 = result.diagnostics) != null ? _b2 : null);
25868
26425
  if (result.reexports !== void 0) {
25869
26426
  const fileName = clazz.getSourceFile().fileName;
25870
26427
  if (!this.reexportMap.has(fileName)) {
@@ -26033,10 +26590,10 @@ function containsErrors(diagnostics) {
26033
26590
  return diagnostics !== null && diagnostics.some((diag) => diag.category === import_typescript37.default.DiagnosticCategory.Error);
26034
26591
  }
26035
26592
 
26036
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
26593
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
26037
26594
  var import_typescript43 = __toESM(require("typescript"), 1);
26038
26595
 
26039
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
26596
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
26040
26597
  var Context = class {
26041
26598
  constructor(isStatement) {
26042
26599
  this.isStatement = isStatement;
@@ -26049,7 +26606,7 @@ var Context = class {
26049
26606
  }
26050
26607
  };
26051
26608
 
26052
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
26609
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
26053
26610
  var import_typescript39 = __toESM(require("typescript"), 1);
26054
26611
  var ImportManager = class {
26055
26612
  constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
@@ -26085,7 +26642,7 @@ var ImportManager = class {
26085
26642
  }
26086
26643
  };
26087
26644
 
26088
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
26645
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
26089
26646
  var UNARY_OPERATORS2 = /* @__PURE__ */ new Map([
26090
26647
  [UnaryOperator.Minus, "-"],
26091
26648
  [UnaryOperator.Plus, "+"]
@@ -26316,7 +26873,7 @@ function createRange(span) {
26316
26873
  };
26317
26874
  }
26318
26875
 
26319
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
26876
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
26320
26877
  var import_typescript40 = __toESM(require("typescript"), 1);
26321
26878
  function translateType(type, contextFile, reflector, refEmitter, imports) {
26322
26879
  return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
@@ -26532,7 +27089,7 @@ var TypeTranslatorVisitor = class {
26532
27089
  }
26533
27090
  };
26534
27091
 
26535
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
27092
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
26536
27093
  var import_typescript41 = __toESM(require("typescript"), 1);
26537
27094
  var PureAnnotation;
26538
27095
  (function(PureAnnotation2) {
@@ -26715,7 +27272,7 @@ function attachComments(statement, leadingComments) {
26715
27272
  }
26716
27273
  }
26717
27274
 
26718
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
27275
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
26719
27276
  function translateExpression(expression, imports, options = {}) {
26720
27277
  return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
26721
27278
  }
@@ -26723,7 +27280,7 @@ function translateStatement(statement, imports, options = {}) {
26723
27280
  return statement.visitStatement(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(true));
26724
27281
  }
26725
27282
 
26726
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
27283
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
26727
27284
  var import_typescript42 = __toESM(require("typescript"), 1);
26728
27285
  function addImports(importManager, sf, extraStatements = []) {
26729
27286
  const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
@@ -26759,7 +27316,7 @@ function isImportStatement(stmt) {
26759
27316
  return import_typescript42.default.isImportDeclaration(stmt) || import_typescript42.default.isImportEqualsDeclaration(stmt) || import_typescript42.default.isNamespaceImport(stmt);
26760
27317
  }
26761
27318
 
26762
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
27319
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
26763
27320
  var DtsTransformRegistry = class {
26764
27321
  constructor() {
26765
27322
  this.ivyDeclarationTransforms = /* @__PURE__ */ new Map();
@@ -26906,10 +27463,10 @@ function markForEmitAsSingleLine(node) {
26906
27463
  import_typescript43.default.forEachChild(node, markForEmitAsSingleLine);
26907
27464
  }
26908
27465
 
26909
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
27466
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
26910
27467
  var import_typescript45 = __toESM(require("typescript"), 1);
26911
27468
 
26912
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
27469
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
26913
27470
  var import_typescript44 = __toESM(require("typescript"), 1);
26914
27471
  function visit(node, visitor, context) {
26915
27472
  return visitor._visit(node, context);
@@ -26970,7 +27527,7 @@ var Visitor = class {
26970
27527
  }
26971
27528
  };
26972
27529
 
26973
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
27530
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
26974
27531
  var NO_DECORATORS = /* @__PURE__ */ new Set();
26975
27532
  var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
26976
27533
  function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
@@ -27181,7 +27738,7 @@ function nodeArrayFromDecoratorsArray(decorators) {
27181
27738
  return array;
27182
27739
  }
27183
27740
 
27184
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
27741
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
27185
27742
  var import_typescript46 = __toESM(require("typescript"), 1);
27186
27743
  var EMPTY_OBJECT = {};
27187
27744
  var QUERY_TYPES = /* @__PURE__ */ new Set([
@@ -27744,7 +28301,7 @@ function toR3InputMetadata(mapping) {
27744
28301
  };
27745
28302
  }
27746
28303
 
27747
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
28304
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
27748
28305
  var DirectiveSymbol = class extends SemanticSymbol {
27749
28306
  constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
27750
28307
  super(decl);
@@ -27824,7 +28381,7 @@ function isBaseClassEqual(current, previous) {
27824
28381
  return isSymbolEqual(current, previous);
27825
28382
  }
27826
28383
 
27827
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
28384
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
27828
28385
  var FIELD_DECORATORS = [
27829
28386
  "Input",
27830
28387
  "Output",
@@ -27987,10 +28544,10 @@ var DirectiveDecoratorHandler = class {
27987
28544
  }
27988
28545
  };
27989
28546
 
27990
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
28547
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
27991
28548
  var import_typescript48 = __toESM(require("typescript"), 1);
27992
28549
 
27993
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
28550
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
27994
28551
  var import_typescript47 = __toESM(require("typescript"), 1);
27995
28552
  function createModuleWithProvidersResolver(reflector, isCore) {
27996
28553
  function _reflectModuleFromTypeParam(type, node) {
@@ -28057,7 +28614,7 @@ function isResolvedModuleWithProviders(sv) {
28057
28614
  return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
28058
28615
  }
28059
28616
 
28060
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
28617
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
28061
28618
  var NgModuleSymbol = class extends SemanticSymbol {
28062
28619
  constructor(decl, hasProviders) {
28063
28620
  super(decl);
@@ -28481,8 +29038,8 @@ var NgModuleDecoratorHandler = class {
28481
29038
  assertSuccessfulReferenceEmit(type, node, "directive");
28482
29039
  return type.expression;
28483
29040
  });
28484
- const pipes = remoteScope.pipes.map((pipe) => {
28485
- const type = this.refEmitter.emit(pipe, context);
29041
+ const pipes = remoteScope.pipes.map((pipe2) => {
29042
+ const type = this.refEmitter.emit(pipe2, context);
28486
29043
  assertSuccessfulReferenceEmit(type, node, "pipe");
28487
29044
  return type.expression;
28488
29045
  });
@@ -28579,7 +29136,7 @@ function isSyntheticReference(ref) {
28579
29136
  return ref.synthetic;
28580
29137
  }
28581
29138
 
28582
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
29139
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
28583
29140
  function makeCyclicImportInfo(ref, type, cycle) {
28584
29141
  const name = ref.debugName || "(unknown)";
28585
29142
  const path3 = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
@@ -28602,7 +29159,7 @@ function checkCustomElementSelectorForErrors(selector) {
28602
29159
  return null;
28603
29160
  }
28604
29161
 
28605
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
29162
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
28606
29163
  var import_typescript50 = __toESM(require("typescript"), 1);
28607
29164
  function getTemplateDeclarationNodeForError(declaration) {
28608
29165
  return declaration.isInline ? declaration.expression : declaration.templateUrlExpression;
@@ -28912,7 +29469,7 @@ function _extractTemplateStyleUrls(template2) {
28912
29469
  return template2.styleUrls.map((url) => ({ url, source: 1, nodeForError }));
28913
29470
  }
28914
29471
 
28915
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
29472
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
28916
29473
  var ComponentSymbol = class extends DirectiveSymbol {
28917
29474
  constructor() {
28918
29475
  super(...arguments);
@@ -28947,7 +29504,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
28947
29504
  }
28948
29505
  };
28949
29506
 
28950
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
29507
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
28951
29508
  function collectAnimationNames(value, animationTriggerNames) {
28952
29509
  if (value instanceof Map) {
28953
29510
  const name = value.get("name");
@@ -29023,7 +29580,7 @@ function isLikelyModuleWithProviders(value) {
29023
29580
  return false;
29024
29581
  }
29025
29582
 
29026
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
29583
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
29027
29584
  var EMPTY_ARRAY2 = [];
29028
29585
  var ComponentDecoratorHandler = class {
29029
29586
  constructor(reflector, evaluator, metaRegistry, metaReader, scopeReader, dtsScopeReader, scopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, resourceLoader, rootDirs, defaultPreserveWhitespaces, i18nUseExternalIds, enableI18nLegacyMessageIdFormat, usePoisonedData, i18nNormalizeLineEndingsInICUs, moduleResolver, cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, depTracker, injectableRegistry, semanticDepGraphUpdater, annotateForClosureCompiler, perf, hostDirectivesResolver) {
@@ -29125,7 +29682,7 @@ var ComponentDecoratorHandler = class {
29125
29682
  ]).then(() => void 0);
29126
29683
  }
29127
29684
  analyze(node, decorator, flags = HandlerFlags.NONE) {
29128
- var _a2, _b, _c;
29685
+ var _a2, _b2, _c2;
29129
29686
  this.perf.eventCount(PerfEvent.AnalyzeComponent);
29130
29687
  const containingFile = node.getSourceFile().fileName;
29131
29688
  this.literalCache.delete(decorator);
@@ -29289,7 +29846,7 @@ var ComponentDecoratorHandler = class {
29289
29846
  ngContentSelectors: template2.ngContentSelectors
29290
29847
  },
29291
29848
  encapsulation,
29292
- interpolation: (_b = template2.interpolationConfig) != null ? _b : DEFAULT_INTERPOLATION_CONFIG,
29849
+ interpolation: (_b2 = template2.interpolationConfig) != null ? _b2 : DEFAULT_INTERPOLATION_CONFIG,
29293
29850
  styles,
29294
29851
  animations,
29295
29852
  viewProviders: wrappedViewProviders,
@@ -29312,7 +29869,7 @@ var ComponentDecoratorHandler = class {
29312
29869
  rawImports,
29313
29870
  resolvedImports,
29314
29871
  schemas,
29315
- decorator: (_c = decorator == null ? void 0 : decorator.node) != null ? _c : null
29872
+ decorator: (_c2 = decorator == null ? void 0 : decorator.node) != null ? _c2 : null
29316
29873
  },
29317
29874
  diagnostics
29318
29875
  };
@@ -29528,7 +30085,7 @@ var ComponentDecoratorHandler = class {
29528
30085
  data.declarationListEmitMode = wrapDirectivesAndPipesInClosure ? 1 : 0;
29529
30086
  } else {
29530
30087
  if (this.cycleHandlingStrategy === 0) {
29531
- this.scopeRegistry.setComponentRemoteScope(node, declarations.filter(isUsedDirective).map((dir) => dir.ref), declarations.filter(isUsedPipe).map((pipe) => pipe.ref));
30088
+ this.scopeRegistry.setComponentRemoteScope(node, declarations.filter(isUsedDirective).map((dir) => dir.ref), declarations.filter(isUsedPipe).map((pipe2) => pipe2.ref));
29532
30089
  symbol.isRemotelyScoped = true;
29533
30090
  if (this.semanticDepGraphUpdater !== null && scope.kind === ComponentScopeKind.NgModule && scope.ngModule !== null) {
29534
30091
  const moduleSymbol = this.semanticDepGraphUpdater.getSymbol(scope.ngModule);
@@ -29542,8 +30099,8 @@ var ComponentDecoratorHandler = class {
29542
30099
  for (const [dir, cycle] of cyclesFromDirectives) {
29543
30100
  relatedMessages.push(makeCyclicImportInfo(dir.ref, dir.isComponent ? "component" : "directive", cycle));
29544
30101
  }
29545
- for (const [pipe, cycle] of cyclesFromPipes) {
29546
- relatedMessages.push(makeCyclicImportInfo(pipe.ref, "pipe", cycle));
30102
+ for (const [pipe2, cycle] of cyclesFromPipes) {
30103
+ relatedMessages.push(makeCyclicImportInfo(pipe2.ref, "pipe", cycle));
29547
30104
  }
29548
30105
  throw new FatalDiagnosticError(ErrorCode.IMPORT_CYCLE_DETECTED, node, "One or more import cycles would need to be created to compile this component, which is not supported by the current compiler configuration.", relatedMessages);
29549
30106
  }
@@ -29674,7 +30231,7 @@ function validateStandaloneImports(importRefs, importExpr2, metaReader, scopeRea
29674
30231
  return diagnostics;
29675
30232
  }
29676
30233
 
29677
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
30234
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
29678
30235
  var import_typescript53 = __toESM(require("typescript"), 1);
29679
30236
  var InjectableDecoratorHandler = class {
29680
30237
  constructor(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, perf, errorOnDuplicateProv = true) {
@@ -29888,7 +30445,7 @@ function getDep(dep, reflector) {
29888
30445
  return meta;
29889
30446
  }
29890
30447
 
29891
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
30448
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
29892
30449
  var import_typescript54 = __toESM(require("typescript"), 1);
29893
30450
  var PipeSymbol = class extends SemanticSymbol {
29894
30451
  constructor(decl, name) {
@@ -29947,18 +30504,18 @@ var PipeDecoratorHandler = class {
29947
30504
  if (!import_typescript54.default.isObjectLiteralExpression(meta)) {
29948
30505
  throw new FatalDiagnosticError(ErrorCode.DECORATOR_ARG_NOT_LITERAL, meta, "@Pipe must have a literal argument");
29949
30506
  }
29950
- const pipe = reflectObjectLiteral(meta);
29951
- if (!pipe.has("name")) {
30507
+ const pipe2 = reflectObjectLiteral(meta);
30508
+ if (!pipe2.has("name")) {
29952
30509
  throw new FatalDiagnosticError(ErrorCode.PIPE_MISSING_NAME, meta, `@Pipe decorator is missing name field`);
29953
30510
  }
29954
- const pipeNameExpr = pipe.get("name");
30511
+ const pipeNameExpr = pipe2.get("name");
29955
30512
  const pipeName = this.evaluator.evaluate(pipeNameExpr);
29956
30513
  if (typeof pipeName !== "string") {
29957
30514
  throw createValueHasWrongTypeError(pipeNameExpr, pipeName, `@Pipe.name must be a string`);
29958
30515
  }
29959
30516
  let pure = true;
29960
- if (pipe.has("pure")) {
29961
- const expr = pipe.get("pure");
30517
+ if (pipe2.has("pure")) {
30518
+ const expr = pipe2.get("pure");
29962
30519
  const pureValue = this.evaluator.evaluate(expr);
29963
30520
  if (typeof pureValue !== "boolean") {
29964
30521
  throw createValueHasWrongTypeError(expr, pureValue, `@Pipe.pure must be a boolean`);
@@ -29966,8 +30523,8 @@ var PipeDecoratorHandler = class {
29966
30523
  pure = pureValue;
29967
30524
  }
29968
30525
  let isStandalone = false;
29969
- if (pipe.has("standalone")) {
29970
- const expr = pipe.get("standalone");
30526
+ if (pipe2.has("standalone")) {
30527
+ const expr = pipe2.get("standalone");
29971
30528
  const resolved = this.evaluator.evaluate(expr);
29972
30529
  if (typeof resolved !== "boolean") {
29973
30530
  throw createValueHasWrongTypeError(expr, resolved, `standalone flag must be a boolean`);
@@ -30031,7 +30588,7 @@ var PipeDecoratorHandler = class {
30031
30588
  }
30032
30589
  };
30033
30590
 
30034
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
30591
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
30035
30592
  var CycleAnalyzer = class {
30036
30593
  constructor(importGraph) {
30037
30594
  this.importGraph = importGraph;
@@ -30102,7 +30659,7 @@ var Cycle = class {
30102
30659
  }
30103
30660
  };
30104
30661
 
30105
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
30662
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
30106
30663
  var import_typescript55 = __toESM(require("typescript"), 1);
30107
30664
  var ImportGraph = class {
30108
30665
  constructor(checker, perf) {
@@ -30194,7 +30751,7 @@ var Found = class {
30194
30751
  }
30195
30752
  };
30196
30753
 
30197
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
30754
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
30198
30755
  var import_typescript56 = __toESM(require("typescript"), 1);
30199
30756
  var FlatIndexGenerator = class {
30200
30757
  constructor(entryPoint, relativeFlatIndexPath, moduleName) {
@@ -30219,7 +30776,7 @@ export * from '${relativeEntryPoint}';
30219
30776
  }
30220
30777
  };
30221
30778
 
30222
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
30779
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
30223
30780
  function findFlatIndexEntryPoint(rootFiles) {
30224
30781
  const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
30225
30782
  let resolvedEntryPoint = null;
@@ -30235,7 +30792,7 @@ function findFlatIndexEntryPoint(rootFiles) {
30235
30792
  return resolvedEntryPoint;
30236
30793
  }
30237
30794
 
30238
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
30795
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
30239
30796
  var import_typescript58 = __toESM(require("typescript"), 1);
30240
30797
  function checkForPrivateExports(entryPoint, checker, refGraph) {
30241
30798
  const diagnostics = [];
@@ -30315,7 +30872,7 @@ function getDescriptorOfDeclaration(decl) {
30315
30872
  }
30316
30873
  }
30317
30874
 
30318
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
30875
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
30319
30876
  var ReferenceGraph = class {
30320
30877
  constructor() {
30321
30878
  this.references = /* @__PURE__ */ new Map();
@@ -30369,7 +30926,7 @@ var ReferenceGraph = class {
30369
30926
  }
30370
30927
  };
30371
30928
 
30372
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
30929
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
30373
30930
  var NgOriginalFile = Symbol("NgOriginalFile");
30374
30931
  var UpdateMode;
30375
30932
  (function(UpdateMode2) {
@@ -30377,13 +30934,13 @@ var UpdateMode;
30377
30934
  UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
30378
30935
  })(UpdateMode || (UpdateMode = {}));
30379
30936
 
30380
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
30937
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
30381
30938
  var import_typescript62 = __toESM(require("typescript"), 1);
30382
30939
 
30383
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
30940
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
30384
30941
  var import_typescript59 = __toESM(require("typescript"), 1);
30385
30942
 
30386
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
30943
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
30387
30944
  var NgExtension = Symbol("NgExtension");
30388
30945
  function isExtended(sf) {
30389
30946
  return sf[NgExtension] !== void 0;
@@ -30443,13 +31000,13 @@ function retagTsFile(sf) {
30443
31000
  }
30444
31001
  }
30445
31002
 
30446
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
31003
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
30447
31004
  var TS_EXTENSIONS = /\.tsx?$/i;
30448
31005
  function makeShimFileName(fileName, suffix) {
30449
31006
  return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
30450
31007
  }
30451
31008
 
30452
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
31009
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
30453
31010
  var ShimAdapter = class {
30454
31011
  constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
30455
31012
  this.delegate = delegate;
@@ -30544,7 +31101,7 @@ var ShimAdapter = class {
30544
31101
  }
30545
31102
  };
30546
31103
 
30547
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
31104
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
30548
31105
  var ShimReferenceTagger = class {
30549
31106
  constructor(shimExtensions) {
30550
31107
  this.tagged = /* @__PURE__ */ new Set();
@@ -30578,7 +31135,7 @@ var ShimReferenceTagger = class {
30578
31135
  }
30579
31136
  };
30580
31137
 
30581
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
31138
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
30582
31139
  var DelegatingCompilerHost = class {
30583
31140
  constructor(delegate) {
30584
31141
  this.delegate = delegate;
@@ -30691,7 +31248,7 @@ var TsCreateProgramDriver = class {
30691
31248
  }
30692
31249
  };
30693
31250
 
30694
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
31251
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
30695
31252
  var FileDependencyGraph = class {
30696
31253
  constructor() {
30697
31254
  this.nodes = /* @__PURE__ */ new Map();
@@ -30758,7 +31315,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
30758
31315
  return false;
30759
31316
  }
30760
31317
 
30761
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
31318
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
30762
31319
  var IncrementalStateKind;
30763
31320
  (function(IncrementalStateKind2) {
30764
31321
  IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
@@ -30766,7 +31323,7 @@ var IncrementalStateKind;
30766
31323
  IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
30767
31324
  })(IncrementalStateKind || (IncrementalStateKind = {}));
30768
31325
 
30769
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
31326
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
30770
31327
  var PhaseKind;
30771
31328
  (function(PhaseKind2) {
30772
31329
  PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
@@ -30967,7 +31524,7 @@ function toOriginalSourceFile(sf) {
30967
31524
  }
30968
31525
  }
30969
31526
 
30970
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
31527
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
30971
31528
  var TrackedIncrementalBuildStrategy = class {
30972
31529
  constructor() {
30973
31530
  this.state = null;
@@ -30988,7 +31545,7 @@ var TrackedIncrementalBuildStrategy = class {
30988
31545
  };
30989
31546
  var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
30990
31547
 
30991
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
31548
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
30992
31549
  var IdentifierKind;
30993
31550
  (function(IdentifierKind2) {
30994
31551
  IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
@@ -31006,7 +31563,7 @@ var AbsoluteSourceSpan2 = class {
31006
31563
  }
31007
31564
  };
31008
31565
 
31009
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
31566
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
31010
31567
  var IndexingContext = class {
31011
31568
  constructor() {
31012
31569
  this.components = /* @__PURE__ */ new Set();
@@ -31016,7 +31573,7 @@ var IndexingContext = class {
31016
31573
  }
31017
31574
  };
31018
31575
 
31019
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
31576
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
31020
31577
  var ExpressionVisitor = class extends RecursiveAstVisitor2 {
31021
31578
  constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
31022
31579
  super();
@@ -31252,7 +31809,7 @@ function getTemplateIdentifiers(boundTemplate) {
31252
31809
  return { identifiers: visitor.identifiers, errors: visitor.errors };
31253
31810
  }
31254
31811
 
31255
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
31812
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
31256
31813
  function generateAnalysis(context) {
31257
31814
  const analysis = /* @__PURE__ */ new Map();
31258
31815
  context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
@@ -31288,7 +31845,7 @@ function generateAnalysis(context) {
31288
31845
  return analysis;
31289
31846
  }
31290
31847
 
31291
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
31848
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
31292
31849
  var NgModuleIndexImpl = class {
31293
31850
  constructor(metaReader, localReader) {
31294
31851
  this.metaReader = metaReader;
@@ -31318,7 +31875,7 @@ var NgModuleIndexImpl = class {
31318
31875
  this.indexed = true;
31319
31876
  }
31320
31877
  indexTrait(ref, seenTypesWithReexports) {
31321
- var _a2, _b, _c;
31878
+ var _a2, _b2, _c2;
31322
31879
  if (seenTypesWithReexports.has(ref.node)) {
31323
31880
  return;
31324
31881
  }
@@ -31338,7 +31895,7 @@ var NgModuleIndexImpl = class {
31338
31895
  }
31339
31896
  for (const childRef of meta.exports) {
31340
31897
  this.indexTrait(childRef, seenTypesWithReexports);
31341
- const childMeta = (_c = (_b = this.metaReader.getDirectiveMetadata(childRef)) != null ? _b : this.metaReader.getPipeMetadata(childRef)) != null ? _c : this.metaReader.getNgModuleMetadata(childRef);
31898
+ const childMeta = (_c2 = (_b2 = this.metaReader.getDirectiveMetadata(childRef)) != null ? _b2 : this.metaReader.getPipeMetadata(childRef)) != null ? _c2 : this.metaReader.getNgModuleMetadata(childRef);
31342
31899
  if (childMeta === null) {
31343
31900
  continue;
31344
31901
  }
@@ -31377,7 +31934,7 @@ var NgModuleIndexImpl = class {
31377
31934
  }
31378
31935
  };
31379
31936
 
31380
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
31937
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
31381
31938
  var import_typescript65 = __toESM(require("typescript"), 1);
31382
31939
  var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
31383
31940
  var RESOURCE_MARKER = ".$ngresource$";
@@ -31498,7 +32055,7 @@ var AdapterResourceLoader = class {
31498
32055
  }
31499
32056
  };
31500
32057
  function createLookupResolutionHost(adapter) {
31501
- var _a2, _b, _c;
32058
+ var _a2, _b2, _c2;
31502
32059
  return {
31503
32060
  directoryExists(directoryName) {
31504
32061
  if (directoryName.includes(RESOURCE_MARKER)) {
@@ -31519,13 +32076,13 @@ function createLookupResolutionHost(adapter) {
31519
32076
  readFile: adapter.readFile.bind(adapter),
31520
32077
  getCurrentDirectory: adapter.getCurrentDirectory.bind(adapter),
31521
32078
  getDirectories: (_a2 = adapter.getDirectories) == null ? void 0 : _a2.bind(adapter),
31522
- realpath: (_b = adapter.realpath) == null ? void 0 : _b.bind(adapter),
31523
- trace: (_c = adapter.trace) == null ? void 0 : _c.bind(adapter),
32079
+ realpath: (_b2 = adapter.realpath) == null ? void 0 : _b2.bind(adapter),
32080
+ trace: (_c2 = adapter.trace) == null ? void 0 : _c2.bind(adapter),
31524
32081
  useCaseSensitiveFileNames: typeof adapter.useCaseSensitiveFileNames === "function" ? adapter.useCaseSensitiveFileNames.bind(adapter) : adapter.useCaseSensitiveFileNames
31525
32082
  };
31526
32083
  }
31527
32084
 
31528
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
32085
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
31529
32086
  var StandaloneComponentScopeReader = class {
31530
32087
  constructor(metaReader, localModuleReader, dtsModuleReader) {
31531
32088
  this.metaReader = metaReader;
@@ -31603,21 +32160,21 @@ var StandaloneComponentScopeReader = class {
31603
32160
  }
31604
32161
  };
31605
32162
 
31606
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
32163
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
31607
32164
  var OptimizeFor;
31608
32165
  (function(OptimizeFor2) {
31609
32166
  OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
31610
32167
  OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
31611
32168
  })(OptimizeFor || (OptimizeFor = {}));
31612
32169
 
31613
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
32170
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
31614
32171
  var CompletionKind;
31615
32172
  (function(CompletionKind2) {
31616
32173
  CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
31617
32174
  CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
31618
32175
  })(CompletionKind || (CompletionKind = {}));
31619
32176
 
31620
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
32177
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
31621
32178
  var PotentialImportKind;
31622
32179
  (function(PotentialImportKind2) {
31623
32180
  PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
@@ -31629,7 +32186,7 @@ var PotentialImportMode;
31629
32186
  PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
31630
32187
  })(PotentialImportMode || (PotentialImportMode = {}));
31631
32188
 
31632
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
32189
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
31633
32190
  var SymbolKind;
31634
32191
  (function(SymbolKind2) {
31635
32192
  SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
@@ -31645,7 +32202,7 @@ var SymbolKind;
31645
32202
  SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
31646
32203
  })(SymbolKind || (SymbolKind = {}));
31647
32204
 
31648
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
32205
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
31649
32206
  var import_typescript66 = __toESM(require("typescript"), 1);
31650
32207
  function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
31651
32208
  var _a2;
@@ -31752,7 +32309,7 @@ function parseTemplateAsSourceFile(fileName, template2) {
31752
32309
  return import_typescript66.default.createSourceFile(fileName, template2, import_typescript66.default.ScriptTarget.Latest, false, import_typescript66.default.ScriptKind.JSX);
31753
32310
  }
31754
32311
 
31755
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
32312
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
31756
32313
  var TEMPLATE_ID = Symbol("ngTemplateId");
31757
32314
  var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
31758
32315
  function getTemplateId(clazz) {
@@ -31769,10 +32326,10 @@ function allocateTemplateId(sf) {
31769
32326
  return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
31770
32327
  }
31771
32328
 
31772
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
32329
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
31773
32330
  var import_typescript68 = __toESM(require("typescript"), 1);
31774
32331
 
31775
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
32332
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
31776
32333
  var import_typescript67 = __toESM(require("typescript"), 1);
31777
32334
  var parseSpanComment = /^(\d+),(\d+)$/;
31778
32335
  function readSpanComment(node, sourceFile = node.getSourceFile()) {
@@ -31901,7 +32458,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
31901
32458
  }) || false;
31902
32459
  }
31903
32460
 
31904
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
32461
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
31905
32462
  var CompletionEngine = class {
31906
32463
  constructor(tcb, data, tcbPath, tcbIsShim) {
31907
32464
  this.tcb = tcb;
@@ -32058,10 +32615,10 @@ var CompletionEngine = class {
32058
32615
  }
32059
32616
  };
32060
32617
 
32061
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
32618
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
32062
32619
  var import_typescript83 = __toESM(require("typescript"), 1);
32063
32620
 
32064
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
32621
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
32065
32622
  var import_typescript69 = __toESM(require("typescript"), 1);
32066
32623
  var REGISTRY = new DomElementSchemaRegistry();
32067
32624
  var REMOVE_XHTML_REGEX = /^:xhtml:/;
@@ -32113,10 +32670,10 @@ var RegistryDomSchemaChecker = class {
32113
32670
  }
32114
32671
  };
32115
32672
 
32116
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
32673
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
32117
32674
  var import_typescript76 = __toESM(require("typescript"), 1);
32118
32675
 
32119
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
32676
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
32120
32677
  var import_typescript70 = __toESM(require("typescript"), 1);
32121
32678
  var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
32122
32679
  import_typescript70.default.SyntaxKind.ParenthesizedExpression,
@@ -32190,16 +32747,16 @@ function isAccessExpression(node) {
32190
32747
  return import_typescript70.default.isPropertyAccessExpression(node) || import_typescript70.default.isElementAccessExpression(node);
32191
32748
  }
32192
32749
 
32193
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
32750
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
32194
32751
  var import_typescript75 = __toESM(require("typescript"), 1);
32195
32752
 
32196
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
32753
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
32197
32754
  var import_typescript73 = __toESM(require("typescript"), 1);
32198
32755
 
32199
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
32756
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
32200
32757
  var import_typescript72 = __toESM(require("typescript"), 1);
32201
32758
 
32202
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
32759
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
32203
32760
  var import_typescript71 = __toESM(require("typescript"), 1);
32204
32761
  var INELIGIBLE = {};
32205
32762
  function canEmitType(type, canEmit) {
@@ -32274,7 +32831,7 @@ var TypeEmitter = class {
32274
32831
  }
32275
32832
  };
32276
32833
 
32277
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
32834
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
32278
32835
  var TypeParameterEmitter = class {
32279
32836
  constructor(typeParameters, reflector) {
32280
32837
  this.typeParameters = typeParameters;
@@ -32351,7 +32908,7 @@ var TypeParameterEmitter = class {
32351
32908
  }
32352
32909
  };
32353
32910
 
32354
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
32911
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
32355
32912
  var TcbInliningRequirement;
32356
32913
  (function(TcbInliningRequirement2) {
32357
32914
  TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
@@ -32431,7 +32988,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
32431
32988
  return emitter.canEmit((ref) => env.canReferenceType(ref));
32432
32989
  }
32433
32990
 
32434
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
32991
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
32435
32992
  function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
32436
32993
  const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
32437
32994
  const rawType = import_typescript75.default.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
@@ -32542,7 +33099,7 @@ function typeParametersWithDefaultTypes(params) {
32542
33099
  });
32543
33100
  }
32544
33101
 
32545
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
33102
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
32546
33103
  var Environment = class {
32547
33104
  constructor(config, importManager, refEmitter, reflector, contextFile) {
32548
33105
  this.config = config;
@@ -32636,7 +33193,7 @@ var Environment = class {
32636
33193
  }
32637
33194
  };
32638
33195
 
32639
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
33196
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
32640
33197
  var import_typescript77 = __toESM(require("typescript"), 1);
32641
33198
  var OutOfBandDiagnosticRecorderImpl = class {
32642
33199
  constructor(resolver) {
@@ -32667,7 +33224,7 @@ var OutOfBandDiagnosticRecorderImpl = class {
32667
33224
  this.recordedPipes.add(ast);
32668
33225
  }
32669
33226
  illegalAssignmentToTemplateVar(templateId, assignment, target) {
32670
- var _a2, _b;
33227
+ var _a2, _b2;
32671
33228
  const mapping = this.resolver.getSourceMapping(templateId);
32672
33229
  const errorMsg = `Cannot use variable '${assignment.name}' as the left-hand side of an assignment expression. Template variables are read-only.`;
32673
33230
  const sourceSpan = this.resolver.toParseSourceSpan(templateId, assignment.sourceSpan);
@@ -32677,7 +33234,7 @@ var OutOfBandDiagnosticRecorderImpl = class {
32677
33234
  this._diagnostics.push(makeTemplateDiagnostic(templateId, mapping, sourceSpan, import_typescript77.default.DiagnosticCategory.Error, ngErrorCode(ErrorCode.WRITE_TO_READ_ONLY_VARIABLE), errorMsg, [{
32678
33235
  text: `The variable ${assignment.name} is declared here.`,
32679
33236
  start: ((_a2 = target.valueSpan) == null ? void 0 : _a2.start.offset) || target.sourceSpan.start.offset,
32680
- end: ((_b = target.valueSpan) == null ? void 0 : _b.end.offset) || target.sourceSpan.end.offset,
33237
+ end: ((_b2 = target.valueSpan) == null ? void 0 : _b2.end.offset) || target.sourceSpan.end.offset,
32681
33238
  sourceFile: mapping.node.getSourceFile()
32682
33239
  }]));
32683
33240
  }
@@ -32771,7 +33328,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
32771
33328
  });
32772
33329
  }
32773
33330
 
32774
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
33331
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
32775
33332
  var import_typescript78 = __toESM(require("typescript"), 1);
32776
33333
  var TypeCheckShimGenerator = class {
32777
33334
  constructor() {
@@ -32789,10 +33346,10 @@ var TypeCheckShimGenerator = class {
32789
33346
  }
32790
33347
  };
32791
33348
 
32792
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
33349
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
32793
33350
  var import_typescript81 = __toESM(require("typescript"), 1);
32794
33351
 
32795
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
33352
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
32796
33353
  var import_typescript79 = __toESM(require("typescript"), 1);
32797
33354
  function wrapForDiagnostics(expr) {
32798
33355
  return import_typescript79.default.factory.createParenthesizedExpression(expr);
@@ -32837,7 +33394,7 @@ function translateDiagnostic(diagnostic, resolver) {
32837
33394
  return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
32838
33395
  }
32839
33396
 
32840
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
33397
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
32841
33398
  var import_typescript80 = __toESM(require("typescript"), 1);
32842
33399
  var NULL_AS_ANY = import_typescript80.default.factory.createAsExpression(import_typescript80.default.factory.createNull(), import_typescript80.default.factory.createKeywordTypeNode(import_typescript80.default.SyntaxKind.AnyKeyword));
32843
33400
  var UNDEFINED = import_typescript80.default.factory.createIdentifier("undefined");
@@ -33169,7 +33726,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
33169
33726
  _VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
33170
33727
  })();
33171
33728
 
33172
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
33729
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
33173
33730
  var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
33174
33731
  constructor(templateId, boundTarget, oob) {
33175
33732
  super();
@@ -33192,7 +33749,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
33192
33749
  }
33193
33750
  };
33194
33751
 
33195
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
33752
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
33196
33753
  var TcbGenericContextBehavior;
33197
33754
  (function(TcbGenericContextBehavior2) {
33198
33755
  TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
@@ -34133,15 +34690,15 @@ var TcbExpressionTranslator = class {
34133
34690
  } else if (ast instanceof BindingPipe) {
34134
34691
  const expr = this.translate(ast.exp);
34135
34692
  const pipeRef = this.tcb.getPipeByName(ast.name);
34136
- let pipe;
34693
+ let pipe2;
34137
34694
  if (pipeRef === null) {
34138
34695
  this.tcb.oobRecorder.missingPipe(this.tcb.id, ast);
34139
- pipe = NULL_AS_ANY;
34696
+ pipe2 = NULL_AS_ANY;
34140
34697
  } else {
34141
- pipe = this.tcb.env.pipeInst(pipeRef);
34698
+ pipe2 = this.tcb.env.pipeInst(pipeRef);
34142
34699
  }
34143
34700
  const args = ast.args.map((arg) => this.translate(arg));
34144
- let methodAccess = import_typescript81.default.factory.createPropertyAccessExpression(pipe, "transform");
34701
+ let methodAccess = import_typescript81.default.factory.createPropertyAccessExpression(pipe2, "transform");
34145
34702
  addParseSpanInfo(methodAccess, ast.nameSpan);
34146
34703
  if (!this.tcb.env.config.checkTypeOfPipes) {
34147
34704
  methodAccess = import_typescript81.default.factory.createAsExpression(methodAccess, import_typescript81.default.factory.createKeywordTypeNode(import_typescript81.default.SyntaxKind.AnyKeyword));
@@ -34319,7 +34876,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
34319
34876
  }
34320
34877
  };
34321
34878
 
34322
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
34879
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
34323
34880
  var import_typescript82 = __toESM(require("typescript"), 1);
34324
34881
  var TypeCheckFile = class extends Environment {
34325
34882
  constructor(fileName, config, refEmitter, reflector, compilerHost) {
@@ -34355,7 +34912,7 @@ var TypeCheckFile = class extends Environment {
34355
34912
  }
34356
34913
  };
34357
34914
 
34358
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
34915
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
34359
34916
  var InliningMode;
34360
34917
  (function(InliningMode2) {
34361
34918
  InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
@@ -34592,7 +35149,7 @@ function splitStringAtPoints(str, points) {
34592
35149
  return splits;
34593
35150
  }
34594
35151
 
34595
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
35152
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
34596
35153
  var LF_CHAR = 10;
34597
35154
  var CR_CHAR = 13;
34598
35155
  var LINE_SEP_CHAR = 8232;
@@ -34633,7 +35190,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
34633
35190
  return low - 1;
34634
35191
  }
34635
35192
 
34636
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
35193
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
34637
35194
  var TemplateSource = class {
34638
35195
  constructor(mapping, file) {
34639
35196
  this.mapping = mapping;
@@ -34684,7 +35241,7 @@ var TemplateSourceManager = class {
34684
35241
  }
34685
35242
  };
34686
35243
 
34687
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
35244
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
34688
35245
  var import_typescript84 = __toESM(require("typescript"), 1);
34689
35246
  var SymbolBuilder = class {
34690
35247
  constructor(tcbPath, tcbIsShim, typeCheckBlock, templateData, componentScopeReader, getTypeChecker) {
@@ -35161,7 +35718,7 @@ function sourceSpanEqual(a, b) {
35161
35718
  return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
35162
35719
  }
35163
35720
 
35164
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
35721
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
35165
35722
  var REGISTRY2 = new DomElementSchemaRegistry();
35166
35723
  var TemplateTypeCheckerImpl = class {
35167
35724
  constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
@@ -35522,9 +36079,9 @@ var TemplateTypeCheckerImpl = class {
35522
36079
  return builder;
35523
36080
  }
35524
36081
  getPotentialTemplateDirectives(component) {
35525
- var _a2, _b;
36082
+ var _a2, _b2;
35526
36083
  const typeChecker = this.programDriver.getProgram().getTypeChecker();
35527
- const inScopeDirectives = (_b = (_a2 = this.getScopeData(component)) == null ? void 0 : _a2.directives) != null ? _b : [];
36084
+ const inScopeDirectives = (_b2 = (_a2 = this.getScopeData(component)) == null ? void 0 : _a2.directives) != null ? _b2 : [];
35528
36085
  const resultingDirectives = /* @__PURE__ */ new Map();
35529
36086
  for (const d of inScopeDirectives) {
35530
36087
  resultingDirectives.set(d.ref.node, d);
@@ -35543,9 +36100,9 @@ var TemplateTypeCheckerImpl = class {
35543
36100
  return Array.from(resultingDirectives.values());
35544
36101
  }
35545
36102
  getPotentialPipes(component) {
35546
- var _a2, _b;
36103
+ var _a2, _b2;
35547
36104
  const typeChecker = this.programDriver.getProgram().getTypeChecker();
35548
- const inScopePipes = (_b = (_a2 = this.getScopeData(component)) == null ? void 0 : _a2.pipes) != null ? _b : [];
36105
+ const inScopePipes = (_b2 = (_a2 = this.getScopeData(component)) == null ? void 0 : _a2.pipes) != null ? _b2 : [];
35549
36106
  const resultingPipes = /* @__PURE__ */ new Map();
35550
36107
  for (const p2 of inScopePipes) {
35551
36108
  resultingPipes.set(p2.ref.node, p2);
@@ -35575,11 +36132,11 @@ var TemplateTypeCheckerImpl = class {
35575
36132
  }
35576
36133
  return this.metaReader.getNgModuleMetadata(new Reference2(module3));
35577
36134
  }
35578
- getPipeMetadata(pipe) {
35579
- if (!isNamedClassDeclaration(pipe)) {
36135
+ getPipeMetadata(pipe2) {
36136
+ if (!isNamedClassDeclaration(pipe2)) {
35580
36137
  return null;
35581
36138
  }
35582
- return this.metaReader.getPipeMetadata(new Reference2(pipe));
36139
+ return this.metaReader.getPipeMetadata(new Reference2(pipe2));
35583
36140
  }
35584
36141
  getPotentialElementTags(component) {
35585
36142
  if (this.elementTagCache.has(component)) {
@@ -35651,7 +36208,7 @@ var TemplateTypeCheckerImpl = class {
35651
36208
  return scope.ngModule;
35652
36209
  }
35653
36210
  emit(kind, refTo, inContext) {
35654
- var _a2, _b;
36211
+ var _a2, _b2;
35655
36212
  const emittedRef = this.refEmitter.emit(refTo, inContext.getSourceFile());
35656
36213
  if (emittedRef.kind === 1) {
35657
36214
  return null;
@@ -35660,7 +36217,7 @@ var TemplateTypeCheckerImpl = class {
35660
36217
  if (emitted instanceof WrappedNodeExpr) {
35661
36218
  let isForwardReference = false;
35662
36219
  if (emitted.node.getStart() > inContext.getStart()) {
35663
- const declaration = (_b = (_a2 = this.programDriver.getProgram().getTypeChecker().getTypeAtLocation(emitted.node).getSymbol()) == null ? void 0 : _a2.declarations) == null ? void 0 : _b[0];
36220
+ const declaration = (_b2 = (_a2 = this.programDriver.getProgram().getTypeChecker().getTypeAtLocation(emitted.node).getSymbol()) == null ? void 0 : _a2.declarations) == null ? void 0 : _b2[0];
35664
36221
  if (declaration && declaration.getSourceFile() === inContext.getSourceFile()) {
35665
36222
  isForwardReference = true;
35666
36223
  }
@@ -35854,7 +36411,7 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
35854
36411
  }
35855
36412
  };
35856
36413
 
35857
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
36414
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
35858
36415
  var TemplateCheckWithVisitor = class {
35859
36416
  run(ctx, component, template2) {
35860
36417
  const visitor = new TemplateVisitor2(ctx, component, this);
@@ -35930,7 +36487,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
35930
36487
  }
35931
36488
  };
35932
36489
 
35933
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
36490
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
35934
36491
  var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
35935
36492
  constructor() {
35936
36493
  super(...arguments);
@@ -35955,7 +36512,7 @@ var factory = {
35955
36512
  create: () => new InvalidBananaInBoxCheck()
35956
36513
  };
35957
36514
 
35958
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
36515
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
35959
36516
  var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
35960
36517
  ["ngIf", "NgIf"],
35961
36518
  ["ngFor", "NgFor"],
@@ -35999,7 +36556,7 @@ var factory2 = {
35999
36556
  }
36000
36557
  };
36001
36558
 
36002
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
36559
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
36003
36560
  var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
36004
36561
  constructor() {
36005
36562
  super(...arguments);
@@ -36031,7 +36588,7 @@ var factory3 = {
36031
36588
  create: () => new MissingNgForOfLetCheck()
36032
36589
  };
36033
36590
 
36034
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
36591
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
36035
36592
  var import_typescript87 = __toESM(require("typescript"), 1);
36036
36593
  var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
36037
36594
  constructor() {
@@ -36075,7 +36632,7 @@ var factory4 = {
36075
36632
  }
36076
36633
  };
36077
36634
 
36078
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
36635
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
36079
36636
  var import_typescript88 = __toESM(require("typescript"), 1);
36080
36637
  var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
36081
36638
  constructor() {
@@ -36120,7 +36677,7 @@ var factory5 = {
36120
36677
  }
36121
36678
  };
36122
36679
 
36123
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
36680
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
36124
36681
  var STYLE_SUFFIXES = ["px", "%", "em"];
36125
36682
  var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
36126
36683
  constructor() {
@@ -36143,7 +36700,7 @@ var factory6 = {
36143
36700
  create: () => new SuffixNotSupportedCheck()
36144
36701
  };
36145
36702
 
36146
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
36703
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
36147
36704
  var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
36148
36705
  constructor() {
36149
36706
  super(...arguments);
@@ -36181,10 +36738,10 @@ var factory7 = {
36181
36738
  create: () => new TextAttributeNotBindingSpec()
36182
36739
  };
36183
36740
 
36184
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
36741
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
36185
36742
  var import_typescript89 = __toESM(require("typescript"), 1);
36186
36743
 
36187
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
36744
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
36188
36745
  var DiagnosticCategoryLabel;
36189
36746
  (function(DiagnosticCategoryLabel2) {
36190
36747
  DiagnosticCategoryLabel2["Warning"] = "warning";
@@ -36192,14 +36749,14 @@ var DiagnosticCategoryLabel;
36192
36749
  DiagnosticCategoryLabel2["Suppress"] = "suppress";
36193
36750
  })(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
36194
36751
 
36195
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
36752
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
36196
36753
  var ExtendedTemplateCheckerImpl = class {
36197
36754
  constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
36198
- var _a2, _b, _c, _d, _e;
36755
+ var _a2, _b2, _c2, _d2, _e2;
36199
36756
  this.partialCtx = { templateTypeChecker, typeChecker };
36200
36757
  this.templateChecks = /* @__PURE__ */ new Map();
36201
36758
  for (const factory8 of templateCheckFactories) {
36202
- const category = diagnosticLabelToCategory((_e = (_d = (_b = (_a2 = options == null ? void 0 : options.extendedDiagnostics) == null ? void 0 : _a2.checks) == null ? void 0 : _b[factory8.name]) != null ? _d : (_c = options == null ? void 0 : options.extendedDiagnostics) == null ? void 0 : _c.defaultCategory) != null ? _e : DiagnosticCategoryLabel.Warning);
36759
+ const category = diagnosticLabelToCategory((_e2 = (_d2 = (_b2 = (_a2 = options == null ? void 0 : options.extendedDiagnostics) == null ? void 0 : _a2.checks) == null ? void 0 : _b2[factory8.name]) != null ? _d2 : (_c2 = options == null ? void 0 : options.extendedDiagnostics) == null ? void 0 : _c2.defaultCategory) != null ? _e2 : DiagnosticCategoryLabel.Warning);
36203
36760
  if (category === null) {
36204
36761
  continue;
36205
36762
  }
@@ -36244,7 +36801,7 @@ function assertNever(value) {
36244
36801
  ${value}`);
36245
36802
  }
36246
36803
 
36247
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
36804
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
36248
36805
  var ALL_DIAGNOSTIC_FACTORIES = [
36249
36806
  factory,
36250
36807
  factory4,
@@ -36255,7 +36812,7 @@ var ALL_DIAGNOSTIC_FACTORIES = [
36255
36812
  factory6
36256
36813
  ];
36257
36814
 
36258
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
36815
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
36259
36816
  var CompilationTicketKind;
36260
36817
  (function(CompilationTicketKind2) {
36261
36818
  CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
@@ -36511,7 +37068,7 @@ var NgCompiler = class {
36511
37068
  defaultImportTracker.importPreservingTransformer()
36512
37069
  ];
36513
37070
  const afterDeclarations = [];
36514
- if (compilation.dtsTransforms !== null) {
37071
+ if (this.options.compilationMode !== "experimental-local" && compilation.dtsTransforms !== null) {
36515
37072
  afterDeclarations.push(declarationTransformFactory(compilation.dtsTransforms, compilation.reflector, compilation.refEmitter, importRewriter));
36516
37073
  }
36517
37074
  if (compilation.aliasingHost !== null && compilation.aliasingHost.aliasExportsInDts) {
@@ -36841,7 +37398,7 @@ function getR3SymbolsFile(program) {
36841
37398
  return program.getSourceFiles().find((file) => file.fileName.indexOf("r3_symbols.ts") >= 0) || null;
36842
37399
  }
36843
37400
  function* verifyCompatibleTypeCheckOptions(options) {
36844
- var _a2, _b, _c;
37401
+ var _a2, _b2, _c2;
36845
37402
  if (options.fullTemplateTypeCheck === false && options.strictTemplates === true) {
36846
37403
  yield makeConfigDiagnostic({
36847
37404
  category: import_typescript90.default.DiagnosticCategory.Error,
@@ -36891,7 +37448,7 @@ ${allowedCategoryLabels.join("\n")}
36891
37448
  });
36892
37449
  }
36893
37450
  const allExtendedDiagnosticNames = ALL_DIAGNOSTIC_FACTORIES.map((factory8) => factory8.name);
36894
- for (const [checkName, category] of Object.entries((_c = (_b = options.extendedDiagnostics) == null ? void 0 : _b.checks) != null ? _c : {})) {
37451
+ for (const [checkName, category] of Object.entries((_c2 = (_b2 = options.extendedDiagnostics) == null ? void 0 : _b2.checks) != null ? _c2 : {})) {
36895
37452
  if (!allExtendedDiagnosticNames.includes(checkName)) {
36896
37453
  yield makeConfigDiagnostic({
36897
37454
  category: import_typescript90.default.DiagnosticCategory.Error,
@@ -36974,7 +37531,7 @@ function versionMapFromProgram(program, driver) {
36974
37531
  return versions;
36975
37532
  }
36976
37533
 
36977
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
37534
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
36978
37535
  var import_typescript92 = __toESM(require("typescript"), 1);
36979
37536
  var DelegatingCompilerHost2 = class {
36980
37537
  constructor(delegate) {
@@ -37107,7 +37664,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
37107
37664
  }
37108
37665
  };
37109
37666
 
37110
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
37667
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
37111
37668
  var NgtscProgram = class {
37112
37669
  constructor(rootNames, options, delegateHost, oldProgram) {
37113
37670
  this.options = options;
@@ -37231,10 +37788,10 @@ var NgtscProgram = class {
37231
37788
  return [];
37232
37789
  }
37233
37790
  emitXi18n() {
37234
- var _a2, _b, _c;
37791
+ var _a2, _b2, _c2;
37235
37792
  const ctx = new MessageBundle(new HtmlParser(), [], {}, (_a2 = this.options.i18nOutLocale) != null ? _a2 : null);
37236
37793
  this.compiler.xi18n(ctx);
37237
- i18nExtract((_b = this.options.i18nOutFormat) != null ? _b : null, (_c = this.options.i18nOutFile) != null ? _c : null, this.host, this.options, ctx, resolve);
37794
+ i18nExtract((_b2 = this.options.i18nOutFormat) != null ? _b2 : null, (_c2 = this.options.i18nOutFile) != null ? _c2 : null, this.host, this.options, ctx, resolve);
37238
37795
  }
37239
37796
  emit(opts) {
37240
37797
  var _a2;
@@ -37325,21 +37882,21 @@ function mergeEmitResults(emitResults) {
37325
37882
  return { diagnostics, emitSkipped, emittedFiles };
37326
37883
  }
37327
37884
 
37328
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
37885
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
37329
37886
  function createProgram({ rootNames, options, host, oldProgram }) {
37330
37887
  return new NgtscProgram(rootNames, options, host, oldProgram);
37331
37888
  }
37332
37889
 
37333
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
37890
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
37334
37891
  var import_typescript96 = __toESM(require("typescript"), 1);
37335
37892
 
37336
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
37893
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
37337
37894
  var import_typescript95 = __toESM(require("typescript"), 1);
37338
37895
 
37339
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
37896
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
37340
37897
  var import_typescript97 = __toESM(require("typescript"), 1);
37341
37898
 
37342
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
37899
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
37343
37900
  var GLOBAL_DEFS_FOR_TERSER = {
37344
37901
  ngDevMode: false,
37345
37902
  ngI18nClosureMode: false
@@ -37348,7 +37905,7 @@ var GLOBAL_DEFS_FOR_TERSER_WITH_AOT = __spreadProps(__spreadValues({}, GLOBAL_DE
37348
37905
  ngJitMode: false
37349
37906
  });
37350
37907
 
37351
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
37908
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
37352
37909
  var LogLevel;
37353
37910
  (function(LogLevel2) {
37354
37911
  LogLevel2[LogLevel2["debug"] = 0] = "debug";
@@ -37357,7 +37914,7 @@ var LogLevel;
37357
37914
  LogLevel2[LogLevel2["error"] = 3] = "error";
37358
37915
  })(LogLevel || (LogLevel = {}));
37359
37916
 
37360
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
37917
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
37361
37918
  var RESET = "\x1B[0m";
37362
37919
  var RED = "\x1B[31m";
37363
37920
  var YELLOW = "\x1B[33m";
@@ -37366,18 +37923,18 @@ var DEBUG = `${BLUE}Debug:${RESET}`;
37366
37923
  var WARN = `${YELLOW}Warning:${RESET}`;
37367
37924
  var ERROR = `${RED}Error:${RESET}`;
37368
37925
 
37369
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/index.mjs
37926
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/index.mjs
37370
37927
  setFileSystem(new NodeJSFileSystem());
37371
37928
 
37372
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
37929
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
37373
37930
  var import_fs2 = require("fs");
37374
37931
  var import_path8 = require("path");
37375
37932
  var import_typescript110 = __toESM(require("typescript"), 1);
37376
37933
 
37377
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
37934
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
37378
37935
  var import_typescript99 = __toESM(require("typescript"), 1);
37379
37936
 
37380
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
37937
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
37381
37938
  var import_path4 = require("path");
37382
37939
  var import_typescript98 = __toESM(require("typescript"), 1);
37383
37940
  var ImportManager2 = class {
@@ -37561,7 +38118,7 @@ ${text2}`;
37561
38118
  }
37562
38119
  };
37563
38120
 
37564
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
38121
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
37565
38122
  var ChangeTracker = class {
37566
38123
  constructor(_printer, _importRemapper) {
37567
38124
  __publicField(this, "_printer");
@@ -37617,7 +38174,7 @@ function normalizePath(path3) {
37617
38174
  return path3.replace(/\\/g, "/");
37618
38175
  }
37619
38176
 
37620
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
38177
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
37621
38178
  var import_core13 = require("@angular-devkit/core");
37622
38179
  function getProjectTsConfigPaths(tree) {
37623
38180
  return __async(this, null, function* () {
@@ -37697,11 +38254,11 @@ function getWorkspace(tree) {
37697
38254
  });
37698
38255
  }
37699
38256
 
37700
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
38257
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
37701
38258
  var import_path5 = require("path");
37702
38259
  var import_typescript101 = __toESM(require("typescript"), 1);
37703
38260
 
37704
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
38261
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
37705
38262
  var path2 = __toESM(require("path"), 1);
37706
38263
  var import_typescript100 = __toESM(require("typescript"), 1);
37707
38264
  function parseTsconfigFile(tsconfigPath, basePath) {
@@ -37718,7 +38275,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
37718
38275
  return import_typescript100.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
37719
38276
  }
37720
38277
 
37721
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
38278
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
37722
38279
  function createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles, optionOverrides) {
37723
38280
  tsconfigPath = (0, import_path5.resolve)(basePath, tsconfigPath);
37724
38281
  const parsed = parseTsconfigFile(tsconfigPath, (0, import_path5.dirname)(tsconfigPath));
@@ -37747,13 +38304,13 @@ function canMigrateFile(basePath, sourceFile, program) {
37747
38304
  return !(0, import_path5.relative)(basePath, sourceFile.fileName).startsWith("..");
37748
38305
  }
37749
38306
 
37750
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
38307
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
37751
38308
  var import_typescript106 = __toESM(require("typescript"), 1);
37752
38309
 
37753
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
38310
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
37754
38311
  var import_typescript103 = __toESM(require("typescript"), 1);
37755
38312
 
37756
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
38313
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
37757
38314
  var import_typescript102 = __toESM(require("typescript"), 1);
37758
38315
  function getImportOfIdentifier(typeChecker, node) {
37759
38316
  const symbol = typeChecker.getSymbolAtLocation(node);
@@ -37804,7 +38361,7 @@ function findImportSpecifier(nodes, specifierName) {
37804
38361
  });
37805
38362
  }
37806
38363
 
37807
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
38364
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
37808
38365
  function getCallDecoratorImport(typeChecker, decorator) {
37809
38366
  if (!import_typescript103.default.isCallExpression(decorator.expression) || !import_typescript103.default.isIdentifier(decorator.expression.expression)) {
37810
38367
  return null;
@@ -37813,7 +38370,7 @@ function getCallDecoratorImport(typeChecker, decorator) {
37813
38370
  return getImportOfIdentifier(typeChecker, identifier);
37814
38371
  }
37815
38372
 
37816
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/ng_decorators.mjs
38373
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/ng_decorators.mjs
37817
38374
  function getAngularDecorators(typeChecker, decorators) {
37818
38375
  return decorators.map((node) => ({ node, importData: getCallDecoratorImport(typeChecker, node) })).filter(({ importData }) => importData && importData.importModule.startsWith("@angular/")).map(({ node, importData }) => ({
37819
38376
  node,
@@ -37823,7 +38380,7 @@ function getAngularDecorators(typeChecker, decorators) {
37823
38380
  }));
37824
38381
  }
37825
38382
 
37826
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs
38383
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs
37827
38384
  var import_typescript104 = __toESM(require("typescript"), 1);
37828
38385
  function closestNode(node, predicate) {
37829
38386
  let current = node.parent;
@@ -37836,7 +38393,7 @@ function closestNode(node, predicate) {
37836
38393
  return null;
37837
38394
  }
37838
38395
 
37839
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/util.mjs
38396
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/util.mjs
37840
38397
  var import_path6 = require("path");
37841
38398
  var import_typescript105 = __toESM(require("typescript"), 1);
37842
38399
  var UniqueItemTracker = class {
@@ -37978,8 +38535,8 @@ function offsetsToNodes(lookup, offsets, results) {
37978
38535
  return results;
37979
38536
  }
37980
38537
  function findClassDeclaration(reference2, typeChecker) {
37981
- var _a2, _b;
37982
- return ((_b = (_a2 = typeChecker.getTypeAtLocation(reference2).getSymbol()) == null ? void 0 : _a2.declarations) == null ? void 0 : _b.find(import_typescript105.default.isClassDeclaration)) || null;
38538
+ var _a2, _b2;
38539
+ return ((_b2 = (_a2 = typeChecker.getTypeAtLocation(reference2).getSymbol()) == null ? void 0 : _a2.declarations) == null ? void 0 : _b2.find(import_typescript105.default.isClassDeclaration)) || null;
37983
38540
  }
37984
38541
  function findLiteralProperty(literal3, name) {
37985
38542
  return literal3.properties.find((prop) => prop.name && import_typescript105.default.isIdentifier(prop.name) && prop.name.text === name);
@@ -38012,7 +38569,7 @@ function isClassReferenceInAngularModule(node, className, moduleName, typeChecke
38012
38569
  }));
38013
38570
  }
38014
38571
 
38015
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
38572
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
38016
38573
  function pruneNgModules(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles) {
38017
38574
  const filesToRemove = /* @__PURE__ */ new Set();
38018
38575
  const tracker = new ChangeTracker(printer, importRemapper);
@@ -38029,12 +38586,12 @@ function pruneNgModules(program, host, basePath, rootFileNames, sourceFiles, pri
38029
38586
  const barrelExports = new UniqueItemTracker();
38030
38587
  const nodesToRemove = /* @__PURE__ */ new Set();
38031
38588
  sourceFiles.forEach(function walk(node) {
38032
- var _a2, _b;
38589
+ var _a2, _b2;
38033
38590
  if (import_typescript106.default.isClassDeclaration(node) && canRemoveClass(node, typeChecker)) {
38034
38591
  collectRemovalLocations(node, removalLocations, referenceResolver, program);
38035
38592
  classesToRemove.add(node);
38036
38593
  } else if (import_typescript106.default.isExportDeclaration(node) && !node.exportClause && node.moduleSpecifier && import_typescript106.default.isStringLiteralLike(node.moduleSpecifier) && node.moduleSpecifier.text.startsWith(".")) {
38037
- const exportedSourceFile = (_b = (_a2 = typeChecker.getSymbolAtLocation(node.moduleSpecifier)) == null ? void 0 : _a2.valueDeclaration) == null ? void 0 : _b.getSourceFile();
38594
+ const exportedSourceFile = (_b2 = (_a2 = typeChecker.getSymbolAtLocation(node.moduleSpecifier)) == null ? void 0 : _a2.valueDeclaration) == null ? void 0 : _b2.getSourceFile();
38038
38595
  if (exportedSourceFile) {
38039
38596
  barrelExports.track(exportedSourceFile, node);
38040
38597
  }
@@ -38211,23 +38768,23 @@ function findNgModuleDecorator(node, typeChecker) {
38211
38768
  return decorators.find((decorator) => decorator.name === "NgModule") || null;
38212
38769
  }
38213
38770
 
38214
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
38771
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
38215
38772
  var import_path7 = require("path");
38216
38773
  var import_typescript109 = __toESM(require("typescript"), 1);
38217
38774
 
38218
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
38775
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
38219
38776
  var import_typescript108 = __toESM(require("typescript"), 1);
38220
38777
 
38221
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/symbol.mjs
38778
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/symbol.mjs
38222
38779
  var import_typescript107 = __toESM(require("typescript"), 1);
38223
38780
  function isReferenceToImport(typeChecker, node, importSpecifier) {
38224
- var _a2, _b;
38781
+ var _a2, _b2;
38225
38782
  const nodeSymbol = typeChecker.getTypeAtLocation(node).getSymbol();
38226
38783
  const importSymbol = typeChecker.getTypeAtLocation(importSpecifier).getSymbol();
38227
- return !!(((_a2 = nodeSymbol == null ? void 0 : nodeSymbol.declarations) == null ? void 0 : _a2[0]) && ((_b = importSymbol == null ? void 0 : importSymbol.declarations) == null ? void 0 : _b[0])) && nodeSymbol.declarations[0] === importSymbol.declarations[0];
38784
+ 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];
38228
38785
  }
38229
38786
 
38230
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
38787
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
38231
38788
  function toStandalone(sourceFiles, program, printer, fileImportRemapper, componentImportRemapper) {
38232
38789
  const templateTypeChecker = program.compiler.getTemplateTypeChecker();
38233
38790
  const typeChecker = program.getTsProgram().getTypeChecker();
@@ -38469,9 +39026,9 @@ function findTemplateDependencies(decl, typeChecker) {
38469
39026
  }
38470
39027
  if (usedPipes !== null) {
38471
39028
  const potentialPipes = typeChecker.getPotentialPipes(decl);
38472
- for (const pipe of potentialPipes) {
38473
- if (import_typescript108.default.isClassDeclaration(pipe.ref.node) && usedPipes.some((current) => pipe.name === current)) {
38474
- results.push(pipe.ref);
39029
+ for (const pipe2 of potentialPipes) {
39030
+ if (import_typescript108.default.isClassDeclaration(pipe2.ref.node) && usedPipes.some((current) => pipe2.name === current)) {
39031
+ results.push(pipe2.ref);
38475
39032
  }
38476
39033
  }
38477
39034
  }
@@ -38590,7 +39147,7 @@ function isStandaloneDeclaration(node, declarationsInMigration, templateTypeChec
38590
39147
  return metadata != null && metadata.isStandalone;
38591
39148
  }
38592
39149
 
38593
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
39150
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
38594
39151
  function toStandaloneBootstrap(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles, componentImportRemapper) {
38595
39152
  const tracker = new ChangeTracker(printer, importRemapper);
38596
39153
  const typeChecker = program.getTsProgram().getTypeChecker();
@@ -38967,7 +39524,7 @@ function hasImport(program, rootFileNames, moduleName) {
38967
39524
  return false;
38968
39525
  }
38969
39526
 
38970
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
39527
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
38971
39528
  var MigrationMode;
38972
39529
  (function(MigrationMode2) {
38973
39530
  MigrationMode2["toStandalone"] = "convert-to-standalone";