@angular/core 15.1.0-next.3 → 15.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 (74) hide show
  1. package/esm2020/src/application_ref.mjs +2 -2
  2. package/esm2020/src/di/injector_compatibility.mjs +2 -2
  3. package/esm2020/src/errors.mjs +1 -1
  4. package/esm2020/src/linker/view_ref.mjs +1 -1
  5. package/esm2020/src/render3/i18n/i18n_parse.mjs +17 -2
  6. package/esm2020/src/util/global.mjs +1 -1
  7. package/esm2020/src/version.mjs +1 -1
  8. package/esm2020/testing/src/component_fixture.mjs +1 -1
  9. package/esm2020/testing/src/logger.mjs +7 -7
  10. package/esm2020/testing/src/ng_zone_mock.mjs +3 -3
  11. package/fesm2015/core.mjs +101 -1558
  12. package/fesm2015/core.mjs.map +1 -1
  13. package/fesm2015/testing.mjs +78 -1333
  14. package/fesm2015/testing.mjs.map +1 -1
  15. package/fesm2020/core.mjs +103 -1582
  16. package/fesm2020/core.mjs.map +1 -1
  17. package/fesm2020/testing.mjs +80 -1357
  18. package/fesm2020/testing.mjs.map +1 -1
  19. package/index.d.ts +3 -3
  20. package/package.json +1 -1
  21. package/schematics/migrations/relative-link-resolution/bundle.js +265 -0
  22. package/schematics/migrations/relative-link-resolution/bundle.js.map +7 -0
  23. package/schematics/migrations/relative-link-resolution/bundle_metadata.json +1 -0
  24. package/schematics/migrations/router-link-with-href/bundle.js +350 -0
  25. package/schematics/migrations/router-link-with-href/bundle.js.map +7 -0
  26. package/schematics/migrations/router-link-with-href/bundle_metadata.json +1 -0
  27. package/schematics/migrations.json +2 -2
  28. package/testing/index.d.ts +1 -1
  29. package/esm2020/src/render3/util/debug_utils.mjs +0 -40
  30. package/esm2020/testing/src/lang_utils.mjs +0 -14
  31. package/schematics/migrations/relative-link-resolution/index.d.ts +0 -10
  32. package/schematics/migrations/relative-link-resolution/index.js +0 -68
  33. package/schematics/migrations/relative-link-resolution/util.d.ts +0 -20
  34. package/schematics/migrations/relative-link-resolution/util.js +0 -82
  35. package/schematics/migrations/router-link-with-href/index.d.ts +0 -10
  36. package/schematics/migrations/router-link-with-href/index.js +0 -70
  37. package/schematics/migrations/router-link-with-href/util.d.ts +0 -19
  38. package/schematics/migrations/router-link-with-href/util.js +0 -111
  39. package/schematics/utils/import_manager.d.ts +0 -57
  40. package/schematics/utils/import_manager.js +0 -234
  41. package/schematics/utils/line_mappings.d.ts +0 -18
  42. package/schematics/utils/line_mappings.js +0 -75
  43. package/schematics/utils/load_esm.d.ts +0 -32
  44. package/schematics/utils/load_esm.js +0 -79
  45. package/schematics/utils/ng_component_template.d.ts +0 -44
  46. package/schematics/utils/ng_component_template.js +0 -131
  47. package/schematics/utils/ng_decorators.d.ts +0 -23
  48. package/schematics/utils/ng_decorators.js +0 -37
  49. package/schematics/utils/parse_html.d.ts +0 -14
  50. package/schematics/utils/parse_html.js +0 -37
  51. package/schematics/utils/project_tsconfig_paths.d.ts +0 -17
  52. package/schematics/utils/project_tsconfig_paths.js +0 -122
  53. package/schematics/utils/template_ast_visitor.d.ts +0 -55
  54. package/schematics/utils/template_ast_visitor.js +0 -73
  55. package/schematics/utils/typescript/class_declaration.d.ts +0 -15
  56. package/schematics/utils/typescript/class_declaration.js +0 -52
  57. package/schematics/utils/typescript/compiler_host.d.ts +0 -34
  58. package/schematics/utils/typescript/compiler_host.js +0 -85
  59. package/schematics/utils/typescript/decorators.d.ts +0 -11
  60. package/schematics/utils/typescript/decorators.js +0 -37
  61. package/schematics/utils/typescript/find_base_classes.d.ts +0 -14
  62. package/schematics/utils/typescript/find_base_classes.js +0 -47
  63. package/schematics/utils/typescript/functions.d.ts +0 -17
  64. package/schematics/utils/typescript/functions.js +0 -46
  65. package/schematics/utils/typescript/imports.d.ts +0 -53
  66. package/schematics/utils/typescript/imports.js +0 -128
  67. package/schematics/utils/typescript/nodes.d.ts +0 -20
  68. package/schematics/utils/typescript/nodes.js +0 -77
  69. package/schematics/utils/typescript/parse_tsconfig.d.ts +0 -10
  70. package/schematics/utils/typescript/parse_tsconfig.js +0 -66
  71. package/schematics/utils/typescript/property_name.d.ts +0 -19
  72. package/schematics/utils/typescript/property_name.js +0 -41
  73. package/schematics/utils/typescript/symbol.d.ts +0 -19
  74. package/schematics/utils/typescript/symbol.js +0 -93
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v15.1.0-next.3
2
+ * @license Angular v15.1.0-rc.0
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -8,13 +8,6 @@ import { getDebugNode, RendererFactory2 as RendererFactory2$1, InjectionToken as
8
8
  import { ResourceLoader } from '@angular/compiler';
9
9
  import { Subject, Subscription } from 'rxjs';
10
10
 
11
- /**
12
- * @license
13
- * Copyright Google LLC All Rights Reserved.
14
- *
15
- * Use of this source code is governed by an MIT-style license that can be
16
- * found in the LICENSE file at https://angular.io/license
17
- */
18
11
  /**
19
12
  * Wraps a test function in an asynchronous test zone. The test will automatically
20
13
  * complete when all asynchronous calls within this zone are done. Can be used
@@ -58,13 +51,6 @@ function async(fn) {
58
51
  return waitForAsync(fn);
59
52
  }
60
53
 
61
- /**
62
- * @license
63
- * Copyright Google LLC All Rights Reserved.
64
- *
65
- * Use of this source code is governed by an MIT-style license that can be
66
- * found in the LICENSE file at https://angular.io/license
67
- */
68
54
  /**
69
55
  * Fixture for debugging and testing a component.
70
56
  *
@@ -249,13 +235,6 @@ function scheduleMicroTask(fn) {
249
235
  Zone.current.scheduleMicroTask('scheduleMicrotask', fn);
250
236
  }
251
237
 
252
- /**
253
- * @license
254
- * Copyright Google LLC All Rights Reserved.
255
- *
256
- * Use of this source code is governed by an MIT-style license that can be
257
- * found in the LICENSE file at https://angular.io/license
258
- */
259
238
  const _Zone = typeof Zone !== 'undefined' ? Zone : null;
260
239
  const fakeAsyncTestModule = _Zone && _Zone[_Zone.__symbol__('fakeAsyncTest')];
261
240
  const fakeAsyncTestModuleNotLoadedErrorMessage = `zone-testing.js is needed for the fakeAsync() test helper but could not be found.
@@ -413,13 +392,6 @@ function flushMicrotasks() {
413
392
  throw new Error(fakeAsyncTestModuleNotLoadedErrorMessage);
414
393
  }
415
394
 
416
- /**
417
- * @license
418
- * Copyright Google LLC All Rights Reserved.
419
- *
420
- * Use of this source code is governed by an MIT-style license that can be
421
- * found in the LICENSE file at https://angular.io/license
422
- */
423
395
  /** Whether test modules should be torn down by default. */
424
396
  const TEARDOWN_TESTING_MODULE_ON_DESTROY_DEFAULT = true;
425
397
  /** Whether unknown elements in templates should throw by default. */
@@ -444,13 +416,6 @@ const ComponentFixtureAutoDetect = new InjectionToken$1('ComponentFixtureAutoDet
444
416
  */
445
417
  const ComponentFixtureNoNgZone = new InjectionToken$1('ComponentFixtureNoNgZone');
446
418
 
447
- /**
448
- * @license
449
- * Copyright Google LLC All Rights Reserved.
450
- *
451
- * Use of this source code is governed by an MIT-style license that can be
452
- * found in the LICENSE file at https://angular.io/license
453
- */
454
419
  /**
455
420
  * Used to resolve resource URLs on `@Component` when used with JIT compilation.
456
421
  *
@@ -558,13 +523,6 @@ function componentDefResolved(type) {
558
523
  componentDefPendingResolution.delete(type);
559
524
  }
560
525
 
561
- /**
562
- * @license
563
- * Copyright Google LLC All Rights Reserved.
564
- *
565
- * Use of this source code is governed by an MIT-style license that can be
566
- * found in the LICENSE file at https://angular.io/license
567
- */
568
526
  // Always use __globalThis if available, which is the spec-defined global variable across all
569
527
  // environments, then fallback to __global first, because in Node tests both __global and
570
528
  // __window may be defined and _global should be __global in that case. Note: Typeof/Instanceof
@@ -575,13 +533,6 @@ const _global$1 = ( /* @__PURE__ */(() => (typeof globalThis !== 'undefined' &&
575
533
  (typeof self !== 'undefined' && typeof WorkerGlobalScope !== 'undefined' &&
576
534
  self instanceof WorkerGlobalScope && self))());
577
535
 
578
- /**
579
- * @license
580
- * Copyright Google LLC All Rights Reserved.
581
- *
582
- * Use of this source code is governed by an MIT-style license that can be
583
- * found in the LICENSE file at https://angular.io/license
584
- */
585
536
  var FactoryTarget;
586
537
  (function (FactoryTarget) {
587
538
  FactoryTarget[FactoryTarget["Directive"] = 0] = "Directive";
@@ -604,13 +555,6 @@ var ViewEncapsulation$1;
604
555
  ViewEncapsulation[ViewEncapsulation["ShadowDom"] = 3] = "ShadowDom";
605
556
  })(ViewEncapsulation$1 || (ViewEncapsulation$1 = {}));
606
557
 
607
- /**
608
- * @license
609
- * Copyright Google LLC All Rights Reserved.
610
- *
611
- * Use of this source code is governed by an MIT-style license that can be
612
- * found in the LICENSE file at https://angular.io/license
613
- */
614
558
  function getCompilerFacade(request) {
615
559
  const globalNg = _global$1['ng'];
616
560
  if (globalNg && globalNg.ɵcompilerFacade) {
@@ -645,13 +589,6 @@ function getCompilerFacade(request) {
645
589
  }
646
590
  }
647
591
 
648
- /**
649
- * @license
650
- * Copyright Google LLC All Rights Reserved.
651
- *
652
- * Use of this source code is governed by an MIT-style license that can be
653
- * found in the LICENSE file at https://angular.io/license
654
- */
655
592
  function getClosureSafeProperty(objWithPropertyToExtract) {
656
593
  for (let key in objWithPropertyToExtract) {
657
594
  if (objWithPropertyToExtract[key] === getClosureSafeProperty) {
@@ -674,13 +611,6 @@ function fillProperties(target, source) {
674
611
  }
675
612
  }
676
613
 
677
- /**
678
- * @license
679
- * Copyright Google LLC All Rights Reserved.
680
- *
681
- * Use of this source code is governed by an MIT-style license that can be
682
- * found in the LICENSE file at https://angular.io/license
683
- */
684
614
  function stringify(token) {
685
615
  if (typeof token === 'string') {
686
616
  return token;
@@ -718,13 +648,6 @@ function concatStringsWithSpace(before, after) {
718
648
  ((after == null || after === '') ? before : before + ' ' + after);
719
649
  }
720
650
 
721
- /**
722
- * @license
723
- * Copyright Google LLC All Rights Reserved.
724
- *
725
- * Use of this source code is governed by an MIT-style license that can be
726
- * found in the LICENSE file at https://angular.io/license
727
- */
728
651
  const __forward_ref__ = getClosureSafeProperty({ __forward_ref__: getClosureSafeProperty });
729
652
  /**
730
653
  * Allows to refer to references which are not yet defined.
@@ -767,13 +690,6 @@ function isForwardRef(fn) {
767
690
  fn.__forward_ref__ === forwardRef;
768
691
  }
769
692
 
770
- /**
771
- * @license
772
- * Copyright Google LLC All Rights Reserved.
773
- *
774
- * Use of this source code is governed by an MIT-style license that can be
775
- * found in the LICENSE file at https://angular.io/license
776
- */
777
693
  /**
778
694
  * Construct an injectable definition which defines how a token will be constructed by the DI
779
695
  * system, and in which injectors (if any) it will be available.
@@ -896,13 +812,6 @@ const NG_INJ_DEF = getClosureSafeProperty({ ɵinj: getClosureSafeProperty });
896
812
  const NG_INJECTABLE_DEF = getClosureSafeProperty({ ngInjectableDef: getClosureSafeProperty });
897
813
  const NG_INJECTOR_DEF = getClosureSafeProperty({ ngInjectorDef: getClosureSafeProperty });
898
814
 
899
- /**
900
- * @license
901
- * Copyright Google LLC All Rights Reserved.
902
- *
903
- * Use of this source code is governed by an MIT-style license that can be
904
- * found in the LICENSE file at https://angular.io/license
905
- */
906
815
  /**
907
816
  * Base URL for the error details page.
908
817
  *
@@ -916,13 +825,6 @@ const ERROR_DETAILS_PAGE_BASE_URL = 'https://angular.io/errors';
916
825
  */
917
826
  const XSS_SECURITY_URL = 'https://g.co/ng/security#xss';
918
827
 
919
- /**
920
- * @license
921
- * Copyright Google LLC All Rights Reserved.
922
- *
923
- * Use of this source code is governed by an MIT-style license that can be
924
- * found in the LICENSE file at https://angular.io/license
925
- */
926
828
  /**
927
829
  * Class that represents a runtime error.
928
830
  * Formats and outputs the error message in a consistent way.
@@ -963,13 +865,6 @@ function formatRuntimeError(code, message) {
963
865
  return errorMessage;
964
866
  }
965
867
 
966
- /**
967
- * @license
968
- * Copyright Google LLC All Rights Reserved.
969
- *
970
- * Use of this source code is governed by an MIT-style license that can be
971
- * found in the LICENSE file at https://angular.io/license
972
- */
973
868
  /**
974
869
  * @description
975
870
  *
@@ -985,13 +880,7 @@ function isType(v) {
985
880
  return typeof v === 'function';
986
881
  }
987
882
 
988
- /**
989
- * @license
990
- * Copyright Google LLC All Rights Reserved.
991
- *
992
- * Use of this source code is governed by an MIT-style license that can be
993
- * found in the LICENSE file at https://angular.io/license
994
- */
883
+ // The functions in this file verify that the assumptions we are making
995
884
  function assertNumber(actual, msg) {
996
885
  if (!(typeof actual === 'number')) {
997
886
  throwError(msg, typeof actual, 'number', '===');
@@ -1087,13 +976,6 @@ function assertOneOf(value, ...validValues) {
1087
976
  throwError(`Expected value to be one of ${JSON.stringify(validValues)} but was ${JSON.stringify(value)}.`);
1088
977
  }
1089
978
 
1090
- /**
1091
- * @license
1092
- * Copyright Google LLC All Rights Reserved.
1093
- *
1094
- * Use of this source code is governed by an MIT-style license that can be
1095
- * found in the LICENSE file at https://angular.io/license
1096
- */
1097
979
  /**
1098
980
  * Determines if the contents of two arrays is identical
1099
981
  *
@@ -1351,13 +1233,6 @@ function _arrayIndexOfSorted(array, value, shift) {
1351
1233
  return ~(end << shift);
1352
1234
  }
1353
1235
 
1354
- /**
1355
- * @license
1356
- * Copyright Google LLC All Rights Reserved.
1357
- *
1358
- * Use of this source code is governed by an MIT-style license that can be
1359
- * found in the LICENSE file at https://angular.io/license
1360
- */
1361
1236
  /**
1362
1237
  * Convince closure compiler that the wrapped function has no side-effects.
1363
1238
  *
@@ -1371,13 +1246,6 @@ function noSideEffects(fn) {
1371
1246
  return { toString: fn }.toString();
1372
1247
  }
1373
1248
 
1374
- /**
1375
- * @license
1376
- * Copyright Google LLC All Rights Reserved.
1377
- *
1378
- * Use of this source code is governed by an MIT-style license that can be
1379
- * found in the LICENSE file at https://angular.io/license
1380
- */
1381
1249
  const ANNOTATIONS = '__annotations__';
1382
1250
  const PARAMETERS = '__parameters__';
1383
1251
  const PROP_METADATA = '__prop__metadata__';
@@ -1491,13 +1359,6 @@ function makePropDecorator(name, props, parentClass, additionalProcessing) {
1491
1359
  });
1492
1360
  }
1493
1361
 
1494
- /**
1495
- * @license
1496
- * Copyright Google LLC All Rights Reserved.
1497
- *
1498
- * Use of this source code is governed by an MIT-style license that can be
1499
- * found in the LICENSE file at https://angular.io/license
1500
- */
1501
1362
  /*
1502
1363
  * #########################
1503
1364
  * Attention: These Regular expressions have to hold even if the code is minified!
@@ -1749,13 +1610,6 @@ function getParentCtor(ctor) {
1749
1610
  return parentCtor || Object;
1750
1611
  }
1751
1612
 
1752
- /**
1753
- * @license
1754
- * Copyright Google LLC All Rights Reserved.
1755
- *
1756
- * Use of this source code is governed by an MIT-style license that can be
1757
- * found in the LICENSE file at https://angular.io/license
1758
- */
1759
1613
  function ngDevModeResetPerfCounters() {
1760
1614
  const locationString = typeof location !== 'undefined' ? location.toString() : '';
1761
1615
  const newCounters = {
@@ -1823,24 +1677,10 @@ function initNgDevMode() {
1823
1677
  return false;
1824
1678
  }
1825
1679
 
1826
- /**
1827
- * @license
1828
- * Copyright Google LLC All Rights Reserved.
1829
- *
1830
- * Use of this source code is governed by an MIT-style license that can be
1831
- * found in the LICENSE file at https://angular.io/license
1832
- */
1833
1680
  function isEnvironmentProviders(value) {
1834
1681
  return value && !!value.ɵproviders;
1835
1682
  }
1836
1683
 
1837
- /**
1838
- * @license
1839
- * Copyright Google LLC All Rights Reserved.
1840
- *
1841
- * Use of this source code is governed by an MIT-style license that can be
1842
- * found in the LICENSE file at https://angular.io/license
1843
- */
1844
1684
  /**
1845
1685
  * Used for stringify render output in Ivy.
1846
1686
  * Important! This function is very performance-sensitive and we should
@@ -1870,13 +1710,6 @@ function stringifyForError(value) {
1870
1710
  return renderStringify(value);
1871
1711
  }
1872
1712
 
1873
- /**
1874
- * @license
1875
- * Copyright Google LLC All Rights Reserved.
1876
- *
1877
- * Use of this source code is governed by an MIT-style license that can be
1878
- * found in the LICENSE file at https://angular.io/license
1879
- */
1880
1713
  /** Called when directives inject each other (creating a circular dependency) */
1881
1714
  function throwCyclicDependencyError(token, path) {
1882
1715
  const depPath = path ? `. Dependency path: ${path.join(' > ')} > ${token}` : '';
@@ -1908,13 +1741,6 @@ function throwProviderNotFoundError(token, injectorName) {
1908
1741
  throw new RuntimeError(-201 /* RuntimeErrorCode.PROVIDER_NOT_FOUND */, ngDevMode && `No provider for ${stringifyForError(token)} found${injectorDetails}`);
1909
1742
  }
1910
1743
 
1911
- /**
1912
- * @license
1913
- * Copyright Google LLC All Rights Reserved.
1914
- *
1915
- * Use of this source code is governed by an MIT-style license that can be
1916
- * found in the LICENSE file at https://angular.io/license
1917
- */
1918
1744
  /**
1919
1745
  * Injection flags for DI.
1920
1746
  *
@@ -1940,13 +1766,6 @@ var InjectFlags;
1940
1766
  InjectFlags[InjectFlags["Optional"] = 8] = "Optional";
1941
1767
  })(InjectFlags || (InjectFlags = {}));
1942
1768
 
1943
- /**
1944
- * @license
1945
- * Copyright Google LLC All Rights Reserved.
1946
- *
1947
- * Use of this source code is governed by an MIT-style license that can be
1948
- * found in the LICENSE file at https://angular.io/license
1949
- */
1950
1769
  /**
1951
1770
  * Current implementation of inject.
1952
1771
  *
@@ -1999,13 +1818,6 @@ function assertInjectImplementationNotEqual(fn) {
1999
1818
  assertNotEqual(_injectImplementation, fn, 'Calling ɵɵinject would cause infinite recursion');
2000
1819
  }
2001
1820
 
2002
- /**
2003
- * @license
2004
- * Copyright Google LLC All Rights Reserved.
2005
- *
2006
- * Use of this source code is governed by an MIT-style license that can be
2007
- * found in the LICENSE file at https://angular.io/license
2008
- */
2009
1821
  const _THROW_IF_NOT_FOUND = {};
2010
1822
  const THROW_IF_NOT_FOUND = _THROW_IF_NOT_FOUND;
2011
1823
  /*
@@ -2075,7 +1887,7 @@ Please check that 1) the type for the parameter at index ${index} is correct and
2075
1887
  * @param token A token that represents a dependency that should be injected.
2076
1888
  * @param flags Optional flags that control how injection is executed.
2077
1889
  * The flags correspond to injection strategies that can be specified with
2078
- * parameter decorators `@Host`, `@Self`, `@SkipSef`, and `@Optional`.
1890
+ * parameter decorators `@Host`, `@Self`, `@SkipSelf`, and `@Optional`.
2079
1891
  * @returns the injected value if operation is successful, `null` otherwise.
2080
1892
  * @throws if called outside of a supported context.
2081
1893
  *
@@ -2229,13 +2041,6 @@ function formatError(text, obj, injectorErrorName, source = null) {
2229
2041
  return `${injectorErrorName}${source ? '(' + source + ')' : ''}[${context}]: ${text.replace(NEW_LINE, '\n ')}`;
2230
2042
  }
2231
2043
 
2232
- /**
2233
- * @license
2234
- * Copyright Google LLC All Rights Reserved.
2235
- *
2236
- * Use of this source code is governed by an MIT-style license that can be
2237
- * found in the LICENSE file at https://angular.io/license
2238
- */
2239
2044
  /**
2240
2045
  * Inject decorator and metadata.
2241
2046
  *
@@ -2287,13 +2092,6 @@ const Host =
2287
2092
  // tslint:disable-next-line: no-toplevel-property-access
2288
2093
  attachInjectFlag(makeParamDecorator('Host'), 1 /* InternalInjectFlags.Host */);
2289
2094
 
2290
- /**
2291
- * @license
2292
- * Copyright Google LLC All Rights Reserved.
2293
- *
2294
- * Use of this source code is governed by an MIT-style license that can be
2295
- * found in the LICENSE file at https://angular.io/license
2296
- */
2297
2095
  /**
2298
2096
  * The strategy that the default change detector uses to detect changes.
2299
2097
  * When set, takes effect the next time change detection is triggered.
@@ -2366,13 +2164,6 @@ function isDefaultChangeDetectionStrategy(changeDetectionStrategy) {
2366
2164
  changeDetectionStrategy === ChangeDetectionStrategy.Default;
2367
2165
  }
2368
2166
 
2369
- /**
2370
- * @license
2371
- * Copyright Google LLC All Rights Reserved.
2372
- *
2373
- * Use of this source code is governed by an MIT-style license that can be
2374
- * found in the LICENSE file at https://angular.io/license
2375
- */
2376
2167
  /**
2377
2168
  * Defines the CSS styles encapsulation policies for the {@link Component} decorator's
2378
2169
  * `encapsulation` option.
@@ -2413,13 +2204,6 @@ var ViewEncapsulation;
2413
2204
  ViewEncapsulation[ViewEncapsulation["ShadowDom"] = 3] = "ShadowDom";
2414
2205
  })(ViewEncapsulation || (ViewEncapsulation = {}));
2415
2206
 
2416
- /**
2417
- * @license
2418
- * Copyright Google LLC All Rights Reserved.
2419
- *
2420
- * Use of this source code is governed by an MIT-style license that can be
2421
- * found in the LICENSE file at https://angular.io/license
2422
- */
2423
2207
  /**
2424
2208
  * This file contains reuseable "empty" symbols that can be used as default return values
2425
2209
  * in different parts of the rendering code. Because the same symbols are returned, this
@@ -2438,13 +2222,6 @@ if ((typeof ngDevMode === 'undefined' || ngDevMode) && initNgDevMode()) {
2438
2222
  Object.freeze(EMPTY_ARRAY);
2439
2223
  }
2440
2224
 
2441
- /**
2442
- * @license
2443
- * Copyright Google LLC All Rights Reserved.
2444
- *
2445
- * Use of this source code is governed by an MIT-style license that can be
2446
- * found in the LICENSE file at https://angular.io/license
2447
- */
2448
2225
  const NG_COMP_DEF = getClosureSafeProperty({ ɵcmp: getClosureSafeProperty });
2449
2226
  const NG_DIR_DEF = getClosureSafeProperty({ ɵdir: getClosureSafeProperty });
2450
2227
  const NG_PIPE_DEF = getClosureSafeProperty({ ɵpipe: getClosureSafeProperty });
@@ -2458,13 +2235,6 @@ const NG_FACTORY_DEF = getClosureSafeProperty({ ɵfac: getClosureSafeProperty })
2458
2235
  // TODO(misko): This is wrong. The NG_ELEMENT_ID should never be minified.
2459
2236
  const NG_ELEMENT_ID = getClosureSafeProperty({ __NG_ELEMENT_ID__: getClosureSafeProperty });
2460
2237
 
2461
- /**
2462
- * @license
2463
- * Copyright Google LLC All Rights Reserved.
2464
- *
2465
- * Use of this source code is governed by an MIT-style license that can be
2466
- * found in the LICENSE file at https://angular.io/license
2467
- */
2468
2238
  /** Counter used to generate unique IDs for component definitions. */
2469
2239
  let componentDefCount = 0;
2470
2240
  /**
@@ -2754,13 +2524,6 @@ function getNgModuleDef(type, throwNotFound) {
2754
2524
  return ngModuleDef;
2755
2525
  }
2756
2526
 
2757
- /**
2758
- * @license
2759
- * Copyright Google LLC All Rights Reserved.
2760
- *
2761
- * Use of this source code is governed by an MIT-style license that can be
2762
- * found in the LICENSE file at https://angular.io/license
2763
- */
2764
2527
  // Below are constants for LView indices to help us look up LView members
2765
2528
  // without having to remember the specific indices.
2766
2529
  // Uglify will inline these when minifying so there shouldn't be a cost.
@@ -2799,13 +2562,6 @@ const HEADER_OFFSET = 22;
2799
2562
  // failure based on types.
2800
2563
  const unusedValueExportToPlacateAjd$4 = 1;
2801
2564
 
2802
- /**
2803
- * @license
2804
- * Copyright Google LLC All Rights Reserved.
2805
- *
2806
- * Use of this source code is governed by an MIT-style license that can be
2807
- * found in the LICENSE file at https://angular.io/license
2808
- */
2809
2565
  /**
2810
2566
  * Special location which allows easy identification of type. If we have an array which was
2811
2567
  * retrieved from the `LView` and that array has `true` at `TYPE` location, we know it is
@@ -2844,13 +2600,6 @@ const CONTAINER_HEADER_OFFSET = 10;
2844
2600
  // failure based on types.
2845
2601
  const unusedValueExportToPlacateAjd$3 = 1;
2846
2602
 
2847
- /**
2848
- * @license
2849
- * Copyright Google LLC All Rights Reserved.
2850
- *
2851
- * Use of this source code is governed by an MIT-style license that can be
2852
- * found in the LICENSE file at https://angular.io/license
2853
- */
2854
2603
  /**
2855
2604
  * True if `value` is `LView`.
2856
2605
  * @param value wrapped value of `RNode`, `LView`, `LContainer`
@@ -2881,13 +2630,6 @@ function isRootView(target) {
2881
2630
  return (target[FLAGS] & 256 /* LViewFlags.IsRoot */) !== 0;
2882
2631
  }
2883
2632
 
2884
- /**
2885
- * @license
2886
- * Copyright Google LLC All Rights Reserved.
2887
- *
2888
- * Use of this source code is governed by an MIT-style license that can be
2889
- * found in the LICENSE file at https://angular.io/license
2890
- */
2891
2633
  // [Assert functions do not constraint type when they are guarded by a truthy
2892
2634
  // expression.](https://github.com/microsoft/TypeScript/issues/37295)
2893
2635
  function assertTNodeForLView(tNode, lView) {
@@ -2995,13 +2737,6 @@ function assertNodeInjector(lView, injectorIndex) {
2995
2737
  assertNumber(lView[injectorIndex + 8 /* NodeInjectorOffset.PARENT */], 'injectorIndex should point to parent injector');
2996
2738
  }
2997
2739
 
2998
- /**
2999
- * @license
3000
- * Copyright Google LLC All Rights Reserved.
3001
- *
3002
- * Use of this source code is governed by an MIT-style license that can be
3003
- * found in the LICENSE file at https://angular.io/license
3004
- */
3005
2740
  function getFactoryDef(type, throwNotFound) {
3006
2741
  const hasFactoryDef = type.hasOwnProperty(NG_FACTORY_DEF);
3007
2742
  if (!hasFactoryDef && throwNotFound === true && ngDevMode) {
@@ -3010,13 +2745,6 @@ function getFactoryDef(type, throwNotFound) {
3010
2745
  return hasFactoryDef ? type[NG_FACTORY_DEF] : null;
3011
2746
  }
3012
2747
 
3013
- /**
3014
- * @license
3015
- * Copyright Google LLC All Rights Reserved.
3016
- *
3017
- * Use of this source code is governed by an MIT-style license that can be
3018
- * found in the LICENSE file at https://angular.io/license
3019
- */
3020
2748
  /**
3021
2749
  * Represents a basic change from a previous to a new value for a single
3022
2750
  * property on a directive instance. Passed as a value in a
@@ -3040,13 +2768,6 @@ class SimpleChange {
3040
2768
  }
3041
2769
  }
3042
2770
 
3043
- /**
3044
- * @license
3045
- * Copyright Google LLC All Rights Reserved.
3046
- *
3047
- * Use of this source code is governed by an MIT-style license that can be
3048
- * found in the LICENSE file at https://angular.io/license
3049
- */
3050
2771
  /**
3051
2772
  * The NgOnChangesFeature decorates a component with support for the ngOnChanges
3052
2773
  * lifecycle hook, so it should be included in any component that implements
@@ -3131,13 +2852,6 @@ function setSimpleChangesStore(instance, store) {
3131
2852
  return instance[SIMPLE_CHANGES_STORE] = store;
3132
2853
  }
3133
2854
 
3134
- /**
3135
- * @license
3136
- * Copyright Google LLC All Rights Reserved.
3137
- *
3138
- * Use of this source code is governed by an MIT-style license that can be
3139
- * found in the LICENSE file at https://angular.io/license
3140
- */
3141
2855
  let profilerCallback = null;
3142
2856
  /**
3143
2857
  * Sets the callback function which will be invoked before and after performing certain actions at
@@ -3167,23 +2881,9 @@ const profiler = function (event, instance, hookOrListener) {
3167
2881
  }
3168
2882
  };
3169
2883
 
3170
- /**
3171
- * @license
3172
- * Copyright Google LLC All Rights Reserved.
3173
- *
3174
- * Use of this source code is governed by an MIT-style license that can be
3175
- * found in the LICENSE file at https://angular.io/license
3176
- */
3177
2884
  const SVG_NAMESPACE = 'svg';
3178
2885
  const MATH_ML_NAMESPACE = 'math';
3179
2886
 
3180
- /**
3181
- * @license
3182
- * Copyright Google LLC All Rights Reserved.
3183
- *
3184
- * Use of this source code is governed by an MIT-style license that can be
3185
- * found in the LICENSE file at https://angular.io/license
3186
- */
3187
2887
  /**
3188
2888
  * For efficiency reasons we often put several different data types (`RNode`, `LView`, `LContainer`)
3189
2889
  * in same location in `LView`. This is because we don't want to pre-allocate space for it
@@ -3334,13 +3034,6 @@ function updateTransplantedViewCount(lContainer, amount) {
3334
3034
  }
3335
3035
  }
3336
3036
 
3337
- /**
3338
- * @license
3339
- * Copyright Google LLC All Rights Reserved.
3340
- *
3341
- * Use of this source code is governed by an MIT-style license that can be
3342
- * found in the LICENSE file at https://angular.io/license
3343
- */
3344
3037
  const instructionState = {
3345
3038
  lFrame: createLFrame(null),
3346
3039
  bindingsEnabled: true,
@@ -3843,13 +3536,6 @@ function getNamespace$1() {
3843
3536
  return instructionState.lFrame.currentNamespace;
3844
3537
  }
3845
3538
 
3846
- /**
3847
- * @license
3848
- * Copyright Google LLC All Rights Reserved.
3849
- *
3850
- * Use of this source code is governed by an MIT-style license that can be
3851
- * found in the LICENSE file at https://angular.io/license
3852
- */
3853
3539
  /**
3854
3540
  * Adds all directive lifecycle hooks from the given `DirectiveDef` to the given `TView`.
3855
3541
  *
@@ -4076,13 +3762,6 @@ function callHook(currentView, initPhase, arr, i) {
4076
3762
  }
4077
3763
  }
4078
3764
 
4079
- /**
4080
- * @license
4081
- * Copyright Google LLC All Rights Reserved.
4082
- *
4083
- * Use of this source code is governed by an MIT-style license that can be
4084
- * found in the LICENSE file at https://angular.io/license
4085
- */
4086
3765
  const NO_PARENT_INJECTOR = -1;
4087
3766
  /**
4088
3767
  * Each injector is saved in 9 contiguous slots in `LView` and 9 contiguous slots in
@@ -4274,13 +3953,6 @@ function hasStyleInput(tNode) {
4274
3953
  return (tNode.flags & 16 /* TNodeFlags.hasStyleInput */) !== 0;
4275
3954
  }
4276
3955
 
4277
- /**
4278
- * @license
4279
- * Copyright Google LLC All Rights Reserved.
4280
- *
4281
- * Use of this source code is governed by an MIT-style license that can be
4282
- * found in the LICENSE file at https://angular.io/license
4283
- */
4284
3956
  function assertTNodeType(tNode, expectedTypes, message) {
4285
3957
  assertDefined(tNode, 'should be called with a TNode');
4286
3958
  if ((tNode.type & expectedTypes) === 0) {
@@ -4500,13 +4172,6 @@ function mergeHostAttribute(dst, marker, key1, key2, value) {
4500
4172
  }
4501
4173
  }
4502
4174
 
4503
- /**
4504
- * @license
4505
- * Copyright Google LLC All Rights Reserved.
4506
- *
4507
- * Use of this source code is governed by an MIT-style license that can be
4508
- * found in the LICENSE file at https://angular.io/license
4509
- */
4510
4175
  /// Parent Injector Utils ///////////////////////////////////////////////////////////////
4511
4176
  function hasParentInjector(parentLocation) {
4512
4177
  return parentLocation !== NO_PARENT_INJECTOR;
@@ -4545,13 +4210,6 @@ function getParentInjectorView(location, startView) {
4545
4210
  return parentView;
4546
4211
  }
4547
4212
 
4548
- /**
4549
- * @license
4550
- * Copyright Google LLC All Rights Reserved.
4551
- *
4552
- * Use of this source code is governed by an MIT-style license that can be
4553
- * found in the LICENSE file at https://angular.io/license
4554
- */
4555
4213
  /**
4556
4214
  * Defines if the call to `inject` should include `viewProviders` in its resolution.
4557
4215
  *
@@ -5276,13 +4934,6 @@ function getTNodeFromLView(lView) {
5276
4934
  return null;
5277
4935
  }
5278
4936
 
5279
- /**
5280
- * @license
5281
- * Copyright Google LLC All Rights Reserved.
5282
- *
5283
- * Use of this source code is governed by an MIT-style license that can be
5284
- * found in the LICENSE file at https://angular.io/license
5285
- */
5286
4937
  /**
5287
4938
  * Facade for the attribute injection from DI.
5288
4939
  *
@@ -5292,13 +4943,6 @@ function ɵɵinjectAttribute(attrNameToInject) {
5292
4943
  return injectAttributeImpl(getCurrentTNode(), attrNameToInject);
5293
4944
  }
5294
4945
 
5295
- /**
5296
- * @license
5297
- * Copyright Google LLC All Rights Reserved.
5298
- *
5299
- * Use of this source code is governed by an MIT-style license that can be
5300
- * found in the LICENSE file at https://angular.io/license
5301
- */
5302
4946
  /**
5303
4947
  * Attribute decorator and metadata.
5304
4948
  *
@@ -5307,13 +4951,6 @@ function ɵɵinjectAttribute(attrNameToInject) {
5307
4951
  */
5308
4952
  const Attribute = makeParamDecorator('Attribute', (attributeName) => ({ attributeName, __NG_ELEMENT_ID__: () => ɵɵinjectAttribute(attributeName) }));
5309
4953
 
5310
- /**
5311
- * @license
5312
- * Copyright Google LLC All Rights Reserved.
5313
- *
5314
- * Use of this source code is governed by an MIT-style license that can be
5315
- * found in the LICENSE file at https://angular.io/license
5316
- */
5317
4954
  let _reflect = null;
5318
4955
  function getReflect() {
5319
4956
  return (_reflect = _reflect || new ReflectionCapabilities());
@@ -5376,13 +5013,6 @@ function reflectDependency(dep) {
5376
5013
  return meta;
5377
5014
  }
5378
5015
 
5379
- /**
5380
- * @license
5381
- * Copyright Google LLC All Rights Reserved.
5382
- *
5383
- * Use of this source code is governed by an MIT-style license that can be
5384
- * found in the LICENSE file at https://angular.io/license
5385
- */
5386
5016
  /**
5387
5017
  * Map of module-id to the corresponding NgModule.
5388
5018
  */
@@ -5430,13 +5060,6 @@ function setAllowDuplicateNgModuleIdsForTest(allowDuplicates) {
5430
5060
  checkForDuplicateNgModules = !allowDuplicates;
5431
5061
  }
5432
5062
 
5433
- /**
5434
- * @license
5435
- * Copyright Google LLC All Rights Reserved.
5436
- *
5437
- * Use of this source code is governed by an MIT-style license that can be
5438
- * found in the LICENSE file at https://angular.io/license
5439
- */
5440
5063
  /**
5441
5064
  *
5442
5065
  * @codeGenApi
@@ -5485,13 +5108,6 @@ function maybeUnwrapFn$1(value) {
5485
5108
  }
5486
5109
  }
5487
5110
 
5488
- /**
5489
- * @license
5490
- * Copyright Google LLC All Rights Reserved.
5491
- *
5492
- * Use of this source code is governed by an MIT-style license that can be
5493
- * found in the LICENSE file at https://angular.io/license
5494
- */
5495
5111
  /**
5496
5112
  * Defines a schema that allows an NgModule to contain the following:
5497
5113
  * - Non-Angular elements named with dash case (`-`).
@@ -5516,13 +5132,6 @@ const NO_ERRORS_SCHEMA = {
5516
5132
  name: 'no-errors-schema'
5517
5133
  };
5518
5134
 
5519
- /**
5520
- * @license
5521
- * Copyright Google LLC All Rights Reserved.
5522
- *
5523
- * Use of this source code is governed by an MIT-style license that can be
5524
- * found in the LICENSE file at https://angular.io/license
5525
- */
5526
5135
  let shouldThrowErrorOnUnknownElement = false;
5527
5136
  /**
5528
5137
  * Sets a strict mode for JIT-compiled components to throw an error on unknown elements,
@@ -5781,13 +5390,6 @@ function matchingSchemas(schemas, tagName) {
5781
5390
  return false;
5782
5391
  }
5783
5392
 
5784
- /**
5785
- * @license
5786
- * Copyright Google LLC All Rights Reserved.
5787
- *
5788
- * Use of this source code is governed by an MIT-style license that can be
5789
- * found in the LICENSE file at https://angular.io/license
5790
- */
5791
5393
  /**
5792
5394
  * Flags for renderer-specific style modifiers.
5793
5395
  * @publicApi
@@ -5807,13 +5409,6 @@ var RendererStyleFlags2;
5807
5409
  RendererStyleFlags2[RendererStyleFlags2["DashCase"] = 2] = "DashCase";
5808
5410
  })(RendererStyleFlags2 || (RendererStyleFlags2 = {}));
5809
5411
 
5810
- /**
5811
- * @license
5812
- * Copyright Google LLC All Rights Reserved.
5813
- *
5814
- * Use of this source code is governed by an MIT-style license that can be
5815
- * found in the LICENSE file at https://angular.io/license
5816
- */
5817
5412
  /**
5818
5413
  * Disallowed strings in the comment.
5819
5414
  *
@@ -5856,13 +5451,6 @@ function escapeCommentText(value) {
5856
5451
  return value.replace(COMMENT_DISALLOWED, (text) => text.replace(COMMENT_DELIMITER, COMMENT_DELIMITER_ESCAPED));
5857
5452
  }
5858
5453
 
5859
- /**
5860
- * @license
5861
- * Copyright Google LLC All Rights Reserved.
5862
- *
5863
- * Use of this source code is governed by an MIT-style license that can be
5864
- * found in the LICENSE file at https://angular.io/license
5865
- */
5866
5454
  // Keeps track of the currently-active LViews.
5867
5455
  const TRACKED_LVIEWS = new Map();
5868
5456
  // Used for generating unique IDs for LViews.
@@ -5887,13 +5475,6 @@ function unregisterLView(lView) {
5887
5475
  TRACKED_LVIEWS.delete(lView[ID]);
5888
5476
  }
5889
5477
 
5890
- /**
5891
- * @license
5892
- * Copyright Google LLC All Rights Reserved.
5893
- *
5894
- * Use of this source code is governed by an MIT-style license that can be
5895
- * found in the LICENSE file at https://angular.io/license
5896
- */
5897
5478
  /**
5898
5479
  * The internal view context which is specific to a given DOM element, directive or
5899
5480
  * component instance. Each value in here (besides the LView and element node details)
@@ -5928,13 +5509,6 @@ class LContext {
5928
5509
  }
5929
5510
  }
5930
5511
 
5931
- /**
5932
- * @license
5933
- * Copyright Google LLC All Rights Reserved.
5934
- *
5935
- * Use of this source code is governed by an MIT-style license that can be
5936
- * found in the LICENSE file at https://angular.io/license
5937
- */
5938
5512
  /**
5939
5513
  * Returns the matching `LContext` data for a given DOM node, directive or component instance.
5940
5514
  *
@@ -6236,13 +5810,6 @@ function discoverLocalRefs(lView, nodeIndex) {
6236
5810
  return null;
6237
5811
  }
6238
5812
 
6239
- /**
6240
- * @license
6241
- * Copyright Google LLC All Rights Reserved.
6242
- *
6243
- * Use of this source code is governed by an MIT-style license that can be
6244
- * found in the LICENSE file at https://angular.io/license
6245
- */
6246
5813
  let _icuContainerIterate;
6247
5814
  /**
6248
5815
  * Iterator which provides ability to visit all of the `TIcuContainerNode` root `RNode`s.
@@ -6264,13 +5831,6 @@ function ensureIcuContainerVisitorLoaded(loader) {
6264
5831
  }
6265
5832
  }
6266
5833
 
6267
- /**
6268
- * @license
6269
- * Copyright Google LLC All Rights Reserved.
6270
- *
6271
- * Use of this source code is governed by an MIT-style license that can be
6272
- * found in the LICENSE file at https://angular.io/license
6273
- */
6274
5834
  /**
6275
5835
  * Gets the parent LView of the passed LView, if the PARENT is an LContainer, will get the parent of
6276
5836
  * that LContainer, which is an LView
@@ -6328,13 +5888,6 @@ function getNearestLContainer(viewOrContainer) {
6328
5888
  return viewOrContainer;
6329
5889
  }
6330
5890
 
6331
- /**
6332
- * @license
6333
- * Copyright Google LLC All Rights Reserved.
6334
- *
6335
- * Use of this source code is governed by an MIT-style license that can be
6336
- * found in the LICENSE file at https://angular.io/license
6337
- */
6338
5891
  /**
6339
5892
  * NOTE: for performance reasons, the possible actions are inlined within the function instead of
6340
5893
  * being passed as an argument.
@@ -7261,11 +6814,13 @@ function setupStaticAttributes(renderer, element, tNode) {
7261
6814
  }
7262
6815
 
7263
6816
  /**
7264
- * @license
7265
- * Copyright Google LLC All Rights Reserved.
7266
- *
7267
- * Use of this source code is governed by an MIT-style license that can be
7268
- * found in the LICENSE file at https://angular.io/license
6817
+ * @fileoverview
6818
+ * A module to facilitate use of a Trusted Types policy internally within
6819
+ * Angular. It lazily constructs the Trusted Types policy, providing helper
6820
+ * utilities for promoting strings to Trusted Types. When Trusted Types are not
6821
+ * available, strings are used as a fallback.
6822
+ * @security All use of this module is security-sensitive and should go through
6823
+ * security review.
7269
6824
  */
7270
6825
  /**
7271
6826
  * The Trusted Types policy, or null if Trusted Types are not
@@ -7380,13 +6935,6 @@ function newTrustedFunctionForDev(...args) {
7380
6935
  // return new Function(...args.map(a => trustedScriptFromString(a)));
7381
6936
  }
7382
6937
 
7383
- /**
7384
- * @license
7385
- * Copyright Google LLC All Rights Reserved.
7386
- *
7387
- * Use of this source code is governed by an MIT-style license that can be
7388
- * found in the LICENSE file at https://angular.io/license
7389
- */
7390
6938
  /**
7391
6939
  * Validation function invoked at runtime for each binding that might potentially
7392
6940
  * represent a security-sensitive attribute of an <iframe>.
@@ -7422,13 +6970,6 @@ function ɵɵvalidateIframeAttribute(attrValue, tagName, attrName) {
7422
6970
  return attrValue;
7423
6971
  }
7424
6972
 
7425
- /**
7426
- * @license
7427
- * Copyright Google LLC All Rights Reserved.
7428
- *
7429
- * Use of this source code is governed by an MIT-style license that can be
7430
- * found in the LICENSE file at https://angular.io/license
7431
- */
7432
6973
  /**
7433
6974
  * Most of the use of `document` in Angular is from within the DI system so it is possible to simply
7434
6975
  * inject the `DOCUMENT` token and are done.
@@ -7478,11 +7019,14 @@ function getDocument() {
7478
7019
  }
7479
7020
 
7480
7021
  /**
7481
- * @license
7482
- * Copyright Google LLC All Rights Reserved.
7483
- *
7484
- * Use of this source code is governed by an MIT-style license that can be
7485
- * found in the LICENSE file at https://angular.io/license
7022
+ * @fileoverview
7023
+ * A module to facilitate use of a Trusted Types policy internally within
7024
+ * Angular specifically for bypassSecurityTrust* and custom sanitizers. It
7025
+ * lazily constructs the Trusted Types policy, providing helper utilities for
7026
+ * promoting strings to Trusted Types. When Trusted Types are not available,
7027
+ * strings are used as a fallback.
7028
+ * @security All use of this module is security-sensitive and should go through
7029
+ * security review.
7486
7030
  */
7487
7031
  /**
7488
7032
  * The Trusted Types policy, or null if Trusted Types are not
@@ -7549,13 +7093,6 @@ function trustedScriptURLFromStringBypass(url) {
7549
7093
  return getPolicy()?.createScriptURL(url) || url;
7550
7094
  }
7551
7095
 
7552
- /**
7553
- * @license
7554
- * Copyright Google LLC All Rights Reserved.
7555
- *
7556
- * Use of this source code is governed by an MIT-style license that can be
7557
- * found in the LICENSE file at https://angular.io/license
7558
- */
7559
7096
  class SafeValueImpl {
7560
7097
  constructor(changingThisBreaksApplicationSecurity) {
7561
7098
  this.changingThisBreaksApplicationSecurity = changingThisBreaksApplicationSecurity;
@@ -7668,13 +7205,6 @@ function bypassSanitizationTrustResourceUrl(trustedResourceUrl) {
7668
7205
  return new SafeResourceUrlImpl(trustedResourceUrl);
7669
7206
  }
7670
7207
 
7671
- /**
7672
- * @license
7673
- * Copyright Google LLC All Rights Reserved.
7674
- *
7675
- * Use of this source code is governed by an MIT-style license that can be
7676
- * found in the LICENSE file at https://angular.io/license
7677
- */
7678
7208
  /**
7679
7209
  * This helper is used to get hold of an inert tree of DOM elements containing dirty HTML
7680
7210
  * that needs sanitizing.
@@ -7801,13 +7331,6 @@ function isDOMParserAvailable() {
7801
7331
  }
7802
7332
  }
7803
7333
 
7804
- /**
7805
- * @license
7806
- * Copyright Google LLC All Rights Reserved.
7807
- *
7808
- * Use of this source code is governed by an MIT-style license that can be
7809
- * found in the LICENSE file at https://angular.io/license
7810
- */
7811
7334
  /**
7812
7335
  * A pattern that recognizes a commonly useful subset of URLs that are safe.
7813
7336
  *
@@ -7845,13 +7368,6 @@ function _sanitizeUrl(url) {
7845
7368
  return 'unsafe:' + url;
7846
7369
  }
7847
7370
 
7848
- /**
7849
- * @license
7850
- * Copyright Google LLC All Rights Reserved.
7851
- *
7852
- * Use of this source code is governed by an MIT-style license that can be
7853
- * found in the LICENSE file at https://angular.io/license
7854
- */
7855
7371
  function tagSet(tags) {
7856
7372
  const res = {};
7857
7373
  for (const t of tags.split(','))
@@ -8091,13 +7607,6 @@ function isTemplateElement(el) {
8091
7607
  return el.nodeType === Node.ELEMENT_NODE && el.nodeName === 'TEMPLATE';
8092
7608
  }
8093
7609
 
8094
- /**
8095
- * @license
8096
- * Copyright Google LLC All Rights Reserved.
8097
- *
8098
- * Use of this source code is governed by an MIT-style license that can be
8099
- * found in the LICENSE file at https://angular.io/license
8100
- */
8101
7610
  /**
8102
7611
  * A SecurityContext marks a location that has dangerous security implications, e.g. a DOM property
8103
7612
  * like `innerHTML` that could cause Cross Site Scripting (XSS) security bugs when improperly
@@ -8117,13 +7626,6 @@ var SecurityContext;
8117
7626
  SecurityContext[SecurityContext["RESOURCE_URL"] = 5] = "RESOURCE_URL";
8118
7627
  })(SecurityContext || (SecurityContext = {}));
8119
7628
 
8120
- /**
8121
- * @license
8122
- * Copyright Google LLC All Rights Reserved.
8123
- *
8124
- * Use of this source code is governed by an MIT-style license that can be
8125
- * found in the LICENSE file at https://angular.io/license
8126
- */
8127
7629
  /**
8128
7630
  * An `html` sanitizer which converts untrusted `html` **string** into trusted string by removing
8129
7631
  * dangerous content.
@@ -8344,13 +7846,6 @@ function getSanitizer() {
8344
7846
  return lView && lView[SANITIZER];
8345
7847
  }
8346
7848
 
8347
- /**
8348
- * @license
8349
- * Copyright Google LLC All Rights Reserved.
8350
- *
8351
- * Use of this source code is governed by an MIT-style license that can be
8352
- * found in the LICENSE file at https://angular.io/license
8353
- */
8354
7849
  /**
8355
7850
  * Creates a token that can be used in a DI Provider.
8356
7851
  *
@@ -8433,13 +7928,6 @@ class InjectionToken {
8433
7928
  }
8434
7929
  }
8435
7930
 
8436
- /**
8437
- * @license
8438
- * Copyright Google LLC All Rights Reserved.
8439
- *
8440
- * Use of this source code is governed by an MIT-style license that can be
8441
- * found in the LICENSE file at https://angular.io/license
8442
- */
8443
7931
  /**
8444
7932
  * A multi-provider token for initialization functions that will run upon construction of an
8445
7933
  * environment injector.
@@ -8448,13 +7936,6 @@ class InjectionToken {
8448
7936
  */
8449
7937
  const ENVIRONMENT_INITIALIZER = new InjectionToken('ENVIRONMENT_INITIALIZER');
8450
7938
 
8451
- /**
8452
- * @license
8453
- * Copyright Google LLC All Rights Reserved.
8454
- *
8455
- * Use of this source code is governed by an MIT-style license that can be
8456
- * found in the LICENSE file at https://angular.io/license
8457
- */
8458
7939
  /**
8459
7940
  * An InjectionToken that gets the current `Injector` for `createInjector()`-style injectors.
8460
7941
  *
@@ -8468,22 +7949,8 @@ const INJECTOR = new InjectionToken('INJECTOR',
8468
7949
  // tslint:disable-next-line: no-toplevel-property-access
8469
7950
  -1 /* InjectorMarkers.Injector */);
8470
7951
 
8471
- /**
8472
- * @license
8473
- * Copyright Google LLC All Rights Reserved.
8474
- *
8475
- * Use of this source code is governed by an MIT-style license that can be
8476
- * found in the LICENSE file at https://angular.io/license
8477
- */
8478
7952
  const INJECTOR_DEF_TYPES = new InjectionToken('INJECTOR_DEF_TYPES');
8479
7953
 
8480
- /**
8481
- * @license
8482
- * Copyright Google LLC All Rights Reserved.
8483
- *
8484
- * Use of this source code is governed by an MIT-style license that can be
8485
- * found in the LICENSE file at https://angular.io/license
8486
- */
8487
7954
  class NullInjector {
8488
7955
  get(token, notFoundValue = THROW_IF_NOT_FOUND) {
8489
7956
  if (notFoundValue === THROW_IF_NOT_FOUND) {
@@ -8495,21 +7962,6 @@ class NullInjector {
8495
7962
  }
8496
7963
  }
8497
7964
 
8498
- /**
8499
- * @license
8500
- * Copyright Google LLC All Rights Reserved.
8501
- *
8502
- * Use of this source code is governed by an MIT-style license that can be
8503
- * found in the LICENSE file at https://angular.io/license
8504
- */
8505
-
8506
- /**
8507
- * @license
8508
- * Copyright Google LLC All Rights Reserved.
8509
- *
8510
- * Use of this source code is governed by an MIT-style license that can be
8511
- * found in the LICENSE file at https://angular.io/license
8512
- */
8513
7965
  /**
8514
7966
  * Wrap an array of `Provider`s into `EnvironmentProviders`, preventing them from being accidentally
8515
7967
  * referenced in `@Component in a component injector.
@@ -8767,13 +8219,6 @@ function isClassProvider(value) {
8767
8219
  return !!value.useClass;
8768
8220
  }
8769
8221
 
8770
- /**
8771
- * @license
8772
- * Copyright Google LLC All Rights Reserved.
8773
- *
8774
- * Use of this source code is governed by an MIT-style license that can be
8775
- * found in the LICENSE file at https://angular.io/license
8776
- */
8777
8222
  /**
8778
8223
  * An internal token whose presence in an injector indicates that the injector should treat itself
8779
8224
  * as a root scoped injector when processing requests for unknown tokens which may indicate
@@ -8781,13 +8226,6 @@ function isClassProvider(value) {
8781
8226
  */
8782
8227
  const INJECTOR_SCOPE = new InjectionToken('Set Injector scope.');
8783
8228
 
8784
- /**
8785
- * @license
8786
- * Copyright Google LLC All Rights Reserved.
8787
- *
8788
- * Use of this source code is governed by an MIT-style license that can be
8789
- * found in the LICENSE file at https://angular.io/license
8790
- */
8791
8229
  /**
8792
8230
  * Marker which indicates that a value has not yet been created from the factory function.
8793
8231
  */
@@ -9178,13 +8616,6 @@ function forEachSingleProvider(providers, fn) {
9178
8616
  }
9179
8617
  }
9180
8618
 
9181
- /**
9182
- * @license
9183
- * Copyright Google LLC All Rights Reserved.
9184
- *
9185
- * Use of this source code is governed by an MIT-style license that can be
9186
- * found in the LICENSE file at https://angular.io/license
9187
- */
9188
8619
  /**
9189
8620
  * Represents a component created by a `ComponentFactory`.
9190
8621
  * Provides access to the component instance and related objects,
@@ -9209,13 +8640,6 @@ class ComponentRef$1 {
9209
8640
  class ComponentFactory$1 {
9210
8641
  }
9211
8642
 
9212
- /**
9213
- * @license
9214
- * Copyright Google LLC All Rights Reserved.
9215
- *
9216
- * Use of this source code is governed by an MIT-style license that can be
9217
- * found in the LICENSE file at https://angular.io/license
9218
- */
9219
8643
  function noComponentFactoryError(component) {
9220
8644
  const error = Error(`No component factory found for ${stringify(component)}. Did you add it to @NgModule.entryComponents?`);
9221
8645
  error[ERROR_COMPONENT] = component;
@@ -9249,13 +8673,6 @@ class ComponentFactoryResolver$1 {
9249
8673
  }
9250
8674
  ComponentFactoryResolver$1.NULL = ( /* @__PURE__ */new _NullComponentFactoryResolver());
9251
8675
 
9252
- /**
9253
- * @license
9254
- * Copyright Google LLC All Rights Reserved.
9255
- *
9256
- * Use of this source code is governed by an MIT-style license that can be
9257
- * found in the LICENSE file at https://angular.io/license
9258
- */
9259
8676
  /**
9260
8677
  * Creates an ElementRef from the most recent node.
9261
8678
  *
@@ -9309,13 +8726,6 @@ function unwrapElementRef(value) {
9309
8726
  return value instanceof ElementRef ? value.nativeElement : value;
9310
8727
  }
9311
8728
 
9312
- /**
9313
- * @license
9314
- * Copyright Google LLC All Rights Reserved.
9315
- *
9316
- * Use of this source code is governed by an MIT-style license that can be
9317
- * found in the LICENSE file at https://angular.io/license
9318
- */
9319
8729
  /**
9320
8730
  * Creates and initializes a custom renderer that implements the `Renderer2` base class.
9321
8731
  *
@@ -9355,13 +8765,6 @@ function injectRenderer2() {
9355
8765
  return (isLView(nodeAtIndex) ? nodeAtIndex : lView)[RENDERER];
9356
8766
  }
9357
8767
 
9358
- /**
9359
- * @license
9360
- * Copyright Google LLC All Rights Reserved.
9361
- *
9362
- * Use of this source code is governed by an MIT-style license that can be
9363
- * found in the LICENSE file at https://angular.io/license
9364
- */
9365
8768
  /**
9366
8769
  * Sanitizer is used by the views to sanitize potentially dangerous values.
9367
8770
  *
@@ -9376,13 +8779,6 @@ Sanitizer.ɵprov = ɵɵdefineInjectable({
9376
8779
  factory: () => null,
9377
8780
  });
9378
8781
 
9379
- /**
9380
- * @license
9381
- * Copyright Google LLC All Rights Reserved.
9382
- *
9383
- * Use of this source code is governed by an MIT-style license that can be
9384
- * found in the LICENSE file at https://angular.io/license
9385
- */
9386
8782
  /**
9387
8783
  * @description Represents the version of Angular
9388
8784
  *
@@ -9399,15 +8795,8 @@ class Version {
9399
8795
  /**
9400
8796
  * @publicApi
9401
8797
  */
9402
- const VERSION = new Version('15.1.0-next.3');
8798
+ const VERSION = new Version('15.1.0-rc.0');
9403
8799
 
9404
- /**
9405
- * @license
9406
- * Copyright Google LLC All Rights Reserved.
9407
- *
9408
- * Use of this source code is governed by an MIT-style license that can be
9409
- * found in the LICENSE file at https://angular.io/license
9410
- */
9411
8800
  // This default value is when checking the hierarchy for a token.
9412
8801
  //
9413
8802
  // It means both:
@@ -9427,13 +8816,6 @@ const VERSION = new Version('15.1.0-next.3');
9427
8816
  // - mod2.injector.get(token, default)
9428
8817
  const NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR = {};
9429
8818
 
9430
- /**
9431
- * @license
9432
- * Copyright Google LLC All Rights Reserved.
9433
- *
9434
- * Use of this source code is governed by an MIT-style license that can be
9435
- * found in the LICENSE file at https://angular.io/license
9436
- */
9437
8819
  const ERROR_ORIGINAL_ERROR = 'ngOriginalError';
9438
8820
  function wrappedError(message, originalError) {
9439
8821
  const msg = `${message} caused by: ${originalError instanceof Error ? originalError.message : originalError}`;
@@ -9445,13 +8827,6 @@ function getOriginalError(error) {
9445
8827
  return error[ERROR_ORIGINAL_ERROR];
9446
8828
  }
9447
8829
 
9448
- /**
9449
- * @license
9450
- * Copyright Google LLC All Rights Reserved.
9451
- *
9452
- * Use of this source code is governed by an MIT-style license that can be
9453
- * found in the LICENSE file at https://angular.io/license
9454
- */
9455
8830
  /**
9456
8831
  * Provides a hook for centralized exception handling.
9457
8832
  *
@@ -9501,13 +8876,6 @@ class ErrorHandler {
9501
8876
  }
9502
8877
  }
9503
8878
 
9504
- /**
9505
- * @license
9506
- * Copyright Google LLC All Rights Reserved.
9507
- *
9508
- * Use of this source code is governed by an MIT-style license that can be
9509
- * found in the LICENSE file at https://angular.io/license
9510
- */
9511
8879
  function normalizeDebugBindingName(name) {
9512
8880
  // Attribute names with `$` (eg `x-y$`) are valid per spec, but unsupported by some browsers
9513
8881
  name = camelCaseToDashCase(name.replace(/[$@]/g, '_'));
@@ -9527,13 +8895,6 @@ function normalizeDebugBindingValue(value) {
9527
8895
  }
9528
8896
  }
9529
8897
 
9530
- /**
9531
- * @license
9532
- * Copyright Google LLC All Rights Reserved.
9533
- *
9534
- * Use of this source code is governed by an MIT-style license that can be
9535
- * found in the LICENSE file at https://angular.io/license
9536
- */
9537
8898
  /** Verifies that a given type is a Standalone Component. */
9538
8899
  function assertStandaloneComponentType(type) {
9539
8900
  assertComponentDef(type);
@@ -9620,13 +8981,6 @@ function getExpressionChangedErrorDetails(lView, bindingIndex, oldValue, newValu
9620
8981
  return { propName: undefined, oldValue, newValue };
9621
8982
  }
9622
8983
 
9623
- /**
9624
- * @license
9625
- * Copyright Google LLC All Rights Reserved.
9626
- *
9627
- * Use of this source code is governed by an MIT-style license that can be
9628
- * found in the LICENSE file at https://angular.io/license
9629
- */
9630
8984
  /**
9631
8985
  * Returns an index of `classToSearch` in `className` taking token boundaries into account.
9632
8986
  *
@@ -9658,13 +9012,6 @@ function classIndexOf(className, classToSearch, startingIndex) {
9658
9012
  }
9659
9013
  }
9660
9014
 
9661
- /**
9662
- * @license
9663
- * Copyright Google LLC All Rights Reserved.
9664
- *
9665
- * Use of this source code is governed by an MIT-style license that can be
9666
- * found in the LICENSE file at https://angular.io/license
9667
- */
9668
9015
  const NG_TEMPLATE_SELECTOR = 'ng-template';
9669
9016
  /**
9670
9017
  * Search the `TAttributes` to see if it contains `cssClassToMatch` (case insensitive)
@@ -10068,23 +9415,9 @@ function extractAttrsAndClassesFromSelector(selector) {
10068
9415
  return { attrs, classes };
10069
9416
  }
10070
9417
 
10071
- /**
10072
- * @license
10073
- * Copyright Google LLC All Rights Reserved.
10074
- *
10075
- * Use of this source code is governed by an MIT-style license that can be
10076
- * found in the LICENSE file at https://angular.io/license
10077
- */
10078
9418
  /** A special value which designates that a value has not changed. */
10079
9419
  const NO_CHANGE = (typeof ngDevMode === 'undefined' || ngDevMode) ? { __brand__: 'NO_CHANGE' } : {};
10080
9420
 
10081
- /**
10082
- * @license
10083
- * Copyright Google LLC All Rights Reserved.
10084
- *
10085
- * Use of this source code is governed by an MIT-style license that can be
10086
- * found in the LICENSE file at https://angular.io/license
10087
- */
10088
9421
  /**
10089
9422
  * Advances to an element for later binding instructions.
10090
9423
  *
@@ -10138,13 +9471,6 @@ function selectIndexInternal(tView, lView, index, checkNoChangesMode) {
10138
9471
  setSelectedIndex(index);
10139
9472
  }
10140
9473
 
10141
- /**
10142
- * @license
10143
- * Copyright Google LLC All Rights Reserved.
10144
- *
10145
- * Use of this source code is governed by an MIT-style license that can be
10146
- * found in the LICENSE file at https://angular.io/license
10147
- */
10148
9474
  /**
10149
9475
  * A mapping of the @angular/core API surface used in generated expressions to the actual symbols.
10150
9476
  *
@@ -10158,13 +9484,6 @@ const angularCoreDiEnv = {
10158
9484
  'resolveForwardRef': resolveForwardRef,
10159
9485
  };
10160
9486
 
10161
- /**
10162
- * @license
10163
- * Copyright Google LLC All Rights Reserved.
10164
- *
10165
- * Use of this source code is governed by an MIT-style license that can be
10166
- * found in the LICENSE file at https://angular.io/license
10167
- */
10168
9487
  /**
10169
9488
  * Compile an Angular injectable according to its `Injectable` metadata, and patch the resulting
10170
9489
  * injectable def (`ɵprov`) onto the injectable type.
@@ -10246,13 +9565,6 @@ function getInjectableMetadata(type, srcMeta) {
10246
9565
  return compilerMeta;
10247
9566
  }
10248
9567
 
10249
- /**
10250
- * @license
10251
- * Copyright Google LLC All Rights Reserved.
10252
- *
10253
- * Use of this source code is governed by an MIT-style license that can be
10254
- * found in the LICENSE file at https://angular.io/license
10255
- */
10256
9568
  /**
10257
9569
  * Injectable decorator and metadata.
10258
9570
  *
@@ -10261,13 +9573,6 @@ function getInjectableMetadata(type, srcMeta) {
10261
9573
  */
10262
9574
  const Injectable = makeDecorator('Injectable', undefined, undefined, undefined, (type, meta) => compileInjectable(type, meta));
10263
9575
 
10264
- /**
10265
- * @license
10266
- * Copyright Google LLC All Rights Reserved.
10267
- *
10268
- * Use of this source code is governed by an MIT-style license that can be
10269
- * found in the LICENSE file at https://angular.io/license
10270
- */
10271
9576
  /**
10272
9577
  * Create a new `Injector` which is configured using a `defType` of `InjectorType<any>`s.
10273
9578
  *
@@ -10292,13 +9597,6 @@ function createInjectorWithoutInjectorInstances(defType, parent = null, addition
10292
9597
  return new R3Injector(providers, parent || getNullInjector(), name || null, scopes);
10293
9598
  }
10294
9599
 
10295
- /**
10296
- * @license
10297
- * Copyright Google LLC All Rights Reserved.
10298
- *
10299
- * Use of this source code is governed by an MIT-style license that can be
10300
- * found in the LICENSE file at https://angular.io/license
10301
- */
10302
9600
  /**
10303
9601
  * Concrete injectors implement this interface. Injectors are configured
10304
9602
  * with [providers](guide/glossary#provider) that associate
@@ -10348,13 +9646,6 @@ Injector.ɵprov = ɵɵdefineInjectable({
10348
9646
  */
10349
9647
  Injector.__NG_ELEMENT_ID__ = -1 /* InjectorMarkers.Injector */;
10350
9648
 
10351
- /**
10352
- * @license
10353
- * Copyright Google LLC All Rights Reserved.
10354
- *
10355
- * Use of this source code is governed by an MIT-style license that can be
10356
- * found in the LICENSE file at https://angular.io/license
10357
- */
10358
9649
  function findFirstClosedCycle(keys) {
10359
9650
  const res = [];
10360
9651
  for (let i = 0; i < keys.length; ++i) {
@@ -10563,13 +9854,6 @@ function mixingMultiProvidersWithRegularProvidersError(provider1, provider2) {
10563
9854
  return Error(`Cannot mix multi providers and regular providers, got: ${provider1} ${provider2}`);
10564
9855
  }
10565
9856
 
10566
- /**
10567
- * @license
10568
- * Copyright Google LLC All Rights Reserved.
10569
- *
10570
- * Use of this source code is governed by an MIT-style license that can be
10571
- * found in the LICENSE file at https://angular.io/license
10572
- */
10573
9857
  /**
10574
9858
  * A unique object used for retrieving items from the {@link ReflectiveInjector}.
10575
9859
  *
@@ -10633,13 +9917,6 @@ class KeyRegistry {
10633
9917
  }
10634
9918
  const _globalKeyRegistry = new KeyRegistry();
10635
9919
 
10636
- /**
10637
- * @license
10638
- * Copyright Google LLC All Rights Reserved.
10639
- *
10640
- * Use of this source code is governed by an MIT-style license that can be
10641
- * found in the LICENSE file at https://angular.io/license
10642
- */
10643
9920
  /**
10644
9921
  * `Dependency` is used by the framework to extend DI.
10645
9922
  * This is internal to Angular and should not be used directly.
@@ -10835,13 +10112,6 @@ function _createDependency(token, optional, visibility) {
10835
10112
  return new ReflectiveDependency(ReflectiveKey.get(token), optional, visibility);
10836
10113
  }
10837
10114
 
10838
- /**
10839
- * @license
10840
- * Copyright Google LLC All Rights Reserved.
10841
- *
10842
- * Use of this source code is governed by an MIT-style license that can be
10843
- * found in the LICENSE file at https://angular.io/license
10844
- */
10845
10115
  // Threshold for the dynamic version
10846
10116
  const UNDEFINED = {};
10847
10117
  /**
@@ -11140,28 +10410,28 @@ function _mapProviders(injector, fn) {
11140
10410
  }
11141
10411
 
11142
10412
  /**
11143
- * @license
11144
- * Copyright Google LLC All Rights Reserved.
11145
- *
11146
- * Use of this source code is governed by an MIT-style license that can be
11147
- * found in the LICENSE file at https://angular.io/license
10413
+ * @module
10414
+ * @description
10415
+ * The `di` module provides dependency injection container services.
11148
10416
  */
11149
10417
 
11150
10418
  /**
11151
- * @license
11152
- * Copyright Google LLC All Rights Reserved.
10419
+ * This file should not be necessary because node resolution should just default to `./di/index`!
11153
10420
  *
11154
- * Use of this source code is governed by an MIT-style license that can be
11155
- * found in the LICENSE file at https://angular.io/license
11156
- */
11157
-
11158
- /**
11159
- * @license
11160
- * Copyright Google LLC All Rights Reserved.
10421
+ * However it does not seem to work and it breaks:
10422
+ * - //packages/animations/browser/test:test_web_chromium-local
10423
+ * - //packages/compiler-cli/test:extract_i18n
10424
+ * - //packages/compiler-cli/test:ngc
10425
+ * - //packages/compiler-cli/test:perform_watch
10426
+ * - //packages/compiler-cli/test/diagnostics:check_types
10427
+ * - //packages/compiler-cli/test/transformers:test
10428
+ * - //packages/compiler/test:test
10429
+ * - //tools/public_api_guard:core_api
11161
10430
  *
11162
- * Use of this source code is governed by an MIT-style license that can be
11163
- * found in the LICENSE file at https://angular.io/license
10431
+ * Remove this file once the above is solved or wait until `ngc` is deleted and then it should be
10432
+ * safe to delete this file.
11164
10433
  */
10434
+
11165
10435
  function ɵɵdirectiveInject(token, flags = InjectFlags.Default) {
11166
10436
  const lView = getLView();
11167
10437
  // Fall back to inject() if view hasn't been created. This situation can happen in tests
@@ -11191,13 +10461,6 @@ function ɵɵinvalidFactory() {
11191
10461
  throw new Error(msg);
11192
10462
  }
11193
10463
 
11194
- /**
11195
- * @license
11196
- * Copyright Google LLC All Rights Reserved.
11197
- *
11198
- * Use of this source code is governed by an MIT-style license that can be
11199
- * found in the LICENSE file at https://angular.io/license
11200
- */
11201
10464
  /**
11202
10465
  * Invoke `HostBindingsFunction`s for view.
11203
10466
  *
@@ -12801,13 +12064,6 @@ function textBindingInternal(lView, index, value) {
12801
12064
  updateTextNode(lView[RENDERER], element, value);
12802
12065
  }
12803
12066
 
12804
- /**
12805
- * @license
12806
- * Copyright Google LLC All Rights Reserved.
12807
- *
12808
- * Use of this source code is governed by an MIT-style license that can be
12809
- * found in the LICENSE file at https://angular.io/license
12810
- */
12811
12067
  /**
12812
12068
  * Compute the static styling (class/style) from `TAttributes`.
12813
12069
  *
@@ -12845,13 +12101,6 @@ function computeStaticStyling(tNode, attrs, writeToHost) {
12845
12101
  writeToHost ? tNode.classes = classes : tNode.classesWithoutHost = classes;
12846
12102
  }
12847
12103
 
12848
- /**
12849
- * @license
12850
- * Copyright Google LLC All Rights Reserved.
12851
- *
12852
- * Use of this source code is governed by an MIT-style license that can be
12853
- * found in the LICENSE file at https://angular.io/license
12854
- */
12855
12104
  function collectNativeNodes(tView, lView, tNode, result, isProjection = false) {
12856
12105
  while (tNode !== null) {
12857
12106
  ngDevMode &&
@@ -12899,13 +12148,6 @@ function collectNativeNodes(tView, lView, tNode, result, isProjection = false) {
12899
12148
  return result;
12900
12149
  }
12901
12150
 
12902
- /**
12903
- * @license
12904
- * Copyright Google LLC All Rights Reserved.
12905
- *
12906
- * Use of this source code is governed by an MIT-style license that can be
12907
- * found in the LICENSE file at https://angular.io/license
12908
- */
12909
12151
  class ViewRef {
12910
12152
  get rootNodes() {
12911
12153
  const lView = this._lView;
@@ -13195,13 +12437,6 @@ class RootViewRef extends ViewRef {
13195
12437
  }
13196
12438
  }
13197
12439
 
13198
- /**
13199
- * @license
13200
- * Copyright Google LLC All Rights Reserved.
13201
- *
13202
- * Use of this source code is governed by an MIT-style license that can be
13203
- * found in the LICENSE file at https://angular.io/license
13204
- */
13205
12440
  class ComponentFactoryResolver extends ComponentFactoryResolver$1 {
13206
12441
  /**
13207
12442
  * @param ngModule The NgModuleRef to which all resolved factories are bound.
@@ -13536,13 +12771,6 @@ function LifecycleHooksFeature() {
13536
12771
  registerPostOrderHooks(getLView()[TVIEW], tNode);
13537
12772
  }
13538
12773
 
13539
- /**
13540
- * @license
13541
- * Copyright Google LLC All Rights Reserved.
13542
- *
13543
- * Use of this source code is governed by an MIT-style license that can be
13544
- * found in the LICENSE file at https://angular.io/license
13545
- */
13546
12774
  function getSuperType(type) {
13547
12775
  return Object.getPrototypeOf(type.prototype).constructor;
13548
12776
  }
@@ -13693,13 +12921,6 @@ function inheritHostBindings(definition, superHostBindings) {
13693
12921
  }
13694
12922
  }
13695
12923
 
13696
- /**
13697
- * @license
13698
- * Copyright Google LLC All Rights Reserved.
13699
- *
13700
- * Use of this source code is governed by an MIT-style license that can be
13701
- * found in the LICENSE file at https://angular.io/license
13702
- */
13703
12924
  /**
13704
12925
  * Fields which exist on either directive or component definitions, and need to be copied from
13705
12926
  * parent to child classes by the `ɵɵCopyDefinitionFeature`.
@@ -13773,13 +12994,6 @@ function ɵɵCopyDefinitionFeature(definition) {
13773
12994
  }
13774
12995
  }
13775
12996
 
13776
- /**
13777
- * @license
13778
- * Copyright Google LLC All Rights Reserved.
13779
- *
13780
- * Use of this source code is governed by an MIT-style license that can be
13781
- * found in the LICENSE file at https://angular.io/license
13782
- */
13783
12997
  /**
13784
12998
  * This feature adds the host directives behavior to a directive definition by patching a
13785
12999
  * function onto it. The expectation is that the runtime will invoke the function during
@@ -13930,13 +13144,6 @@ function validateMappings(bindingType, def, hostDirectiveBindings) {
13930
13144
  }
13931
13145
  }
13932
13146
 
13933
- /**
13934
- * @license
13935
- * Copyright Google LLC All Rights Reserved.
13936
- *
13937
- * Use of this source code is governed by an MIT-style license that can be
13938
- * found in the LICENSE file at https://angular.io/license
13939
- */
13940
13147
  let _symbolIterator = null;
13941
13148
  function getSymbolIterator() {
13942
13149
  if (!_symbolIterator) {
@@ -13959,13 +13166,6 @@ function getSymbolIterator() {
13959
13166
  return _symbolIterator;
13960
13167
  }
13961
13168
 
13962
- /**
13963
- * @license
13964
- * Copyright Google LLC All Rights Reserved.
13965
- *
13966
- * Use of this source code is governed by an MIT-style license that can be
13967
- * found in the LICENSE file at https://angular.io/license
13968
- */
13969
13169
  function isIterable(obj) {
13970
13170
  return obj !== null && typeof obj === 'object' && obj[getSymbolIterator()] !== undefined;
13971
13171
  }
@@ -14006,15 +13206,8 @@ function iterateListLike(obj, fn) {
14006
13206
  }
14007
13207
  function isJsObject(o) {
14008
13208
  return o !== null && (typeof o === 'function' || typeof o === 'object');
14009
- }
14010
-
14011
- /**
14012
- * @license
14013
- * Copyright Google LLC All Rights Reserved.
14014
- *
14015
- * Use of this source code is governed by an MIT-style license that can be
14016
- * found in the LICENSE file at https://angular.io/license
14017
- */
13209
+ }
13210
+
14018
13211
  function devModeEqual(a, b) {
14019
13212
  const isListLikeIterableA = isListLikeIterable(a);
14020
13213
  const isListLikeIterableB = isListLikeIterable(b);
@@ -14033,13 +13226,6 @@ function devModeEqual(a, b) {
14033
13226
  }
14034
13227
  }
14035
13228
 
14036
- /**
14037
- * @license
14038
- * Copyright Google LLC All Rights Reserved.
14039
- *
14040
- * Use of this source code is governed by an MIT-style license that can be
14041
- * found in the LICENSE file at https://angular.io/license
14042
- */
14043
13229
  // TODO(misko): consider inlining
14044
13230
  /** Updates binding and returns the value. */
14045
13231
  function updateBinding(lView, bindingIndex, value) {
@@ -14108,13 +13294,6 @@ function bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4) {
14108
13294
  return bindingUpdated2(lView, bindingIndex + 2, exp3, exp4) || different;
14109
13295
  }
14110
13296
 
14111
- /**
14112
- * @license
14113
- * Copyright Google LLC All Rights Reserved.
14114
- *
14115
- * Use of this source code is governed by an MIT-style license that can be
14116
- * found in the LICENSE file at https://angular.io/license
14117
- */
14118
13297
  /**
14119
13298
  * Updates the value of or removes a bound attribute on an Element.
14120
13299
  *
@@ -14140,13 +13319,6 @@ function ɵɵattribute(name, value, sanitizer, namespace) {
14140
13319
  return ɵɵattribute;
14141
13320
  }
14142
13321
 
14143
- /**
14144
- * @license
14145
- * Copyright Google LLC All Rights Reserved.
14146
- *
14147
- * Use of this source code is governed by an MIT-style license that can be
14148
- * found in the LICENSE file at https://angular.io/license
14149
- */
14150
13322
  /**
14151
13323
  * Create interpolation bindings with a variable number of expressions.
14152
13324
  *
@@ -14658,13 +13830,6 @@ function ɵɵattributeInterpolateV(attrName, values, sanitizer, namespace) {
14658
13830
  return ɵɵattributeInterpolateV;
14659
13831
  }
14660
13832
 
14661
- /**
14662
- * @license
14663
- * Copyright Google LLC All Rights Reserved.
14664
- *
14665
- * Use of this source code is governed by an MIT-style license that can be
14666
- * found in the LICENSE file at https://angular.io/license
14667
- */
14668
13833
  /**
14669
13834
  * Synchronously perform change detection on a component (and possibly its sub-components).
14670
13835
  *
@@ -14677,13 +13842,6 @@ function detectChanges(component) {
14677
13842
  detectChangesInternal(view[TVIEW], view, component);
14678
13843
  }
14679
13844
 
14680
- /**
14681
- * @license
14682
- * Copyright Google LLC All Rights Reserved.
14683
- *
14684
- * Use of this source code is governed by an MIT-style license that can be
14685
- * found in the LICENSE file at https://angular.io/license
14686
- */
14687
13845
  function templateFirstCreatePass(index, tView, lView, templateFn, decls, vars, tagName, attrsIndex, localRefsIndex) {
14688
13846
  ngDevMode && assertFirstCreatePass(tView);
14689
13847
  ngDevMode && ngDevMode.firstCreatePass++;
@@ -14737,13 +13895,6 @@ function ɵɵtemplate(index, templateFn, decls, vars, tagName, attrsIndex, local
14737
13895
  }
14738
13896
  }
14739
13897
 
14740
- /**
14741
- * @license
14742
- * Copyright Google LLC All Rights Reserved.
14743
- *
14744
- * Use of this source code is governed by an MIT-style license that can be
14745
- * found in the LICENSE file at https://angular.io/license
14746
- */
14747
13898
  /** Store a value in the `data` at a given `index`. */
14748
13899
  function store(tView, lView, index, value) {
14749
13900
  // We don't store any static data for local variables, so the first time
@@ -14769,13 +13920,6 @@ function ɵɵreference(index) {
14769
13920
  return load(contextLView, HEADER_OFFSET + index);
14770
13921
  }
14771
13922
 
14772
- /**
14773
- * @license
14774
- * Copyright Google LLC All Rights Reserved.
14775
- *
14776
- * Use of this source code is governed by an MIT-style license that can be
14777
- * found in the LICENSE file at https://angular.io/license
14778
- */
14779
13923
  /**
14780
13924
  * Update a property on a selected element.
14781
13925
  *
@@ -14816,13 +13960,6 @@ function setDirectiveInputsWhichShadowsStyling(tView, tNode, lView, value, isCla
14816
13960
  setInputsForProperty(tView, lView, inputs[property], property, value);
14817
13961
  }
14818
13962
 
14819
- /**
14820
- * @license
14821
- * Copyright Google LLC All Rights Reserved.
14822
- *
14823
- * Use of this source code is governed by an MIT-style license that can be
14824
- * found in the LICENSE file at https://angular.io/license
14825
- */
14826
13963
  function elementStartFirstCreatePass(index, tView, lView, native, name, attrsIndex, localRefsIndex) {
14827
13964
  ngDevMode && assertFirstCreatePass(tView);
14828
13965
  ngDevMode && ngDevMode.firstCreatePass++;
@@ -14946,13 +14083,6 @@ function ɵɵelement(index, name, attrsIndex, localRefsIndex) {
14946
14083
  return ɵɵelement;
14947
14084
  }
14948
14085
 
14949
- /**
14950
- * @license
14951
- * Copyright Google LLC All Rights Reserved.
14952
- *
14953
- * Use of this source code is governed by an MIT-style license that can be
14954
- * found in the LICENSE file at https://angular.io/license
14955
- */
14956
14086
  function elementContainerStartFirstCreatePass(index, tView, lView, attrsIndex, localRefsIndex) {
14957
14087
  ngDevMode && ngDevMode.firstCreatePass++;
14958
14088
  const tViewConsts = tView.consts;
@@ -15066,13 +14196,6 @@ function ɵɵgetCurrentView() {
15066
14196
  return getLView();
15067
14197
  }
15068
14198
 
15069
- /**
15070
- * @license
15071
- * Copyright Google LLC All Rights Reserved.
15072
- *
15073
- * Use of this source code is governed by an MIT-style license that can be
15074
- * found in the LICENSE file at https://angular.io/license
15075
- */
15076
14199
  /**
15077
14200
  * Determine if the argument is shaped like a Promise
15078
14201
  */
@@ -15098,13 +14221,6 @@ function isSubscribable(obj) {
15098
14221
  */
15099
14222
  const isObservable = isSubscribable;
15100
14223
 
15101
- /**
15102
- * @license
15103
- * Copyright Google LLC All Rights Reserved.
15104
- *
15105
- * Use of this source code is governed by an MIT-style license that can be
15106
- * found in the LICENSE file at https://angular.io/license
15107
- */
15108
14224
  /**
15109
14225
  * Adds an event listener to the current node.
15110
14226
  *
@@ -15332,21 +14448,6 @@ function wrapListener(tNode, lView, context, listenerFn, wrapWithPreventDefault)
15332
14448
  };
15333
14449
  }
15334
14450
 
15335
- /**
15336
- * @license
15337
- * Copyright Google LLC All Rights Reserved.
15338
- *
15339
- * Use of this source code is governed by an MIT-style license that can be
15340
- * found in the LICENSE file at https://angular.io/license
15341
- */
15342
-
15343
- /**
15344
- * @license
15345
- * Copyright Google LLC All Rights Reserved.
15346
- *
15347
- * Use of this source code is governed by an MIT-style license that can be
15348
- * found in the LICENSE file at https://angular.io/license
15349
- */
15350
14451
  /**
15351
14452
  * Retrieves a context at the level specified and saves it as the global, contextViewData.
15352
14453
  * Will get the next level up if level is not specified.
@@ -15363,13 +14464,6 @@ function ɵɵnextContext(level = 1) {
15363
14464
  return nextContextImpl(level);
15364
14465
  }
15365
14466
 
15366
- /**
15367
- * @license
15368
- * Copyright Google LLC All Rights Reserved.
15369
- *
15370
- * Use of this source code is governed by an MIT-style license that can be
15371
- * found in the LICENSE file at https://angular.io/license
15372
- */
15373
14467
  /**
15374
14468
  * Checks a given node against matching projection slots and returns the
15375
14469
  * determined slot index. Returns "null" if no slot matched the given node.
@@ -15938,13 +15032,6 @@ function ɵɵpropertyInterpolateV(propName, values, sanitizer) {
15938
15032
  return ɵɵpropertyInterpolateV;
15939
15033
  }
15940
15034
 
15941
- /**
15942
- * @license
15943
- * Copyright Google LLC All Rights Reserved.
15944
- *
15945
- * Use of this source code is governed by an MIT-style license that can be
15946
- * found in the LICENSE file at https://angular.io/license
15947
- */
15948
15035
  function toTStylingRange(prev, next) {
15949
15036
  ngDevMode && assertNumberInRange(prev, 0, 32767 /* StylingRange.UNSIGNED_MASK */);
15950
15037
  ngDevMode && assertNumberInRange(next, 0, 32767 /* StylingRange.UNSIGNED_MASK */);
@@ -15994,13 +15081,6 @@ function getTStylingRangeTail(tStylingRange) {
15994
15081
  return next === 0 ? getTStylingRangePrev(tStylingRange) : next;
15995
15082
  }
15996
15083
 
15997
- /**
15998
- * @license
15999
- * Copyright Google LLC All Rights Reserved.
16000
- *
16001
- * Use of this source code is governed by an MIT-style license that can be
16002
- * found in the LICENSE file at https://angular.io/license
16003
- */
16004
15084
  /**
16005
15085
  * NOTE: The word `styling` is used interchangeably as style or class styling.
16006
15086
  *
@@ -16401,13 +15481,6 @@ function isStylingMatch(tStylingKeyCursor, tStylingKey) {
16401
15481
  return false;
16402
15482
  }
16403
15483
 
16404
- /**
16405
- * @license
16406
- * Copyright Google LLC All Rights Reserved.
16407
- *
16408
- * Use of this source code is governed by an MIT-style license that can be
16409
- * found in the LICENSE file at https://angular.io/license
16410
- */
16411
15484
  // Global state of the parser. (This makes parser non-reentrant, but that is not an issue)
16412
15485
  const parserState = {
16413
15486
  textEnd: 0,
@@ -16666,13 +15739,6 @@ function malformedStyleError(text, expecting, index) {
16666
15739
  `'. Expecting '${expecting}'.`);
16667
15740
  }
16668
15741
 
16669
- /**
16670
- * @license
16671
- * Copyright Google LLC All Rights Reserved.
16672
- *
16673
- * Use of this source code is governed by an MIT-style license that can be
16674
- * found in the LICENSE file at https://angular.io/license
16675
- */
16676
15742
  /**
16677
15743
  * Update a style binding on an element with the provided value.
16678
15744
  *
@@ -17442,13 +16508,6 @@ function hasStylingInputShadow(tNode, isClassBased) {
17442
16508
  return (tNode.flags & (isClassBased ? 8 /* TNodeFlags.hasClassInput */ : 16 /* TNodeFlags.hasStyleInput */)) !== 0;
17443
16509
  }
17444
16510
 
17445
- /**
17446
- * @license
17447
- * Copyright Google LLC All Rights Reserved.
17448
- *
17449
- * Use of this source code is governed by an MIT-style license that can be
17450
- * found in the LICENSE file at https://angular.io/license
17451
- */
17452
16511
  /**
17453
16512
  * Create static text node
17454
16513
  *
@@ -17473,13 +16532,6 @@ function ɵɵtext(index, value = '') {
17473
16532
  setCurrentTNode(tNode, false);
17474
16533
  }
17475
16534
 
17476
- /**
17477
- * @license
17478
- * Copyright Google LLC All Rights Reserved.
17479
- *
17480
- * Use of this source code is governed by an MIT-style license that can be
17481
- * found in the LICENSE file at https://angular.io/license
17482
- */
17483
16535
  /**
17484
16536
  *
17485
16537
  * Update text content with a lone bound value
@@ -17761,13 +16813,6 @@ function ɵɵtextInterpolateV(values) {
17761
16813
  return ɵɵtextInterpolateV;
17762
16814
  }
17763
16815
 
17764
- /**
17765
- * @license
17766
- * Copyright Google LLC All Rights Reserved.
17767
- *
17768
- * Use of this source code is governed by an MIT-style license that can be
17769
- * found in the LICENSE file at https://angular.io/license
17770
- */
17771
16816
  /**
17772
16817
  *
17773
16818
  * Update an interpolated class on an element with single bound value surrounded by text.
@@ -18067,13 +17112,6 @@ function ɵɵclassMapInterpolateV(values) {
18067
17112
  checkStylingMap(keyValueArraySet, classStringParser, interpolatedValue, true);
18068
17113
  }
18069
17114
 
18070
- /**
18071
- * @license
18072
- * Copyright Google LLC All Rights Reserved.
18073
- *
18074
- * Use of this source code is governed by an MIT-style license that can be
18075
- * found in the LICENSE file at https://angular.io/license
18076
- */
18077
17115
  /**
18078
17116
  *
18079
17117
  * Update an interpolated style on an element with single bound value surrounded by text.
@@ -18380,13 +17418,6 @@ function ɵɵstyleMapInterpolateV(values) {
18380
17418
  ɵɵstyleMap(interpolatedValue);
18381
17419
  }
18382
17420
 
18383
- /**
18384
- * @license
18385
- * Copyright Google LLC All Rights Reserved.
18386
- *
18387
- * Use of this source code is governed by an MIT-style license that can be
18388
- * found in the LICENSE file at https://angular.io/license
18389
- */
18390
17421
  /**
18391
17422
  *
18392
17423
  * Update an interpolated style property on an element with single bound value surrounded by text.
@@ -18738,13 +17769,6 @@ function ɵɵstylePropInterpolateV(prop, values, valueSuffix) {
18738
17769
  return ɵɵstylePropInterpolateV;
18739
17770
  }
18740
17771
 
18741
- /**
18742
- * @license
18743
- * Copyright Google LLC All Rights Reserved.
18744
- *
18745
- * Use of this source code is governed by an MIT-style license that can be
18746
- * found in the LICENSE file at https://angular.io/license
18747
- */
18748
17772
  /**
18749
17773
  * Update a property on a host element. Only applies to native node properties, not inputs.
18750
17774
  *
@@ -18805,13 +17829,6 @@ function ɵɵsyntheticHostProperty(propName, value, sanitizer) {
18805
17829
  return ɵɵsyntheticHostProperty;
18806
17830
  }
18807
17831
 
18808
- /**
18809
- * @license
18810
- * Copyright Google LLC All Rights Reserved.
18811
- *
18812
- * Use of this source code is governed by an MIT-style license that can be
18813
- * found in the LICENSE file at https://angular.io/license
18814
- */
18815
17832
  /**
18816
17833
  * NOTE: changes to the `ngI18nClosureMode` name must be synced with `compiler-cli/src/tooling.ts`.
18817
17834
  */
@@ -18829,13 +17846,6 @@ if (typeof ngI18nClosureMode === 'undefined') {
18829
17846
  })();
18830
17847
  }
18831
17848
 
18832
- /**
18833
- * @license
18834
- * Copyright Google LLC All Rights Reserved.
18835
- *
18836
- * Use of this source code is governed by an MIT-style license that can be
18837
- * found in the LICENSE file at https://angular.io/license
18838
- */
18839
17849
  // THIS CODE IS GENERATED - DO NOT MODIFY.
18840
17850
  const u = undefined;
18841
17851
  function plural(val) {
@@ -18846,13 +17856,6 @@ function plural(val) {
18846
17856
  }
18847
17857
  var localeEn = ["en", [["a", "p"], ["AM", "PM"], u], [["AM", "PM"], u, u], [["S", "M", "T", "W", "T", "F", "S"], ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"]], u, [["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"], ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]], u, [["B", "A"], ["BC", "AD"], ["Before Christ", "Anno Domini"]], 0, [6, 0], ["M/d/yy", "MMM d, y", "MMMM d, y", "EEEE, MMMM d, y"], ["h:mm a", "h:mm:ss a", "h:mm:ss a z", "h:mm:ss a zzzz"], ["{1}, {0}", u, "{1} 'at' {0}", u], [".", ",", ";", "%", "+", "-", "E", "×", "‰", "∞", "NaN", ":"], ["#,##0.###", "#,##0%", "¤#,##0.00", "#E0"], "USD", "$", "US Dollar", {}, "ltr", plural];
18848
17858
 
18849
- /**
18850
- * @license
18851
- * Copyright Google LLC All Rights Reserved.
18852
- *
18853
- * Use of this source code is governed by an MIT-style license that can be
18854
- * found in the LICENSE file at https://angular.io/license
18855
- */
18856
17859
  /**
18857
17860
  * This const is used to store the locale data registered with `registerLocaleData`
18858
17861
  */
@@ -18976,13 +17979,6 @@ function normalizeLocale(locale) {
18976
17979
  return locale.toLowerCase().replace(/_/g, '-');
18977
17980
  }
18978
17981
 
18979
- /**
18980
- * @license
18981
- * Copyright Google LLC All Rights Reserved.
18982
- *
18983
- * Use of this source code is governed by an MIT-style license that can be
18984
- * found in the LICENSE file at https://angular.io/license
18985
- */
18986
17982
  const pluralMapping = ['zero', 'one', 'two', 'few', 'many'];
18987
17983
  /**
18988
17984
  * Returns the plural case based on the locale
@@ -19002,13 +17998,6 @@ const DEFAULT_LOCALE_ID = 'en-US';
19002
17998
  */
19003
17999
  const USD_CURRENCY_CODE = 'USD';
19004
18000
 
19005
- /**
19006
- * @license
19007
- * Copyright Google LLC All Rights Reserved.
19008
- *
19009
- * Use of this source code is governed by an MIT-style license that can be
19010
- * found in the LICENSE file at https://angular.io/license
19011
- */
19012
18001
  /**
19013
18002
  * Marks that the next string is an element name.
19014
18003
  *
@@ -19048,13 +18037,6 @@ var I18nCreateOpCode;
19048
18037
  // failure based on types.
19049
18038
  const unusedValueExportToPlacateAjd = 1;
19050
18039
 
19051
- /**
19052
- * @license
19053
- * Copyright Google LLC All Rights Reserved.
19054
- *
19055
- * Use of this source code is governed by an MIT-style license that can be
19056
- * found in the LICENSE file at https://angular.io/license
19057
- */
19058
18040
  /**
19059
18041
  * The locale id that the application is currently using (for translations and ICU expressions).
19060
18042
  * This is the ivy version of `LOCALE_ID` that was defined as an injection token for the view engine
@@ -19083,13 +18065,6 @@ function getLocaleId() {
19083
18065
  return LOCALE_ID;
19084
18066
  }
19085
18067
 
19086
- /**
19087
- * @license
19088
- * Copyright Google LLC All Rights Reserved.
19089
- *
19090
- * Use of this source code is governed by an MIT-style license that can be
19091
- * found in the LICENSE file at https://angular.io/license
19092
- */
19093
18068
  /**
19094
18069
  * Find a node in front of which `currentTNode` should be inserted (takes i18n into account).
19095
18070
  *
@@ -19142,13 +18117,6 @@ function processI18nInsertBefore(renderer, childTNode, lView, childRNode, parent
19142
18117
  }
19143
18118
  }
19144
18119
 
19145
- /**
19146
- * @license
19147
- * Copyright Google LLC All Rights Reserved.
19148
- *
19149
- * Use of this source code is governed by an MIT-style license that can be
19150
- * found in the LICENSE file at https://angular.io/license
19151
- */
19152
18120
  /**
19153
18121
  * Add `tNode` to `previousTNodes` list and update relevant `TNode`s in `previousTNodes` list
19154
18122
  * `tNode.insertBeforeIndex`.
@@ -19222,13 +18190,6 @@ function setInsertBeforeIndex(tNode, value) {
19222
18190
  }
19223
18191
  }
19224
18192
 
19225
- /**
19226
- * @license
19227
- * Copyright Google LLC All Rights Reserved.
19228
- *
19229
- * Use of this source code is governed by an MIT-style license that can be
19230
- * found in the LICENSE file at https://angular.io/license
19231
- */
19232
18193
  /**
19233
18194
  * Retrieve `TIcu` at a given `index`.
19234
18195
  *
@@ -19340,13 +18301,6 @@ function icuCreateOpCode(opCode, parentIdx, refIdx) {
19340
18301
  return opCode | parentIdx << 17 /* IcuCreateOpCode.SHIFT_PARENT */ | refIdx << 1 /* IcuCreateOpCode.SHIFT_REF */;
19341
18302
  }
19342
18303
 
19343
- /**
19344
- * @license
19345
- * Copyright Google LLC All Rights Reserved.
19346
- *
19347
- * Use of this source code is governed by an MIT-style license that can be
19348
- * found in the LICENSE file at https://angular.io/license
19349
- */
19350
18304
  /**
19351
18305
  * Keep track of which input bindings in `ɵɵi18nExp` have changed.
19352
18306
  *
@@ -19735,13 +18689,6 @@ function getCaseIndex(icuExpression, bindingValue) {
19735
18689
  return index === -1 ? null : index;
19736
18690
  }
19737
18691
 
19738
- /**
19739
- * @license
19740
- * Copyright Google LLC All Rights Reserved.
19741
- *
19742
- * Use of this source code is governed by an MIT-style license that can be
19743
- * found in the LICENSE file at https://angular.io/license
19744
- */
19745
18692
  function loadIcuContainerVisitor() {
19746
18693
  const _stack = [];
19747
18694
  let _index = -1;
@@ -19815,53 +18762,6 @@ function loadIcuContainerVisitor() {
19815
18762
  return icuContainerIteratorStart;
19816
18763
  }
19817
18764
 
19818
- /**
19819
- * @license
19820
- * Copyright Google LLC All Rights Reserved.
19821
- *
19822
- * Use of this source code is governed by an MIT-style license that can be
19823
- * found in the LICENSE file at https://angular.io/license
19824
- */
19825
- /**
19826
- * Patch a `debug` property on top of the existing object.
19827
- *
19828
- * NOTE: always call this method with `ngDevMode && attachDebugObject(...)`
19829
- *
19830
- * @param obj Object to patch
19831
- * @param debug Value to patch
19832
- */
19833
- function attachDebugObject(obj, debug) {
19834
- if (ngDevMode) {
19835
- Object.defineProperty(obj, 'debug', { value: debug, enumerable: false });
19836
- }
19837
- else {
19838
- throw new Error('This method should be guarded with `ngDevMode` so that it can be tree shaken in production!');
19839
- }
19840
- }
19841
- /**
19842
- * Patch a `debug` property getter on top of the existing object.
19843
- *
19844
- * NOTE: always call this method with `ngDevMode && attachDebugObject(...)`
19845
- *
19846
- * @param obj Object to patch
19847
- * @param debugGetter Getter returning a value to patch
19848
- */
19849
- function attachDebugGetter(obj, debugGetter) {
19850
- if (ngDevMode) {
19851
- Object.defineProperty(obj, 'debug', { get: debugGetter, enumerable: false });
19852
- }
19853
- else {
19854
- throw new Error('This method should be guarded with `ngDevMode` so that it can be tree shaken in production!');
19855
- }
19856
- }
19857
-
19858
- /**
19859
- * @license
19860
- * Copyright Google LLC All Rights Reserved.
19861
- *
19862
- * Use of this source code is governed by an MIT-style license that can be
19863
- * found in the LICENSE file at https://angular.io/license
19864
- */
19865
18765
  /**
19866
18766
  * Converts `I18nCreateOpCodes` array into a human readable format.
19867
18767
  *
@@ -20068,13 +18968,6 @@ class OpCodeParser {
20068
18968
  }
20069
18969
  }
20070
18970
 
20071
- /**
20072
- * @license
20073
- * Copyright Google LLC All Rights Reserved.
20074
- *
20075
- * Use of this source code is governed by an MIT-style license that can be
20076
- * found in the LICENSE file at https://angular.io/license
20077
- */
20078
18971
  const BINDING_REGEXP = /�(\d+):?\d*�/gi;
20079
18972
  const ICU_REGEXP = /({\s*�\d+:?\d*�\s*,\s*\S{6}\s*,[\s\S]*})/gi;
20080
18973
  const NESTED_ICU = /�(\d+)�/;
@@ -20093,6 +18986,22 @@ const NGSP_UNICODE_REGEXP = /\uE500/g;
20093
18986
  function replaceNgsp(value) {
20094
18987
  return value.replace(NGSP_UNICODE_REGEXP, ' ');
20095
18988
  }
18989
+ /**
18990
+ * Patch a `debug` property getter on top of the existing object.
18991
+ *
18992
+ * NOTE: always call this method with `ngDevMode && attachDebugObject(...)`
18993
+ *
18994
+ * @param obj Object to patch
18995
+ * @param debugGetter Getter returning a value to patch
18996
+ */
18997
+ function attachDebugGetter(obj, debugGetter) {
18998
+ if (ngDevMode) {
18999
+ Object.defineProperty(obj, 'debug', { get: debugGetter, enumerable: false });
19000
+ }
19001
+ else {
19002
+ throw new Error('This method should be guarded with `ngDevMode` so that it can be tree shaken in production!');
19003
+ }
19004
+ }
20096
19005
  /**
20097
19006
  * Create dynamic nodes from i18n translation block.
20098
19007
  *
@@ -20677,13 +19586,6 @@ function addCreateAttribute(create, newIndex, attr) {
20677
19586
  create.push(newIndex << 1 /* IcuCreateOpCode.SHIFT_REF */ | 1 /* IcuCreateOpCode.Attr */, attr.name, attr.value);
20678
19587
  }
20679
19588
 
20680
- /**
20681
- * @license
20682
- * Copyright Google LLC All Rights Reserved.
20683
- *
20684
- * Use of this source code is governed by an MIT-style license that can be
20685
- * found in the LICENSE file at https://angular.io/license
20686
- */
20687
19589
  // i18nPostprocess consts
20688
19590
  const ROOT_TEMPLATE_ID = 0;
20689
19591
  const PP_MULTI_VALUE_PLACEHOLDERS_REGEXP = /\[(�.+?�?)\]/;
@@ -20798,13 +19700,6 @@ function i18nPostprocess(message, replacements = {}) {
20798
19700
  return result;
20799
19701
  }
20800
19702
 
20801
- /**
20802
- * @license
20803
- * Copyright Google LLC All Rights Reserved.
20804
- *
20805
- * Use of this source code is governed by an MIT-style license that can be
20806
- * found in the LICENSE file at https://angular.io/license
20807
- */
20808
19703
  /**
20809
19704
  * Marks a block of text as translatable.
20810
19705
  *
@@ -20954,21 +19849,26 @@ function ɵɵi18nPostprocess(message, replacements = {}) {
20954
19849
  return i18nPostprocess(message, replacements);
20955
19850
  }
20956
19851
 
20957
- /**
20958
- * @license
20959
- * Copyright Google LLC All Rights Reserved.
19852
+ /*
19853
+ * This file re-exports all symbols contained in this directory.
20960
19854
  *
20961
- * Use of this source code is governed by an MIT-style license that can be
20962
- * found in the LICENSE file at https://angular.io/license
20963
- */
20964
-
20965
- /**
20966
- * @license
20967
- * Copyright Google LLC All Rights Reserved.
19855
+ * Why is this file not `index.ts`?
19856
+ *
19857
+ * There seems to be an inconsistent path resolution of an `index.ts` file
19858
+ * when only the parent directory is referenced. This could be due to the
19859
+ * node module resolution configuration differing from rollup and/or typescript.
20968
19860
  *
20969
- * Use of this source code is governed by an MIT-style license that can be
20970
- * found in the LICENSE file at https://angular.io/license
19861
+ * With commit
19862
+ * https://github.com/angular/angular/commit/d5e3f2c64bd13ce83e7c70788b7fc514ca4a9918
19863
+ * the `instructions.ts` file was moved to `instructions/instructions.ts` and an
19864
+ * `index.ts` file was used to re-export everything. Having had file names that were
19865
+ * importing from `instructions' directly (not the from the sub file or the `index.ts`
19866
+ * file) caused strange CI issues. `index.ts` had to be renamed to `all.ts` for this
19867
+ * to work.
19868
+ *
19869
+ * Jira Issue = FW-1184
20971
19870
  */
19871
+
20972
19872
  /**
20973
19873
  * Resolves the providers which are defined in the DirectiveDef.
20974
19874
  *
@@ -21251,13 +20151,6 @@ function ɵɵProvidersFeature(providers, viewProviders = []) {
21251
20151
  };
21252
20152
  }
21253
20153
 
21254
- /**
21255
- * @license
21256
- * Copyright Google LLC All Rights Reserved.
21257
- *
21258
- * Use of this source code is governed by an MIT-style license that can be
21259
- * found in the LICENSE file at https://angular.io/license
21260
- */
21261
20154
  /**
21262
20155
  * Represents an instance of an `NgModule` created by an `NgModuleFactory`.
21263
20156
  * Provides access to the `NgModule` instance and related objects.
@@ -21280,13 +20173,6 @@ class NgModuleRef$1 {
21280
20173
  class NgModuleFactory$1 {
21281
20174
  }
21282
20175
 
21283
- /**
21284
- * @license
21285
- * Copyright Google LLC All Rights Reserved.
21286
- *
21287
- * Use of this source code is governed by an MIT-style license that can be
21288
- * found in the LICENSE file at https://angular.io/license
21289
- */
21290
20176
  /**
21291
20177
  * Returns a new NgModuleRef instance based on the NgModule class and parent injector provided.
21292
20178
  *
@@ -21399,13 +20285,6 @@ function createEnvironmentInjector(providers, parent, debugName = null) {
21399
20285
  return adapter.injector;
21400
20286
  }
21401
20287
 
21402
- /**
21403
- * @license
21404
- * Copyright Google LLC All Rights Reserved.
21405
- *
21406
- * Use of this source code is governed by an MIT-style license that can be
21407
- * found in the LICENSE file at https://angular.io/license
21408
- */
21409
20288
  /**
21410
20289
  * A service used by the framework to create instances of standalone injectors. Those injectors are
21411
20290
  * created on demand in case of dynamic component instantiation and contain ambient providers
@@ -21464,13 +20343,6 @@ function ɵɵStandaloneFeature(definition) {
21464
20343
  };
21465
20344
  }
21466
20345
 
21467
- /**
21468
- * @license
21469
- * Copyright Google LLC All Rights Reserved.
21470
- *
21471
- * Use of this source code is governed by an MIT-style license that can be
21472
- * found in the LICENSE file at https://angular.io/license
21473
- */
21474
20346
  /**
21475
20347
  * Retrieves the component instance associated with a given DOM element.
21476
20348
  *
@@ -21848,13 +20720,6 @@ function assertDomElement(value) {
21848
20720
  }
21849
20721
  }
21850
20722
 
21851
- /**
21852
- * @license
21853
- * Copyright Google LLC All Rights Reserved.
21854
- *
21855
- * Use of this source code is governed by an MIT-style license that can be
21856
- * found in the LICENSE file at https://angular.io/license
21857
- */
21858
20723
  /**
21859
20724
  * Adds decorator, constructor, and property metadata to a given type via static metadata fields
21860
20725
  * on the type.
@@ -21896,13 +20761,6 @@ function setClassMetadata(type, decorators, ctorParameters, propDecorators) {
21896
20761
  });
21897
20762
  }
21898
20763
 
21899
- /**
21900
- * @license
21901
- * Copyright Google LLC All Rights Reserved.
21902
- *
21903
- * Use of this source code is governed by an MIT-style license that can be
21904
- * found in the LICENSE file at https://angular.io/license
21905
- */
21906
20764
  /**
21907
20765
  * Bindings for pure functions are stored after regular bindings.
21908
20766
  *
@@ -22244,13 +21102,6 @@ function pureFunctionVInternal(lView, bindingRoot, slotOffset, pureFn, exps, thi
22244
21102
  getPureFunctionReturnValue(lView, bindingIndex);
22245
21103
  }
22246
21104
 
22247
- /**
22248
- * @license
22249
- * Copyright Google LLC All Rights Reserved.
22250
- *
22251
- * Use of this source code is governed by an MIT-style license that can be
22252
- * found in the LICENSE file at https://angular.io/license
22253
- */
22254
21105
  /**
22255
21106
  * Create a pipe.
22256
21107
  *
@@ -22440,13 +21291,7 @@ function isPure(lView, index) {
22440
21291
  return lView[TVIEW].data[index].pure;
22441
21292
  }
22442
21293
 
22443
- /**
22444
- * @license
22445
- * Copyright Google LLC All Rights Reserved.
22446
- *
22447
- * Use of this source code is governed by an MIT-style license that can be
22448
- * found in the LICENSE file at https://angular.io/license
22449
- */
21294
+ /// <reference types="rxjs" />
22450
21295
  class EventEmitter_ extends Subject {
22451
21296
  constructor(isAsync = false) {
22452
21297
  super();
@@ -22491,13 +21336,6 @@ function _wrapInTimeout(fn) {
22491
21336
  */
22492
21337
  const EventEmitter = EventEmitter_;
22493
21338
 
22494
- /**
22495
- * @license
22496
- * Copyright Google LLC All Rights Reserved.
22497
- *
22498
- * Use of this source code is governed by an MIT-style license that can be
22499
- * found in the LICENSE file at https://angular.io/license
22500
- */
22501
21339
  function symbolIterator() {
22502
21340
  return this._results[getSymbolIterator()]();
22503
21341
  }
@@ -22658,13 +21496,6 @@ class QueryList {
22658
21496
  }
22659
21497
  Symbol.iterator;
22660
21498
 
22661
- /**
22662
- * @license
22663
- * Copyright Google LLC All Rights Reserved.
22664
- *
22665
- * Use of this source code is governed by an MIT-style license that can be
22666
- * found in the LICENSE file at https://angular.io/license
22667
- */
22668
21499
  /**
22669
21500
  * Represents an embedded template that can be used to instantiate embedded views.
22670
21501
  * To instantiate embedded views based on a template, use the `ViewContainerRef`
@@ -22737,13 +21568,6 @@ function createTemplateRef(hostTNode, hostLView) {
22737
21568
  return null;
22738
21569
  }
22739
21570
 
22740
- /**
22741
- * @license
22742
- * Copyright Google LLC All Rights Reserved.
22743
- *
22744
- * Use of this source code is governed by an MIT-style license that can be
22745
- * found in the LICENSE file at https://angular.io/license
22746
- */
22747
21571
  /**
22748
21572
  * Represents a container where one or more views can be attached to a component.
22749
21573
  *
@@ -23036,13 +21860,6 @@ function createContainerRef(hostTNode, hostLView) {
23036
21860
  return new R3ViewContainerRef(lContainer, hostTNode, hostLView);
23037
21861
  }
23038
21862
 
23039
- /**
23040
- * @license
23041
- * Copyright Google LLC All Rights Reserved.
23042
- *
23043
- * Use of this source code is governed by an MIT-style license that can be
23044
- * found in the LICENSE file at https://angular.io/license
23045
- */
23046
21863
  class LQuery_ {
23047
21864
  constructor(queryList) {
23048
21865
  this.queryList = queryList;
@@ -23500,13 +22317,6 @@ function getTQuery(tView, index) {
23500
22317
  return tView.queries.getByIndex(index);
23501
22318
  }
23502
22319
 
23503
- /**
23504
- * @license
23505
- * Copyright Google LLC All Rights Reserved.
23506
- *
23507
- * Use of this source code is governed by an MIT-style license that can be
23508
- * found in the LICENSE file at https://angular.io/license
23509
- */
23510
22320
  /**
23511
22321
  * Retrieves `TemplateRef` instance from `Injector` when a local reference is placed on the
23512
22322
  * `<ng-template>` element.
@@ -23517,21 +22327,6 @@ function ɵɵtemplateRefExtractor(tNode, lView) {
23517
22327
  return createTemplateRef(tNode, lView);
23518
22328
  }
23519
22329
 
23520
- /**
23521
- * @license
23522
- * Copyright Google LLC All Rights Reserved.
23523
- *
23524
- * Use of this source code is governed by an MIT-style license that can be
23525
- * found in the LICENSE file at https://angular.io/license
23526
- */
23527
-
23528
- /**
23529
- * @license
23530
- * Copyright Google LLC All Rights Reserved.
23531
- *
23532
- * Use of this source code is governed by an MIT-style license that can be
23533
- * found in the LICENSE file at https://angular.io/license
23534
- */
23535
22330
  /**
23536
22331
  * A mapping of the @angular/core API surface used in generated expressions to the actual symbols.
23537
22332
  *
@@ -23690,24 +22485,10 @@ const angularCoreEnv = (() => ({
23690
22485
  'resolveForwardRef': resolveForwardRef,
23691
22486
  }))();
23692
22487
 
23693
- /**
23694
- * @license
23695
- * Copyright Google LLC All Rights Reserved.
23696
- *
23697
- * Use of this source code is governed by an MIT-style license that can be
23698
- * found in the LICENSE file at https://angular.io/license
23699
- */
23700
22488
  function patchModuleCompilation() {
23701
22489
  // Does nothing, but exists as a target for patching.
23702
22490
  }
23703
22491
 
23704
- /**
23705
- * @license
23706
- * Copyright Google LLC All Rights Reserved.
23707
- *
23708
- * Use of this source code is governed by an MIT-style license that can be
23709
- * found in the LICENSE file at https://angular.io/license
23710
- */
23711
22492
  function isModuleWithProviders$1(value) {
23712
22493
  return value.ngModule !== undefined;
23713
22494
  }
@@ -23715,13 +22496,6 @@ function isNgModule$1(value) {
23715
22496
  return !!getNgModuleDef(value);
23716
22497
  }
23717
22498
 
23718
- /**
23719
- * @license
23720
- * Copyright Google LLC All Rights Reserved.
23721
- *
23722
- * Use of this source code is governed by an MIT-style license that can be
23723
- * found in the LICENSE file at https://angular.io/license
23724
- */
23725
22499
  const moduleQueue = [];
23726
22500
  /**
23727
22501
  * Enqueues moduleDef to be checked later to see if scope can be set on its
@@ -24243,13 +23017,6 @@ function expandModuleWithProviders(value) {
24243
23017
  return value;
24244
23018
  }
24245
23019
 
24246
- /**
24247
- * @license
24248
- * Copyright Google LLC All Rights Reserved.
24249
- *
24250
- * Use of this source code is governed by an MIT-style license that can be
24251
- * found in the LICENSE file at https://angular.io/license
24252
- */
24253
23020
  let _nextReferenceId = 0;
24254
23021
  class MetadataOverrider {
24255
23022
  constructor() {
@@ -24371,13 +23138,6 @@ function _valueProps(obj) {
24371
23138
  return props;
24372
23139
  }
24373
23140
 
24374
- /**
24375
- * @license
24376
- * Copyright Google LLC All Rights Reserved.
24377
- *
24378
- * Use of this source code is governed by an MIT-style license that can be
24379
- * found in the LICENSE file at https://angular.io/license
24380
- */
24381
23141
  const reflection = new ɵReflectionCapabilities();
24382
23142
  /**
24383
23143
  * Allows to override ivy metadata for tests (via the `TestBed`).
@@ -24455,13 +23215,6 @@ class NgModuleResolver extends OverrideResolver {
24455
23215
  }
24456
23216
  }
24457
23217
 
24458
- /**
24459
- * @license
24460
- * Copyright Google LLC All Rights Reserved.
24461
- *
24462
- * Use of this source code is governed by an MIT-style license that can be
24463
- * found in the LICENSE file at https://angular.io/license
24464
- */
24465
23218
  var TestingModuleOverride;
24466
23219
  (function (TestingModuleOverride) {
24467
23220
  TestingModuleOverride[TestingModuleOverride["DECLARATION"] = 0] = "DECLARATION";
@@ -25291,13 +24044,7 @@ class R3TestCompiler {
25291
24044
  }
25292
24045
  }
25293
24046
 
25294
- /**
25295
- * @license
25296
- * Copyright Google LLC All Rights Reserved.
25297
- *
25298
- * Use of this source code is governed by an MIT-style license that can be
25299
- * found in the LICENSE file at https://angular.io/license
25300
- */
24047
+ // The formatter and CI disagree on how this import statement should be formatted. Both try to keep
25301
24048
  let _nextRootElementId = 0;
25302
24049
  /**
25303
24050
  * Returns a singleton of the `TestBed` class.
@@ -25815,11 +24562,9 @@ function withModule(moduleDef, fn) {
25815
24562
  }
25816
24563
 
25817
24564
  /**
25818
- * @license
25819
- * Copyright Google LLC All Rights Reserved.
25820
- *
25821
- * Use of this source code is governed by an MIT-style license that can be
25822
- * found in the LICENSE file at https://angular.io/license
24565
+ * Public Test Library for unit testing Angular applications. Assumes that you are running
24566
+ * with Jasmine, Mocha, or a similar framework which exports a beforeEach function and
24567
+ * allows tests to be asynchronous by either returning a promise or using a 'done' parameter.
25823
24568
  */
25824
24569
  const _global = (typeof window === 'undefined' ? global : window);
25825
24570
  // Reset the test providers and the fake async zone before each test.
@@ -25853,37 +24598,15 @@ function getCleanupHook(expectedTeardownValue) {
25853
24598
  const __core_private_testing_placeholder__ = '';
25854
24599
 
25855
24600
  /**
25856
- * @license
25857
- * Copyright Google LLC All Rights Reserved.
25858
- *
25859
- * Use of this source code is governed by an MIT-style license that can be
25860
- * found in the LICENSE file at https://angular.io/license
25861
- */
25862
-
25863
- /**
25864
- * @license
25865
- * Copyright Google LLC All Rights Reserved.
25866
- *
25867
- * Use of this source code is governed by an MIT-style license that can be
25868
- * found in the LICENSE file at https://angular.io/license
24601
+ * @module
24602
+ * @description
24603
+ * Entry point for all public APIs of the core/testing package.
25869
24604
  */
25870
24605
 
25871
- /**
25872
- * @license
25873
- * Copyright Google LLC All Rights Reserved.
25874
- *
25875
- * Use of this source code is governed by an MIT-style license that can be
25876
- * found in the LICENSE file at https://angular.io/license
25877
- */
24606
+ /// <reference types="jasmine" />
25878
24607
  // This file only reexports content of the `src` folder. Keep it that way.
25879
24608
 
25880
- /**
25881
- * @license
25882
- * Copyright Google LLC All Rights Reserved.
25883
- *
25884
- * Use of this source code is governed by an MIT-style license that can be
25885
- * found in the LICENSE file at https://angular.io/license
25886
- */
24609
+ // This file is not used to build this module. It is only used during editing
25887
24610
 
25888
24611
  /**
25889
24612
  * Generated bundle index. Do not edit.