@angular/common 15.0.0-next.4 → 15.0.0-next.5

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 (63) hide show
  1. package/esm2020/http/src/client.mjs +3 -3
  2. package/esm2020/http/src/interceptor.mjs +3 -3
  3. package/esm2020/http/src/jsonp.mjs +6 -6
  4. package/esm2020/http/src/module.mjs +15 -15
  5. package/esm2020/http/src/xhr.mjs +3 -3
  6. package/esm2020/http/src/xsrf.mjs +6 -6
  7. package/esm2020/http/testing/src/backend.mjs +3 -3
  8. package/esm2020/http/testing/src/module.mjs +4 -4
  9. package/esm2020/src/common_module.mjs +4 -4
  10. package/esm2020/src/directives/ng_class.mjs +3 -3
  11. package/esm2020/src/directives/ng_component_outlet.mjs +3 -3
  12. package/esm2020/src/directives/ng_for_of.mjs +3 -3
  13. package/esm2020/src/directives/ng_if.mjs +3 -3
  14. package/esm2020/src/directives/ng_optimized_image/image_loaders/cloudflare_loader.mjs +1 -5
  15. package/esm2020/src/directives/ng_optimized_image/image_loaders/cloudinary_loader.mjs +1 -5
  16. package/esm2020/src/directives/ng_optimized_image/image_loaders/image_loader.mjs +2 -6
  17. package/esm2020/src/directives/ng_optimized_image/image_loaders/imagekit_loader.mjs +1 -5
  18. package/esm2020/src/directives/ng_optimized_image/image_loaders/imgix_loader.mjs +1 -5
  19. package/esm2020/src/directives/ng_optimized_image/lcp_image_observer.mjs +3 -3
  20. package/esm2020/src/directives/ng_optimized_image/ng_optimized_image.mjs +3 -3
  21. package/esm2020/src/directives/ng_optimized_image/preconnect_link_checker.mjs +9 -10
  22. package/esm2020/src/directives/ng_plural.mjs +6 -6
  23. package/esm2020/src/directives/ng_style.mjs +3 -3
  24. package/esm2020/src/directives/ng_switch.mjs +9 -9
  25. package/esm2020/src/directives/ng_template_outlet.mjs +3 -3
  26. package/esm2020/src/errors.mjs +1 -1
  27. package/esm2020/src/i18n/localization.mjs +6 -6
  28. package/esm2020/src/location/hash_location_strategy.mjs +3 -3
  29. package/esm2020/src/location/location.mjs +3 -3
  30. package/esm2020/src/location/location_strategy.mjs +6 -6
  31. package/esm2020/src/location/platform_location.mjs +6 -6
  32. package/esm2020/src/pipes/async_pipe.mjs +3 -3
  33. package/esm2020/src/pipes/case_conversion_pipes.mjs +9 -9
  34. package/esm2020/src/pipes/date_pipe.mjs +3 -3
  35. package/esm2020/src/pipes/i18n_plural_pipe.mjs +5 -5
  36. package/esm2020/src/pipes/i18n_select_pipe.mjs +3 -3
  37. package/esm2020/src/pipes/json_pipe.mjs +3 -3
  38. package/esm2020/src/pipes/keyvalue_pipe.mjs +3 -3
  39. package/esm2020/src/pipes/number_pipe.mjs +9 -9
  40. package/esm2020/src/pipes/slice_pipe.mjs +3 -3
  41. package/esm2020/src/version.mjs +1 -1
  42. package/esm2020/testing/src/location_mock.mjs +3 -3
  43. package/esm2020/testing/src/mock_location_strategy.mjs +3 -3
  44. package/esm2020/testing/src/mock_platform_location.mjs +3 -3
  45. package/esm2020/upgrade/src/location_upgrade_module.mjs +4 -4
  46. package/fesm2015/common.mjs +274 -294
  47. package/fesm2015/common.mjs.map +1 -1
  48. package/fesm2015/http/testing.mjs +8 -8
  49. package/fesm2015/http.mjs +37 -37
  50. package/fesm2015/testing.mjs +10 -10
  51. package/fesm2015/upgrade.mjs +5 -5
  52. package/fesm2020/common.mjs +273 -293
  53. package/fesm2020/common.mjs.map +1 -1
  54. package/fesm2020/http/testing.mjs +8 -8
  55. package/fesm2020/http.mjs +37 -37
  56. package/fesm2020/testing.mjs +10 -10
  57. package/fesm2020/upgrade.mjs +5 -5
  58. package/http/index.d.ts +1 -1
  59. package/http/testing/index.d.ts +1 -1
  60. package/index.d.ts +9 -33
  61. package/package.json +2 -2
  62. package/testing/index.d.ts +1 -1
  63. package/upgrade/index.d.ts +1 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v15.0.0-next.4
2
+ * @license Angular v15.0.0-next.5
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -87,9 +87,9 @@ class PlatformLocation {
87
87
  throw new Error('Not implemented');
88
88
  }
89
89
  }
90
- PlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: PlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
91
- PlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: PlatformLocation, providedIn: 'platform', useFactory: useBrowserPlatformLocation });
92
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: PlatformLocation, decorators: [{
90
+ PlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: PlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
91
+ PlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: PlatformLocation, providedIn: 'platform', useFactory: useBrowserPlatformLocation });
92
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: PlatformLocation, decorators: [{
93
93
  type: Injectable,
94
94
  args: [{
95
95
  providedIn: 'platform',
@@ -190,9 +190,9 @@ class BrowserPlatformLocation extends PlatformLocation {
190
190
  return this._history.state;
191
191
  }
192
192
  }
193
- BrowserPlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: BrowserPlatformLocation, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
194
- BrowserPlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: BrowserPlatformLocation, providedIn: 'platform', useFactory: createBrowserPlatformLocation });
195
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: BrowserPlatformLocation, decorators: [{
193
+ BrowserPlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: BrowserPlatformLocation, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
194
+ BrowserPlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: BrowserPlatformLocation, providedIn: 'platform', useFactory: createBrowserPlatformLocation });
195
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: BrowserPlatformLocation, decorators: [{
196
196
  type: Injectable,
197
197
  args: [{
198
198
  providedIn: 'platform',
@@ -311,9 +311,9 @@ class LocationStrategy {
311
311
  throw new Error('Not implemented');
312
312
  }
313
313
  }
314
- LocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
315
- LocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LocationStrategy, providedIn: 'root', useFactory: () => inject(PathLocationStrategy) });
316
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LocationStrategy, decorators: [{
314
+ LocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: LocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
315
+ LocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: LocationStrategy, providedIn: 'root', useFactory: () => inject(PathLocationStrategy) });
316
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: LocationStrategy, decorators: [{
317
317
  type: Injectable,
318
318
  args: [{ providedIn: 'root', useFactory: () => inject(PathLocationStrategy) }]
319
319
  }] });
@@ -421,9 +421,9 @@ class PathLocationStrategy extends LocationStrategy {
421
421
  this._platformLocation.historyGo?.(relativePosition);
422
422
  }
423
423
  }
424
- PathLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: PathLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
425
- PathLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: PathLocationStrategy, providedIn: 'root' });
426
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: PathLocationStrategy, decorators: [{
424
+ PathLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: PathLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
425
+ PathLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: PathLocationStrategy, providedIn: 'root' });
426
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: PathLocationStrategy, decorators: [{
427
427
  type: Injectable,
428
428
  args: [{ providedIn: 'root' }]
429
429
  }], ctorParameters: function () { return [{ type: PlatformLocation }, { type: undefined, decorators: [{
@@ -519,9 +519,9 @@ class HashLocationStrategy extends LocationStrategy {
519
519
  this._platformLocation.historyGo?.(relativePosition);
520
520
  }
521
521
  }
522
- HashLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: HashLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
523
- HashLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: HashLocationStrategy });
524
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: HashLocationStrategy, decorators: [{
522
+ HashLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: HashLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
523
+ HashLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: HashLocationStrategy });
524
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: HashLocationStrategy, decorators: [{
525
525
  type: Injectable
526
526
  }], ctorParameters: function () { return [{ type: PlatformLocation }, { type: undefined, decorators: [{
527
527
  type: Optional
@@ -772,9 +772,9 @@ Location.joinWithSlash = joinWithSlash;
772
772
  * @returns The URL string, modified if needed.
773
773
  */
774
774
  Location.stripTrailingSlash = stripTrailingSlash;
775
- Location.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: Location, deps: [{ token: LocationStrategy }], target: i0.ɵɵFactoryTarget.Injectable });
776
- Location.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: Location, providedIn: 'root', useFactory: createLocation });
777
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: Location, decorators: [{
775
+ Location.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: Location, deps: [{ token: LocationStrategy }], target: i0.ɵɵFactoryTarget.Injectable });
776
+ Location.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: Location, providedIn: 'root', useFactory: createLocation });
777
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: Location, decorators: [{
778
778
  type: Injectable,
779
779
  args: [{
780
780
  providedIn: 'root',
@@ -2590,9 +2590,9 @@ function parseIntAutoRadix(text) {
2590
2590
  */
2591
2591
  class NgLocalization {
2592
2592
  }
2593
- NgLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgLocalization, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2594
- NgLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgLocalization, providedIn: 'root', useFactory: (locale) => new NgLocaleLocalization(locale), deps: [{ token: LOCALE_ID }] });
2595
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgLocalization, decorators: [{
2593
+ NgLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: NgLocalization, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2594
+ NgLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: NgLocalization, providedIn: 'root', useFactory: (locale) => new NgLocaleLocalization(locale), deps: [{ token: LOCALE_ID }] });
2595
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: NgLocalization, decorators: [{
2596
2596
  type: Injectable,
2597
2597
  args: [{
2598
2598
  providedIn: 'root',
@@ -2647,9 +2647,9 @@ class NgLocaleLocalization extends NgLocalization {
2647
2647
  }
2648
2648
  }
2649
2649
  }
2650
- NgLocaleLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgLocaleLocalization, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
2651
- NgLocaleLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgLocaleLocalization });
2652
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgLocaleLocalization, decorators: [{
2650
+ NgLocaleLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: NgLocaleLocalization, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
2651
+ NgLocaleLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: NgLocaleLocalization });
2652
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: NgLocaleLocalization, decorators: [{
2653
2653
  type: Injectable
2654
2654
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
2655
2655
  type: Inject,
@@ -2842,9 +2842,9 @@ class NgClass {
2842
2842
  }
2843
2843
  }
2844
2844
  }
2845
- NgClass.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgClass, deps: [{ token: i0.IterableDiffers }, { token: i0.KeyValueDiffers }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
2846
- NgClass.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0-next.4", type: NgClass, isStandalone: true, selector: "[ngClass]", inputs: { klass: ["class", "klass"], ngClass: "ngClass" }, ngImport: i0 });
2847
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgClass, decorators: [{
2845
+ NgClass.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: NgClass, deps: [{ token: i0.IterableDiffers }, { token: i0.KeyValueDiffers }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
2846
+ NgClass.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0-next.5", type: NgClass, isStandalone: true, selector: "[ngClass]", inputs: { klass: ["class", "klass"], ngClass: "ngClass" }, ngImport: i0 });
2847
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: NgClass, decorators: [{
2848
2848
  type: Directive,
2849
2849
  args: [{
2850
2850
  selector: '[ngClass]',
@@ -2963,9 +2963,9 @@ class NgComponentOutlet {
2963
2963
  this._moduleRef.destroy();
2964
2964
  }
2965
2965
  }
2966
- NgComponentOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgComponentOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
2967
- NgComponentOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0-next.4", type: NgComponentOutlet, isStandalone: true, selector: "[ngComponentOutlet]", inputs: { ngComponentOutlet: "ngComponentOutlet", ngComponentOutletInjector: "ngComponentOutletInjector", ngComponentOutletContent: "ngComponentOutletContent", ngComponentOutletNgModule: "ngComponentOutletNgModule", ngComponentOutletNgModuleFactory: "ngComponentOutletNgModuleFactory" }, usesOnChanges: true, ngImport: i0 });
2968
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgComponentOutlet, decorators: [{
2966
+ NgComponentOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: NgComponentOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
2967
+ NgComponentOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0-next.5", type: NgComponentOutlet, isStandalone: true, selector: "[ngComponentOutlet]", inputs: { ngComponentOutlet: "ngComponentOutlet", ngComponentOutletInjector: "ngComponentOutletInjector", ngComponentOutletContent: "ngComponentOutletContent", ngComponentOutletNgModule: "ngComponentOutletNgModule", ngComponentOutletNgModuleFactory: "ngComponentOutletNgModuleFactory" }, usesOnChanges: true, ngImport: i0 });
2968
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: NgComponentOutlet, decorators: [{
2969
2969
  type: Directive,
2970
2970
  args: [{
2971
2971
  selector: '[ngComponentOutlet]',
@@ -3255,9 +3255,9 @@ class NgForOf {
3255
3255
  return true;
3256
3256
  }
3257
3257
  }
3258
- NgForOf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgForOf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive });
3259
- NgForOf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0-next.4", type: NgForOf, isStandalone: true, selector: "[ngFor][ngForOf]", inputs: { ngForOf: "ngForOf", ngForTrackBy: "ngForTrackBy", ngForTemplate: "ngForTemplate" }, ngImport: i0 });
3260
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgForOf, decorators: [{
3258
+ NgForOf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: NgForOf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive });
3259
+ NgForOf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0-next.5", type: NgForOf, isStandalone: true, selector: "[ngFor][ngForOf]", inputs: { ngForOf: "ngForOf", ngForTrackBy: "ngForTrackBy", ngForTemplate: "ngForTemplate" }, ngImport: i0 });
3260
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: NgForOf, decorators: [{
3261
3261
  type: Directive,
3262
3262
  args: [{
3263
3263
  selector: '[ngFor][ngForOf]',
@@ -3490,9 +3490,9 @@ class NgIf {
3490
3490
  return true;
3491
3491
  }
3492
3492
  }
3493
- NgIf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgIf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
3494
- NgIf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0-next.4", type: NgIf, isStandalone: true, selector: "[ngIf]", inputs: { ngIf: "ngIf", ngIfThen: "ngIfThen", ngIfElse: "ngIfElse" }, ngImport: i0 });
3495
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgIf, decorators: [{
3493
+ NgIf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: NgIf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
3494
+ NgIf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0-next.5", type: NgIf, isStandalone: true, selector: "[ngIf]", inputs: { ngIf: "ngIf", ngIfThen: "ngIfThen", ngIfElse: "ngIfElse" }, ngImport: i0 });
3495
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: NgIf, decorators: [{
3496
3496
  type: Directive,
3497
3497
  args: [{
3498
3498
  selector: '[ngIf]',
@@ -3663,9 +3663,9 @@ class NgSwitch {
3663
3663
  }
3664
3664
  }
3665
3665
  }
3666
- NgSwitch.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgSwitch, deps: [], target: i0.ɵɵFactoryTarget.Directive });
3667
- NgSwitch.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0-next.4", type: NgSwitch, isStandalone: true, selector: "[ngSwitch]", inputs: { ngSwitch: "ngSwitch" }, ngImport: i0 });
3668
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgSwitch, decorators: [{
3666
+ NgSwitch.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: NgSwitch, deps: [], target: i0.ɵɵFactoryTarget.Directive });
3667
+ NgSwitch.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0-next.5", type: NgSwitch, isStandalone: true, selector: "[ngSwitch]", inputs: { ngSwitch: "ngSwitch" }, ngImport: i0 });
3668
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: NgSwitch, decorators: [{
3669
3669
  type: Directive,
3670
3670
  args: [{
3671
3671
  selector: '[ngSwitch]',
@@ -3724,9 +3724,9 @@ class NgSwitchCase {
3724
3724
  this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase));
3725
3725
  }
3726
3726
  }
3727
- NgSwitchCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgSwitchCase, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
3728
- NgSwitchCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0-next.4", type: NgSwitchCase, isStandalone: true, selector: "[ngSwitchCase]", inputs: { ngSwitchCase: "ngSwitchCase" }, ngImport: i0 });
3729
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgSwitchCase, decorators: [{
3727
+ NgSwitchCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: NgSwitchCase, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
3728
+ NgSwitchCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0-next.5", type: NgSwitchCase, isStandalone: true, selector: "[ngSwitchCase]", inputs: { ngSwitchCase: "ngSwitchCase" }, ngImport: i0 });
3729
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: NgSwitchCase, decorators: [{
3730
3730
  type: Directive,
3731
3731
  args: [{
3732
3732
  selector: '[ngSwitchCase]',
@@ -3761,9 +3761,9 @@ class NgSwitchDefault {
3761
3761
  ngSwitch._addDefault(new SwitchView(viewContainer, templateRef));
3762
3762
  }
3763
3763
  }
3764
- NgSwitchDefault.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgSwitchDefault, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
3765
- NgSwitchDefault.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0-next.4", type: NgSwitchDefault, isStandalone: true, selector: "[ngSwitchDefault]", ngImport: i0 });
3766
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgSwitchDefault, decorators: [{
3764
+ NgSwitchDefault.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: NgSwitchDefault, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
3765
+ NgSwitchDefault.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0-next.5", type: NgSwitchDefault, isStandalone: true, selector: "[ngSwitchDefault]", ngImport: i0 });
3766
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: NgSwitchDefault, decorators: [{
3767
3767
  type: Directive,
3768
3768
  args: [{
3769
3769
  selector: '[ngSwitchDefault]',
@@ -3847,9 +3847,9 @@ class NgPlural {
3847
3847
  }
3848
3848
  }
3849
3849
  }
3850
- NgPlural.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgPlural, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Directive });
3851
- NgPlural.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0-next.4", type: NgPlural, isStandalone: true, selector: "[ngPlural]", inputs: { ngPlural: "ngPlural" }, ngImport: i0 });
3852
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgPlural, decorators: [{
3850
+ NgPlural.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: NgPlural, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Directive });
3851
+ NgPlural.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0-next.5", type: NgPlural, isStandalone: true, selector: "[ngPlural]", inputs: { ngPlural: "ngPlural" }, ngImport: i0 });
3852
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: NgPlural, decorators: [{
3853
3853
  type: Directive,
3854
3854
  args: [{
3855
3855
  selector: '[ngPlural]',
@@ -3885,9 +3885,9 @@ class NgPluralCase {
3885
3885
  ngPlural.addCase(isANumber ? `=${value}` : value, new SwitchView(viewContainer, template));
3886
3886
  }
3887
3887
  }
3888
- NgPluralCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgPluralCase, deps: [{ token: 'ngPluralCase', attribute: true }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: NgPlural, host: true }], target: i0.ɵɵFactoryTarget.Directive });
3889
- NgPluralCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0-next.4", type: NgPluralCase, isStandalone: true, selector: "[ngPluralCase]", ngImport: i0 });
3890
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgPluralCase, decorators: [{
3888
+ NgPluralCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: NgPluralCase, deps: [{ token: 'ngPluralCase', attribute: true }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: NgPlural, host: true }], target: i0.ɵɵFactoryTarget.Directive });
3889
+ NgPluralCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0-next.5", type: NgPluralCase, isStandalone: true, selector: "[ngPluralCase]", ngImport: i0 });
3890
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: NgPluralCase, decorators: [{
3891
3891
  type: Directive,
3892
3892
  args: [{
3893
3893
  selector: '[ngPluralCase]',
@@ -3981,9 +3981,9 @@ class NgStyle {
3981
3981
  changes.forEachChangedItem((record) => this._setStyle(record.key, record.currentValue));
3982
3982
  }
3983
3983
  }
3984
- NgStyle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgStyle, deps: [{ token: i0.ElementRef }, { token: i0.KeyValueDiffers }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
3985
- NgStyle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0-next.4", type: NgStyle, isStandalone: true, selector: "[ngStyle]", inputs: { ngStyle: "ngStyle" }, ngImport: i0 });
3986
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgStyle, decorators: [{
3984
+ NgStyle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: NgStyle, deps: [{ token: i0.ElementRef }, { token: i0.KeyValueDiffers }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
3985
+ NgStyle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0-next.5", type: NgStyle, isStandalone: true, selector: "[ngStyle]", inputs: { ngStyle: "ngStyle" }, ngImport: i0 });
3986
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: NgStyle, decorators: [{
3987
3987
  type: Directive,
3988
3988
  args: [{
3989
3989
  selector: '[ngStyle]',
@@ -4063,9 +4063,9 @@ class NgTemplateOutlet {
4063
4063
  }
4064
4064
  }
4065
4065
  }
4066
- NgTemplateOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgTemplateOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
4067
- NgTemplateOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0-next.4", type: NgTemplateOutlet, isStandalone: true, selector: "[ngTemplateOutlet]", inputs: { ngTemplateOutletContext: "ngTemplateOutletContext", ngTemplateOutlet: "ngTemplateOutlet", ngTemplateOutletInjector: "ngTemplateOutletInjector" }, usesOnChanges: true, ngImport: i0 });
4068
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgTemplateOutlet, decorators: [{
4066
+ NgTemplateOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: NgTemplateOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
4067
+ NgTemplateOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0-next.5", type: NgTemplateOutlet, isStandalone: true, selector: "[ngTemplateOutlet]", inputs: { ngTemplateOutletContext: "ngTemplateOutletContext", ngTemplateOutlet: "ngTemplateOutlet", ngTemplateOutletInjector: "ngTemplateOutletInjector" }, usesOnChanges: true, ngImport: i0 });
4068
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: NgTemplateOutlet, decorators: [{
4069
4069
  type: Directive,
4070
4070
  args: [{
4071
4071
  selector: '[ngTemplateOutlet]',
@@ -4237,9 +4237,9 @@ class AsyncPipe {
4237
4237
  }
4238
4238
  }
4239
4239
  }
4240
- AsyncPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: AsyncPipe, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Pipe });
4241
- AsyncPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.4", ngImport: i0, type: AsyncPipe, isStandalone: true, name: "async", pure: false });
4242
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: AsyncPipe, decorators: [{
4240
+ AsyncPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: AsyncPipe, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Pipe });
4241
+ AsyncPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.5", ngImport: i0, type: AsyncPipe, isStandalone: true, name: "async", pure: false });
4242
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: AsyncPipe, decorators: [{
4243
4243
  type: Pipe,
4244
4244
  args: [{
4245
4245
  name: 'async',
@@ -4280,9 +4280,9 @@ class LowerCasePipe {
4280
4280
  return value.toLowerCase();
4281
4281
  }
4282
4282
  }
4283
- LowerCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LowerCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4284
- LowerCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.4", ngImport: i0, type: LowerCasePipe, isStandalone: true, name: "lowercase" });
4285
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LowerCasePipe, decorators: [{
4283
+ LowerCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: LowerCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4284
+ LowerCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.5", ngImport: i0, type: LowerCasePipe, isStandalone: true, name: "lowercase" });
4285
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: LowerCasePipe, decorators: [{
4286
4286
  type: Pipe,
4287
4287
  args: [{
4288
4288
  name: 'lowercase',
@@ -4325,9 +4325,9 @@ class TitleCasePipe {
4325
4325
  return value.replace(unicodeWordMatch, (txt => txt[0].toUpperCase() + txt.slice(1).toLowerCase()));
4326
4326
  }
4327
4327
  }
4328
- TitleCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: TitleCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4329
- TitleCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.4", ngImport: i0, type: TitleCasePipe, isStandalone: true, name: "titlecase" });
4330
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: TitleCasePipe, decorators: [{
4328
+ TitleCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: TitleCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4329
+ TitleCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.5", ngImport: i0, type: TitleCasePipe, isStandalone: true, name: "titlecase" });
4330
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: TitleCasePipe, decorators: [{
4331
4331
  type: Pipe,
4332
4332
  args: [{
4333
4333
  name: 'titlecase',
@@ -4352,9 +4352,9 @@ class UpperCasePipe {
4352
4352
  return value.toUpperCase();
4353
4353
  }
4354
4354
  }
4355
- UpperCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UpperCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4356
- UpperCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.4", ngImport: i0, type: UpperCasePipe, isStandalone: true, name: "uppercase" });
4357
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UpperCasePipe, decorators: [{
4355
+ UpperCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: UpperCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4356
+ UpperCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.5", ngImport: i0, type: UpperCasePipe, isStandalone: true, name: "uppercase" });
4357
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: UpperCasePipe, decorators: [{
4358
4358
  type: Pipe,
4359
4359
  args: [{
4360
4360
  name: 'uppercase',
@@ -4549,9 +4549,9 @@ class DatePipe {
4549
4549
  }
4550
4550
  }
4551
4551
  }
4552
- DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: DatePipe, deps: [{ token: LOCALE_ID }, { token: DATE_PIPE_DEFAULT_TIMEZONE, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
4553
- DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.4", ngImport: i0, type: DatePipe, isStandalone: true, name: "date" });
4554
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: DatePipe, decorators: [{
4552
+ DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: DatePipe, deps: [{ token: LOCALE_ID }, { token: DATE_PIPE_DEFAULT_TIMEZONE, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
4553
+ DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.5", ngImport: i0, type: DatePipe, isStandalone: true, name: "date" });
4554
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: DatePipe, decorators: [{
4555
4555
  type: Pipe,
4556
4556
  args: [{
4557
4557
  name: 'date',
@@ -4597,7 +4597,7 @@ class I18nPluralPipe {
4597
4597
  /**
4598
4598
  * @param value the number to be formatted
4599
4599
  * @param pluralMap an object that mimics the ICU format, see
4600
- * http://userguide.icu-project.org/formatparse/messages.
4600
+ * https://unicode-org.github.io/icu/userguide/format_parse/messages/.
4601
4601
  * @param locale a `string` defining the locale to use (uses the current {@link LOCALE_ID} by
4602
4602
  * default).
4603
4603
  */
@@ -4611,9 +4611,9 @@ class I18nPluralPipe {
4611
4611
  return pluralMap[key].replace(_INTERPOLATION_REGEXP, value.toString());
4612
4612
  }
4613
4613
  }
4614
- I18nPluralPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: I18nPluralPipe, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Pipe });
4615
- I18nPluralPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.4", ngImport: i0, type: I18nPluralPipe, isStandalone: true, name: "i18nPlural" });
4616
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: I18nPluralPipe, decorators: [{
4614
+ I18nPluralPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: I18nPluralPipe, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Pipe });
4615
+ I18nPluralPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.5", ngImport: i0, type: I18nPluralPipe, isStandalone: true, name: "i18nPlural" });
4616
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: I18nPluralPipe, decorators: [{
4617
4617
  type: Pipe,
4618
4618
  args: [{
4619
4619
  name: 'i18nPlural',
@@ -4667,9 +4667,9 @@ class I18nSelectPipe {
4667
4667
  return '';
4668
4668
  }
4669
4669
  }
4670
- I18nSelectPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: I18nSelectPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4671
- I18nSelectPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.4", ngImport: i0, type: I18nSelectPipe, isStandalone: true, name: "i18nSelect" });
4672
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: I18nSelectPipe, decorators: [{
4670
+ I18nSelectPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: I18nSelectPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4671
+ I18nSelectPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.5", ngImport: i0, type: I18nSelectPipe, isStandalone: true, name: "i18nSelect" });
4672
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: I18nSelectPipe, decorators: [{
4673
4673
  type: Pipe,
4674
4674
  args: [{
4675
4675
  name: 'i18nSelect',
@@ -4708,9 +4708,9 @@ class JsonPipe {
4708
4708
  return JSON.stringify(value, null, 2);
4709
4709
  }
4710
4710
  }
4711
- JsonPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: JsonPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4712
- JsonPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.4", ngImport: i0, type: JsonPipe, isStandalone: true, name: "json", pure: false });
4713
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: JsonPipe, decorators: [{
4711
+ JsonPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: JsonPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4712
+ JsonPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.5", ngImport: i0, type: JsonPipe, isStandalone: true, name: "json", pure: false });
4713
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: JsonPipe, decorators: [{
4714
4714
  type: Pipe,
4715
4715
  args: [{
4716
4716
  name: 'json',
@@ -4778,9 +4778,9 @@ class KeyValuePipe {
4778
4778
  return this.keyValues;
4779
4779
  }
4780
4780
  }
4781
- KeyValuePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: KeyValuePipe, deps: [{ token: i0.KeyValueDiffers }], target: i0.ɵɵFactoryTarget.Pipe });
4782
- KeyValuePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.4", ngImport: i0, type: KeyValuePipe, isStandalone: true, name: "keyvalue", pure: false });
4783
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: KeyValuePipe, decorators: [{
4781
+ KeyValuePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: KeyValuePipe, deps: [{ token: i0.KeyValueDiffers }], target: i0.ɵɵFactoryTarget.Pipe });
4782
+ KeyValuePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.5", ngImport: i0, type: KeyValuePipe, isStandalone: true, name: "keyvalue", pure: false });
4783
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: KeyValuePipe, decorators: [{
4784
4784
  type: Pipe,
4785
4785
  args: [{
4786
4786
  name: 'keyvalue',
@@ -4913,9 +4913,9 @@ class DecimalPipe {
4913
4913
  }
4914
4914
  }
4915
4915
  }
4916
- DecimalPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: DecimalPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
4917
- DecimalPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.4", ngImport: i0, type: DecimalPipe, isStandalone: true, name: "number" });
4918
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: DecimalPipe, decorators: [{
4916
+ DecimalPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: DecimalPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
4917
+ DecimalPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.5", ngImport: i0, type: DecimalPipe, isStandalone: true, name: "number" });
4918
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: DecimalPipe, decorators: [{
4919
4919
  type: Pipe,
4920
4920
  args: [{
4921
4921
  name: 'number',
@@ -4978,9 +4978,9 @@ class PercentPipe {
4978
4978
  }
4979
4979
  }
4980
4980
  }
4981
- PercentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: PercentPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
4982
- PercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.4", ngImport: i0, type: PercentPipe, isStandalone: true, name: "percent" });
4983
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: PercentPipe, decorators: [{
4981
+ PercentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: PercentPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
4982
+ PercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.5", ngImport: i0, type: PercentPipe, isStandalone: true, name: "percent" });
4983
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: PercentPipe, decorators: [{
4984
4984
  type: Pipe,
4985
4985
  args: [{
4986
4986
  name: 'percent',
@@ -5096,9 +5096,9 @@ class CurrencyPipe {
5096
5096
  }
5097
5097
  }
5098
5098
  }
5099
- CurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: CurrencyPipe, deps: [{ token: LOCALE_ID }, { token: DEFAULT_CURRENCY_CODE }], target: i0.ɵɵFactoryTarget.Pipe });
5100
- CurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.4", ngImport: i0, type: CurrencyPipe, isStandalone: true, name: "currency" });
5101
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: CurrencyPipe, decorators: [{
5099
+ CurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: CurrencyPipe, deps: [{ token: LOCALE_ID }, { token: DEFAULT_CURRENCY_CODE }], target: i0.ɵɵFactoryTarget.Pipe });
5100
+ CurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.5", ngImport: i0, type: CurrencyPipe, isStandalone: true, name: "currency" });
5101
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: CurrencyPipe, decorators: [{
5102
5102
  type: Pipe,
5103
5103
  args: [{
5104
5104
  name: 'currency',
@@ -5183,9 +5183,9 @@ class SlicePipe {
5183
5183
  return typeof obj === 'string' || Array.isArray(obj);
5184
5184
  }
5185
5185
  }
5186
- SlicePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: SlicePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
5187
- SlicePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.4", ngImport: i0, type: SlicePipe, isStandalone: true, name: "slice", pure: false });
5188
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: SlicePipe, decorators: [{
5186
+ SlicePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: SlicePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
5187
+ SlicePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.5", ngImport: i0, type: SlicePipe, isStandalone: true, name: "slice", pure: false });
5188
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: SlicePipe, decorators: [{
5189
5189
  type: Pipe,
5190
5190
  args: [{
5191
5191
  name: 'slice',
@@ -5239,10 +5239,10 @@ const COMMON_PIPES = [
5239
5239
  */
5240
5240
  class CommonModule {
5241
5241
  }
5242
- CommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: CommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
5243
- CommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.0-next.4", ngImport: i0, type: CommonModule, imports: [NgClass, NgComponentOutlet, NgForOf, NgIf, NgTemplateOutlet, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgPlural, NgPluralCase, AsyncPipe, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePipe, DecimalPipe, PercentPipe, TitleCasePipe, CurrencyPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, KeyValuePipe], exports: [NgClass, NgComponentOutlet, NgForOf, NgIf, NgTemplateOutlet, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgPlural, NgPluralCase, AsyncPipe, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePipe, DecimalPipe, PercentPipe, TitleCasePipe, CurrencyPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, KeyValuePipe] });
5244
- CommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: CommonModule });
5245
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: CommonModule, decorators: [{
5242
+ CommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: CommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
5243
+ CommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.0-next.5", ngImport: i0, type: CommonModule, imports: [NgClass, NgComponentOutlet, NgForOf, NgIf, NgTemplateOutlet, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgPlural, NgPluralCase, AsyncPipe, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePipe, DecimalPipe, PercentPipe, TitleCasePipe, CurrencyPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, KeyValuePipe], exports: [NgClass, NgComponentOutlet, NgForOf, NgIf, NgTemplateOutlet, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgPlural, NgPluralCase, AsyncPipe, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePipe, DecimalPipe, PercentPipe, TitleCasePipe, CurrencyPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, KeyValuePipe] });
5244
+ CommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: CommonModule });
5245
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: CommonModule, decorators: [{
5246
5246
  type: NgModule,
5247
5247
  args: [{
5248
5248
  imports: [COMMON_DIRECTIVES, COMMON_PIPES],
@@ -5300,7 +5300,7 @@ function isPlatformWorkerUi(platformId) {
5300
5300
  /**
5301
5301
  * @publicApi
5302
5302
  */
5303
- const VERSION = new Version('15.0.0-next.4');
5303
+ const VERSION = new Version('15.0.0-next.5');
5304
5304
 
5305
5305
  /**
5306
5306
  * @license
@@ -5525,38 +5525,6 @@ class NullViewportScroller {
5525
5525
  class XhrFactory {
5526
5526
  }
5527
5527
 
5528
- /**
5529
- * @license
5530
- * Copyright Google LLC All Rights Reserved.
5531
- *
5532
- * Use of this source code is governed by an MIT-style license that can be
5533
- * found in the LICENSE file at https://angular.io/license
5534
- */
5535
- /**
5536
- * Asserts that the application is in development mode. Throws an error if the application is in
5537
- * production mode. This assert can be used to make sure that there is no dev-mode code invoked in
5538
- * the prod mode accidentally.
5539
- */
5540
- function assertDevMode(checkName) {
5541
- if (!ngDevMode) {
5542
- throw new ɵRuntimeError(2958 /* RuntimeErrorCode.UNEXPECTED_DEV_MODE_CHECK_IN_PROD_MODE */, `Unexpected invocation of the ${checkName} in the prod mode. ` +
5543
- `Please make sure that the prod mode is enabled for production builds.`);
5544
- }
5545
- }
5546
-
5547
- /**
5548
- * @license
5549
- * Copyright Google LLC All Rights Reserved.
5550
- *
5551
- * Use of this source code is governed by an MIT-style license that can be
5552
- * found in the LICENSE file at https://angular.io/license
5553
- */
5554
- // Assembles directive details string, useful for error messages.
5555
- function imgDirectiveDetails(ngSrc, includeNgSrc = true) {
5556
- const ngSrcInfo = includeNgSrc ? `(activated on an <img> element with the \`ngSrc="${ngSrc}"\`) ` : '';
5557
- return `The NgOptimizedImage directive ${ngSrcInfo}has detected that`;
5558
- }
5559
-
5560
5528
  /**
5561
5529
  * @license
5562
5530
  * Copyright Google LLC All Rights Reserved.
@@ -5599,138 +5567,6 @@ function normalizeSrc(src) {
5599
5567
  return src.startsWith('/') ? src.slice(1) : src;
5600
5568
  }
5601
5569
 
5602
- /**
5603
- * @license
5604
- * Copyright Google LLC All Rights Reserved.
5605
- *
5606
- * Use of this source code is governed by an MIT-style license that can be
5607
- * found in the LICENSE file at https://angular.io/license
5608
- */
5609
- // Set of origins that are always excluded from the preconnect checks.
5610
- const INTERNAL_PRECONNECT_CHECK_BLOCKLIST = new Set(['localhost', '127.0.0.1', '0.0.0.0']);
5611
- /**
5612
- * Multi-provider injection token to configure which origins should be excluded
5613
- * from the preconnect checks. It can either be a single string or an array of strings
5614
- * to represent a group of origins, for example:
5615
- *
5616
- * ```typescript
5617
- * {provide: PRECONNECT_CHECK_BLOCKLIST, multi: true, useValue: 'https://your-domain.com'}
5618
- * ```
5619
- *
5620
- * or:
5621
- *
5622
- * ```typescript
5623
- * {provide: PRECONNECT_CHECK_BLOCKLIST, multi: true,
5624
- * useValue: ['https://your-domain-1.com', 'https://your-domain-2.com']}
5625
- * ```
5626
- *
5627
- * @publicApi
5628
- * @developerPreview
5629
- */
5630
- const PRECONNECT_CHECK_BLOCKLIST = new InjectionToken('PRECONNECT_CHECK_BLOCKLIST');
5631
- /**
5632
- * Contains the logic to detect whether an image, marked with the "priority" attribute
5633
- * has a corresponding `<link rel="preconnect">` tag in the `document.head`.
5634
- *
5635
- * Note: this is a dev-mode only class, which should not appear in prod bundles,
5636
- * thus there is no `ngDevMode` use in the code.
5637
- */
5638
- class PreconnectLinkChecker {
5639
- constructor() {
5640
- this.document = inject(DOCUMENT);
5641
- /**
5642
- * Set of <link rel="preconnect"> tags found on this page.
5643
- * The `null` value indicates that there was no DOM query operation performed.
5644
- */
5645
- this.preconnectLinks = null;
5646
- /*
5647
- * Keep track of all already seen origin URLs to avoid repeating the same check.
5648
- */
5649
- this.alreadySeen = new Set();
5650
- this.window = null;
5651
- this.blocklist = new Set(INTERNAL_PRECONNECT_CHECK_BLOCKLIST);
5652
- assertDevMode('preconnect link checker');
5653
- const win = this.document.defaultView;
5654
- if (typeof win !== 'undefined') {
5655
- this.window = win;
5656
- }
5657
- const blocklist = inject(PRECONNECT_CHECK_BLOCKLIST, { optional: true });
5658
- if (blocklist) {
5659
- this.populateBlocklist(blocklist);
5660
- }
5661
- }
5662
- populateBlocklist(origins) {
5663
- if (Array.isArray(origins)) {
5664
- deepForEach(origins, origin => {
5665
- this.blocklist.add(extractHostname(origin));
5666
- });
5667
- }
5668
- else {
5669
- throw new ɵRuntimeError(2957 /* RuntimeErrorCode.INVALID_PRECONNECT_CHECK_BLOCKLIST */, `The blocklist for the preconnect check was not provided as an array. ` +
5670
- `Check that the \`PRECONNECT_CHECK_BLOCKLIST\` token is configured as a \`multi: true\` provider.`);
5671
- }
5672
- }
5673
- /**
5674
- * Checks that a preconnect resource hint exists in the head fo rthe
5675
- * given src.
5676
- *
5677
- * @param rewrittenSrc src formatted with loader
5678
- * @param originalNgSrc ngSrc value
5679
- */
5680
- assertPreconnect(rewrittenSrc, originalNgSrc) {
5681
- if (!this.window)
5682
- return;
5683
- const imgUrl = getUrl(rewrittenSrc, this.window);
5684
- if (this.blocklist.has(imgUrl.hostname) || this.alreadySeen.has(imgUrl.origin))
5685
- return;
5686
- // Register this origin as seen, so we don't check it again later.
5687
- this.alreadySeen.add(imgUrl.origin);
5688
- if (!this.preconnectLinks) {
5689
- // Note: we query for preconnect links only *once* and cache the results
5690
- // for the entire lifespan of an application, since it's unlikely that the
5691
- // list would change frequently. This allows to make sure there are no
5692
- // performance implications of making extra DOM lookups for each image.
5693
- this.preconnectLinks = this.queryPreconnectLinks();
5694
- }
5695
- if (!this.preconnectLinks.has(imgUrl.origin)) {
5696
- console.warn(ɵformatRuntimeError(2956 /* RuntimeErrorCode.PRIORITY_IMG_MISSING_PRECONNECT_TAG */, `${imgDirectiveDetails(originalNgSrc)} there is no preconnect tag present for this ` +
5697
- `image. Preconnecting to the origin(s) that serve priority images ensures that these ` +
5698
- `images are delivered as soon as possible. To fix this, please add the following ` +
5699
- `element into the <head> of the document:\n` +
5700
- ` <link rel="preconnect" href="${imgUrl.origin}">`));
5701
- }
5702
- }
5703
- queryPreconnectLinks() {
5704
- const preconnectUrls = new Set();
5705
- const selector = 'link[rel=preconnect]';
5706
- const links = Array.from(this.document.querySelectorAll(selector));
5707
- for (let link of links) {
5708
- const url = getUrl(link.href, this.window);
5709
- preconnectUrls.add(url.origin);
5710
- }
5711
- return preconnectUrls;
5712
- }
5713
- ngOnDestroy() {
5714
- this.preconnectLinks?.clear();
5715
- this.alreadySeen.clear();
5716
- }
5717
- }
5718
- PreconnectLinkChecker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: PreconnectLinkChecker, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5719
- PreconnectLinkChecker.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: PreconnectLinkChecker, providedIn: 'root' });
5720
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: PreconnectLinkChecker, decorators: [{
5721
- type: Injectable,
5722
- args: [{ providedIn: 'root' }]
5723
- }], ctorParameters: function () { return []; } });
5724
- /**
5725
- * Invokes a callback for each element in the array. Also invokes a callback
5726
- * recursively for each nested array.
5727
- */
5728
- function deepForEach(input, fn) {
5729
- for (let value of input) {
5730
- Array.isArray(value) ? deepForEach(value, fn) : fn(value);
5731
- }
5732
- }
5733
-
5734
5570
  /**
5735
5571
  * @license
5736
5572
  * Copyright Google LLC All Rights Reserved.
@@ -5768,7 +5604,7 @@ const IMAGE_LOADER = new InjectionToken('ImageLoader', {
5768
5604
  * @returns a set of DI providers corresponding to the configured image loader
5769
5605
  */
5770
5606
  function createImageLoader(buildUrlFn, exampleUrls) {
5771
- return function provideImageLoader(path, options = { ensurePreconnect: true }) {
5607
+ return function provideImageLoader(path) {
5772
5608
  if (!isValidPath(path)) {
5773
5609
  throwInvalidPathError(path, exampleUrls || []);
5774
5610
  }
@@ -5787,9 +5623,6 @@ function createImageLoader(buildUrlFn, exampleUrls) {
5787
5623
  return buildUrlFn(path, { ...config, src: normalizeSrc(config.src) });
5788
5624
  };
5789
5625
  const providers = [{ provide: IMAGE_LOADER, useValue: loaderFn }];
5790
- if (ngDevMode && options.ensurePreconnect === false) {
5791
- providers.push({ provide: PRECONNECT_CHECK_BLOCKLIST, useValue: [path], multi: true });
5792
- }
5793
5626
  return providers;
5794
5627
  };
5795
5628
  }
@@ -5821,10 +5654,6 @@ function throwUnexpectedAbsoluteUrlError(path, url) {
5821
5654
  * Cloudflare Image Resizing; it will not work with Cloudflare Images or Cloudflare Polish.
5822
5655
  *
5823
5656
  * @param path Your domain name, e.g. https://mysite.com
5824
- * @param options An object with extra configuration:
5825
- * - `ensurePreconnect`: boolean flag indicating whether the NgOptimizedImage directive
5826
- * should verify that there is a corresponding `<link rel="preconnect">`
5827
- * present in the document's `<head>`.
5828
5657
  * @returns Provider that provides an ImageLoader function
5829
5658
  *
5830
5659
  * @publicApi
@@ -5856,10 +5685,6 @@ function createCloudflareUrl(path, config) {
5856
5685
  * https://res.cloudinary.com/mysite
5857
5686
  * https://mysite.cloudinary.com
5858
5687
  * https://subdomain.mysite.com
5859
- * @param options An object with extra configuration:
5860
- * - `ensurePreconnect`: boolean flag indicating whether the NgOptimizedImage directive
5861
- * should verify that there is a corresponding `<link rel="preconnect">`
5862
- * present in the document's `<head>`.
5863
5688
  * @returns Set of providers to configure the Cloudinary loader.
5864
5689
  *
5865
5690
  * @publicApi
@@ -5897,10 +5722,6 @@ function createCloudinaryUrl(path, config) {
5897
5722
  * This URL should match one of the following formats:
5898
5723
  * https://ik.imagekit.io/myaccount
5899
5724
  * https://subdomain.mysite.com
5900
- * @param options An object with extra configuration:
5901
- * - `ensurePreconnect`: boolean flag indicating whether the NgOptimizedImage directive
5902
- * should verify that there is a corresponding `<link rel="preconnect">`
5903
- * present in the document's `<head>`.
5904
5725
  * @returns Set of providers to configure the ImageKit loader.
5905
5726
  *
5906
5727
  * @publicApi
@@ -5929,10 +5750,6 @@ function createImagekitUrl(path, config) {
5929
5750
  *
5930
5751
  * @param path path to the desired Imgix origin,
5931
5752
  * e.g. https://somepath.imgix.net or https://images.mysite.com
5932
- * @param options An object with extra configuration:
5933
- * - `ensurePreconnect`: boolean flag indicating whether the NgOptimizedImage directive
5934
- * should verify that there is a corresponding `<link rel="preconnect">`
5935
- * present in the document's `<head>`.
5936
5753
  * @returns Set of providers to configure the Imgix loader.
5937
5754
  *
5938
5755
  * @publicApi
@@ -5949,6 +5766,38 @@ function createImgixUrl(path, config) {
5949
5766
  return url.href;
5950
5767
  }
5951
5768
 
5769
+ /**
5770
+ * @license
5771
+ * Copyright Google LLC All Rights Reserved.
5772
+ *
5773
+ * Use of this source code is governed by an MIT-style license that can be
5774
+ * found in the LICENSE file at https://angular.io/license
5775
+ */
5776
+ // Assembles directive details string, useful for error messages.
5777
+ function imgDirectiveDetails(ngSrc, includeNgSrc = true) {
5778
+ const ngSrcInfo = includeNgSrc ? `(activated on an <img> element with the \`ngSrc="${ngSrc}"\`) ` : '';
5779
+ return `The NgOptimizedImage directive ${ngSrcInfo}has detected that`;
5780
+ }
5781
+
5782
+ /**
5783
+ * @license
5784
+ * Copyright Google LLC All Rights Reserved.
5785
+ *
5786
+ * Use of this source code is governed by an MIT-style license that can be
5787
+ * found in the LICENSE file at https://angular.io/license
5788
+ */
5789
+ /**
5790
+ * Asserts that the application is in development mode. Throws an error if the application is in
5791
+ * production mode. This assert can be used to make sure that there is no dev-mode code invoked in
5792
+ * the prod mode accidentally.
5793
+ */
5794
+ function assertDevMode(checkName) {
5795
+ if (!ngDevMode) {
5796
+ throw new ɵRuntimeError(2958 /* RuntimeErrorCode.UNEXPECTED_DEV_MODE_CHECK_IN_PROD_MODE */, `Unexpected invocation of the ${checkName} in the prod mode. ` +
5797
+ `Please make sure that the prod mode is enabled for production builds.`);
5798
+ }
5799
+ }
5800
+
5952
5801
  /**
5953
5802
  * @license
5954
5803
  * Copyright Google LLC All Rights Reserved.
@@ -6028,9 +5877,9 @@ class LCPImageObserver {
6028
5877
  this.alreadyWarned.clear();
6029
5878
  }
6030
5879
  }
6031
- LCPImageObserver.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LCPImageObserver, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6032
- LCPImageObserver.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LCPImageObserver, providedIn: 'root' });
6033
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LCPImageObserver, decorators: [{
5880
+ LCPImageObserver.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: LCPImageObserver, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5881
+ LCPImageObserver.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: LCPImageObserver, providedIn: 'root' });
5882
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: LCPImageObserver, decorators: [{
6034
5883
  type: Injectable,
6035
5884
  args: [{ providedIn: 'root' }]
6036
5885
  }], ctorParameters: function () { return []; } });
@@ -6042,6 +5891,137 @@ function logMissingPriorityWarning(ngSrc) {
6042
5891
  `To fix this, add the "priority" attribute.`));
6043
5892
  }
6044
5893
 
5894
+ /**
5895
+ * @license
5896
+ * Copyright Google LLC All Rights Reserved.
5897
+ *
5898
+ * Use of this source code is governed by an MIT-style license that can be
5899
+ * found in the LICENSE file at https://angular.io/license
5900
+ */
5901
+ // Set of origins that are always excluded from the preconnect checks.
5902
+ const INTERNAL_PRECONNECT_CHECK_BLOCKLIST = new Set(['localhost', '127.0.0.1', '0.0.0.0']);
5903
+ /**
5904
+ * Injection token to configure which origins should be excluded
5905
+ * from the preconnect checks. It can either be a single string or an array of strings
5906
+ * to represent a group of origins, for example:
5907
+ *
5908
+ * ```typescript
5909
+ * {provide: PRECONNECT_CHECK_BLOCKLIST, useValue: 'https://your-domain.com'}
5910
+ * ```
5911
+ *
5912
+ * or:
5913
+ *
5914
+ * ```typescript
5915
+ * {provide: PRECONNECT_CHECK_BLOCKLIST,
5916
+ * useValue: ['https://your-domain-1.com', 'https://your-domain-2.com']}
5917
+ * ```
5918
+ *
5919
+ * @publicApi
5920
+ * @developerPreview
5921
+ */
5922
+ const PRECONNECT_CHECK_BLOCKLIST = new InjectionToken('PRECONNECT_CHECK_BLOCKLIST');
5923
+ /**
5924
+ * Contains the logic to detect whether an image, marked with the "priority" attribute
5925
+ * has a corresponding `<link rel="preconnect">` tag in the `document.head`.
5926
+ *
5927
+ * Note: this is a dev-mode only class, which should not appear in prod bundles,
5928
+ * thus there is no `ngDevMode` use in the code.
5929
+ */
5930
+ class PreconnectLinkChecker {
5931
+ constructor() {
5932
+ this.document = inject(DOCUMENT);
5933
+ /**
5934
+ * Set of <link rel="preconnect"> tags found on this page.
5935
+ * The `null` value indicates that there was no DOM query operation performed.
5936
+ */
5937
+ this.preconnectLinks = null;
5938
+ /*
5939
+ * Keep track of all already seen origin URLs to avoid repeating the same check.
5940
+ */
5941
+ this.alreadySeen = new Set();
5942
+ this.window = null;
5943
+ this.blocklist = new Set(INTERNAL_PRECONNECT_CHECK_BLOCKLIST);
5944
+ assertDevMode('preconnect link checker');
5945
+ const win = this.document.defaultView;
5946
+ if (typeof win !== 'undefined') {
5947
+ this.window = win;
5948
+ }
5949
+ const blocklist = inject(PRECONNECT_CHECK_BLOCKLIST, { optional: true });
5950
+ if (blocklist) {
5951
+ this.populateBlocklist(blocklist);
5952
+ }
5953
+ }
5954
+ populateBlocklist(origins) {
5955
+ if (Array.isArray(origins)) {
5956
+ deepForEach(origins, origin => {
5957
+ this.blocklist.add(extractHostname(origin));
5958
+ });
5959
+ }
5960
+ else {
5961
+ this.blocklist.add(extractHostname(origins));
5962
+ }
5963
+ }
5964
+ /**
5965
+ * Checks that a preconnect resource hint exists in the head fo rthe
5966
+ * given src.
5967
+ *
5968
+ * @param rewrittenSrc src formatted with loader
5969
+ * @param originalNgSrc ngSrc value
5970
+ */
5971
+ assertPreconnect(rewrittenSrc, originalNgSrc) {
5972
+ if (!this.window)
5973
+ return;
5974
+ const imgUrl = getUrl(rewrittenSrc, this.window);
5975
+ if (this.blocklist.has(imgUrl.hostname) || this.alreadySeen.has(imgUrl.origin))
5976
+ return;
5977
+ // Register this origin as seen, so we don't check it again later.
5978
+ this.alreadySeen.add(imgUrl.origin);
5979
+ if (!this.preconnectLinks) {
5980
+ // Note: we query for preconnect links only *once* and cache the results
5981
+ // for the entire lifespan of an application, since it's unlikely that the
5982
+ // list would change frequently. This allows to make sure there are no
5983
+ // performance implications of making extra DOM lookups for each image.
5984
+ this.preconnectLinks = this.queryPreconnectLinks();
5985
+ }
5986
+ if (!this.preconnectLinks.has(imgUrl.origin)) {
5987
+ console.warn(ɵformatRuntimeError(2956 /* RuntimeErrorCode.PRIORITY_IMG_MISSING_PRECONNECT_TAG */, `${imgDirectiveDetails(originalNgSrc)} there is no preconnect tag present for this ` +
5988
+ `image. Preconnecting to the origin(s) that serve priority images ensures that these ` +
5989
+ `images are delivered as soon as possible. To fix this, please add the following ` +
5990
+ `element into the <head> of the document:\n` +
5991
+ ` <link rel="preconnect" href="${imgUrl.origin}">`));
5992
+ }
5993
+ }
5994
+ queryPreconnectLinks() {
5995
+ const preconnectUrls = new Set();
5996
+ const selector = 'link[rel=preconnect]';
5997
+ const links = Array.from(this.document.querySelectorAll(selector));
5998
+ for (let link of links) {
5999
+ const url = getUrl(link.href, this.window);
6000
+ preconnectUrls.add(url.origin);
6001
+ }
6002
+ return preconnectUrls;
6003
+ }
6004
+ ngOnDestroy() {
6005
+ this.preconnectLinks?.clear();
6006
+ this.alreadySeen.clear();
6007
+ }
6008
+ }
6009
+ PreconnectLinkChecker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: PreconnectLinkChecker, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6010
+ PreconnectLinkChecker.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: PreconnectLinkChecker, providedIn: 'root' });
6011
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: PreconnectLinkChecker, decorators: [{
6012
+ type: Injectable,
6013
+ args: [{ providedIn: 'root' }]
6014
+ }], ctorParameters: function () { return []; } });
6015
+ /**
6016
+ * Invokes a callback for each element in the array. Also invokes a callback
6017
+ * recursively for each nested array.
6018
+ */
6019
+ function deepForEach(input, fn) {
6020
+ for (let value of input) {
6021
+ Array.isArray(value) ? deepForEach(value, fn) : fn(value);
6022
+ }
6023
+ }
6024
+
6045
6025
  /**
6046
6026
  * @license
6047
6027
  * Copyright Google LLC All Rights Reserved.
@@ -6339,9 +6319,9 @@ class NgOptimizedImage {
6339
6319
  this.renderer.setAttribute(this.imgElement, name, value);
6340
6320
  }
6341
6321
  }
6342
- NgOptimizedImage.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgOptimizedImage, deps: [], target: i0.ɵɵFactoryTarget.Directive });
6343
- NgOptimizedImage.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0-next.4", type: NgOptimizedImage, isStandalone: true, selector: "img[ngSrc],img[rawSrc]", inputs: { rawSrc: "rawSrc", ngSrc: "ngSrc", ngSrcset: "ngSrcset", width: "width", height: "height", loading: "loading", priority: "priority", src: "src", srcset: "srcset" }, usesOnChanges: true, ngImport: i0 });
6344
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgOptimizedImage, decorators: [{
6322
+ NgOptimizedImage.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: NgOptimizedImage, deps: [], target: i0.ɵɵFactoryTarget.Directive });
6323
+ NgOptimizedImage.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0-next.5", type: NgOptimizedImage, isStandalone: true, selector: "img[ngSrc],img[rawSrc]", inputs: { rawSrc: "rawSrc", ngSrc: "ngSrc", ngSrcset: "ngSrcset", width: "width", height: "height", loading: "loading", priority: "priority", src: "src", srcset: "srcset" }, usesOnChanges: true, ngImport: i0 });
6324
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.5", ngImport: i0, type: NgOptimizedImage, decorators: [{
6345
6325
  type: Directive,
6346
6326
  args: [{
6347
6327
  standalone: true,