ctt-puro 0.66.10 → 0.66.11

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.
@@ -5302,11 +5302,11 @@ class MapperService {
5302
5302
  }
5303
5303
  }
5304
5304
  if (imagesMobile?.length) {
5305
- const heroImg = new Image();
5306
- heroImg.src = imagesMobile[0].src;
5307
- heroImg.decoding = 'async';
5308
- heroImg.setAttribute('fetchpriority', 'high');
5309
- heroImg.loading = 'eager';
5305
+ const heroImgMobile = new Image();
5306
+ heroImgMobile.src = imagesMobile[0].src;
5307
+ heroImgMobile.decoding = 'async';
5308
+ heroImgMobile.setAttribute('fetchpriority', 'high');
5309
+ heroImgMobile.loading = 'eager';
5310
5310
  if (imagesMobile?.length > 1) {
5311
5311
  const prefetch = new Image();
5312
5312
  prefetch.src = imagesMobile[1].src;
@@ -6499,9 +6499,9 @@ class MapperService {
6499
6499
  title: typeof props?.texts?.title === 'string'
6500
6500
  ? props?.texts?.title
6501
6501
  : props?.texts?.title?.contain,
6502
- pretitle: typeof props?.texts?.pretitle === 'string'
6503
- ? props?.texts?.pretitle
6504
- : props?.texts?.pretitle?.contain,
6502
+ pretitle: typeof props?.texts?.subtitle === 'string'
6503
+ ? props?.texts?.subtitle
6504
+ : props?.texts?.subtitle?.contain,
6505
6505
  description: props?.texts?.description,
6506
6506
  items: Utils.normalizeImages(props?.multimedia?.imagenes).map((img) => ({
6507
6507
  year: img?.title,
@@ -6510,11 +6510,11 @@ class MapperService {
6510
6510
  img: this.getImageResponsive(img),
6511
6511
  })),
6512
6512
  tags: {
6513
- pretitle: props?.texts?.pretitle?.tag,
6513
+ pretitle: props?.texts?.subtitle?.tag,
6514
6514
  title: props?.texts?.title?.tag,
6515
6515
  },
6516
6516
  textColors: {
6517
- pretitle: props?.texts?.pretitle?.color?.trim(),
6517
+ pretitle: props?.texts?.subtitle?.color?.trim(),
6518
6518
  title: props?.texts?.title?.color?.trim(),
6519
6519
  },
6520
6520
  identifier: identifier,