@angular/core 15.1.0-next.2 → 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 (93) hide show
  1. package/esm2020/src/application_init.mjs +2 -1
  2. package/esm2020/src/application_ref.mjs +10 -3
  3. package/esm2020/src/di/injector_compatibility.mjs +2 -2
  4. package/esm2020/src/di/r3_injector.mjs +2 -2
  5. package/esm2020/src/errors.mjs +1 -1
  6. package/esm2020/src/linker/view_ref.mjs +1 -1
  7. package/esm2020/src/render3/i18n/i18n_parse.mjs +17 -2
  8. package/esm2020/src/util/global.mjs +1 -1
  9. package/esm2020/src/version.mjs +1 -1
  10. package/esm2020/testing/src/component_fixture.mjs +1 -1
  11. package/esm2020/testing/src/logger.mjs +7 -7
  12. package/esm2020/testing/src/ng_zone_mock.mjs +3 -3
  13. package/esm2020/testing/src/test_bed.mjs +1 -1
  14. package/fesm2015/core.mjs +111 -1560
  15. package/fesm2015/core.mjs.map +1 -1
  16. package/fesm2015/testing.mjs +79 -1334
  17. package/fesm2015/testing.mjs.map +1 -1
  18. package/fesm2020/core.mjs +113 -1584
  19. package/fesm2020/core.mjs.map +1 -1
  20. package/fesm2020/testing.mjs +81 -1358
  21. package/fesm2020/testing.mjs.map +1 -1
  22. package/index.d.ts +4 -4
  23. package/package.json +1 -1
  24. package/schematics/migrations/relative-link-resolution/bundle.js +265 -0
  25. package/schematics/migrations/relative-link-resolution/bundle.js.map +7 -0
  26. package/schematics/migrations/relative-link-resolution/bundle_metadata.json +1 -0
  27. package/schematics/migrations/router-link-with-href/bundle.js +350 -0
  28. package/schematics/migrations/router-link-with-href/bundle.js.map +7 -0
  29. package/schematics/migrations/router-link-with-href/bundle_metadata.json +1 -0
  30. package/schematics/migrations.json +5 -20
  31. package/testing/index.d.ts +4 -1
  32. package/esm2020/src/render3/util/debug_utils.mjs +0 -40
  33. package/esm2020/testing/src/lang_utils.mjs +0 -14
  34. package/schematics/migrations/entry-components/index.d.ts +0 -11
  35. package/schematics/migrations/entry-components/index.js +0 -71
  36. package/schematics/migrations/entry-components/util.d.ts +0 -16
  37. package/schematics/migrations/entry-components/util.js +0 -57
  38. package/schematics/migrations/path-match-type/index.d.ts +0 -11
  39. package/schematics/migrations/path-match-type/index.js +0 -95
  40. package/schematics/migrations/path-match-type/transform.d.ts +0 -19
  41. package/schematics/migrations/path-match-type/transform.js +0 -48
  42. package/schematics/migrations/path-match-type/update_recorder.d.ts +0 -18
  43. package/schematics/migrations/path-match-type/update_recorder.js +0 -20
  44. package/schematics/migrations/path-match-type/util.d.ts +0 -11
  45. package/schematics/migrations/path-match-type/util.js +0 -106
  46. package/schematics/migrations/relative-link-resolution/index.d.ts +0 -10
  47. package/schematics/migrations/relative-link-resolution/index.js +0 -68
  48. package/schematics/migrations/relative-link-resolution/util.d.ts +0 -20
  49. package/schematics/migrations/relative-link-resolution/util.js +0 -82
  50. package/schematics/migrations/router-link-with-href/index.d.ts +0 -10
  51. package/schematics/migrations/router-link-with-href/index.js +0 -70
  52. package/schematics/migrations/router-link-with-href/util.d.ts +0 -19
  53. package/schematics/migrations/router-link-with-href/util.js +0 -111
  54. package/schematics/migrations/typed-forms/index.d.ts +0 -10
  55. package/schematics/migrations/typed-forms/index.js +0 -68
  56. package/schematics/migrations/typed-forms/util.d.ts +0 -19
  57. package/schematics/migrations/typed-forms/util.js +0 -134
  58. package/schematics/utils/import_manager.d.ts +0 -57
  59. package/schematics/utils/import_manager.js +0 -234
  60. package/schematics/utils/line_mappings.d.ts +0 -18
  61. package/schematics/utils/line_mappings.js +0 -75
  62. package/schematics/utils/load_esm.d.ts +0 -32
  63. package/schematics/utils/load_esm.js +0 -79
  64. package/schematics/utils/ng_component_template.d.ts +0 -44
  65. package/schematics/utils/ng_component_template.js +0 -131
  66. package/schematics/utils/ng_decorators.d.ts +0 -23
  67. package/schematics/utils/ng_decorators.js +0 -37
  68. package/schematics/utils/parse_html.d.ts +0 -14
  69. package/schematics/utils/parse_html.js +0 -37
  70. package/schematics/utils/project_tsconfig_paths.d.ts +0 -17
  71. package/schematics/utils/project_tsconfig_paths.js +0 -122
  72. package/schematics/utils/template_ast_visitor.d.ts +0 -55
  73. package/schematics/utils/template_ast_visitor.js +0 -73
  74. package/schematics/utils/typescript/class_declaration.d.ts +0 -15
  75. package/schematics/utils/typescript/class_declaration.js +0 -52
  76. package/schematics/utils/typescript/compiler_host.d.ts +0 -34
  77. package/schematics/utils/typescript/compiler_host.js +0 -85
  78. package/schematics/utils/typescript/decorators.d.ts +0 -11
  79. package/schematics/utils/typescript/decorators.js +0 -37
  80. package/schematics/utils/typescript/find_base_classes.d.ts +0 -14
  81. package/schematics/utils/typescript/find_base_classes.js +0 -47
  82. package/schematics/utils/typescript/functions.d.ts +0 -17
  83. package/schematics/utils/typescript/functions.js +0 -46
  84. package/schematics/utils/typescript/imports.d.ts +0 -53
  85. package/schematics/utils/typescript/imports.js +0 -128
  86. package/schematics/utils/typescript/nodes.d.ts +0 -20
  87. package/schematics/utils/typescript/nodes.js +0 -77
  88. package/schematics/utils/typescript/parse_tsconfig.d.ts +0 -10
  89. package/schematics/utils/typescript/parse_tsconfig.js +0 -66
  90. package/schematics/utils/typescript/property_name.d.ts +0 -19
  91. package/schematics/utils/typescript/property_name.js +0 -41
  92. package/schematics/utils/typescript/symbol.d.ts +0 -19
  93. package/schematics/utils/typescript/symbol.js +0 -93
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v15.1.0-next.2
2
+ * @license Angular v15.1.0-rc.0
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -9,13 +9,6 @@ import { __awaiter } from 'tslib';
9
9
  import { ResourceLoader } from '@angular/compiler';
10
10
  import { Subject, Subscription } from 'rxjs';
11
11
 
12
- /**
13
- * @license
14
- * Copyright Google LLC All Rights Reserved.
15
- *
16
- * Use of this source code is governed by an MIT-style license that can be
17
- * found in the LICENSE file at https://angular.io/license
18
- */
19
12
  /**
20
13
  * Wraps a test function in an asynchronous test zone. The test will automatically
21
14
  * complete when all asynchronous calls within this zone are done. Can be used
@@ -59,13 +52,6 @@ function async(fn) {
59
52
  return waitForAsync(fn);
60
53
  }
61
54
 
62
- /**
63
- * @license
64
- * Copyright Google LLC All Rights Reserved.
65
- *
66
- * Use of this source code is governed by an MIT-style license that can be
67
- * found in the LICENSE file at https://angular.io/license
68
- */
69
55
  /**
70
56
  * Fixture for debugging and testing a component.
71
57
  *
@@ -250,13 +236,6 @@ function scheduleMicroTask(fn) {
250
236
  Zone.current.scheduleMicroTask('scheduleMicrotask', fn);
251
237
  }
252
238
 
253
- /**
254
- * @license
255
- * Copyright Google LLC All Rights Reserved.
256
- *
257
- * Use of this source code is governed by an MIT-style license that can be
258
- * found in the LICENSE file at https://angular.io/license
259
- */
260
239
  const _Zone = typeof Zone !== 'undefined' ? Zone : null;
261
240
  const fakeAsyncTestModule = _Zone && _Zone[_Zone.__symbol__('fakeAsyncTest')];
262
241
  const fakeAsyncTestModuleNotLoadedErrorMessage = `zone-testing.js is needed for the fakeAsync() test helper but could not be found.
@@ -414,13 +393,6 @@ function flushMicrotasks() {
414
393
  throw new Error(fakeAsyncTestModuleNotLoadedErrorMessage);
415
394
  }
416
395
 
417
- /**
418
- * @license
419
- * Copyright Google LLC All Rights Reserved.
420
- *
421
- * Use of this source code is governed by an MIT-style license that can be
422
- * found in the LICENSE file at https://angular.io/license
423
- */
424
396
  /** Whether test modules should be torn down by default. */
425
397
  const TEARDOWN_TESTING_MODULE_ON_DESTROY_DEFAULT = true;
426
398
  /** Whether unknown elements in templates should throw by default. */
@@ -445,13 +417,6 @@ const ComponentFixtureAutoDetect = new InjectionToken$1('ComponentFixtureAutoDet
445
417
  */
446
418
  const ComponentFixtureNoNgZone = new InjectionToken$1('ComponentFixtureNoNgZone');
447
419
 
448
- /**
449
- * @license
450
- * Copyright Google LLC All Rights Reserved.
451
- *
452
- * Use of this source code is governed by an MIT-style license that can be
453
- * found in the LICENSE file at https://angular.io/license
454
- */
455
420
  /**
456
421
  * Used to resolve resource URLs on `@Component` when used with JIT compilation.
457
422
  *
@@ -559,13 +524,6 @@ function componentDefResolved(type) {
559
524
  componentDefPendingResolution.delete(type);
560
525
  }
561
526
 
562
- /**
563
- * @license
564
- * Copyright Google LLC All Rights Reserved.
565
- *
566
- * Use of this source code is governed by an MIT-style license that can be
567
- * found in the LICENSE file at https://angular.io/license
568
- */
569
527
  // Always use __globalThis if available, which is the spec-defined global variable across all
570
528
  // environments, then fallback to __global first, because in Node tests both __global and
571
529
  // __window may be defined and _global should be __global in that case. Note: Typeof/Instanceof
@@ -576,13 +534,6 @@ const _global$1 = ( /* @__PURE__ */(() => (typeof globalThis !== 'undefined' &&
576
534
  (typeof self !== 'undefined' && typeof WorkerGlobalScope !== 'undefined' &&
577
535
  self instanceof WorkerGlobalScope && self))());
578
536
 
579
- /**
580
- * @license
581
- * Copyright Google LLC All Rights Reserved.
582
- *
583
- * Use of this source code is governed by an MIT-style license that can be
584
- * found in the LICENSE file at https://angular.io/license
585
- */
586
537
  var FactoryTarget;
587
538
  (function (FactoryTarget) {
588
539
  FactoryTarget[FactoryTarget["Directive"] = 0] = "Directive";
@@ -605,13 +556,6 @@ var ViewEncapsulation$1;
605
556
  ViewEncapsulation[ViewEncapsulation["ShadowDom"] = 3] = "ShadowDom";
606
557
  })(ViewEncapsulation$1 || (ViewEncapsulation$1 = {}));
607
558
 
608
- /**
609
- * @license
610
- * Copyright Google LLC All Rights Reserved.
611
- *
612
- * Use of this source code is governed by an MIT-style license that can be
613
- * found in the LICENSE file at https://angular.io/license
614
- */
615
559
  function getCompilerFacade(request) {
616
560
  const globalNg = _global$1['ng'];
617
561
  if (globalNg && globalNg.ɵcompilerFacade) {
@@ -646,13 +590,6 @@ function getCompilerFacade(request) {
646
590
  }
647
591
  }
648
592
 
649
- /**
650
- * @license
651
- * Copyright Google LLC All Rights Reserved.
652
- *
653
- * Use of this source code is governed by an MIT-style license that can be
654
- * found in the LICENSE file at https://angular.io/license
655
- */
656
593
  function getClosureSafeProperty(objWithPropertyToExtract) {
657
594
  for (let key in objWithPropertyToExtract) {
658
595
  if (objWithPropertyToExtract[key] === getClosureSafeProperty) {
@@ -675,13 +612,6 @@ function fillProperties(target, source) {
675
612
  }
676
613
  }
677
614
 
678
- /**
679
- * @license
680
- * Copyright Google LLC All Rights Reserved.
681
- *
682
- * Use of this source code is governed by an MIT-style license that can be
683
- * found in the LICENSE file at https://angular.io/license
684
- */
685
615
  function stringify(token) {
686
616
  if (typeof token === 'string') {
687
617
  return token;
@@ -719,13 +649,6 @@ function concatStringsWithSpace(before, after) {
719
649
  ((after == null || after === '') ? before : before + ' ' + after);
720
650
  }
721
651
 
722
- /**
723
- * @license
724
- * Copyright Google LLC All Rights Reserved.
725
- *
726
- * Use of this source code is governed by an MIT-style license that can be
727
- * found in the LICENSE file at https://angular.io/license
728
- */
729
652
  const __forward_ref__ = getClosureSafeProperty({ __forward_ref__: getClosureSafeProperty });
730
653
  /**
731
654
  * Allows to refer to references which are not yet defined.
@@ -768,13 +691,6 @@ function isForwardRef(fn) {
768
691
  fn.__forward_ref__ === forwardRef;
769
692
  }
770
693
 
771
- /**
772
- * @license
773
- * Copyright Google LLC All Rights Reserved.
774
- *
775
- * Use of this source code is governed by an MIT-style license that can be
776
- * found in the LICENSE file at https://angular.io/license
777
- */
778
694
  /**
779
695
  * Construct an injectable definition which defines how a token will be constructed by the DI
780
696
  * system, and in which injectors (if any) it will be available.
@@ -897,13 +813,6 @@ const NG_INJ_DEF = getClosureSafeProperty({ ɵinj: getClosureSafeProperty });
897
813
  const NG_INJECTABLE_DEF = getClosureSafeProperty({ ngInjectableDef: getClosureSafeProperty });
898
814
  const NG_INJECTOR_DEF = getClosureSafeProperty({ ngInjectorDef: getClosureSafeProperty });
899
815
 
900
- /**
901
- * @license
902
- * Copyright Google LLC All Rights Reserved.
903
- *
904
- * Use of this source code is governed by an MIT-style license that can be
905
- * found in the LICENSE file at https://angular.io/license
906
- */
907
816
  /**
908
817
  * Base URL for the error details page.
909
818
  *
@@ -917,13 +826,6 @@ const ERROR_DETAILS_PAGE_BASE_URL = 'https://angular.io/errors';
917
826
  */
918
827
  const XSS_SECURITY_URL = 'https://g.co/ng/security#xss';
919
828
 
920
- /**
921
- * @license
922
- * Copyright Google LLC All Rights Reserved.
923
- *
924
- * Use of this source code is governed by an MIT-style license that can be
925
- * found in the LICENSE file at https://angular.io/license
926
- */
927
829
  /**
928
830
  * Class that represents a runtime error.
929
831
  * Formats and outputs the error message in a consistent way.
@@ -964,13 +866,6 @@ function formatRuntimeError(code, message) {
964
866
  return errorMessage;
965
867
  }
966
868
 
967
- /**
968
- * @license
969
- * Copyright Google LLC All Rights Reserved.
970
- *
971
- * Use of this source code is governed by an MIT-style license that can be
972
- * found in the LICENSE file at https://angular.io/license
973
- */
974
869
  /**
975
870
  * @description
976
871
  *
@@ -986,13 +881,7 @@ function isType(v) {
986
881
  return typeof v === 'function';
987
882
  }
988
883
 
989
- /**
990
- * @license
991
- * Copyright Google LLC All Rights Reserved.
992
- *
993
- * Use of this source code is governed by an MIT-style license that can be
994
- * found in the LICENSE file at https://angular.io/license
995
- */
884
+ // The functions in this file verify that the assumptions we are making
996
885
  function assertNumber(actual, msg) {
997
886
  if (!(typeof actual === 'number')) {
998
887
  throwError(msg, typeof actual, 'number', '===');
@@ -1088,13 +977,6 @@ function assertOneOf(value, ...validValues) {
1088
977
  throwError(`Expected value to be one of ${JSON.stringify(validValues)} but was ${JSON.stringify(value)}.`);
1089
978
  }
1090
979
 
1091
- /**
1092
- * @license
1093
- * Copyright Google LLC All Rights Reserved.
1094
- *
1095
- * Use of this source code is governed by an MIT-style license that can be
1096
- * found in the LICENSE file at https://angular.io/license
1097
- */
1098
980
  /**
1099
981
  * Determines if the contents of two arrays is identical
1100
982
  *
@@ -1352,13 +1234,6 @@ function _arrayIndexOfSorted(array, value, shift) {
1352
1234
  return ~(end << shift);
1353
1235
  }
1354
1236
 
1355
- /**
1356
- * @license
1357
- * Copyright Google LLC All Rights Reserved.
1358
- *
1359
- * Use of this source code is governed by an MIT-style license that can be
1360
- * found in the LICENSE file at https://angular.io/license
1361
- */
1362
1237
  /**
1363
1238
  * Convince closure compiler that the wrapped function has no side-effects.
1364
1239
  *
@@ -1372,13 +1247,6 @@ function noSideEffects(fn) {
1372
1247
  return { toString: fn }.toString();
1373
1248
  }
1374
1249
 
1375
- /**
1376
- * @license
1377
- * Copyright Google LLC All Rights Reserved.
1378
- *
1379
- * Use of this source code is governed by an MIT-style license that can be
1380
- * found in the LICENSE file at https://angular.io/license
1381
- */
1382
1250
  const ANNOTATIONS = '__annotations__';
1383
1251
  const PARAMETERS = '__parameters__';
1384
1252
  const PROP_METADATA = '__prop__metadata__';
@@ -1492,13 +1360,6 @@ function makePropDecorator(name, props, parentClass, additionalProcessing) {
1492
1360
  });
1493
1361
  }
1494
1362
 
1495
- /**
1496
- * @license
1497
- * Copyright Google LLC All Rights Reserved.
1498
- *
1499
- * Use of this source code is governed by an MIT-style license that can be
1500
- * found in the LICENSE file at https://angular.io/license
1501
- */
1502
1363
  /*
1503
1364
  * #########################
1504
1365
  * Attention: These Regular expressions have to hold even if the code is minified!
@@ -1750,13 +1611,6 @@ function getParentCtor(ctor) {
1750
1611
  return parentCtor || Object;
1751
1612
  }
1752
1613
 
1753
- /**
1754
- * @license
1755
- * Copyright Google LLC All Rights Reserved.
1756
- *
1757
- * Use of this source code is governed by an MIT-style license that can be
1758
- * found in the LICENSE file at https://angular.io/license
1759
- */
1760
1614
  function ngDevModeResetPerfCounters() {
1761
1615
  const locationString = typeof location !== 'undefined' ? location.toString() : '';
1762
1616
  const newCounters = {
@@ -1824,24 +1678,10 @@ function initNgDevMode() {
1824
1678
  return false;
1825
1679
  }
1826
1680
 
1827
- /**
1828
- * @license
1829
- * Copyright Google LLC All Rights Reserved.
1830
- *
1831
- * Use of this source code is governed by an MIT-style license that can be
1832
- * found in the LICENSE file at https://angular.io/license
1833
- */
1834
1681
  function isEnvironmentProviders(value) {
1835
1682
  return value && !!value.ɵproviders;
1836
1683
  }
1837
1684
 
1838
- /**
1839
- * @license
1840
- * Copyright Google LLC All Rights Reserved.
1841
- *
1842
- * Use of this source code is governed by an MIT-style license that can be
1843
- * found in the LICENSE file at https://angular.io/license
1844
- */
1845
1685
  /**
1846
1686
  * Used for stringify render output in Ivy.
1847
1687
  * Important! This function is very performance-sensitive and we should
@@ -1871,13 +1711,6 @@ function stringifyForError(value) {
1871
1711
  return renderStringify(value);
1872
1712
  }
1873
1713
 
1874
- /**
1875
- * @license
1876
- * Copyright Google LLC All Rights Reserved.
1877
- *
1878
- * Use of this source code is governed by an MIT-style license that can be
1879
- * found in the LICENSE file at https://angular.io/license
1880
- */
1881
1714
  /** Called when directives inject each other (creating a circular dependency) */
1882
1715
  function throwCyclicDependencyError(token, path) {
1883
1716
  const depPath = path ? `. Dependency path: ${path.join(' > ')} > ${token}` : '';
@@ -1909,13 +1742,6 @@ function throwProviderNotFoundError(token, injectorName) {
1909
1742
  throw new RuntimeError(-201 /* RuntimeErrorCode.PROVIDER_NOT_FOUND */, ngDevMode && `No provider for ${stringifyForError(token)} found${injectorDetails}`);
1910
1743
  }
1911
1744
 
1912
- /**
1913
- * @license
1914
- * Copyright Google LLC All Rights Reserved.
1915
- *
1916
- * Use of this source code is governed by an MIT-style license that can be
1917
- * found in the LICENSE file at https://angular.io/license
1918
- */
1919
1745
  /**
1920
1746
  * Injection flags for DI.
1921
1747
  *
@@ -1941,13 +1767,6 @@ var InjectFlags;
1941
1767
  InjectFlags[InjectFlags["Optional"] = 8] = "Optional";
1942
1768
  })(InjectFlags || (InjectFlags = {}));
1943
1769
 
1944
- /**
1945
- * @license
1946
- * Copyright Google LLC All Rights Reserved.
1947
- *
1948
- * Use of this source code is governed by an MIT-style license that can be
1949
- * found in the LICENSE file at https://angular.io/license
1950
- */
1951
1770
  /**
1952
1771
  * Current implementation of inject.
1953
1772
  *
@@ -2000,13 +1819,6 @@ function assertInjectImplementationNotEqual(fn) {
2000
1819
  assertNotEqual(_injectImplementation, fn, 'Calling ɵɵinject would cause infinite recursion');
2001
1820
  }
2002
1821
 
2003
- /**
2004
- * @license
2005
- * Copyright Google LLC All Rights Reserved.
2006
- *
2007
- * Use of this source code is governed by an MIT-style license that can be
2008
- * found in the LICENSE file at https://angular.io/license
2009
- */
2010
1822
  const _THROW_IF_NOT_FOUND = {};
2011
1823
  const THROW_IF_NOT_FOUND = _THROW_IF_NOT_FOUND;
2012
1824
  /*
@@ -2076,7 +1888,7 @@ Please check that 1) the type for the parameter at index ${index} is correct and
2076
1888
  * @param token A token that represents a dependency that should be injected.
2077
1889
  * @param flags Optional flags that control how injection is executed.
2078
1890
  * The flags correspond to injection strategies that can be specified with
2079
- * parameter decorators `@Host`, `@Self`, `@SkipSef`, and `@Optional`.
1891
+ * parameter decorators `@Host`, `@Self`, `@SkipSelf`, and `@Optional`.
2080
1892
  * @returns the injected value if operation is successful, `null` otherwise.
2081
1893
  * @throws if called outside of a supported context.
2082
1894
  *
@@ -2230,13 +2042,6 @@ function formatError(text, obj, injectorErrorName, source = null) {
2230
2042
  return `${injectorErrorName}${source ? '(' + source + ')' : ''}[${context}]: ${text.replace(NEW_LINE, '\n ')}`;
2231
2043
  }
2232
2044
 
2233
- /**
2234
- * @license
2235
- * Copyright Google LLC All Rights Reserved.
2236
- *
2237
- * Use of this source code is governed by an MIT-style license that can be
2238
- * found in the LICENSE file at https://angular.io/license
2239
- */
2240
2045
  /**
2241
2046
  * Inject decorator and metadata.
2242
2047
  *
@@ -2288,13 +2093,6 @@ const Host =
2288
2093
  // tslint:disable-next-line: no-toplevel-property-access
2289
2094
  attachInjectFlag(makeParamDecorator('Host'), 1 /* InternalInjectFlags.Host */);
2290
2095
 
2291
- /**
2292
- * @license
2293
- * Copyright Google LLC All Rights Reserved.
2294
- *
2295
- * Use of this source code is governed by an MIT-style license that can be
2296
- * found in the LICENSE file at https://angular.io/license
2297
- */
2298
2096
  /**
2299
2097
  * The strategy that the default change detector uses to detect changes.
2300
2098
  * When set, takes effect the next time change detection is triggered.
@@ -2367,13 +2165,6 @@ function isDefaultChangeDetectionStrategy(changeDetectionStrategy) {
2367
2165
  changeDetectionStrategy === ChangeDetectionStrategy.Default;
2368
2166
  }
2369
2167
 
2370
- /**
2371
- * @license
2372
- * Copyright Google LLC All Rights Reserved.
2373
- *
2374
- * Use of this source code is governed by an MIT-style license that can be
2375
- * found in the LICENSE file at https://angular.io/license
2376
- */
2377
2168
  /**
2378
2169
  * Defines the CSS styles encapsulation policies for the {@link Component} decorator's
2379
2170
  * `encapsulation` option.
@@ -2414,13 +2205,6 @@ var ViewEncapsulation;
2414
2205
  ViewEncapsulation[ViewEncapsulation["ShadowDom"] = 3] = "ShadowDom";
2415
2206
  })(ViewEncapsulation || (ViewEncapsulation = {}));
2416
2207
 
2417
- /**
2418
- * @license
2419
- * Copyright Google LLC All Rights Reserved.
2420
- *
2421
- * Use of this source code is governed by an MIT-style license that can be
2422
- * found in the LICENSE file at https://angular.io/license
2423
- */
2424
2208
  /**
2425
2209
  * This file contains reuseable "empty" symbols that can be used as default return values
2426
2210
  * in different parts of the rendering code. Because the same symbols are returned, this
@@ -2439,13 +2223,6 @@ if ((typeof ngDevMode === 'undefined' || ngDevMode) && initNgDevMode()) {
2439
2223
  Object.freeze(EMPTY_ARRAY);
2440
2224
  }
2441
2225
 
2442
- /**
2443
- * @license
2444
- * Copyright Google LLC All Rights Reserved.
2445
- *
2446
- * Use of this source code is governed by an MIT-style license that can be
2447
- * found in the LICENSE file at https://angular.io/license
2448
- */
2449
2226
  const NG_COMP_DEF = getClosureSafeProperty({ ɵcmp: getClosureSafeProperty });
2450
2227
  const NG_DIR_DEF = getClosureSafeProperty({ ɵdir: getClosureSafeProperty });
2451
2228
  const NG_PIPE_DEF = getClosureSafeProperty({ ɵpipe: getClosureSafeProperty });
@@ -2459,13 +2236,6 @@ const NG_FACTORY_DEF = getClosureSafeProperty({ ɵfac: getClosureSafeProperty })
2459
2236
  // TODO(misko): This is wrong. The NG_ELEMENT_ID should never be minified.
2460
2237
  const NG_ELEMENT_ID = getClosureSafeProperty({ __NG_ELEMENT_ID__: getClosureSafeProperty });
2461
2238
 
2462
- /**
2463
- * @license
2464
- * Copyright Google LLC All Rights Reserved.
2465
- *
2466
- * Use of this source code is governed by an MIT-style license that can be
2467
- * found in the LICENSE file at https://angular.io/license
2468
- */
2469
2239
  /** Counter used to generate unique IDs for component definitions. */
2470
2240
  let componentDefCount = 0;
2471
2241
  /**
@@ -2793,13 +2563,6 @@ const CONTAINER_HEADER_OFFSET = 10;
2793
2563
  // failure based on types.
2794
2564
  const unusedValueExportToPlacateAjd$4 = 1;
2795
2565
 
2796
- /**
2797
- * @license
2798
- * Copyright Google LLC All Rights Reserved.
2799
- *
2800
- * Use of this source code is governed by an MIT-style license that can be
2801
- * found in the LICENSE file at https://angular.io/license
2802
- */
2803
2566
  // Below are constants for LView indices to help us look up LView members
2804
2567
  // without having to remember the specific indices.
2805
2568
  // Uglify will inline these when minifying so there shouldn't be a cost.
@@ -2838,13 +2601,6 @@ const HEADER_OFFSET = 22;
2838
2601
  // failure based on types.
2839
2602
  const unusedValueExportToPlacateAjd$3 = 1;
2840
2603
 
2841
- /**
2842
- * @license
2843
- * Copyright Google LLC All Rights Reserved.
2844
- *
2845
- * Use of this source code is governed by an MIT-style license that can be
2846
- * found in the LICENSE file at https://angular.io/license
2847
- */
2848
2604
  /**
2849
2605
  * True if `value` is `LView`.
2850
2606
  * @param value wrapped value of `RNode`, `LView`, `LContainer`
@@ -2875,13 +2631,6 @@ function isRootView(target) {
2875
2631
  return (target[FLAGS] & 256 /* LViewFlags.IsRoot */) !== 0;
2876
2632
  }
2877
2633
 
2878
- /**
2879
- * @license
2880
- * Copyright Google LLC All Rights Reserved.
2881
- *
2882
- * Use of this source code is governed by an MIT-style license that can be
2883
- * found in the LICENSE file at https://angular.io/license
2884
- */
2885
2634
  // [Assert functions do not constraint type when they are guarded by a truthy
2886
2635
  // expression.](https://github.com/microsoft/TypeScript/issues/37295)
2887
2636
  function assertTNodeForLView(tNode, lView) {
@@ -2989,13 +2738,6 @@ function assertNodeInjector(lView, injectorIndex) {
2989
2738
  assertNumber(lView[injectorIndex + 8 /* NodeInjectorOffset.PARENT */], 'injectorIndex should point to parent injector');
2990
2739
  }
2991
2740
 
2992
- /**
2993
- * @license
2994
- * Copyright Google LLC All Rights Reserved.
2995
- *
2996
- * Use of this source code is governed by an MIT-style license that can be
2997
- * found in the LICENSE file at https://angular.io/license
2998
- */
2999
2741
  function getFactoryDef(type, throwNotFound) {
3000
2742
  const hasFactoryDef = type.hasOwnProperty(NG_FACTORY_DEF);
3001
2743
  if (!hasFactoryDef && throwNotFound === true && ngDevMode) {
@@ -3004,13 +2746,6 @@ function getFactoryDef(type, throwNotFound) {
3004
2746
  return hasFactoryDef ? type[NG_FACTORY_DEF] : null;
3005
2747
  }
3006
2748
 
3007
- /**
3008
- * @license
3009
- * Copyright Google LLC All Rights Reserved.
3010
- *
3011
- * Use of this source code is governed by an MIT-style license that can be
3012
- * found in the LICENSE file at https://angular.io/license
3013
- */
3014
2749
  /**
3015
2750
  * Represents a basic change from a previous to a new value for a single
3016
2751
  * property on a directive instance. Passed as a value in a
@@ -3034,13 +2769,6 @@ class SimpleChange {
3034
2769
  }
3035
2770
  }
3036
2771
 
3037
- /**
3038
- * @license
3039
- * Copyright Google LLC All Rights Reserved.
3040
- *
3041
- * Use of this source code is governed by an MIT-style license that can be
3042
- * found in the LICENSE file at https://angular.io/license
3043
- */
3044
2772
  /**
3045
2773
  * The NgOnChangesFeature decorates a component with support for the ngOnChanges
3046
2774
  * lifecycle hook, so it should be included in any component that implements
@@ -3125,13 +2853,6 @@ function setSimpleChangesStore(instance, store) {
3125
2853
  return instance[SIMPLE_CHANGES_STORE] = store;
3126
2854
  }
3127
2855
 
3128
- /**
3129
- * @license
3130
- * Copyright Google LLC All Rights Reserved.
3131
- *
3132
- * Use of this source code is governed by an MIT-style license that can be
3133
- * found in the LICENSE file at https://angular.io/license
3134
- */
3135
2856
  let profilerCallback = null;
3136
2857
  /**
3137
2858
  * Sets the callback function which will be invoked before and after performing certain actions at
@@ -3161,23 +2882,9 @@ const profiler = function (event, instance, hookOrListener) {
3161
2882
  }
3162
2883
  };
3163
2884
 
3164
- /**
3165
- * @license
3166
- * Copyright Google LLC All Rights Reserved.
3167
- *
3168
- * Use of this source code is governed by an MIT-style license that can be
3169
- * found in the LICENSE file at https://angular.io/license
3170
- */
3171
2885
  const SVG_NAMESPACE = 'svg';
3172
2886
  const MATH_ML_NAMESPACE = 'math';
3173
2887
 
3174
- /**
3175
- * @license
3176
- * Copyright Google LLC All Rights Reserved.
3177
- *
3178
- * Use of this source code is governed by an MIT-style license that can be
3179
- * found in the LICENSE file at https://angular.io/license
3180
- */
3181
2888
  /**
3182
2889
  * For efficiency reasons we often put several different data types (`RNode`, `LView`, `LContainer`)
3183
2890
  * in same location in `LView`. This is because we don't want to pre-allocate space for it
@@ -3328,13 +3035,6 @@ function updateTransplantedViewCount(lContainer, amount) {
3328
3035
  }
3329
3036
  }
3330
3037
 
3331
- /**
3332
- * @license
3333
- * Copyright Google LLC All Rights Reserved.
3334
- *
3335
- * Use of this source code is governed by an MIT-style license that can be
3336
- * found in the LICENSE file at https://angular.io/license
3337
- */
3338
3038
  const instructionState = {
3339
3039
  lFrame: createLFrame(null),
3340
3040
  bindingsEnabled: true,
@@ -3837,13 +3537,6 @@ function getNamespace$1() {
3837
3537
  return instructionState.lFrame.currentNamespace;
3838
3538
  }
3839
3539
 
3840
- /**
3841
- * @license
3842
- * Copyright Google LLC All Rights Reserved.
3843
- *
3844
- * Use of this source code is governed by an MIT-style license that can be
3845
- * found in the LICENSE file at https://angular.io/license
3846
- */
3847
3540
  /**
3848
3541
  * Adds all directive lifecycle hooks from the given `DirectiveDef` to the given `TView`.
3849
3542
  *
@@ -4070,13 +3763,6 @@ function callHook(currentView, initPhase, arr, i) {
4070
3763
  }
4071
3764
  }
4072
3765
 
4073
- /**
4074
- * @license
4075
- * Copyright Google LLC All Rights Reserved.
4076
- *
4077
- * Use of this source code is governed by an MIT-style license that can be
4078
- * found in the LICENSE file at https://angular.io/license
4079
- */
4080
3766
  const NO_PARENT_INJECTOR = -1;
4081
3767
  /**
4082
3768
  * Each injector is saved in 9 contiguous slots in `LView` and 9 contiguous slots in
@@ -4268,13 +3954,6 @@ function hasStyleInput(tNode) {
4268
3954
  return (tNode.flags & 16 /* TNodeFlags.hasStyleInput */) !== 0;
4269
3955
  }
4270
3956
 
4271
- /**
4272
- * @license
4273
- * Copyright Google LLC All Rights Reserved.
4274
- *
4275
- * Use of this source code is governed by an MIT-style license that can be
4276
- * found in the LICENSE file at https://angular.io/license
4277
- */
4278
3957
  function assertTNodeType(tNode, expectedTypes, message) {
4279
3958
  assertDefined(tNode, 'should be called with a TNode');
4280
3959
  if ((tNode.type & expectedTypes) === 0) {
@@ -4494,13 +4173,6 @@ function mergeHostAttribute(dst, marker, key1, key2, value) {
4494
4173
  }
4495
4174
  }
4496
4175
 
4497
- /**
4498
- * @license
4499
- * Copyright Google LLC All Rights Reserved.
4500
- *
4501
- * Use of this source code is governed by an MIT-style license that can be
4502
- * found in the LICENSE file at https://angular.io/license
4503
- */
4504
4176
  /// Parent Injector Utils ///////////////////////////////////////////////////////////////
4505
4177
  function hasParentInjector(parentLocation) {
4506
4178
  return parentLocation !== NO_PARENT_INJECTOR;
@@ -4539,13 +4211,6 @@ function getParentInjectorView(location, startView) {
4539
4211
  return parentView;
4540
4212
  }
4541
4213
 
4542
- /**
4543
- * @license
4544
- * Copyright Google LLC All Rights Reserved.
4545
- *
4546
- * Use of this source code is governed by an MIT-style license that can be
4547
- * found in the LICENSE file at https://angular.io/license
4548
- */
4549
4214
  /**
4550
4215
  * Defines if the call to `inject` should include `viewProviders` in its resolution.
4551
4216
  *
@@ -5270,13 +4935,6 @@ function getTNodeFromLView(lView) {
5270
4935
  return null;
5271
4936
  }
5272
4937
 
5273
- /**
5274
- * @license
5275
- * Copyright Google LLC All Rights Reserved.
5276
- *
5277
- * Use of this source code is governed by an MIT-style license that can be
5278
- * found in the LICENSE file at https://angular.io/license
5279
- */
5280
4938
  /**
5281
4939
  * Facade for the attribute injection from DI.
5282
4940
  *
@@ -5286,13 +4944,6 @@ function ɵɵinjectAttribute(attrNameToInject) {
5286
4944
  return injectAttributeImpl(getCurrentTNode(), attrNameToInject);
5287
4945
  }
5288
4946
 
5289
- /**
5290
- * @license
5291
- * Copyright Google LLC All Rights Reserved.
5292
- *
5293
- * Use of this source code is governed by an MIT-style license that can be
5294
- * found in the LICENSE file at https://angular.io/license
5295
- */
5296
4947
  /**
5297
4948
  * Attribute decorator and metadata.
5298
4949
  *
@@ -5301,13 +4952,6 @@ function ɵɵinjectAttribute(attrNameToInject) {
5301
4952
  */
5302
4953
  const Attribute = makeParamDecorator('Attribute', (attributeName) => ({ attributeName, __NG_ELEMENT_ID__: () => ɵɵinjectAttribute(attributeName) }));
5303
4954
 
5304
- /**
5305
- * @license
5306
- * Copyright Google LLC All Rights Reserved.
5307
- *
5308
- * Use of this source code is governed by an MIT-style license that can be
5309
- * found in the LICENSE file at https://angular.io/license
5310
- */
5311
4955
  let _reflect = null;
5312
4956
  function getReflect() {
5313
4957
  return (_reflect = _reflect || new ReflectionCapabilities());
@@ -5370,13 +5014,6 @@ function reflectDependency(dep) {
5370
5014
  return meta;
5371
5015
  }
5372
5016
 
5373
- /**
5374
- * @license
5375
- * Copyright Google LLC All Rights Reserved.
5376
- *
5377
- * Use of this source code is governed by an MIT-style license that can be
5378
- * found in the LICENSE file at https://angular.io/license
5379
- */
5380
5017
  /**
5381
5018
  * Map of module-id to the corresponding NgModule.
5382
5019
  */
@@ -5424,13 +5061,6 @@ function setAllowDuplicateNgModuleIdsForTest(allowDuplicates) {
5424
5061
  checkForDuplicateNgModules = !allowDuplicates;
5425
5062
  }
5426
5063
 
5427
- /**
5428
- * @license
5429
- * Copyright Google LLC All Rights Reserved.
5430
- *
5431
- * Use of this source code is governed by an MIT-style license that can be
5432
- * found in the LICENSE file at https://angular.io/license
5433
- */
5434
5064
  /**
5435
5065
  *
5436
5066
  * @codeGenApi
@@ -5479,13 +5109,6 @@ function maybeUnwrapFn$1(value) {
5479
5109
  }
5480
5110
  }
5481
5111
 
5482
- /**
5483
- * @license
5484
- * Copyright Google LLC All Rights Reserved.
5485
- *
5486
- * Use of this source code is governed by an MIT-style license that can be
5487
- * found in the LICENSE file at https://angular.io/license
5488
- */
5489
5112
  /**
5490
5113
  * Defines a schema that allows an NgModule to contain the following:
5491
5114
  * - Non-Angular elements named with dash case (`-`).
@@ -5510,13 +5133,6 @@ const NO_ERRORS_SCHEMA = {
5510
5133
  name: 'no-errors-schema'
5511
5134
  };
5512
5135
 
5513
- /**
5514
- * @license
5515
- * Copyright Google LLC All Rights Reserved.
5516
- *
5517
- * Use of this source code is governed by an MIT-style license that can be
5518
- * found in the LICENSE file at https://angular.io/license
5519
- */
5520
5136
  let shouldThrowErrorOnUnknownElement = false;
5521
5137
  /**
5522
5138
  * Sets a strict mode for JIT-compiled components to throw an error on unknown elements,
@@ -5776,13 +5392,6 @@ function matchingSchemas(schemas, tagName) {
5776
5392
  return false;
5777
5393
  }
5778
5394
 
5779
- /**
5780
- * @license
5781
- * Copyright Google LLC All Rights Reserved.
5782
- *
5783
- * Use of this source code is governed by an MIT-style license that can be
5784
- * found in the LICENSE file at https://angular.io/license
5785
- */
5786
5395
  /**
5787
5396
  * Flags for renderer-specific style modifiers.
5788
5397
  * @publicApi
@@ -5802,13 +5411,6 @@ var RendererStyleFlags2;
5802
5411
  RendererStyleFlags2[RendererStyleFlags2["DashCase"] = 2] = "DashCase";
5803
5412
  })(RendererStyleFlags2 || (RendererStyleFlags2 = {}));
5804
5413
 
5805
- /**
5806
- * @license
5807
- * Copyright Google LLC All Rights Reserved.
5808
- *
5809
- * Use of this source code is governed by an MIT-style license that can be
5810
- * found in the LICENSE file at https://angular.io/license
5811
- */
5812
5414
  /**
5813
5415
  * Disallowed strings in the comment.
5814
5416
  *
@@ -5851,13 +5453,6 @@ function escapeCommentText(value) {
5851
5453
  return value.replace(COMMENT_DISALLOWED, (text) => text.replace(COMMENT_DELIMITER, COMMENT_DELIMITER_ESCAPED));
5852
5454
  }
5853
5455
 
5854
- /**
5855
- * @license
5856
- * Copyright Google LLC All Rights Reserved.
5857
- *
5858
- * Use of this source code is governed by an MIT-style license that can be
5859
- * found in the LICENSE file at https://angular.io/license
5860
- */
5861
5456
  // Keeps track of the currently-active LViews.
5862
5457
  const TRACKED_LVIEWS = new Map();
5863
5458
  // Used for generating unique IDs for LViews.
@@ -5882,13 +5477,6 @@ function unregisterLView(lView) {
5882
5477
  TRACKED_LVIEWS.delete(lView[ID]);
5883
5478
  }
5884
5479
 
5885
- /**
5886
- * @license
5887
- * Copyright Google LLC All Rights Reserved.
5888
- *
5889
- * Use of this source code is governed by an MIT-style license that can be
5890
- * found in the LICENSE file at https://angular.io/license
5891
- */
5892
5480
  /**
5893
5481
  * The internal view context which is specific to a given DOM element, directive or
5894
5482
  * component instance. Each value in here (besides the LView and element node details)
@@ -5923,13 +5511,6 @@ class LContext {
5923
5511
  }
5924
5512
  }
5925
5513
 
5926
- /**
5927
- * @license
5928
- * Copyright Google LLC All Rights Reserved.
5929
- *
5930
- * Use of this source code is governed by an MIT-style license that can be
5931
- * found in the LICENSE file at https://angular.io/license
5932
- */
5933
5514
  /**
5934
5515
  * Returns the matching `LContext` data for a given DOM node, directive or component instance.
5935
5516
  *
@@ -6231,13 +5812,6 @@ function discoverLocalRefs(lView, nodeIndex) {
6231
5812
  return null;
6232
5813
  }
6233
5814
 
6234
- /**
6235
- * @license
6236
- * Copyright Google LLC All Rights Reserved.
6237
- *
6238
- * Use of this source code is governed by an MIT-style license that can be
6239
- * found in the LICENSE file at https://angular.io/license
6240
- */
6241
5815
  let _icuContainerIterate;
6242
5816
  /**
6243
5817
  * Iterator which provides ability to visit all of the `TIcuContainerNode` root `RNode`s.
@@ -6259,13 +5833,6 @@ function ensureIcuContainerVisitorLoaded(loader) {
6259
5833
  }
6260
5834
  }
6261
5835
 
6262
- /**
6263
- * @license
6264
- * Copyright Google LLC All Rights Reserved.
6265
- *
6266
- * Use of this source code is governed by an MIT-style license that can be
6267
- * found in the LICENSE file at https://angular.io/license
6268
- */
6269
5836
  /**
6270
5837
  * Gets the parent LView of the passed LView, if the PARENT is an LContainer, will get the parent of
6271
5838
  * that LContainer, which is an LView
@@ -6323,13 +5890,6 @@ function getNearestLContainer(viewOrContainer) {
6323
5890
  return viewOrContainer;
6324
5891
  }
6325
5892
 
6326
- /**
6327
- * @license
6328
- * Copyright Google LLC All Rights Reserved.
6329
- *
6330
- * Use of this source code is governed by an MIT-style license that can be
6331
- * found in the LICENSE file at https://angular.io/license
6332
- */
6333
5893
  /**
6334
5894
  * NOTE: for performance reasons, the possible actions are inlined within the function instead of
6335
5895
  * being passed as an argument.
@@ -7256,11 +6816,13 @@ function setupStaticAttributes(renderer, element, tNode) {
7256
6816
  }
7257
6817
 
7258
6818
  /**
7259
- * @license
7260
- * Copyright Google LLC All Rights Reserved.
7261
- *
7262
- * Use of this source code is governed by an MIT-style license that can be
7263
- * found in the LICENSE file at https://angular.io/license
6819
+ * @fileoverview
6820
+ * A module to facilitate use of a Trusted Types policy internally within
6821
+ * Angular. It lazily constructs the Trusted Types policy, providing helper
6822
+ * utilities for promoting strings to Trusted Types. When Trusted Types are not
6823
+ * available, strings are used as a fallback.
6824
+ * @security All use of this module is security-sensitive and should go through
6825
+ * security review.
7264
6826
  */
7265
6827
  /**
7266
6828
  * The Trusted Types policy, or null if Trusted Types are not
@@ -7378,13 +6940,6 @@ function newTrustedFunctionForDev(...args) {
7378
6940
  // return new Function(...args.map(a => trustedScriptFromString(a)));
7379
6941
  }
7380
6942
 
7381
- /**
7382
- * @license
7383
- * Copyright Google LLC All Rights Reserved.
7384
- *
7385
- * Use of this source code is governed by an MIT-style license that can be
7386
- * found in the LICENSE file at https://angular.io/license
7387
- */
7388
6943
  /**
7389
6944
  * Validation function invoked at runtime for each binding that might potentially
7390
6945
  * represent a security-sensitive attribute of an <iframe>.
@@ -7420,13 +6975,6 @@ function ɵɵvalidateIframeAttribute(attrValue, tagName, attrName) {
7420
6975
  return attrValue;
7421
6976
  }
7422
6977
 
7423
- /**
7424
- * @license
7425
- * Copyright Google LLC All Rights Reserved.
7426
- *
7427
- * Use of this source code is governed by an MIT-style license that can be
7428
- * found in the LICENSE file at https://angular.io/license
7429
- */
7430
6978
  /**
7431
6979
  * Most of the use of `document` in Angular is from within the DI system so it is possible to simply
7432
6980
  * inject the `DOCUMENT` token and are done.
@@ -7476,11 +7024,14 @@ function getDocument() {
7476
7024
  }
7477
7025
 
7478
7026
  /**
7479
- * @license
7480
- * Copyright Google LLC All Rights Reserved.
7481
- *
7482
- * Use of this source code is governed by an MIT-style license that can be
7483
- * found in the LICENSE file at https://angular.io/license
7027
+ * @fileoverview
7028
+ * A module to facilitate use of a Trusted Types policy internally within
7029
+ * Angular specifically for bypassSecurityTrust* and custom sanitizers. It
7030
+ * lazily constructs the Trusted Types policy, providing helper utilities for
7031
+ * promoting strings to Trusted Types. When Trusted Types are not available,
7032
+ * strings are used as a fallback.
7033
+ * @security All use of this module is security-sensitive and should go through
7034
+ * security review.
7484
7035
  */
7485
7036
  /**
7486
7037
  * The Trusted Types policy, or null if Trusted Types are not
@@ -7550,13 +7101,6 @@ function trustedScriptURLFromStringBypass(url) {
7550
7101
  return ((_a = getPolicy()) === null || _a === void 0 ? void 0 : _a.createScriptURL(url)) || url;
7551
7102
  }
7552
7103
 
7553
- /**
7554
- * @license
7555
- * Copyright Google LLC All Rights Reserved.
7556
- *
7557
- * Use of this source code is governed by an MIT-style license that can be
7558
- * found in the LICENSE file at https://angular.io/license
7559
- */
7560
7104
  class SafeValueImpl {
7561
7105
  constructor(changingThisBreaksApplicationSecurity) {
7562
7106
  this.changingThisBreaksApplicationSecurity = changingThisBreaksApplicationSecurity;
@@ -7669,13 +7213,6 @@ function bypassSanitizationTrustResourceUrl(trustedResourceUrl) {
7669
7213
  return new SafeResourceUrlImpl(trustedResourceUrl);
7670
7214
  }
7671
7215
 
7672
- /**
7673
- * @license
7674
- * Copyright Google LLC All Rights Reserved.
7675
- *
7676
- * Use of this source code is governed by an MIT-style license that can be
7677
- * found in the LICENSE file at https://angular.io/license
7678
- */
7679
7216
  /**
7680
7217
  * This helper is used to get hold of an inert tree of DOM elements containing dirty HTML
7681
7218
  * that needs sanitizing.
@@ -7802,13 +7339,6 @@ function isDOMParserAvailable() {
7802
7339
  }
7803
7340
  }
7804
7341
 
7805
- /**
7806
- * @license
7807
- * Copyright Google LLC All Rights Reserved.
7808
- *
7809
- * Use of this source code is governed by an MIT-style license that can be
7810
- * found in the LICENSE file at https://angular.io/license
7811
- */
7812
7342
  /**
7813
7343
  * A pattern that recognizes a commonly useful subset of URLs that are safe.
7814
7344
  *
@@ -7846,13 +7376,6 @@ function _sanitizeUrl(url) {
7846
7376
  return 'unsafe:' + url;
7847
7377
  }
7848
7378
 
7849
- /**
7850
- * @license
7851
- * Copyright Google LLC All Rights Reserved.
7852
- *
7853
- * Use of this source code is governed by an MIT-style license that can be
7854
- * found in the LICENSE file at https://angular.io/license
7855
- */
7856
7379
  function tagSet(tags) {
7857
7380
  const res = {};
7858
7381
  for (const t of tags.split(','))
@@ -8092,13 +7615,6 @@ function isTemplateElement(el) {
8092
7615
  return el.nodeType === Node.ELEMENT_NODE && el.nodeName === 'TEMPLATE';
8093
7616
  }
8094
7617
 
8095
- /**
8096
- * @license
8097
- * Copyright Google LLC All Rights Reserved.
8098
- *
8099
- * Use of this source code is governed by an MIT-style license that can be
8100
- * found in the LICENSE file at https://angular.io/license
8101
- */
8102
7618
  /**
8103
7619
  * A SecurityContext marks a location that has dangerous security implications, e.g. a DOM property
8104
7620
  * like `innerHTML` that could cause Cross Site Scripting (XSS) security bugs when improperly
@@ -8118,13 +7634,6 @@ var SecurityContext;
8118
7634
  SecurityContext[SecurityContext["RESOURCE_URL"] = 5] = "RESOURCE_URL";
8119
7635
  })(SecurityContext || (SecurityContext = {}));
8120
7636
 
8121
- /**
8122
- * @license
8123
- * Copyright Google LLC All Rights Reserved.
8124
- *
8125
- * Use of this source code is governed by an MIT-style license that can be
8126
- * found in the LICENSE file at https://angular.io/license
8127
- */
8128
7637
  /**
8129
7638
  * An `html` sanitizer which converts untrusted `html` **string** into trusted string by removing
8130
7639
  * dangerous content.
@@ -8345,13 +7854,6 @@ function getSanitizer() {
8345
7854
  return lView && lView[SANITIZER];
8346
7855
  }
8347
7856
 
8348
- /**
8349
- * @license
8350
- * Copyright Google LLC All Rights Reserved.
8351
- *
8352
- * Use of this source code is governed by an MIT-style license that can be
8353
- * found in the LICENSE file at https://angular.io/license
8354
- */
8355
7857
  /**
8356
7858
  * Creates a token that can be used in a DI Provider.
8357
7859
  *
@@ -8434,13 +7936,6 @@ class InjectionToken {
8434
7936
  }
8435
7937
  }
8436
7938
 
8437
- /**
8438
- * @license
8439
- * Copyright Google LLC All Rights Reserved.
8440
- *
8441
- * Use of this source code is governed by an MIT-style license that can be
8442
- * found in the LICENSE file at https://angular.io/license
8443
- */
8444
7939
  /**
8445
7940
  * A multi-provider token for initialization functions that will run upon construction of an
8446
7941
  * environment injector.
@@ -8449,13 +7944,6 @@ class InjectionToken {
8449
7944
  */
8450
7945
  const ENVIRONMENT_INITIALIZER = new InjectionToken('ENVIRONMENT_INITIALIZER');
8451
7946
 
8452
- /**
8453
- * @license
8454
- * Copyright Google LLC All Rights Reserved.
8455
- *
8456
- * Use of this source code is governed by an MIT-style license that can be
8457
- * found in the LICENSE file at https://angular.io/license
8458
- */
8459
7947
  /**
8460
7948
  * An InjectionToken that gets the current `Injector` for `createInjector()`-style injectors.
8461
7949
  *
@@ -8469,22 +7957,8 @@ const INJECTOR = new InjectionToken('INJECTOR',
8469
7957
  // tslint:disable-next-line: no-toplevel-property-access
8470
7958
  -1 /* InjectorMarkers.Injector */);
8471
7959
 
8472
- /**
8473
- * @license
8474
- * Copyright Google LLC All Rights Reserved.
8475
- *
8476
- * Use of this source code is governed by an MIT-style license that can be
8477
- * found in the LICENSE file at https://angular.io/license
8478
- */
8479
7960
  const INJECTOR_DEF_TYPES = new InjectionToken('INJECTOR_DEF_TYPES');
8480
7961
 
8481
- /**
8482
- * @license
8483
- * Copyright Google LLC All Rights Reserved.
8484
- *
8485
- * Use of this source code is governed by an MIT-style license that can be
8486
- * found in the LICENSE file at https://angular.io/license
8487
- */
8488
7962
  class NullInjector {
8489
7963
  get(token, notFoundValue = THROW_IF_NOT_FOUND) {
8490
7964
  if (notFoundValue === THROW_IF_NOT_FOUND) {
@@ -8496,21 +7970,6 @@ class NullInjector {
8496
7970
  }
8497
7971
  }
8498
7972
 
8499
- /**
8500
- * @license
8501
- * Copyright Google LLC All Rights Reserved.
8502
- *
8503
- * Use of this source code is governed by an MIT-style license that can be
8504
- * found in the LICENSE file at https://angular.io/license
8505
- */
8506
-
8507
- /**
8508
- * @license
8509
- * Copyright Google LLC All Rights Reserved.
8510
- *
8511
- * Use of this source code is governed by an MIT-style license that can be
8512
- * found in the LICENSE file at https://angular.io/license
8513
- */
8514
7973
  /**
8515
7974
  * Wrap an array of `Provider`s into `EnvironmentProviders`, preventing them from being accidentally
8516
7975
  * referenced in `@Component in a component injector.
@@ -8768,13 +8227,6 @@ function isClassProvider(value) {
8768
8227
  return !!value.useClass;
8769
8228
  }
8770
8229
 
8771
- /**
8772
- * @license
8773
- * Copyright Google LLC All Rights Reserved.
8774
- *
8775
- * Use of this source code is governed by an MIT-style license that can be
8776
- * found in the LICENSE file at https://angular.io/license
8777
- */
8778
8230
  /**
8779
8231
  * An internal token whose presence in an injector indicates that the injector should treat itself
8780
8232
  * as a root scoped injector when processing requests for unknown tokens which may indicate
@@ -8782,13 +8234,6 @@ function isClassProvider(value) {
8782
8234
  */
8783
8235
  const INJECTOR_SCOPE = new InjectionToken('Set Injector scope.');
8784
8236
 
8785
- /**
8786
- * @license
8787
- * Copyright Google LLC All Rights Reserved.
8788
- *
8789
- * Use of this source code is governed by an MIT-style license that can be
8790
- * found in the LICENSE file at https://angular.io/license
8791
- */
8792
8237
  /**
8793
8238
  * Marker which indicates that a value has not yet been created from the factory function.
8794
8239
  */
@@ -8970,7 +8415,7 @@ class R3Injector extends EnvironmentInjector {
8970
8415
  try {
8971
8416
  const initializers = this.get(ENVIRONMENT_INITIALIZER.multi, EMPTY_ARRAY, InjectFlags.Self);
8972
8417
  if (ngDevMode && !Array.isArray(initializers)) {
8973
- throw new RuntimeError(209 /* RuntimeErrorCode.INVALID_MULTI_PROVIDER */, 'Unexpected type of the `ENVIRONMENT_INITIALIZER` token value ' +
8418
+ throw new RuntimeError(-209 /* RuntimeErrorCode.INVALID_MULTI_PROVIDER */, 'Unexpected type of the `ENVIRONMENT_INITIALIZER` token value ' +
8974
8419
  `(expected an array, but got ${typeof initializers}). ` +
8975
8420
  'Please check that the `ENVIRONMENT_INITIALIZER` token is configured as a ' +
8976
8421
  '`multi: true` provider.');
@@ -9179,13 +8624,6 @@ function forEachSingleProvider(providers, fn) {
9179
8624
  }
9180
8625
  }
9181
8626
 
9182
- /**
9183
- * @license
9184
- * Copyright Google LLC All Rights Reserved.
9185
- *
9186
- * Use of this source code is governed by an MIT-style license that can be
9187
- * found in the LICENSE file at https://angular.io/license
9188
- */
9189
8627
  /**
9190
8628
  * Represents a component created by a `ComponentFactory`.
9191
8629
  * Provides access to the component instance and related objects,
@@ -9210,13 +8648,6 @@ class ComponentRef$1 {
9210
8648
  class ComponentFactory$1 {
9211
8649
  }
9212
8650
 
9213
- /**
9214
- * @license
9215
- * Copyright Google LLC All Rights Reserved.
9216
- *
9217
- * Use of this source code is governed by an MIT-style license that can be
9218
- * found in the LICENSE file at https://angular.io/license
9219
- */
9220
8651
  function noComponentFactoryError(component) {
9221
8652
  const error = Error(`No component factory found for ${stringify(component)}. Did you add it to @NgModule.entryComponents?`);
9222
8653
  error[ERROR_COMPONENT] = component;
@@ -9250,13 +8681,6 @@ class ComponentFactoryResolver$1 {
9250
8681
  }
9251
8682
  ComponentFactoryResolver$1.NULL = ( /* @__PURE__ */new _NullComponentFactoryResolver());
9252
8683
 
9253
- /**
9254
- * @license
9255
- * Copyright Google LLC All Rights Reserved.
9256
- *
9257
- * Use of this source code is governed by an MIT-style license that can be
9258
- * found in the LICENSE file at https://angular.io/license
9259
- */
9260
8684
  /**
9261
8685
  * Creates an ElementRef from the most recent node.
9262
8686
  *
@@ -9310,13 +8734,6 @@ function unwrapElementRef(value) {
9310
8734
  return value instanceof ElementRef ? value.nativeElement : value;
9311
8735
  }
9312
8736
 
9313
- /**
9314
- * @license
9315
- * Copyright Google LLC All Rights Reserved.
9316
- *
9317
- * Use of this source code is governed by an MIT-style license that can be
9318
- * found in the LICENSE file at https://angular.io/license
9319
- */
9320
8737
  /**
9321
8738
  * Creates and initializes a custom renderer that implements the `Renderer2` base class.
9322
8739
  *
@@ -9356,13 +8773,6 @@ function injectRenderer2() {
9356
8773
  return (isLView(nodeAtIndex) ? nodeAtIndex : lView)[RENDERER];
9357
8774
  }
9358
8775
 
9359
- /**
9360
- * @license
9361
- * Copyright Google LLC All Rights Reserved.
9362
- *
9363
- * Use of this source code is governed by an MIT-style license that can be
9364
- * found in the LICENSE file at https://angular.io/license
9365
- */
9366
8776
  /**
9367
8777
  * Sanitizer is used by the views to sanitize potentially dangerous values.
9368
8778
  *
@@ -9377,13 +8787,6 @@ Sanitizer.ɵprov = ɵɵdefineInjectable({
9377
8787
  factory: () => null,
9378
8788
  });
9379
8789
 
9380
- /**
9381
- * @license
9382
- * Copyright Google LLC All Rights Reserved.
9383
- *
9384
- * Use of this source code is governed by an MIT-style license that can be
9385
- * found in the LICENSE file at https://angular.io/license
9386
- */
9387
8790
  /**
9388
8791
  * @description Represents the version of Angular
9389
8792
  *
@@ -9400,15 +8803,8 @@ class Version {
9400
8803
  /**
9401
8804
  * @publicApi
9402
8805
  */
9403
- const VERSION = new Version('15.1.0-next.2');
8806
+ const VERSION = new Version('15.1.0-rc.0');
9404
8807
 
9405
- /**
9406
- * @license
9407
- * Copyright Google LLC All Rights Reserved.
9408
- *
9409
- * Use of this source code is governed by an MIT-style license that can be
9410
- * found in the LICENSE file at https://angular.io/license
9411
- */
9412
8808
  // This default value is when checking the hierarchy for a token.
9413
8809
  //
9414
8810
  // It means both:
@@ -9428,13 +8824,6 @@ const VERSION = new Version('15.1.0-next.2');
9428
8824
  // - mod2.injector.get(token, default)
9429
8825
  const NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR = {};
9430
8826
 
9431
- /**
9432
- * @license
9433
- * Copyright Google LLC All Rights Reserved.
9434
- *
9435
- * Use of this source code is governed by an MIT-style license that can be
9436
- * found in the LICENSE file at https://angular.io/license
9437
- */
9438
8827
  const ERROR_ORIGINAL_ERROR = 'ngOriginalError';
9439
8828
  function wrappedError(message, originalError) {
9440
8829
  const msg = `${message} caused by: ${originalError instanceof Error ? originalError.message : originalError}`;
@@ -9446,13 +8835,6 @@ function getOriginalError(error) {
9446
8835
  return error[ERROR_ORIGINAL_ERROR];
9447
8836
  }
9448
8837
 
9449
- /**
9450
- * @license
9451
- * Copyright Google LLC All Rights Reserved.
9452
- *
9453
- * Use of this source code is governed by an MIT-style license that can be
9454
- * found in the LICENSE file at https://angular.io/license
9455
- */
9456
8838
  /**
9457
8839
  * Provides a hook for centralized exception handling.
9458
8840
  *
@@ -9502,13 +8884,6 @@ class ErrorHandler {
9502
8884
  }
9503
8885
  }
9504
8886
 
9505
- /**
9506
- * @license
9507
- * Copyright Google LLC All Rights Reserved.
9508
- *
9509
- * Use of this source code is governed by an MIT-style license that can be
9510
- * found in the LICENSE file at https://angular.io/license
9511
- */
9512
8887
  function normalizeDebugBindingName(name) {
9513
8888
  // Attribute names with `$` (eg `x-y$`) are valid per spec, but unsupported by some browsers
9514
8889
  name = camelCaseToDashCase(name.replace(/[$@]/g, '_'));
@@ -9528,13 +8903,6 @@ function normalizeDebugBindingValue(value) {
9528
8903
  }
9529
8904
  }
9530
8905
 
9531
- /**
9532
- * @license
9533
- * Copyright Google LLC All Rights Reserved.
9534
- *
9535
- * Use of this source code is governed by an MIT-style license that can be
9536
- * found in the LICENSE file at https://angular.io/license
9537
- */
9538
8906
  /** Verifies that a given type is a Standalone Component. */
9539
8907
  function assertStandaloneComponentType(type) {
9540
8908
  assertComponentDef(type);
@@ -9621,13 +8989,6 @@ function getExpressionChangedErrorDetails(lView, bindingIndex, oldValue, newValu
9621
8989
  return { propName: undefined, oldValue, newValue };
9622
8990
  }
9623
8991
 
9624
- /**
9625
- * @license
9626
- * Copyright Google LLC All Rights Reserved.
9627
- *
9628
- * Use of this source code is governed by an MIT-style license that can be
9629
- * found in the LICENSE file at https://angular.io/license
9630
- */
9631
8992
  /**
9632
8993
  * Returns an index of `classToSearch` in `className` taking token boundaries into account.
9633
8994
  *
@@ -9659,13 +9020,6 @@ function classIndexOf(className, classToSearch, startingIndex) {
9659
9020
  }
9660
9021
  }
9661
9022
 
9662
- /**
9663
- * @license
9664
- * Copyright Google LLC All Rights Reserved.
9665
- *
9666
- * Use of this source code is governed by an MIT-style license that can be
9667
- * found in the LICENSE file at https://angular.io/license
9668
- */
9669
9023
  const NG_TEMPLATE_SELECTOR = 'ng-template';
9670
9024
  /**
9671
9025
  * Search the `TAttributes` to see if it contains `cssClassToMatch` (case insensitive)
@@ -10069,23 +9423,9 @@ function extractAttrsAndClassesFromSelector(selector) {
10069
9423
  return { attrs, classes };
10070
9424
  }
10071
9425
 
10072
- /**
10073
- * @license
10074
- * Copyright Google LLC All Rights Reserved.
10075
- *
10076
- * Use of this source code is governed by an MIT-style license that can be
10077
- * found in the LICENSE file at https://angular.io/license
10078
- */
10079
9426
  /** A special value which designates that a value has not changed. */
10080
9427
  const NO_CHANGE = (typeof ngDevMode === 'undefined' || ngDevMode) ? { __brand__: 'NO_CHANGE' } : {};
10081
9428
 
10082
- /**
10083
- * @license
10084
- * Copyright Google LLC All Rights Reserved.
10085
- *
10086
- * Use of this source code is governed by an MIT-style license that can be
10087
- * found in the LICENSE file at https://angular.io/license
10088
- */
10089
9429
  /**
10090
9430
  * Advances to an element for later binding instructions.
10091
9431
  *
@@ -10139,13 +9479,6 @@ function selectIndexInternal(tView, lView, index, checkNoChangesMode) {
10139
9479
  setSelectedIndex(index);
10140
9480
  }
10141
9481
 
10142
- /**
10143
- * @license
10144
- * Copyright Google LLC All Rights Reserved.
10145
- *
10146
- * Use of this source code is governed by an MIT-style license that can be
10147
- * found in the LICENSE file at https://angular.io/license
10148
- */
10149
9482
  /**
10150
9483
  * A mapping of the @angular/core API surface used in generated expressions to the actual symbols.
10151
9484
  *
@@ -10159,13 +9492,6 @@ const angularCoreDiEnv = {
10159
9492
  'resolveForwardRef': resolveForwardRef,
10160
9493
  };
10161
9494
 
10162
- /**
10163
- * @license
10164
- * Copyright Google LLC All Rights Reserved.
10165
- *
10166
- * Use of this source code is governed by an MIT-style license that can be
10167
- * found in the LICENSE file at https://angular.io/license
10168
- */
10169
9495
  /**
10170
9496
  * Compile an Angular injectable according to its `Injectable` metadata, and patch the resulting
10171
9497
  * injectable def (`ɵprov`) onto the injectable type.
@@ -10247,13 +9573,6 @@ function getInjectableMetadata(type, srcMeta) {
10247
9573
  return compilerMeta;
10248
9574
  }
10249
9575
 
10250
- /**
10251
- * @license
10252
- * Copyright Google LLC All Rights Reserved.
10253
- *
10254
- * Use of this source code is governed by an MIT-style license that can be
10255
- * found in the LICENSE file at https://angular.io/license
10256
- */
10257
9576
  /**
10258
9577
  * Injectable decorator and metadata.
10259
9578
  *
@@ -10262,13 +9581,6 @@ function getInjectableMetadata(type, srcMeta) {
10262
9581
  */
10263
9582
  const Injectable = makeDecorator('Injectable', undefined, undefined, undefined, (type, meta) => compileInjectable(type, meta));
10264
9583
 
10265
- /**
10266
- * @license
10267
- * Copyright Google LLC All Rights Reserved.
10268
- *
10269
- * Use of this source code is governed by an MIT-style license that can be
10270
- * found in the LICENSE file at https://angular.io/license
10271
- */
10272
9584
  /**
10273
9585
  * Create a new `Injector` which is configured using a `defType` of `InjectorType<any>`s.
10274
9586
  *
@@ -10293,13 +9605,6 @@ function createInjectorWithoutInjectorInstances(defType, parent = null, addition
10293
9605
  return new R3Injector(providers, parent || getNullInjector(), name || null, scopes);
10294
9606
  }
10295
9607
 
10296
- /**
10297
- * @license
10298
- * Copyright Google LLC All Rights Reserved.
10299
- *
10300
- * Use of this source code is governed by an MIT-style license that can be
10301
- * found in the LICENSE file at https://angular.io/license
10302
- */
10303
9608
  /**
10304
9609
  * Concrete injectors implement this interface. Injectors are configured
10305
9610
  * with [providers](guide/glossary#provider) that associate
@@ -10350,13 +9655,6 @@ Injector.ɵprov = ɵɵdefineInjectable({
10350
9655
  */
10351
9656
  Injector.__NG_ELEMENT_ID__ = -1 /* InjectorMarkers.Injector */;
10352
9657
 
10353
- /**
10354
- * @license
10355
- * Copyright Google LLC All Rights Reserved.
10356
- *
10357
- * Use of this source code is governed by an MIT-style license that can be
10358
- * found in the LICENSE file at https://angular.io/license
10359
- */
10360
9658
  function findFirstClosedCycle(keys) {
10361
9659
  const res = [];
10362
9660
  for (let i = 0; i < keys.length; ++i) {
@@ -10565,13 +9863,6 @@ function mixingMultiProvidersWithRegularProvidersError(provider1, provider2) {
10565
9863
  return Error(`Cannot mix multi providers and regular providers, got: ${provider1} ${provider2}`);
10566
9864
  }
10567
9865
 
10568
- /**
10569
- * @license
10570
- * Copyright Google LLC All Rights Reserved.
10571
- *
10572
- * Use of this source code is governed by an MIT-style license that can be
10573
- * found in the LICENSE file at https://angular.io/license
10574
- */
10575
9866
  /**
10576
9867
  * A unique object used for retrieving items from the {@link ReflectiveInjector}.
10577
9868
  *
@@ -10635,13 +9926,6 @@ class KeyRegistry {
10635
9926
  }
10636
9927
  const _globalKeyRegistry = new KeyRegistry();
10637
9928
 
10638
- /**
10639
- * @license
10640
- * Copyright Google LLC All Rights Reserved.
10641
- *
10642
- * Use of this source code is governed by an MIT-style license that can be
10643
- * found in the LICENSE file at https://angular.io/license
10644
- */
10645
9929
  /**
10646
9930
  * `Dependency` is used by the framework to extend DI.
10647
9931
  * This is internal to Angular and should not be used directly.
@@ -10837,13 +10121,6 @@ function _createDependency(token, optional, visibility) {
10837
10121
  return new ReflectiveDependency(ReflectiveKey.get(token), optional, visibility);
10838
10122
  }
10839
10123
 
10840
- /**
10841
- * @license
10842
- * Copyright Google LLC All Rights Reserved.
10843
- *
10844
- * Use of this source code is governed by an MIT-style license that can be
10845
- * found in the LICENSE file at https://angular.io/license
10846
- */
10847
10124
  // Threshold for the dynamic version
10848
10125
  const UNDEFINED = {};
10849
10126
  /**
@@ -11142,28 +10419,28 @@ function _mapProviders(injector, fn) {
11142
10419
  }
11143
10420
 
11144
10421
  /**
11145
- * @license
11146
- * Copyright Google LLC All Rights Reserved.
11147
- *
11148
- * Use of this source code is governed by an MIT-style license that can be
11149
- * found in the LICENSE file at https://angular.io/license
10422
+ * @module
10423
+ * @description
10424
+ * The `di` module provides dependency injection container services.
11150
10425
  */
11151
10426
 
11152
10427
  /**
11153
- * @license
11154
- * Copyright Google LLC All Rights Reserved.
10428
+ * This file should not be necessary because node resolution should just default to `./di/index`!
11155
10429
  *
11156
- * Use of this source code is governed by an MIT-style license that can be
11157
- * found in the LICENSE file at https://angular.io/license
11158
- */
11159
-
11160
- /**
11161
- * @license
11162
- * Copyright Google LLC All Rights Reserved.
10430
+ * However it does not seem to work and it breaks:
10431
+ * - //packages/animations/browser/test:test_web_chromium-local
10432
+ * - //packages/compiler-cli/test:extract_i18n
10433
+ * - //packages/compiler-cli/test:ngc
10434
+ * - //packages/compiler-cli/test:perform_watch
10435
+ * - //packages/compiler-cli/test/diagnostics:check_types
10436
+ * - //packages/compiler-cli/test/transformers:test
10437
+ * - //packages/compiler/test:test
10438
+ * - //tools/public_api_guard:core_api
11163
10439
  *
11164
- * Use of this source code is governed by an MIT-style license that can be
11165
- * found in the LICENSE file at https://angular.io/license
10440
+ * Remove this file once the above is solved or wait until `ngc` is deleted and then it should be
10441
+ * safe to delete this file.
11166
10442
  */
10443
+
11167
10444
  function ɵɵdirectiveInject(token, flags = InjectFlags.Default) {
11168
10445
  const lView = getLView();
11169
10446
  // Fall back to inject() if view hasn't been created. This situation can happen in tests
@@ -11193,13 +10470,6 @@ function ɵɵinvalidFactory() {
11193
10470
  throw new Error(msg);
11194
10471
  }
11195
10472
 
11196
- /**
11197
- * @license
11198
- * Copyright Google LLC All Rights Reserved.
11199
- *
11200
- * Use of this source code is governed by an MIT-style license that can be
11201
- * found in the LICENSE file at https://angular.io/license
11202
- */
11203
10473
  /**
11204
10474
  * Invoke `HostBindingsFunction`s for view.
11205
10475
  *
@@ -12804,13 +12074,6 @@ function textBindingInternal(lView, index, value) {
12804
12074
  updateTextNode(lView[RENDERER], element, value);
12805
12075
  }
12806
12076
 
12807
- /**
12808
- * @license
12809
- * Copyright Google LLC All Rights Reserved.
12810
- *
12811
- * Use of this source code is governed by an MIT-style license that can be
12812
- * found in the LICENSE file at https://angular.io/license
12813
- */
12814
12077
  /**
12815
12078
  * Compute the static styling (class/style) from `TAttributes`.
12816
12079
  *
@@ -12848,13 +12111,6 @@ function computeStaticStyling(tNode, attrs, writeToHost) {
12848
12111
  writeToHost ? tNode.classes = classes : tNode.classesWithoutHost = classes;
12849
12112
  }
12850
12113
 
12851
- /**
12852
- * @license
12853
- * Copyright Google LLC All Rights Reserved.
12854
- *
12855
- * Use of this source code is governed by an MIT-style license that can be
12856
- * found in the LICENSE file at https://angular.io/license
12857
- */
12858
12114
  function collectNativeNodes(tView, lView, tNode, result, isProjection = false) {
12859
12115
  while (tNode !== null) {
12860
12116
  ngDevMode &&
@@ -12902,13 +12158,6 @@ function collectNativeNodes(tView, lView, tNode, result, isProjection = false) {
12902
12158
  return result;
12903
12159
  }
12904
12160
 
12905
- /**
12906
- * @license
12907
- * Copyright Google LLC All Rights Reserved.
12908
- *
12909
- * Use of this source code is governed by an MIT-style license that can be
12910
- * found in the LICENSE file at https://angular.io/license
12911
- */
12912
12161
  class ViewRef {
12913
12162
  get rootNodes() {
12914
12163
  const lView = this._lView;
@@ -13198,13 +12447,6 @@ class RootViewRef extends ViewRef {
13198
12447
  }
13199
12448
  }
13200
12449
 
13201
- /**
13202
- * @license
13203
- * Copyright Google LLC All Rights Reserved.
13204
- *
13205
- * Use of this source code is governed by an MIT-style license that can be
13206
- * found in the LICENSE file at https://angular.io/license
13207
- */
13208
12450
  class ComponentFactoryResolver extends ComponentFactoryResolver$1 {
13209
12451
  /**
13210
12452
  * @param ngModule The NgModuleRef to which all resolved factories are bound.
@@ -13539,13 +12781,6 @@ function LifecycleHooksFeature() {
13539
12781
  registerPostOrderHooks(getLView()[TVIEW], tNode);
13540
12782
  }
13541
12783
 
13542
- /**
13543
- * @license
13544
- * Copyright Google LLC All Rights Reserved.
13545
- *
13546
- * Use of this source code is governed by an MIT-style license that can be
13547
- * found in the LICENSE file at https://angular.io/license
13548
- */
13549
12784
  function getSuperType(type) {
13550
12785
  return Object.getPrototypeOf(type.prototype).constructor;
13551
12786
  }
@@ -13696,13 +12931,6 @@ function inheritHostBindings(definition, superHostBindings) {
13696
12931
  }
13697
12932
  }
13698
12933
 
13699
- /**
13700
- * @license
13701
- * Copyright Google LLC All Rights Reserved.
13702
- *
13703
- * Use of this source code is governed by an MIT-style license that can be
13704
- * found in the LICENSE file at https://angular.io/license
13705
- */
13706
12934
  /**
13707
12935
  * Fields which exist on either directive or component definitions, and need to be copied from
13708
12936
  * parent to child classes by the `ɵɵCopyDefinitionFeature`.
@@ -13776,13 +13004,6 @@ function ɵɵCopyDefinitionFeature(definition) {
13776
13004
  }
13777
13005
  }
13778
13006
 
13779
- /**
13780
- * @license
13781
- * Copyright Google LLC All Rights Reserved.
13782
- *
13783
- * Use of this source code is governed by an MIT-style license that can be
13784
- * found in the LICENSE file at https://angular.io/license
13785
- */
13786
13007
  /**
13787
13008
  * This feature adds the host directives behavior to a directive definition by patching a
13788
13009
  * function onto it. The expectation is that the runtime will invoke the function during
@@ -13933,13 +13154,6 @@ function validateMappings(bindingType, def, hostDirectiveBindings) {
13933
13154
  }
13934
13155
  }
13935
13156
 
13936
- /**
13937
- * @license
13938
- * Copyright Google LLC All Rights Reserved.
13939
- *
13940
- * Use of this source code is governed by an MIT-style license that can be
13941
- * found in the LICENSE file at https://angular.io/license
13942
- */
13943
13157
  let _symbolIterator = null;
13944
13158
  function getSymbolIterator() {
13945
13159
  if (!_symbolIterator) {
@@ -13962,13 +13176,6 @@ function getSymbolIterator() {
13962
13176
  return _symbolIterator;
13963
13177
  }
13964
13178
 
13965
- /**
13966
- * @license
13967
- * Copyright Google LLC All Rights Reserved.
13968
- *
13969
- * Use of this source code is governed by an MIT-style license that can be
13970
- * found in the LICENSE file at https://angular.io/license
13971
- */
13972
13179
  function isIterable(obj) {
13973
13180
  return obj !== null && typeof obj === 'object' && obj[getSymbolIterator()] !== undefined;
13974
13181
  }
@@ -14011,13 +13218,6 @@ function isJsObject(o) {
14011
13218
  return o !== null && (typeof o === 'function' || typeof o === 'object');
14012
13219
  }
14013
13220
 
14014
- /**
14015
- * @license
14016
- * Copyright Google LLC All Rights Reserved.
14017
- *
14018
- * Use of this source code is governed by an MIT-style license that can be
14019
- * found in the LICENSE file at https://angular.io/license
14020
- */
14021
13221
  function devModeEqual(a, b) {
14022
13222
  const isListLikeIterableA = isListLikeIterable(a);
14023
13223
  const isListLikeIterableB = isListLikeIterable(b);
@@ -14036,13 +13236,6 @@ function devModeEqual(a, b) {
14036
13236
  }
14037
13237
  }
14038
13238
 
14039
- /**
14040
- * @license
14041
- * Copyright Google LLC All Rights Reserved.
14042
- *
14043
- * Use of this source code is governed by an MIT-style license that can be
14044
- * found in the LICENSE file at https://angular.io/license
14045
- */
14046
13239
  // TODO(misko): consider inlining
14047
13240
  /** Updates binding and returns the value. */
14048
13241
  function updateBinding(lView, bindingIndex, value) {
@@ -14111,13 +13304,6 @@ function bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4) {
14111
13304
  return bindingUpdated2(lView, bindingIndex + 2, exp3, exp4) || different;
14112
13305
  }
14113
13306
 
14114
- /**
14115
- * @license
14116
- * Copyright Google LLC All Rights Reserved.
14117
- *
14118
- * Use of this source code is governed by an MIT-style license that can be
14119
- * found in the LICENSE file at https://angular.io/license
14120
- */
14121
13307
  /**
14122
13308
  * Updates the value of or removes a bound attribute on an Element.
14123
13309
  *
@@ -14143,13 +13329,6 @@ function ɵɵattribute(name, value, sanitizer, namespace) {
14143
13329
  return ɵɵattribute;
14144
13330
  }
14145
13331
 
14146
- /**
14147
- * @license
14148
- * Copyright Google LLC All Rights Reserved.
14149
- *
14150
- * Use of this source code is governed by an MIT-style license that can be
14151
- * found in the LICENSE file at https://angular.io/license
14152
- */
14153
13332
  /**
14154
13333
  * Create interpolation bindings with a variable number of expressions.
14155
13334
  *
@@ -14661,13 +13840,6 @@ function ɵɵattributeInterpolateV(attrName, values, sanitizer, namespace) {
14661
13840
  return ɵɵattributeInterpolateV;
14662
13841
  }
14663
13842
 
14664
- /**
14665
- * @license
14666
- * Copyright Google LLC All Rights Reserved.
14667
- *
14668
- * Use of this source code is governed by an MIT-style license that can be
14669
- * found in the LICENSE file at https://angular.io/license
14670
- */
14671
13843
  /**
14672
13844
  * Synchronously perform change detection on a component (and possibly its sub-components).
14673
13845
  *
@@ -14680,13 +13852,6 @@ function detectChanges(component) {
14680
13852
  detectChangesInternal(view[TVIEW], view, component);
14681
13853
  }
14682
13854
 
14683
- /**
14684
- * @license
14685
- * Copyright Google LLC All Rights Reserved.
14686
- *
14687
- * Use of this source code is governed by an MIT-style license that can be
14688
- * found in the LICENSE file at https://angular.io/license
14689
- */
14690
13855
  function templateFirstCreatePass(index, tView, lView, templateFn, decls, vars, tagName, attrsIndex, localRefsIndex) {
14691
13856
  ngDevMode && assertFirstCreatePass(tView);
14692
13857
  ngDevMode && ngDevMode.firstCreatePass++;
@@ -14740,13 +13905,6 @@ function ɵɵtemplate(index, templateFn, decls, vars, tagName, attrsIndex, local
14740
13905
  }
14741
13906
  }
14742
13907
 
14743
- /**
14744
- * @license
14745
- * Copyright Google LLC All Rights Reserved.
14746
- *
14747
- * Use of this source code is governed by an MIT-style license that can be
14748
- * found in the LICENSE file at https://angular.io/license
14749
- */
14750
13908
  /** Store a value in the `data` at a given `index`. */
14751
13909
  function store(tView, lView, index, value) {
14752
13910
  // We don't store any static data for local variables, so the first time
@@ -14772,13 +13930,6 @@ function ɵɵreference(index) {
14772
13930
  return load(contextLView, HEADER_OFFSET + index);
14773
13931
  }
14774
13932
 
14775
- /**
14776
- * @license
14777
- * Copyright Google LLC All Rights Reserved.
14778
- *
14779
- * Use of this source code is governed by an MIT-style license that can be
14780
- * found in the LICENSE file at https://angular.io/license
14781
- */
14782
13933
  /**
14783
13934
  * Update a property on a selected element.
14784
13935
  *
@@ -14819,13 +13970,6 @@ function setDirectiveInputsWhichShadowsStyling(tView, tNode, lView, value, isCla
14819
13970
  setInputsForProperty(tView, lView, inputs[property], property, value);
14820
13971
  }
14821
13972
 
14822
- /**
14823
- * @license
14824
- * Copyright Google LLC All Rights Reserved.
14825
- *
14826
- * Use of this source code is governed by an MIT-style license that can be
14827
- * found in the LICENSE file at https://angular.io/license
14828
- */
14829
13973
  function elementStartFirstCreatePass(index, tView, lView, native, name, attrsIndex, localRefsIndex) {
14830
13974
  ngDevMode && assertFirstCreatePass(tView);
14831
13975
  ngDevMode && ngDevMode.firstCreatePass++;
@@ -14949,13 +14093,6 @@ function ɵɵelement(index, name, attrsIndex, localRefsIndex) {
14949
14093
  return ɵɵelement;
14950
14094
  }
14951
14095
 
14952
- /**
14953
- * @license
14954
- * Copyright Google LLC All Rights Reserved.
14955
- *
14956
- * Use of this source code is governed by an MIT-style license that can be
14957
- * found in the LICENSE file at https://angular.io/license
14958
- */
14959
14096
  function elementContainerStartFirstCreatePass(index, tView, lView, attrsIndex, localRefsIndex) {
14960
14097
  ngDevMode && ngDevMode.firstCreatePass++;
14961
14098
  const tViewConsts = tView.consts;
@@ -15069,13 +14206,6 @@ function ɵɵgetCurrentView() {
15069
14206
  return getLView();
15070
14207
  }
15071
14208
 
15072
- /**
15073
- * @license
15074
- * Copyright Google LLC All Rights Reserved.
15075
- *
15076
- * Use of this source code is governed by an MIT-style license that can be
15077
- * found in the LICENSE file at https://angular.io/license
15078
- */
15079
14209
  /**
15080
14210
  * Determine if the argument is shaped like a Promise
15081
14211
  */
@@ -15101,13 +14231,6 @@ function isSubscribable(obj) {
15101
14231
  */
15102
14232
  const isObservable = isSubscribable;
15103
14233
 
15104
- /**
15105
- * @license
15106
- * Copyright Google LLC All Rights Reserved.
15107
- *
15108
- * Use of this source code is governed by an MIT-style license that can be
15109
- * found in the LICENSE file at https://angular.io/license
15110
- */
15111
14234
  /**
15112
14235
  * Adds an event listener to the current node.
15113
14236
  *
@@ -15335,21 +14458,6 @@ function wrapListener(tNode, lView, context, listenerFn, wrapWithPreventDefault)
15335
14458
  };
15336
14459
  }
15337
14460
 
15338
- /**
15339
- * @license
15340
- * Copyright Google LLC All Rights Reserved.
15341
- *
15342
- * Use of this source code is governed by an MIT-style license that can be
15343
- * found in the LICENSE file at https://angular.io/license
15344
- */
15345
-
15346
- /**
15347
- * @license
15348
- * Copyright Google LLC All Rights Reserved.
15349
- *
15350
- * Use of this source code is governed by an MIT-style license that can be
15351
- * found in the LICENSE file at https://angular.io/license
15352
- */
15353
14461
  /**
15354
14462
  * Retrieves a context at the level specified and saves it as the global, contextViewData.
15355
14463
  * Will get the next level up if level is not specified.
@@ -15366,13 +14474,6 @@ function ɵɵnextContext(level = 1) {
15366
14474
  return nextContextImpl(level);
15367
14475
  }
15368
14476
 
15369
- /**
15370
- * @license
15371
- * Copyright Google LLC All Rights Reserved.
15372
- *
15373
- * Use of this source code is governed by an MIT-style license that can be
15374
- * found in the LICENSE file at https://angular.io/license
15375
- */
15376
14477
  /**
15377
14478
  * Checks a given node against matching projection slots and returns the
15378
14479
  * determined slot index. Returns "null" if no slot matched the given node.
@@ -15941,13 +15042,6 @@ function ɵɵpropertyInterpolateV(propName, values, sanitizer) {
15941
15042
  return ɵɵpropertyInterpolateV;
15942
15043
  }
15943
15044
 
15944
- /**
15945
- * @license
15946
- * Copyright Google LLC All Rights Reserved.
15947
- *
15948
- * Use of this source code is governed by an MIT-style license that can be
15949
- * found in the LICENSE file at https://angular.io/license
15950
- */
15951
15045
  function toTStylingRange(prev, next) {
15952
15046
  ngDevMode && assertNumberInRange(prev, 0, 32767 /* StylingRange.UNSIGNED_MASK */);
15953
15047
  ngDevMode && assertNumberInRange(next, 0, 32767 /* StylingRange.UNSIGNED_MASK */);
@@ -15997,13 +15091,6 @@ function getTStylingRangeTail(tStylingRange) {
15997
15091
  return next === 0 ? getTStylingRangePrev(tStylingRange) : next;
15998
15092
  }
15999
15093
 
16000
- /**
16001
- * @license
16002
- * Copyright Google LLC All Rights Reserved.
16003
- *
16004
- * Use of this source code is governed by an MIT-style license that can be
16005
- * found in the LICENSE file at https://angular.io/license
16006
- */
16007
15094
  /**
16008
15095
  * NOTE: The word `styling` is used interchangeably as style or class styling.
16009
15096
  *
@@ -16404,13 +15491,6 @@ function isStylingMatch(tStylingKeyCursor, tStylingKey) {
16404
15491
  return false;
16405
15492
  }
16406
15493
 
16407
- /**
16408
- * @license
16409
- * Copyright Google LLC All Rights Reserved.
16410
- *
16411
- * Use of this source code is governed by an MIT-style license that can be
16412
- * found in the LICENSE file at https://angular.io/license
16413
- */
16414
15494
  // Global state of the parser. (This makes parser non-reentrant, but that is not an issue)
16415
15495
  const parserState = {
16416
15496
  textEnd: 0,
@@ -16669,13 +15749,6 @@ function malformedStyleError(text, expecting, index) {
16669
15749
  `'. Expecting '${expecting}'.`);
16670
15750
  }
16671
15751
 
16672
- /**
16673
- * @license
16674
- * Copyright Google LLC All Rights Reserved.
16675
- *
16676
- * Use of this source code is governed by an MIT-style license that can be
16677
- * found in the LICENSE file at https://angular.io/license
16678
- */
16679
15752
  /**
16680
15753
  * Update a style binding on an element with the provided value.
16681
15754
  *
@@ -17445,13 +16518,6 @@ function hasStylingInputShadow(tNode, isClassBased) {
17445
16518
  return (tNode.flags & (isClassBased ? 8 /* TNodeFlags.hasClassInput */ : 16 /* TNodeFlags.hasStyleInput */)) !== 0;
17446
16519
  }
17447
16520
 
17448
- /**
17449
- * @license
17450
- * Copyright Google LLC All Rights Reserved.
17451
- *
17452
- * Use of this source code is governed by an MIT-style license that can be
17453
- * found in the LICENSE file at https://angular.io/license
17454
- */
17455
16521
  /**
17456
16522
  * Create static text node
17457
16523
  *
@@ -17476,13 +16542,6 @@ function ɵɵtext(index, value = '') {
17476
16542
  setCurrentTNode(tNode, false);
17477
16543
  }
17478
16544
 
17479
- /**
17480
- * @license
17481
- * Copyright Google LLC All Rights Reserved.
17482
- *
17483
- * Use of this source code is governed by an MIT-style license that can be
17484
- * found in the LICENSE file at https://angular.io/license
17485
- */
17486
16545
  /**
17487
16546
  *
17488
16547
  * Update text content with a lone bound value
@@ -17764,13 +16823,6 @@ function ɵɵtextInterpolateV(values) {
17764
16823
  return ɵɵtextInterpolateV;
17765
16824
  }
17766
16825
 
17767
- /**
17768
- * @license
17769
- * Copyright Google LLC All Rights Reserved.
17770
- *
17771
- * Use of this source code is governed by an MIT-style license that can be
17772
- * found in the LICENSE file at https://angular.io/license
17773
- */
17774
16826
  /**
17775
16827
  *
17776
16828
  * Update an interpolated class on an element with single bound value surrounded by text.
@@ -18070,13 +17122,6 @@ function ɵɵclassMapInterpolateV(values) {
18070
17122
  checkStylingMap(keyValueArraySet, classStringParser, interpolatedValue, true);
18071
17123
  }
18072
17124
 
18073
- /**
18074
- * @license
18075
- * Copyright Google LLC All Rights Reserved.
18076
- *
18077
- * Use of this source code is governed by an MIT-style license that can be
18078
- * found in the LICENSE file at https://angular.io/license
18079
- */
18080
17125
  /**
18081
17126
  *
18082
17127
  * Update an interpolated style on an element with single bound value surrounded by text.
@@ -18383,13 +17428,6 @@ function ɵɵstyleMapInterpolateV(values) {
18383
17428
  ɵɵstyleMap(interpolatedValue);
18384
17429
  }
18385
17430
 
18386
- /**
18387
- * @license
18388
- * Copyright Google LLC All Rights Reserved.
18389
- *
18390
- * Use of this source code is governed by an MIT-style license that can be
18391
- * found in the LICENSE file at https://angular.io/license
18392
- */
18393
17431
  /**
18394
17432
  *
18395
17433
  * Update an interpolated style property on an element with single bound value surrounded by text.
@@ -18741,13 +17779,6 @@ function ɵɵstylePropInterpolateV(prop, values, valueSuffix) {
18741
17779
  return ɵɵstylePropInterpolateV;
18742
17780
  }
18743
17781
 
18744
- /**
18745
- * @license
18746
- * Copyright Google LLC All Rights Reserved.
18747
- *
18748
- * Use of this source code is governed by an MIT-style license that can be
18749
- * found in the LICENSE file at https://angular.io/license
18750
- */
18751
17782
  /**
18752
17783
  * Update a property on a host element. Only applies to native node properties, not inputs.
18753
17784
  *
@@ -18808,13 +17839,6 @@ function ɵɵsyntheticHostProperty(propName, value, sanitizer) {
18808
17839
  return ɵɵsyntheticHostProperty;
18809
17840
  }
18810
17841
 
18811
- /**
18812
- * @license
18813
- * Copyright Google LLC All Rights Reserved.
18814
- *
18815
- * Use of this source code is governed by an MIT-style license that can be
18816
- * found in the LICENSE file at https://angular.io/license
18817
- */
18818
17842
  /**
18819
17843
  * NOTE: changes to the `ngI18nClosureMode` name must be synced with `compiler-cli/src/tooling.ts`.
18820
17844
  */
@@ -18832,13 +17856,6 @@ if (typeof ngI18nClosureMode === 'undefined') {
18832
17856
  })();
18833
17857
  }
18834
17858
 
18835
- /**
18836
- * @license
18837
- * Copyright Google LLC All Rights Reserved.
18838
- *
18839
- * Use of this source code is governed by an MIT-style license that can be
18840
- * found in the LICENSE file at https://angular.io/license
18841
- */
18842
17859
  // THIS CODE IS GENERATED - DO NOT MODIFY.
18843
17860
  const u = undefined;
18844
17861
  function plural(val) {
@@ -18849,13 +17866,6 @@ function plural(val) {
18849
17866
  }
18850
17867
  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];
18851
17868
 
18852
- /**
18853
- * @license
18854
- * Copyright Google LLC All Rights Reserved.
18855
- *
18856
- * Use of this source code is governed by an MIT-style license that can be
18857
- * found in the LICENSE file at https://angular.io/license
18858
- */
18859
17869
  /**
18860
17870
  * This const is used to store the locale data registered with `registerLocaleData`
18861
17871
  */
@@ -18979,13 +17989,6 @@ function normalizeLocale(locale) {
18979
17989
  return locale.toLowerCase().replace(/_/g, '-');
18980
17990
  }
18981
17991
 
18982
- /**
18983
- * @license
18984
- * Copyright Google LLC All Rights Reserved.
18985
- *
18986
- * Use of this source code is governed by an MIT-style license that can be
18987
- * found in the LICENSE file at https://angular.io/license
18988
- */
18989
17992
  const pluralMapping = ['zero', 'one', 'two', 'few', 'many'];
18990
17993
  /**
18991
17994
  * Returns the plural case based on the locale
@@ -19005,13 +18008,6 @@ const DEFAULT_LOCALE_ID = 'en-US';
19005
18008
  */
19006
18009
  const USD_CURRENCY_CODE = 'USD';
19007
18010
 
19008
- /**
19009
- * @license
19010
- * Copyright Google LLC All Rights Reserved.
19011
- *
19012
- * Use of this source code is governed by an MIT-style license that can be
19013
- * found in the LICENSE file at https://angular.io/license
19014
- */
19015
18011
  /**
19016
18012
  * Marks that the next string is an element name.
19017
18013
  *
@@ -19051,13 +18047,6 @@ var I18nCreateOpCode;
19051
18047
  // failure based on types.
19052
18048
  const unusedValueExportToPlacateAjd = 1;
19053
18049
 
19054
- /**
19055
- * @license
19056
- * Copyright Google LLC All Rights Reserved.
19057
- *
19058
- * Use of this source code is governed by an MIT-style license that can be
19059
- * found in the LICENSE file at https://angular.io/license
19060
- */
19061
18050
  /**
19062
18051
  * The locale id that the application is currently using (for translations and ICU expressions).
19063
18052
  * This is the ivy version of `LOCALE_ID` that was defined as an injection token for the view engine
@@ -19086,13 +18075,6 @@ function getLocaleId() {
19086
18075
  return LOCALE_ID;
19087
18076
  }
19088
18077
 
19089
- /**
19090
- * @license
19091
- * Copyright Google LLC All Rights Reserved.
19092
- *
19093
- * Use of this source code is governed by an MIT-style license that can be
19094
- * found in the LICENSE file at https://angular.io/license
19095
- */
19096
18078
  /**
19097
18079
  * Find a node in front of which `currentTNode` should be inserted (takes i18n into account).
19098
18080
  *
@@ -19145,13 +18127,6 @@ function processI18nInsertBefore(renderer, childTNode, lView, childRNode, parent
19145
18127
  }
19146
18128
  }
19147
18129
 
19148
- /**
19149
- * @license
19150
- * Copyright Google LLC All Rights Reserved.
19151
- *
19152
- * Use of this source code is governed by an MIT-style license that can be
19153
- * found in the LICENSE file at https://angular.io/license
19154
- */
19155
18130
  /**
19156
18131
  * Add `tNode` to `previousTNodes` list and update relevant `TNode`s in `previousTNodes` list
19157
18132
  * `tNode.insertBeforeIndex`.
@@ -19225,13 +18200,6 @@ function setInsertBeforeIndex(tNode, value) {
19225
18200
  }
19226
18201
  }
19227
18202
 
19228
- /**
19229
- * @license
19230
- * Copyright Google LLC All Rights Reserved.
19231
- *
19232
- * Use of this source code is governed by an MIT-style license that can be
19233
- * found in the LICENSE file at https://angular.io/license
19234
- */
19235
18203
  /**
19236
18204
  * Retrieve `TIcu` at a given `index`.
19237
18205
  *
@@ -19343,13 +18311,6 @@ function icuCreateOpCode(opCode, parentIdx, refIdx) {
19343
18311
  return opCode | parentIdx << 17 /* IcuCreateOpCode.SHIFT_PARENT */ | refIdx << 1 /* IcuCreateOpCode.SHIFT_REF */;
19344
18312
  }
19345
18313
 
19346
- /**
19347
- * @license
19348
- * Copyright Google LLC All Rights Reserved.
19349
- *
19350
- * Use of this source code is governed by an MIT-style license that can be
19351
- * found in the LICENSE file at https://angular.io/license
19352
- */
19353
18314
  /**
19354
18315
  * Keep track of which input bindings in `ɵɵi18nExp` have changed.
19355
18316
  *
@@ -19738,13 +18699,6 @@ function getCaseIndex(icuExpression, bindingValue) {
19738
18699
  return index === -1 ? null : index;
19739
18700
  }
19740
18701
 
19741
- /**
19742
- * @license
19743
- * Copyright Google LLC All Rights Reserved.
19744
- *
19745
- * Use of this source code is governed by an MIT-style license that can be
19746
- * found in the LICENSE file at https://angular.io/license
19747
- */
19748
18702
  function loadIcuContainerVisitor() {
19749
18703
  const _stack = [];
19750
18704
  let _index = -1;
@@ -19818,53 +18772,6 @@ function loadIcuContainerVisitor() {
19818
18772
  return icuContainerIteratorStart;
19819
18773
  }
19820
18774
 
19821
- /**
19822
- * @license
19823
- * Copyright Google LLC All Rights Reserved.
19824
- *
19825
- * Use of this source code is governed by an MIT-style license that can be
19826
- * found in the LICENSE file at https://angular.io/license
19827
- */
19828
- /**
19829
- * Patch a `debug` property on top of the existing object.
19830
- *
19831
- * NOTE: always call this method with `ngDevMode && attachDebugObject(...)`
19832
- *
19833
- * @param obj Object to patch
19834
- * @param debug Value to patch
19835
- */
19836
- function attachDebugObject(obj, debug) {
19837
- if (ngDevMode) {
19838
- Object.defineProperty(obj, 'debug', { value: debug, enumerable: false });
19839
- }
19840
- else {
19841
- throw new Error('This method should be guarded with `ngDevMode` so that it can be tree shaken in production!');
19842
- }
19843
- }
19844
- /**
19845
- * Patch a `debug` property getter on top of the existing object.
19846
- *
19847
- * NOTE: always call this method with `ngDevMode && attachDebugObject(...)`
19848
- *
19849
- * @param obj Object to patch
19850
- * @param debugGetter Getter returning a value to patch
19851
- */
19852
- function attachDebugGetter(obj, debugGetter) {
19853
- if (ngDevMode) {
19854
- Object.defineProperty(obj, 'debug', { get: debugGetter, enumerable: false });
19855
- }
19856
- else {
19857
- throw new Error('This method should be guarded with `ngDevMode` so that it can be tree shaken in production!');
19858
- }
19859
- }
19860
-
19861
- /**
19862
- * @license
19863
- * Copyright Google LLC All Rights Reserved.
19864
- *
19865
- * Use of this source code is governed by an MIT-style license that can be
19866
- * found in the LICENSE file at https://angular.io/license
19867
- */
19868
18775
  /**
19869
18776
  * Converts `I18nCreateOpCodes` array into a human readable format.
19870
18777
  *
@@ -20071,13 +18978,6 @@ class OpCodeParser {
20071
18978
  }
20072
18979
  }
20073
18980
 
20074
- /**
20075
- * @license
20076
- * Copyright Google LLC All Rights Reserved.
20077
- *
20078
- * Use of this source code is governed by an MIT-style license that can be
20079
- * found in the LICENSE file at https://angular.io/license
20080
- */
20081
18981
  const BINDING_REGEXP = /�(\d+):?\d*�/gi;
20082
18982
  const ICU_REGEXP = /({\s*�\d+:?\d*�\s*,\s*\S{6}\s*,[\s\S]*})/gi;
20083
18983
  const NESTED_ICU = /�(\d+)�/;
@@ -20096,6 +18996,22 @@ const NGSP_UNICODE_REGEXP = /\uE500/g;
20096
18996
  function replaceNgsp(value) {
20097
18997
  return value.replace(NGSP_UNICODE_REGEXP, ' ');
20098
18998
  }
18999
+ /**
19000
+ * Patch a `debug` property getter on top of the existing object.
19001
+ *
19002
+ * NOTE: always call this method with `ngDevMode && attachDebugObject(...)`
19003
+ *
19004
+ * @param obj Object to patch
19005
+ * @param debugGetter Getter returning a value to patch
19006
+ */
19007
+ function attachDebugGetter(obj, debugGetter) {
19008
+ if (ngDevMode) {
19009
+ Object.defineProperty(obj, 'debug', { get: debugGetter, enumerable: false });
19010
+ }
19011
+ else {
19012
+ throw new Error('This method should be guarded with `ngDevMode` so that it can be tree shaken in production!');
19013
+ }
19014
+ }
20099
19015
  /**
20100
19016
  * Create dynamic nodes from i18n translation block.
20101
19017
  *
@@ -20680,13 +19596,6 @@ function addCreateAttribute(create, newIndex, attr) {
20680
19596
  create.push(newIndex << 1 /* IcuCreateOpCode.SHIFT_REF */ | 1 /* IcuCreateOpCode.Attr */, attr.name, attr.value);
20681
19597
  }
20682
19598
 
20683
- /**
20684
- * @license
20685
- * Copyright Google LLC All Rights Reserved.
20686
- *
20687
- * Use of this source code is governed by an MIT-style license that can be
20688
- * found in the LICENSE file at https://angular.io/license
20689
- */
20690
19599
  // i18nPostprocess consts
20691
19600
  const ROOT_TEMPLATE_ID = 0;
20692
19601
  const PP_MULTI_VALUE_PLACEHOLDERS_REGEXP = /\[(�.+?�?)\]/;
@@ -20801,13 +19710,6 @@ function i18nPostprocess(message, replacements = {}) {
20801
19710
  return result;
20802
19711
  }
20803
19712
 
20804
- /**
20805
- * @license
20806
- * Copyright Google LLC All Rights Reserved.
20807
- *
20808
- * Use of this source code is governed by an MIT-style license that can be
20809
- * found in the LICENSE file at https://angular.io/license
20810
- */
20811
19713
  /**
20812
19714
  * Marks a block of text as translatable.
20813
19715
  *
@@ -20957,21 +19859,26 @@ function ɵɵi18nPostprocess(message, replacements = {}) {
20957
19859
  return i18nPostprocess(message, replacements);
20958
19860
  }
20959
19861
 
20960
- /**
20961
- * @license
20962
- * Copyright Google LLC All Rights Reserved.
19862
+ /*
19863
+ * This file re-exports all symbols contained in this directory.
20963
19864
  *
20964
- * Use of this source code is governed by an MIT-style license that can be
20965
- * found in the LICENSE file at https://angular.io/license
20966
- */
20967
-
20968
- /**
20969
- * @license
20970
- * Copyright Google LLC All Rights Reserved.
19865
+ * Why is this file not `index.ts`?
20971
19866
  *
20972
- * Use of this source code is governed by an MIT-style license that can be
20973
- * found in the LICENSE file at https://angular.io/license
19867
+ * There seems to be an inconsistent path resolution of an `index.ts` file
19868
+ * when only the parent directory is referenced. This could be due to the
19869
+ * node module resolution configuration differing from rollup and/or typescript.
19870
+ *
19871
+ * With commit
19872
+ * https://github.com/angular/angular/commit/d5e3f2c64bd13ce83e7c70788b7fc514ca4a9918
19873
+ * the `instructions.ts` file was moved to `instructions/instructions.ts` and an
19874
+ * `index.ts` file was used to re-export everything. Having had file names that were
19875
+ * importing from `instructions' directly (not the from the sub file or the `index.ts`
19876
+ * file) caused strange CI issues. `index.ts` had to be renamed to `all.ts` for this
19877
+ * to work.
19878
+ *
19879
+ * Jira Issue = FW-1184
20974
19880
  */
19881
+
20975
19882
  /**
20976
19883
  * Resolves the providers which are defined in the DirectiveDef.
20977
19884
  *
@@ -21254,13 +20161,6 @@ function ɵɵProvidersFeature(providers, viewProviders = []) {
21254
20161
  };
21255
20162
  }
21256
20163
 
21257
- /**
21258
- * @license
21259
- * Copyright Google LLC All Rights Reserved.
21260
- *
21261
- * Use of this source code is governed by an MIT-style license that can be
21262
- * found in the LICENSE file at https://angular.io/license
21263
- */
21264
20164
  /**
21265
20165
  * Represents an instance of an `NgModule` created by an `NgModuleFactory`.
21266
20166
  * Provides access to the `NgModule` instance and related objects.
@@ -21283,13 +20183,6 @@ class NgModuleRef$1 {
21283
20183
  class NgModuleFactory$1 {
21284
20184
  }
21285
20185
 
21286
- /**
21287
- * @license
21288
- * Copyright Google LLC All Rights Reserved.
21289
- *
21290
- * Use of this source code is governed by an MIT-style license that can be
21291
- * found in the LICENSE file at https://angular.io/license
21292
- */
21293
20186
  /**
21294
20187
  * Returns a new NgModuleRef instance based on the NgModule class and parent injector provided.
21295
20188
  *
@@ -21402,13 +20295,6 @@ function createEnvironmentInjector(providers, parent, debugName = null) {
21402
20295
  return adapter.injector;
21403
20296
  }
21404
20297
 
21405
- /**
21406
- * @license
21407
- * Copyright Google LLC All Rights Reserved.
21408
- *
21409
- * Use of this source code is governed by an MIT-style license that can be
21410
- * found in the LICENSE file at https://angular.io/license
21411
- */
21412
20298
  /**
21413
20299
  * A service used by the framework to create instances of standalone injectors. Those injectors are
21414
20300
  * created on demand in case of dynamic component instantiation and contain ambient providers
@@ -21467,13 +20353,6 @@ function ɵɵStandaloneFeature(definition) {
21467
20353
  };
21468
20354
  }
21469
20355
 
21470
- /**
21471
- * @license
21472
- * Copyright Google LLC All Rights Reserved.
21473
- *
21474
- * Use of this source code is governed by an MIT-style license that can be
21475
- * found in the LICENSE file at https://angular.io/license
21476
- */
21477
20356
  /**
21478
20357
  * Retrieves the component instance associated with a given DOM element.
21479
20358
  *
@@ -21851,13 +20730,6 @@ function assertDomElement(value) {
21851
20730
  }
21852
20731
  }
21853
20732
 
21854
- /**
21855
- * @license
21856
- * Copyright Google LLC All Rights Reserved.
21857
- *
21858
- * Use of this source code is governed by an MIT-style license that can be
21859
- * found in the LICENSE file at https://angular.io/license
21860
- */
21861
20733
  /**
21862
20734
  * Adds decorator, constructor, and property metadata to a given type via static metadata fields
21863
20735
  * on the type.
@@ -21899,13 +20771,6 @@ function setClassMetadata(type, decorators, ctorParameters, propDecorators) {
21899
20771
  });
21900
20772
  }
21901
20773
 
21902
- /**
21903
- * @license
21904
- * Copyright Google LLC All Rights Reserved.
21905
- *
21906
- * Use of this source code is governed by an MIT-style license that can be
21907
- * found in the LICENSE file at https://angular.io/license
21908
- */
21909
20774
  /**
21910
20775
  * Bindings for pure functions are stored after regular bindings.
21911
20776
  *
@@ -22247,13 +21112,6 @@ function pureFunctionVInternal(lView, bindingRoot, slotOffset, pureFn, exps, thi
22247
21112
  getPureFunctionReturnValue(lView, bindingIndex);
22248
21113
  }
22249
21114
 
22250
- /**
22251
- * @license
22252
- * Copyright Google LLC All Rights Reserved.
22253
- *
22254
- * Use of this source code is governed by an MIT-style license that can be
22255
- * found in the LICENSE file at https://angular.io/license
22256
- */
22257
21115
  /**
22258
21116
  * Create a pipe.
22259
21117
  *
@@ -22443,13 +21301,7 @@ function isPure(lView, index) {
22443
21301
  return lView[TVIEW].data[index].pure;
22444
21302
  }
22445
21303
 
22446
- /**
22447
- * @license
22448
- * Copyright Google LLC All Rights Reserved.
22449
- *
22450
- * Use of this source code is governed by an MIT-style license that can be
22451
- * found in the LICENSE file at https://angular.io/license
22452
- */
21304
+ /// <reference types="rxjs" />
22453
21305
  class EventEmitter_ extends Subject {
22454
21306
  constructor(isAsync = false) {
22455
21307
  super();
@@ -22495,13 +21347,6 @@ function _wrapInTimeout(fn) {
22495
21347
  */
22496
21348
  const EventEmitter = EventEmitter_;
22497
21349
 
22498
- /**
22499
- * @license
22500
- * Copyright Google LLC All Rights Reserved.
22501
- *
22502
- * Use of this source code is governed by an MIT-style license that can be
22503
- * found in the LICENSE file at https://angular.io/license
22504
- */
22505
21350
  function symbolIterator() {
22506
21351
  return this._results[getSymbolIterator()]();
22507
21352
  }
@@ -22662,13 +21507,6 @@ class QueryList {
22662
21507
  }
22663
21508
  Symbol.iterator;
22664
21509
 
22665
- /**
22666
- * @license
22667
- * Copyright Google LLC All Rights Reserved.
22668
- *
22669
- * Use of this source code is governed by an MIT-style license that can be
22670
- * found in the LICENSE file at https://angular.io/license
22671
- */
22672
21510
  /**
22673
21511
  * Represents an embedded template that can be used to instantiate embedded views.
22674
21512
  * To instantiate embedded views based on a template, use the `ViewContainerRef`
@@ -22741,13 +21579,6 @@ function createTemplateRef(hostTNode, hostLView) {
22741
21579
  return null;
22742
21580
  }
22743
21581
 
22744
- /**
22745
- * @license
22746
- * Copyright Google LLC All Rights Reserved.
22747
- *
22748
- * Use of this source code is governed by an MIT-style license that can be
22749
- * found in the LICENSE file at https://angular.io/license
22750
- */
22751
21582
  /**
22752
21583
  * Represents a container where one or more views can be attached to a component.
22753
21584
  *
@@ -23040,13 +21871,6 @@ function createContainerRef(hostTNode, hostLView) {
23040
21871
  return new R3ViewContainerRef(lContainer, hostTNode, hostLView);
23041
21872
  }
23042
21873
 
23043
- /**
23044
- * @license
23045
- * Copyright Google LLC All Rights Reserved.
23046
- *
23047
- * Use of this source code is governed by an MIT-style license that can be
23048
- * found in the LICENSE file at https://angular.io/license
23049
- */
23050
21874
  class LQuery_ {
23051
21875
  constructor(queryList) {
23052
21876
  this.queryList = queryList;
@@ -23504,13 +22328,6 @@ function getTQuery(tView, index) {
23504
22328
  return tView.queries.getByIndex(index);
23505
22329
  }
23506
22330
 
23507
- /**
23508
- * @license
23509
- * Copyright Google LLC All Rights Reserved.
23510
- *
23511
- * Use of this source code is governed by an MIT-style license that can be
23512
- * found in the LICENSE file at https://angular.io/license
23513
- */
23514
22331
  /**
23515
22332
  * Retrieves `TemplateRef` instance from `Injector` when a local reference is placed on the
23516
22333
  * `<ng-template>` element.
@@ -23521,21 +22338,6 @@ function ɵɵtemplateRefExtractor(tNode, lView) {
23521
22338
  return createTemplateRef(tNode, lView);
23522
22339
  }
23523
22340
 
23524
- /**
23525
- * @license
23526
- * Copyright Google LLC All Rights Reserved.
23527
- *
23528
- * Use of this source code is governed by an MIT-style license that can be
23529
- * found in the LICENSE file at https://angular.io/license
23530
- */
23531
-
23532
- /**
23533
- * @license
23534
- * Copyright Google LLC All Rights Reserved.
23535
- *
23536
- * Use of this source code is governed by an MIT-style license that can be
23537
- * found in the LICENSE file at https://angular.io/license
23538
- */
23539
22341
  /**
23540
22342
  * A mapping of the @angular/core API surface used in generated expressions to the actual symbols.
23541
22343
  *
@@ -23694,24 +22496,10 @@ const angularCoreEnv = (() => ({
23694
22496
  'resolveForwardRef': resolveForwardRef,
23695
22497
  }))();
23696
22498
 
23697
- /**
23698
- * @license
23699
- * Copyright Google LLC All Rights Reserved.
23700
- *
23701
- * Use of this source code is governed by an MIT-style license that can be
23702
- * found in the LICENSE file at https://angular.io/license
23703
- */
23704
22499
  function patchModuleCompilation() {
23705
22500
  // Does nothing, but exists as a target for patching.
23706
22501
  }
23707
22502
 
23708
- /**
23709
- * @license
23710
- * Copyright Google LLC All Rights Reserved.
23711
- *
23712
- * Use of this source code is governed by an MIT-style license that can be
23713
- * found in the LICENSE file at https://angular.io/license
23714
- */
23715
22503
  function isModuleWithProviders$1(value) {
23716
22504
  return value.ngModule !== undefined;
23717
22505
  }
@@ -23719,13 +22507,6 @@ function isNgModule$1(value) {
23719
22507
  return !!getNgModuleDef(value);
23720
22508
  }
23721
22509
 
23722
- /**
23723
- * @license
23724
- * Copyright Google LLC All Rights Reserved.
23725
- *
23726
- * Use of this source code is governed by an MIT-style license that can be
23727
- * found in the LICENSE file at https://angular.io/license
23728
- */
23729
22510
  const moduleQueue = [];
23730
22511
  /**
23731
22512
  * Enqueues moduleDef to be checked later to see if scope can be set on its
@@ -24247,13 +23028,6 @@ function expandModuleWithProviders(value) {
24247
23028
  return value;
24248
23029
  }
24249
23030
 
24250
- /**
24251
- * @license
24252
- * Copyright Google LLC All Rights Reserved.
24253
- *
24254
- * Use of this source code is governed by an MIT-style license that can be
24255
- * found in the LICENSE file at https://angular.io/license
24256
- */
24257
23031
  let _nextReferenceId = 0;
24258
23032
  class MetadataOverrider {
24259
23033
  constructor() {
@@ -24375,13 +23149,6 @@ function _valueProps(obj) {
24375
23149
  return props;
24376
23150
  }
24377
23151
 
24378
- /**
24379
- * @license
24380
- * Copyright Google LLC All Rights Reserved.
24381
- *
24382
- * Use of this source code is governed by an MIT-style license that can be
24383
- * found in the LICENSE file at https://angular.io/license
24384
- */
24385
23152
  const reflection = new ɵReflectionCapabilities();
24386
23153
  /**
24387
23154
  * Allows to override ivy metadata for tests (via the `TestBed`).
@@ -25300,13 +24067,7 @@ class R3TestCompiler {
25300
24067
  }
25301
24068
  }
25302
24069
 
25303
- /**
25304
- * @license
25305
- * Copyright Google LLC All Rights Reserved.
25306
- *
25307
- * Use of this source code is governed by an MIT-style license that can be
25308
- * found in the LICENSE file at https://angular.io/license
25309
- */
24070
+ // The formatter and CI disagree on how this import statement should be formatted. Both try to keep
25310
24071
  let _nextRootElementId = 0;
25311
24072
  /**
25312
24073
  * Returns a singleton of the `TestBed` class.
@@ -25824,11 +24585,9 @@ function withModule(moduleDef, fn) {
25824
24585
  }
25825
24586
 
25826
24587
  /**
25827
- * @license
25828
- * Copyright Google LLC All Rights Reserved.
25829
- *
25830
- * Use of this source code is governed by an MIT-style license that can be
25831
- * found in the LICENSE file at https://angular.io/license
24588
+ * Public Test Library for unit testing Angular applications. Assumes that you are running
24589
+ * with Jasmine, Mocha, or a similar framework which exports a beforeEach function and
24590
+ * allows tests to be asynchronous by either returning a promise or using a 'done' parameter.
25832
24591
  */
25833
24592
  const _global = (typeof window === 'undefined' ? global : window);
25834
24593
  // Reset the test providers and the fake async zone before each test.
@@ -25862,29 +24621,15 @@ function getCleanupHook(expectedTeardownValue) {
25862
24621
  const __core_private_testing_placeholder__ = '';
25863
24622
 
25864
24623
  /**
25865
- * @license
25866
- * Copyright Google LLC All Rights Reserved.
25867
- *
25868
- * Use of this source code is governed by an MIT-style license that can be
25869
- * found in the LICENSE file at https://angular.io/license
24624
+ * @module
24625
+ * @description
24626
+ * Entry point for all public APIs of the core/testing package.
25870
24627
  */
25871
24628
 
25872
- /**
25873
- * @license
25874
- * Copyright Google LLC All Rights Reserved.
25875
- *
25876
- * Use of this source code is governed by an MIT-style license that can be
25877
- * found in the LICENSE file at https://angular.io/license
25878
- */
24629
+ /// <reference types="jasmine" />
25879
24630
  // This file only reexports content of the `src` folder. Keep it that way.
25880
24631
 
25881
- /**
25882
- * @license
25883
- * Copyright Google LLC All Rights Reserved.
25884
- *
25885
- * Use of this source code is governed by an MIT-style license that can be
25886
- * found in the LICENSE file at https://angular.io/license
25887
- */
24632
+ // This file is not used to build this module. It is only used during editing
25888
24633
 
25889
24634
  /**
25890
24635
  * Generated bundle index. Do not edit.