sass-template-common 0.9.210 → 0.9.211

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.
@@ -1584,6 +1584,7 @@ declare interface Modulo1x3CardProps {
1584
1584
  slot_id?: string;
1585
1585
  isHome?: boolean;
1586
1586
  showNewsLikeTitle?: boolean;
1587
+ paths: RoutePathConfig;
1587
1588
  }
1588
1589
 
1589
1590
  declare interface Modulo1x3Props extends Modulo3ColumnasProps, Omit<SectionProps, 'children'> {
@@ -2128,6 +2129,7 @@ export declare type Params = {
2128
2129
  ranking?: string;
2129
2130
  onmainpage?: string;
2130
2131
  value?: string;
2132
+ related?: number;
2131
2133
  };
2132
2134
 
2133
2135
  export declare const parseTags: (keywords: any) => string;
@@ -667,7 +667,7 @@ const Ar = /* @__PURE__ */ ot(br);
667
667
  Ae.extend(pr);
668
668
  Ae.extend(Ar);
669
669
  Ae.extend(cr);
670
- const Vt = (e) => e === "en" ? "en" : "es", _e = (e, t) => {
670
+ const Vt = (e) => e === "en" ? "en" : "es", Fe = (e, t) => {
671
671
  const { PUBLIC_LNG: s, DATE_TIMEZONE: a } = t || P(), r = Vt(s ?? "es");
672
672
  return Ae.tz(e, a).locale(r).format("DD MMMM YYYY");
673
673
  }, Qt = (e) => {
@@ -698,7 +698,7 @@ const Vt = (e) => e === "en" ? "en" : "es", _e = (e, t) => {
698
698
  });
699
699
  const i = new Date(s.toLocaleString("en-US", { timeZone: "UTC" })), d = (new Date(s.toLocaleString("en-US", { timeZone: t })).getTime() - i.getTime()) / 6e4, c = d >= 0 ? "+" : "-", u = (w) => String(Math.floor(Math.abs(w))).padStart(2, "0"), h = u(d / 60), m = u(d % 60);
700
700
  return `${o.year}-${o.month}-${o.day}T${o.hour}:${o.minute}:${o.second}${c}${h}:${m}`;
701
- }, Fe = (e, t = 136) => e && e.length > t ? `${e.substring(0, t)}...` : e;
701
+ }, Ve = (e, t = 136) => e && e.length > t ? `${e.substring(0, t)}...` : e;
702
702
  function et(e) {
703
703
  return e && e.status === "fulfilled" ? e.value.data : null;
704
704
  }
@@ -1456,13 +1456,13 @@ const Fr = (e) => e === "/" || e === "/index.html", Vr = /* @__PURE__ */ new Set
1456
1456
  return t.length === 0 ? !0 : t.every((s) => Vr.has(s));
1457
1457
  }
1458
1458
  return !1;
1459
- }, qe = (e) => {
1459
+ }, _e = (e) => {
1460
1460
  if (Array.isArray(e))
1461
- return e.map((t) => qe(t)).filter((t) => !mn(t));
1461
+ return e.map((t) => _e(t)).filter((t) => !mn(t));
1462
1462
  if (e && typeof e == "object") {
1463
1463
  const t = {};
1464
1464
  for (const [s, a] of Object.entries(e)) {
1465
- const r = qe(a);
1465
+ const r = _e(a);
1466
1466
  mn(r) || (t[s] = r);
1467
1467
  }
1468
1468
  return t;
@@ -1659,7 +1659,7 @@ const Fr = (e) => e === "/" || e === "/index.html", Vr = /* @__PURE__ */ new Set
1659
1659
  id: "webSiteItemListSchema",
1660
1660
  type: "application/ld+json",
1661
1661
  dangerouslySetInnerHTML: {
1662
- __html: JSON.stringify(qe(o))
1662
+ __html: JSON.stringify(_e(o))
1663
1663
  }
1664
1664
  }
1665
1665
  );
@@ -1689,7 +1689,7 @@ const Fr = (e) => e === "/" || e === "/index.html", Vr = /* @__PURE__ */ new Set
1689
1689
  ...t.aggregateRating.bestRating && {
1690
1690
  bestRating: t.aggregateRating.bestRating
1691
1691
  }
1692
- }), t.softwareVersion && (s.softwareVersion = t.softwareVersion), t.contentRating && (s.contentRating = t.contentRating), qe(s);
1692
+ }), t.softwareVersion && (s.softwareVersion = t.softwareVersion), t.contentRating && (s.contentRating = t.contentRating), _e(s);
1693
1693
  }, eo = ({ config: e }) => {
1694
1694
  if (!e.orgSoftware) return null;
1695
1695
  const t = Array.isArray(e.orgSoftware) ? e.orgSoftware : [e.orgSoftware];
@@ -1746,7 +1746,7 @@ const to = async ({
1746
1746
  {
1747
1747
  type: "application/ld+json",
1748
1748
  dangerouslySetInnerHTML: {
1749
- __html: Wt(JSON.stringify(qe(l)))
1749
+ __html: Wt(JSON.stringify(_e(l)))
1750
1750
  }
1751
1751
  },
1752
1752
  d
@@ -1769,7 +1769,7 @@ const to = async ({
1769
1769
  {
1770
1770
  id: "WebsiteOrgListSchema",
1771
1771
  type: "application/ld+json",
1772
- dangerouslySetInnerHTML: { __html: JSON.stringify(qe(s)) }
1772
+ dangerouslySetInnerHTML: { __html: JSON.stringify(_e(s)) }
1773
1773
  }
1774
1774
  );
1775
1775
  }, no = ({ config: e }) => {
@@ -1789,7 +1789,7 @@ const to = async ({
1789
1789
  {
1790
1790
  id: "WebsiteListSchema",
1791
1791
  type: "application/ld+json",
1792
- dangerouslySetInnerHTML: { __html: JSON.stringify(qe(t)) }
1792
+ dangerouslySetInnerHTML: { __html: JSON.stringify(_e(t)) }
1793
1793
  }
1794
1794
  );
1795
1795
  }, ao = async ({ realPath: e, config: t, axiosApi: s }) => {
@@ -1808,7 +1808,7 @@ const to = async ({
1808
1808
  "script",
1809
1809
  {
1810
1810
  type: "application/ld+json",
1811
- dangerouslySetInnerHTML: { __html: Wt(JSON.stringify(qe(o))) }
1811
+ dangerouslySetInnerHTML: { __html: Wt(JSON.stringify(_e(o))) }
1812
1812
  }
1813
1813
  ) : void 0;
1814
1814
  } catch (a) {
@@ -5078,7 +5078,7 @@ const am = async (e, t, s, a, r, o, i) => {
5078
5078
  url: s.siteUrl + k + (s.paths.autor !== "" ? `/${s.paths.autor}/` : "/") + e.info.name
5079
5079
  }
5080
5080
  };
5081
- return u && (L.dateCreated = u), c && (L.dateModified = c), E && (L.mainEntity.email = e.info.email), /* @__PURE__ */ n("script", { type: "application/ld+json", children: JSON.stringify(qe(L)) });
5081
+ return u && (L.dateCreated = u), c && (L.dateModified = c), E && (L.mainEntity.email = e.info.email), /* @__PURE__ */ n("script", { type: "application/ld+json", children: JSON.stringify(_e(L)) });
5082
5082
  }, Ki = `(function(){"use strict";const Me="__html-audit-manifest";function je(e){const t=e.getElementById(Me);if(!t||!t.textContent)return null;try{const n=JSON.parse(t.textContent);return!n||typeof n!="object"||!n.expects?null:n}catch{return null}}function g(e,t,n,o,r){return{id:e,label:t,status:n,detail:o,expected:r}}function w(e,t,n,o,r){return o==null?g(e,t,n?"ok":"info",r,void 0):o?n?g(e,t,"ok",r,!0):g(e,t,"missing",r||"Esperado por config pero AUSENTE",!0):n?g(e,t,"warn",r||"Presente pero no estaba configurado",!1):g(e,t,"info",r||"No configurado",!1)}const ce={ok:0,info:1,warn:2,missing:3};function J(e,t){if(!t||!t.length)return e;e.issues=t;let n=e.status;for(const o of t)ce[o.status]>ce[n]&&(n=o.status);return e.status=n,e}function N(e,t){return!!e.querySelector(t)}function q(e,t){return e.querySelectorAll(t).length}function F(e){const t=[];return e.querySelectorAll('script[type="application/ld+json"]').forEach(o=>{if(o.textContent)try{const r=JSON.parse(o.textContent);Array.isArray(r)?t.push(...r):t.push(r)}catch{}}),t}function U(e,t){return F(e).some(n=>{const o=n?.["@type"];return typeof o=="string"?o===t:Array.isArray(o)?o.includes(t):!1})}function pe(e,t){const n=[],o=r=>{if(!r||typeof r!="object")return;if(Array.isArray(r)){r.forEach(o);return}const s=r,i=s["@type"];(i===t||Array.isArray(i)&&i.includes(t))&&n.push(s),Array.isArray(s["@graph"])&&s["@graph"].forEach(o)};return F(e).forEach(o),n}const qe=600,Ue=6e3;function de(e,t){return e.length>t?e.slice(0,t)+\`
5083
5083
  … (recortado)\`:e}function E(e,t=qe){return e?de(e.outerHTML||"",t):""}function h(e,t){return t&&t.length&&(e.evidence=t),e}function O(e,t){return Array.from(e.querySelectorAll(t)).map(n=>({label:n.getAttribute("property")||n.getAttribute("name")||n.getAttribute("rel")||n.getAttribute("type")||n.tagName.toLowerCase(),snippet:E(n)}))}function K(e,t){if(!e||typeof e!="object")return;if(Array.isArray(e)){e.forEach(r=>K(r,t));return}const n=e,o=n["@type"];typeof o=="string"?t.add(o):Array.isArray(o)&&o.forEach(r=>typeof r=="string"&&t.add(r)),Array.isArray(n["@graph"])&&K(n["@graph"],t)}function ue(e){const t=e.querySelectorAll('script[type="application/ld+json"]'),n=[];return t.forEach((o,r)=>{const s=o.textContent||"",i=new Set;let l=s,a=!0;try{const u=JSON.parse(s);K(u,i),l=JSON.stringify(u,null,2)}catch{a=!1}const c=o.id,p=[...i],d=p.length?p.join(", "):c||\`bloque #\${r+1}\`;n.push({types:p,label:a?d:\`\${d} (JSON inválido)\`,snippet:de(l,Ue)})}),n}function _(e,t){return ue(e).filter(n=>n.types.includes(t)).map(n=>({label:n.label,snippet:n.snippet}))}function _e(e){return ue(e).map(t=>({label:t.label,snippet:t.snippet}))}const Ie=(e,t)=>{const n=t?.expects,o=[],r=e.querySelector("meta[charset]");o.push(h(w("htmlAttrs.charset","<meta charset>",!!r,n?n.charset:null,"Falta <meta charset>"),r?[{label:"<meta charset>",snippet:E(r)}]:[]));const s=e.querySelector('meta[name="viewport"]');o.push(h(w("htmlAttrs.viewport","<meta name=viewport>",!!s,n?n.viewport:null,"Falta <meta name=viewport>"),s?[{label:"<meta name=viewport>",snippet:E(s)}]:[]));const i=e.documentElement.getAttribute("lang");o.push(g("htmlAttrs.lang","html[lang]",i?"ok":"info",i?\`lang="\${i}"\`:"No emitido por el paquete (lo agrega el sitio)"));const l=e.documentElement.getAttribute("dir");o.push(g("htmlAttrs.dir","html[dir]",l?"ok":"info",l?\`dir="\${l}"\`:"No emitido por el paquete"));const a=new Map;e.querySelectorAll("[id]").forEach(p=>{const d=p.id;d&&a.set(d,(a.get(d)||0)+1)});const c=[...a.entries()].filter(([,p])=>p>1).map(([p])=>p);return o.push(g("htmlAttrs.duplicateIds","IDs duplicados",c.length?"warn":"ok",c.length?\`Duplicados: \${c.slice(0,10).join(", ")}\`:"Sin IDs duplicados")),{key:"htmlAttrs",title:"HTML attrs",findings:o}},Fe=(e,t)=>{const n=t?.expects,o=[],r=e.querySelector('script[type="speculationrules"]');o.push(h(w("structure.speculationRules","Speculation rules",!!r,n?n.speculationRules:null,"Speculation rules desactivadas"),r?[{label:"speculationrules",snippet:E(r,2e3)}]:[])),t?.speculationType&&o.push(g("structure.speculationType","Speculation type","info",\`Tipo esperado: \${t.speculationType}\`));const s=q(e,"main");o.push(g("structure.main","<main>",s===1?"ok":s===0?"info":"warn",s===1?"1 <main>":s===0?"Sin <main> (lo arma el sitio)":\`\${s} <main> (debería ser 1)\`)),o.push(g("structure.header","<header>",N(e,"header")?"ok":"info",N(e,"header")?"Presente":"Sin <header>")),o.push(g("structure.footer","<footer>",N(e,"footer")?"ok":"info",N(e,"footer")?"Presente":"Sin <footer>"));const i=q(e,"h1");return o.push(g("structure.h1","<h1>",i===1?"ok":"warn",i===0?"Sin <h1>":i===1?"1 <h1>":\`\${i} <h1> (revisar jerarquía)\`)),{key:"structure",title:"Estructura",findings:o}},Pe=["og:title","og:description","og:type","og:url","og:site_name","og:locale","og:image"],He=["twitter:card","twitter:title","twitter:description","twitter:image","twitter:site"];function M(e,t){return{status:e,message:t}}function X(e,t=60){const n=e.trim();return n.length>t?n.slice(0,t)+"…":n}function P(e,t={}){const n=(e||"").trim();if(!n)return[];const o=[],r=t.absolute!==!1,s=t.https!==!1,i=/^[a-z][a-z0-9+.-]*:/i.test(n),l=n.startsWith("//");r&&!i&&!l&&o.push(M("warn",\`URL relativa ("\${X(n)}"); se espera absoluta\`));let a=null;try{a=new URL(n,t.base)}catch{return o.push(M("warn",\`URL malformada: "\${X(n)}"\`)),o}return(a.protocol==="http:"||a.protocol==="https:")&&(s&&a.protocol==="http:"&&o.push(M("warn","Usa http (inseguro); se espera https")),a.pathname.includes("//")&&o.push(M("warn",\`Doble slash en el path: "\${X(a.pathname)}"\`)),t.sameHost&&a.host!==t.sameHost&&o.push(M("warn",\`Host distinto: "\${a.host}" (se espera "\${t.sameHost}")\`))),o}function fe(e,t){const n=(e||"").trim();if(!n)return null;try{return new URL(n,t).href}catch{return null}}const Be={NewsArticle:["@context","headline","datePublished","image","author","publisher"]};function De(e){return e==null?!0:typeof e=="string"?e.trim()==="":Array.isArray(e)?e.length===0:typeof e=="object"?Object.keys(e).length===0:!1}function We(e,t){return t.filter(n=>De(e[n])).map(n=>M("warn",\`Falta campo requerido: \${n}\`))}function Ge(e){const t=e.itemListElement;return Array.isArray(t)?t.length:t?1:0}function z(e){return e===void 0||e==="meta"?null:e}function L(e,t,n,o,r,s,i){const l=e.querySelector(o),a=w(t,n,!!l,r,l?he(l):s);return l&&(h(a,[{label:n,snippet:E(l)}]),i&&J(a,i(l))),a}function he(e){const n=(e.getAttribute("content")||e.getAttribute("href")||e.textContent||"").trim();return n.length>80?n.slice(0,80)+"…":n||"presente"}const Ve=(e,t)=>{const n=t?.expects.metadata,o=[],r=e.location?.href,s=e.location?.host,i=e.querySelector('link[rel="canonical"]')?.getAttribute("href")||"",l=e.querySelector("title"),a=!!l&&!!l.textContent?.trim();o.push(h(w("metadata.title","<title>",a,z(n?.title),a?he(l):"Falta <title> o está vacío"),l?[{label:"<title>",snippet:E(l)}]:[])),o.push(L(e,"metadata.description","meta description",'meta[name="description"]',z(n?.description),"Falta <meta name=description>"));const c=e.querySelectorAll('meta[name="keywords"], meta[name="news_keywords"]');o.push(h(g("metadata.keywords","keywords / news_keywords",c.length?"ok":"info",c.length?\`\${c.length} tag(s)\`:"Sin keywords (opcional)"),O(e,'meta[name="keywords"], meta[name="news_keywords"]'))),o.push(L(e,"metadata.robots","meta robots",'meta[name="robots"]',z(n?.robots),"Sin meta robots (esperado solo en news/video)")),o.push(L(e,"metadata.canonical","link canonical",'link[rel="canonical"]',z(n?.canonical),"Falta <link rel=canonical>",m=>P(m.getAttribute("href"),{base:r,https:!0,sameHost:s})));const p=t?.expects.hreflang,d='link[rel="alternate"][hreflang]',u=e.querySelectorAll(d),x=Array.from(u).map(m=>m.getAttribute("hreflang")||""),C=p?.expected?p.langs.filter(m=>!x.includes(m)):[];o.push(h(w("metadata.hreflang","link alternate hreflang",u.length>0&&C.length===0,p?p.expected:null,p?.expected?C.length?\`Faltan hreflang: \${C.join(", ")}\`:\`\${u.length} hreflang (\${x.join(", ")})\`:u.length?\`\${u.length} hreflang (\${x.join(", ")})\`:"Sin hreflang (no esperado en esta ruta)"),O(e,d))),o.push(L(e,"metadata.og.title","og:title",'meta[property="og:title"]',z(n?.openGraph),"Falta og:title")),o.push(L(e,"metadata.og.image","og:image",'meta[property="og:image"]',z(n?.openGraph),"Falta og:image (sin imagen de preview al compartir)",m=>P(m.getAttribute("content"),{base:r,https:!0})));for(const m of Pe){if(m==="og:title"||m==="og:image")continue;const T="metadata."+m.replace(":","."),ae=m==="og:url"?le=>Je(le.getAttribute("content"),i,r):void 0;o.push(L(e,T,m,\`meta[property="\${m}"]\`,null,\`Sin \${m} (opcional)\`,ae))}const $=q(e,'meta[property^="og:"]');o.push(h(g("metadata.og.count","Tags og:* totales",$>0?"ok":"info",\`\${$} tag(s) og:*\`),O(e,'meta[property^="og:"]'))),o.push(L(e,"metadata.twitter.card","twitter:card",'meta[name="twitter:card"]',z(n?.twitter),"Falta twitter:card")),o.push(L(e,"metadata.twitter.image","twitter:image",'meta[name="twitter:image"]',z(n?.twitter),"Falta twitter:image",m=>P(m.getAttribute("content"),{base:r,https:!0})));for(const m of He){if(m==="twitter:card"||m==="twitter:image")continue;const T="metadata."+m.replace(":",".");o.push(L(e,T,m,\`meta[name="\${m}"]\`,null,\`Sin \${m} (opcional)\`))}const R=q(e,'meta[name^="twitter:"]');o.push(h(g("metadata.twitter.count","Tags twitter:* totales",R>0?"ok":"info",\`\${R} tag(s) twitter:*\`),O(e,'meta[name^="twitter:"]')));const j=q(e,'meta[property^="article:"]');o.push(h(w("metadata.article","article:* (published/modified/section/author/tag)",j>0,z(n?.article),j>0?\`\${j} tag(s) article:*\`:"Sin article:* (esperado solo en news)"),O(e,'meta[property^="article:"]'))),o.push(L(e,"metadata.rss","link alternate RSS",'link[rel="alternate"][type="application/rss+xml"]',z(n?.rss),"Sin alternate RSS (esperado solo en news)")),o.push(L(e,"metadata.manifest","link manifest",'link[rel="manifest"]',null,"Sin <link rel=manifest> (opcional)"));const k='link[rel="icon"], link[rel="apple-touch-icon"], link[rel="shortcut icon"], link[rel="mask-icon"]',A=q(e,k);return o.push(h(g("metadata.icons","favicons / icons",A?"ok":"info",A?\`\${A} icono(s)\`:"Sin favicons declarados"),O(e,k))),{key:"metadata",title:"Metadata",findings:o}};function Je(e,t,n){const o=P(e,{base:n,https:!0}),r=fe(e,n),s=fe(t,n);return r&&s&&r!==s&&o.push(M("warn",\`og:url no coincide con canonical (\${s})\`)),o}const Ke=(e,t)=>{const n=t?.expects.schemas,o=[];o.push(h(w("schemas.NewsMediaOrganization","NewsMediaOrganization (OrgList)",N(e,"script#WebsiteOrgListSchema")||U(e,"NewsMediaOrganization"),n?n.NewsMediaOrganization:!0,"Falta NewsMediaOrganization (se emite siempre)"),_(e,"NewsMediaOrganization"))),o.push(h(w("schemas.WebSite","WebSite (WebsiteList)",N(e,"script#WebsiteListSchema")||U(e,"WebSite"),n?n.WebSite:null,"Falta WebSite"),_(e,"WebSite")));{const a=h(w("schemas.NewsArticle","NewsArticle",U(e,"NewsArticle"),n?n.NewsArticle:null,"NewsArticle esperado pero AUSENTE (puede ser API vacía)"),_(e,"NewsArticle"));if(a.status==="ok"){const c=pe(e,"NewsArticle");c.length&&J(a,We(c[0],Be.NewsArticle))}o.push(a)}o.push(h(w("schemas.Videos","VideoObject",U(e,"VideoObject"),n?n.Videos:null,"VideoObject esperado pero AUSENTE"),_(e,"VideoObject"))),o.push(h(w("schemas.Autor","ProfilePage (Autor)",U(e,"ProfilePage"),n?n.Autor:null,"ProfilePage esperado pero AUSENTE"),_(e,"ProfilePage")));{const a=h(w("schemas.ItemList","ItemList",N(e,"script#webSiteItemListSchema")||U(e,"ItemList"),n?n.ItemList:null,"ItemList esperado pero AUSENTE (PuedeVacío)"),_(e,"ItemList"));if(a.status==="ok"){const c=pe(e,"ItemList"),p=c.reduce((d,u)=>d+Ge(u),0);a.detail=\`\${c.length} ItemList; \${p} entr\${p===1?"y":"ies"}\`,c.length&&p===0&&J(a,[M("warn","ItemList sin itemListElement (lista vacía)")])}o.push(a)}o.push(h(w("schemas.SoftwareApplication","SoftwareApplication",N(e,'script[id^="SoftwareApplicationSchema-"]')||U(e,"SoftwareApplication"),n?n.SoftwareApplication:null,"SoftwareApplication esperado pero AUSENTE"),_(e,"SoftwareApplication")));const r=e.querySelectorAll('script[type="application/ld+json"]');let s=0;r.forEach(a=>{if(a.textContent)try{JSON.parse(a.textContent)}catch{s++}});const i=Xe(e),l=i?\`; @graph: \${i} nodo(s)\`:"";return o.push(h(g("schemas.parsed","JSON-LD parseables",s?"warn":"ok",\`\${r.length} bloque(s); \${s} inválido(s)\${l}. Tipos: \${Qe(e)}\`),_e(e))),{key:"schemas",title:"Schemas JSON-LD",findings:o}};function Xe(e){let t=0;const n=o=>{if(!o||typeof o!="object")return;if(Array.isArray(o)){o.forEach(n);return}const r=o;Array.isArray(r["@graph"])&&(t+=r["@graph"].length,r["@graph"].forEach(n))};return F(e).forEach(n),t}function Qe(e){const t=new Set;return F(e).forEach(n=>{const o=n?.["@type"];typeof o=="string"?t.add(o):Array.isArray(o)&&o.forEach(r=>typeof r=="string"&&t.add(r))}),t.size?[...t].join(", "):"—"}const Ye=(e,t)=>{const n=t?.expects,o=e.querySelector('link[rel="amphtml"]');return{key:"amp",title:"AMP",findings:[h(w("amp.amphtml","link rel=amphtml",!!o,n?n.amp:null,o?\`href=\${o.getAttribute("href")||""}\`:"No hay AMP"),o?[{label:"link rel=amphtml",snippet:E(o)}]:[])]}};function H(e){return e.slice(0,8).map(t=>({label:t.getAttribute("src")||"(sin src)",snippet:E(t,300)}))}function me(e,t){const n=(e.getAttribute("src")||"").trim();if(!n||n.startsWith("data:"))return null;try{return new URL(n,t)}catch{return null}}const Ze=(e,t)=>{const n=Array.from(e.querySelectorAll("img")),o=[],r=e.location?.href;let s=null;if(t?.expects.assetsUrl)try{s=new URL(t.expects.assetsUrl).host}catch{s=null}o.push(g("images.count","<img> totales","info",\`\${n.length} imagen(es)\`));const i=n.filter(p=>!p.hasAttribute("alt"));o.push(h(g("images.alt","img sin atributo alt",i.length?"warn":"ok",i.length?\`\${i.length} <img> sin alt: \${Q(i)}\`:"Todas las <img> declaran alt"),H(i)));const l=n.filter(p=>p.getAttribute("loading")==="lazy").length;o.push(g("images.lazy","img loading=lazy","info",\`\${l}/\${n.length} lazy\`));const a=n.filter(p=>{const d=p.getAttribute("src");return d!==null&&d.trim()===""});o.push(h(g("images.emptySrc","img con src vacío",a.length?"warn":"ok",a.length?\`\${a.length} <img> con src=""\`:"Sin src vacíos"),H(a)));const c=n.filter(p=>me(p,r)?.protocol==="http:");if(o.push(h(g("images.insecure","img con src http (inseguro)",c.length?"warn":"ok",c.length?\`\${c.length} <img> en http: \${Q(c)}\`:"Sin imágenes http (mixed content)"),H(c))),s){const p=n.filter(d=>{const u=me(d,r);return!!u&&(u.protocol==="http:"||u.protocol==="https:")&&u.host!==s});o.push(h(g("images.offAssets",\`img fuera del dominio de assets (\${s})\`,"info",p.length?\`\${p.length} <img> en otro host: \${Q(p)}\`:"Todas las <img> absolutas vienen del dominio de assets"),H(p)))}return{key:"images",title:"Imágenes",findings:o}};function Q(e){return e.slice(0,5).map(t=>t.getAttribute("src")||"(sin src)").join(", ")}function Y(e,t){for(const n of t){const o=e.querySelector(n);if(o)return o}return null}function B(e,t){return e?[{label:t,snippet:E(e)}]:[]}const et=[Ie,Fe,Ve,Ke,Ye,(e,t)=>{const n=t?.expects,o=[],r=n?.assetsUrl;let s;r?s=Array.from(e.querySelectorAll('link[rel="preconnect"]')).some(c=>(c.getAttribute("href")||"").indexOf(r)===0):s=!!e.querySelector('link[rel="preconnect"]'),o.push(h(w("css.preconnectAssets","preconnect assets",s,n?n.preconnectAssets:null,"Falta <link rel=preconnect> a PUBLIC_ASSETS_URL"),O(e,'link[rel="preconnect"], link[rel="dns-prefetch"]'))),o.push(h(w("css.preloadImages","preload de imágenes",!!e.querySelector('link[rel="preload"][as="image"]'),n?n.preloadImages:null,"No hay preload de imágenes (preloadImages)"),O(e,'link[rel="preload"][as="image"]')));const i=!!e.querySelector('link[rel="preload"][as="font"]'),l=!!e.querySelector('link[href*="fonts.googleapis"], link[href*="fonts.gstatic"]'),a=n?.font;return a==="selfHosted"?o.push(w("css.font","Font self-hosted",i,!0,"Font self-hosted esperada pero sin <link as=font>")):a==="google"?o.push(w("css.font","Google Fonts",l,!0,"Google Fonts esperada pero ausente")):o.push(g("css.font","Fonts","info",i?"Font self-hosted presente":l?"Google Fonts presente":"Sin fuente configurada por el paquete")),o.push(h(g("css.stylesheets","<link rel=stylesheet> totales","info",\`\${q(e,'link[rel="stylesheet"]')} stylesheet(s) (los agrega el sitio)\`),O(e,'link[rel="stylesheet"]'))),{key:"cssImports",title:"CSS / preconnect / fonts",findings:o}},Ze,(e,t)=>{const n=t?.expects.analytics,o=[],r=Y(e,["script#googleanalytics",'script[src*="gtag/js"]']);o.push(h(w("content.ga4","GA4",!!r,n?n.ga4:null,"GA4 no configurado"),B(r,"GA4")));const s=Y(e,["script#GTM",'script[src*="googletagmanager.com/gtm.js"]','iframe[src*="googletagmanager.com/ns.html"]']);o.push(h(w("content.gtm","Google Tag Manager",!!s,n?n.gtm:null,"GTM no configurado"),B(s,"GTM")));const i=Y(e,["script#comscore",'script[src*="scorecardresearch"]']);o.push(h(w("content.comscore","Comscore",!!i,n?n.comscore:null,"Comscore no configurado"),B(i,"Comscore")));const l=e.querySelector('script[src*="marfeel"]')||Array.from(e.querySelectorAll("script")).find(u=>(u.textContent||"").includes("marfeel"))||null;o.push(h(w("content.marfeel","Marfeel",!!l,n?n.marfeel:null,"Marfeel no configurado"),B(l,"Marfeel")));const c=Array.from(e.querySelectorAll("h1,h2,h3,h4,h5,h6")).filter(u=>!(u.textContent||"").trim());o.push(h(g("content.emptyHeadings","Headings vacíos",c.length?"warn":"ok",c.length?\`\${c.length} heading(s) sin texto\`:"Sin headings vacíos"),c.slice(0,8).map(u=>({label:u.tagName.toLowerCase(),snippet:E(u,200)}))));const p=Array.from(e.querySelectorAll("a")),d=p.filter(u=>{const x=u.getAttribute("href");return x===null||x.trim()===""||x.trim()==="#"});return o.push(h(g("content.links","Links sin destino",d.length?"warn":"ok",\`\${p.length} link(s); \${d.length} sin href válido\`),d.slice(0,8).map(u=>({label:(u.textContent||"").trim().slice(0,40)||"(sin texto)",snippet:E(u,200)})))),{key:"content",title:"Contenido",findings:o}}];function ge(e,t){const n=et.map(r=>r(e,t)),o={ok:0,missing:0,warn:0,info:0};for(const r of n)for(const s of r.findings)o[s.status]++;return{route:t?t.route:null,hasManifest:!!t,totals:o,categories:n,blindSpots:t?t.blindSpots||[]:[]}}const tt=\`
5084
5084
  /* all: initial corta toda herencia del host; los resets explícitos de abajo pinean la
@@ -6373,7 +6373,7 @@ const Ia = ({
6373
6373
  dangerouslySetInnerHTML: { __html: e }
6374
6374
  }
6375
6375
  );
6376
- }, Qe = (e) => {
6376
+ }, De = (e) => {
6377
6377
  const {
6378
6378
  share: t = !1,
6379
6379
  cutSubtitle: s = !1,
@@ -6384,13 +6384,13 @@ const Ia = ({
6384
6384
  speculationPrerenderClass: l
6385
6385
  } = e, { SHOW_TAG_BY_SECTION: d, SUB_PUBLICATION_PREFIX_IN_ROUTES: c } = P(), u = () => {
6386
6386
  if (e?.config?.showtime && e.config?.showauthor)
6387
- return `${e?.authors[0]?.fullname ?? "Redacción"} - ${_e(
6387
+ return `${e?.authors[0]?.fullname ?? "Redacción"} - ${Fe(
6388
6388
  e.info?.date?.modified
6389
6389
  )}`;
6390
6390
  if (e.config?.showauthor)
6391
6391
  return e?.authors[0]?.fullname ?? "Redacción";
6392
6392
  if (e?.config?.showtime)
6393
- return _e(e.info?.date?.modified);
6393
+ return Fe(e.info?.date?.modified);
6394
6394
  }, h = () => e.main.uppertitle ? /* @__PURE__ */ n("p", { className: "sass-com-nd-uppertitle", title: e.main.uppertitle, children: e.main.uppertitle }) : null, m = () => {
6395
6395
  if (d && a?.tags?.length && a.tags.length > 0) {
6396
6396
  const w = a.tags[0], f = w.name;
@@ -6692,7 +6692,7 @@ const ml = (e) => {
6692
6692
  }
6693
6693
  ),
6694
6694
  /* @__PURE__ */ n(
6695
- Qe,
6695
+ De,
6696
6696
  {
6697
6697
  ...s,
6698
6698
  paths: e.paths,
@@ -8409,7 +8409,7 @@ function Il({ noteShare: e }) {
8409
8409
  ] }) : null;
8410
8410
  }
8411
8411
  const fm = (e) => {
8412
- const t = () => e?.video.main.author ? `${e?.video.main.author} - ${_e(
8412
+ const t = () => e?.video.main.author ? `${e?.video.main.author} - ${Fe(
8413
8413
  e.video.info.date.created
8414
8414
  )}` : e?.video.main.author;
8415
8415
  return /* @__PURE__ */ n("div", { className: "sass-com-bv3-content", children: /* @__PURE__ */ n(js, { children: /* @__PURE__ */ g("div", { className: "sass-com-bv3-videoContent", children: [
@@ -8440,7 +8440,7 @@ const fm = (e) => {
8440
8440
  }
8441
8441
  ),
8442
8442
  /* @__PURE__ */ g("div", { className: "sass-com-bv3-articleSection", children: [
8443
- /* @__PURE__ */ n("p", { className: "sass-com-bv3-article", children: Fe(e.video.main.description) }),
8443
+ /* @__PURE__ */ n("p", { className: "sass-com-bv3-article", children: Ve(e.video.main.description) }),
8444
8444
  /* @__PURE__ */ n("p", { className: "sass-com-bv3-correspondent", children: t() })
8445
8445
  ] })
8446
8446
  ] }) }) });
@@ -8529,7 +8529,7 @@ const fm = (e) => {
8529
8529
  }
8530
8530
  ),
8531
8531
  /* @__PURE__ */ n("div", { className: "sass-com-sc1-newsDescription", children: /* @__PURE__ */ n(
8532
- Qe,
8532
+ De,
8533
8533
  {
8534
8534
  main: t,
8535
8535
  authors: s,
@@ -8925,7 +8925,7 @@ const fm = (e) => {
8925
8925
  ...e.main,
8926
8926
  title: {
8927
8927
  ...e.main.title,
8928
- article: Fe(e.main.title.article, 60)
8928
+ article: Ve(e.main.title.article, 60)
8929
8929
  }
8930
8930
  }
8931
8931
  };
@@ -8943,7 +8943,7 @@ const fm = (e) => {
8943
8943
  ] })
8944
8944
  }
8945
8945
  ),
8946
- /* @__PURE__ */ n("div", { className: "sass-com-sc7-newsDescription", children: /* @__PURE__ */ n(Qe, { ...s, paths: e.paths }) })
8946
+ /* @__PURE__ */ n("div", { className: "sass-com-sc7-newsDescription", children: /* @__PURE__ */ n(De, { ...s, paths: e.paths }) })
8947
8947
  ] }) : null;
8948
8948
  }, Cm = (e) => {
8949
8949
  let t = [];
@@ -9002,7 +9002,7 @@ const fm = (e) => {
9002
9002
  }
9003
9003
  ),
9004
9004
  /* @__PURE__ */ n("div", { className: "sass-com-bv4-articleSection", children: /* @__PURE__ */ n(
9005
- Qe,
9005
+ De,
9006
9006
  {
9007
9007
  isTitle: !0,
9008
9008
  cutSubtitle: !1,
@@ -9405,7 +9405,7 @@ const fm = (e) => {
9405
9405
  href: t.data[0]?.info.link.url,
9406
9406
  target: t.data[0]?.info.link.target,
9407
9407
  title: t.data[0]?.main.title.home,
9408
- children: Fe(t.data[0]?.main.title.home ?? "", 120)
9408
+ children: Ve(t.data[0]?.main.title.home ?? "", 120)
9409
9409
  }
9410
9410
  )
9411
9411
  ] }),
@@ -9572,7 +9572,7 @@ const fm = (e) => {
9572
9572
  href: s.data[0]?.info.link.url,
9573
9573
  target: s.data[0]?.info.link.target,
9574
9574
  title: s.data[0]?.main.title.home,
9575
- children: Fe(s.data[0]?.main.title.home ?? "", 120)
9575
+ children: Ve(s.data[0]?.main.title.home ?? "", 120)
9576
9576
  }
9577
9577
  )
9578
9578
  ] }) : /* @__PURE__ */ n("div", { className: "sass-com-h1st-line" }),
@@ -10264,7 +10264,7 @@ function Em(e) {
10264
10264
  children: [
10265
10265
  /* @__PURE__ */ n("div", { className: "homeCardContentWrapper", children: S }),
10266
10266
  /* @__PURE__ */ n("div", { className: "homeCardNewsDescription", children: /* @__PURE__ */ n(
10267
- Qe,
10267
+ De,
10268
10268
  {
10269
10269
  main: t,
10270
10270
  authors: s,
@@ -10285,13 +10285,13 @@ function Em(e) {
10285
10285
  const rt = (e) => {
10286
10286
  const { SHOW_TAG_BY_SECTION: t, SUB_PUBLICATION_PREFIX_IN_ROUTES: s } = P(), a = () => {
10287
10287
  if (e?.config?.showtime && e.config?.showauthor)
10288
- return `${e?.authors[0]?.fullname} - ${_e(
10288
+ return `${e?.authors[0]?.fullname} - ${Fe(
10289
10289
  e.info?.date?.modified
10290
10290
  )}`;
10291
10291
  if (e.config?.showauthor)
10292
10292
  return e?.authors[0]?.fullname;
10293
10293
  if (e?.config?.showtime)
10294
- return _e(e.info?.date?.modified);
10294
+ return Fe(e.info?.date?.modified);
10295
10295
  }, r = () => {
10296
10296
  if (t && e.keywords?.tags?.length && e.keywords.tags.length > 0) {
10297
10297
  const i = e.keywords.tags[0], l = i.name;
@@ -10679,7 +10679,7 @@ const rt = (e) => {
10679
10679
  )
10680
10680
  ] });
10681
10681
  }, jt = async (e) => {
10682
- const { data: t, autorIcon: s, speculationPrerenderClass: a } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: r } = P(), o = () => t?.config?.showtime ? `${_e(t.info?.date?.modified)}` : "", i = /* @__PURE__ */ g("div", { className: "sass-com-oc2-autorContent", children: [
10682
+ const { data: t, autorIcon: s, speculationPrerenderClass: a } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: r } = P(), o = () => t?.config?.showtime ? `${Fe(t.info?.date?.modified)}` : "", i = /* @__PURE__ */ g("div", { className: "sass-com-oc2-autorContent", children: [
10683
10683
  Array.isArray(t?.authors) && Array.isArray(t?.authors[0]?.image?.sizes) && t?.authors[0]?.image && t?.authors[0]?.image?.sizes?.length > 0 ? /* @__PURE__ */ n(
10684
10684
  "img",
10685
10685
  {
@@ -10690,7 +10690,7 @@ const rt = (e) => {
10690
10690
  alt: t?.authors[0]?.fullname
10691
10691
  }
10692
10692
  ) : /* @__PURE__ */ n("div", { className: "sass-com-oc2-contentIcon", children: s }),
10693
- /* @__PURE__ */ n("p", { className: "sass-com-oc2-autorName", children: Fe(t?.authors[0]?.fullname ?? "Redacción", 18) }),
10693
+ /* @__PURE__ */ n("p", { className: "sass-com-oc2-autorName", children: Ve(t?.authors[0]?.fullname ?? "Redacción", 18) }),
10694
10694
  /* @__PURE__ */ n("p", { className: "sass-com-oc2-time", children: o() })
10695
10695
  ] });
10696
10696
  return /* @__PURE__ */ g("div", { className: "sass-com-oc2-content", children: [
@@ -10712,7 +10712,7 @@ const rt = (e) => {
10712
10712
  children: t?.main?.title?.home
10713
10713
  }
10714
10714
  ),
10715
- /* @__PURE__ */ n("p", { className: "sass-com-oc2-comment", children: Fe(t?.main?.subtitle?.striped || "") })
10715
+ /* @__PURE__ */ n("p", { className: "sass-com-oc2-comment", children: Ve(t?.main?.subtitle?.striped || "") })
10716
10716
  ] })
10717
10717
  ] });
10718
10718
  };
@@ -10781,7 +10781,7 @@ const Tm = (e) => {
10781
10781
  return /* @__PURE__ */ g("div", { className: "sass-bs-eb1-content", children: [
10782
10782
  t && /* @__PURE__ */ n("p", { className: "sass-bs-eb1-title", children: "Editorial" }),
10783
10783
  /* @__PURE__ */ n(
10784
- Qe,
10784
+ De,
10785
10785
  {
10786
10786
  ...e,
10787
10787
  info: {
@@ -10960,7 +10960,7 @@ const Lm = (e) => {
10960
10960
  {
10961
10961
  className: "sass-bs-mbn-boxPosition",
10962
10962
  style: { order: o },
10963
- children: /* @__PURE__ */ n(Qe, { ...l })
10963
+ children: /* @__PURE__ */ n(De, { ...l })
10964
10964
  },
10965
10965
  `description-block-2-odd-${o}`
10966
10966
  )
@@ -11133,18 +11133,7 @@ const Lm = (e) => {
11133
11133
  children: /* @__PURE__ */ n(xe, { preview: e.preview })
11134
11134
  }
11135
11135
  ),
11136
- /* @__PURE__ */ g("div", { className: "sass-com-sc6-textContent", children: [
11137
- /* @__PURE__ */ n(
11138
- M,
11139
- {
11140
- className: "sass-com-sc6-sectionDescription",
11141
- target: e?.info?.link?.target,
11142
- href: t ? e.info.link.url : e?.info?.section?.url,
11143
- children: (t ? e?.main?.title?.section : e?.info?.section?.name) ?? ""
11144
- }
11145
- ),
11146
- /* @__PURE__ */ n("p", { className: "sass-com-sc6-dateText", children: _e(e?.info?.date?.modified) })
11147
- ] })
11136
+ /* @__PURE__ */ n("div", { className: "sass-com-sc6-textContent", children: /* @__PURE__ */ n(De, { ...e, paths: e.paths }) })
11148
11137
  ]
11149
11138
  }
11150
11139
  ) : null;
@@ -11178,7 +11167,8 @@ const Lm = (e) => {
11178
11167
  {
11179
11168
  ...r,
11180
11169
  key: a,
11181
- showNewsLikeTitle: e.showNewsLikeTitle
11170
+ showNewsLikeTitle: e.showNewsLikeTitle,
11171
+ paths: e.paths
11182
11172
  }
11183
11173
  )
11184
11174
  },
@@ -11250,7 +11240,7 @@ const Lm = (e) => {
11250
11240
  className: "sass-com-opt1-linkStyled",
11251
11241
  href: s?.info?.link?.url,
11252
11242
  target: s?.info?.link?.target,
11253
- children: Fe(s?.main?.title?.home, 40)
11243
+ children: Ve(s?.main?.title?.home, 40)
11254
11244
  }
11255
11245
  ) }),
11256
11246
  /* @__PURE__ */ n("p", { className: "sass-com-opt1-comment", children: s?.main?.subtitle?.striped }),
@@ -11715,7 +11705,7 @@ const Lm = (e) => {
11715
11705
  ...e.headerSectionStyles?.common
11716
11706
  },
11717
11707
  children: /* @__PURE__ */ n(
11718
- Qe,
11708
+ De,
11719
11709
  {
11720
11710
  ...r,
11721
11711
  fontSizeSubTitle: "18px",
@@ -14437,7 +14427,7 @@ const Dm = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
14437
14427
  info: o
14438
14428
  } = e, l = (() => {
14439
14429
  if (!e?.authors || e.authors.length === 0) return "";
14440
- const u = e.authors[0], h = _e(
14430
+ const u = e.authors[0], h = Fe(
14441
14431
  e.info?.date?.modified,
14442
14432
  e.DATE_CONFIG
14443
14433
  );
@@ -14501,7 +14491,7 @@ const Dm = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
14501
14491
  "--lineHeightSubTitle": e.lineHeightSubTitle,
14502
14492
  "--colorSubTitle": e.colorSubTitle
14503
14493
  },
14504
- children: s ? Fe(e.main?.subtitle?.striped) : e.main?.subtitle?.striped
14494
+ children: s ? Ve(e.main?.subtitle?.striped) : e.main?.subtitle?.striped
14505
14495
  }
14506
14496
  ),
14507
14497
  (e?.config?.showtime || e.config?.showauthor) && l && /* @__PURE__ */ n($, { children: e.authors?.[0]?.internaluser ? /* @__PURE__ */ n(
@@ -14650,7 +14640,7 @@ const ks = {
14650
14640
  function Gm(e) {
14651
14641
  return ks[e];
14652
14642
  }
14653
- const De = 300, Be = {
14643
+ const qe = 300, Be = {
14654
14644
  username: "anonimo",
14655
14645
  firstname: "Usuario",
14656
14646
  lastname: "Anonimo"
@@ -14663,7 +14653,7 @@ function dd(e) {
14663
14653
  }
14664
14654
  const os = (e, t, s) => {
14665
14655
  if (!e || !e.current) return { boolean: !1, text: "" };
14666
- const a = e.current?.value || "", r = a.length > De, { PUBLIC_ENV: o } = s, i = o === "local", l = a.trim() !== "" && (i || t !== "") && !r, d = r ? `No debes exceder el limite de ${De} caracteres.` : "Debes completar todos los campos para comentar.";
14656
+ const a = e.current?.value || "", r = a.length > qe, { PUBLIC_ENV: o } = s, i = o === "local", l = a.trim() !== "" && (i || t !== "") && !r, d = r ? `No debes exceder el limite de ${qe} caracteres.` : "Debes completar todos los campos para comentar.";
14667
14657
  return { boolean: l, text: d };
14668
14658
  }, Va = (e) => {
14669
14659
  const t = e.cookie.split("; ").find((s) => s.startsWith("reported="));
@@ -15658,7 +15648,7 @@ const za = Ud(Rd, {
15658
15648
  attributes: Ps().nonce ? {
15659
15649
  nonce: Ps().nonce
15660
15650
  } : {}
15661
- })(is), Ve = () => /* @__PURE__ */ n(
15651
+ })(is), Qe = () => /* @__PURE__ */ n(
15662
15652
  "svg",
15663
15653
  {
15664
15654
  xmlns: "http://www.w3.org/2000/svg",
@@ -15734,7 +15724,7 @@ const za = Ud(Rd, {
15734
15724
  return !e || !s || !r ? null : /* @__PURE__ */ n("div", { className: "sass-pg-cmt-rp-overlay", children: /* @__PURE__ */ g("div", { className: "sass-pg-cmt-rp-popup", children: [
15735
15725
  /* @__PURE__ */ n("button", { className: "close-reply-form su-flex su-absolute su-p-0 su-bg-transparent su-border-none", onClick: N, children: /* @__PURE__ */ n(Xe, {}) }),
15736
15726
  /* @__PURE__ */ n("div", { className: "sass-pg-cmt-rp-title", children: l.reportAbuseTitle }),
15737
- c === "loading" && /* @__PURE__ */ n("div", { className: "sass-pg-cmt-rp-loadingContainer", children: /* @__PURE__ */ n(Ve, {}) }),
15727
+ c === "loading" && /* @__PURE__ */ n("div", { className: "sass-pg-cmt-rp-loadingContainer", children: /* @__PURE__ */ n(Qe, {}) }),
15738
15728
  c === "form" || c === "loading" ? /* @__PURE__ */ g($, { children: [
15739
15729
  /* @__PURE__ */ n("div", { className: "sass-pg-cmt-rp-optionsContainer", children: A.map((S) => /* @__PURE__ */ g("label", { className: "sass-pg-cmt-rp-option", children: [
15740
15730
  /* @__PURE__ */ n(
@@ -15952,7 +15942,7 @@ const _d = (e, t) => {
15952
15942
  }, Wa = ({ username: e, date: t, DATE_CONFIG: s }) => /* @__PURE__ */ g("div", { className: "comment-header su-flex su-items-center su-relative su-flex-wrap", children: [
15953
15943
  /* @__PURE__ */ n("span", { className: "comment-username su-font-bold su-truncate", children: e }),
15954
15944
  /* @__PURE__ */ n("span", { className: "comment-header-dot", children: "•" }),
15955
- /* @__PURE__ */ n("span", { className: "comment-date su-truncate", children: dd(_e(Number(t), s)) })
15945
+ /* @__PURE__ */ n("span", { className: "comment-date su-truncate", children: dd(Fe(Number(t), s)) })
15956
15946
  ] }), $a = ({ user: e }) => /* @__PURE__ */ n("div", { className: "comment-avatar su-flex-center su-rounded-full su-font-bold su-overflow-hidden", children: e.picture ? /* @__PURE__ */ n(
15957
15947
  "img",
15958
15948
  {
@@ -16016,7 +16006,7 @@ const _d = (e, t) => {
16016
16006
  if (!i) return;
16017
16007
  const l = () => {
16018
16008
  const c = i.value.length;
16019
- i.parentElement && (i.parentElement.dataset.text = `${c}/${De}`), i.classList.toggle("over-limit", c > De), s(!os(e, t, a).boolean);
16009
+ i.parentElement && (i.parentElement.dataset.text = `${c}/${qe}`), i.classList.toggle("over-limit", c > qe), s(!os(e, t, a).boolean);
16020
16010
  };
16021
16011
  return i.addEventListener("input", l), l(), () => i.removeEventListener("input", l);
16022
16012
  }, [e, t, s]), /* @__PURE__ */ g("div", { className: "su-relative", children: [
@@ -16292,7 +16282,7 @@ const Hd = {
16292
16282
  texts: l
16293
16283
  }) => {
16294
16284
  const [d, c] = z(!0), [u, h] = z(""), m = () => {
16295
- t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${De}`), c(!0), o();
16285
+ t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${qe}`), c(!0), o();
16296
16286
  };
16297
16287
  return /* @__PURE__ */ g("div", { className: "comment-form reply-form su-p-8 su-relative", children: [
16298
16288
  /* @__PURE__ */ n("button", { className: "close-reply-form su-flex su-absolute su-p-0 su-bg-transparent su-border-none", onClick: m, children: /* @__PURE__ */ n(Xe, {}) }),
@@ -16412,7 +16402,7 @@ const Hd = {
16412
16402
  },
16413
16403
  y.id
16414
16404
  )),
16415
- m ? /* @__PURE__ */ n("div", { style: { marginLeft: "4rem", position: "relative" }, children: /* @__PURE__ */ n(Ve, {}) }) : u.morereply && /* @__PURE__ */ n(
16405
+ m ? /* @__PURE__ */ n("div", { style: { marginLeft: "4rem", position: "relative" }, children: /* @__PURE__ */ n(Qe, {}) }) : u.morereply && /* @__PURE__ */ n(
16416
16406
  "button",
16417
16407
  {
16418
16408
  className: "comment-replies-button reply-button su-flex-center su-rounded-full su-border-none su-relative",
@@ -16485,8 +16475,8 @@ const Hd = {
16485
16475
  addComment: a,
16486
16476
  API_ENV: r
16487
16477
  });
16488
- return h && typeof h == "number" ? (e.current?.parentElement && (e.current.parentElement.dataset.text = `0/${De}`), l(!0), setTimeout(() => {
16489
- e.current?.parentElement && (e.current.parentElement.dataset.text = `0/${De}`), l(!0);
16478
+ return h && typeof h == "number" ? (e.current?.parentElement && (e.current.parentElement.dataset.text = `0/${qe}`), l(!0), setTimeout(() => {
16479
+ e.current?.parentElement && (e.current.parentElement.dataset.text = `0/${qe}`), l(!0);
16490
16480
  }, h), !0) : !1;
16491
16481
  },
16492
16482
  isDisabled: i,
@@ -16572,8 +16562,8 @@ const Hd = {
16572
16562
  API_ENV: i,
16573
16563
  anonimusUser: f
16574
16564
  });
16575
- return h(""), p && typeof p == "number" ? (t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${De}`), c(!0), setTimeout(() => {
16576
- t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${De}`), c(!0);
16565
+ return h(""), p && typeof p == "number" ? (t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${qe}`), c(!0), setTimeout(() => {
16566
+ t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${qe}`), c(!0);
16577
16567
  }, p), !0) : !1;
16578
16568
  },
16579
16569
  isDisabled: d,
@@ -16645,7 +16635,7 @@ const Hd = {
16645
16635
  } catch (j) {
16646
16636
  throw S(!1), new Error(`Error al obtener comentarios: ${j}`);
16647
16637
  }
16648
- }, R = A?.comments && A.comments.length > 0, H = R ? d.commentHeaderMessageWithComments : d.commentHeaderMessageEmpty, V = /* @__PURE__ */ n("div", { style: { display: "flex", width: "100%", justifyContent: "center" }, children: /* @__PURE__ */ n(Ve, {}) }), O = () => {
16638
+ }, R = A?.comments && A.comments.length > 0, H = R ? d.commentHeaderMessageWithComments : d.commentHeaderMessageEmpty, V = /* @__PURE__ */ n("div", { style: { display: "flex", width: "100%", justifyContent: "center" }, children: /* @__PURE__ */ n(Qe, {}) }), O = () => {
16649
16639
  !window || !window.location || (document.cookie = `redirect_after_login_1=${window.location.pathname}; path=/; max-age=10000`, window.location.pathname = ge(i) + "/auth/login");
16650
16640
  };
16651
16641
  return /* @__PURE__ */ g($, { children: [
@@ -16983,7 +16973,7 @@ function su({ goToLogin: e, handleGoogleLogin: t, API_ENV: s, texts: a, termsAnd
16983
16973
  " ",
16984
16974
  o.termsSuffix
16985
16975
  ] }),
16986
- /* @__PURE__ */ n("button", { type: "submit", className: "sass-pg-cmt-lp-primary", disabled: m, children: m ? /* @__PURE__ */ n(Ve, {}) : o.createAccountButton })
16976
+ /* @__PURE__ */ n("button", { type: "submit", className: "sass-pg-cmt-lp-primary", disabled: m, children: m ? /* @__PURE__ */ n(Qe, {}) : o.createAccountButton })
16987
16977
  ]
16988
16978
  }
16989
16979
  )
@@ -17010,7 +17000,7 @@ function su({ goToLogin: e, handleGoogleLogin: t, API_ENV: s, texts: a, termsAnd
17010
17000
  )
17011
17001
  ] }),
17012
17002
  f && /* @__PURE__ */ n("p", { className: "sass-pg-cmt-lp-error", children: f }),
17013
- /* @__PURE__ */ n("button", { type: "submit", className: "sass-pg-cmt-lp-primary", disabled: m, children: m ? /* @__PURE__ */ n(Ve, {}) : o.confirmAccountButton }),
17003
+ /* @__PURE__ */ n("button", { type: "submit", className: "sass-pg-cmt-lp-primary", disabled: m, children: m ? /* @__PURE__ */ n(Qe, {}) : o.confirmAccountButton }),
17014
17004
  /* @__PURE__ */ g("p", { className: "sass-pg-cmt-lp-switch", children: [
17015
17005
  o.alreadyConfirmedText,
17016
17006
  /* @__PURE__ */ n("button", { type: "button", onClick: e, children: o.loginButtonText })
@@ -17295,7 +17285,7 @@ function ru({
17295
17285
  ] })
17296
17286
  ] }),
17297
17287
  r && /* @__PURE__ */ n("p", { className: "sass-pg-cmt-lp-error", children: r }),
17298
- /* @__PURE__ */ n("button", { type: "submit", className: "sass-pg-cmt-lp-primary", disabled: a, children: a ? /* @__PURE__ */ n(Ve, {}) : m.loginButtonText })
17288
+ /* @__PURE__ */ n("button", { type: "submit", className: "sass-pg-cmt-lp-primary", disabled: a, children: a ? /* @__PURE__ */ n(Qe, {}) : m.loginButtonText })
17299
17289
  ]
17300
17290
  }
17301
17291
  ),
@@ -17346,7 +17336,7 @@ function ou({
17346
17336
  )
17347
17337
  ] }),
17348
17338
  a && /* @__PURE__ */ n("p", { className: "sass-pg-cmt-lp-error", children: a }),
17349
- /* @__PURE__ */ n("button", { type: "submit", className: "sass-pg-cmt-lp-primary", disabled: s, children: s ? /* @__PURE__ */ n(Ve, {}) : i.sendCodeButton }),
17339
+ /* @__PURE__ */ n("button", { type: "submit", className: "sass-pg-cmt-lp-primary", disabled: s, children: s ? /* @__PURE__ */ n(Qe, {}) : i.sendCodeButton }),
17350
17340
  /* @__PURE__ */ n("p", { className: "sass-pg-cmt-lp-switch", children: /* @__PURE__ */ n("button", { type: "button", onClick: o, children: i.backButton }) })
17351
17341
  ]
17352
17342
  }
@@ -17453,7 +17443,7 @@ function iu({
17453
17443
  className: "sass-pg-cmt-lp-primary",
17454
17444
  style: { maxWidth: o ? "revert-layer" : "fit-content" },
17455
17445
  disabled: o,
17456
- children: o ? /* @__PURE__ */ n(Ve, {}) : w.changePasswordButton
17446
+ children: o ? /* @__PURE__ */ n(Qe, {}) : w.changePasswordButton
17457
17447
  }
17458
17448
  ),
17459
17449
  /* @__PURE__ */ n("p", { className: "sass-pg-cmt-lp-switch", children: /* @__PURE__ */ n("button", { type: "button", onClick: m, children: w.backButton }) })
@@ -18299,7 +18289,7 @@ export {
18299
18289
  to as NewsArticle,
18300
18290
  Om as NewsComponent,
18301
18291
  Pn as NewsContent,
18302
- Qe as NewsDescriptionComponent,
18292
+ De as NewsDescriptionComponent,
18303
18293
  zc as News_Content,
18304
18294
  Rn as NextPrev,
18305
18295
  so as OrgList,
@@ -18341,17 +18331,17 @@ export {
18341
18331
  zt as bannersReplace,
18342
18332
  bt as becomeVideoObject,
18343
18333
  Ke as buildTagUrl,
18344
- qe as cleanSchema,
18334
+ _e as cleanSchema,
18345
18335
  mm as coloringByStrokeSVGs,
18346
18336
  en as compileStyleProps,
18347
18337
  Lu as createAssessment,
18348
- Fe as cutString,
18338
+ Ve as cutString,
18349
18339
  sa as decodeApiEnv,
18350
18340
  Ou as encodeApiEnv,
18351
18341
  Ee as extractMainSlug,
18352
18342
  Su as extractRealtedNews,
18353
18343
  Ns as extractRelatedNews,
18354
- _e as formatDate,
18344
+ Fe as formatDate,
18355
18345
  Nu as formatDateEdiciones,
18356
18346
  Qt as formatDateJournalistArticule,
18357
18347
  yr as formatDateTimeline,