sass-template-common 0.2.5 → 0.2.6

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.
@@ -848,7 +848,7 @@ export declare const IframeHeader: ({ newsformated, internal, commonServices, }:
848
848
  newsformated: NewListResponseData;
849
849
  internal?: string;
850
850
  commonServices: CommonServices;
851
- }) => Promise<JSX.Element | undefined>;
851
+ }) => Promise<JSX.Element | null>;
852
852
 
853
853
  declare interface Image_2 {
854
854
  sizes: Size[];
@@ -2361,7 +2361,7 @@ export declare const VideoEmbeddedHeader: ({ newsformated, internal, commonServi
2361
2361
  newsformated: NewListResponseData;
2362
2362
  internal?: string;
2363
2363
  commonServices: CommonServices;
2364
- }) => Promise<JSX.Element | undefined>;
2364
+ }) => Promise<JSX.Element | null>;
2365
2365
 
2366
2366
  export declare interface VideoItem {
2367
2367
  type: string;
@@ -2426,7 +2426,7 @@ export declare const VideoYoutubeHeader: ({ newsformated, internal, commonServic
2426
2426
  newsformated: NewListResponseData;
2427
2427
  internal?: string;
2428
2428
  commonServices: CommonServices;
2429
- }) => Promise<JSX.Element | undefined>;
2429
+ }) => Promise<JSX.Element | null>;
2430
2430
 
2431
2431
  export declare const WebsiteList: ({ config }: {
2432
2432
  config: Config;
@@ -7086,7 +7086,7 @@ const jd = "_content_r1co8_1", Qd = "_videoContent_r1co8_20", Gd = "_articleSect
7086
7086
  /* @__PURE__ */ a("div", { children: /* @__PURE__ */ a(xt, { ...n, paths: e.paths }) })
7087
7087
  ] }) : null;
7088
7088
  }, r3 = (e) => /* @__PURE__ */ a("div", { className: qe.content, children: /* @__PURE__ */ m(zt, { className: qe.contentLayoutVideoSection, children: [
7089
- /* @__PURE__ */ m("a", { className: qe.header, href: "/", children: [
7089
+ /* @__PURE__ */ m("a", { className: qe.header, href: e.goBackLink ?? "/videos", children: [
7090
7090
  /* @__PURE__ */ a(
7091
7091
  "svg",
7092
7092
  {
@@ -9967,19 +9967,30 @@ const c0 = "_content_cu8lm_1", l0 = "_title_cu8lm_18", gr = {
9967
9967
  internal: t,
9968
9968
  commonServices: n
9969
9969
  }) => {
9970
- if (!t) return;
9971
- const r = await n.getNewsMultimedia({
9972
- path: t,
9973
- imagesizes: e.preview.sizes[0]?.scale
9974
- });
9975
- if (!r) return;
9976
- const o = r.data.data[0]?.videos.filter(
9977
- (s) => s.type === "video-embedded"
9978
- )[0];
9979
- return /* @__PURE__ */ m("div", { className: gr.content, children: [
9980
- /* @__PURE__ */ a("div", { dangerouslySetInnerHTML: { __html: o?.code ?? "" } }),
9981
- /* @__PURE__ */ a("p", { className: gr.title, children: o?.title })
9982
- ] });
9970
+ if (!t) return null;
9971
+ try {
9972
+ const r = e?.preview?.sizes?.[0]?.scale ?? void 0, s = (await n.getNewsMultimedia({
9973
+ path: t,
9974
+ imagesizes: r
9975
+ }))?.data?.data;
9976
+ if (!Array.isArray(s) || s.length === 0) return null;
9977
+ const i = s[0], d = (Array.isArray(i?.videos) ? i.videos : []).find(
9978
+ (l) => l?.type === "video-embedded"
9979
+ );
9980
+ return d?.code ? /* @__PURE__ */ m("div", { className: gr.content, children: [
9981
+ /* @__PURE__ */ a(
9982
+ "div",
9983
+ {
9984
+ dangerouslySetInnerHTML: {
9985
+ __html: typeof d.code == "string" ? d.code : ""
9986
+ }
9987
+ }
9988
+ ),
9989
+ d?.title && /* @__PURE__ */ a("p", { className: gr.title, children: d.title })
9990
+ ] }) : null;
9991
+ } catch {
9992
+ return null;
9993
+ }
9983
9994
  }, u0 = "_content_cu8lm_1", h0 = "_title_cu8lm_18", zn = {
9984
9995
  content: u0,
9985
9996
  title: h0
@@ -9988,27 +9999,31 @@ const c0 = "_content_cu8lm_1", l0 = "_title_cu8lm_18", gr = {
9988
9999
  internal: t,
9989
10000
  commonServices: n
9990
10001
  }) => {
9991
- if (!t) return;
9992
- const r = await n.getNewsMultimedia({
9993
- path: t,
9994
- imagesizes: e.preview.sizes[0]?.scale
9995
- });
9996
- if (!r) return;
9997
- const o = r.data.data[0]?.videos.filter(
9998
- (s) => s.type === "video-youtube"
9999
- )[0];
10000
- return /* @__PURE__ */ m("div", { className: zn.content, children: [
10001
- /* @__PURE__ */ a(
10002
- "iframe",
10003
- {
10004
- className: zn.iframeStyled,
10005
- src: `https://www.youtube.com/embed/${o?.code ?? ""}`,
10006
- frameBorder: "0",
10007
- allowFullScreen: !0
10008
- }
10009
- ),
10010
- /* @__PURE__ */ a("p", { className: zn.title, children: o?.title })
10011
- ] });
10002
+ if (!t) return null;
10003
+ try {
10004
+ const r = e?.preview?.sizes?.[0]?.scale ?? void 0, s = (await n.getNewsMultimedia({
10005
+ path: t,
10006
+ imagesizes: r
10007
+ }))?.data?.data;
10008
+ if (!Array.isArray(s) || s.length === 0) return null;
10009
+ const i = s[0], d = (Array.isArray(i?.videos) ? i.videos : []).find(
10010
+ (l) => l?.type === "video-youtube"
10011
+ );
10012
+ return !d?.code || typeof d.code != "string" ? null : /* @__PURE__ */ m("div", { className: zn.content, children: [
10013
+ /* @__PURE__ */ a(
10014
+ "iframe",
10015
+ {
10016
+ className: zn.iframeStyled,
10017
+ src: `https://www.youtube.com/embed/${d.code}`,
10018
+ frameBorder: "0",
10019
+ allowFullScreen: !0
10020
+ }
10021
+ ),
10022
+ d?.title && /* @__PURE__ */ a("p", { className: zn.title, children: d.title })
10023
+ ] });
10024
+ } catch {
10025
+ return null;
10026
+ }
10012
10027
  }, f0 = "_content_ezbiw_1", g0 = {
10013
10028
  content: f0
10014
10029
  }, p0 = async ({
@@ -10016,21 +10031,24 @@ const c0 = "_content_cu8lm_1", l0 = "_title_cu8lm_18", gr = {
10016
10031
  internal: t,
10017
10032
  commonServices: n
10018
10033
  }) => {
10019
- if (!t) return;
10020
- const r = await n.getNews({
10021
- path: t,
10022
- imagesizes: e.preview.sizes[0]?.scale
10023
- });
10024
- if (!r) return;
10025
- console.log("response", r.data.data[0]);
10026
- const o = r.data.data[0]?.external?.iframe;
10027
- return /* @__PURE__ */ a(
10028
- "div",
10029
- {
10030
- className: g0.content,
10031
- dangerouslySetInnerHTML: { __html: o ?? "" }
10032
- }
10033
- );
10034
+ if (!t) return null;
10035
+ try {
10036
+ const r = e?.preview?.sizes?.[0]?.scale ?? void 0, s = (await n.getNews({
10037
+ path: t,
10038
+ imagesizes: r
10039
+ }))?.data?.data;
10040
+ if (!Array.isArray(s) || s.length === 0) return null;
10041
+ const c = s[0]?.external?.iframe;
10042
+ return typeof c != "string" || c.trim() === "" ? null : /* @__PURE__ */ a(
10043
+ "div",
10044
+ {
10045
+ className: g0.content,
10046
+ dangerouslySetInnerHTML: { __html: c }
10047
+ }
10048
+ );
10049
+ } catch {
10050
+ return null;
10051
+ }
10034
10052
  }, A0 = "_content_156j7_1", pr = {
10035
10053
  content: A0
10036
10054
  }, ot = {
@@ -46,7 +46,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
46
46
  c0.3-0.1,1.2-0.5,1.5-1.6c0.4-1.6,0.4-5.3,0.4-5.3c0-0.1,0.2-3.7-0.2-5.4c-0.1-0.4-0.5-1.3-1.6-1.6C22.5,7.7,17.1,7.6,15.1,7.6zM12.8,19.2c-0.1,0-0.3,0-0.4-0.1c-0.2-0.1-0.4-0.4-0.4-0.7v-6.9c0-0.3,0.1-0.5,0.4-0.6c0.2-0.1,0.5-0.1,0.7,0l5.9,3.4
47
47
  c0.2,0.1,0.4,0.4,0.4,0.6c0,0.3-0.1,0.5-0.4,0.7l-5.9,3.5C13.1,19.1,12.9,19.2,12.8,19.2z M13.6,12.9v4.3l3.7-2.2L13.6,12.9z`}),n.jsx("path",{fill:"currentColor",d:"M12.8,18.6v-6.9l5.9,3.4L12.8,18.6z"})]}),ys=["telegram"],gn={facebook:e=>n.jsx(na,{...e}),instagram:e=>n.jsx(aa,{...e}),whatsapp:e=>n.jsx(dl,{...e}),tiktok:e=>n.jsx(ll,{...e}),youtube:e=>n.jsx(hl,{...e}),x:e=>n.jsx(Pt,{...e}),gnews:e=>n.jsx(rl,{...e}),podcast:e=>n.jsx(il,{...e}),telegram:e=>n.jsx(cl,{...e})},ul=e=>{const{freeZone:t,socials:a,menu:o,customBlock:s}=e;return n.jsxs("footer",{className:ge.content,children:[n.jsxs("section",{className:ge.brandContent,children:[n.jsx(P,{href:"/","aria-label":"Ir a la home",children:n.jsx("span",{className:ge.logoStyled,children:e.logo})}),n.jsx("div",{className:ge.socialMedia,children:Object.keys(a).map(r=>a[r]?.show&&n.jsx("a",{target:"_blank",rel:"noreferrer","aria-label":a[r].title+" link",className:ge.linkSocialNetwoks,href:a[r].url,children:gn[r]({className:`${ys.includes(r)?ge.socialNetworkIcon_stroke:ge.socialNetworkIcon} ${r==="instagram"?ge.socialInstagram:""}`})},r))})]}),n.jsxs("section",{className:ge.sectionContent,children:[n.jsx("div",{className:ge.section,children:o.filter(r=>!r.subitem).map((r,i)=>n.jsx(P,{href:r.link?r.link:void 0,target:r.target,className:`${ge.menuItem} footer-menu-item`,"aria-label":r.description,children:r.description},i))}),n.jsx("div",{className:ge.section,children:t&&t.map((r,i)=>n.jsx(P,{href:r.link?r?.link:void 0,target:r.target,className:ge.otherItems,children:r.description},i))})]}),s&&n.jsx(n.Fragment,{children:s}),n.jsxs("section",{className:ge.copyrigth,children:[n.jsx("p",{className:ge.copyrigthText,children:e.copyrigth}),n.jsx(P,{"aria-label":"Bluestack link",href:"https://www.bluestack.la",title:"Plataforma BLUESTACK CMS (antes CMS MEDIOS)",target:"_blank",rel:"noreferrer",children:n.jsx(sl,{})})]})]})},le={content:"_content_1e93o_1",imageContent:"_imageContent_1e93o_9",width1Autor:"_width1Autor_1e93o_18",width2Autor:"_width2Autor_1e93o_22",width3Autor:"_width3Autor_1e93o_26",imageAutor:"_imageAutor_1e93o_30",imageStyled:"_imageStyled_1e93o_69",contentIconStyled:"_contentIconStyled_1e93o_70",avatarContent:"_avatarContent_1e93o_87",journalistSection:"_journalistSection_1e93o_95",journalistInfo:"_journalistInfo_1e93o_103",journalistInfoLink:"_journalistInfoLink_1e93o_104",socialNetworkSection:"_socialNetworkSection_1e93o_139",avatarStyled:"_avatarStyled_1e93o_151",article:"_article_1e93o_156",socialButton:"_socialButton_1e93o_160",facebookStyled:"_facebookStyled_1e93o_176",emailStyled:"_emailStyled_1e93o_180",xStyled:"_xStyled_1e93o_184",linkedinStyled:"_linkedinStyled_1e93o_188",whatsappStyled:"_whatsappStyled_1e93o_192",whatsappLink:"_whatsappLink_1e93o_196",clipboardButton:"_clipboardButton_1e93o_212",googleProfileButton:"_googleProfileButton_1e93o_248"},fl=e=>n.jsx("svg",{width:"13",height:"23",viewBox:"0 0 13 23",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:n.jsx("path",{d:"M11.7376 0H8.80322C5.52359 0 3.36594 2.11766 3.36594 5.50591V8.0471H0.431531C0.172612 8.0471 0 8.21652 0 8.47064V12.113C0 12.3671 0.172612 12.5365 0.431531 12.5365H3.36594V21.7695C3.36594 22.0237 3.53855 22.1931 3.79747 22.1931H7.68125C7.94016 22.1931 8.11278 22.0237 8.11278 21.7695V12.5365H11.565C11.8239 12.5365 11.9966 12.3671 11.9966 12.113V8.47064C11.9966 8.38593 11.9102 8.21652 11.8239 8.13181C11.7376 8.0471 11.6513 7.9624 11.4787 7.9624H8.02647V5.84474C8.02647 4.82826 8.28539 4.32002 9.66629 4.32002H11.6513C11.9102 4.32002 12.0829 4.15061 12.0829 3.89649V0.508238C12.1692 0.169413 11.9966 0 11.7376 0Z",fill:"black"})}),pn=e=>n.jsx("svg",{version:"1.1",baseProfile:"tiny",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 30 30",overflow:"visible",xmlSpace:"preserve",...e,children:n.jsx("path",{fill:"currentColor",strokeWidth:"1.2656",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",d:`M10.2,8.3c0,1.1-0.9,2.1-2.2,2.1l0,0c-1.3,0-2.1-0.9-2.1-2.1c0-1.1,0.9-2.1,2.2-2.1C9.4,6.3,10.2,7.1,10.2,8.3z M6.1,23.7H10V11.9
48
48
  H6.1V23.7z M19.6,11.7c-2.1,0-3.5,2-3.5,2v-1.7h-3.9v11.8H16v-6.6c0-0.3,0-0.7,0.1-0.9c0.3-0.7,0.9-1.4,2-1.4c1.4,0,2,1.1,2,2.7v6.3
49
- h3.9V17C24.1,13.3,22.2,11.7,19.6,11.7z`})}),ml=e=>n.jsxs("svg",{width:"25",height:"21",viewBox:"0 0 25 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[n.jsx("path",{d:"M21.6424 1H3.33879C2.11855 1 1 2.01687 1 3.33879V17.0665C1 18.2867 2.01687 19.4053 3.33879 19.4053H21.6424C22.8626 19.4053 23.9812 18.3884 23.9812 17.0665V3.33879C23.9812 2.01687 22.8626 1 21.6424 1Z",stroke:"black",strokeWidth:"1.6"}),n.jsx("path",{d:"M21.6425 5.57591L12.5923 11.2704L3.33887 5.57591V3.33881L12.5923 8.93157L21.6425 3.33881V5.57591Z",fill:"black"})]}),gl=e=>n.jsxs("svg",{width:"24",height:"19",viewBox:"0 0 24 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[n.jsx("path",{d:"M20.8752 0.195801H2.96092C1.76664 0.195801 0.671875 1.19104 0.671875 2.48485V15.9206C0.671875 17.1149 1.66711 18.2096 2.96092 18.2096H20.8752C22.0695 18.2096 23.1643 17.2144 23.1643 15.9206V2.48485C23.1643 1.19104 22.0695 0.195801 20.8752 0.195801Z",fill:"black"}),n.jsx("path",{d:"M20.8752 4.67439L12.0176 10.2477L2.96094 4.67439V2.48486L12.0176 7.95868L20.8752 2.48486V4.67439Z",fill:"white"})]}),pl=e=>n.jsx("svg",{width:"13",height:"22",viewBox:"0 0 13 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{className:e.className,d:"M11.6659 1H8.99942C6.01924 1 4.0586 2.9084 4.0586 5.96183V8.25191H1.39213C1.15685 8.25191 1 8.40458 1 8.63359V11.916C1 12.145 1.15685 12.2977 1.39213 12.2977H4.0586V20.6183C4.0586 20.8473 4.21545 21 4.45073 21H7.97989C8.21516 21 8.37202 20.8473 8.37202 20.6183V12.2977H11.509C11.7443 12.2977 11.9012 12.145 11.9012 11.916V8.63359C11.9012 8.55725 11.8227 8.40458 11.7443 8.32824C11.6659 8.25191 11.5875 8.17557 11.4306 8.17557H8.29359V6.26718C8.29359 5.35115 8.52887 4.89313 9.78368 4.89313H11.5875C11.8227 4.89313 11.9796 4.74046 11.9796 4.51145V1.45802C12.058 1.15267 11.9012 1 11.6659 1Z",stroke:"black",strokeWidth:"1.6"})}),Al=e=>n.jsx("svg",{width:"26",height:"25",viewBox:"0 0 22 23",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:n.jsx("path",{d:"M10 5C9.45 5 9 5.45 9 6V9H6C5.45 9 5 9.45 5 10C5 10.55 5.45 11 6 11H9V14C9 14.55 9.45 15 10 15C10.55 15 11 14.55 11 14V11H14C14.55 11 15 10.55 15 10C15 9.45 14.55 9 14 9H11V6C11 5.45 10.55 5 10 5ZM10 0C4.48 0 0 4.48 0 10C0 15.52 4.48 20 10 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 10 0ZM10 18C5.59 18 2 14.41 2 10C2 5.59 5.59 2 10 2C14.41 2 18 5.59 18 10C18 14.41 14.41 18 10 18Z",fill:"black"})}),yl={FaceBook:{url:e=>`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(e)}`,icon:{outline:e=>n.jsx(pl,{className:e}),solid:e=>n.jsx(fl,{className:e})}},X:{url:e=>`https://twitter.com/intent/tweet?url=${encodeURIComponent(e)}`,icon:{outline:e=>n.jsx(Pt,{className:e}),solid:e=>n.jsx(Pt,{className:e})}},Whatsapp:{url:e=>`https://wa.me/?text=${encodeURIComponent(e)}`,icon:{outline:e=>n.jsx(is,{className:e}),solid:e=>n.jsx(rs,{className:e})}},Email:{url:e=>`mailto:?body=${encodeURIComponent(e)}`,icon:{outline:e=>n.jsx(ml,{className:e}),solid:e=>n.jsx(gl,{className:e})}},LinkedIn:{url:e=>`https://www.linkedin.com/sharing/share-offsite/?url=${encodeURIComponent(e)}`,icon:{outline:e=>n.jsx(pn,{className:e}),solid:e=>n.jsx(pn,{className:e})}}};function ws({noteShare:e}){const t=e&&e.url||(typeof window<"u"?window.location.href:"https://example.com");return e?n.jsxs("div",{className:le.socialNetworkSection,children:[e.options?.map(a=>{const o=yl[a];if(!o)return null;const s=e.variant==="outline"?o.icon.outline:o.icon.solid,r=o.url(t);return n.jsx(P,{href:r,target:"_blank",rel:"noopener noreferrer","aria-label":`Compartir en ${a}`,className:`${le.socialButton} ${le[`${a.toLowerCase()}Button`]??""} ${le[`${a.toLowerCase()}Styled`]}`,children:s("")},a)}),n.jsx("button",{type:"button","data-text":"Link copiado","data-active":"false","aria-label":"copy",className:[le.clipboardButton,"clipbtn-id"].join(" "),children:n.jsx(cs,{})}),n.jsx("button",{type:"button","aria-label":"share",className:[le.clipboardButton,"sharebtn-id"].join(" "),children:n.jsx(Al,{})})]}):null}const $e={content:"_content_r1co8_1",videoContent:"_videoContent_r1co8_20",articleSection:"_articleSection_r1co8_27",title:"_title_r1co8_42",article:"_article_r1co8_27",correspondent:"_correspondent_r1co8_75",iframeStyled:"_iframeStyled_r1co8_84",contentFrame:"_contentFrame_r1co8_94"},wl=e=>{const t=()=>e?.video.main.author?`${e?.video.main.author} - ${ke(e.video.info.date.created)}`:e?.video.main.author;return n.jsx("div",{className:$e.content,children:n.jsx(yt,{children:n.jsxs("div",{className:$e.videoContent,children:[n.jsx("p",{className:$e.title,children:e.video.main.title}),e.type==="vy"&&n.jsx("iframe",{className:$e.iframeStyled,src:`https://www.youtube.com/embed/${e.video.main.code}`,frameBorder:"0",allowFullScreen:!0}),e.type==="vf"&&n.jsx("iframe",{className:$e.iframeStyled,src:e.video.main.code,frameBorder:"0",allowFullScreen:!0}),e.type==="ve"&&n.jsx("div",{className:$e.contentFrame,dangerouslySetInnerHTML:{__html:e.video.main.code}}),n.jsxs("div",{className:$e.articleSection,children:[n.jsx("p",{className:$e.article,children:xe(e.video.main.description)}),n.jsx("p",{className:$e.correspondent,children:t()})]})]})})})},oa={content:"_content_wxhkd_1",linkStyled:"_linkStyled_wxhkd_9"},Ot=e=>{const{currentPage:t,showNext:a,maxPages:o,pathname:s,query:r}=e,i=(c,d,l)=>{let h="";const u=d.split("/");return u.indexOf("page")!==-1&&u.splice(h.indexOf("page")-1,u.length-1),u.forEach((f,g)=>{g!==0&&(h+=`/${f}`)}),c==="next"?h+=`/page/${t+1}${l?`?query=${l}`:""}`:h+=`/page/${t-1}${l?`?query=${l}`:""}`};return(t>1||a&&t<o)&&n.jsxs("section",{className:oa.content,children:[t>1&&n.jsx(P,{className:oa.linkStyled,href:i("prev",s||"",r||""),children:e.texts.prevButtonText??"Anterior"}),a&&t<o&&n.jsx(P,{className:oa.linkStyled,href:i("next",s||"",r||""),children:e.texts.nextButtonText??"Siguiente"})]})},An={content:"_content_zal5g_1",contentGrid:"_contentGrid_zal5g_8",contentGrid4:"_contentGrid4_zal5g_17",contentGrid3:"_contentGrid3_zal5g_21"},yn=e=>{const{grid:t=3}=e;return n.jsxs("section",{className:`${An.content}`,children:[n.jsx("div",{className:`${An.contentGrid} ${e.className?e.className:""} ${t===3?An.contentGrid3:An.contentGrid4} news-content`,children:e.children}),n.jsx(n.Fragment,{children:e.paginatorComponent})]})},Dt={content:"_content_15x47_1",newsDescription:"_newsDescription_15x47_15",image:"_image_15x47_41"},Oe=e=>{const{main:t,authors:a,info:o,preview:s,share:r,isVideo:i,config:c,overImage:d="default",isTitle:l,priorityHigh:h=!1,isLarge:u,paths:f,keywords:g}=e;return n.jsxs("section",{className:Dt.content,style:{...e.customSectionCardStyles},children:[n.jsx(P,{"aria-label":e.main?.title?.section,className:Dt.image,title:t?.title?.section,href:o?.link?.url,target:o?.link?.target,children:n.jsx(_e,{preview:s,isVideo:i,isLarge:u,priorityHigh:h})}),n.jsx("div",{className:Dt.newsDescription,children:n.jsx(ct,{main:t,authors:a,info:o,preview:s,share:r,config:c,overImage:d,isTitle:l,paths:f,keywords:g})})]})},Xe={content:"_content_14xk9_1",boxInformation:"_boxInformation_14xk9_12",titleGradient:"_titleGradient_14xk9_30",sectionDescription:"_sectionDescription_14xk9_58",articule:"_articule_14xk9_83",linkStyled:"_linkStyled_14xk9_116"},Mt=e=>{const{isVideo:t,info:a,main:o,overImage:s="default",titleGradient:r=!1}=e,{SHOW_TAG_BY_SECTION:i}=K(),c=()=>{if(i&&e.keywords?.tags?.length&&e.keywords.tags.length>0){const d=e.keywords.tags[0],l=d.name;return d.approved?n.jsx("h3",{children:n.jsx(P,{"aria-label":l,className:Xe.sectionDescription,href:at(d,e.paths),children:l})}):n.jsx("div",{className:Xe.sectionDescription,children:l})}else if(e.info?.section?.url)return n.jsx("h3",{children:n.jsx(P,{className:Xe.sectionDescription,href:e?.info?.link?.url,target:e?.info?.link?.target,children:e.info.section.name})});return null};return n.jsxs("section",{className:Xe.content,children:[n.jsx(P,{title:o?.title?.section,href:a.link.url,target:a.link.target,children:n.jsx(_e,{preview:e.preview,isVideo:t})}),n.jsxs("div",{className:[Xe.boxInformation,r?Xe.titleGradient:""].join(" "),style:{width:s!=="default"?"90%":"",left:s==="left"?0:s==="right"?"calc(10% - 1px)":"auto",top:s!=="default"?"-1rem":""},children:[n.jsx(c,{}),n.jsx("h2",{className:Xe.articule,children:n.jsx(P,{className:Xe.linkStyled,href:e?.info?.link?.url,target:e?.info?.link?.target,children:e.main?.title?.section})})]})]})},bs={content:"_content_kro73_1",contentLayout:"_contentLayout_kro73_5"},sa=e=>n.jsx("div",{className:bs.content,children:n.jsx(yt,{className:`${bs.contentLayout} ${e.className}`,children:e.children})}),bt={content:"_content_1nqra_1",before:"_before_1nqra_11",textContent:"_textContent_1nqra_22",title:"_title_1nqra_37",description:"_description_1nqra_46",linkStyled:"_linkStyled_1nqra_57"},bl=e=>{const t=e.logo;return n.jsxs("section",{className:bt.content,children:[e.backgroundImgURL&&n.jsx("img",{className:bt.before,src:e.backgroundImgURL,alt:""}),n.jsxs("div",{className:`${bt.textContent} error-text-content`,children:[n.jsx(t,{}),n.jsx("p",{className:bt.title,children:e.title}),n.jsx("p",{className:bt.description,children:e.description}),n.jsx(P,{className:bt.linkStyled,href:"/",children:e.buttonText??"Inicio"})]})]})},jt={content:"_content_zxcog_1",contentLabel:"_contentLabel_zxcog_8",label:"_label_zxcog_13",required:"_required_zxcog_22",input:"_input_zxcog_28"},vl=e=>n.jsxs("div",{className:jt.content,children:[n.jsxs("div",{className:jt.contentLabel,children:[n.jsx("label",{className:jt.label,children:e.label}),e.required&&n.jsx("span",{className:jt.required,children:"*"})]}),n.jsx("input",{className:jt.input,...e})]}),Qt={content:"_content_zgx5w_1",contentLabel:"_contentLabel_zgx5w_8",label:"_label_zgx5w_13",required:"_required_zgx5w_22",input:"_input_zgx5w_28"},Cl=e=>n.jsxs("div",{className:Qt.content,children:[n.jsxs("div",{className:Qt.contentLabel,children:[n.jsx("label",{className:Qt.label,children:e.label}),e.required&&n.jsx("span",{className:Qt.required,children:"*"})]}),n.jsxs("select",{className:Qt.input,...e,children:[n.jsx("option",{value:"",children:"--Seleccione--"}),e.options.map((t,a)=>n.jsx("option",{value:t.value,children:t.label},a))]})]}),ra={content:"_content_1mi9t_1",label:"_label_1mi9t_8",input:"_input_1mi9t_17"},_l=e=>n.jsxs("div",{className:ra.content,children:[n.jsx("label",{className:ra.label,children:e.label}),n.jsx("textarea",{className:ra.input,...e})]}),Re={boxInformation:"_boxInformation_achvw_1",textBox:"_textBox_achvw_30",contentBox:"_contentBox_achvw_40",liveBox:"_liveBox_achvw_50",dot:"_dot_achvw_72",sectionDescription:"_sectionDescription_achvw_97",articule:"_articule_achvw_110",description:"_description_achvw_137"},wn={content:"_content_8ehij_1",description:"_description_8ehij_23"},vs=e=>{let t="";return e.preview.description&&(t=e.preview.description),e.preview.copyright&&(t=`${t} ${e.preview.copyright}`),e.preview.photographer&&(t=`${t} ${e.preview.photographer}`),n.jsxs("div",{className:wn.content,children:[n.jsx(_e,{preview:e.preview,isLarge:!0,priorityHigh:!0}),t&&n.jsx("div",{className:wn.description,children:t})]})},Cs=e=>n.jsx(n.Fragment,{children:n.jsxs("div",{className:Re.boxInformation,children:[n.jsx(vs,{preview:e.preview}),n.jsxs("div",{className:Re.textBox,children:[n.jsxs("div",{className:Re.contentBox,children:[e?.info?.section&&n.jsx(P,{className:Re.sectionDescription,href:e?.info?.section?.url,children:e?.info?.section?.name}),n.jsxs("div",{className:Re.liveBox,children:[n.jsx("span",{className:Re.dot}),n.jsx("p",{children:"EN VIVO"})]})]}),n.jsx("h1",{className:Re.articule,children:e.main?.title?.section}),e.config?.showsubtitle&&n.jsx("div",{className:Re.description,style:{"--fontSizeSubTitle":e.fontSizeSubTitle,"--lineHeightSubTitle":e.lineHeightSubTitle},children:e.main.subtitle.striped})]})]})}),bn={content:"_content_oipiy_1",contentLine:"_contentLine_oipiy_17",contentText:"_contentText_oipiy_24",dateLink:"_dateLink_oipiy_37"},_s=e=>n.jsx("section",{className:bn.content,children:e.itemList[0]?.list.items.map((t,a)=>n.jsxs("div",{className:bn.contentLine,children:[n.jsx(P,{className:bn.dateLink,href:`#item-${a+1}`,children:Ya(t.date)}),n.jsx("div",{className:bn.contentText,children:(e.itemList[0]?.list.integrated,t.title)})]},a))}),Te={content:"_content_w8a84_1",contentInfo:"_contentInfo_w8a84_11",imageStyled:"_imageStyled_w8a84_19",contentIconStyled:"_contentIconStyled_w8a84_30",name:"_name_w8a84_56",email:"_email_w8a84_65",description:"_description_w8a84_81",contenSocialNetwork:"_contenSocialNetwork_w8a84_93",socialIcon:"_socialIcon_w8a84_103"},Ss=async e=>{const{autor:t,autorIcon:a}=e,o=a;return n.jsx("section",{className:`${Te.content} ${e.className?e.className:null}`,children:n.jsxs("div",{className:Te.contentInfo,children:[t.info.image?n.jsx("img",{fetchPriority:"low",loading:"lazy",alt:"",className:Te.imageStyled,src:await ue(t.info.image.sizes[0]?.url||"")}):n.jsx("div",{className:Te.contentIconStyled,children:n.jsx(o,{})}),n.jsx("h1",{className:Te.name,children:t.info.fullname}),t.addtional.USER_SHOWEMAIL&&n.jsx("p",{className:Te.email,children:t.info.email}),t.addtional.USER_SHOWBIO&&n.jsx("p",{className:Te.description,children:t.addtional.USER_MIBIO}),n.jsxs("div",{className:Te.contenSocialNetwork,children:[t.addtional.USER_USERFB&&n.jsx("a",{href:t.addtional.USER_USERFB,target:"_blank",rel:"noreferrer",children:n.jsx(na,{className:Te.socialIcon})}),t.addtional.USER_USERIG&&n.jsx("a",{href:t.addtional.USER_USERIG,target:"_blank",rel:"noreferrer",children:n.jsx(aa,{className:Te.socialIcon})}),t.addtional.USER_USERTWT&&n.jsx("a",{href:t.addtional.USER_USERTWT,target:"_blank",rel:"noreferrer",children:n.jsx(Pt,{className:Te.socialIcon})}),t.addtional.USER_USERLIN&&n.jsx("a",{href:t.addtional.USER_USERLIN,target:"_blank",rel:"noreferrer",children:n.jsx(pn,{className:Te.socialIcon})})]})]})})},Se={content:"_content_18ozj_1",contentInfo:"_contentInfo_18ozj_13",contentAuthor:"_contentAuthor_18ozj_26",imageStyled:"_imageStyled_18ozj_33",contentIconStyled:"_contentIconStyled_18ozj_42",name:"_name_18ozj_64",email:"_email_18ozj_72",description:"_description_18ozj_82",contenSocialNetwork:"_contenSocialNetwork_18ozj_93",socialIcon:"_socialIcon_18ozj_103"},Ns=async e=>{const{autor:t,autorIcon:a}=e,o=a;return n.jsx("section",{className:Se.content,children:n.jsxs("div",{className:Se.contentInfo,children:[t.info.image?n.jsx("img",{fetchPriority:"low",loading:"lazy",className:Se.imageStyled,src:await ue(t.info.image.sizes[0]?.url||"")}):n.jsx("div",{className:Se.contentIconStyled,children:n.jsx(o,{})}),n.jsxs("div",{className:Se.contentAuthor,children:[n.jsx("h1",{className:Se.name,children:t.info.fullname}),t.addtional.USER_SHOWEMAIL&&n.jsx("p",{className:Se.email,children:t.info.email}),t.addtional.USER_SHOWBIO&&n.jsx("p",{className:Se.description,children:t.addtional.USER_MIBIO}),n.jsxs("div",{className:Se.contenSocialNetwork,children:[t.addtional.USER_USERFB&&n.jsx("a",{href:t.addtional.USER_USERFB,target:"_blank",rel:"noreferrer",children:n.jsx(na,{className:Se.socialIcon})}),t.addtional.USER_USERIG&&n.jsx("a",{href:t.addtional.USER_USERIG,target:"_blank",rel:"noreferrer",children:n.jsx(aa,{className:Se.socialIcon,style:{padding:"4px"}})}),t.addtional.USER_USERTWT&&n.jsx("a",{href:t.addtional.USER_USERTWT,target:"_blank",rel:"noreferrer",children:n.jsx(Pt,{className:Se.socialIcon})}),t.addtional.USER_USERLIN&&n.jsx("a",{href:t.addtional.USER_USERLIN,target:"_blank",rel:"noreferrer",children:n.jsx(pn,{className:Se.socialIcon})})]})]})]})})},Es={content:"_content_jg6i2_1",bannerSection:"_bannerSection_jg6i2_25"},ia=e=>n.jsxs("section",{className:Es.content,children:[e.children,n.jsxs("div",{className:Es.bannerSection,children:[e.bannerTop,n.jsx(fn,{content:e.ranking,title:e.readestTitle,paths:e.paths,customNewsDescriptionStyles:{"--news-description-title-size-desk":"16px","--news-description-title-line-height-desk":"22px","--news-description-title-size-mobile":"16px","--news-description-title-line-height-mobile":"22px"}}),e.banner]})]}),qe={content:"_content_7v98f_1",header:"_header_7v98f_30",videos:"_videos_7v98f_56",videoContent:"_videoContent_7v98f_63",articleSection:"_articleSection_7v98f_70",contentLayoutVideoSection:"_contentLayoutVideoSection_7v98f_85",sectionVideoList:"_sectionVideoList_7v98f_93",iframeStyled:"_iframeStyled_7v98f_166",contentFrame:"_contentFrame_7v98f_172"},ca={content:"_content_1dj0q_1",linkImage:"_linkImage_1dj0q_12",playStyled:"_playStyled_1dj0q_19"},Sl=async e=>{const t=un(),a={...e,main:{...e.main,title:{...e.main.title,article:xe(e.main.title.article,60)}}};return e&&e.info?n.jsxs("section",{className:ca.content,children:[n.jsx("a",{className:ca.linkImage,target:e?.info?.link?.target,title:e?.main?.title?.section,href:e.info.link.url,children:n.jsxs("div",{style:{position:"relative"},children:[n.jsx("img",{src:await ue(e.preview.sizes[0]?.url||"")}),n.jsx(t,{className:`${ca.playStyled} saas-image-play-icon`})]})}),n.jsx("div",{children:n.jsx(ct,{...a,paths:e.paths})})]}):null},Nl=e=>n.jsx("div",{className:qe.content,children:n.jsxs(yt,{className:qe.contentLayoutVideoSection,children:[n.jsxs("a",{className:qe.header,href:"/",children:[n.jsx("svg",{width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.6055 4.86193C12.8659 5.12228 12.8659 5.54439 12.6055 5.80474L8.41026 10L12.6055 14.1953C12.8659 14.4556 12.8659 14.8777 12.6055 15.1381C12.3452 15.3984 11.9231 15.3984 11.6627 15.1381L6.99604 10.4714C6.73569 10.2111 6.73569 9.78894 6.99604 9.52859L11.6627 4.86193C11.9231 4.60158 12.3452 4.60158 12.6055 4.86193Z",fill:"white"})}),e.titleGoBack??"VOLVER A VIDEOS"]}),n.jsxs("div",{className:qe.videos,children:[n.jsxs("div",{className:qe.videoContent,style:e.mainVideoStyles,children:[e.type==="vy"&&n.jsx("iframe",{className:qe.iframeStyled,src:`https://www.youtube.com/embed/${e.video?.main?.code}`,frameBorder:"0",allowFullScreen:!0}),e.type==="vf"&&n.jsx("iframe",{className:qe.iframeStyled,src:e.video?.main?.code,frameBorder:"0",allowFullScreen:!0}),e.type==="ve"&&n.jsx("div",{className:qe.contentFrame,dangerouslySetInnerHTML:{__html:e.video?.main?.code??""}}),n.jsx("div",{className:qe.articleSection,children:n.jsx(ct,{isTitle:!0,cutSubtitle:!1,...mt({...e?.video,info:{...e?.video?.info,link:{...e.video?.info?.link,url:""}}},!0,!!e.video?.main?.description),paths:e.paths})})]}),n.jsxs("div",{className:qe.sectionVideoList,style:e.listVideoStyles,children:[e.banner&&n.jsx(fe,{banners:e.banner.banners,name:e.banner.bannerName}),e.relatedName&&n.jsx("h2",{className:`${qe.relatedTitle} saas-video-related-title`,children:e.relatedName}),Array.isArray(e.videoList)&&e.videoList.map((t,a)=>E.createElement(Sl,{...mt(t,!0,!1),key:a,paths:e.paths}))]})]})]})}),He={content:"_content_gcte1_1",titleContent:"_titleContent_gcte1_24",title:"_title_gcte1_24",startLine:"_startLine_gcte1_88",line:"_line_gcte1_93",bottomLine:"_bottomLine_gcte1_99",childrenContent:"_childrenContent_gcte1_118",readMore:"_readMore_gcte1_131"},he=E.forwardRef((e,t)=>{const{isTitle:a=!1,isOpinion:o=!1}=e,s=a?n.jsx("h1",{className:He.title,children:e.title}):n.jsx("h2",{className:He.title,children:e.title});return n.jsxs("section",{className:He.content,children:[e.title&&n.jsxs("div",{className:[He.titleContent,e.className??""].join(" "),"data-after":`${o}`,children:[n.jsx("hr",{className:He.startLine}),e.titleUrl?n.jsx(P,{href:e.titleUrl,children:s}):s,n.jsx("hr",{className:He.line}),e.titleUrl&&n.jsx(P,{className:He.readMore,href:e.titleUrl?.toString()??""})]}),e.title&&n.jsx("hr",{className:[He.bottomLine,e.className??""].join(" ")}),n.jsx("div",{className:He.childrenContent,ref:t,children:e.children})]})}),la=e=>n.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"var(--header-icons)",xmlns:"http://www.w3.org/2000/svg",...e,children:n.jsx("path",{d:"M10.5283 0.562859C13.1487 0.49118 15.6972 1.42576 17.6494 3.17516C19.6016 4.92465 20.8095 7.3565 21.0244 9.96911C21.2392 12.5816 20.4447 15.1772 18.8047 17.222L18.6641 17.3978L18.8232 17.556L23.1475 21.8451H23.1484C23.3137 22.016 23.4062 22.2451 23.4062 22.4828C23.4062 22.7194 23.3143 22.9469 23.1504 23.1175C23.0653 23.2033 22.964 23.2712 22.8525 23.3177C22.7409 23.3642 22.6209 23.388 22.5 23.3881C22.3791 23.3881 22.2591 23.3642 22.1475 23.3177C22.0358 23.2712 21.9338 23.2034 21.8486 23.1175L17.5547 18.8236L17.3965 18.6644L17.2217 18.805C15.1768 20.4451 12.5812 21.2395 9.96875 21.0248C7.35614 20.8099 4.9243 19.602 3.1748 17.6498C1.4254 15.6976 0.490821 13.149 0.5625 10.5287C0.634205 7.90823 1.70691 5.41454 3.56055 3.56091C5.41418 1.70727 7.90787 0.634563 10.5283 0.562859ZM14.0537 3.057C12.516 2.42011 10.8239 2.25385 9.19141 2.57848C7.55873 2.90324 6.05893 3.7051 4.88184 4.88219C3.70474 6.05929 2.90288 7.55909 2.57812 9.19176C2.25349 10.8242 2.41975 12.5163 3.05664 14.0541C3.69368 15.592 4.77311 16.9066 6.15723 17.8314C7.54131 18.7562 9.16841 19.2504 10.833 19.2504C13.0652 19.2504 15.2058 18.363 16.7842 16.7845C18.3626 15.2061 19.25 13.0656 19.25 10.8334C19.25 9.16877 18.7558 7.54167 17.8311 6.15759C16.9062 4.77347 15.5917 3.69404 14.0537 3.057Z",fill:"var(--header-icons)",stroke:"var(--header-icons)",strokeWidth:"0.5"})}),vn=e=>n.jsx("svg",{width:"12",height:"13",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.862254 3.39448C1.1226 3.13413 1.54471 3.13413 1.80506 3.39448L6.00033 7.58974L10.1956 3.39448C10.4559 3.13413 10.878 3.13413 11.1384 3.39448C11.3987 3.65483 11.3987 4.07694 11.1384 4.33729L6.47173 9.00396C6.21138 9.26431 5.78927 9.26431 5.52892 9.00396L0.862254 4.33729C0.601905 4.07694 0.601905 3.65483 0.862254 3.39448Z",fill:e.fill??"#7B888A"})}),ce={drawerStyled:"_drawerStyled_xk2do_1",sidebarCustom:"_sidebarCustom_xk2do_6",accordionStyled:"_accordionStyled_xk2do_24",accordionHeading:"_accordionHeading_xk2do_35",accordionSummeryStyled:"_accordionSummeryStyled_xk2do_44",linkStyled:"_linkStyled_xk2do_71",subLinkStyled:"_subLinkStyled_xk2do_91",inputContent:"_inputContent_xk2do_113",buttonContent:"_buttonContent_xk2do_114",inputStyled:"_inputStyled_xk2do_124",buscar:"_buscar_xk2do_140",buttonStyled:"_buttonStyled_xk2do_168",accordionDetailsStyled:"_accordionDetailsStyled_xk2do_183",footerSlider:"_footerSlider_xk2do_198",socialMedia:"_socialMedia_xk2do_209",copyRights:"_copyRights_xk2do_228",icon:"_icon_xk2do_239"},El=({sidebar:e,socials:t,copyrigth:a,sidebarExtra:o,searchKeyWord:s})=>n.jsxs("aside",{className:ce.drawerStyled,id:"sidebar-expandable",style:{"--header-icons":"var(--search-input-icons)"},children:[n.jsx("input",{type:"checkbox",id:"side-bar-state"}),n.jsxs("section",{className:ce.sidebarCustom,children:[n.jsx("div",{className:ce.buttonContent,children:n.jsx("label",{className:ce.buttonStyled,htmlFor:"side-bar-state",children:n.jsx(wt,{className:ce.icon})})}),n.jsx("div",{className:ce.inputContent,children:n.jsxs("form",{className:ce.inputStyled,action:"/buscar",method:"GET",children:[n.jsx("input",{className:ce.buscar,type:"text",name:"query",placeholder:s+"..."}),n.jsx("button",{type:"submit",style:{background:"transparent",border:"none",outline:"none",padding:0,margin:0},children:n.jsx(la,{color:"var(--search-input-icons)"})})]})}),n.jsxs("div",{style:{display:"flex",flexDirection:"column",justifyContent:"space-between",height:"100%"},children:[n.jsxs("div",{children:[o,e.map((r,i)=>n.jsxs("div",{className:ce.accordionStyled,children:[n.jsx("input",{type:"checkbox",style:{display:"none"},id:"accordion_"+i}),n.jsx("h3",{className:ce.accordionHeading,children:Array.isArray(r.subitem)?n.jsxs("label",{className:ce.accordionSummeryStyled,htmlFor:"accordion_"+i,children:[r.link?n.jsx(P,{className:`${ce.linkStyledAccordion} ${ce.linkStyled}`,href:r.link?r.link:void 0,target:r.target,children:r.description}):n.jsx("div",{children:r.description}),n.jsx(vn,{width:13,height:13,fill:"var(--side-bar-arrow-color)"})]}):n.jsx(P,{className:ce.linkStyled,href:r.link?r.link:void 0,target:r.target,children:r.description})}),Array.isArray(r.subitem)&&n.jsx("div",{className:ce.accordionDetailsStyled,style:{"--max-height":r.subitem.length*45+"px"},children:r.subitem.map((c,d)=>n.jsx(P,{className:ce.subLinkStyled,href:c.link?c.link:void 0,target:c.target,children:c.description},d))})]},i))]}),n.jsxs("div",{className:ce.footerSlider,children:[n.jsx("div",{className:ce.socialMedia,children:Object.keys(t).map(r=>t[r]?.show&&n.jsx("a",{target:"_blank",rel:"noreferrer","aria-label":t[r].title+" link",className:ce.linkSocialNetwork,href:t[r].url,children:gn[r]({className:ce.icon})},r))}),n.jsx("p",{className:ce.copyRights,children:a})]})]})]})]}),Ts=e=>n.jsxs("svg",{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[n.jsx("path",{d:"M5 22.5H25C25.6875 22.5 26.25 21.9375 26.25 21.25C26.25 20.5625 25.6875 20 25 20H5C4.3125 20 3.75 20.5625 3.75 21.25C3.75 21.9375 4.3125 22.5 5 22.5ZM5 16.25H25C25.6875 16.25 26.25 15.6875 26.25 15C26.25 14.3125 25.6875 13.75 25 13.75H5C4.3125 13.75 3.75 14.3125 3.75 15C3.75 15.6875 4.3125 16.25 5 16.25ZM3.75 8.75C3.75 9.4375 4.3125 10 5 10H25C25.6875 10 26.25 9.4375 26.25 8.75C26.25 8.0625 25.6875 7.5 25 7.5H5C4.3125 7.5 3.75 8.0625 3.75 8.75Z",fill:e.color}),n.jsx("path",{d:"M5 22.5H25C25.6875 22.5 26.25 21.9375 26.25 21.25C26.25 20.5625 25.6875 20 25 20H5C4.3125 20 3.75 20.5625 3.75 21.25C3.75 21.9375 4.3125 22.5 5 22.5ZM5 16.25H25C25.6875 16.25 26.25 15.6875 26.25 15C26.25 14.3125 25.6875 13.75 25 13.75H5C4.3125 13.75 3.75 14.3125 3.75 15C3.75 15.6875 4.3125 16.25 5 16.25ZM3.75 8.75C3.75 9.4375 4.3125 10 5 10H25C25.6875 10 26.25 9.4375 26.25 8.75C26.25 8.0625 25.6875 7.5 25 7.5H5C4.3125 7.5 3.75 8.0625 3.75 8.75Z",fill:e.color})]}),Gt={content:"_content_1k52x_1",chipStyled:"_chipStyled_1k52x_17",headLine:"_headLine_1k52x_17",live:"_live_1k52x_25",closeLiveStyled:"_closeLiveStyled_1k52x_88"},Is=e=>{const{alertZone:t,id:a="close-alert"}=e,o=()=>n.jsx(P,{className:Gt.headLine,href:t?.data[0]?.info.link.url,target:t?.data[0]?.info.link.target,title:t?.data[0]?.main.title.home,children:t?.data[0]?.main?.title.home??""});return n.jsxs(n.Fragment,{children:[n.jsx("input",{type:"checkbox",id:a,style:{display:"none"},defaultChecked:!(t&&t?.data&&t?.data[0]?.main?.title.home)}),t&&t?.data&&t?.data[0]?.main?.title.home&&n.jsxs("div",{id:"alert-chip",className:Gt.content,style:e.forceShow?{display:"flex",position:"sticky",top:100}:{},children:[n.jsxs("div",{className:Gt.live,children:[n.jsx("div",{className:Gt.chipStyled,children:t?.entity?.description}),e.forceShow&&n.jsx(o,{}),n.jsx("label",{htmlFor:a,children:n.jsx(wt,{className:Gt.closeLiveStyled})})]}),n.jsx(o,{})]})]})},ze={content:"_content_18yq5_1",linkStyled:"_linkStyled_18yq5_14",linkSocialNetwork:"_linkSocialNetwork_18yq5_28",title:"_title_18yq5_49",tabs:"_tabs_18yq5_60",socialNetwork:"_socialNetwork_18yq5_68",icon:"_icon_18yq5_78",facebook:"_facebook_18yq5_84",youtube:"_youtube_18yq5_88",x:"_x_18yq5_92",instagram:"_instagram_18yq5_96",gnews:"_gnews_18yq5_100",tiktok:"_tiktok_18yq5_104",whatsapp:"_whatsapp_18yq5_108"},Tl=e=>{const{cintillo:t,tapeTitle:a,socials:o}=e,s="",r=t?.findIndex(i=>i.link===s)??0;return(Array.isArray(t)||e.socialIcons)&&n.jsxs("section",{className:ze.content,children:[Array.isArray(t)&&n.jsxs("div",{className:`${ze.tabs} header-page-tape-content`,children:[a!==""&&n.jsx("p",{className:ze.title,children:`${a}`}),t&&t[r]&&n.jsx(P,{className:ze.linkStyled,target:t[r]?.target,href:t[r]?.link,style:{color:t[r]?.link===s?"var(--header-tape-active-link)":"var(--header-tape-icons)",fontWeight:t[r]?.link===s?"700":"400"},children:t[r]?.description},r),t&&t.map((i,c)=>{if(c!==r)return n.jsx(P,{className:ze.linkStyled,href:i?.link,style:{color:i?.link===s?"var(--header-tape-active-link)":"var(--header-tape-color)",fontWeight:i?.link===s?"700":"400"},children:i?.description},c)})]}),n.jsx("div",{className:ze.socialNetwork,children:Object.keys(o).map(i=>o[i]?.show&&n.jsx("a",{target:"_blank",rel:"noreferrer","aria-label":o[i].title+" link",className:ze.linkSocialNetwork,href:o[i].url,children:gn[i]({className:[ze.icon,ze[i]??""].join(" ")})},i))})]})},Ie={headerStyled:"_headerStyled_t61zq_1",headerContent:"_headerContent_t61zq_14",iconContent:"_iconContent_t61zq_25",menuButton:"_menuButton_t61zq_34",logoStyled:"_logoStyled_t61zq_66",buttonSection:"_buttonSection_t61zq_94",buttonSectionSearch:"_buttonSectionSearch_t61zq_109",headLineContent:"_headLineContent_t61zq_130",headLineTitle:"_headLineTitle_t61zq_143",headLine:"_headLine_t61zq_130",hasAlertZone:"_hasAlertZone_t61zq_196"},Il=e=>{const{alertZone:t}=e;return n.jsxs("header",{className:Ie.headerStyled,children:[e.socialIcons&&n.jsx(Tl,{socialIcons:e.socialIcons,cintillo:e.cintillo,tapeTitle:e.tapeTitle,socials:e.socials}),n.jsxs("div",{className:`${Ie.headerContent} center-mobile-header-icon`,children:[n.jsx(mn,{id:"button-app",className:Ie.menuButton,toggledrawerevent:"true","aria-label":"menu","aria-labelledby":"menu",title:"menu",children:n.jsx(Ts,{className:Ie.startIcon,color:"var(--header-icons)",width:27,height:27})}),n.jsx("div",{className:Ie.iconContent,children:n.jsx(P,{href:"/","aria-label":"Home",className:"icon header-logo-link-sticky",style:{display:"flex"},children:E.createElement("span",{className:Ie.logoStyled},e.icon)})}),!e.showAlertPop&&t?.data&&n.jsxs("div",{className:Ie.headLineContent,children:[n.jsx("div",{className:`${Ie.headLineTitle} headLineTitle`,children:t.entity.description?`${t.entity.description}`:""}),n.jsx(P,{className:Ie.headLine,href:t.data[0]?.info.link.url,target:t.data[0]?.info.link.target,title:t.data[0]?.main.title.home,children:xe(t.data[0]?.main.title.home??"",120)})]}),n.jsxs("div",{style:e.showAlertPop?{marginLeft:"auto"}:{},className:[Ie.buttonSection,t?.data?Ie.hasAlertZone:"","search-button"].join(" "),children:[n.jsx(P,{href:e.searchLink?e.searchLink:"/buscar","aria-label":e.searchKeyWord,className:`${Ie.buttonSectionSearch} search-button-icon`,style:{display:"flex"},children:n.jsx(la,{width:28,height:28,color:"currentColor"})}),e.rightZone]})]}),!e.showAlertPop&&n.jsx(Is,{alertZone:t,forceShow:e.showAlertPop})]})},Fe={ul:"_ul_j3aqc_1",li:"_li_j3aqc_10",liBefore:"_liBefore_j3aqc_18",ulContent:"_ulContent_j3aqc_33",contentModal:"_contentModal_j3aqc_44",linkStyled:"_linkStyled_j3aqc_56",itemLink:"_itemLink_j3aqc_81"},kl=e=>{const{items:t}=e;return n.jsx("ul",{className:Fe.ul,children:t.map((a,o)=>n.jsxs("li",{className:`${Fe.liBefore} ${Fe.li}`,children:[a.link?n.jsxs(P,{"aria-label":a.description,className:Fe.linkStyled,href:a.link?a.link:void 0,target:a.target,children:[a.description,Array.isArray(a.subitem)&&n.jsx(vn,{})]}):n.jsxs("span",{"aria-label":a.description,className:Fe.linkStyled,children:[a.description,Array.isArray(a.subitem)&&n.jsx(vn,{})]}),Array.isArray(a.subitem)&&n.jsx("ul",{className:Fe.ulContent,children:n.jsx("div",{className:Fe.contentModal,children:a.subitem.map((s,r)=>n.jsx("li",{className:Fe.li,children:n.jsx(P,{className:Fe.itemLink,"aria-label":s.description,href:s.link?s.link:void 0,target:s.target,children:s.description})},r))})})]},o))})},pe={headerStyled:"_headerStyled_ksxbt_1",headerContent:"_headerContent_ksxbt_23",menuButtonSection:"_menuButtonSection_ksxbt_33",menuButton:"_menuButton_ksxbt_33",buttonSection:"_buttonSection_ksxbt_84",buttonSectionSearch:"_buttonSectionSearch_ksxbt_101",hasAlertZone:"_hasAlertZone_ksxbt_111",buttonText:"_buttonText_ksxbt_130",logoContent:"_logoContent_ksxbt_140",logoStyled:"_logoStyled_ksxbt_148",headLineContent:"_headLineContent_ksxbt_172",headLineTitle:"_headLineTitle_ksxbt_187",menuSection:"_menuSection_ksxbt_203",headLine:"_headLine_ksxbt_172",line:"_line_ksxbt_255"},xl=e=>{const{menu:t,alertZone:a}=e;return n.jsx("header",{className:pe.headerStyled,style:{top:e.cintillo||e.socialIcons?40:0},children:n.jsxs("div",{style:e.showAlertPop?{gap:0}:{},className:[pe.headerContent,a?.data?pe.hasAlertZone:""].join(" "),children:[n.jsx("div",{className:pe.menuButtonSection,children:n.jsxs(mn,{className:pe.menuButton,id:"button-app",toggledrawerevent:"true","aria-label":"menu","aria-labelledby":"menu",title:"menu",children:[n.jsx(Ts,{color:"var(--header-icons)",width:27,height:27}),n.jsx("p",{className:pe.buttonText,style:{lineHeight:0},children:e.menuText})]})}),n.jsx("div",{className:pe.logoContent,children:n.jsx(P,{href:"/","aria-label":"Home",className:"header-logo-link",children:E.createElement("span",{className:`${pe.logoStyled}`},e.icon)})}),n.jsxs("div",{className:pe.buttonSection,children:[n.jsx(P,{href:e.searchLink?e.searchLink:"/buscar",style:{display:"flex"},className:pe.buttonSectionSearch,"aria-label":e.searchKeyWord,children:n.jsx(la,{width:28,height:28,color:"currentColor"})}),e.rightZone]}),!e.showAlertPop&&a?.data?n.jsxs("div",{className:pe.headLineContent,children:[n.jsx("p",{className:`${pe.headLineTitle} headLineTitle`,children:a.entity.description?`${a.entity.description}`:""}),n.jsx(P,{className:pe.headLine,href:a.data[0]?.info.link.url,target:a.data[0]?.info.link.target,title:a.data[0]?.main.title.home,children:xe(a.data[0]?.main.title.home??"",120)})]}):n.jsx("div",{className:pe.line}),n.jsx("div",{className:pe.menuSection,style:e.showAlertPop?{"--showAlertPop":"0px"}:{},children:Array.isArray(t)&&n.jsx(kl,{items:t})})]})})},da={childrenContent:"_childrenContent_wqlb4_1",childrenContentAux:"_childrenContentAux_wqlb4_12",op2:"_op2_wqlb4_25"},Ul=e=>{const{alertZone:t,children:a,sidebar:o}=e;return n.jsxs(n.Fragment,{children:[n.jsx(Il,{...e}),!e.showOnlyStickyHeader&&n.jsx(xl,{...e}),n.jsxs("div",{className:[da.childrenContent,e.showAlertPop?da.op2:"",t?.data?da.childrenContentAux:""].join(" "),style:e.showOnlyStickyHeader?{"--hasAlertMargin":"3.6rem !important"}:{},id:"content-layout",children:[e.showAlertPop&&n.jsx(Is,{alertZone:t,forceShow:e.showAlertPop,id:"static-alert-chip"}),a]}),n.jsx(El,{sidebarExtra:e.sidebarExtra,searchKeyWord:e.searchKeyWord,sidebar:o,socials:e.socials,copyrigth:e.copyrigth})]})},vt={content:"_content_16ydf_1",tags:"_tags_16ydf_10",chipStyled:"_chipStyled_16ydf_20",tagLink:"_tagLink_16ydf_47",tagStyled:"_tagStyled_16ydf_53"},ks=e=>n.jsx("section",{className:vt.content,children:Array.isArray(e.tags)&&n.jsxs("div",{className:vt.tags,children:[n.jsx("p",{className:vt.tagStyled,children:e.title?e.title:"Tags:"}),e.tags.map((t,a)=>t.approved?n.jsx(P,{href:at(t,e.paths),children:n.jsx("div",{className:`${vt.chipStyled} ${vt.tagLink}`,children:t.name})},a):n.jsx("div",{className:vt.chipStyled,children:t.name},a))]})}),De={contentBox:"_contentBox_1rkkg_1",content:"_content_1rkkg_1",imageStyled:"_imageStyled_1rkkg_16",contentIconStyled:"_contentIconStyled_1rkkg_23",avatarContent:"_avatarContent_1rkkg_43",journalistSection:"_journalistSection_1rkkg_50",journalistInfo:"_journalistInfo_1rkkg_56",socialNetworkSection:"_socialNetworkSection_1rkkg_70",article:"_article_1rkkg_83"},xs=async e=>{const{autor:t}=e;return t.addtional.USER_SHOWBIO&&n.jsx("section",{className:De.contentBox,children:n.jsxs("div",{className:De.content,children:[n.jsxs("div",{className:De.avatarContent,children:[n.jsx(P,{className:De.journalistInfo,href:`/${e.paths.autor}/${t.info.name}`,children:t.info.image?n.jsx("img",{fetchPriority:"low",loading:"lazy",alt:"autor-image",className:De.imageStyled,src:await ue(t.info.image.sizes[0]?.url||"")}):n.jsx("div",{className:De.contentIconStyled,children:e.autorIcon()})}),n.jsxs("section",{className:De.journalistSection,children:[n.jsx("h3",{className:De.journalistInfo,children:n.jsx(P,{href:`/${e.paths.autor}/${t.info.name}`,children:t.info.fullname})}),n.jsxs("section",{className:De.socialNetworkSection,children:[t.addtional.USER_USERFB&&n.jsx("a",{href:t.addtional.USER_USERFB,target:"_blank","aria-label":t.addtional.USER_MIBIO,rel:"noreferrer",children:n.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M16.7266 4H14.545C12.1067 4 10.5025 5.52672 10.5025 7.96947V9.80153H8.32083C8.12833 9.80153 8 9.92366 8 10.1069V12.7328C8 12.916 8.12833 13.0382 8.32083 13.0382H10.5025V19.6947C10.5025 19.8779 10.6308 20 10.8233 20H13.7108C13.9033 20 14.0316 19.8779 14.0316 19.6947V13.0382H16.5983C16.7908 13.0382 16.9191 12.916 16.9191 12.7328V10.1069C16.9191 10.0458 16.855 9.92366 16.7908 9.8626C16.7266 9.80153 16.6625 9.74046 16.5341 9.74046H13.9675V8.21374C13.9675 7.48092 14.16 7.1145 15.1866 7.1145H16.6625C16.855 7.1145 16.9833 6.99237 16.9833 6.80916V4.36641C17.0475 4.12214 16.9191 4 16.7266 4Z",stroke:"black",strokeWidth:"1.4"})})}),t.addtional.USER_USERIG&&n.jsx("a",{href:t.addtional.USER_USERIG,target:"_blank","aria-label":t.addtional.USER_MIBIO,rel:"noreferrer",children:n.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsxs("g",{clipPath:"url(#clip0_281_2357)",children:[n.jsx("path",{d:"M7.98634 4.06233C10.9335 4.1651 14.0152 3.89192 16.947 4.05106C19.1239 4.16908 20.8447 5.87246 20.9992 8.04131V17.0111C20.8646 19.1408 19.1378 20.8608 17.0113 21H8.04335C5.91354 20.8654 4.19406 19.1388 4.05551 17.0111C4.18345 14.0751 3.88383 10.9919 4.05353 8.07313C4.17682 5.95269 5.86648 4.21616 7.98634 4.06233ZM7.9532 5.4859C6.65331 5.64503 5.63713 6.68072 5.48201 7.97964L5.47804 17.0442C5.62586 18.3902 6.69175 19.4518 8.04136 19.5784L17.0445 19.5764C18.3901 19.4319 19.4514 18.3611 19.578 17.0131L19.576 8.00882C19.4321 6.67277 18.3788 5.6205 17.0445 5.47662L7.9532 5.4859Z",fill:"black"}),n.jsx("path",{d:"M15.527 9.52595C17.7019 11.7008 16.868 15.4802 13.9752 16.5079C10.6708 17.6815 7.47508 14.6354 8.47999 11.2771C9.38614 8.24892 13.2851 7.28484 15.5263 9.52662L15.527 9.52595ZM12.1894 9.72288C9.96615 9.94898 8.93936 12.6602 10.3771 14.3629C11.8149 16.0656 14.5877 15.4769 15.2168 13.3796C15.8458 11.2824 14.2529 9.51269 12.1894 9.72288Z",fill:"black"}),n.jsx("path",{d:"M17.0868 6.87507C18.5955 6.84324 18.4874 9.24614 16.8939 8.96965C15.7213 8.76609 15.8227 6.90159 17.0868 6.87507Z",fill:"black"})]}),n.jsx("defs",{children:n.jsx("clipPath",{id:"clip0_281_2357",children:n.jsx("rect",{width:"17",height:"17",fill:"white",transform:"translate(4 4)"})})})]})}),t.addtional.USER_USERTWT&&n.jsx("a",{href:t.addtional.USER_USERTWT,target:"_blank","aria-label":t.addtional.USER_MIBIO,rel:"noreferrer",children:n.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M3.43242 4.23888L10.0354 13.0628L3.39062 20.2389H4.88316L10.6981 13.9583L15.3966 20.2389H20.4832L13.51 10.9135L19.6951 4.23291H18.2026L12.8473 10.018L8.51898 4.23291H3.43242V4.23888ZM5.62943 5.33739H7.96973L18.2921 19.1404H15.9518L5.62943 5.33739Z",fill:"#010101"})})}),t.addtional.USER_USERLIN&&n.jsx("a",{href:t.addtional.USER_USERLIN,target:"_blank","aria-label":t.addtional.USER_MIBIO,rel:"noreferrer",children:n.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("path",{d:"M13.1553 9.97173C13.2123 9.98635 13.2208 9.9478 13.2536 9.92189C13.9389 9.38958 14.1885 9.05464 15.1143 8.85195C17.735 8.27844 20.2954 9.68265 20.4618 12.5449C20.6046 15.0084 20.3504 17.6121 20.4618 20.0903C20.4316 20.4372 20.1892 20.6425 19.8557 20.6718C18.9876 20.7475 18.0154 20.6133 17.1361 20.6704C16.8583 20.6465 16.5825 20.4578 16.5609 20.1574C16.4875 18.1631 16.6637 16.0916 16.5642 14.1066C16.5334 13.4979 16.462 12.9835 15.9182 12.6353C14.805 11.9215 13.5333 12.6346 13.4495 13.9405C13.3197 15.9488 13.5484 18.1006 13.4521 20.1235C13.4383 20.4491 13.1795 20.6392 12.8768 20.6698C11.917 20.7675 10.8058 20.5967 9.82899 20.6718C9.59116 20.6478 9.35988 20.5422 9.2793 20.2989V9.41284C9.35006 9.20815 9.53219 9.08654 9.7353 9.04467C10.6604 9.10581 11.7061 8.95363 12.6161 9.04068C12.8126 9.05929 13.1553 9.2786 13.1553 9.49059V9.97239V9.97173ZM9.84668 20.1062H12.8768L12.926 20.0564V13.6766C12.926 12.7821 13.9657 11.877 14.8103 11.7999C16.2163 11.6717 17.0464 12.6253 17.1191 13.9763C17.2252 15.9468 17.0418 18.0115 17.1178 19.9919L17.1689 20.1062H19.8551L19.9062 19.9919L19.9042 12.5808C19.6992 9.46068 16.1671 8.36948 13.8924 10.104L12.6318 11.4005V9.60622H9.84733V20.1062H9.84668Z",fill:"black",stroke:"black",strokeWidth:"0.5"}),n.jsx("path",{d:"M4.6294 9.04917C5.38612 8.92822 6.41671 9.11629 7.2016 9.04917C7.53181 9.13755 7.79847 9.39274 7.8666 9.73698L7.88102 19.9233C7.84564 20.243 7.56326 20.5387 7.26581 20.6284C6.93888 20.7261 5.19219 20.7095 4.78926 20.667C4.38633 20.6244 4.10854 20.3958 3.99061 20.015L3.9834 9.75626C3.99781 9.43062 4.31885 9.09967 4.6294 9.04917ZM4.72702 9.61338C4.60319 9.64926 4.53243 9.75692 4.53833 9.88717L4.54685 19.8834C4.59729 20.0502 4.72767 20.0901 4.88426 20.1061C5.31012 20.1493 6.64078 20.1659 7.03781 20.0988C7.18064 20.0748 7.32085 19.9884 7.32478 19.825L7.31626 9.86392C7.29464 9.73831 7.20554 9.62933 7.07647 9.60872L4.72702 9.61404V9.61338Z",fill:"black",stroke:"black",strokeWidth:"0.5"}),n.jsx("path",{d:"M8.16428 6.20159C8.16428 7.45495 7.16252 8.47105 5.92687 8.47105C4.69121 8.47105 3.68945 7.45495 3.68945 6.20159C3.68945 4.94824 4.69121 3.93213 5.92687 3.93213C7.16252 3.93213 8.16428 4.94824 8.16428 6.20159ZM7.60345 6.20358C7.60345 5.2639 6.85263 4.50165 5.92556 4.50165C4.99849 4.50165 4.24766 5.26324 4.24766 6.20358C4.24766 7.14393 4.99849 7.90552 5.92556 7.90552C6.85263 7.90552 7.60345 7.14393 7.60345 6.20358Z",fill:"black",stroke:"black",strokeWidth:"0.5"})]})})]})]})]}),t.addtional.USER_SHOWBIO&&n.jsx("p",{className:De.article,dangerouslySetInnerHTML:{__html:`${t.addtional.USER_MIBIO} <a aria-label="${t.info.name}" href="/${e.paths.autor}/${t.info.name}">${e.texts.authorViewMore??"Ver más"}</a>`}})]})})},et={content:"_content_vmnac_1",imageStyled:"_imageStyled_vmnac_20",contentIconStyled:"_contentIconStyled_vmnac_21",contentCard:"_contentCard_vmnac_31",contentInfo:"_contentInfo_vmnac_70",fullName:"_fullName_vmnac_76",LearnMoreLink:"_LearnMoreLink_vmnac_83"},Us=async e=>{const{news:t,texts:a}=e;return t.config?.showauthor&&n.jsx("div",{className:et.content,children:Array.isArray(t.authors)&&t.authors?.map(async o=>n.jsxs("div",{className:et.contentCard,children:[o.image?n.jsx("img",{fetchPriority:"low",loading:"lazy",className:et.imageStyled,src:await ue(o.image.sizes[0]?.url||"")},o.fullname):n.jsx("div",{className:et.contentIconStyled,children:e.autorIcon},o.fullname),n.jsxs("div",{className:et.contentInfo,children:[o.internaluser?n.jsx("a",{className:et.fullName,href:`/${e.paths.autor}/${o.name}`,children:o.fullname}):n.jsx("p",{className:et.fullName,children:o.fullname}),o.internaluser&&n.jsx("a",{className:et.LearnMoreLink,href:`/${e.paths.autor}/${o.name}`,children:a.JournalistGroupLink})]})]},`author-${o.firstname}`))})},Ne={content:"_content_1j0pj_1",contentNews:"_contentNews_1j0pj_10",linkTitle:"_linkTitle_1j0pj_27",tag:"_tag_1j0pj_35",tagmx:"_tagmx_1j0pj_55",titular:"_titular_1j0pj_70",correspondent:"_correspondent_1j0pj_85",correspondentLink:"_correspondentLink_1j0pj_96",description:"_description_1j0pj_107"},Ct=e=>{const{SHOW_TAG_BY_SECTION:t}=K(),a=()=>{if(e?.config?.showtime&&e.config?.showauthor)return`${e?.authors[0]?.fullname} - ${ke(e.info?.date?.modified)}`;if(e.config?.showauthor)return e?.authors[0]?.fullname;if(e?.config?.showtime)return ke(e.info?.date?.modified)},o=()=>{if(t&&e.keywords?.tags?.length&&e.keywords.tags.length>0){const r=e.keywords.tags[0],i=r.name;return r.approved?n.jsxs("h3",{children:[" ",n.jsx(P,{"aria-label":i,className:Ne.tagmx,href:at(r,e.paths),children:i})]}):n.jsx("div",{className:Ne.tagmx,children:i})}else if(e.info?.section?.url)return n.jsx("h3",{children:n.jsx(P,{className:Ne.tagmx,href:e?.info?.section?.url,children:e?.info?.section?.name})});return null},s=()=>{if(t&&e.keywords?.tags?.length&&e.keywords.tags.length>0){const r=e.keywords.tags[0],i=r.name;return r.approved?n.jsx("h3",{children:n.jsx(P,{"aria-label":i,className:Ne.tag,href:at(r,e.paths),children:i})}):n.jsx("div",{className:Ne.tag,children:i})}else if(e.info?.section?.url)return n.jsx("h3",{children:n.jsx(P,{className:Ne.tag,href:e?.info?.section?.url,children:e?.info?.section?.name})});return null};return n.jsxs("section",{className:`${Ne.content} destacado-super-content`,children:[n.jsx(P,{href:e?.info?.link?.url,target:e?.info?.link?.target,style:{"--heightImageOverwrite":e.heightImageOverwrite?e.heightImageOverwrite:"51.8%","--heightImageOverwriteMobile":e.heightImageOverwriteMobile?e.heightImageOverwriteMobile:"491px","--fontSizeImageNewsTitleMobile":e.isVertical?"20px":"1.75rem","--lineHeightImageNewsTitleMobile":e.isVertical?"26px":"36px"},children:n.jsx(_e,{preview:e.preview,isLarge:!0,BackDropAuxHeigthMobile:"513px",priorityHigh:!0})}),n.jsxs("div",{className:Ne.contentNews,style:{"--widthTextContent":e.textPosition==="start"?"100%":"80%"},children:[n.jsx(o,{}),n.jsxs("div",{style:{position:"relative"},children:[n.jsx(s,{}),n.jsx(P,{className:Ne.linkTitle,href:e?.info?.link?.url,target:e?.info?.link?.target,children:n.jsx("h1",{className:Ne.titular,style:{"--titlePosition":e.textPosition==="start"?"initial":"center"},children:e?.main?.title?.home})})]}),e.config?.showsubtitle&&n.jsx("div",{className:Ne.description,dangerouslySetInnerHTML:{__html:e.main.subtitle.striped}}),e?.config?.showtime&&e.config?.showauthor&&n.jsx(n.Fragment,{children:e.authors[0]?.internaluser?n.jsx(P,{href:`/${e.paths?.autor??"autor"}/${e?.authors[0]?.name}`,className:Ne.correspondent,children:a()}):n.jsx("p",{className:Ne.correspondentLink,children:a()})})]})]})},Ls=e=>{const{main:t,authors:a,info:o,preview:s,isVideo:r,config:i,itemReverseOrder:c,imageSize:d,showSuper:l}=e;return n.jsxs("section",{className:$c.content,children:[l?n.jsx("section",{style:{...e.customSectionCardStyles},children:n.jsx(Ct,{main:t,authors:a,info:o,preview:s,isVideo:r,config:i,paths:e.paths})}):n.jsx(Oe,{...e,main:t,authors:a,info:o,preview:s,isVideo:r,config:i,priorityHigh:!0}),e.banners&&n.jsx(fe,{banners:e.banners,name:"main_block_"+(e.rightOnlyBanner?1:2)}),!e.rightOnlyBanner&&n.jsx(fs,{block:e.block,itemReverseOrder:c,priorityHigh:!0,imageSize:d,customNewsDescriptionStyles:e.customNewsDescriptionStyles,paths:e.paths})]})},ha={content:"_content_1dcf7_1",firstSection:"_firstSection_1dcf7_10",secondSection:"_secondSection_1dcf7_16"},Ll=({content:e,customLargeSection:t,customSmallSection:a,paths:o})=>{const s=e[0];return Array.isArray(e)&&e.length>0&&s&&n.jsxs("section",{className:ha.content,children:[n.jsx("div",{style:t,className:ha.firstSection,children:n.jsx(Ct,{...s,textPosition:"start",heightImageOverwrite:"512px",heightImageOverwriteMobile:"270px",paths:o})}),n.jsx("div",{style:a,className:ha.secondSection,children:e.map((r,i)=>i>0&&E.createElement(Ct,{...r,key:i,textPosition:"start",heightImageOverwrite:"256px",heightImageOverwriteMobile:"270px",paths:o}))})]})},qs={content:"_content_wsx1m_1",firstSection:"_firstSection_wsx1m_8"},ql=({content:e,customLargeSection:t,customSlimSection:a,paths:o})=>Array.isArray(e)&&e.length>0&&n.jsx("section",{className:qs.content,children:e.map((s,r)=>r===0?n.jsx("div",{style:t,className:qs.firstSection,children:n.jsx(Ct,{...s,isVertical:!0,textPosition:"start",heightImageOverwrite:"512px",heightImageOverwriteMobile:"270px",paths:o})},r):n.jsx("section",{style:a,children:E.createElement(Ct,{...s,key:r,isVertical:!0,textPosition:"start",heightImageOverwrite:"512px",heightImageOverwriteMobile:"270px",paths:o})},r))}),lt={content:"_content_1n73e_1",sectionDescription:"_sectionDescription_1n73e_13",title:"_title_1n73e_33",subtitle:"_subtitle_1n73e_47",linkStyled:"_linkStyled_1n73e_58"},Bs=e=>{const{SHOW_TAG_BY_SECTION:t}=K(),a=()=>{if(t&&e.mainNew.keywords?.tags?.length&&e.mainNew.keywords.tags.length>0){const o=e.mainNew.keywords.tags[0],s=o.name;return o.approved?n.jsx("h3",{children:n.jsx(P,{"aria-label":s,className:lt.sectionDescription,href:at(o,e.paths),children:s})}):n.jsx("div",{className:lt.sectionDescription,children:s})}else if(e.mainNew.info?.section?.url)return n.jsx("h3",{children:n.jsx(P,{className:lt.sectionDescription,href:e?.mainNew?.info?.section?.url,children:e?.mainNew?.info?.section?.name})});return null};return n.jsxs("div",{className:lt.content,children:[n.jsx(a,{}),n.jsx(P,{className:lt.title,href:e?.mainNew?.info?.link?.url,target:e?.mainNew?.info?.link?.target,children:e?.mainNew?.main?.title.home}),e?.mainNew?.main?.subtitle?.rendered&&n.jsx("p",{className:lt.subtitle,children:e?.mainNew?.main?.subtitle?.striped}),e.goTo&&n.jsx(P,{href:e.goTo.url,className:lt.linkStyled,children:e.goTo.description})]})},ua={headerSection:"_headerSection_drjnj_1",headerSectionLink:"_headerSectionLink_drjnj_12",newsContent:"_newsContent_drjnj_17"},Ps=e=>{const{content:t,title:a,isVideo:o}=e;if(!t||!t[0]||t.length===0)return;const s=e.slot_id&&e.slot_id!=="Nota_1",r={...t[0],main:{...t[0].main,title:{...t[0].main.title,section:s?t[0].main.title.home:t[0].main.title.section}}},i=t.slice(1);return r&&i&&n.jsxs(he,{title:a,titleUrl:e.titleUrl,children:[n.jsxs("div",{className:ua.headerSection,children:[n.jsx(Bs,{mainNew:r,goTo:e.goTo,paths:e.paths}),n.jsx(P,{className:ua.headerSectionLink,href:r?.info?.link?.url,target:r?.info?.link?.target,children:n.jsx(_e,{preview:r.preview})})]}),n.jsxs("div",{className:ua.newsContent,children:[n.jsx("div",{className:"banner-context",style:{order:1},children:e.banner}),Array.isArray(i)&&i.map((c,d)=>{const l={...c,main:{...c.main,title:{...c.main.title,section:s?c.main.title.home:c.main.title.section}}};return n.jsx("div",{style:{order:d},children:n.jsx(Oe,{...l,isVideo:o,paths:e.paths})},d)})]})]})},Ve={content:"_content_1stvq_1",autorContent:"_autorContent_1stvq_8",image:"_image_1stvq_24",contentIcon:"_contentIcon_1stvq_25",boxInformationContent:"_boxInformationContent_1stvq_47",autorName:"_autorName_1stvq_53",time:"_time_1stvq_85",comment:"_comment_1stvq_98",title:"_title_1stvq_107"},Cn=async e=>{const{data:t,autorIcon:a}=e,o=a,s=()=>t?.config?.showtime?`${ke(t.info?.date?.modified)}`:"",r=n.jsxs("div",{className:Ve.autorContent,children:[Array.isArray(t?.authors)&&Array.isArray(t?.authors[0]?.image?.sizes)&&t?.authors[0]?.image?.sizes?.length>0?n.jsx("img",{fetchPriority:"low",loading:"lazy",className:Ve.image,src:await ue(t?.authors[0]?.image?.sizes[0]?.url||""),alt:t?.authors[0]?.fullname}):n.jsx("div",{className:Ve.contentIcon,children:n.jsx(o,{})}),n.jsx("p",{className:Ve.autorName,children:xe(t?.authors[0]?.fullname??"Redacción",18)}),n.jsx("p",{className:Ve.time,children:s()})]});return n.jsxs("div",{className:Ve.content,children:[t?.authors[0]?.internaluser?n.jsx(P,{href:t.authors[0]?.internaluser?`/${e.paths.autor}/${t?.authors[0]?.name}`:"#",children:r}):r,n.jsxs("div",{className:Ve.boxInformationContent,children:[n.jsx(P,{className:Ve.title,href:t?.info?.link?.url,target:t?.info?.link?.target,children:t?.main?.title?.home}),n.jsx("p",{className:Ve.comment,children:xe(t?.main?.subtitle?.striped||"")})]})]})},_t={content:"_content_1d7mg_1",boxPosition:"_boxPosition_1d7mg_8",contentFlex:"_contentFlex_1d7mg_21",bannerContent:"_bannerContent_1d7mg_29",bannerContentAux:"_bannerContentAux_1d7mg_40"};function Bl(e){const t=new Array(e.length),a=e.length/2;for(let o=0;o<e.length;o++)o%2===0?t[Math.floor(o/2)]=e[o]:t[a+Math.floor(o/2)]=e[o];return t}const Pl=e=>{const{isOpinion:t=!1}=e,a=r=>n.jsx("div",{className:_t.boxPosition+" banner-context",style:{order:2},children:n.jsx("div",{className:_t.bannerContentAux,children:n.jsx("div",{style:{position:"absolute",height:"270px",top:"0"},children:e.banner})})},r),o=[];for(let r=0;r<e.news.length;r++){const i=e.news[r];r===2&&o.push(a(r)),i&&o.push(n.jsx("div",{className:_t.boxPosition,style:{order:r},children:n.jsx(Cn,{data:i,autorIcon:e.autorIcon,paths:e.paths})},`description-block-2-odd-${r}`))}const s=o.length%2===0?Bl(o):o;return n.jsx("section",{style:e.customStyles,children:n.jsx(he,{title:e.title,titleUrl:e.titleUrl,isOpinion:t,children:n.jsxs("div",{className:_t.content,children:[n.jsx("div",{className:_t.contentFlex,children:s}),n.jsx("div",{className:_t.bannerContent,children:e.halfPageBanner})]})})})},Os={content:"_content_w9viv_1",title:"_title_w9viv_10"},Ol=e=>{const{showTitle:t=!0}=e;return n.jsxs("div",{className:Os.content,children:[t&&n.jsx("p",{className:Os.title,children:"Editorial"}),n.jsx(ct,{...e,info:{...e.info,section:{name:"",slug:"",url:""}}})]})},St={content:"_content_1nd2h_1",newsContent:"_newsContent_1nd2h_8",boxPosition:"_boxPosition_1nd2h_17",bannerContent:"_bannerContent_1nd2h_23",bannerContentAux:"_bannerContentAux_1nd2h_33"},Dl=e=>{const{news:t}=e;return Array.isArray(t)&&n.jsxs("div",{className:St.content,children:[n.jsxs("div",{className:St.newsContent,children:[e.bannerArray&&e.bannerArray.map((a,o)=>n.jsx("div",{className:St.boxPosition+" banner-context",style:{order:2+5*o},children:n.jsx("div",{className:St.bannerContentAux,children:n.jsx("div",{style:{position:"absolute",height:"270px",top:"0"},children:a})})},o)),t.map((a,o)=>n.jsx("div",{className:St.boxPosition,style:{order:o},children:n.jsx(Oe,{...a,share:e.share,paths:e.paths})},o))]}),n.jsx("div",{className:St.bannerContent,children:e.halfPageBanner})]})},Ml=e=>n.jsxs(n.Fragment,{children:[n.jsx(ps,{className:"display-on-lower-900px",...e,termsLink:e.termsLink,submitFunction:e.submitFunction}),n.jsx(As,{...e})]}),_n={newsContent:"_newsContent_gd57q_1",newsContentWithLines:"_newsContentWithLines_gd57q_8",newsContentWithoutLines:"_newsContentWithoutLines_gd57q_13",contentSeparator:"_contentSeparator_gd57q_18"},Ds=e=>{const{content:t}=e;if(!t||t.length===0)return;const a=i=>e.hasLines&&(i+1)%3!==0?_n.contentSeparator:"",o=[];let s=0,r=1;for(let i=0;i<t.length;i++){e.banners&&e.bannerPositionIndex?.includes(i)&&(o.push(n.jsx("section",{className:a(s),children:e.banners?.some(h=>h.key===`${e.slot_id}_${r}`)&&n.jsx(fe,{banners:e.banners,name:`${e.slot_id}_${r}`})},s)),s++,r++);const c=e.isVideo?mt(t[i],e.showVideoTime,e.showVideosubtitle):t[i];if(!c)continue;const d=e.slot_id&&e.slot_id!=="Nota_1",l={...c,main:{...c.main,title:{...c.main.title,section:d?c.main.title.home:c.main.title.section}}};o.push(n.jsx("section",{className:a(s),children:n.jsx(Oe,{...l,isVideo:e.isVideo,paths:e.paths})},s)),s++}return o.length===2&&o.push(n.jsx("div",{},s)),n.jsx("div",{className:`${e.hasLines?_n.newsContentWithLines:_n.newsContentWithoutLines} ${_n.newsContent}`,children:o})},fa=e=>n.jsx(he,{title:e.title,titleUrl:e.titleUrl,children:n.jsx(Ds,{content:e.content,paths:e.paths,slot_id:e.slot_id,hasLines:e.hasLines,bannerPositionIndex:e.bannerPositionIndex,isVideo:e.isVideo,banners:e.banners,showVideoTime:e.showVideoTime,showVideosubtitle:e.showVideosubtitle})}),Ms={newsContent:"_newsContent_1sb62_1",contentSeparator:"_contentSeparator_1sb62_8"},js=e=>{const{content:t,title:a}=e;if(!(!t||t.length===0||!Array.isArray(t)))return n.jsx(he,{title:a,titleUrl:e.titleUrl,children:n.jsx("div",{className:`${Ms.newsContent} ${e.hasLines?Ms.contentSeparator:""}`,children:t?.map((o,s)=>{const r=e.slot_id&&e.slot_id!=="Nota_1",i={...o,main:{...o.main,title:{...o.main.title,section:r?o.main.title.home:o.main.title.section}}};return n.jsx("section",{children:n.jsx(Oe,{...i,share:e.share,paths:e.paths})},s)})})})},ma={newsContent:"_newsContent_1gbse_1",contentSeparator:"_contentSeparator_1gbse_8",newsContentWhitoutLine:"_newsContentWhitoutLine_1gbse_29"},Qs=e=>{const{content:t,title:a}=e;if(!(!t||t.length===0))return n.jsx(he,{title:a,titleUrl:e.titleUrl,children:n.jsx("div",{className:`${ma.newsContent} ${e.hasLines?ma.contentSeparator:ma.newsContentWhitoutLine}`,children:t.map((o,s)=>{const r=e.slot_id&&e.slot_id!=="Nota_1",i={...o,main:{...o.main,title:{...o.main.title,section:r?o.main.title.home:o.main.title.section}}};return n.jsx("section",{children:n.jsx(Oe,{...i,share:e.share,paths:e.paths})},s)})})})},ga={headerSection:"_headerSection_1m1sp_3",headerSectionLink:"_headerSectionLink_1m1sp_16",newsContent:"_newsContent_1m1sp_29"},Gs=e=>{const{content:t,title:a,isVideo:o=!0}=e;if(!t||t.length===0)return;const s=t[0],r=e.slot_id&&e.slot_id!=="Nota_1",i=t.slice(1);return s&&i&&n.jsxs(he,{title:a,titleUrl:e.titleUrl,children:[n.jsxs("div",{className:ga.headerSection,children:[n.jsx(Bs,{goTo:e.goTo,mainNew:mt(s),paths:e.paths}),n.jsx(P,{className:ga.headerSectionLink,href:s?.info?.link.url,target:s?.info?.link.target,"aria-label":"Video",children:n.jsx(_e,{preview:{sizes:s?.main?.image.sizes,description:s?.main?.image.description},isVideo:o,isLarge:!0})})]}),n.jsxs("div",{className:ga.newsContent,children:[n.jsx("div",{className:"banner-context",style:{order:1},children:e.banner}),Array.isArray(i)&&i.map((c,d)=>{const l=mt(c),h={...l,main:{...l.main,title:{...l.main.title,section:r?l.main.title.home:l.main.title.section}}};return n.jsx("div",{style:{order:d},children:E.createElement(Oe,{...h,isVideo:o,key:d,paths:e.paths})},d)})]})]})},$t={content:"_content_1qdkl_1",linkImage:"_linkImage_1qdkl_30",sectionDescription:"_sectionDescription_1qdkl_42",dateText:"_dateText_1qdkl_62",textContent:"_textContent_1qdkl_73"},jl=async e=>{const{showNewsLikeTitle:t=!1}=e;return e&&e.info?n.jsxs("section",{className:$t.content,style:{"--heightImageOverwrite":"100%"},children:[n.jsx(P,{className:$t.linkImage,target:e?.info?.link?.target,title:e.main?.title?.section,href:t?e.info.link.url:e?.info?.section?.url,children:n.jsx(_e,{preview:e.preview})}),n.jsxs("div",{className:$t.textContent,children:[n.jsx(P,{className:$t.sectionDescription,target:e?.info?.link?.target,href:t?e.info.link.url:e?.info?.section?.url,children:(t?e?.main?.title?.section:e?.info?.section?.name)??""}),n.jsx("p",{className:$t.dateText,children:ke(e?.info?.date?.modified)})]})]}):null},$s={content:"_content_yx3zm_1",contentSeparator:"_contentSeparator_yx3zm_7"},pa={newsContent:"_newsContent_1uamf_1",contentSeparator:"_contentSeparator_1uamf_8",hasLinesBlock:"_hasLinesBlock_1uamf_40"},Hs=e=>{if(!e.content||e.content.length===0)return;const t=e.slot_id&&e.slot_id!=="Nota_1";return n.jsx(he,{title:e.title,children:n.jsx("div",{className:`${$s.content} ${e.hasLines?$s.contentSeparator:""}`,style:{gap:e.hasLines?"30px":"0px"},children:Array.isArray(e.content)&&e.content?.map((a,o)=>{const s={...a,main:{...a.main,title:{...a.main.title,section:t?a.main.title.home:a.main.title.section}}};return n.jsx("section",{className:e.hasLines?pa.hasLinesBlock:"",children:E.createElement(jl,{...s,key:o,showNewsLikeTitle:e.showNewsLikeTitle})},o)})})})},zs=e=>{const{content:t,title:a,slot_id:o}=e,s=e.slot_id&&e.slot_id!=="Nota_1";return t&&t.length!==0&&n.jsx(he,{title:a,titleUrl:e.titleUrl,children:n.jsx(it,{slot_id:o,cardWidth:e.cardWidth,cardGap:e.cardGap,visibleItems:e.visibleItems,pagination:e.pagination,children:t.map((r,i)=>{const c={...r,main:{...r.main,title:{...r.main.title,section:s?r.main.title.home:r.main.title.section}}};return n.jsx("div",{style:{"--heightImageOverwrite":e.heightImageOverwrite,"--heightImageOverwriteMobile":e.heightImageOverwriteMobile},children:n.jsx(Mt,{...c,paths:e.paths})},i)})})})},tt={content:"_content_1mj79_1",imageStyled:"_imageStyled_1mj79_14",contentIcon:"_contentIcon_1mj79_23",boxInformation:"_boxInformation_1mj79_44",comment:"_comment_1mj79_51",title:"_title_1mj79_60",authorName:"_authorName_1mj79_81"},Ql=async e=>{const{data:t}=e;return n.jsxs("div",{className:tt.content,children:[Array.isArray(t.authors)&&t?.authors[0]?.image?n.jsx("img",{fetchPriority:"low",loading:"lazy",className:tt.imageStyled,src:await ue(t?.authors[0]?.image?.sizes[0]?.url||""),alt:t?.authors[0]?.fullname}):n.jsx("div",{className:tt.contentIcon,children:e.autorIcon}),n.jsxs("div",{className:tt.boxInformation,children:[n.jsx("p",{className:tt.authorName,children:t?.authors[0]?.internaluser?n.jsx(P,{href:t.authors[0]?.internaluser?`/${e.paths.autor}/${t?.authors[0]?.name}`:"#",children:t?.authors[0]?.fullname??"Redacción"}):t?.authors[0]?.fullname??"Redacción"}),n.jsx("p",{className:tt.title,children:n.jsx(P,{className:tt.linkStyled,href:t?.info?.link?.url,target:t?.info?.link?.target,children:xe(t?.main?.title?.home,40)})}),n.jsx("p",{className:tt.comment,children:t?.main?.subtitle?.striped})]})]})},Fs=e=>{const t=e.slot_id&&e.slot_id!=="Nota_1";return n.jsx(he,{titleUrl:e.titleUrl,title:e.title,children:n.jsx(it,{slot_id:e.slot_id,cardGap:31,cardWidth:344,visibleItems:3,children:e.content&&e.content.map((a,o)=>{const s={...a,main:{...a.main,title:{...a.main.title,section:t?a.main.title.home:a.main.title.section}}};return n.jsx(Ql,{autorIcon:e.autorIcon,data:s,paths:e.paths},o)})})})},We={content:"_content_1elhb_1",newsContentSection:"_newsContentSection_1elhb_5",itemContent:"_itemContent_1elhb_10",ItemCustomContent:"_ItemCustomContent_1elhb_16"},Sn=e=>{const{item:t,option:a}=e;switch(a){case"ediciones":return n.jsx("div",{className:We.ItemCustomContent});case"columnistasnacionales":return n.jsx("div",{className:We.ItemCustomContent,children:n.jsx(Cn,{data:t,autorIcon:e.autorIcon,paths:e.paths})});case"columnistaslocales":return n.jsx("div",{className:We.ItemCustomContent,children:n.jsx(Cn,{data:t,autorIcon:e.autorIcon,paths:e.paths})});case"columnistas":return n.jsx("div",{className:We.ItemCustomContent,children:n.jsx(Cn,{data:t,autorIcon:e.autorIcon,paths:e.paths})});default:return n.jsx("div",{className:We.ItemCustomContent,children:n.jsx(Oe,{...t,paths:e.paths})})}},Gl=e=>{const{data:t,currentPage:a,banners:o,slug:s,ranking:r,pathname:i,texts:c={}}=e,d=[3,8,13],l={3:1,8:2,13:3};switch(e.option){case"op1":return n.jsx(ia,{ranking:r,readestTitle:c.readestTitle??"",paths:e.paths,bannerTop:n.jsx(fe,{banners:o??[],name:"right_1"}),banner:n.jsx(fe,{banners:o??[],name:"right_2"}),children:n.jsx("section",{className:We.content,children:t.length>0?n.jsx(yn,{className:[We.newsContentSection,"padding-0"].join(" "),paginatorComponent:n.jsx(Ot,{texts:c,pathname:i,query:"",currentPage:a,maxPages:e.PAGINATION_MAX_PAGES,showNext:!(t.length<e.NEWS_PER_SECTION)}),children:Array.isArray(t)&&t?.map((h,u)=>n.jsxs(E.Fragment,{children:[d.includes(u+1)&&n.jsx("div",{className:We.itemContent+" banner-context",children:n.jsx(fe,{banners:o??[],name:`block_2_${l[u+1]}`})}),n.jsx(Sn,{autorIcon:e.autorIcon,item:h,option:s,paths:e.paths},u)]},u))}):n.jsx("div",{style:{width:"100%",display:"flex",flexDirection:"column",justifyContent:"center",gap:"2rem"},children:n.jsx("p",{style:{fontWeight:"var(--fw)",width:"100%",fontSize:"18px",lineHeight:"26px",textAlign:"center"},children:c.sectionNotResultMessage})})})});case"op2":return n.jsx(n.Fragment,{children:t.length>0?n.jsx(yn,{className:"padding-0",paginatorComponent:n.jsx(Ot,{texts:c,pathname:i,query:"",currentPage:a,maxPages:e.PAGINATION_MAX_PAGES,showNext:!(t.length<e.NEWS_PER_SECTION)}),children:Array.isArray(t)&&t?.map((h,u)=>n.jsxs(E.Fragment,{children:[d.includes(u+1)&&n.jsx("div",{className:We.itemContent,children:n.jsx(fe,{banners:o??[],name:`block_2_${l[u+1]}`})}),n.jsx(Sn,{autorIcon:e.autorIcon,item:h,option:s,paths:e.paths},u)]},u))}):n.jsx("div",{style:{width:"100%",display:"flex",flexDirection:"column",justifyContent:"center",gap:"2rem"},children:n.jsx("p",{style:{fontWeight:"var(--fw)",width:"100%",fontSize:"18px",lineHeight:"26px",textAlign:"center"},children:c.sectionNotResultMessage})})});default:return n.jsx(n.Fragment,{})}},Vs={content:"_content_gwsqy_1",contactInfoContent:"_contactInfoContent_gwsqy_7"},$l=e=>{const{data:t}=e;return n.jsx("section",{className:Vs.content,children:t.map((a,o)=>n.jsx("div",{className:Vs.contactInfoContent,dangerouslySetInnerHTML:{__html:a.body.rendered}},o))})},Aa={tagContent:"_tagContent_ee6yw_1",contentLayout2:"_contentLayout2_ee6yw_9",contentHeader:"_contentHeader_ee6yw_42"},Hl={content:"_content_1rbrt_1"},zl=({children:e,className:t=""})=>n.jsx("div",{className:`content-layout-2 ${Hl.content} ${t}`,children:e}),Ht={container:"_container_1insg_1",note:"_note_1insg_10",commercial:"_commercial_1insg_50",commercialContent:"_commercialContent_1insg_67",complement:"_complement_1insg_83"},Fl=e=>n.jsxs("section",{className:Ht.container,children:[n.jsx("div",{className:Ht.note,children:e.children}),n.jsx("div",{className:Ht.commercial,children:n.jsxs("div",{className:Ht.commercialContent,children:[e.slug==="liveblogs"&&n.jsx(_s,{itemList:e.itemList}),e.bannerTop,n.jsx(fn,{content:e.ranking,title:e.texts.readestTitle,paths:e.paths,customNewsDescriptionStyles:{"--news-description-title-size-desk":"16px","--news-description-title-line-height-desk":"22px","--news-description-title-size-mobile":"16px","--news-description-title-line-height-mobile":"22px"}}),n.jsx("div",{style:{position:"sticky",top:"110px"},children:e.banner})]})}),n.jsx("div",{className:Ht.complement,children:e.complement})]}),Vl=e=>{const t={...e.news[0],config:{zonehome:void 0,priorityhome:"",zonesection:"",prioritysection:",",homepreview:"",showcomments:!1,showtime:!1,showauthor:!1,showuppertitle:!1,showsubtitle:!0,showads:!1},main:{...e.news[0]?.main,title:{...e.news[0]?.main.title,section:e.news[0]?.main.title.article??""}},info:{...e.news[0]?.info,link:{url:void 0,target:void 0}}};switch(e.option){case"liveblogs":return n.jsx("div",{style:{"--news-description-title-size-desk":"38px","--news-description-title-size-mobile":"30px","--news-description-title-line-height-desk":"46px","--news-description-title-line-height-mobile":"38px","--news-image-height-desk":"600px","--news-image-height-mobile":"420px","--news-image-description-display":"none"},children:n.jsx(Cs,{...t,fontSizeSubTitle:"18px",lineHeightSubTitle:"28px"})});default:return n.jsx("div",{className:Aa.contentHeader,style:{"--section-card-chip-padding":"0 0 0 6px","--uppertitle-display":"block","--news-description-title-size-desk":"38px","--news-description-title-size-mobile":"30px","--news-description-title-line-height-desk":"46px","--news-description-title-line-height-mobile":"38px","--news-description-content-gap":"0px","--section-card-chip-margin":"0 0 10px","--news-description-subtitle-margin":"22px 0 0"},children:n.jsx(ct,{...t,fontSizeSubTitle:"18px",lineHeightSubTitle:"28px",cutSubtitle:!1,colorSubTitle:"black",isTitle:!0,paths:e.paths})})}},Ye={content:"_content_jrssz_1",contentWithinCard:"_contentWithinCard_jrssz_7",contentDate:"_contentDate_jrssz_13",dateInfo:"_dateInfo_jrssz_20",dot:"_dot_jrssz_30",contentTitle:"_contentTitle_jrssz_38",contentTextList:"_contentTextList_jrssz_47",contentButton:"_contentButton_jrssz_101",linkStyled:"_linkStyled_jrssz_107"},Wl={content:"_content_ifkxj_1"},Yl=e=>n.jsx("section",{className:Wl.content,id:e.id,children:e.children}),Kl=e=>e.replace(/<p>(\s|&nbsp;)+<\/p>/g,""),Jl=e=>{const t=/src="\/(.*?)"/g;return e.replace(t,`src="${Et()}/$1"`)},Ws={2:1,4:2,7:3,10:4,13:5};function Zl(e){return e.replace(/<script[^>]*src=["']https:\/\/platform\.twitter\.com\/widgets\.js["'][^>]*><\/script>/gi,"")}const Xl=async({itemList:e,slug:t,banners:a,texts:o})=>{if(!e||e.length===0||!e[0])return;const s=e[0].list?.items?.map(r=>{const i=Kl(r.body.rendered);let c=Jl(i);return c=Zl(c),{...r,body:{...r.body,rendered:c}}});return n.jsx("section",{className:Ye.content,id:"block-notes-list",children:s?.map((r,i)=>n.jsxs(E.Fragment,{children:[n.jsx(Yl,{id:`item-${i+1}`,children:n.jsxs("div",{className:Ye.contentWithinCard,children:[r.date>0&&n.jsxs("div",{className:Ye.contentDate,children:[n.jsx("span",{className:Ye.dot,style:{background:t==="liveblogs"?"var(--news-liveblog-timeline-datelink-dot-color)":"var(--common-black)"}}),n.jsx("p",{className:Ye.dateInfo,style:{color:t==="liveblogs"?"var(--news-liveblog-timeline-datelink-color)":"var(--common-black)"},children:Dn(r.date)})]}),n.jsx("p",{className:Ye.contentTitle,children:e[0]?.list.integrated?r.title:`${r.index}. ${r.title}`}),r.image&&n.jsx(_e,{preview:r.image,isLarge:!0}),n.jsx("div",{className:Ye.contentTextList,dangerouslySetInnerHTML:{__html:r.body.rendered}}),r.related&&n.jsx("div",{className:Ye.contentButton,children:n.jsx("a",{className:Ye.linkStyled,href:r.related??"",target:"”_blank",children:o.blockNoteList_readMore??"Leer Más"})})]})},i),Ws[i]&&n.jsx(fe,{banners:a,name:"list_"+Ws[i]},i)]},i))})},Ys={FaceBook:"facebook",Instagram:"instagram",WhatsApp:"whatsapp",TikTok:"tiktok",Youtube:"youtube",X:"x",Gnews:"gnews",Podcast:"podcast",Telegram:"telegram"};function Rl({url:e}){return e&&e!==""&&n.jsxs(P,{href:e,className:le.googleProfileButton,children:[n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",children:n.jsx("path",{fill:"currentColor",d:"M15.583 9.083h-6.5v6.5H6.916v-6.5h-6.5V6.917h6.5v-6.5h2.167v6.5h6.5v2.166Z"})}),"Síguenos en",n.jsx(ed,{})]})}const ed=()=>n.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 272 92",width:"272",height:"92",children:[n.jsx("path",{fill:"#EA4335",d:"M115.75 47.18c0 12.77-9.99 22.18-22.25 22.18s-22.25-9.41-22.25-22.18C71.25 34.32 81.24 25 93.5 25s22.25 9.32 22.25 22.18zm-9.74 0c0-7.98-5.79-13.44-12.51-13.44S80.99 39.2 80.99 47.18c0 7.9 5.79 13.44 12.51 13.44s12.51-5.55 12.51-13.44z"}),n.jsx("path",{fill:"#FBBC05",d:"M163.75 47.18c0 12.77-9.99 22.18-22.25 22.18s-22.25-9.41-22.25-22.18c0-12.85 9.99-22.18 22.25-22.18s22.25 9.32 22.25 22.18zm-9.74 0c0-7.98-5.79-13.44-12.51-13.44s-12.51 5.46-12.51 13.44c0 7.9 5.79 13.44 12.51 13.44s12.51-5.55 12.51-13.44z"}),n.jsx("path",{fill:"#4285F4",d:"M209.75 26.34v39.82c0 16.38-9.66 23.07-21.08 23.07-10.75 0-17.22-7.19-19.66-13.07l8.48-3.53c1.51 3.61 5.21 7.87 11.17 7.87 7.31 0 11.84-4.51 11.84-13v-3.19h-.34c-2.18 2.69-6.38 5.04-11.68 5.04-11.09 0-21.25-9.66-21.25-22.09 0-12.52 10.16-22.26 21.25-22.26 5.29 0 9.49 2.35 11.68 4.96h.34v-3.61h9.25zm-8.56 20.92c0-7.81-5.21-13.52-11.84-13.52-6.72 0-12.35 5.71-12.35 13.52 0 7.73 5.63 13.36 12.35 13.36 6.63 0 11.84-5.63 11.84-13.36z"}),n.jsx("path",{fill:"#34A853",d:"M225 3v65h-9.5V3h9.5z"}),n.jsx("path",{fill:"#EA4335",d:"M262.02 54.48l7.56 5.04c-2.44 3.61-8.32 9.83-18.48 9.83-12.6 0-22.01-9.74-22.01-22.18 0-13.19 9.49-22.18 20.92-22.18 11.51 0 17.14 9.16 18.98 14.11l1.01 2.52-29.65 12.28c2.27 4.45 5.8 6.72 10.75 6.72 4.96 0 8.4-2.44 10.92-6.14zm-23.27-7.98l19.82-8.23c-1.09-2.77-4.37-4.7-8.23-4.7-4.95 0-11.84 4.37-11.59 12.93z"}),n.jsx("path",{fill:"#4285F4",d:"M35.29 41.41V32H67c.31 1.64.47 3.58.47 5.68 0 7.06-1.93 15.79-8.15 22.01-6.05 6.3-13.78 9.66-24.02 9.66C16.32 69.35.36 53.89.36 34.91.36 15.93 16.32.47 35.3.47c10.5 0 17.98 4.12 23.6 9.49l-6.64 6.64c-4.03-3.78-9.49-6.72-16.97-6.72-13.86 0-24.7 11.17-24.7 25.03 0 13.86 10.84 25.03 24.7 25.03 8.99 0 14.11-3.61 17.39-6.89 2.66-2.66 4.41-6.46 5.1-11.65l-22.49.01z"})]}),td=async e=>{if(!e.news||!e.news.authors)return null;const{news:t,socials:a,texts:o}=e,s=t.authors.map(c=>c.internaluser?`<a href="${`/${e.paths.autor}/${c.name}`}">${c.fullname}</a>`:c.fullname).join(", "),r=()=>t.authors.length===1?le.width1Autor:t.authors.length===2?le.width2Autor:t.authors.length===3?le.width3Autor:"",{CONFIG_shareOnlyWhatsApp:i}=K();return t.config?.showauthor&&n.jsx("div",{className:le.content,children:n.jsxs("div",{className:le.avatarContent,children:[i?n.jsxs("a",{className:le.whatsappLink,href:a[Ys.WhatsApp].url,rel:"noreferrer",target:"_blank",children:[n.jsxs("svg",{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("g",{clipPath:"url(#clip0_2906_6960)",children:n.jsx("path",{d:"M25.6376 4.36364C22.8169 1.54545 19.0598 0 15.0628 0C6.82908 0 0.125619 6.67045 0.125619 14.8636C0.125619 17.4886 0.810811 20.0455 2.1241 22.2955L0 30L7.91397 27.9318C10.0952 29.1136 12.5504 29.7386 15.0514 29.7386C23.2851 29.7386 29.9886 23.0682 29.9886 14.875C29.9886 10.8977 28.4355 7.17045 25.6148 4.36364M15.0628 27.2273C12.8359 27.2273 10.6433 26.6364 8.74762 25.5L8.29083 25.2273L3.58584 26.4545L4.84202 21.8977L4.54511 21.4318C3.30034 19.4659 2.64941 17.1932 2.64941 14.8523C2.64941 8.04545 8.22231 2.5 15.0742 2.5C18.386 2.5 21.5036 3.78409 23.8561 6.125C26.1972 8.46591 27.4876 11.5682 27.4876 14.8636C27.4876 21.6818 21.9147 27.2159 15.0742 27.2159M21.8805 17.9773C21.5036 17.7955 19.6764 16.8977 19.3338 16.7727C18.9912 16.6477 18.74 16.5909 18.4888 16.9545C18.2375 17.3182 17.5295 18.1591 17.3011 18.4091C17.0841 18.6591 16.8671 18.6932 16.4903 18.5C16.1134 18.3068 14.9144 17.9205 13.4869 16.6591C12.3791 15.6705 11.6254 14.4545 11.4084 14.0909C11.1915 13.7273 11.3856 13.5227 11.5683 13.3295C11.7396 13.1591 11.9452 12.8977 12.1279 12.6818C12.3106 12.4659 12.3791 12.3068 12.5048 12.0568C12.6304 11.8068 12.5619 11.5909 12.4705 11.4091C12.3791 11.2273 11.6254 9.39773 11.3171 8.64773C11.0088 7.92045 10.7118 8.02273 10.472 8.01136C10.255 8.01136 10.0038 8 9.75257 8C9.50133 8 9.10164 8.09091 8.75904 8.46591C8.41644 8.84091 7.45718 9.73864 7.45718 11.5682C7.45718 13.3977 8.7933 15.1591 8.97602 15.4091C9.15874 15.6591 11.6026 19.4091 15.3483 21.0227C16.2391 21.4091 16.9357 21.6364 17.4724 21.8068C18.3632 22.0909 19.1854 22.0455 19.8249 21.9545C20.5443 21.8523 22.0289 21.0568 22.3487 20.1932C22.657 19.3295 22.657 18.5795 22.5657 18.4318C22.4743 18.2727 22.2231 18.1818 21.8462 18",fill:"#7AD16D"})}),n.jsx("defs",{children:n.jsx("clipPath",{id:"clip0_2906_6960",children:n.jsx("rect",{width:"30",height:"30",fill:"white"})})})]}),o.WhatsAppLinkJournalist]}):n.jsx("div",{style:{width:"100%"},"data-hydrate":"ShareButtons","data-props":encodeURIComponent(JSON.stringify({noteShare:e.noteShare})),children:n.jsx(ws,{noteShare:e.noteShare})}),n.jsx(Rl,{url:e.noteShare?.googleProfile??""}),n.jsxs("section",{className:le.journalistSection,children:[n.jsx("div",{className:`${le.imageContent} ${r()}`,style:{width:`${t.authors?.length>2?t.authors?.length*30:t.authors?.length*35}px`},children:Array.isArray(t.authors)&&t.authors?.map(async(c,d)=>c.image?n.jsx("img",{fetchPriority:"low",loading:"lazy",alt:"autor",className:`${le.imageStyled} ${le.imageAutor} `,src:await ue(c.image.sizes[0]?.url||"")},c.fullname):n.jsx("div",{className:`${le.contentIconStyled} ${le.imageAutor}`,children:e.autorIcon},c.fullname))}),s&&n.jsx("div",{className:le.journalistInfoLink,dangerouslySetInnerHTML:{__html:`${o.JournalistPrefix} <h3 style="padding:0px;">${s??"Redaccion"}${t.config?.showtime&&","}</h3> ${t.config?.showtime?Dn(t.info.date.modified):null}`}})]})]})})},Nn={content:"_content_zgckk_1",journalistArticleContent:"_journalistArticleContent_zgckk_15",contentNews:"_contentNews_zgckk_35",noteSource:"_noteSource_zgckk_392"},nd={summaryContent:"_summaryContent_wsypg_1"},ad=async({summary:e})=>e&&e.rendered&&n.jsx("section",{className:nd.summaryContent,dangerouslySetInnerHTML:{__html:e.rendered}}),ya=async({newsformated:e,internal:t})=>{if(!t)return;const a=new je,o=e.preview.sizes,r=(await a.getNewsMultimedia({path:t,imagesizes:o?o[0]?.scale:"w:801,h:449,t:2;"}))?.data.data[0]?.gallery??[];return n.jsxs("div",{className:wn.content,children:[n.jsx(it,{slot_id:"header",fullPageWidth:!0,visibleItems:1,pagination:!0,cardGap:0,children:r&&r.map((i,c)=>n.jsx(_e,{preview:i,priorityHigh:!0},c))}),n.jsx("div",{className:wn.description,children:r&&r[0]?.description})]})};function od(e){const t=e.children,a=`${e.slot_id}-`,o=e.visibleItems,s=e.cardGap??20;function r(c){const d=[],l=[];let h="",u=!0;for(let f=0;f<c;f++){const g=`[data-index="${f}"]:checked ~ .carrousel-pagination li:nth-child(${f+1}) {
49
+ h3.9V17C24.1,13.3,22.2,11.7,19.6,11.7z`})}),ml=e=>n.jsxs("svg",{width:"25",height:"21",viewBox:"0 0 25 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[n.jsx("path",{d:"M21.6424 1H3.33879C2.11855 1 1 2.01687 1 3.33879V17.0665C1 18.2867 2.01687 19.4053 3.33879 19.4053H21.6424C22.8626 19.4053 23.9812 18.3884 23.9812 17.0665V3.33879C23.9812 2.01687 22.8626 1 21.6424 1Z",stroke:"black",strokeWidth:"1.6"}),n.jsx("path",{d:"M21.6425 5.57591L12.5923 11.2704L3.33887 5.57591V3.33881L12.5923 8.93157L21.6425 3.33881V5.57591Z",fill:"black"})]}),gl=e=>n.jsxs("svg",{width:"24",height:"19",viewBox:"0 0 24 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[n.jsx("path",{d:"M20.8752 0.195801H2.96092C1.76664 0.195801 0.671875 1.19104 0.671875 2.48485V15.9206C0.671875 17.1149 1.66711 18.2096 2.96092 18.2096H20.8752C22.0695 18.2096 23.1643 17.2144 23.1643 15.9206V2.48485C23.1643 1.19104 22.0695 0.195801 20.8752 0.195801Z",fill:"black"}),n.jsx("path",{d:"M20.8752 4.67439L12.0176 10.2477L2.96094 4.67439V2.48486L12.0176 7.95868L20.8752 2.48486V4.67439Z",fill:"white"})]}),pl=e=>n.jsx("svg",{width:"13",height:"22",viewBox:"0 0 13 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{className:e.className,d:"M11.6659 1H8.99942C6.01924 1 4.0586 2.9084 4.0586 5.96183V8.25191H1.39213C1.15685 8.25191 1 8.40458 1 8.63359V11.916C1 12.145 1.15685 12.2977 1.39213 12.2977H4.0586V20.6183C4.0586 20.8473 4.21545 21 4.45073 21H7.97989C8.21516 21 8.37202 20.8473 8.37202 20.6183V12.2977H11.509C11.7443 12.2977 11.9012 12.145 11.9012 11.916V8.63359C11.9012 8.55725 11.8227 8.40458 11.7443 8.32824C11.6659 8.25191 11.5875 8.17557 11.4306 8.17557H8.29359V6.26718C8.29359 5.35115 8.52887 4.89313 9.78368 4.89313H11.5875C11.8227 4.89313 11.9796 4.74046 11.9796 4.51145V1.45802C12.058 1.15267 11.9012 1 11.6659 1Z",stroke:"black",strokeWidth:"1.6"})}),Al=e=>n.jsx("svg",{width:"26",height:"25",viewBox:"0 0 22 23",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:n.jsx("path",{d:"M10 5C9.45 5 9 5.45 9 6V9H6C5.45 9 5 9.45 5 10C5 10.55 5.45 11 6 11H9V14C9 14.55 9.45 15 10 15C10.55 15 11 14.55 11 14V11H14C14.55 11 15 10.55 15 10C15 9.45 14.55 9 14 9H11V6C11 5.45 10.55 5 10 5ZM10 0C4.48 0 0 4.48 0 10C0 15.52 4.48 20 10 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 10 0ZM10 18C5.59 18 2 14.41 2 10C2 5.59 5.59 2 10 2C14.41 2 18 5.59 18 10C18 14.41 14.41 18 10 18Z",fill:"black"})}),yl={FaceBook:{url:e=>`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(e)}`,icon:{outline:e=>n.jsx(pl,{className:e}),solid:e=>n.jsx(fl,{className:e})}},X:{url:e=>`https://twitter.com/intent/tweet?url=${encodeURIComponent(e)}`,icon:{outline:e=>n.jsx(Pt,{className:e}),solid:e=>n.jsx(Pt,{className:e})}},Whatsapp:{url:e=>`https://wa.me/?text=${encodeURIComponent(e)}`,icon:{outline:e=>n.jsx(is,{className:e}),solid:e=>n.jsx(rs,{className:e})}},Email:{url:e=>`mailto:?body=${encodeURIComponent(e)}`,icon:{outline:e=>n.jsx(ml,{className:e}),solid:e=>n.jsx(gl,{className:e})}},LinkedIn:{url:e=>`https://www.linkedin.com/sharing/share-offsite/?url=${encodeURIComponent(e)}`,icon:{outline:e=>n.jsx(pn,{className:e}),solid:e=>n.jsx(pn,{className:e})}}};function ws({noteShare:e}){const t=e&&e.url||(typeof window<"u"?window.location.href:"https://example.com");return e?n.jsxs("div",{className:le.socialNetworkSection,children:[e.options?.map(a=>{const o=yl[a];if(!o)return null;const s=e.variant==="outline"?o.icon.outline:o.icon.solid,r=o.url(t);return n.jsx(P,{href:r,target:"_blank",rel:"noopener noreferrer","aria-label":`Compartir en ${a}`,className:`${le.socialButton} ${le[`${a.toLowerCase()}Button`]??""} ${le[`${a.toLowerCase()}Styled`]}`,children:s("")},a)}),n.jsx("button",{type:"button","data-text":"Link copiado","data-active":"false","aria-label":"copy",className:[le.clipboardButton,"clipbtn-id"].join(" "),children:n.jsx(cs,{})}),n.jsx("button",{type:"button","aria-label":"share",className:[le.clipboardButton,"sharebtn-id"].join(" "),children:n.jsx(Al,{})})]}):null}const $e={content:"_content_r1co8_1",videoContent:"_videoContent_r1co8_20",articleSection:"_articleSection_r1co8_27",title:"_title_r1co8_42",article:"_article_r1co8_27",correspondent:"_correspondent_r1co8_75",iframeStyled:"_iframeStyled_r1co8_84",contentFrame:"_contentFrame_r1co8_94"},wl=e=>{const t=()=>e?.video.main.author?`${e?.video.main.author} - ${ke(e.video.info.date.created)}`:e?.video.main.author;return n.jsx("div",{className:$e.content,children:n.jsx(yt,{children:n.jsxs("div",{className:$e.videoContent,children:[n.jsx("p",{className:$e.title,children:e.video.main.title}),e.type==="vy"&&n.jsx("iframe",{className:$e.iframeStyled,src:`https://www.youtube.com/embed/${e.video.main.code}`,frameBorder:"0",allowFullScreen:!0}),e.type==="vf"&&n.jsx("iframe",{className:$e.iframeStyled,src:e.video.main.code,frameBorder:"0",allowFullScreen:!0}),e.type==="ve"&&n.jsx("div",{className:$e.contentFrame,dangerouslySetInnerHTML:{__html:e.video.main.code}}),n.jsxs("div",{className:$e.articleSection,children:[n.jsx("p",{className:$e.article,children:xe(e.video.main.description)}),n.jsx("p",{className:$e.correspondent,children:t()})]})]})})})},oa={content:"_content_wxhkd_1",linkStyled:"_linkStyled_wxhkd_9"},Ot=e=>{const{currentPage:t,showNext:a,maxPages:o,pathname:s,query:r}=e,i=(c,d,l)=>{let h="";const u=d.split("/");return u.indexOf("page")!==-1&&u.splice(h.indexOf("page")-1,u.length-1),u.forEach((f,g)=>{g!==0&&(h+=`/${f}`)}),c==="next"?h+=`/page/${t+1}${l?`?query=${l}`:""}`:h+=`/page/${t-1}${l?`?query=${l}`:""}`};return(t>1||a&&t<o)&&n.jsxs("section",{className:oa.content,children:[t>1&&n.jsx(P,{className:oa.linkStyled,href:i("prev",s||"",r||""),children:e.texts.prevButtonText??"Anterior"}),a&&t<o&&n.jsx(P,{className:oa.linkStyled,href:i("next",s||"",r||""),children:e.texts.nextButtonText??"Siguiente"})]})},An={content:"_content_zal5g_1",contentGrid:"_contentGrid_zal5g_8",contentGrid4:"_contentGrid4_zal5g_17",contentGrid3:"_contentGrid3_zal5g_21"},yn=e=>{const{grid:t=3}=e;return n.jsxs("section",{className:`${An.content}`,children:[n.jsx("div",{className:`${An.contentGrid} ${e.className?e.className:""} ${t===3?An.contentGrid3:An.contentGrid4} news-content`,children:e.children}),n.jsx(n.Fragment,{children:e.paginatorComponent})]})},Dt={content:"_content_15x47_1",newsDescription:"_newsDescription_15x47_15",image:"_image_15x47_41"},Oe=e=>{const{main:t,authors:a,info:o,preview:s,share:r,isVideo:i,config:c,overImage:d="default",isTitle:l,priorityHigh:h=!1,isLarge:u,paths:f,keywords:g}=e;return n.jsxs("section",{className:Dt.content,style:{...e.customSectionCardStyles},children:[n.jsx(P,{"aria-label":e.main?.title?.section,className:Dt.image,title:t?.title?.section,href:o?.link?.url,target:o?.link?.target,children:n.jsx(_e,{preview:s,isVideo:i,isLarge:u,priorityHigh:h})}),n.jsx("div",{className:Dt.newsDescription,children:n.jsx(ct,{main:t,authors:a,info:o,preview:s,share:r,config:c,overImage:d,isTitle:l,paths:f,keywords:g})})]})},Xe={content:"_content_14xk9_1",boxInformation:"_boxInformation_14xk9_12",titleGradient:"_titleGradient_14xk9_30",sectionDescription:"_sectionDescription_14xk9_58",articule:"_articule_14xk9_83",linkStyled:"_linkStyled_14xk9_116"},Mt=e=>{const{isVideo:t,info:a,main:o,overImage:s="default",titleGradient:r=!1}=e,{SHOW_TAG_BY_SECTION:i}=K(),c=()=>{if(i&&e.keywords?.tags?.length&&e.keywords.tags.length>0){const d=e.keywords.tags[0],l=d.name;return d.approved?n.jsx("h3",{children:n.jsx(P,{"aria-label":l,className:Xe.sectionDescription,href:at(d,e.paths),children:l})}):n.jsx("div",{className:Xe.sectionDescription,children:l})}else if(e.info?.section?.url)return n.jsx("h3",{children:n.jsx(P,{className:Xe.sectionDescription,href:e?.info?.link?.url,target:e?.info?.link?.target,children:e.info.section.name})});return null};return n.jsxs("section",{className:Xe.content,children:[n.jsx(P,{title:o?.title?.section,href:a.link.url,target:a.link.target,children:n.jsx(_e,{preview:e.preview,isVideo:t})}),n.jsxs("div",{className:[Xe.boxInformation,r?Xe.titleGradient:""].join(" "),style:{width:s!=="default"?"90%":"",left:s==="left"?0:s==="right"?"calc(10% - 1px)":"auto",top:s!=="default"?"-1rem":""},children:[n.jsx(c,{}),n.jsx("h2",{className:Xe.articule,children:n.jsx(P,{className:Xe.linkStyled,href:e?.info?.link?.url,target:e?.info?.link?.target,children:e.main?.title?.section})})]})]})},bs={content:"_content_kro73_1",contentLayout:"_contentLayout_kro73_5"},sa=e=>n.jsx("div",{className:bs.content,children:n.jsx(yt,{className:`${bs.contentLayout} ${e.className}`,children:e.children})}),bt={content:"_content_1nqra_1",before:"_before_1nqra_11",textContent:"_textContent_1nqra_22",title:"_title_1nqra_37",description:"_description_1nqra_46",linkStyled:"_linkStyled_1nqra_57"},bl=e=>{const t=e.logo;return n.jsxs("section",{className:bt.content,children:[e.backgroundImgURL&&n.jsx("img",{className:bt.before,src:e.backgroundImgURL,alt:""}),n.jsxs("div",{className:`${bt.textContent} error-text-content`,children:[n.jsx(t,{}),n.jsx("p",{className:bt.title,children:e.title}),n.jsx("p",{className:bt.description,children:e.description}),n.jsx(P,{className:bt.linkStyled,href:"/",children:e.buttonText??"Inicio"})]})]})},jt={content:"_content_zxcog_1",contentLabel:"_contentLabel_zxcog_8",label:"_label_zxcog_13",required:"_required_zxcog_22",input:"_input_zxcog_28"},vl=e=>n.jsxs("div",{className:jt.content,children:[n.jsxs("div",{className:jt.contentLabel,children:[n.jsx("label",{className:jt.label,children:e.label}),e.required&&n.jsx("span",{className:jt.required,children:"*"})]}),n.jsx("input",{className:jt.input,...e})]}),Qt={content:"_content_zgx5w_1",contentLabel:"_contentLabel_zgx5w_8",label:"_label_zgx5w_13",required:"_required_zgx5w_22",input:"_input_zgx5w_28"},Cl=e=>n.jsxs("div",{className:Qt.content,children:[n.jsxs("div",{className:Qt.contentLabel,children:[n.jsx("label",{className:Qt.label,children:e.label}),e.required&&n.jsx("span",{className:Qt.required,children:"*"})]}),n.jsxs("select",{className:Qt.input,...e,children:[n.jsx("option",{value:"",children:"--Seleccione--"}),e.options.map((t,a)=>n.jsx("option",{value:t.value,children:t.label},a))]})]}),ra={content:"_content_1mi9t_1",label:"_label_1mi9t_8",input:"_input_1mi9t_17"},_l=e=>n.jsxs("div",{className:ra.content,children:[n.jsx("label",{className:ra.label,children:e.label}),n.jsx("textarea",{className:ra.input,...e})]}),Re={boxInformation:"_boxInformation_achvw_1",textBox:"_textBox_achvw_30",contentBox:"_contentBox_achvw_40",liveBox:"_liveBox_achvw_50",dot:"_dot_achvw_72",sectionDescription:"_sectionDescription_achvw_97",articule:"_articule_achvw_110",description:"_description_achvw_137"},wn={content:"_content_8ehij_1",description:"_description_8ehij_23"},vs=e=>{let t="";return e.preview.description&&(t=e.preview.description),e.preview.copyright&&(t=`${t} ${e.preview.copyright}`),e.preview.photographer&&(t=`${t} ${e.preview.photographer}`),n.jsxs("div",{className:wn.content,children:[n.jsx(_e,{preview:e.preview,isLarge:!0,priorityHigh:!0}),t&&n.jsx("div",{className:wn.description,children:t})]})},Cs=e=>n.jsx(n.Fragment,{children:n.jsxs("div",{className:Re.boxInformation,children:[n.jsx(vs,{preview:e.preview}),n.jsxs("div",{className:Re.textBox,children:[n.jsxs("div",{className:Re.contentBox,children:[e?.info?.section&&n.jsx(P,{className:Re.sectionDescription,href:e?.info?.section?.url,children:e?.info?.section?.name}),n.jsxs("div",{className:Re.liveBox,children:[n.jsx("span",{className:Re.dot}),n.jsx("p",{children:"EN VIVO"})]})]}),n.jsx("h1",{className:Re.articule,children:e.main?.title?.section}),e.config?.showsubtitle&&n.jsx("div",{className:Re.description,style:{"--fontSizeSubTitle":e.fontSizeSubTitle,"--lineHeightSubTitle":e.lineHeightSubTitle},children:e.main.subtitle.striped})]})]})}),bn={content:"_content_oipiy_1",contentLine:"_contentLine_oipiy_17",contentText:"_contentText_oipiy_24",dateLink:"_dateLink_oipiy_37"},_s=e=>n.jsx("section",{className:bn.content,children:e.itemList[0]?.list.items.map((t,a)=>n.jsxs("div",{className:bn.contentLine,children:[n.jsx(P,{className:bn.dateLink,href:`#item-${a+1}`,children:Ya(t.date)}),n.jsx("div",{className:bn.contentText,children:(e.itemList[0]?.list.integrated,t.title)})]},a))}),Te={content:"_content_w8a84_1",contentInfo:"_contentInfo_w8a84_11",imageStyled:"_imageStyled_w8a84_19",contentIconStyled:"_contentIconStyled_w8a84_30",name:"_name_w8a84_56",email:"_email_w8a84_65",description:"_description_w8a84_81",contenSocialNetwork:"_contenSocialNetwork_w8a84_93",socialIcon:"_socialIcon_w8a84_103"},Ss=async e=>{const{autor:t,autorIcon:a}=e,o=a;return n.jsx("section",{className:`${Te.content} ${e.className?e.className:null}`,children:n.jsxs("div",{className:Te.contentInfo,children:[t.info.image?n.jsx("img",{fetchPriority:"low",loading:"lazy",alt:"",className:Te.imageStyled,src:await ue(t.info.image.sizes[0]?.url||"")}):n.jsx("div",{className:Te.contentIconStyled,children:n.jsx(o,{})}),n.jsx("h1",{className:Te.name,children:t.info.fullname}),t.addtional.USER_SHOWEMAIL&&n.jsx("p",{className:Te.email,children:t.info.email}),t.addtional.USER_SHOWBIO&&n.jsx("p",{className:Te.description,children:t.addtional.USER_MIBIO}),n.jsxs("div",{className:Te.contenSocialNetwork,children:[t.addtional.USER_USERFB&&n.jsx("a",{href:t.addtional.USER_USERFB,target:"_blank",rel:"noreferrer",children:n.jsx(na,{className:Te.socialIcon})}),t.addtional.USER_USERIG&&n.jsx("a",{href:t.addtional.USER_USERIG,target:"_blank",rel:"noreferrer",children:n.jsx(aa,{className:Te.socialIcon})}),t.addtional.USER_USERTWT&&n.jsx("a",{href:t.addtional.USER_USERTWT,target:"_blank",rel:"noreferrer",children:n.jsx(Pt,{className:Te.socialIcon})}),t.addtional.USER_USERLIN&&n.jsx("a",{href:t.addtional.USER_USERLIN,target:"_blank",rel:"noreferrer",children:n.jsx(pn,{className:Te.socialIcon})})]})]})})},Se={content:"_content_18ozj_1",contentInfo:"_contentInfo_18ozj_13",contentAuthor:"_contentAuthor_18ozj_26",imageStyled:"_imageStyled_18ozj_33",contentIconStyled:"_contentIconStyled_18ozj_42",name:"_name_18ozj_64",email:"_email_18ozj_72",description:"_description_18ozj_82",contenSocialNetwork:"_contenSocialNetwork_18ozj_93",socialIcon:"_socialIcon_18ozj_103"},Ns=async e=>{const{autor:t,autorIcon:a}=e,o=a;return n.jsx("section",{className:Se.content,children:n.jsxs("div",{className:Se.contentInfo,children:[t.info.image?n.jsx("img",{fetchPriority:"low",loading:"lazy",className:Se.imageStyled,src:await ue(t.info.image.sizes[0]?.url||"")}):n.jsx("div",{className:Se.contentIconStyled,children:n.jsx(o,{})}),n.jsxs("div",{className:Se.contentAuthor,children:[n.jsx("h1",{className:Se.name,children:t.info.fullname}),t.addtional.USER_SHOWEMAIL&&n.jsx("p",{className:Se.email,children:t.info.email}),t.addtional.USER_SHOWBIO&&n.jsx("p",{className:Se.description,children:t.addtional.USER_MIBIO}),n.jsxs("div",{className:Se.contenSocialNetwork,children:[t.addtional.USER_USERFB&&n.jsx("a",{href:t.addtional.USER_USERFB,target:"_blank",rel:"noreferrer",children:n.jsx(na,{className:Se.socialIcon})}),t.addtional.USER_USERIG&&n.jsx("a",{href:t.addtional.USER_USERIG,target:"_blank",rel:"noreferrer",children:n.jsx(aa,{className:Se.socialIcon,style:{padding:"4px"}})}),t.addtional.USER_USERTWT&&n.jsx("a",{href:t.addtional.USER_USERTWT,target:"_blank",rel:"noreferrer",children:n.jsx(Pt,{className:Se.socialIcon})}),t.addtional.USER_USERLIN&&n.jsx("a",{href:t.addtional.USER_USERLIN,target:"_blank",rel:"noreferrer",children:n.jsx(pn,{className:Se.socialIcon})})]})]})]})})},Es={content:"_content_jg6i2_1",bannerSection:"_bannerSection_jg6i2_25"},ia=e=>n.jsxs("section",{className:Es.content,children:[e.children,n.jsxs("div",{className:Es.bannerSection,children:[e.bannerTop,n.jsx(fn,{content:e.ranking,title:e.readestTitle,paths:e.paths,customNewsDescriptionStyles:{"--news-description-title-size-desk":"16px","--news-description-title-line-height-desk":"22px","--news-description-title-size-mobile":"16px","--news-description-title-line-height-mobile":"22px"}}),e.banner]})]}),qe={content:"_content_7v98f_1",header:"_header_7v98f_30",videos:"_videos_7v98f_56",videoContent:"_videoContent_7v98f_63",articleSection:"_articleSection_7v98f_70",contentLayoutVideoSection:"_contentLayoutVideoSection_7v98f_85",sectionVideoList:"_sectionVideoList_7v98f_93",iframeStyled:"_iframeStyled_7v98f_166",contentFrame:"_contentFrame_7v98f_172"},ca={content:"_content_1dj0q_1",linkImage:"_linkImage_1dj0q_12",playStyled:"_playStyled_1dj0q_19"},Sl=async e=>{const t=un(),a={...e,main:{...e.main,title:{...e.main.title,article:xe(e.main.title.article,60)}}};return e&&e.info?n.jsxs("section",{className:ca.content,children:[n.jsx("a",{className:ca.linkImage,target:e?.info?.link?.target,title:e?.main?.title?.section,href:e.info.link.url,children:n.jsxs("div",{style:{position:"relative"},children:[n.jsx("img",{src:await ue(e.preview.sizes[0]?.url||"")}),n.jsx(t,{className:`${ca.playStyled} saas-image-play-icon`})]})}),n.jsx("div",{children:n.jsx(ct,{...a,paths:e.paths})})]}):null},Nl=e=>n.jsx("div",{className:qe.content,children:n.jsxs(yt,{className:qe.contentLayoutVideoSection,children:[n.jsxs("a",{className:qe.header,href:e.goBackLink??"/videos",children:[n.jsx("svg",{width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.6055 4.86193C12.8659 5.12228 12.8659 5.54439 12.6055 5.80474L8.41026 10L12.6055 14.1953C12.8659 14.4556 12.8659 14.8777 12.6055 15.1381C12.3452 15.3984 11.9231 15.3984 11.6627 15.1381L6.99604 10.4714C6.73569 10.2111 6.73569 9.78894 6.99604 9.52859L11.6627 4.86193C11.9231 4.60158 12.3452 4.60158 12.6055 4.86193Z",fill:"white"})}),e.titleGoBack??"VOLVER A VIDEOS"]}),n.jsxs("div",{className:qe.videos,children:[n.jsxs("div",{className:qe.videoContent,style:e.mainVideoStyles,children:[e.type==="vy"&&n.jsx("iframe",{className:qe.iframeStyled,src:`https://www.youtube.com/embed/${e.video?.main?.code}`,frameBorder:"0",allowFullScreen:!0}),e.type==="vf"&&n.jsx("iframe",{className:qe.iframeStyled,src:e.video?.main?.code,frameBorder:"0",allowFullScreen:!0}),e.type==="ve"&&n.jsx("div",{className:qe.contentFrame,dangerouslySetInnerHTML:{__html:e.video?.main?.code??""}}),n.jsx("div",{className:qe.articleSection,children:n.jsx(ct,{isTitle:!0,cutSubtitle:!1,...mt({...e?.video,info:{...e?.video?.info,link:{...e.video?.info?.link,url:""}}},!0,!!e.video?.main?.description),paths:e.paths})})]}),n.jsxs("div",{className:qe.sectionVideoList,style:e.listVideoStyles,children:[e.banner&&n.jsx(fe,{banners:e.banner.banners,name:e.banner.bannerName}),e.relatedName&&n.jsx("h2",{className:`${qe.relatedTitle} saas-video-related-title`,children:e.relatedName}),Array.isArray(e.videoList)&&e.videoList.map((t,a)=>E.createElement(Sl,{...mt(t,!0,!1),key:a,paths:e.paths}))]})]})]})}),He={content:"_content_gcte1_1",titleContent:"_titleContent_gcte1_24",title:"_title_gcte1_24",startLine:"_startLine_gcte1_88",line:"_line_gcte1_93",bottomLine:"_bottomLine_gcte1_99",childrenContent:"_childrenContent_gcte1_118",readMore:"_readMore_gcte1_131"},he=E.forwardRef((e,t)=>{const{isTitle:a=!1,isOpinion:o=!1}=e,s=a?n.jsx("h1",{className:He.title,children:e.title}):n.jsx("h2",{className:He.title,children:e.title});return n.jsxs("section",{className:He.content,children:[e.title&&n.jsxs("div",{className:[He.titleContent,e.className??""].join(" "),"data-after":`${o}`,children:[n.jsx("hr",{className:He.startLine}),e.titleUrl?n.jsx(P,{href:e.titleUrl,children:s}):s,n.jsx("hr",{className:He.line}),e.titleUrl&&n.jsx(P,{className:He.readMore,href:e.titleUrl?.toString()??""})]}),e.title&&n.jsx("hr",{className:[He.bottomLine,e.className??""].join(" ")}),n.jsx("div",{className:He.childrenContent,ref:t,children:e.children})]})}),la=e=>n.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"var(--header-icons)",xmlns:"http://www.w3.org/2000/svg",...e,children:n.jsx("path",{d:"M10.5283 0.562859C13.1487 0.49118 15.6972 1.42576 17.6494 3.17516C19.6016 4.92465 20.8095 7.3565 21.0244 9.96911C21.2392 12.5816 20.4447 15.1772 18.8047 17.222L18.6641 17.3978L18.8232 17.556L23.1475 21.8451H23.1484C23.3137 22.016 23.4062 22.2451 23.4062 22.4828C23.4062 22.7194 23.3143 22.9469 23.1504 23.1175C23.0653 23.2033 22.964 23.2712 22.8525 23.3177C22.7409 23.3642 22.6209 23.388 22.5 23.3881C22.3791 23.3881 22.2591 23.3642 22.1475 23.3177C22.0358 23.2712 21.9338 23.2034 21.8486 23.1175L17.5547 18.8236L17.3965 18.6644L17.2217 18.805C15.1768 20.4451 12.5812 21.2395 9.96875 21.0248C7.35614 20.8099 4.9243 19.602 3.1748 17.6498C1.4254 15.6976 0.490821 13.149 0.5625 10.5287C0.634205 7.90823 1.70691 5.41454 3.56055 3.56091C5.41418 1.70727 7.90787 0.634563 10.5283 0.562859ZM14.0537 3.057C12.516 2.42011 10.8239 2.25385 9.19141 2.57848C7.55873 2.90324 6.05893 3.7051 4.88184 4.88219C3.70474 6.05929 2.90288 7.55909 2.57812 9.19176C2.25349 10.8242 2.41975 12.5163 3.05664 14.0541C3.69368 15.592 4.77311 16.9066 6.15723 17.8314C7.54131 18.7562 9.16841 19.2504 10.833 19.2504C13.0652 19.2504 15.2058 18.363 16.7842 16.7845C18.3626 15.2061 19.25 13.0656 19.25 10.8334C19.25 9.16877 18.7558 7.54167 17.8311 6.15759C16.9062 4.77347 15.5917 3.69404 14.0537 3.057Z",fill:"var(--header-icons)",stroke:"var(--header-icons)",strokeWidth:"0.5"})}),vn=e=>n.jsx("svg",{width:"12",height:"13",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:n.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.862254 3.39448C1.1226 3.13413 1.54471 3.13413 1.80506 3.39448L6.00033 7.58974L10.1956 3.39448C10.4559 3.13413 10.878 3.13413 11.1384 3.39448C11.3987 3.65483 11.3987 4.07694 11.1384 4.33729L6.47173 9.00396C6.21138 9.26431 5.78927 9.26431 5.52892 9.00396L0.862254 4.33729C0.601905 4.07694 0.601905 3.65483 0.862254 3.39448Z",fill:e.fill??"#7B888A"})}),ce={drawerStyled:"_drawerStyled_xk2do_1",sidebarCustom:"_sidebarCustom_xk2do_6",accordionStyled:"_accordionStyled_xk2do_24",accordionHeading:"_accordionHeading_xk2do_35",accordionSummeryStyled:"_accordionSummeryStyled_xk2do_44",linkStyled:"_linkStyled_xk2do_71",subLinkStyled:"_subLinkStyled_xk2do_91",inputContent:"_inputContent_xk2do_113",buttonContent:"_buttonContent_xk2do_114",inputStyled:"_inputStyled_xk2do_124",buscar:"_buscar_xk2do_140",buttonStyled:"_buttonStyled_xk2do_168",accordionDetailsStyled:"_accordionDetailsStyled_xk2do_183",footerSlider:"_footerSlider_xk2do_198",socialMedia:"_socialMedia_xk2do_209",copyRights:"_copyRights_xk2do_228",icon:"_icon_xk2do_239"},El=({sidebar:e,socials:t,copyrigth:a,sidebarExtra:o,searchKeyWord:s})=>n.jsxs("aside",{className:ce.drawerStyled,id:"sidebar-expandable",style:{"--header-icons":"var(--search-input-icons)"},children:[n.jsx("input",{type:"checkbox",id:"side-bar-state"}),n.jsxs("section",{className:ce.sidebarCustom,children:[n.jsx("div",{className:ce.buttonContent,children:n.jsx("label",{className:ce.buttonStyled,htmlFor:"side-bar-state",children:n.jsx(wt,{className:ce.icon})})}),n.jsx("div",{className:ce.inputContent,children:n.jsxs("form",{className:ce.inputStyled,action:"/buscar",method:"GET",children:[n.jsx("input",{className:ce.buscar,type:"text",name:"query",placeholder:s+"..."}),n.jsx("button",{type:"submit",style:{background:"transparent",border:"none",outline:"none",padding:0,margin:0},children:n.jsx(la,{color:"var(--search-input-icons)"})})]})}),n.jsxs("div",{style:{display:"flex",flexDirection:"column",justifyContent:"space-between",height:"100%"},children:[n.jsxs("div",{children:[o,e.map((r,i)=>n.jsxs("div",{className:ce.accordionStyled,children:[n.jsx("input",{type:"checkbox",style:{display:"none"},id:"accordion_"+i}),n.jsx("h3",{className:ce.accordionHeading,children:Array.isArray(r.subitem)?n.jsxs("label",{className:ce.accordionSummeryStyled,htmlFor:"accordion_"+i,children:[r.link?n.jsx(P,{className:`${ce.linkStyledAccordion} ${ce.linkStyled}`,href:r.link?r.link:void 0,target:r.target,children:r.description}):n.jsx("div",{children:r.description}),n.jsx(vn,{width:13,height:13,fill:"var(--side-bar-arrow-color)"})]}):n.jsx(P,{className:ce.linkStyled,href:r.link?r.link:void 0,target:r.target,children:r.description})}),Array.isArray(r.subitem)&&n.jsx("div",{className:ce.accordionDetailsStyled,style:{"--max-height":r.subitem.length*45+"px"},children:r.subitem.map((c,d)=>n.jsx(P,{className:ce.subLinkStyled,href:c.link?c.link:void 0,target:c.target,children:c.description},d))})]},i))]}),n.jsxs("div",{className:ce.footerSlider,children:[n.jsx("div",{className:ce.socialMedia,children:Object.keys(t).map(r=>t[r]?.show&&n.jsx("a",{target:"_blank",rel:"noreferrer","aria-label":t[r].title+" link",className:ce.linkSocialNetwork,href:t[r].url,children:gn[r]({className:ce.icon})},r))}),n.jsx("p",{className:ce.copyRights,children:a})]})]})]})]}),Ts=e=>n.jsxs("svg",{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[n.jsx("path",{d:"M5 22.5H25C25.6875 22.5 26.25 21.9375 26.25 21.25C26.25 20.5625 25.6875 20 25 20H5C4.3125 20 3.75 20.5625 3.75 21.25C3.75 21.9375 4.3125 22.5 5 22.5ZM5 16.25H25C25.6875 16.25 26.25 15.6875 26.25 15C26.25 14.3125 25.6875 13.75 25 13.75H5C4.3125 13.75 3.75 14.3125 3.75 15C3.75 15.6875 4.3125 16.25 5 16.25ZM3.75 8.75C3.75 9.4375 4.3125 10 5 10H25C25.6875 10 26.25 9.4375 26.25 8.75C26.25 8.0625 25.6875 7.5 25 7.5H5C4.3125 7.5 3.75 8.0625 3.75 8.75Z",fill:e.color}),n.jsx("path",{d:"M5 22.5H25C25.6875 22.5 26.25 21.9375 26.25 21.25C26.25 20.5625 25.6875 20 25 20H5C4.3125 20 3.75 20.5625 3.75 21.25C3.75 21.9375 4.3125 22.5 5 22.5ZM5 16.25H25C25.6875 16.25 26.25 15.6875 26.25 15C26.25 14.3125 25.6875 13.75 25 13.75H5C4.3125 13.75 3.75 14.3125 3.75 15C3.75 15.6875 4.3125 16.25 5 16.25ZM3.75 8.75C3.75 9.4375 4.3125 10 5 10H25C25.6875 10 26.25 9.4375 26.25 8.75C26.25 8.0625 25.6875 7.5 25 7.5H5C4.3125 7.5 3.75 8.0625 3.75 8.75Z",fill:e.color})]}),Gt={content:"_content_1k52x_1",chipStyled:"_chipStyled_1k52x_17",headLine:"_headLine_1k52x_17",live:"_live_1k52x_25",closeLiveStyled:"_closeLiveStyled_1k52x_88"},Is=e=>{const{alertZone:t,id:a="close-alert"}=e,o=()=>n.jsx(P,{className:Gt.headLine,href:t?.data[0]?.info.link.url,target:t?.data[0]?.info.link.target,title:t?.data[0]?.main.title.home,children:t?.data[0]?.main?.title.home??""});return n.jsxs(n.Fragment,{children:[n.jsx("input",{type:"checkbox",id:a,style:{display:"none"},defaultChecked:!(t&&t?.data&&t?.data[0]?.main?.title.home)}),t&&t?.data&&t?.data[0]?.main?.title.home&&n.jsxs("div",{id:"alert-chip",className:Gt.content,style:e.forceShow?{display:"flex",position:"sticky",top:100}:{},children:[n.jsxs("div",{className:Gt.live,children:[n.jsx("div",{className:Gt.chipStyled,children:t?.entity?.description}),e.forceShow&&n.jsx(o,{}),n.jsx("label",{htmlFor:a,children:n.jsx(wt,{className:Gt.closeLiveStyled})})]}),n.jsx(o,{})]})]})},ze={content:"_content_18yq5_1",linkStyled:"_linkStyled_18yq5_14",linkSocialNetwork:"_linkSocialNetwork_18yq5_28",title:"_title_18yq5_49",tabs:"_tabs_18yq5_60",socialNetwork:"_socialNetwork_18yq5_68",icon:"_icon_18yq5_78",facebook:"_facebook_18yq5_84",youtube:"_youtube_18yq5_88",x:"_x_18yq5_92",instagram:"_instagram_18yq5_96",gnews:"_gnews_18yq5_100",tiktok:"_tiktok_18yq5_104",whatsapp:"_whatsapp_18yq5_108"},Tl=e=>{const{cintillo:t,tapeTitle:a,socials:o}=e,s="",r=t?.findIndex(i=>i.link===s)??0;return(Array.isArray(t)||e.socialIcons)&&n.jsxs("section",{className:ze.content,children:[Array.isArray(t)&&n.jsxs("div",{className:`${ze.tabs} header-page-tape-content`,children:[a!==""&&n.jsx("p",{className:ze.title,children:`${a}`}),t&&t[r]&&n.jsx(P,{className:ze.linkStyled,target:t[r]?.target,href:t[r]?.link,style:{color:t[r]?.link===s?"var(--header-tape-active-link)":"var(--header-tape-icons)",fontWeight:t[r]?.link===s?"700":"400"},children:t[r]?.description},r),t&&t.map((i,c)=>{if(c!==r)return n.jsx(P,{className:ze.linkStyled,href:i?.link,style:{color:i?.link===s?"var(--header-tape-active-link)":"var(--header-tape-color)",fontWeight:i?.link===s?"700":"400"},children:i?.description},c)})]}),n.jsx("div",{className:ze.socialNetwork,children:Object.keys(o).map(i=>o[i]?.show&&n.jsx("a",{target:"_blank",rel:"noreferrer","aria-label":o[i].title+" link",className:ze.linkSocialNetwork,href:o[i].url,children:gn[i]({className:[ze.icon,ze[i]??""].join(" ")})},i))})]})},Ie={headerStyled:"_headerStyled_t61zq_1",headerContent:"_headerContent_t61zq_14",iconContent:"_iconContent_t61zq_25",menuButton:"_menuButton_t61zq_34",logoStyled:"_logoStyled_t61zq_66",buttonSection:"_buttonSection_t61zq_94",buttonSectionSearch:"_buttonSectionSearch_t61zq_109",headLineContent:"_headLineContent_t61zq_130",headLineTitle:"_headLineTitle_t61zq_143",headLine:"_headLine_t61zq_130",hasAlertZone:"_hasAlertZone_t61zq_196"},Il=e=>{const{alertZone:t}=e;return n.jsxs("header",{className:Ie.headerStyled,children:[e.socialIcons&&n.jsx(Tl,{socialIcons:e.socialIcons,cintillo:e.cintillo,tapeTitle:e.tapeTitle,socials:e.socials}),n.jsxs("div",{className:`${Ie.headerContent} center-mobile-header-icon`,children:[n.jsx(mn,{id:"button-app",className:Ie.menuButton,toggledrawerevent:"true","aria-label":"menu","aria-labelledby":"menu",title:"menu",children:n.jsx(Ts,{className:Ie.startIcon,color:"var(--header-icons)",width:27,height:27})}),n.jsx("div",{className:Ie.iconContent,children:n.jsx(P,{href:"/","aria-label":"Home",className:"icon header-logo-link-sticky",style:{display:"flex"},children:E.createElement("span",{className:Ie.logoStyled},e.icon)})}),!e.showAlertPop&&t?.data&&n.jsxs("div",{className:Ie.headLineContent,children:[n.jsx("div",{className:`${Ie.headLineTitle} headLineTitle`,children:t.entity.description?`${t.entity.description}`:""}),n.jsx(P,{className:Ie.headLine,href:t.data[0]?.info.link.url,target:t.data[0]?.info.link.target,title:t.data[0]?.main.title.home,children:xe(t.data[0]?.main.title.home??"",120)})]}),n.jsxs("div",{style:e.showAlertPop?{marginLeft:"auto"}:{},className:[Ie.buttonSection,t?.data?Ie.hasAlertZone:"","search-button"].join(" "),children:[n.jsx(P,{href:e.searchLink?e.searchLink:"/buscar","aria-label":e.searchKeyWord,className:`${Ie.buttonSectionSearch} search-button-icon`,style:{display:"flex"},children:n.jsx(la,{width:28,height:28,color:"currentColor"})}),e.rightZone]})]}),!e.showAlertPop&&n.jsx(Is,{alertZone:t,forceShow:e.showAlertPop})]})},Fe={ul:"_ul_j3aqc_1",li:"_li_j3aqc_10",liBefore:"_liBefore_j3aqc_18",ulContent:"_ulContent_j3aqc_33",contentModal:"_contentModal_j3aqc_44",linkStyled:"_linkStyled_j3aqc_56",itemLink:"_itemLink_j3aqc_81"},kl=e=>{const{items:t}=e;return n.jsx("ul",{className:Fe.ul,children:t.map((a,o)=>n.jsxs("li",{className:`${Fe.liBefore} ${Fe.li}`,children:[a.link?n.jsxs(P,{"aria-label":a.description,className:Fe.linkStyled,href:a.link?a.link:void 0,target:a.target,children:[a.description,Array.isArray(a.subitem)&&n.jsx(vn,{})]}):n.jsxs("span",{"aria-label":a.description,className:Fe.linkStyled,children:[a.description,Array.isArray(a.subitem)&&n.jsx(vn,{})]}),Array.isArray(a.subitem)&&n.jsx("ul",{className:Fe.ulContent,children:n.jsx("div",{className:Fe.contentModal,children:a.subitem.map((s,r)=>n.jsx("li",{className:Fe.li,children:n.jsx(P,{className:Fe.itemLink,"aria-label":s.description,href:s.link?s.link:void 0,target:s.target,children:s.description})},r))})})]},o))})},pe={headerStyled:"_headerStyled_ksxbt_1",headerContent:"_headerContent_ksxbt_23",menuButtonSection:"_menuButtonSection_ksxbt_33",menuButton:"_menuButton_ksxbt_33",buttonSection:"_buttonSection_ksxbt_84",buttonSectionSearch:"_buttonSectionSearch_ksxbt_101",hasAlertZone:"_hasAlertZone_ksxbt_111",buttonText:"_buttonText_ksxbt_130",logoContent:"_logoContent_ksxbt_140",logoStyled:"_logoStyled_ksxbt_148",headLineContent:"_headLineContent_ksxbt_172",headLineTitle:"_headLineTitle_ksxbt_187",menuSection:"_menuSection_ksxbt_203",headLine:"_headLine_ksxbt_172",line:"_line_ksxbt_255"},xl=e=>{const{menu:t,alertZone:a}=e;return n.jsx("header",{className:pe.headerStyled,style:{top:e.cintillo||e.socialIcons?40:0},children:n.jsxs("div",{style:e.showAlertPop?{gap:0}:{},className:[pe.headerContent,a?.data?pe.hasAlertZone:""].join(" "),children:[n.jsx("div",{className:pe.menuButtonSection,children:n.jsxs(mn,{className:pe.menuButton,id:"button-app",toggledrawerevent:"true","aria-label":"menu","aria-labelledby":"menu",title:"menu",children:[n.jsx(Ts,{color:"var(--header-icons)",width:27,height:27}),n.jsx("p",{className:pe.buttonText,style:{lineHeight:0},children:e.menuText})]})}),n.jsx("div",{className:pe.logoContent,children:n.jsx(P,{href:"/","aria-label":"Home",className:"header-logo-link",children:E.createElement("span",{className:`${pe.logoStyled}`},e.icon)})}),n.jsxs("div",{className:pe.buttonSection,children:[n.jsx(P,{href:e.searchLink?e.searchLink:"/buscar",style:{display:"flex"},className:pe.buttonSectionSearch,"aria-label":e.searchKeyWord,children:n.jsx(la,{width:28,height:28,color:"currentColor"})}),e.rightZone]}),!e.showAlertPop&&a?.data?n.jsxs("div",{className:pe.headLineContent,children:[n.jsx("p",{className:`${pe.headLineTitle} headLineTitle`,children:a.entity.description?`${a.entity.description}`:""}),n.jsx(P,{className:pe.headLine,href:a.data[0]?.info.link.url,target:a.data[0]?.info.link.target,title:a.data[0]?.main.title.home,children:xe(a.data[0]?.main.title.home??"",120)})]}):n.jsx("div",{className:pe.line}),n.jsx("div",{className:pe.menuSection,style:e.showAlertPop?{"--showAlertPop":"0px"}:{},children:Array.isArray(t)&&n.jsx(kl,{items:t})})]})})},da={childrenContent:"_childrenContent_wqlb4_1",childrenContentAux:"_childrenContentAux_wqlb4_12",op2:"_op2_wqlb4_25"},Ul=e=>{const{alertZone:t,children:a,sidebar:o}=e;return n.jsxs(n.Fragment,{children:[n.jsx(Il,{...e}),!e.showOnlyStickyHeader&&n.jsx(xl,{...e}),n.jsxs("div",{className:[da.childrenContent,e.showAlertPop?da.op2:"",t?.data?da.childrenContentAux:""].join(" "),style:e.showOnlyStickyHeader?{"--hasAlertMargin":"3.6rem !important"}:{},id:"content-layout",children:[e.showAlertPop&&n.jsx(Is,{alertZone:t,forceShow:e.showAlertPop,id:"static-alert-chip"}),a]}),n.jsx(El,{sidebarExtra:e.sidebarExtra,searchKeyWord:e.searchKeyWord,sidebar:o,socials:e.socials,copyrigth:e.copyrigth})]})},vt={content:"_content_16ydf_1",tags:"_tags_16ydf_10",chipStyled:"_chipStyled_16ydf_20",tagLink:"_tagLink_16ydf_47",tagStyled:"_tagStyled_16ydf_53"},ks=e=>n.jsx("section",{className:vt.content,children:Array.isArray(e.tags)&&n.jsxs("div",{className:vt.tags,children:[n.jsx("p",{className:vt.tagStyled,children:e.title?e.title:"Tags:"}),e.tags.map((t,a)=>t.approved?n.jsx(P,{href:at(t,e.paths),children:n.jsx("div",{className:`${vt.chipStyled} ${vt.tagLink}`,children:t.name})},a):n.jsx("div",{className:vt.chipStyled,children:t.name},a))]})}),De={contentBox:"_contentBox_1rkkg_1",content:"_content_1rkkg_1",imageStyled:"_imageStyled_1rkkg_16",contentIconStyled:"_contentIconStyled_1rkkg_23",avatarContent:"_avatarContent_1rkkg_43",journalistSection:"_journalistSection_1rkkg_50",journalistInfo:"_journalistInfo_1rkkg_56",socialNetworkSection:"_socialNetworkSection_1rkkg_70",article:"_article_1rkkg_83"},xs=async e=>{const{autor:t}=e;return t.addtional.USER_SHOWBIO&&n.jsx("section",{className:De.contentBox,children:n.jsxs("div",{className:De.content,children:[n.jsxs("div",{className:De.avatarContent,children:[n.jsx(P,{className:De.journalistInfo,href:`/${e.paths.autor}/${t.info.name}`,children:t.info.image?n.jsx("img",{fetchPriority:"low",loading:"lazy",alt:"autor-image",className:De.imageStyled,src:await ue(t.info.image.sizes[0]?.url||"")}):n.jsx("div",{className:De.contentIconStyled,children:e.autorIcon()})}),n.jsxs("section",{className:De.journalistSection,children:[n.jsx("h3",{className:De.journalistInfo,children:n.jsx(P,{href:`/${e.paths.autor}/${t.info.name}`,children:t.info.fullname})}),n.jsxs("section",{className:De.socialNetworkSection,children:[t.addtional.USER_USERFB&&n.jsx("a",{href:t.addtional.USER_USERFB,target:"_blank","aria-label":t.addtional.USER_MIBIO,rel:"noreferrer",children:n.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M16.7266 4H14.545C12.1067 4 10.5025 5.52672 10.5025 7.96947V9.80153H8.32083C8.12833 9.80153 8 9.92366 8 10.1069V12.7328C8 12.916 8.12833 13.0382 8.32083 13.0382H10.5025V19.6947C10.5025 19.8779 10.6308 20 10.8233 20H13.7108C13.9033 20 14.0316 19.8779 14.0316 19.6947V13.0382H16.5983C16.7908 13.0382 16.9191 12.916 16.9191 12.7328V10.1069C16.9191 10.0458 16.855 9.92366 16.7908 9.8626C16.7266 9.80153 16.6625 9.74046 16.5341 9.74046H13.9675V8.21374C13.9675 7.48092 14.16 7.1145 15.1866 7.1145H16.6625C16.855 7.1145 16.9833 6.99237 16.9833 6.80916V4.36641C17.0475 4.12214 16.9191 4 16.7266 4Z",stroke:"black",strokeWidth:"1.4"})})}),t.addtional.USER_USERIG&&n.jsx("a",{href:t.addtional.USER_USERIG,target:"_blank","aria-label":t.addtional.USER_MIBIO,rel:"noreferrer",children:n.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsxs("g",{clipPath:"url(#clip0_281_2357)",children:[n.jsx("path",{d:"M7.98634 4.06233C10.9335 4.1651 14.0152 3.89192 16.947 4.05106C19.1239 4.16908 20.8447 5.87246 20.9992 8.04131V17.0111C20.8646 19.1408 19.1378 20.8608 17.0113 21H8.04335C5.91354 20.8654 4.19406 19.1388 4.05551 17.0111C4.18345 14.0751 3.88383 10.9919 4.05353 8.07313C4.17682 5.95269 5.86648 4.21616 7.98634 4.06233ZM7.9532 5.4859C6.65331 5.64503 5.63713 6.68072 5.48201 7.97964L5.47804 17.0442C5.62586 18.3902 6.69175 19.4518 8.04136 19.5784L17.0445 19.5764C18.3901 19.4319 19.4514 18.3611 19.578 17.0131L19.576 8.00882C19.4321 6.67277 18.3788 5.6205 17.0445 5.47662L7.9532 5.4859Z",fill:"black"}),n.jsx("path",{d:"M15.527 9.52595C17.7019 11.7008 16.868 15.4802 13.9752 16.5079C10.6708 17.6815 7.47508 14.6354 8.47999 11.2771C9.38614 8.24892 13.2851 7.28484 15.5263 9.52662L15.527 9.52595ZM12.1894 9.72288C9.96615 9.94898 8.93936 12.6602 10.3771 14.3629C11.8149 16.0656 14.5877 15.4769 15.2168 13.3796C15.8458 11.2824 14.2529 9.51269 12.1894 9.72288Z",fill:"black"}),n.jsx("path",{d:"M17.0868 6.87507C18.5955 6.84324 18.4874 9.24614 16.8939 8.96965C15.7213 8.76609 15.8227 6.90159 17.0868 6.87507Z",fill:"black"})]}),n.jsx("defs",{children:n.jsx("clipPath",{id:"clip0_281_2357",children:n.jsx("rect",{width:"17",height:"17",fill:"white",transform:"translate(4 4)"})})})]})}),t.addtional.USER_USERTWT&&n.jsx("a",{href:t.addtional.USER_USERTWT,target:"_blank","aria-label":t.addtional.USER_MIBIO,rel:"noreferrer",children:n.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M3.43242 4.23888L10.0354 13.0628L3.39062 20.2389H4.88316L10.6981 13.9583L15.3966 20.2389H20.4832L13.51 10.9135L19.6951 4.23291H18.2026L12.8473 10.018L8.51898 4.23291H3.43242V4.23888ZM5.62943 5.33739H7.96973L18.2921 19.1404H15.9518L5.62943 5.33739Z",fill:"#010101"})})}),t.addtional.USER_USERLIN&&n.jsx("a",{href:t.addtional.USER_USERLIN,target:"_blank","aria-label":t.addtional.USER_MIBIO,rel:"noreferrer",children:n.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("path",{d:"M13.1553 9.97173C13.2123 9.98635 13.2208 9.9478 13.2536 9.92189C13.9389 9.38958 14.1885 9.05464 15.1143 8.85195C17.735 8.27844 20.2954 9.68265 20.4618 12.5449C20.6046 15.0084 20.3504 17.6121 20.4618 20.0903C20.4316 20.4372 20.1892 20.6425 19.8557 20.6718C18.9876 20.7475 18.0154 20.6133 17.1361 20.6704C16.8583 20.6465 16.5825 20.4578 16.5609 20.1574C16.4875 18.1631 16.6637 16.0916 16.5642 14.1066C16.5334 13.4979 16.462 12.9835 15.9182 12.6353C14.805 11.9215 13.5333 12.6346 13.4495 13.9405C13.3197 15.9488 13.5484 18.1006 13.4521 20.1235C13.4383 20.4491 13.1795 20.6392 12.8768 20.6698C11.917 20.7675 10.8058 20.5967 9.82899 20.6718C9.59116 20.6478 9.35988 20.5422 9.2793 20.2989V9.41284C9.35006 9.20815 9.53219 9.08654 9.7353 9.04467C10.6604 9.10581 11.7061 8.95363 12.6161 9.04068C12.8126 9.05929 13.1553 9.2786 13.1553 9.49059V9.97239V9.97173ZM9.84668 20.1062H12.8768L12.926 20.0564V13.6766C12.926 12.7821 13.9657 11.877 14.8103 11.7999C16.2163 11.6717 17.0464 12.6253 17.1191 13.9763C17.2252 15.9468 17.0418 18.0115 17.1178 19.9919L17.1689 20.1062H19.8551L19.9062 19.9919L19.9042 12.5808C19.6992 9.46068 16.1671 8.36948 13.8924 10.104L12.6318 11.4005V9.60622H9.84733V20.1062H9.84668Z",fill:"black",stroke:"black",strokeWidth:"0.5"}),n.jsx("path",{d:"M4.6294 9.04917C5.38612 8.92822 6.41671 9.11629 7.2016 9.04917C7.53181 9.13755 7.79847 9.39274 7.8666 9.73698L7.88102 19.9233C7.84564 20.243 7.56326 20.5387 7.26581 20.6284C6.93888 20.7261 5.19219 20.7095 4.78926 20.667C4.38633 20.6244 4.10854 20.3958 3.99061 20.015L3.9834 9.75626C3.99781 9.43062 4.31885 9.09967 4.6294 9.04917ZM4.72702 9.61338C4.60319 9.64926 4.53243 9.75692 4.53833 9.88717L4.54685 19.8834C4.59729 20.0502 4.72767 20.0901 4.88426 20.1061C5.31012 20.1493 6.64078 20.1659 7.03781 20.0988C7.18064 20.0748 7.32085 19.9884 7.32478 19.825L7.31626 9.86392C7.29464 9.73831 7.20554 9.62933 7.07647 9.60872L4.72702 9.61404V9.61338Z",fill:"black",stroke:"black",strokeWidth:"0.5"}),n.jsx("path",{d:"M8.16428 6.20159C8.16428 7.45495 7.16252 8.47105 5.92687 8.47105C4.69121 8.47105 3.68945 7.45495 3.68945 6.20159C3.68945 4.94824 4.69121 3.93213 5.92687 3.93213C7.16252 3.93213 8.16428 4.94824 8.16428 6.20159ZM7.60345 6.20358C7.60345 5.2639 6.85263 4.50165 5.92556 4.50165C4.99849 4.50165 4.24766 5.26324 4.24766 6.20358C4.24766 7.14393 4.99849 7.90552 5.92556 7.90552C6.85263 7.90552 7.60345 7.14393 7.60345 6.20358Z",fill:"black",stroke:"black",strokeWidth:"0.5"})]})})]})]})]}),t.addtional.USER_SHOWBIO&&n.jsx("p",{className:De.article,dangerouslySetInnerHTML:{__html:`${t.addtional.USER_MIBIO} <a aria-label="${t.info.name}" href="/${e.paths.autor}/${t.info.name}">${e.texts.authorViewMore??"Ver más"}</a>`}})]})})},et={content:"_content_vmnac_1",imageStyled:"_imageStyled_vmnac_20",contentIconStyled:"_contentIconStyled_vmnac_21",contentCard:"_contentCard_vmnac_31",contentInfo:"_contentInfo_vmnac_70",fullName:"_fullName_vmnac_76",LearnMoreLink:"_LearnMoreLink_vmnac_83"},Us=async e=>{const{news:t,texts:a}=e;return t.config?.showauthor&&n.jsx("div",{className:et.content,children:Array.isArray(t.authors)&&t.authors?.map(async o=>n.jsxs("div",{className:et.contentCard,children:[o.image?n.jsx("img",{fetchPriority:"low",loading:"lazy",className:et.imageStyled,src:await ue(o.image.sizes[0]?.url||"")},o.fullname):n.jsx("div",{className:et.contentIconStyled,children:e.autorIcon},o.fullname),n.jsxs("div",{className:et.contentInfo,children:[o.internaluser?n.jsx("a",{className:et.fullName,href:`/${e.paths.autor}/${o.name}`,children:o.fullname}):n.jsx("p",{className:et.fullName,children:o.fullname}),o.internaluser&&n.jsx("a",{className:et.LearnMoreLink,href:`/${e.paths.autor}/${o.name}`,children:a.JournalistGroupLink})]})]},`author-${o.firstname}`))})},Ne={content:"_content_1j0pj_1",contentNews:"_contentNews_1j0pj_10",linkTitle:"_linkTitle_1j0pj_27",tag:"_tag_1j0pj_35",tagmx:"_tagmx_1j0pj_55",titular:"_titular_1j0pj_70",correspondent:"_correspondent_1j0pj_85",correspondentLink:"_correspondentLink_1j0pj_96",description:"_description_1j0pj_107"},Ct=e=>{const{SHOW_TAG_BY_SECTION:t}=K(),a=()=>{if(e?.config?.showtime&&e.config?.showauthor)return`${e?.authors[0]?.fullname} - ${ke(e.info?.date?.modified)}`;if(e.config?.showauthor)return e?.authors[0]?.fullname;if(e?.config?.showtime)return ke(e.info?.date?.modified)},o=()=>{if(t&&e.keywords?.tags?.length&&e.keywords.tags.length>0){const r=e.keywords.tags[0],i=r.name;return r.approved?n.jsxs("h3",{children:[" ",n.jsx(P,{"aria-label":i,className:Ne.tagmx,href:at(r,e.paths),children:i})]}):n.jsx("div",{className:Ne.tagmx,children:i})}else if(e.info?.section?.url)return n.jsx("h3",{children:n.jsx(P,{className:Ne.tagmx,href:e?.info?.section?.url,children:e?.info?.section?.name})});return null},s=()=>{if(t&&e.keywords?.tags?.length&&e.keywords.tags.length>0){const r=e.keywords.tags[0],i=r.name;return r.approved?n.jsx("h3",{children:n.jsx(P,{"aria-label":i,className:Ne.tag,href:at(r,e.paths),children:i})}):n.jsx("div",{className:Ne.tag,children:i})}else if(e.info?.section?.url)return n.jsx("h3",{children:n.jsx(P,{className:Ne.tag,href:e?.info?.section?.url,children:e?.info?.section?.name})});return null};return n.jsxs("section",{className:`${Ne.content} destacado-super-content`,children:[n.jsx(P,{href:e?.info?.link?.url,target:e?.info?.link?.target,style:{"--heightImageOverwrite":e.heightImageOverwrite?e.heightImageOverwrite:"51.8%","--heightImageOverwriteMobile":e.heightImageOverwriteMobile?e.heightImageOverwriteMobile:"491px","--fontSizeImageNewsTitleMobile":e.isVertical?"20px":"1.75rem","--lineHeightImageNewsTitleMobile":e.isVertical?"26px":"36px"},children:n.jsx(_e,{preview:e.preview,isLarge:!0,BackDropAuxHeigthMobile:"513px",priorityHigh:!0})}),n.jsxs("div",{className:Ne.contentNews,style:{"--widthTextContent":e.textPosition==="start"?"100%":"80%"},children:[n.jsx(o,{}),n.jsxs("div",{style:{position:"relative"},children:[n.jsx(s,{}),n.jsx(P,{className:Ne.linkTitle,href:e?.info?.link?.url,target:e?.info?.link?.target,children:n.jsx("h1",{className:Ne.titular,style:{"--titlePosition":e.textPosition==="start"?"initial":"center"},children:e?.main?.title?.home})})]}),e.config?.showsubtitle&&n.jsx("div",{className:Ne.description,dangerouslySetInnerHTML:{__html:e.main.subtitle.striped}}),e?.config?.showtime&&e.config?.showauthor&&n.jsx(n.Fragment,{children:e.authors[0]?.internaluser?n.jsx(P,{href:`/${e.paths?.autor??"autor"}/${e?.authors[0]?.name}`,className:Ne.correspondent,children:a()}):n.jsx("p",{className:Ne.correspondentLink,children:a()})})]})]})},Ls=e=>{const{main:t,authors:a,info:o,preview:s,isVideo:r,config:i,itemReverseOrder:c,imageSize:d,showSuper:l}=e;return n.jsxs("section",{className:$c.content,children:[l?n.jsx("section",{style:{...e.customSectionCardStyles},children:n.jsx(Ct,{main:t,authors:a,info:o,preview:s,isVideo:r,config:i,paths:e.paths})}):n.jsx(Oe,{...e,main:t,authors:a,info:o,preview:s,isVideo:r,config:i,priorityHigh:!0}),e.banners&&n.jsx(fe,{banners:e.banners,name:"main_block_"+(e.rightOnlyBanner?1:2)}),!e.rightOnlyBanner&&n.jsx(fs,{block:e.block,itemReverseOrder:c,priorityHigh:!0,imageSize:d,customNewsDescriptionStyles:e.customNewsDescriptionStyles,paths:e.paths})]})},ha={content:"_content_1dcf7_1",firstSection:"_firstSection_1dcf7_10",secondSection:"_secondSection_1dcf7_16"},Ll=({content:e,customLargeSection:t,customSmallSection:a,paths:o})=>{const s=e[0];return Array.isArray(e)&&e.length>0&&s&&n.jsxs("section",{className:ha.content,children:[n.jsx("div",{style:t,className:ha.firstSection,children:n.jsx(Ct,{...s,textPosition:"start",heightImageOverwrite:"512px",heightImageOverwriteMobile:"270px",paths:o})}),n.jsx("div",{style:a,className:ha.secondSection,children:e.map((r,i)=>i>0&&E.createElement(Ct,{...r,key:i,textPosition:"start",heightImageOverwrite:"256px",heightImageOverwriteMobile:"270px",paths:o}))})]})},qs={content:"_content_wsx1m_1",firstSection:"_firstSection_wsx1m_8"},ql=({content:e,customLargeSection:t,customSlimSection:a,paths:o})=>Array.isArray(e)&&e.length>0&&n.jsx("section",{className:qs.content,children:e.map((s,r)=>r===0?n.jsx("div",{style:t,className:qs.firstSection,children:n.jsx(Ct,{...s,isVertical:!0,textPosition:"start",heightImageOverwrite:"512px",heightImageOverwriteMobile:"270px",paths:o})},r):n.jsx("section",{style:a,children:E.createElement(Ct,{...s,key:r,isVertical:!0,textPosition:"start",heightImageOverwrite:"512px",heightImageOverwriteMobile:"270px",paths:o})},r))}),lt={content:"_content_1n73e_1",sectionDescription:"_sectionDescription_1n73e_13",title:"_title_1n73e_33",subtitle:"_subtitle_1n73e_47",linkStyled:"_linkStyled_1n73e_58"},Bs=e=>{const{SHOW_TAG_BY_SECTION:t}=K(),a=()=>{if(t&&e.mainNew.keywords?.tags?.length&&e.mainNew.keywords.tags.length>0){const o=e.mainNew.keywords.tags[0],s=o.name;return o.approved?n.jsx("h3",{children:n.jsx(P,{"aria-label":s,className:lt.sectionDescription,href:at(o,e.paths),children:s})}):n.jsx("div",{className:lt.sectionDescription,children:s})}else if(e.mainNew.info?.section?.url)return n.jsx("h3",{children:n.jsx(P,{className:lt.sectionDescription,href:e?.mainNew?.info?.section?.url,children:e?.mainNew?.info?.section?.name})});return null};return n.jsxs("div",{className:lt.content,children:[n.jsx(a,{}),n.jsx(P,{className:lt.title,href:e?.mainNew?.info?.link?.url,target:e?.mainNew?.info?.link?.target,children:e?.mainNew?.main?.title.home}),e?.mainNew?.main?.subtitle?.rendered&&n.jsx("p",{className:lt.subtitle,children:e?.mainNew?.main?.subtitle?.striped}),e.goTo&&n.jsx(P,{href:e.goTo.url,className:lt.linkStyled,children:e.goTo.description})]})},ua={headerSection:"_headerSection_drjnj_1",headerSectionLink:"_headerSectionLink_drjnj_12",newsContent:"_newsContent_drjnj_17"},Ps=e=>{const{content:t,title:a,isVideo:o}=e;if(!t||!t[0]||t.length===0)return;const s=e.slot_id&&e.slot_id!=="Nota_1",r={...t[0],main:{...t[0].main,title:{...t[0].main.title,section:s?t[0].main.title.home:t[0].main.title.section}}},i=t.slice(1);return r&&i&&n.jsxs(he,{title:a,titleUrl:e.titleUrl,children:[n.jsxs("div",{className:ua.headerSection,children:[n.jsx(Bs,{mainNew:r,goTo:e.goTo,paths:e.paths}),n.jsx(P,{className:ua.headerSectionLink,href:r?.info?.link?.url,target:r?.info?.link?.target,children:n.jsx(_e,{preview:r.preview})})]}),n.jsxs("div",{className:ua.newsContent,children:[n.jsx("div",{className:"banner-context",style:{order:1},children:e.banner}),Array.isArray(i)&&i.map((c,d)=>{const l={...c,main:{...c.main,title:{...c.main.title,section:s?c.main.title.home:c.main.title.section}}};return n.jsx("div",{style:{order:d},children:n.jsx(Oe,{...l,isVideo:o,paths:e.paths})},d)})]})]})},Ve={content:"_content_1stvq_1",autorContent:"_autorContent_1stvq_8",image:"_image_1stvq_24",contentIcon:"_contentIcon_1stvq_25",boxInformationContent:"_boxInformationContent_1stvq_47",autorName:"_autorName_1stvq_53",time:"_time_1stvq_85",comment:"_comment_1stvq_98",title:"_title_1stvq_107"},Cn=async e=>{const{data:t,autorIcon:a}=e,o=a,s=()=>t?.config?.showtime?`${ke(t.info?.date?.modified)}`:"",r=n.jsxs("div",{className:Ve.autorContent,children:[Array.isArray(t?.authors)&&Array.isArray(t?.authors[0]?.image?.sizes)&&t?.authors[0]?.image?.sizes?.length>0?n.jsx("img",{fetchPriority:"low",loading:"lazy",className:Ve.image,src:await ue(t?.authors[0]?.image?.sizes[0]?.url||""),alt:t?.authors[0]?.fullname}):n.jsx("div",{className:Ve.contentIcon,children:n.jsx(o,{})}),n.jsx("p",{className:Ve.autorName,children:xe(t?.authors[0]?.fullname??"Redacción",18)}),n.jsx("p",{className:Ve.time,children:s()})]});return n.jsxs("div",{className:Ve.content,children:[t?.authors[0]?.internaluser?n.jsx(P,{href:t.authors[0]?.internaluser?`/${e.paths.autor}/${t?.authors[0]?.name}`:"#",children:r}):r,n.jsxs("div",{className:Ve.boxInformationContent,children:[n.jsx(P,{className:Ve.title,href:t?.info?.link?.url,target:t?.info?.link?.target,children:t?.main?.title?.home}),n.jsx("p",{className:Ve.comment,children:xe(t?.main?.subtitle?.striped||"")})]})]})},_t={content:"_content_1d7mg_1",boxPosition:"_boxPosition_1d7mg_8",contentFlex:"_contentFlex_1d7mg_21",bannerContent:"_bannerContent_1d7mg_29",bannerContentAux:"_bannerContentAux_1d7mg_40"};function Bl(e){const t=new Array(e.length),a=e.length/2;for(let o=0;o<e.length;o++)o%2===0?t[Math.floor(o/2)]=e[o]:t[a+Math.floor(o/2)]=e[o];return t}const Pl=e=>{const{isOpinion:t=!1}=e,a=r=>n.jsx("div",{className:_t.boxPosition+" banner-context",style:{order:2},children:n.jsx("div",{className:_t.bannerContentAux,children:n.jsx("div",{style:{position:"absolute",height:"270px",top:"0"},children:e.banner})})},r),o=[];for(let r=0;r<e.news.length;r++){const i=e.news[r];r===2&&o.push(a(r)),i&&o.push(n.jsx("div",{className:_t.boxPosition,style:{order:r},children:n.jsx(Cn,{data:i,autorIcon:e.autorIcon,paths:e.paths})},`description-block-2-odd-${r}`))}const s=o.length%2===0?Bl(o):o;return n.jsx("section",{style:e.customStyles,children:n.jsx(he,{title:e.title,titleUrl:e.titleUrl,isOpinion:t,children:n.jsxs("div",{className:_t.content,children:[n.jsx("div",{className:_t.contentFlex,children:s}),n.jsx("div",{className:_t.bannerContent,children:e.halfPageBanner})]})})})},Os={content:"_content_w9viv_1",title:"_title_w9viv_10"},Ol=e=>{const{showTitle:t=!0}=e;return n.jsxs("div",{className:Os.content,children:[t&&n.jsx("p",{className:Os.title,children:"Editorial"}),n.jsx(ct,{...e,info:{...e.info,section:{name:"",slug:"",url:""}}})]})},St={content:"_content_1nd2h_1",newsContent:"_newsContent_1nd2h_8",boxPosition:"_boxPosition_1nd2h_17",bannerContent:"_bannerContent_1nd2h_23",bannerContentAux:"_bannerContentAux_1nd2h_33"},Dl=e=>{const{news:t}=e;return Array.isArray(t)&&n.jsxs("div",{className:St.content,children:[n.jsxs("div",{className:St.newsContent,children:[e.bannerArray&&e.bannerArray.map((a,o)=>n.jsx("div",{className:St.boxPosition+" banner-context",style:{order:2+5*o},children:n.jsx("div",{className:St.bannerContentAux,children:n.jsx("div",{style:{position:"absolute",height:"270px",top:"0"},children:a})})},o)),t.map((a,o)=>n.jsx("div",{className:St.boxPosition,style:{order:o},children:n.jsx(Oe,{...a,share:e.share,paths:e.paths})},o))]}),n.jsx("div",{className:St.bannerContent,children:e.halfPageBanner})]})},Ml=e=>n.jsxs(n.Fragment,{children:[n.jsx(ps,{className:"display-on-lower-900px",...e,termsLink:e.termsLink,submitFunction:e.submitFunction}),n.jsx(As,{...e})]}),_n={newsContent:"_newsContent_gd57q_1",newsContentWithLines:"_newsContentWithLines_gd57q_8",newsContentWithoutLines:"_newsContentWithoutLines_gd57q_13",contentSeparator:"_contentSeparator_gd57q_18"},Ds=e=>{const{content:t}=e;if(!t||t.length===0)return;const a=i=>e.hasLines&&(i+1)%3!==0?_n.contentSeparator:"",o=[];let s=0,r=1;for(let i=0;i<t.length;i++){e.banners&&e.bannerPositionIndex?.includes(i)&&(o.push(n.jsx("section",{className:a(s),children:e.banners?.some(h=>h.key===`${e.slot_id}_${r}`)&&n.jsx(fe,{banners:e.banners,name:`${e.slot_id}_${r}`})},s)),s++,r++);const c=e.isVideo?mt(t[i],e.showVideoTime,e.showVideosubtitle):t[i];if(!c)continue;const d=e.slot_id&&e.slot_id!=="Nota_1",l={...c,main:{...c.main,title:{...c.main.title,section:d?c.main.title.home:c.main.title.section}}};o.push(n.jsx("section",{className:a(s),children:n.jsx(Oe,{...l,isVideo:e.isVideo,paths:e.paths})},s)),s++}return o.length===2&&o.push(n.jsx("div",{},s)),n.jsx("div",{className:`${e.hasLines?_n.newsContentWithLines:_n.newsContentWithoutLines} ${_n.newsContent}`,children:o})},fa=e=>n.jsx(he,{title:e.title,titleUrl:e.titleUrl,children:n.jsx(Ds,{content:e.content,paths:e.paths,slot_id:e.slot_id,hasLines:e.hasLines,bannerPositionIndex:e.bannerPositionIndex,isVideo:e.isVideo,banners:e.banners,showVideoTime:e.showVideoTime,showVideosubtitle:e.showVideosubtitle})}),Ms={newsContent:"_newsContent_1sb62_1",contentSeparator:"_contentSeparator_1sb62_8"},js=e=>{const{content:t,title:a}=e;if(!(!t||t.length===0||!Array.isArray(t)))return n.jsx(he,{title:a,titleUrl:e.titleUrl,children:n.jsx("div",{className:`${Ms.newsContent} ${e.hasLines?Ms.contentSeparator:""}`,children:t?.map((o,s)=>{const r=e.slot_id&&e.slot_id!=="Nota_1",i={...o,main:{...o.main,title:{...o.main.title,section:r?o.main.title.home:o.main.title.section}}};return n.jsx("section",{children:n.jsx(Oe,{...i,share:e.share,paths:e.paths})},s)})})})},ma={newsContent:"_newsContent_1gbse_1",contentSeparator:"_contentSeparator_1gbse_8",newsContentWhitoutLine:"_newsContentWhitoutLine_1gbse_29"},Qs=e=>{const{content:t,title:a}=e;if(!(!t||t.length===0))return n.jsx(he,{title:a,titleUrl:e.titleUrl,children:n.jsx("div",{className:`${ma.newsContent} ${e.hasLines?ma.contentSeparator:ma.newsContentWhitoutLine}`,children:t.map((o,s)=>{const r=e.slot_id&&e.slot_id!=="Nota_1",i={...o,main:{...o.main,title:{...o.main.title,section:r?o.main.title.home:o.main.title.section}}};return n.jsx("section",{children:n.jsx(Oe,{...i,share:e.share,paths:e.paths})},s)})})})},ga={headerSection:"_headerSection_1m1sp_3",headerSectionLink:"_headerSectionLink_1m1sp_16",newsContent:"_newsContent_1m1sp_29"},Gs=e=>{const{content:t,title:a,isVideo:o=!0}=e;if(!t||t.length===0)return;const s=t[0],r=e.slot_id&&e.slot_id!=="Nota_1",i=t.slice(1);return s&&i&&n.jsxs(he,{title:a,titleUrl:e.titleUrl,children:[n.jsxs("div",{className:ga.headerSection,children:[n.jsx(Bs,{goTo:e.goTo,mainNew:mt(s),paths:e.paths}),n.jsx(P,{className:ga.headerSectionLink,href:s?.info?.link.url,target:s?.info?.link.target,"aria-label":"Video",children:n.jsx(_e,{preview:{sizes:s?.main?.image.sizes,description:s?.main?.image.description},isVideo:o,isLarge:!0})})]}),n.jsxs("div",{className:ga.newsContent,children:[n.jsx("div",{className:"banner-context",style:{order:1},children:e.banner}),Array.isArray(i)&&i.map((c,d)=>{const l=mt(c),h={...l,main:{...l.main,title:{...l.main.title,section:r?l.main.title.home:l.main.title.section}}};return n.jsx("div",{style:{order:d},children:E.createElement(Oe,{...h,isVideo:o,key:d,paths:e.paths})},d)})]})]})},$t={content:"_content_1qdkl_1",linkImage:"_linkImage_1qdkl_30",sectionDescription:"_sectionDescription_1qdkl_42",dateText:"_dateText_1qdkl_62",textContent:"_textContent_1qdkl_73"},jl=async e=>{const{showNewsLikeTitle:t=!1}=e;return e&&e.info?n.jsxs("section",{className:$t.content,style:{"--heightImageOverwrite":"100%"},children:[n.jsx(P,{className:$t.linkImage,target:e?.info?.link?.target,title:e.main?.title?.section,href:t?e.info.link.url:e?.info?.section?.url,children:n.jsx(_e,{preview:e.preview})}),n.jsxs("div",{className:$t.textContent,children:[n.jsx(P,{className:$t.sectionDescription,target:e?.info?.link?.target,href:t?e.info.link.url:e?.info?.section?.url,children:(t?e?.main?.title?.section:e?.info?.section?.name)??""}),n.jsx("p",{className:$t.dateText,children:ke(e?.info?.date?.modified)})]})]}):null},$s={content:"_content_yx3zm_1",contentSeparator:"_contentSeparator_yx3zm_7"},pa={newsContent:"_newsContent_1uamf_1",contentSeparator:"_contentSeparator_1uamf_8",hasLinesBlock:"_hasLinesBlock_1uamf_40"},Hs=e=>{if(!e.content||e.content.length===0)return;const t=e.slot_id&&e.slot_id!=="Nota_1";return n.jsx(he,{title:e.title,children:n.jsx("div",{className:`${$s.content} ${e.hasLines?$s.contentSeparator:""}`,style:{gap:e.hasLines?"30px":"0px"},children:Array.isArray(e.content)&&e.content?.map((a,o)=>{const s={...a,main:{...a.main,title:{...a.main.title,section:t?a.main.title.home:a.main.title.section}}};return n.jsx("section",{className:e.hasLines?pa.hasLinesBlock:"",children:E.createElement(jl,{...s,key:o,showNewsLikeTitle:e.showNewsLikeTitle})},o)})})})},zs=e=>{const{content:t,title:a,slot_id:o}=e,s=e.slot_id&&e.slot_id!=="Nota_1";return t&&t.length!==0&&n.jsx(he,{title:a,titleUrl:e.titleUrl,children:n.jsx(it,{slot_id:o,cardWidth:e.cardWidth,cardGap:e.cardGap,visibleItems:e.visibleItems,pagination:e.pagination,children:t.map((r,i)=>{const c={...r,main:{...r.main,title:{...r.main.title,section:s?r.main.title.home:r.main.title.section}}};return n.jsx("div",{style:{"--heightImageOverwrite":e.heightImageOverwrite,"--heightImageOverwriteMobile":e.heightImageOverwriteMobile},children:n.jsx(Mt,{...c,paths:e.paths})},i)})})})},tt={content:"_content_1mj79_1",imageStyled:"_imageStyled_1mj79_14",contentIcon:"_contentIcon_1mj79_23",boxInformation:"_boxInformation_1mj79_44",comment:"_comment_1mj79_51",title:"_title_1mj79_60",authorName:"_authorName_1mj79_81"},Ql=async e=>{const{data:t}=e;return n.jsxs("div",{className:tt.content,children:[Array.isArray(t.authors)&&t?.authors[0]?.image?n.jsx("img",{fetchPriority:"low",loading:"lazy",className:tt.imageStyled,src:await ue(t?.authors[0]?.image?.sizes[0]?.url||""),alt:t?.authors[0]?.fullname}):n.jsx("div",{className:tt.contentIcon,children:e.autorIcon}),n.jsxs("div",{className:tt.boxInformation,children:[n.jsx("p",{className:tt.authorName,children:t?.authors[0]?.internaluser?n.jsx(P,{href:t.authors[0]?.internaluser?`/${e.paths.autor}/${t?.authors[0]?.name}`:"#",children:t?.authors[0]?.fullname??"Redacción"}):t?.authors[0]?.fullname??"Redacción"}),n.jsx("p",{className:tt.title,children:n.jsx(P,{className:tt.linkStyled,href:t?.info?.link?.url,target:t?.info?.link?.target,children:xe(t?.main?.title?.home,40)})}),n.jsx("p",{className:tt.comment,children:t?.main?.subtitle?.striped})]})]})},Fs=e=>{const t=e.slot_id&&e.slot_id!=="Nota_1";return n.jsx(he,{titleUrl:e.titleUrl,title:e.title,children:n.jsx(it,{slot_id:e.slot_id,cardGap:31,cardWidth:344,visibleItems:3,children:e.content&&e.content.map((a,o)=>{const s={...a,main:{...a.main,title:{...a.main.title,section:t?a.main.title.home:a.main.title.section}}};return n.jsx(Ql,{autorIcon:e.autorIcon,data:s,paths:e.paths},o)})})})},We={content:"_content_1elhb_1",newsContentSection:"_newsContentSection_1elhb_5",itemContent:"_itemContent_1elhb_10",ItemCustomContent:"_ItemCustomContent_1elhb_16"},Sn=e=>{const{item:t,option:a}=e;switch(a){case"ediciones":return n.jsx("div",{className:We.ItemCustomContent});case"columnistasnacionales":return n.jsx("div",{className:We.ItemCustomContent,children:n.jsx(Cn,{data:t,autorIcon:e.autorIcon,paths:e.paths})});case"columnistaslocales":return n.jsx("div",{className:We.ItemCustomContent,children:n.jsx(Cn,{data:t,autorIcon:e.autorIcon,paths:e.paths})});case"columnistas":return n.jsx("div",{className:We.ItemCustomContent,children:n.jsx(Cn,{data:t,autorIcon:e.autorIcon,paths:e.paths})});default:return n.jsx("div",{className:We.ItemCustomContent,children:n.jsx(Oe,{...t,paths:e.paths})})}},Gl=e=>{const{data:t,currentPage:a,banners:o,slug:s,ranking:r,pathname:i,texts:c={}}=e,d=[3,8,13],l={3:1,8:2,13:3};switch(e.option){case"op1":return n.jsx(ia,{ranking:r,readestTitle:c.readestTitle??"",paths:e.paths,bannerTop:n.jsx(fe,{banners:o??[],name:"right_1"}),banner:n.jsx(fe,{banners:o??[],name:"right_2"}),children:n.jsx("section",{className:We.content,children:t.length>0?n.jsx(yn,{className:[We.newsContentSection,"padding-0"].join(" "),paginatorComponent:n.jsx(Ot,{texts:c,pathname:i,query:"",currentPage:a,maxPages:e.PAGINATION_MAX_PAGES,showNext:!(t.length<e.NEWS_PER_SECTION)}),children:Array.isArray(t)&&t?.map((h,u)=>n.jsxs(E.Fragment,{children:[d.includes(u+1)&&n.jsx("div",{className:We.itemContent+" banner-context",children:n.jsx(fe,{banners:o??[],name:`block_2_${l[u+1]}`})}),n.jsx(Sn,{autorIcon:e.autorIcon,item:h,option:s,paths:e.paths},u)]},u))}):n.jsx("div",{style:{width:"100%",display:"flex",flexDirection:"column",justifyContent:"center",gap:"2rem"},children:n.jsx("p",{style:{fontWeight:"var(--fw)",width:"100%",fontSize:"18px",lineHeight:"26px",textAlign:"center"},children:c.sectionNotResultMessage})})})});case"op2":return n.jsx(n.Fragment,{children:t.length>0?n.jsx(yn,{className:"padding-0",paginatorComponent:n.jsx(Ot,{texts:c,pathname:i,query:"",currentPage:a,maxPages:e.PAGINATION_MAX_PAGES,showNext:!(t.length<e.NEWS_PER_SECTION)}),children:Array.isArray(t)&&t?.map((h,u)=>n.jsxs(E.Fragment,{children:[d.includes(u+1)&&n.jsx("div",{className:We.itemContent,children:n.jsx(fe,{banners:o??[],name:`block_2_${l[u+1]}`})}),n.jsx(Sn,{autorIcon:e.autorIcon,item:h,option:s,paths:e.paths},u)]},u))}):n.jsx("div",{style:{width:"100%",display:"flex",flexDirection:"column",justifyContent:"center",gap:"2rem"},children:n.jsx("p",{style:{fontWeight:"var(--fw)",width:"100%",fontSize:"18px",lineHeight:"26px",textAlign:"center"},children:c.sectionNotResultMessage})})});default:return n.jsx(n.Fragment,{})}},Vs={content:"_content_gwsqy_1",contactInfoContent:"_contactInfoContent_gwsqy_7"},$l=e=>{const{data:t}=e;return n.jsx("section",{className:Vs.content,children:t.map((a,o)=>n.jsx("div",{className:Vs.contactInfoContent,dangerouslySetInnerHTML:{__html:a.body.rendered}},o))})},Aa={tagContent:"_tagContent_ee6yw_1",contentLayout2:"_contentLayout2_ee6yw_9",contentHeader:"_contentHeader_ee6yw_42"},Hl={content:"_content_1rbrt_1"},zl=({children:e,className:t=""})=>n.jsx("div",{className:`content-layout-2 ${Hl.content} ${t}`,children:e}),Ht={container:"_container_1insg_1",note:"_note_1insg_10",commercial:"_commercial_1insg_50",commercialContent:"_commercialContent_1insg_67",complement:"_complement_1insg_83"},Fl=e=>n.jsxs("section",{className:Ht.container,children:[n.jsx("div",{className:Ht.note,children:e.children}),n.jsx("div",{className:Ht.commercial,children:n.jsxs("div",{className:Ht.commercialContent,children:[e.slug==="liveblogs"&&n.jsx(_s,{itemList:e.itemList}),e.bannerTop,n.jsx(fn,{content:e.ranking,title:e.texts.readestTitle,paths:e.paths,customNewsDescriptionStyles:{"--news-description-title-size-desk":"16px","--news-description-title-line-height-desk":"22px","--news-description-title-size-mobile":"16px","--news-description-title-line-height-mobile":"22px"}}),n.jsx("div",{style:{position:"sticky",top:"110px"},children:e.banner})]})}),n.jsx("div",{className:Ht.complement,children:e.complement})]}),Vl=e=>{const t={...e.news[0],config:{zonehome:void 0,priorityhome:"",zonesection:"",prioritysection:",",homepreview:"",showcomments:!1,showtime:!1,showauthor:!1,showuppertitle:!1,showsubtitle:!0,showads:!1},main:{...e.news[0]?.main,title:{...e.news[0]?.main.title,section:e.news[0]?.main.title.article??""}},info:{...e.news[0]?.info,link:{url:void 0,target:void 0}}};switch(e.option){case"liveblogs":return n.jsx("div",{style:{"--news-description-title-size-desk":"38px","--news-description-title-size-mobile":"30px","--news-description-title-line-height-desk":"46px","--news-description-title-line-height-mobile":"38px","--news-image-height-desk":"600px","--news-image-height-mobile":"420px","--news-image-description-display":"none"},children:n.jsx(Cs,{...t,fontSizeSubTitle:"18px",lineHeightSubTitle:"28px"})});default:return n.jsx("div",{className:Aa.contentHeader,style:{"--section-card-chip-padding":"0 0 0 6px","--uppertitle-display":"block","--news-description-title-size-desk":"38px","--news-description-title-size-mobile":"30px","--news-description-title-line-height-desk":"46px","--news-description-title-line-height-mobile":"38px","--news-description-content-gap":"0px","--section-card-chip-margin":"0 0 10px","--news-description-subtitle-margin":"22px 0 0"},children:n.jsx(ct,{...t,fontSizeSubTitle:"18px",lineHeightSubTitle:"28px",cutSubtitle:!1,colorSubTitle:"black",isTitle:!0,paths:e.paths})})}},Ye={content:"_content_jrssz_1",contentWithinCard:"_contentWithinCard_jrssz_7",contentDate:"_contentDate_jrssz_13",dateInfo:"_dateInfo_jrssz_20",dot:"_dot_jrssz_30",contentTitle:"_contentTitle_jrssz_38",contentTextList:"_contentTextList_jrssz_47",contentButton:"_contentButton_jrssz_101",linkStyled:"_linkStyled_jrssz_107"},Wl={content:"_content_ifkxj_1"},Yl=e=>n.jsx("section",{className:Wl.content,id:e.id,children:e.children}),Kl=e=>e.replace(/<p>(\s|&nbsp;)+<\/p>/g,""),Jl=e=>{const t=/src="\/(.*?)"/g;return e.replace(t,`src="${Et()}/$1"`)},Ws={2:1,4:2,7:3,10:4,13:5};function Zl(e){return e.replace(/<script[^>]*src=["']https:\/\/platform\.twitter\.com\/widgets\.js["'][^>]*><\/script>/gi,"")}const Xl=async({itemList:e,slug:t,banners:a,texts:o})=>{if(!e||e.length===0||!e[0])return;const s=e[0].list?.items?.map(r=>{const i=Kl(r.body.rendered);let c=Jl(i);return c=Zl(c),{...r,body:{...r.body,rendered:c}}});return n.jsx("section",{className:Ye.content,id:"block-notes-list",children:s?.map((r,i)=>n.jsxs(E.Fragment,{children:[n.jsx(Yl,{id:`item-${i+1}`,children:n.jsxs("div",{className:Ye.contentWithinCard,children:[r.date>0&&n.jsxs("div",{className:Ye.contentDate,children:[n.jsx("span",{className:Ye.dot,style:{background:t==="liveblogs"?"var(--news-liveblog-timeline-datelink-dot-color)":"var(--common-black)"}}),n.jsx("p",{className:Ye.dateInfo,style:{color:t==="liveblogs"?"var(--news-liveblog-timeline-datelink-color)":"var(--common-black)"},children:Dn(r.date)})]}),n.jsx("p",{className:Ye.contentTitle,children:e[0]?.list.integrated?r.title:`${r.index}. ${r.title}`}),r.image&&n.jsx(_e,{preview:r.image,isLarge:!0}),n.jsx("div",{className:Ye.contentTextList,dangerouslySetInnerHTML:{__html:r.body.rendered}}),r.related&&n.jsx("div",{className:Ye.contentButton,children:n.jsx("a",{className:Ye.linkStyled,href:r.related??"",target:"”_blank",children:o.blockNoteList_readMore??"Leer Más"})})]})},i),Ws[i]&&n.jsx(fe,{banners:a,name:"list_"+Ws[i]},i)]},i))})},Ys={FaceBook:"facebook",Instagram:"instagram",WhatsApp:"whatsapp",TikTok:"tiktok",Youtube:"youtube",X:"x",Gnews:"gnews",Podcast:"podcast",Telegram:"telegram"};function Rl({url:e}){return e&&e!==""&&n.jsxs(P,{href:e,className:le.googleProfileButton,children:[n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",children:n.jsx("path",{fill:"currentColor",d:"M15.583 9.083h-6.5v6.5H6.916v-6.5h-6.5V6.917h6.5v-6.5h2.167v6.5h6.5v2.166Z"})}),"Síguenos en",n.jsx(ed,{})]})}const ed=()=>n.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 272 92",width:"272",height:"92",children:[n.jsx("path",{fill:"#EA4335",d:"M115.75 47.18c0 12.77-9.99 22.18-22.25 22.18s-22.25-9.41-22.25-22.18C71.25 34.32 81.24 25 93.5 25s22.25 9.32 22.25 22.18zm-9.74 0c0-7.98-5.79-13.44-12.51-13.44S80.99 39.2 80.99 47.18c0 7.9 5.79 13.44 12.51 13.44s12.51-5.55 12.51-13.44z"}),n.jsx("path",{fill:"#FBBC05",d:"M163.75 47.18c0 12.77-9.99 22.18-22.25 22.18s-22.25-9.41-22.25-22.18c0-12.85 9.99-22.18 22.25-22.18s22.25 9.32 22.25 22.18zm-9.74 0c0-7.98-5.79-13.44-12.51-13.44s-12.51 5.46-12.51 13.44c0 7.9 5.79 13.44 12.51 13.44s12.51-5.55 12.51-13.44z"}),n.jsx("path",{fill:"#4285F4",d:"M209.75 26.34v39.82c0 16.38-9.66 23.07-21.08 23.07-10.75 0-17.22-7.19-19.66-13.07l8.48-3.53c1.51 3.61 5.21 7.87 11.17 7.87 7.31 0 11.84-4.51 11.84-13v-3.19h-.34c-2.18 2.69-6.38 5.04-11.68 5.04-11.09 0-21.25-9.66-21.25-22.09 0-12.52 10.16-22.26 21.25-22.26 5.29 0 9.49 2.35 11.68 4.96h.34v-3.61h9.25zm-8.56 20.92c0-7.81-5.21-13.52-11.84-13.52-6.72 0-12.35 5.71-12.35 13.52 0 7.73 5.63 13.36 12.35 13.36 6.63 0 11.84-5.63 11.84-13.36z"}),n.jsx("path",{fill:"#34A853",d:"M225 3v65h-9.5V3h9.5z"}),n.jsx("path",{fill:"#EA4335",d:"M262.02 54.48l7.56 5.04c-2.44 3.61-8.32 9.83-18.48 9.83-12.6 0-22.01-9.74-22.01-22.18 0-13.19 9.49-22.18 20.92-22.18 11.51 0 17.14 9.16 18.98 14.11l1.01 2.52-29.65 12.28c2.27 4.45 5.8 6.72 10.75 6.72 4.96 0 8.4-2.44 10.92-6.14zm-23.27-7.98l19.82-8.23c-1.09-2.77-4.37-4.7-8.23-4.7-4.95 0-11.84 4.37-11.59 12.93z"}),n.jsx("path",{fill:"#4285F4",d:"M35.29 41.41V32H67c.31 1.64.47 3.58.47 5.68 0 7.06-1.93 15.79-8.15 22.01-6.05 6.3-13.78 9.66-24.02 9.66C16.32 69.35.36 53.89.36 34.91.36 15.93 16.32.47 35.3.47c10.5 0 17.98 4.12 23.6 9.49l-6.64 6.64c-4.03-3.78-9.49-6.72-16.97-6.72-13.86 0-24.7 11.17-24.7 25.03 0 13.86 10.84 25.03 24.7 25.03 8.99 0 14.11-3.61 17.39-6.89 2.66-2.66 4.41-6.46 5.1-11.65l-22.49.01z"})]}),td=async e=>{if(!e.news||!e.news.authors)return null;const{news:t,socials:a,texts:o}=e,s=t.authors.map(c=>c.internaluser?`<a href="${`/${e.paths.autor}/${c.name}`}">${c.fullname}</a>`:c.fullname).join(", "),r=()=>t.authors.length===1?le.width1Autor:t.authors.length===2?le.width2Autor:t.authors.length===3?le.width3Autor:"",{CONFIG_shareOnlyWhatsApp:i}=K();return t.config?.showauthor&&n.jsx("div",{className:le.content,children:n.jsxs("div",{className:le.avatarContent,children:[i?n.jsxs("a",{className:le.whatsappLink,href:a[Ys.WhatsApp].url,rel:"noreferrer",target:"_blank",children:[n.jsxs("svg",{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("g",{clipPath:"url(#clip0_2906_6960)",children:n.jsx("path",{d:"M25.6376 4.36364C22.8169 1.54545 19.0598 0 15.0628 0C6.82908 0 0.125619 6.67045 0.125619 14.8636C0.125619 17.4886 0.810811 20.0455 2.1241 22.2955L0 30L7.91397 27.9318C10.0952 29.1136 12.5504 29.7386 15.0514 29.7386C23.2851 29.7386 29.9886 23.0682 29.9886 14.875C29.9886 10.8977 28.4355 7.17045 25.6148 4.36364M15.0628 27.2273C12.8359 27.2273 10.6433 26.6364 8.74762 25.5L8.29083 25.2273L3.58584 26.4545L4.84202 21.8977L4.54511 21.4318C3.30034 19.4659 2.64941 17.1932 2.64941 14.8523C2.64941 8.04545 8.22231 2.5 15.0742 2.5C18.386 2.5 21.5036 3.78409 23.8561 6.125C26.1972 8.46591 27.4876 11.5682 27.4876 14.8636C27.4876 21.6818 21.9147 27.2159 15.0742 27.2159M21.8805 17.9773C21.5036 17.7955 19.6764 16.8977 19.3338 16.7727C18.9912 16.6477 18.74 16.5909 18.4888 16.9545C18.2375 17.3182 17.5295 18.1591 17.3011 18.4091C17.0841 18.6591 16.8671 18.6932 16.4903 18.5C16.1134 18.3068 14.9144 17.9205 13.4869 16.6591C12.3791 15.6705 11.6254 14.4545 11.4084 14.0909C11.1915 13.7273 11.3856 13.5227 11.5683 13.3295C11.7396 13.1591 11.9452 12.8977 12.1279 12.6818C12.3106 12.4659 12.3791 12.3068 12.5048 12.0568C12.6304 11.8068 12.5619 11.5909 12.4705 11.4091C12.3791 11.2273 11.6254 9.39773 11.3171 8.64773C11.0088 7.92045 10.7118 8.02273 10.472 8.01136C10.255 8.01136 10.0038 8 9.75257 8C9.50133 8 9.10164 8.09091 8.75904 8.46591C8.41644 8.84091 7.45718 9.73864 7.45718 11.5682C7.45718 13.3977 8.7933 15.1591 8.97602 15.4091C9.15874 15.6591 11.6026 19.4091 15.3483 21.0227C16.2391 21.4091 16.9357 21.6364 17.4724 21.8068C18.3632 22.0909 19.1854 22.0455 19.8249 21.9545C20.5443 21.8523 22.0289 21.0568 22.3487 20.1932C22.657 19.3295 22.657 18.5795 22.5657 18.4318C22.4743 18.2727 22.2231 18.1818 21.8462 18",fill:"#7AD16D"})}),n.jsx("defs",{children:n.jsx("clipPath",{id:"clip0_2906_6960",children:n.jsx("rect",{width:"30",height:"30",fill:"white"})})})]}),o.WhatsAppLinkJournalist]}):n.jsx("div",{style:{width:"100%"},"data-hydrate":"ShareButtons","data-props":encodeURIComponent(JSON.stringify({noteShare:e.noteShare})),children:n.jsx(ws,{noteShare:e.noteShare})}),n.jsx(Rl,{url:e.noteShare?.googleProfile??""}),n.jsxs("section",{className:le.journalistSection,children:[n.jsx("div",{className:`${le.imageContent} ${r()}`,style:{width:`${t.authors?.length>2?t.authors?.length*30:t.authors?.length*35}px`},children:Array.isArray(t.authors)&&t.authors?.map(async(c,d)=>c.image?n.jsx("img",{fetchPriority:"low",loading:"lazy",alt:"autor",className:`${le.imageStyled} ${le.imageAutor} `,src:await ue(c.image.sizes[0]?.url||"")},c.fullname):n.jsx("div",{className:`${le.contentIconStyled} ${le.imageAutor}`,children:e.autorIcon},c.fullname))}),s&&n.jsx("div",{className:le.journalistInfoLink,dangerouslySetInnerHTML:{__html:`${o.JournalistPrefix} <h3 style="padding:0px;">${s??"Redaccion"}${t.config?.showtime&&","}</h3> ${t.config?.showtime?Dn(t.info.date.modified):null}`}})]})]})})},Nn={content:"_content_zgckk_1",journalistArticleContent:"_journalistArticleContent_zgckk_15",contentNews:"_contentNews_zgckk_35",noteSource:"_noteSource_zgckk_392"},nd={summaryContent:"_summaryContent_wsypg_1"},ad=async({summary:e})=>e&&e.rendered&&n.jsx("section",{className:nd.summaryContent,dangerouslySetInnerHTML:{__html:e.rendered}}),ya=async({newsformated:e,internal:t})=>{if(!t)return;const a=new je,o=e.preview.sizes,r=(await a.getNewsMultimedia({path:t,imagesizes:o?o[0]?.scale:"w:801,h:449,t:2;"}))?.data.data[0]?.gallery??[];return n.jsxs("div",{className:wn.content,children:[n.jsx(it,{slot_id:"header",fullPageWidth:!0,visibleItems:1,pagination:!0,cardGap:0,children:r&&r.map((i,c)=>n.jsx(_e,{preview:i,priorityHigh:!0},c))}),n.jsx("div",{className:wn.description,children:r&&r[0]?.description})]})};function od(e){const t=e.children,a=`${e.slot_id}-`,o=e.visibleItems,s=e.cardGap??20;function r(c){const d=[],l=[];let h="",u=!0;for(let f=0;f<c;f++){const g=`[data-index="${f}"]:checked ~ .carrousel-pagination li:nth-child(${f+1}) {
50
50
  background-color:var(--carrousel-pagination-background-color)
51
51
  }`;h+=`
52
52
  .${a}.carrousel-container {
@@ -126,5 +126,5 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
126
126
  ${I}
127
127
  <figcaption>${G}</figcaption>
128
128
  </figure>
129
- `}}catch(C){console.error("insertVideos error for",g,C),y=""}else y=f;o=u,a+=y,s.lastIndex=u}return a+=e.slice(o),a}async function ud(e){const{news:t,banners:a,newsRelatedResponses:o,slug:s,itemList:r,socials:i,getVideos:c}=e;let d=t?.body?.rendered??"";d=d.replace(/&nbsp;/g,""),d=cd(d,a),d=ld(d),d=await Ks(d),d=await dd(d,e.texts,o),d=await hd(d,c),d=rd(d),d=id(d);const l=t.main.sources??[];return n.jsxs("div",{className:Nn.content,children:[s!=="liveblogs"&&e.showHeaderImage?t.hascontent?.hasgalleryimages?n.jsx(ya,{newsformated:t,internal:t.info.link.internal}):n.jsx(vs,{preview:t.preview}):null,n.jsx(fe,{banners:a,name:"block_1"}),n.jsx("div",{className:Nn.journalistArticleContent,children:n.jsx(td,{autorIcon:e.autorIcon,socials:i,news:t,texts:e.texts,noteShare:e.noteShare,paths:e.paths})}),n.jsx(ad,{summary:t.main.summary}),n.jsx("div",{className:Nn.contentNews,suppressHydrationWarning:!0,id:"content-news-section",dangerouslySetInnerHTML:{__html:d}}),n.jsx(Xl,{texts:e.texts,itemList:r,banners:a,slug:s}),l.length>0&&n.jsxs("div",{className:Nn.noteSource,children:[n.jsx(sd,{}),n.jsx("p",{children:e.texts.noteSource+(l.length===1?"":"s")+": "+l.map(h=>h.name).join(", ")})]})]})}const Js={content:"_content_cu8lm_1",title:"_title_cu8lm_18"},Zs=async({newsformated:e,internal:t,commonServices:a})=>{if(!t)return;const o=await a.getNewsMultimedia({path:t,imagesizes:e.preview.sizes[0]?.scale});if(!o)return;const s=o.data.data[0]?.videos.filter(r=>r.type==="video-embedded")[0];return n.jsxs("div",{className:Js.content,children:[n.jsx("div",{dangerouslySetInnerHTML:{__html:s?.code??""}}),n.jsx("p",{className:Js.title,children:s?.title})]})},wa={content:"_content_cu8lm_1",title:"_title_cu8lm_18"},Xs=async({newsformated:e,internal:t,commonServices:a})=>{if(!t)return;const o=await a.getNewsMultimedia({path:t,imagesizes:e.preview.sizes[0]?.scale});if(!o)return;const s=o.data.data[0]?.videos.filter(r=>r.type==="video-youtube")[0];return n.jsxs("div",{className:wa.content,children:[n.jsx("iframe",{className:wa.iframeStyled,src:`https://www.youtube.com/embed/${s?.code??""}`,frameBorder:"0",allowFullScreen:!0}),n.jsx("p",{className:wa.title,children:s?.title})]})},fd={content:"_content_ezbiw_1"},Rs=async({newsformated:e,internal:t,commonServices:a})=>{if(!t)return;const o=await a.getNews({path:t,imagesizes:e.preview.sizes[0]?.scale});if(!o)return;console.log("response",o.data.data[0]);const s=o.data.data[0]?.external?.iframe;return n.jsx("div",{className:fd.content,dangerouslySetInnerHTML:{__html:s??""}})},er={content:"_content_156j7_1"},nt={imagen:"imagen",videoEmbedded:"videoEmbedded",videoYouTube:"videoYouTube",iframe:"iframe"},md={[nt.videoEmbedded]:Zs,[nt.videoYouTube]:Xs,[nt.iframe]:Rs},gd=({news:e,commonServices:t})=>{const{config:a,hascontent:o,info:s}=e,r=a.articlepreview,i=s.link.internal,c=o?.hasgalleryimages;if(r===nt.imagen&&c)return n.jsx("div",{className:er.content,children:n.jsx(ya,{newsformated:e,internal:i})});const d=r?md[r]:null;return console.log("PreviewComponent",d),d?n.jsx("div",{className:er.content,children:n.jsx(d,{newsformated:e,internal:i,commonServices:t})}):null},pd=e=>{const{content:t,title:a,slot_id:o}=e,s=e.slot_id&&e.slot_id!=="Nota_1";return t&&t.length!==0&&n.jsx(he,{title:a,titleUrl:e.titleUrl,children:n.jsx(it,{slot_id:o,cardWidth:200,children:t.map((r,i)=>{const c={...r,main:{...r.main,title:{...r.main.title,section:s?r.main.title.home:r.main.title.section}}};return n.jsx(Mt,{...c,titleGradient:!0,paths:e.paths},i)})})})},Ad=e=>{const{content:t,title:a,slot_id:o}=e,s=e.slot_id&&e.slot_id!=="Nota_1";return t&&t.length!==0&&n.jsx(he,{title:a,titleUrl:e.titleUrl,children:n.jsx(it,{slot_id:o,cardWidth:343,cardGap:32,visibleItems:3,children:t.map((r,i)=>{const c={...r,main:{...r.main,title:{...r.main.title,section:s?r.main.title.home:r.main.title.section}}};return n.jsx(Mt,{...c,titleGradient:!0,paths:e.paths},i)})})})},yd=e=>{const{content:t,title:a,slot_id:o}=e,s=e.slot_id&&e.slot_id!=="Nota_1";return t&&t.length!==0&&n.jsx(he,{title:a,titleUrl:e.titleUrl,children:n.jsx(it,{slot_id:o,fullPageWidth:!0,visibleItems:1,pagination:!0,cardGap:0,children:t.map((r,i)=>{const c={...r,main:{...r.main,title:{...r.main.title,section:s?r.main.title.home:r.main.title.section}}};return E.createElement(Mt,{...c,key:i,titleGradient:!0,paths:e.paths})})})})},En=e=>{const t={};for(const a in e)a.startsWith("--")&&(t[a]=e[a]);return t},dt={headerSection:"_headerSection_1c69w_1",title:"_title_1c69w_11",subtitle:"_subtitle_1c69w_23",newsContent:"_newsContent_1c69w_36",containerCards:"_containerCards_1c69w_44",image:"_image_1c69w_50",blockHeadContainer:"_blockHeadContainer_1c69w_56"},wd=e=>{const{content:t,title:a,isVideo:o}=e;if(!t||t.length===0)return;const s=t[0],r=t.slice(1),i=e.slot_id&&e.slot_id!=="Nota_1";return s&&r&&n.jsxs(he,{title:a,titleUrl:e.titleUrl,children:[n.jsx("div",{className:dt.headerSection,children:n.jsxs("a",{style:{"--heightImageOverwriteMobile":"200%"},className:dt.image,href:s?.info?.link?.url,target:s?.info?.link?.target,children:[n.jsxs("div",{className:dt.blockHeadContainer,children:[n.jsx("p",{className:dt.title,children:s?.main?.title.home}),s?.main?.subtitle?.rendered&&n.jsx("p",{className:dt.subtitle,children:s?.main?.subtitle?.striped})]}),n.jsx(_e,{preview:s.preview})]})}),n.jsxs("div",{className:dt.containerCards,children:[n.jsx("div",{className:"banner-context",style:{order:1},children:e.banner}),n.jsx("div",{className:dt.newsContent,children:Array.isArray(r)&&r.map((c,d)=>{const l={...c,main:{...c.main,title:{...c.main.title,section:i?c.main.title.home:c.main.title.section}}};return n.jsx("div",{style:{order:d},children:n.jsx(Oe,{...l,isVideo:o,paths:e.paths})},d)})})]})]})},tr={banner:e=>n.jsx(fe,{...e,name:e.slot_id.replace("Home","block")}),readest:e=>n.jsx(fn,{...e}),"Modulo 1x3":e=>n.jsx(fa,{...e}),"Modulo 1x4":e=>n.jsx(js,{...e}),"Modulo 1x5":e=>n.jsx(Qs,{...e}),"Destacado noticias":e=>n.jsx(Ps,{...e}),"Destacado full width":e=>n.jsx(wd,{...e}),"Destacado videos":e=>n.jsx(Gs,{...e}),"Carrusel card":e=>n.jsx(zs,{...e}),"Carrusel story":e=>n.jsx(pd,{...e}),"Carrusel owl":e=>n.jsx(Ad,{...e}),"Modulo fotogaleria":e=>n.jsx(yd,{...e}),"Carrusel opinion":e=>n.jsx(Fs,{...e}),"Modulo 1x3 card":e=>n.jsx(Hs,{...e})};function ba({component:e,slot_id:t,data:a,banners:o}){if(o)return tr[e]&&n.jsx("div",{className:"home-slot",style:En(a),children:tr[e]({...a,banners:o,slot_id:t})})}function bd({children:e,stylesConfigEntry:t}){return n.jsx("div",{className:"home-slot",style:En(t),children:e})}const nr={Diario:e=>{if(!e?.data||e.data.length===0)return;const t=e.data.slice(1);return n.jsx(Ls,{...e.data[0],itemReverseOrder:!0,isLarge:!0,block:t,banners:e.banners,showSuper:e.showSuper,rightOnlyBanner:e.rightOnlyBanner,customSectionCardStyles:e.customSectionCardStyles,customNewsDescriptionStyles:e.customNewsDescriptionStyles,paths:e.paths})},"Diario con imagen":e=>{if(!e?.data||e.data.length===0)return;const t=e.data.slice(1);return n.jsx(Ls,{...e.data[0],itemReverseOrder:!0,isLarge:!0,showSuper:e.showSuper,block:t,banners:e.banners,customSectionCardStyles:e.customSectionCardStyles,customNewsDescriptionStyles:e.customNewsDescriptionStyles,paths:e.paths})},Super:e=>n.jsx(Ct,{...e.data[0],paths:e.paths}),"3 notas verticales":e=>n.jsx(ql,{content:e.data,customLargeSection:e.customLargeSection,customSlimSection:e.customSlimSection,paths:e.paths}),"3 notas horizontales":e=>n.jsx(Ll,{content:e.data,customLargeSection:e.customLargeSection,customSmallSection:e.customSmallSection,paths:e.paths})},Tn=({component:e,data:t,banners:a,rightOnlyBanner:o})=>n.jsx("div",{style:En(t),children:nr[e]&&nr[e]({...t,rightOnlyBanner:o,banners:a})}),vd=({slots:e,DYNAMIC_SLOT_SUBINDEXES:t,stylesConfig:a,AutorIcon:o,config:s,banners:r,showTagBySection:i})=>{const c=[],l=t,h=Object.keys(e).length/l;for(let u=1;u<=h;u++)for(let f=1;f<=l;f++){const g="Home_"+u+"_"+f;!e[g]||!e[g].blockSass||!e[g].blockSass[0]||!e[g].blockSass[0].value||!e[g].blockSass[0].block||e[g].blockSass[0].block==="No Mostrar"||c.push(n.jsxs(ss,{show:!!e[g].content?.data,order:(u-1)*l+(f-1),children:[n.jsx(ba,{component:e[g].blockSass[0].block,banners:r,slot_id:g,data:{...e[g].blockSass[0].block?a[e[g].blockSass[0].block]:[],content:e[g].content?.data??[],title:e[g].blockSass[0].title??void 0,titleUrl:e[g].blockSass[0].link??void 0,autorIcon:n.jsx(o,{}),paths:s.paths,showTagBySection:i}}),n.jsx(Ze,{children:n.jsx(Qe,{banners:r,index:"dynamic_"+u+"_"+f})})]},u+"_"+f))}return c},Cd=({mainBlock:e,StylesConfigMain:t,config:a,banners:o})=>{const{PUBLIC_ENV:s}=K();if(s!=="local")return null;const r=e?.news?.data||[],i=(c,d)=>({...e?.news,...t[c],data:r.slice(0,d),paths:a.paths});return n.jsxs(n.Fragment,{children:[n.jsx(Tn,{component:"Super",data:i("Super",1),banners:o}),n.jsx(Ze,{children:n.jsx(Qe,{banners:o,index:1})}),n.jsx(Tn,{component:"3 notas verticales",data:i("3 notas verticales",3),banners:o}),n.jsx(Ze,{children:n.jsx(Qe,{banners:o,index:1})}),n.jsx(Tn,{component:"3 notas horizontales",data:i("3 notas horizontales",3),banners:o}),n.jsx(Ze,{children:n.jsx(Qe,{banners:o,index:1})})]})},_d=e=>{const{config:t,hascontent:a}=e,o=t.articlepreview,s=[nt.videoEmbedded,nt.videoYouTube,nt.iframe];return!!(o===nt.imagen&&a?.hasgalleryimages||s.includes(o))},Sd=async e=>{const{custom_complement:t,ranking:a=[],banners:o,autor:s=[],news:r=[],newsRelatedResponses:i=[],itemList:c=[],socials:d,getVideos:l}=e,h=e.slug==="liveblogs",{SHOW_NEWS_MORE_NEWS:u,SHOW_NEWS_RELATED_NEWS:f}=K();if(!(!r||!r[0]))return n.jsx(n.Fragment,{children:n.jsxs(zl,{className:Aa.contentLayout2,children:[n.jsx(Vl,{option:e.slug,news:r,paths:e.paths}),n.jsx(Qe,{banners:o,index:1}),!h&&e.commonServices&&n.jsx(gd,{news:r[0],commonServices:e.commonServices}),n.jsx(Fl,{texts:e.texts,paths:e.paths,slug:e.slug,itemList:c,ranking:a,bannerTop:n.jsx(fe,{banners:o??[],name:"right_1"}),banner:n.jsx(fe,{banners:o??[],name:"right_2"}),complement:n.jsxs("div",{id:"comentarios",suppressHydrationWarning:!0,children:[s.length>0&&n.jsx(xs,{texts:e.texts,autorIcon:e.autorIcon,autor:s[0],paths:e.paths}),r[0].authors.length>1&&n.jsx(Us,{news:r[0],autorIcon:e.autorIcon,paths:e.paths,texts:e.texts}),n.jsx("div",{className:Aa.tagContent,children:n.jsx(ks,{tags:r[0]?.keywords?.tags,paths:e.paths})}),n.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"2rem"},suppressHydrationWarning:!0,children:[e.showComments&&n.jsx("div",{suppressHydrationWarning:!0,"data-hydrate":"LazyLoader","data-props":encodeURIComponent(JSON.stringify({render:"comment",internalPath:e.internalPath,COMMENTS_VARS:e.COMMENTS_VARS}))}),n.jsx(Ze,{children:n.jsx(Qe,{banners:o,index:2})}),f&&n.jsxs(n.Fragment,{children:[n.jsx(ba,{component:"Carrusel card",banners:[],slot_id:"Nota_1",data:{...e.stylesConfig["Carrusel card"],content:e.relatedNewsList??[],title:e.texts.relatedNewsTitle,titleUrl:void 0}}),n.jsx(Ze,{children:n.jsx(Qe,{banners:o,index:3})})]}),u&&n.jsxs(n.Fragment,{children:[n.jsx(he,{title:e.texts.moreNewsTitle,children:n.jsx("div",{suppressHydrationWarning:!0,"data-hydrate":"LazyLoader","data-props":encodeURIComponent(JSON.stringify({render:"more",stylesConfig:e.stylesConfig,section:r[0].info.section?.slug??"",currentNews:r[0]}))})}),n.jsx(Ze,{children:n.jsx(Qe,{banners:o,index:4})})]}),t&&t()]})]}),children:n.jsxs("section",{style:{"--avatar-content-align-items-desk":e.slug==="liveblogs"?"flex-start":"center"},children:[n.jsx(ud,{texts:e.texts,autorIcon:e.autorIcon,socials:d,news:r[0],banners:o,newsRelatedResponses:i,itemList:c,slug:e.slug,getVideos:l,noteShare:e.noteShare,paths:e.paths,showHeaderImage:!_d(r[0])}),n.jsx(fe,{banners:o??[],name:"block_3"})]})})]})})},Nt={content:"_content_1tl6i_1",contentInfo:"_contentInfo_1tl6i_24",imageStyled:"_imageStyled_1tl6i_41",name:"_name_1tl6i_46",description:"_description_1tl6i_51",contentInfoWithoutImg:"_contentInfoWithoutImg_1tl6i_104"},Nd=async e=>{const t=e.img?await ue(e.img):"";return n.jsx("section",{className:Nt.content,children:n.jsxs("div",{className:`${Nt.contentInfo} ${t?"":Nt.contentInfoWithoutImg}`,children:[e.img&&n.jsx("img",{fetchPriority:"low",loading:"lazy",className:Nt.imageStyled,src:t}),n.jsx("h1",{className:Nt.name,children:e.tag}),e.description&&n.jsx("div",{className:Nt.description,dangerouslySetInnerHTML:{__html:e.description}})]})})},In={content:"_content_7wvro_1",contentInfo:"_contentInfo_7wvro_23",name:"_name_7wvro_34",description:"_description_7wvro_43"},Ed=e=>n.jsx("section",{className:In.content,style:{color:e.textColor,"--backDropHeigth":e.backDropHeigth?e.backDropHeigth:"100%",padding:e.sectionPadding??"","--backgroundColor":e.backgroundColor},children:n.jsxs("div",{className:In.contentInfo,children:[n.jsx("h1",{className:In.name,style:{color:e.textColor},children:e.tag}),e.description&&n.jsx("div",{style:{color:e.textColor},className:In.description,dangerouslySetInnerHTML:{__html:e.description}})]})}),Td=e=>{const{option:t,entity:a}=e;switch(t){case"op1":return n.jsx(Nd,{tag:a?.name??"",img:a?.image?.url??"",description:a?.description?a?.description:""});case"op2":return n.jsx(Ed,{tag:a?.name??"",description:a?.description?a?.description:"",backDropHeigth:e.backDropHeigth,backgroundColor:e.backgroundColor,sectionPadding:e.sectionPadding,textColor:e.textColor});default:return n.jsx(n.Fragment,{})}},zt={content:"_content_gxziw_1",buttonStyled:"_buttonStyled_gxziw_9",searchStyled:"_searchStyled_gxziw_21",inputStyled:"_inputStyled_gxziw_32",inputStyledTest:"_inputStyledTest_gxziw_51"},Id=e=>n.jsx("svg",{width:"68",height:"68",viewBox:"0 0 68 68",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:n.jsx("g",{opacity:"0.8",children:n.jsx("path",{d:"M47.8043 46.6003L47.6635 46.7758L47.8232 46.9342L56.4762 55.5171C56.4768 55.5177 56.4774 55.5184 56.478 55.519C56.8524 55.9072 57.0616 56.4256 57.0616 56.965C57.0616 57.5048 56.8521 58.0234 56.4774 58.4117C56.2839 58.6065 56.0539 58.7611 55.8005 58.8667C55.5466 58.9724 55.2743 59.0269 54.9993 59.0269C54.7243 59.0269 54.452 58.9724 54.1981 58.8667C53.9442 58.7609 53.7138 58.6059 53.5201 58.4106L53.5194 58.4099L44.9327 49.8232L44.7743 49.6648L44.5995 49.805C40.4597 53.1252 35.2051 54.7331 29.9162 54.2981C24.6272 53.863 19.706 51.4181 16.1643 47.4661C12.6227 43.514 10.7298 38.3552 10.875 33.0503C11.0201 27.7455 13.1923 22.6979 16.9447 18.9455C20.6972 15.193 25.7448 13.0209 31.0496 12.8757C36.3544 12.7305 41.5133 14.6234 45.4653 18.165C49.4174 21.7067 51.8623 26.6279 52.2974 31.9169C52.7324 37.2058 51.1245 42.4604 47.8043 46.6003ZM22.4528 47.4552C25.1799 49.2774 28.3861 50.25 31.666 50.25C36.0641 50.25 40.2822 48.5029 43.3921 45.3929C46.5021 42.2829 48.2493 38.0649 48.2493 33.6667C48.2493 30.3868 47.2767 27.1806 45.4545 24.4535C43.6323 21.7264 41.0423 19.6008 38.0121 18.3457C34.9819 17.0905 31.6476 16.7621 28.4307 17.402C25.2139 18.0419 22.259 19.6213 19.9398 21.9405C17.6205 24.2597 16.0411 27.2146 15.4013 30.4314C14.7614 33.6483 15.0898 36.9827 16.345 40.0129C17.6001 43.0431 19.7256 45.633 22.4528 47.4552Z",fill:"white",stroke:"white",strokeWidth:"0.5"})})}),kd=e=>n.jsx("form",{className:zt.content,style:{height:e.hasContent?"218px":"50vh"},children:n.jsxs("div",{className:zt.inputStyled,children:[n.jsx("input",{className:zt.inputStyledTest,defaultValue:e.query,name:"query",placeholder:e.texts.searchKeyWord+"..."}),n.jsx("button",{className:zt.buttonStyled,type:"submit",children:n.jsx(Id,{className:zt.searchStyled})})]})}),va={content:"_content_io3tv_1",newsContentSection:"_newsContentSection_io3tv_5",itemContent:"_itemContent_io3tv_10"},xd=e=>{const{data:t,option:a,autor:o,page:s,banners:r,pathname:i,ranking:c,currentPage:d,slug:l,texts:h={}}=e,u=[5,10,15],f={5:1,10:2,15:3};switch(a){case"op1":return n.jsx(n.Fragment,{children:n.jsxs(sa,{children:[n.jsx(Ss,{autor:o[0],autorIcon:e.autorIcon}),n.jsx(ia,{paths:e.paths,ranking:c,readestTitle:h.readestTitle??"",bannerTop:n.jsx(fe,{banners:r??[],name:"right_1"}),banner:n.jsx(fe,{banners:r??[],name:"right_2"}),children:n.jsx("section",{className:va.content,children:t.length>0?n.jsx(yn,{className:[va.newsContentSection,"padding-0"].join(" "),paginatorComponent:n.jsx(Ot,{texts:h,pathname:i,query:"",currentPage:d,maxPages:e.paginationLimit,showNext:!(t.length<e.newsListLimit)}),children:Array.isArray(t)&&t?.map((g,m)=>n.jsxs(E.Fragment,{children:[u.includes(m+1)&&n.jsx("div",{className:va.itemContent+" banner-context",children:n.jsx(fe,{banners:r??[],name:`block_2_${f[m+1]}`})}),n.jsx(Sn,{autorIcon:e.autorIcon,item:g,option:l,paths:e.paths},m)]},m))}):n.jsx("div",{style:{width:"100%",display:"flex",flexDirection:"column",justifyContent:"center",gap:"2rem"},children:n.jsx("p",{style:{fontWeight:"var(--fw)",width:"100%",fontSize:"18px",lineHeight:"26px",textAlign:"center"},children:h.autorNotResultMessage})})})})]})});case"op2":return n.jsx(n.Fragment,{children:n.jsxs(sa,{children:[n.jsx(Ns,{autor:o[0],autorIcon:e.autorIcon}),Array.isArray(t)?n.jsxs(n.Fragment,{children:[n.jsx(fa,{content:t,title:"",hasLines:!0,banners:e.banners,bannerPositionIndex:[1,6,12],paths:e.paths,slot_id:"block_2"}),n.jsx(Ot,{texts:h,query:"",pathname:i,maxPages:Number(e.paginationLimit),currentPage:Number(s),showNext:!((t.length??0)<Number(e.newsListLimit))})]}):n.jsx("div",{style:{width:"100%",display:"flex",flexDirection:"column",justifyContent:"center",gap:"2rem"},children:n.jsx("p",{style:{fontWeight:"var(--fw)",width:"100%",fontSize:"18px",lineHeight:"26px",textAlign:"center"},children:h.autorNotResultMessage})})]})});default:return n.jsx(n.Fragment,{})}},ar={content:"_content_pq89v_1",videoContent:"_videoContent_pq89v_9"},Ft={container:"_container_1xr2t_1",playStyled:"_playStyled_1xr2t_6",imageStyled:"_imageStyled_1xr2t_13",longer:"_longer_1xr2t_26",contentNews:"_contentNews_1xr2t_31",tagContent:"_tagContent_1xr2t_51",tag:"_tag_1xr2t_51",titular:"_titular_1xr2t_68",small:"_small_1xr2t_81",figure:"_figure_1xr2t_87",backDrop:"_backDrop_1xr2t_92",backDropAux:"_backDropAux_1xr2t_100"},or=async e=>{const{size:t="longer",video:a}=e,o=a.main.image.sizes[0]?.url??"";return n.jsx("figure",{className:Ft.figure,children:n.jsxs("span",{className:Ft.backdrop,children:[n.jsx("span",{className:Ft.backDropAux}),n.jsx(P,{href:a.info.link.url,target:a.info.link.target,children:n.jsxs("div",{children:[a.main.image.sizes.map(async(s,r)=>s.width>=580?n.jsx("source",{media:"(width >=900px)",srcSet:await ue(s.url)},r):n.jsx("source",{media:"(width <900px)",srcSet:await ue(s.url)},r)),n.jsx("img",{fetchPriority:"low",loading:"lazy",className:[Ft.imageStyled,Ft[t]].join(" "),alt:"",src:o?await ue(o):""})]})})]})})},Ud=e=>{const{videos:t}=e;return n.jsx("div",{className:ar.content,children:n.jsx(yt,{children:n.jsx(he,{title:"Videos",isTitle:!0,children:n.jsxs("div",{className:ar.videoContent,children:[n.jsx(or,{video:t[0]}),n.jsx("div",{style:{display:"flex",flexDirection:"column"},children:t.slice(1).map((a,o)=>n.jsx(or,{size:"small",video:a},`video-small-${o}`))})]})})})})},ht={content:"_content_ruy5q_1",videoContent:"_videoContent_ruy5q_9",articleSection:"_articleSection_ruy5q_21",contentLatout:"_contentLatout_ruy5q_31",title:"_title_ruy5q_36",article:"_article_ruy5q_21",correspondent:"_correspondent_ruy5q_64"},sr={container:"_container_1rq2h_1",playStyled:"_playStyled_1rq2h_9"},Ld=e=>{const{video:t}=e,a=un();return n.jsx(P,{href:t.info.link.url?t.info.link.url:void 0,target:t.info.link.target,children:n.jsxs("section",{className:sr.container,children:[n.jsx(_e,{isLarge:!0,preview:{sizes:t.main.image.sizes,description:t.main.description}}),n.jsx(a,{className:sr.playStyled})]})})},qd=e=>{const t=()=>e?.video.main.author?`${e?.video.main.author} - ${ke(e.video.info.date.created)}`:e?.video.main.author;return n.jsx("div",{className:ht.content,children:n.jsx(yt,{className:ht.contentLatout,children:n.jsx(he,{title:"Videos",isTitle:!0,children:n.jsxs("div",{className:ht.videoContent,children:[n.jsx(Ld,{video:e.video}),n.jsxs("div",{className:ht.articleSection,children:[n.jsx(P,{className:ht.title,href:e.video.info.link.url,target:e.video.info.link.target,children:e.video.main.title}),n.jsx("p",{className:ht.article,children:xe(e.video.main.description)}),n.jsx("p",{className:ht.correspondent,children:t()})]})]})})})})},Bd=e=>{switch(e.option){case"op1":return n.jsx(Ud,{videos:e.data});case"op2":return n.jsx(qd,{video:e.data[0]});default:return n.jsx(n.Fragment,{})}};function Pd({containerId:e,containerId2:t}){return E.useEffect(()=>{try{let a=function(){const h=window.twttr;h?.widgets?h.widgets.load(o):l<10?(l++,requestAnimationFrame(a)):console.warn("No se pudo cargar widgets de Twitter")};const o=document.getElementById(e),s=document.getElementById(t);if(!o&&!s)return;const r=o?.querySelectorAll("script[src]")??[],i=s?.querySelectorAll("script[src]")??[];[...r,...i].forEach(h=>{const u=document.createElement("script");Array.from(h.attributes).forEach(f=>{u.setAttribute(f.name,f.value)}),h.replaceWith(u)});const d=document.querySelectorAll('script[src*="platform.twitter.com/widgets.js"]');if(d)for(let h=0;h<d.length;h++)d[h]?.remove();let l=0;if(document.querySelector('script[src*="platform.twitter.com/widgets.js"]'))a();else{const h=document.createElement("script");h.src="https://platform.twitter.com/widgets.js",h.async=!0,h.onload=a,document.body.appendChild(h)}}catch(a){console.warn("Error al procesar embeds de Twitter",a)}},[e]),null}const Od=e=>{const{isVideo:t=!1,isLarge:a=!1,hasShadow:o=!1,BackDropAuxHeigthMobile:s}=e,r=ta(),i=E.useMemo(()=>e?.preview?.sizes||[],[e?.preview?.sizes]);if(!i.length||!i[0]?.url||i[0]?.url==="")return n.jsx("div",{className:se.imagePlaceholder});const{PUBLIC_API_HOST:c,PUBLIC_ENV:d}=K();return n.jsx("figure",{className:se.figure,children:n.jsxs("span",{className:se.backdrop,children:[n.jsx("span",{className:se.backdropAux,style:{height:s||"56.25%"}}),n.jsxs("picture",{children:[n.jsx("img",{fetchPriority:"low",loading:"lazy",className:se.imageStyled,alt:e.preview?.description||"",src:(d==="local"?c:"")+i[0]?.url,style:{boxShadow:o?"0px 4px 8px 0px #00000033":"0px"}}),t&&n.jsxs(n.Fragment,{children:[n.jsx("div",{className:se.boxPlayIcon,style:{height:a?"40%":"72px"}}),n.jsx(r,{className:se.playStyled,style:{width:a?"3rem":"27px",height:a?"3rem":"27px",marginBottom:a?"18px":".5rem",marginLeft:a?"30px":".5rem"}})]})]})]})})},Dd=e=>n.jsx("svg",{width:"41",height:"33",viewBox:"0 0 41 33",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:n.jsx("path",{d:"M17.9576 21.2985C16.8233 21.2985 15.9277 22.194 15.9277 23.3283C15.9277 24.4627 16.8233 25.3582 17.9576 25.3582C19.0919 25.3582 19.9874 24.4627 19.9874 23.3283C19.9874 22.194 19.0919 21.2985 17.9576 21.2985ZM17.9576 19.2686C19.0919 19.2686 19.9874 18.3731 19.9874 17.2388C19.9874 16.1045 19.0919 15.2089 17.9576 15.2089C16.8233 15.2089 15.9277 16.1045 15.9277 17.2388C15.9277 18.3731 16.8233 19.2686 17.9576 19.2686ZM17.9576 13.1791C19.0919 13.1791 19.9874 12.2836 19.9874 11.1492C19.9874 10.0149 19.0919 9.11938 17.9576 9.11938C16.8233 9.11938 15.9277 10.0149 15.9277 11.1492C15.9277 12.2836 16.8233 13.1791 17.9576 13.1791Z",fill:"#7B888A"})}),rr={info:{section:{name:"",slug:"",url:""},link:{url:"/",target:"",canonical:!1,internal:""},date:{date:"",created:0,modified:0,firstpublish:0,lastpublish:0}},config:{zonehome:void 0,priorityhome:"",zonesection:"",prioritysection:"",homepreview:"",showcomments:!0,showtime:!0,showauthor:!0,showuppertitle:!0,showsubtitle:!0,showads:!0},main:{title:{home:"",section:"",article:""},subtitle:{rendered:"",striped:""},tags:[]},authors:[{firstname:"",lastname:"",fullname:"",image:void 0,name:"",internaluser:!1}],preview:void 0},ir=6,Md=({section:e,currentNews:t,banner:a,isVisible:o=!1,stylesConfig:s})=>{const[r,i]=E.useState({data:Array.from({length:ir},()=>rr)}),[c,d]=E.useState(!1),l=E.useCallback(async()=>{if(!(c||!t?.info?.link?.internal)){d(!0);try{const h=new URLSearchParams({section:e,currentNewsLink:t.info.link.internal}),u=await fetch(`/api/get-more-news?${h}`);if(!u.ok)throw i(void 0),new Error(`HTTP error! status: ${u.status}`);const f=await u.json();i({...f,data:f.data.slice(0,ir)})}catch(h){console.error("[/api/get-more-news] Error:",h.message),i(void 0)}}},[e,t.info.link.internal,c]);return E.useEffect(()=>{o&&l()},[o,r,l]),!r?.data||r.data.length===0?null:n.jsx(jd,{news:r.data,title:"Más Noticias",...s["Modulo 1x3 Client"]??s["Modulo 1x3"],hasLines:!0,showSubtitle:!0,rounded:!0,banner:a,isVisible:o})},jd=e=>{const{news:t,hasLines:a=!1}=e,o=s=>a&&(s+1)%3!==0?pa.contentSeparator:"";return n.jsx("div",{className:pa.newsContent,style:{gap:a?"30px":"20px","--gridTemplateModlule":a?"repeat(auto-fit, 343px);":"repeat(auto-fit, 380px);"},children:t.map((s,r)=>{const{main:i,authors:c,info:d,preview:l,isVideo:h=!1,config:u,overImage:f="default",isTitle:g=!1,isLarge:m=!1}=s;return n.jsx("div",{className:o(r),style:{order:r},children:n.jsxs("section",{className:Dt.content,children:[n.jsx(P,{title:i?.title?.section,href:d?.link?.url??"invalidUrl","aria-label":i?.title?.section??"nota",target:d?.link?.target,children:n.jsx(Od,{isVisible:e.isVisible,preview:l,rounded:e.rounded,isVideo:h,isLarge:m,getImageUrl:e.getImageUrl})}),n.jsx("div",{className:Dt.newsDescription,children:n.jsx(Qd,{main:i,authors:c,info:d,preview:l,share:e.share,config:u,overImage:f,isTitle:g,paths:s.paths,isVisible:e.isVisible})})]})},r)})})},Qd=e=>{const{share:t=!1,cutSubtitle:a=!0}=e,s=(()=>{if(!e?.authors||e.authors.length===0)return"";const r=e.authors[0],i=ke(e.info?.date?.modified);return r&&e?.config?.showtime&&e.config?.showauthor?`${r.fullname} - ${i}`:r&&e.config?.showauthor?r.fullname:e?.config?.showtime?i:""})();return n.jsxs("div",{className:ae.boxInformation,children:[t&&n.jsx(Dd,{className:ae.dotStyles}),e?.info?.section?.url&&n.jsxs("div",{className:ae.sectionDescriptionContainer,children:[n.jsx(P,{className:ae.sectionDescription,href:e.info.section.url??"invalidUrl",children:e.info.section.name}),e?.main?.uppertitle&&n.jsx("p",{className:ae.uppertitle,children:e.main.uppertitle})]}),n.jsx("h2",{className:ae.articule,children:n.jsx(P,{className:ae.linkStyled,style:{"--isLink":e?.info?.link?.url?"underline":"none"},"aria-label":e.main?.title?.section??"nota",href:e?.info?.link?.url,target:e?.info?.link?.target,children:e.main?.title?.section})}),e.config?.showsubtitle&&e.main?.subtitle?.striped&&n.jsx("p",{className:ae.description,style:{"--fontSizeSubTitle":e.fontSizeSubTitle,"--lineHeightSubTitle":e.lineHeightSubTitle,"--colorSubTitle":e.colorSubTitle},children:a?xe(e.main.subtitle.striped):e.main.subtitle.striped}),(e?.config?.showtime||e.config?.showauthor)&&s&&n.jsx(n.Fragment,{children:e.authors?.[0]?.internaluser?n.jsx(P,{className:ae.correspondentLink,href:`/autor/${e.authors[0].name}`,children:s}):n.jsx("div",{className:ae.correspondent,children:s})})]})},Gd=({user:e,handleLogout:t,message:a})=>{const o=()=>{const r=document.querySelector(".user-actions-options");r&&r.classList.toggle("show")},s=e.firstname??"Usuario";return n.jsx("div",{className:"comment-item",children:n.jsxs("div",{style:{display:"flex",gap:"14px"},children:[e&&e.picture&&e.picture!==""?n.jsx("img",{className:"comment-avatar-img",src:e.picture,alt:e.username}):n.jsx("div",{className:"comment-avatar",children:s.charAt(0).toUpperCase()}),n.jsxs("div",{style:{flex:1},children:[n.jsxs("div",{className:"comment-header",children:[n.jsxs("span",{className:"comment-username user-welcome",children:["Hola ",s,"!"]}),n.jsx("div",{className:"user-actions-options",children:n.jsx("button",{onClick:()=>{t()},children:"Cerrar Sesion"})}),n.jsx("button",{className:"user-actions-span",onClick:o,children:n.jsx(vn,{width:13,height:13,fill:"black"})})]}),n.jsx("p",{className:"comment-text",children:a})]})]})})},de={overlay:"_overlay_qj491_3",popup:"_popup_qj491_17",title:"_title_qj491_40",optionsContainer:"_optionsContainer_qj491_52",option:"_option_qj491_52",radioInput:"_radioInput_qj491_66",radioCustom:"_radioCustom_qj491_70",optionLabel:"_optionLabel_qj491_97",buttons:"_buttons_qj491_110",cancelButton:"_cancelButton_qj491_117",closeButton:"_closeButton_qj491_118",buttonAlone:"_buttonAlone_qj491_137",reportButton:"_reportButton_qj491_143",successContainer:"_successContainer_qj491_163",thumbsUp:"_thumbsUp_qj491_171",successMessage:"_successMessage_qj491_177",errorMessage:"_errorMessage_qj491_218",loadingContainer:"_loadingContainer_qj491_231"},cr=async(e,t)=>{const{PUBLIC_ENV:a}=K();if(console.log(a,!0),a==="local")return!0;if(!e)return!1;const{CAPTCHA_PROJECT:o,CAPTCHA_KEY_V2:s,COMMENTS_CAPTCHA_API_KEY:r}=t;console.log();try{const i=o,c=s,h=await(await fetch(`https://recaptchaenterprise.googleapis.com/v1/projects/${i}/assessments?key=${r}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({event:{token:e,siteKey:c}})})).json();return console.log("reCAPTCHA Enterprise verification result:",h),h.tokenProperties?.valid===!0}catch(i){return console.error("Error verificando reCAPTCHA Enterprise:",i),!1}};async function $d({publication:e,username:t,id:a,type:o,baseUrl:s,captchaToken:r,apiToken:i,COMMENTS_VARS:c}){if(!e||!t||!a||!o||!r)throw new Error("Faltan parámetros requeridos: publication, username, id, type, captchaToken");if(typeof e!="string"||typeof t!="string"||typeof a!="string"||typeof o!="string"||typeof r!="string")throw new Error("Todos los parámetros deben ser strings");if(!await cr(r,c))throw new Error("Token de captcha inválido");if(!i)throw new Error("Falta el token de API del CMS");const d=`${s}/system/modules/com.tfsla.diario.base/templates/hit/5.0/1/newcomments/report`,l=encodeURIComponent(o),h=new URLSearchParams({publication:e,username:t,id:a,type:l}),u=`${d}?${h.toString()}`;try{console.log("Reporting comment:",{publication:e,username:t,id:a,type:o,encodedType:l,url:u});const f=await oe.post(u,null,{headers:{"User-Agent":"Bluestack","x-api-token":i,"Content-Type":"application/json"}});if(console.log("Report response:",f.data),f.status===200||f.status===201)return{type:"success",message:"Comentario reportado exitosamente",status:f.status,data:f.data};throw new Error(`Respuesta inesperada del servidor: ${f.status}`)}catch(f){if(console.error("Error reporting comment:",f),oe.isAxiosError(f)){const g=f.response?.status,m=f.response?.data;throw g===400?new Error("Datos inválidos para el reporte"):g===401?new Error("Token de API inválido"):g===403?new Error("Acceso denegado para reportar comentario"):g===404?new Error("Comentario no encontrado"):g===409?new Error("El comentario ya fue reportado por este usuario"):g===500?new Error("Error interno del servidor CMS"):new Error(m?.error||m?.message||`Error HTTP ${g}: No se pudo reportar el comentario`)}throw f}}const Me={spam:"Es spam o contenido comercial no deseado",inappropriate:"Lenguaje inadecuado",hate:"Discurso o símbolos de odio",misinformation:"Información falsa o fraude",terrorism:"Promueve el terrorismo",intellectual:"Violación de propiedad intelectual",bullying:"Bullying o acoso"};function Hd(e){return Me[e]}const ut=300,Ke={username:"anonimo",firstname:"Usuario",lastname:"Anonimo"};function zd(e){const t=e.split(" ");if(t.length!==3)return e;const[a,o,s]=t,r=o.charAt(0).toUpperCase()+o.slice(1).toLowerCase();return`${a} ${r} ${s}`}const Ca=(e,t)=>{if(!e||!e.current)return{boolean:!1,text:""};const a=e.current?.value||"",o=a.length>ut,{PUBLIC_ENV:s}=K(),r=s==="local",i=a.trim()!==""&&(r||t!=="")&&!o,c=o?`No debes exceder el limite de ${ut} caracteres.`:"Debes completar todos los campos para comentar.";return{boolean:i,text:c}},lr=e=>{const t=e.cookie.split("; ").find(a=>a.startsWith("reported="));if(!t)return[];try{return JSON.parse(decodeURIComponent(t.split("=")[1]??""))}catch{return[]}},Fd=(e,t)=>{const a=lr(e);a.includes(t)||(a.push(t),e.cookie=`reported=${encodeURIComponent(JSON.stringify(a))}; path=/; max-age=${3600*24*1}`)};function Vd(e){const[t,a]=e.split("@");if(!t||!a)return e;let o="";t.length<=2?o=t[0]+"*":o=t[0]+"*".repeat(t.length-2)+t[t.length-1];const s=a.lastIndexOf(".");if(s===-1)return`${o}@${a}`;const r=a.slice(0,s),i=a.slice(s);let c="";return r.length<=2?c=r[0]+"*":c=r[0]+"*".repeat(r.length-2)+r[r.length-1],`${o}@${c}${i}`}var kn={exports:{}},xn={exports:{}},te={};var dr;function Wd(){if(dr)return te;dr=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,a=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,s=e?Symbol.for("react.strict_mode"):60108,r=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,C=e?Symbol.for("react.responder"):60118,N=e?Symbol.for("react.scope"):60119;function _(v){if(typeof v=="object"&&v!==null){var k=v.$$typeof;switch(k){case t:switch(v=v.type,v){case d:case l:case o:case r:case s:case u:return v;default:switch(v=v&&v.$$typeof,v){case c:case h:case m:case g:case i:return v;default:return k}}case a:return k}}}function I(v){return _(v)===l}return te.AsyncMode=d,te.ConcurrentMode=l,te.ContextConsumer=c,te.ContextProvider=i,te.Element=t,te.ForwardRef=h,te.Fragment=o,te.Lazy=m,te.Memo=g,te.Portal=a,te.Profiler=r,te.StrictMode=s,te.Suspense=u,te.isAsyncMode=function(v){return I(v)||_(v)===d},te.isConcurrentMode=I,te.isContextConsumer=function(v){return _(v)===c},te.isContextProvider=function(v){return _(v)===i},te.isElement=function(v){return typeof v=="object"&&v!==null&&v.$$typeof===t},te.isForwardRef=function(v){return _(v)===h},te.isFragment=function(v){return _(v)===o},te.isLazy=function(v){return _(v)===m},te.isMemo=function(v){return _(v)===g},te.isPortal=function(v){return _(v)===a},te.isProfiler=function(v){return _(v)===r},te.isStrictMode=function(v){return _(v)===s},te.isSuspense=function(v){return _(v)===u},te.isValidElementType=function(v){return typeof v=="string"||typeof v=="function"||v===o||v===l||v===r||v===s||v===u||v===f||typeof v=="object"&&v!==null&&(v.$$typeof===m||v.$$typeof===g||v.$$typeof===i||v.$$typeof===c||v.$$typeof===h||v.$$typeof===y||v.$$typeof===C||v.$$typeof===N||v.$$typeof===p)},te.typeOf=_,te}var ne={};var hr;function Yd(){return hr||(hr=1,process.env.NODE_ENV!=="production"&&(function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,a=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,s=e?Symbol.for("react.strict_mode"):60108,r=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,C=e?Symbol.for("react.responder"):60118,N=e?Symbol.for("react.scope"):60119;function _(B){return typeof B=="string"||typeof B=="function"||B===o||B===l||B===r||B===s||B===u||B===f||typeof B=="object"&&B!==null&&(B.$$typeof===m||B.$$typeof===g||B.$$typeof===i||B.$$typeof===c||B.$$typeof===h||B.$$typeof===y||B.$$typeof===C||B.$$typeof===N||B.$$typeof===p)}function I(B){if(typeof B=="object"&&B!==null){var Ae=B.$$typeof;switch(Ae){case t:var Pn=B.type;switch(Pn){case d:case l:case o:case r:case s:case u:return Pn;default:var qr=Pn&&Pn.$$typeof;switch(qr){case c:case h:case m:case g:case i:return qr;default:return Ae}}case a:return Ae}}}var v=d,k=l,G=c,$=i,ee=t,H=h,D=o,R=m,ie=g,j=a,L=r,T=s,M=u,U=!1;function F(B){return U||(U=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),A(B)||I(B)===d}function A(B){return I(B)===l}function S(B){return I(B)===c}function q(B){return I(B)===i}function Q(B){return typeof B=="object"&&B!==null&&B.$$typeof===t}function O(B){return I(B)===h}function z(B){return I(B)===o}function V(B){return I(B)===m}function W(B){return I(B)===g}function Z(B){return I(B)===a}function X(B){return I(B)===r}function Y(B){return I(B)===s}function re(B){return I(B)===u}ne.AsyncMode=v,ne.ConcurrentMode=k,ne.ContextConsumer=G,ne.ContextProvider=$,ne.Element=ee,ne.ForwardRef=H,ne.Fragment=D,ne.Lazy=R,ne.Memo=ie,ne.Portal=j,ne.Profiler=L,ne.StrictMode=T,ne.Suspense=M,ne.isAsyncMode=F,ne.isConcurrentMode=A,ne.isContextConsumer=S,ne.isContextProvider=q,ne.isElement=Q,ne.isForwardRef=O,ne.isFragment=z,ne.isLazy=V,ne.isMemo=W,ne.isPortal=Z,ne.isProfiler=X,ne.isStrictMode=Y,ne.isSuspense=re,ne.isValidElementType=_,ne.typeOf=I})()),ne}var ur;function _a(){return ur||(ur=1,process.env.NODE_ENV==="production"?xn.exports=Wd():xn.exports=Yd()),xn.exports}var Sa,fr;function Kd(){if(fr)return Sa;fr=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function o(r){if(r==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(r)}function s(){try{if(!Object.assign)return!1;var r=new String("abc");if(r[5]="de",Object.getOwnPropertyNames(r)[0]==="5")return!1;for(var i={},c=0;c<10;c++)i["_"+String.fromCharCode(c)]=c;var d=Object.getOwnPropertyNames(i).map(function(h){return i[h]});if(d.join("")!=="0123456789")return!1;var l={};return"abcdefghijklmnopqrst".split("").forEach(function(h){l[h]=h}),Object.keys(Object.assign({},l)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Sa=s()?Object.assign:function(r,i){for(var c,d=o(r),l,h=1;h<arguments.length;h++){c=Object(arguments[h]);for(var u in c)t.call(c,u)&&(d[u]=c[u]);if(e){l=e(c);for(var f=0;f<l.length;f++)a.call(c,l[f])&&(d[l[f]]=c[l[f]])}}return d},Sa}var Na,mr;function Ea(){if(mr)return Na;mr=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Na=e,Na}var Ta,gr;function pr(){return gr||(gr=1,Ta=Function.call.bind(Object.prototype.hasOwnProperty)),Ta}var Ia,Ar;function Jd(){if(Ar)return Ia;Ar=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Ea(),a={},o=pr();e=function(r){var i="Warning: "+r;typeof console<"u"&&console.error(i);try{throw new Error(i)}catch{}}}function s(r,i,c,d,l){if(process.env.NODE_ENV!=="production"){for(var h in r)if(o(r,h)){var u;try{if(typeof r[h]!="function"){var f=Error((d||"React class")+": "+c+" type `"+h+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[h]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw f.name="Invariant Violation",f}u=r[h](i,h,d,c,null,t)}catch(m){u=m}if(u&&!(u instanceof Error)&&e((d||"React class")+": type specification of "+c+" `"+h+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in a)){a[u.message]=!0;var g=l?l():"";e("Failed "+c+" type: "+u.message+(g??""))}}}}return s.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(a={})},Ia=s,Ia}var ka,yr;function Zd(){if(yr)return ka;yr=1;var e=_a(),t=Kd(),a=Ea(),o=pr(),s=Jd(),r=function(){};process.env.NODE_ENV!=="production"&&(r=function(c){var d="Warning: "+c;typeof console<"u"&&console.error(d);try{throw new Error(d)}catch{}});function i(){return null}return ka=function(c,d){var l=typeof Symbol=="function"&&Symbol.iterator,h="@@iterator";function u(A){var S=A&&(l&&A[l]||A[h]);if(typeof S=="function")return S}var f="<<anonymous>>",g={array:C("array"),bigint:C("bigint"),bool:C("boolean"),func:C("function"),number:C("number"),object:C("object"),string:C("string"),symbol:C("symbol"),any:N(),arrayOf:_,element:I(),elementType:v(),instanceOf:k,node:H(),objectOf:$,oneOf:G,oneOfType:ee,shape:R,exact:ie};function m(A,S){return A===S?A!==0||1/A===1/S:A!==A&&S!==S}function p(A,S){this.message=A,this.data=S&&typeof S=="object"?S:{},this.stack=""}p.prototype=Error.prototype;function y(A){if(process.env.NODE_ENV!=="production")var S={},q=0;function Q(z,V,W,Z,X,Y,re){if(Z=Z||f,Y=Y||W,re!==a){if(d){var B=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw B.name="Invariant Violation",B}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Ae=Z+":"+W;!S[Ae]&&q<3&&(r("You are manually calling a React.PropTypes validation function for the `"+Y+"` prop on `"+Z+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),S[Ae]=!0,q++)}}return V[W]==null?z?V[W]===null?new p("The "+X+" `"+Y+"` is marked as required "+("in `"+Z+"`, but its value is `null`.")):new p("The "+X+" `"+Y+"` is marked as required in "+("`"+Z+"`, but its value is `undefined`.")):null:A(V,W,Z,X,Y)}var O=Q.bind(null,!1);return O.isRequired=Q.bind(null,!0),O}function C(A){function S(q,Q,O,z,V,W){var Z=q[Q],X=T(Z);if(X!==A){var Y=M(Z);return new p("Invalid "+z+" `"+V+"` of type "+("`"+Y+"` supplied to `"+O+"`, expected ")+("`"+A+"`."),{expectedType:A})}return null}return y(S)}function N(){return y(i)}function _(A){function S(q,Q,O,z,V){if(typeof A!="function")return new p("Property `"+V+"` of component `"+O+"` has invalid PropType notation inside arrayOf.");var W=q[Q];if(!Array.isArray(W)){var Z=T(W);return new p("Invalid "+z+" `"+V+"` of type "+("`"+Z+"` supplied to `"+O+"`, expected an array."))}for(var X=0;X<W.length;X++){var Y=A(W,X,O,z,V+"["+X+"]",a);if(Y instanceof Error)return Y}return null}return y(S)}function I(){function A(S,q,Q,O,z){var V=S[q];if(!c(V)){var W=T(V);return new p("Invalid "+O+" `"+z+"` of type "+("`"+W+"` supplied to `"+Q+"`, expected a single ReactElement."))}return null}return y(A)}function v(){function A(S,q,Q,O,z){var V=S[q];if(!e.isValidElementType(V)){var W=T(V);return new p("Invalid "+O+" `"+z+"` of type "+("`"+W+"` supplied to `"+Q+"`, expected a single ReactElement type."))}return null}return y(A)}function k(A){function S(q,Q,O,z,V){if(!(q[Q]instanceof A)){var W=A.name||f,Z=F(q[Q]);return new p("Invalid "+z+" `"+V+"` of type "+("`"+Z+"` supplied to `"+O+"`, expected ")+("instance of `"+W+"`."))}return null}return y(S)}function G(A){if(!Array.isArray(A))return process.env.NODE_ENV!=="production"&&(arguments.length>1?r("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):r("Invalid argument supplied to oneOf, expected an array.")),i;function S(q,Q,O,z,V){for(var W=q[Q],Z=0;Z<A.length;Z++)if(m(W,A[Z]))return null;var X=JSON.stringify(A,function(re,B){var Ae=M(B);return Ae==="symbol"?String(B):B});return new p("Invalid "+z+" `"+V+"` of value `"+String(W)+"` "+("supplied to `"+O+"`, expected one of "+X+"."))}return y(S)}function $(A){function S(q,Q,O,z,V){if(typeof A!="function")return new p("Property `"+V+"` of component `"+O+"` has invalid PropType notation inside objectOf.");var W=q[Q],Z=T(W);if(Z!=="object")return new p("Invalid "+z+" `"+V+"` of type "+("`"+Z+"` supplied to `"+O+"`, expected an object."));for(var X in W)if(o(W,X)){var Y=A(W,X,O,z,V+"."+X,a);if(Y instanceof Error)return Y}return null}return y(S)}function ee(A){if(!Array.isArray(A))return process.env.NODE_ENV!=="production"&&r("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var S=0;S<A.length;S++){var q=A[S];if(typeof q!="function")return r("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+U(q)+" at index "+S+"."),i}function Q(O,z,V,W,Z){for(var X=[],Y=0;Y<A.length;Y++){var re=A[Y],B=re(O,z,V,W,Z,a);if(B==null)return null;B.data&&o(B.data,"expectedType")&&X.push(B.data.expectedType)}var Ae=X.length>0?", expected one of type ["+X.join(", ")+"]":"";return new p("Invalid "+W+" `"+Z+"` supplied to "+("`"+V+"`"+Ae+"."))}return y(Q)}function H(){function A(S,q,Q,O,z){return j(S[q])?null:new p("Invalid "+O+" `"+z+"` supplied to "+("`"+Q+"`, expected a ReactNode."))}return y(A)}function D(A,S,q,Q,O){return new p((A||"React class")+": "+S+" type `"+q+"."+Q+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+O+"`.")}function R(A){function S(q,Q,O,z,V){var W=q[Q],Z=T(W);if(Z!=="object")return new p("Invalid "+z+" `"+V+"` of type `"+Z+"` "+("supplied to `"+O+"`, expected `object`."));for(var X in A){var Y=A[X];if(typeof Y!="function")return D(O,z,V,X,M(Y));var re=Y(W,X,O,z,V+"."+X,a);if(re)return re}return null}return y(S)}function ie(A){function S(q,Q,O,z,V){var W=q[Q],Z=T(W);if(Z!=="object")return new p("Invalid "+z+" `"+V+"` of type `"+Z+"` "+("supplied to `"+O+"`, expected `object`."));var X=t({},q[Q],A);for(var Y in X){var re=A[Y];if(o(A,Y)&&typeof re!="function")return D(O,z,V,Y,M(re));if(!re)return new p("Invalid "+z+" `"+V+"` key `"+Y+"` supplied to `"+O+"`.\nBad object: "+JSON.stringify(q[Q],null," ")+`
129
+ `}}catch(C){console.error("insertVideos error for",g,C),y=""}else y=f;o=u,a+=y,s.lastIndex=u}return a+=e.slice(o),a}async function ud(e){const{news:t,banners:a,newsRelatedResponses:o,slug:s,itemList:r,socials:i,getVideos:c}=e;let d=t?.body?.rendered??"";d=d.replace(/&nbsp;/g,""),d=cd(d,a),d=ld(d),d=await Ks(d),d=await dd(d,e.texts,o),d=await hd(d,c),d=rd(d),d=id(d);const l=t.main.sources??[];return n.jsxs("div",{className:Nn.content,children:[s!=="liveblogs"&&e.showHeaderImage?t.hascontent?.hasgalleryimages?n.jsx(ya,{newsformated:t,internal:t.info.link.internal}):n.jsx(vs,{preview:t.preview}):null,n.jsx(fe,{banners:a,name:"block_1"}),n.jsx("div",{className:Nn.journalistArticleContent,children:n.jsx(td,{autorIcon:e.autorIcon,socials:i,news:t,texts:e.texts,noteShare:e.noteShare,paths:e.paths})}),n.jsx(ad,{summary:t.main.summary}),n.jsx("div",{className:Nn.contentNews,suppressHydrationWarning:!0,id:"content-news-section",dangerouslySetInnerHTML:{__html:d}}),n.jsx(Xl,{texts:e.texts,itemList:r,banners:a,slug:s}),l.length>0&&n.jsxs("div",{className:Nn.noteSource,children:[n.jsx(sd,{}),n.jsx("p",{children:e.texts.noteSource+(l.length===1?"":"s")+": "+l.map(h=>h.name).join(", ")})]})]})}const Js={content:"_content_cu8lm_1",title:"_title_cu8lm_18"},Zs=async({newsformated:e,internal:t,commonServices:a})=>{if(!t)return null;try{const o=e?.preview?.sizes?.[0]?.scale??void 0,r=(await a.getNewsMultimedia({path:t,imagesizes:o}))?.data?.data;if(!Array.isArray(r)||r.length===0)return null;const i=r[0],d=(Array.isArray(i?.videos)?i.videos:[]).find(l=>l?.type==="video-embedded");return d?.code?n.jsxs("div",{className:Js.content,children:[n.jsx("div",{dangerouslySetInnerHTML:{__html:typeof d.code=="string"?d.code:""}}),d?.title&&n.jsx("p",{className:Js.title,children:d.title})]}):null}catch{return null}},wa={content:"_content_cu8lm_1",title:"_title_cu8lm_18"},Xs=async({newsformated:e,internal:t,commonServices:a})=>{if(!t)return null;try{const o=e?.preview?.sizes?.[0]?.scale??void 0,r=(await a.getNewsMultimedia({path:t,imagesizes:o}))?.data?.data;if(!Array.isArray(r)||r.length===0)return null;const i=r[0],d=(Array.isArray(i?.videos)?i.videos:[]).find(l=>l?.type==="video-youtube");return!d?.code||typeof d.code!="string"?null:n.jsxs("div",{className:wa.content,children:[n.jsx("iframe",{className:wa.iframeStyled,src:`https://www.youtube.com/embed/${d.code}`,frameBorder:"0",allowFullScreen:!0}),d?.title&&n.jsx("p",{className:wa.title,children:d.title})]})}catch{return null}},fd={content:"_content_ezbiw_1"},Rs=async({newsformated:e,internal:t,commonServices:a})=>{if(!t)return null;try{const o=e?.preview?.sizes?.[0]?.scale??void 0,r=(await a.getNews({path:t,imagesizes:o}))?.data?.data;if(!Array.isArray(r)||r.length===0)return null;const c=r[0]?.external?.iframe;return typeof c!="string"||c.trim()===""?null:n.jsx("div",{className:fd.content,dangerouslySetInnerHTML:{__html:c}})}catch{return null}},er={content:"_content_156j7_1"},nt={imagen:"imagen",videoEmbedded:"videoEmbedded",videoYouTube:"videoYouTube",iframe:"iframe"},md={[nt.videoEmbedded]:Zs,[nt.videoYouTube]:Xs,[nt.iframe]:Rs},gd=({news:e,commonServices:t})=>{const{config:a,hascontent:o,info:s}=e,r=a.articlepreview,i=s.link.internal,c=o?.hasgalleryimages;if(r===nt.imagen&&c)return n.jsx("div",{className:er.content,children:n.jsx(ya,{newsformated:e,internal:i})});const d=r?md[r]:null;return console.log("PreviewComponent",d),d?n.jsx("div",{className:er.content,children:n.jsx(d,{newsformated:e,internal:i,commonServices:t})}):null},pd=e=>{const{content:t,title:a,slot_id:o}=e,s=e.slot_id&&e.slot_id!=="Nota_1";return t&&t.length!==0&&n.jsx(he,{title:a,titleUrl:e.titleUrl,children:n.jsx(it,{slot_id:o,cardWidth:200,children:t.map((r,i)=>{const c={...r,main:{...r.main,title:{...r.main.title,section:s?r.main.title.home:r.main.title.section}}};return n.jsx(Mt,{...c,titleGradient:!0,paths:e.paths},i)})})})},Ad=e=>{const{content:t,title:a,slot_id:o}=e,s=e.slot_id&&e.slot_id!=="Nota_1";return t&&t.length!==0&&n.jsx(he,{title:a,titleUrl:e.titleUrl,children:n.jsx(it,{slot_id:o,cardWidth:343,cardGap:32,visibleItems:3,children:t.map((r,i)=>{const c={...r,main:{...r.main,title:{...r.main.title,section:s?r.main.title.home:r.main.title.section}}};return n.jsx(Mt,{...c,titleGradient:!0,paths:e.paths},i)})})})},yd=e=>{const{content:t,title:a,slot_id:o}=e,s=e.slot_id&&e.slot_id!=="Nota_1";return t&&t.length!==0&&n.jsx(he,{title:a,titleUrl:e.titleUrl,children:n.jsx(it,{slot_id:o,fullPageWidth:!0,visibleItems:1,pagination:!0,cardGap:0,children:t.map((r,i)=>{const c={...r,main:{...r.main,title:{...r.main.title,section:s?r.main.title.home:r.main.title.section}}};return E.createElement(Mt,{...c,key:i,titleGradient:!0,paths:e.paths})})})})},En=e=>{const t={};for(const a in e)a.startsWith("--")&&(t[a]=e[a]);return t},dt={headerSection:"_headerSection_1c69w_1",title:"_title_1c69w_11",subtitle:"_subtitle_1c69w_23",newsContent:"_newsContent_1c69w_36",containerCards:"_containerCards_1c69w_44",image:"_image_1c69w_50",blockHeadContainer:"_blockHeadContainer_1c69w_56"},wd=e=>{const{content:t,title:a,isVideo:o}=e;if(!t||t.length===0)return;const s=t[0],r=t.slice(1),i=e.slot_id&&e.slot_id!=="Nota_1";return s&&r&&n.jsxs(he,{title:a,titleUrl:e.titleUrl,children:[n.jsx("div",{className:dt.headerSection,children:n.jsxs("a",{style:{"--heightImageOverwriteMobile":"200%"},className:dt.image,href:s?.info?.link?.url,target:s?.info?.link?.target,children:[n.jsxs("div",{className:dt.blockHeadContainer,children:[n.jsx("p",{className:dt.title,children:s?.main?.title.home}),s?.main?.subtitle?.rendered&&n.jsx("p",{className:dt.subtitle,children:s?.main?.subtitle?.striped})]}),n.jsx(_e,{preview:s.preview})]})}),n.jsxs("div",{className:dt.containerCards,children:[n.jsx("div",{className:"banner-context",style:{order:1},children:e.banner}),n.jsx("div",{className:dt.newsContent,children:Array.isArray(r)&&r.map((c,d)=>{const l={...c,main:{...c.main,title:{...c.main.title,section:i?c.main.title.home:c.main.title.section}}};return n.jsx("div",{style:{order:d},children:n.jsx(Oe,{...l,isVideo:o,paths:e.paths})},d)})})]})]})},tr={banner:e=>n.jsx(fe,{...e,name:e.slot_id.replace("Home","block")}),readest:e=>n.jsx(fn,{...e}),"Modulo 1x3":e=>n.jsx(fa,{...e}),"Modulo 1x4":e=>n.jsx(js,{...e}),"Modulo 1x5":e=>n.jsx(Qs,{...e}),"Destacado noticias":e=>n.jsx(Ps,{...e}),"Destacado full width":e=>n.jsx(wd,{...e}),"Destacado videos":e=>n.jsx(Gs,{...e}),"Carrusel card":e=>n.jsx(zs,{...e}),"Carrusel story":e=>n.jsx(pd,{...e}),"Carrusel owl":e=>n.jsx(Ad,{...e}),"Modulo fotogaleria":e=>n.jsx(yd,{...e}),"Carrusel opinion":e=>n.jsx(Fs,{...e}),"Modulo 1x3 card":e=>n.jsx(Hs,{...e})};function ba({component:e,slot_id:t,data:a,banners:o}){if(o)return tr[e]&&n.jsx("div",{className:"home-slot",style:En(a),children:tr[e]({...a,banners:o,slot_id:t})})}function bd({children:e,stylesConfigEntry:t}){return n.jsx("div",{className:"home-slot",style:En(t),children:e})}const nr={Diario:e=>{if(!e?.data||e.data.length===0)return;const t=e.data.slice(1);return n.jsx(Ls,{...e.data[0],itemReverseOrder:!0,isLarge:!0,block:t,banners:e.banners,showSuper:e.showSuper,rightOnlyBanner:e.rightOnlyBanner,customSectionCardStyles:e.customSectionCardStyles,customNewsDescriptionStyles:e.customNewsDescriptionStyles,paths:e.paths})},"Diario con imagen":e=>{if(!e?.data||e.data.length===0)return;const t=e.data.slice(1);return n.jsx(Ls,{...e.data[0],itemReverseOrder:!0,isLarge:!0,showSuper:e.showSuper,block:t,banners:e.banners,customSectionCardStyles:e.customSectionCardStyles,customNewsDescriptionStyles:e.customNewsDescriptionStyles,paths:e.paths})},Super:e=>n.jsx(Ct,{...e.data[0],paths:e.paths}),"3 notas verticales":e=>n.jsx(ql,{content:e.data,customLargeSection:e.customLargeSection,customSlimSection:e.customSlimSection,paths:e.paths}),"3 notas horizontales":e=>n.jsx(Ll,{content:e.data,customLargeSection:e.customLargeSection,customSmallSection:e.customSmallSection,paths:e.paths})},Tn=({component:e,data:t,banners:a,rightOnlyBanner:o})=>n.jsx("div",{style:En(t),children:nr[e]&&nr[e]({...t,rightOnlyBanner:o,banners:a})}),vd=({slots:e,DYNAMIC_SLOT_SUBINDEXES:t,stylesConfig:a,AutorIcon:o,config:s,banners:r,showTagBySection:i})=>{const c=[],l=t,h=Object.keys(e).length/l;for(let u=1;u<=h;u++)for(let f=1;f<=l;f++){const g="Home_"+u+"_"+f;!e[g]||!e[g].blockSass||!e[g].blockSass[0]||!e[g].blockSass[0].value||!e[g].blockSass[0].block||e[g].blockSass[0].block==="No Mostrar"||c.push(n.jsxs(ss,{show:!!e[g].content?.data,order:(u-1)*l+(f-1),children:[n.jsx(ba,{component:e[g].blockSass[0].block,banners:r,slot_id:g,data:{...e[g].blockSass[0].block?a[e[g].blockSass[0].block]:[],content:e[g].content?.data??[],title:e[g].blockSass[0].title??void 0,titleUrl:e[g].blockSass[0].link??void 0,autorIcon:n.jsx(o,{}),paths:s.paths,showTagBySection:i}}),n.jsx(Ze,{children:n.jsx(Qe,{banners:r,index:"dynamic_"+u+"_"+f})})]},u+"_"+f))}return c},Cd=({mainBlock:e,StylesConfigMain:t,config:a,banners:o})=>{const{PUBLIC_ENV:s}=K();if(s!=="local")return null;const r=e?.news?.data||[],i=(c,d)=>({...e?.news,...t[c],data:r.slice(0,d),paths:a.paths});return n.jsxs(n.Fragment,{children:[n.jsx(Tn,{component:"Super",data:i("Super",1),banners:o}),n.jsx(Ze,{children:n.jsx(Qe,{banners:o,index:1})}),n.jsx(Tn,{component:"3 notas verticales",data:i("3 notas verticales",3),banners:o}),n.jsx(Ze,{children:n.jsx(Qe,{banners:o,index:1})}),n.jsx(Tn,{component:"3 notas horizontales",data:i("3 notas horizontales",3),banners:o}),n.jsx(Ze,{children:n.jsx(Qe,{banners:o,index:1})})]})},_d=e=>{const{config:t,hascontent:a}=e,o=t.articlepreview,s=[nt.videoEmbedded,nt.videoYouTube,nt.iframe];return!!(o===nt.imagen&&a?.hasgalleryimages||s.includes(o))},Sd=async e=>{const{custom_complement:t,ranking:a=[],banners:o,autor:s=[],news:r=[],newsRelatedResponses:i=[],itemList:c=[],socials:d,getVideos:l}=e,h=e.slug==="liveblogs",{SHOW_NEWS_MORE_NEWS:u,SHOW_NEWS_RELATED_NEWS:f}=K();if(!(!r||!r[0]))return n.jsx(n.Fragment,{children:n.jsxs(zl,{className:Aa.contentLayout2,children:[n.jsx(Vl,{option:e.slug,news:r,paths:e.paths}),n.jsx(Qe,{banners:o,index:1}),!h&&e.commonServices&&n.jsx(gd,{news:r[0],commonServices:e.commonServices}),n.jsx(Fl,{texts:e.texts,paths:e.paths,slug:e.slug,itemList:c,ranking:a,bannerTop:n.jsx(fe,{banners:o??[],name:"right_1"}),banner:n.jsx(fe,{banners:o??[],name:"right_2"}),complement:n.jsxs("div",{id:"comentarios",suppressHydrationWarning:!0,children:[s.length>0&&n.jsx(xs,{texts:e.texts,autorIcon:e.autorIcon,autor:s[0],paths:e.paths}),r[0].authors.length>1&&n.jsx(Us,{news:r[0],autorIcon:e.autorIcon,paths:e.paths,texts:e.texts}),n.jsx("div",{className:Aa.tagContent,children:n.jsx(ks,{tags:r[0]?.keywords?.tags,paths:e.paths})}),n.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"2rem"},suppressHydrationWarning:!0,children:[e.showComments&&n.jsx("div",{suppressHydrationWarning:!0,"data-hydrate":"LazyLoader","data-props":encodeURIComponent(JSON.stringify({render:"comment",internalPath:e.internalPath,COMMENTS_VARS:e.COMMENTS_VARS}))}),n.jsx(Ze,{children:n.jsx(Qe,{banners:o,index:2})}),f&&n.jsxs(n.Fragment,{children:[n.jsx(ba,{component:"Carrusel card",banners:[],slot_id:"Nota_1",data:{...e.stylesConfig["Carrusel card"],content:e.relatedNewsList??[],title:e.texts.relatedNewsTitle,titleUrl:void 0}}),n.jsx(Ze,{children:n.jsx(Qe,{banners:o,index:3})})]}),u&&n.jsxs(n.Fragment,{children:[n.jsx(he,{title:e.texts.moreNewsTitle,children:n.jsx("div",{suppressHydrationWarning:!0,"data-hydrate":"LazyLoader","data-props":encodeURIComponent(JSON.stringify({render:"more",stylesConfig:e.stylesConfig,section:r[0].info.section?.slug??"",currentNews:r[0]}))})}),n.jsx(Ze,{children:n.jsx(Qe,{banners:o,index:4})})]}),t&&t()]})]}),children:n.jsxs("section",{style:{"--avatar-content-align-items-desk":e.slug==="liveblogs"?"flex-start":"center"},children:[n.jsx(ud,{texts:e.texts,autorIcon:e.autorIcon,socials:d,news:r[0],banners:o,newsRelatedResponses:i,itemList:c,slug:e.slug,getVideos:l,noteShare:e.noteShare,paths:e.paths,showHeaderImage:!_d(r[0])}),n.jsx(fe,{banners:o??[],name:"block_3"})]})})]})})},Nt={content:"_content_1tl6i_1",contentInfo:"_contentInfo_1tl6i_24",imageStyled:"_imageStyled_1tl6i_41",name:"_name_1tl6i_46",description:"_description_1tl6i_51",contentInfoWithoutImg:"_contentInfoWithoutImg_1tl6i_104"},Nd=async e=>{const t=e.img?await ue(e.img):"";return n.jsx("section",{className:Nt.content,children:n.jsxs("div",{className:`${Nt.contentInfo} ${t?"":Nt.contentInfoWithoutImg}`,children:[e.img&&n.jsx("img",{fetchPriority:"low",loading:"lazy",className:Nt.imageStyled,src:t}),n.jsx("h1",{className:Nt.name,children:e.tag}),e.description&&n.jsx("div",{className:Nt.description,dangerouslySetInnerHTML:{__html:e.description}})]})})},In={content:"_content_7wvro_1",contentInfo:"_contentInfo_7wvro_23",name:"_name_7wvro_34",description:"_description_7wvro_43"},Ed=e=>n.jsx("section",{className:In.content,style:{color:e.textColor,"--backDropHeigth":e.backDropHeigth?e.backDropHeigth:"100%",padding:e.sectionPadding??"","--backgroundColor":e.backgroundColor},children:n.jsxs("div",{className:In.contentInfo,children:[n.jsx("h1",{className:In.name,style:{color:e.textColor},children:e.tag}),e.description&&n.jsx("div",{style:{color:e.textColor},className:In.description,dangerouslySetInnerHTML:{__html:e.description}})]})}),Td=e=>{const{option:t,entity:a}=e;switch(t){case"op1":return n.jsx(Nd,{tag:a?.name??"",img:a?.image?.url??"",description:a?.description?a?.description:""});case"op2":return n.jsx(Ed,{tag:a?.name??"",description:a?.description?a?.description:"",backDropHeigth:e.backDropHeigth,backgroundColor:e.backgroundColor,sectionPadding:e.sectionPadding,textColor:e.textColor});default:return n.jsx(n.Fragment,{})}},zt={content:"_content_gxziw_1",buttonStyled:"_buttonStyled_gxziw_9",searchStyled:"_searchStyled_gxziw_21",inputStyled:"_inputStyled_gxziw_32",inputStyledTest:"_inputStyledTest_gxziw_51"},Id=e=>n.jsx("svg",{width:"68",height:"68",viewBox:"0 0 68 68",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:n.jsx("g",{opacity:"0.8",children:n.jsx("path",{d:"M47.8043 46.6003L47.6635 46.7758L47.8232 46.9342L56.4762 55.5171C56.4768 55.5177 56.4774 55.5184 56.478 55.519C56.8524 55.9072 57.0616 56.4256 57.0616 56.965C57.0616 57.5048 56.8521 58.0234 56.4774 58.4117C56.2839 58.6065 56.0539 58.7611 55.8005 58.8667C55.5466 58.9724 55.2743 59.0269 54.9993 59.0269C54.7243 59.0269 54.452 58.9724 54.1981 58.8667C53.9442 58.7609 53.7138 58.6059 53.5201 58.4106L53.5194 58.4099L44.9327 49.8232L44.7743 49.6648L44.5995 49.805C40.4597 53.1252 35.2051 54.7331 29.9162 54.2981C24.6272 53.863 19.706 51.4181 16.1643 47.4661C12.6227 43.514 10.7298 38.3552 10.875 33.0503C11.0201 27.7455 13.1923 22.6979 16.9447 18.9455C20.6972 15.193 25.7448 13.0209 31.0496 12.8757C36.3544 12.7305 41.5133 14.6234 45.4653 18.165C49.4174 21.7067 51.8623 26.6279 52.2974 31.9169C52.7324 37.2058 51.1245 42.4604 47.8043 46.6003ZM22.4528 47.4552C25.1799 49.2774 28.3861 50.25 31.666 50.25C36.0641 50.25 40.2822 48.5029 43.3921 45.3929C46.5021 42.2829 48.2493 38.0649 48.2493 33.6667C48.2493 30.3868 47.2767 27.1806 45.4545 24.4535C43.6323 21.7264 41.0423 19.6008 38.0121 18.3457C34.9819 17.0905 31.6476 16.7621 28.4307 17.402C25.2139 18.0419 22.259 19.6213 19.9398 21.9405C17.6205 24.2597 16.0411 27.2146 15.4013 30.4314C14.7614 33.6483 15.0898 36.9827 16.345 40.0129C17.6001 43.0431 19.7256 45.633 22.4528 47.4552Z",fill:"white",stroke:"white",strokeWidth:"0.5"})})}),kd=e=>n.jsx("form",{className:zt.content,style:{height:e.hasContent?"218px":"50vh"},children:n.jsxs("div",{className:zt.inputStyled,children:[n.jsx("input",{className:zt.inputStyledTest,defaultValue:e.query,name:"query",placeholder:e.texts.searchKeyWord+"..."}),n.jsx("button",{className:zt.buttonStyled,type:"submit",children:n.jsx(Id,{className:zt.searchStyled})})]})}),va={content:"_content_io3tv_1",newsContentSection:"_newsContentSection_io3tv_5",itemContent:"_itemContent_io3tv_10"},xd=e=>{const{data:t,option:a,autor:o,page:s,banners:r,pathname:i,ranking:c,currentPage:d,slug:l,texts:h={}}=e,u=[5,10,15],f={5:1,10:2,15:3};switch(a){case"op1":return n.jsx(n.Fragment,{children:n.jsxs(sa,{children:[n.jsx(Ss,{autor:o[0],autorIcon:e.autorIcon}),n.jsx(ia,{paths:e.paths,ranking:c,readestTitle:h.readestTitle??"",bannerTop:n.jsx(fe,{banners:r??[],name:"right_1"}),banner:n.jsx(fe,{banners:r??[],name:"right_2"}),children:n.jsx("section",{className:va.content,children:t.length>0?n.jsx(yn,{className:[va.newsContentSection,"padding-0"].join(" "),paginatorComponent:n.jsx(Ot,{texts:h,pathname:i,query:"",currentPage:d,maxPages:e.paginationLimit,showNext:!(t.length<e.newsListLimit)}),children:Array.isArray(t)&&t?.map((g,m)=>n.jsxs(E.Fragment,{children:[u.includes(m+1)&&n.jsx("div",{className:va.itemContent+" banner-context",children:n.jsx(fe,{banners:r??[],name:`block_2_${f[m+1]}`})}),n.jsx(Sn,{autorIcon:e.autorIcon,item:g,option:l,paths:e.paths},m)]},m))}):n.jsx("div",{style:{width:"100%",display:"flex",flexDirection:"column",justifyContent:"center",gap:"2rem"},children:n.jsx("p",{style:{fontWeight:"var(--fw)",width:"100%",fontSize:"18px",lineHeight:"26px",textAlign:"center"},children:h.autorNotResultMessage})})})})]})});case"op2":return n.jsx(n.Fragment,{children:n.jsxs(sa,{children:[n.jsx(Ns,{autor:o[0],autorIcon:e.autorIcon}),Array.isArray(t)?n.jsxs(n.Fragment,{children:[n.jsx(fa,{content:t,title:"",hasLines:!0,banners:e.banners,bannerPositionIndex:[1,6,12],paths:e.paths,slot_id:"block_2"}),n.jsx(Ot,{texts:h,query:"",pathname:i,maxPages:Number(e.paginationLimit),currentPage:Number(s),showNext:!((t.length??0)<Number(e.newsListLimit))})]}):n.jsx("div",{style:{width:"100%",display:"flex",flexDirection:"column",justifyContent:"center",gap:"2rem"},children:n.jsx("p",{style:{fontWeight:"var(--fw)",width:"100%",fontSize:"18px",lineHeight:"26px",textAlign:"center"},children:h.autorNotResultMessage})})]})});default:return n.jsx(n.Fragment,{})}},ar={content:"_content_pq89v_1",videoContent:"_videoContent_pq89v_9"},Ft={container:"_container_1xr2t_1",playStyled:"_playStyled_1xr2t_6",imageStyled:"_imageStyled_1xr2t_13",longer:"_longer_1xr2t_26",contentNews:"_contentNews_1xr2t_31",tagContent:"_tagContent_1xr2t_51",tag:"_tag_1xr2t_51",titular:"_titular_1xr2t_68",small:"_small_1xr2t_81",figure:"_figure_1xr2t_87",backDrop:"_backDrop_1xr2t_92",backDropAux:"_backDropAux_1xr2t_100"},or=async e=>{const{size:t="longer",video:a}=e,o=a.main.image.sizes[0]?.url??"";return n.jsx("figure",{className:Ft.figure,children:n.jsxs("span",{className:Ft.backdrop,children:[n.jsx("span",{className:Ft.backDropAux}),n.jsx(P,{href:a.info.link.url,target:a.info.link.target,children:n.jsxs("div",{children:[a.main.image.sizes.map(async(s,r)=>s.width>=580?n.jsx("source",{media:"(width >=900px)",srcSet:await ue(s.url)},r):n.jsx("source",{media:"(width <900px)",srcSet:await ue(s.url)},r)),n.jsx("img",{fetchPriority:"low",loading:"lazy",className:[Ft.imageStyled,Ft[t]].join(" "),alt:"",src:o?await ue(o):""})]})})]})})},Ud=e=>{const{videos:t}=e;return n.jsx("div",{className:ar.content,children:n.jsx(yt,{children:n.jsx(he,{title:"Videos",isTitle:!0,children:n.jsxs("div",{className:ar.videoContent,children:[n.jsx(or,{video:t[0]}),n.jsx("div",{style:{display:"flex",flexDirection:"column"},children:t.slice(1).map((a,o)=>n.jsx(or,{size:"small",video:a},`video-small-${o}`))})]})})})})},ht={content:"_content_ruy5q_1",videoContent:"_videoContent_ruy5q_9",articleSection:"_articleSection_ruy5q_21",contentLatout:"_contentLatout_ruy5q_31",title:"_title_ruy5q_36",article:"_article_ruy5q_21",correspondent:"_correspondent_ruy5q_64"},sr={container:"_container_1rq2h_1",playStyled:"_playStyled_1rq2h_9"},Ld=e=>{const{video:t}=e,a=un();return n.jsx(P,{href:t.info.link.url?t.info.link.url:void 0,target:t.info.link.target,children:n.jsxs("section",{className:sr.container,children:[n.jsx(_e,{isLarge:!0,preview:{sizes:t.main.image.sizes,description:t.main.description}}),n.jsx(a,{className:sr.playStyled})]})})},qd=e=>{const t=()=>e?.video.main.author?`${e?.video.main.author} - ${ke(e.video.info.date.created)}`:e?.video.main.author;return n.jsx("div",{className:ht.content,children:n.jsx(yt,{className:ht.contentLatout,children:n.jsx(he,{title:"Videos",isTitle:!0,children:n.jsxs("div",{className:ht.videoContent,children:[n.jsx(Ld,{video:e.video}),n.jsxs("div",{className:ht.articleSection,children:[n.jsx(P,{className:ht.title,href:e.video.info.link.url,target:e.video.info.link.target,children:e.video.main.title}),n.jsx("p",{className:ht.article,children:xe(e.video.main.description)}),n.jsx("p",{className:ht.correspondent,children:t()})]})]})})})})},Bd=e=>{switch(e.option){case"op1":return n.jsx(Ud,{videos:e.data});case"op2":return n.jsx(qd,{video:e.data[0]});default:return n.jsx(n.Fragment,{})}};function Pd({containerId:e,containerId2:t}){return E.useEffect(()=>{try{let a=function(){const h=window.twttr;h?.widgets?h.widgets.load(o):l<10?(l++,requestAnimationFrame(a)):console.warn("No se pudo cargar widgets de Twitter")};const o=document.getElementById(e),s=document.getElementById(t);if(!o&&!s)return;const r=o?.querySelectorAll("script[src]")??[],i=s?.querySelectorAll("script[src]")??[];[...r,...i].forEach(h=>{const u=document.createElement("script");Array.from(h.attributes).forEach(f=>{u.setAttribute(f.name,f.value)}),h.replaceWith(u)});const d=document.querySelectorAll('script[src*="platform.twitter.com/widgets.js"]');if(d)for(let h=0;h<d.length;h++)d[h]?.remove();let l=0;if(document.querySelector('script[src*="platform.twitter.com/widgets.js"]'))a();else{const h=document.createElement("script");h.src="https://platform.twitter.com/widgets.js",h.async=!0,h.onload=a,document.body.appendChild(h)}}catch(a){console.warn("Error al procesar embeds de Twitter",a)}},[e]),null}const Od=e=>{const{isVideo:t=!1,isLarge:a=!1,hasShadow:o=!1,BackDropAuxHeigthMobile:s}=e,r=ta(),i=E.useMemo(()=>e?.preview?.sizes||[],[e?.preview?.sizes]);if(!i.length||!i[0]?.url||i[0]?.url==="")return n.jsx("div",{className:se.imagePlaceholder});const{PUBLIC_API_HOST:c,PUBLIC_ENV:d}=K();return n.jsx("figure",{className:se.figure,children:n.jsxs("span",{className:se.backdrop,children:[n.jsx("span",{className:se.backdropAux,style:{height:s||"56.25%"}}),n.jsxs("picture",{children:[n.jsx("img",{fetchPriority:"low",loading:"lazy",className:se.imageStyled,alt:e.preview?.description||"",src:(d==="local"?c:"")+i[0]?.url,style:{boxShadow:o?"0px 4px 8px 0px #00000033":"0px"}}),t&&n.jsxs(n.Fragment,{children:[n.jsx("div",{className:se.boxPlayIcon,style:{height:a?"40%":"72px"}}),n.jsx(r,{className:se.playStyled,style:{width:a?"3rem":"27px",height:a?"3rem":"27px",marginBottom:a?"18px":".5rem",marginLeft:a?"30px":".5rem"}})]})]})]})})},Dd=e=>n.jsx("svg",{width:"41",height:"33",viewBox:"0 0 41 33",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:n.jsx("path",{d:"M17.9576 21.2985C16.8233 21.2985 15.9277 22.194 15.9277 23.3283C15.9277 24.4627 16.8233 25.3582 17.9576 25.3582C19.0919 25.3582 19.9874 24.4627 19.9874 23.3283C19.9874 22.194 19.0919 21.2985 17.9576 21.2985ZM17.9576 19.2686C19.0919 19.2686 19.9874 18.3731 19.9874 17.2388C19.9874 16.1045 19.0919 15.2089 17.9576 15.2089C16.8233 15.2089 15.9277 16.1045 15.9277 17.2388C15.9277 18.3731 16.8233 19.2686 17.9576 19.2686ZM17.9576 13.1791C19.0919 13.1791 19.9874 12.2836 19.9874 11.1492C19.9874 10.0149 19.0919 9.11938 17.9576 9.11938C16.8233 9.11938 15.9277 10.0149 15.9277 11.1492C15.9277 12.2836 16.8233 13.1791 17.9576 13.1791Z",fill:"#7B888A"})}),rr={info:{section:{name:"",slug:"",url:""},link:{url:"/",target:"",canonical:!1,internal:""},date:{date:"",created:0,modified:0,firstpublish:0,lastpublish:0}},config:{zonehome:void 0,priorityhome:"",zonesection:"",prioritysection:"",homepreview:"",showcomments:!0,showtime:!0,showauthor:!0,showuppertitle:!0,showsubtitle:!0,showads:!0},main:{title:{home:"",section:"",article:""},subtitle:{rendered:"",striped:""},tags:[]},authors:[{firstname:"",lastname:"",fullname:"",image:void 0,name:"",internaluser:!1}],preview:void 0},ir=6,Md=({section:e,currentNews:t,banner:a,isVisible:o=!1,stylesConfig:s})=>{const[r,i]=E.useState({data:Array.from({length:ir},()=>rr)}),[c,d]=E.useState(!1),l=E.useCallback(async()=>{if(!(c||!t?.info?.link?.internal)){d(!0);try{const h=new URLSearchParams({section:e,currentNewsLink:t.info.link.internal}),u=await fetch(`/api/get-more-news?${h}`);if(!u.ok)throw i(void 0),new Error(`HTTP error! status: ${u.status}`);const f=await u.json();i({...f,data:f.data.slice(0,ir)})}catch(h){console.error("[/api/get-more-news] Error:",h.message),i(void 0)}}},[e,t.info.link.internal,c]);return E.useEffect(()=>{o&&l()},[o,r,l]),!r?.data||r.data.length===0?null:n.jsx(jd,{news:r.data,title:"Más Noticias",...s["Modulo 1x3 Client"]??s["Modulo 1x3"],hasLines:!0,showSubtitle:!0,rounded:!0,banner:a,isVisible:o})},jd=e=>{const{news:t,hasLines:a=!1}=e,o=s=>a&&(s+1)%3!==0?pa.contentSeparator:"";return n.jsx("div",{className:pa.newsContent,style:{gap:a?"30px":"20px","--gridTemplateModlule":a?"repeat(auto-fit, 343px);":"repeat(auto-fit, 380px);"},children:t.map((s,r)=>{const{main:i,authors:c,info:d,preview:l,isVideo:h=!1,config:u,overImage:f="default",isTitle:g=!1,isLarge:m=!1}=s;return n.jsx("div",{className:o(r),style:{order:r},children:n.jsxs("section",{className:Dt.content,children:[n.jsx(P,{title:i?.title?.section,href:d?.link?.url??"invalidUrl","aria-label":i?.title?.section??"nota",target:d?.link?.target,children:n.jsx(Od,{isVisible:e.isVisible,preview:l,rounded:e.rounded,isVideo:h,isLarge:m,getImageUrl:e.getImageUrl})}),n.jsx("div",{className:Dt.newsDescription,children:n.jsx(Qd,{main:i,authors:c,info:d,preview:l,share:e.share,config:u,overImage:f,isTitle:g,paths:s.paths,isVisible:e.isVisible})})]})},r)})})},Qd=e=>{const{share:t=!1,cutSubtitle:a=!0}=e,s=(()=>{if(!e?.authors||e.authors.length===0)return"";const r=e.authors[0],i=ke(e.info?.date?.modified);return r&&e?.config?.showtime&&e.config?.showauthor?`${r.fullname} - ${i}`:r&&e.config?.showauthor?r.fullname:e?.config?.showtime?i:""})();return n.jsxs("div",{className:ae.boxInformation,children:[t&&n.jsx(Dd,{className:ae.dotStyles}),e?.info?.section?.url&&n.jsxs("div",{className:ae.sectionDescriptionContainer,children:[n.jsx(P,{className:ae.sectionDescription,href:e.info.section.url??"invalidUrl",children:e.info.section.name}),e?.main?.uppertitle&&n.jsx("p",{className:ae.uppertitle,children:e.main.uppertitle})]}),n.jsx("h2",{className:ae.articule,children:n.jsx(P,{className:ae.linkStyled,style:{"--isLink":e?.info?.link?.url?"underline":"none"},"aria-label":e.main?.title?.section??"nota",href:e?.info?.link?.url,target:e?.info?.link?.target,children:e.main?.title?.section})}),e.config?.showsubtitle&&e.main?.subtitle?.striped&&n.jsx("p",{className:ae.description,style:{"--fontSizeSubTitle":e.fontSizeSubTitle,"--lineHeightSubTitle":e.lineHeightSubTitle,"--colorSubTitle":e.colorSubTitle},children:a?xe(e.main.subtitle.striped):e.main.subtitle.striped}),(e?.config?.showtime||e.config?.showauthor)&&s&&n.jsx(n.Fragment,{children:e.authors?.[0]?.internaluser?n.jsx(P,{className:ae.correspondentLink,href:`/autor/${e.authors[0].name}`,children:s}):n.jsx("div",{className:ae.correspondent,children:s})})]})},Gd=({user:e,handleLogout:t,message:a})=>{const o=()=>{const r=document.querySelector(".user-actions-options");r&&r.classList.toggle("show")},s=e.firstname??"Usuario";return n.jsx("div",{className:"comment-item",children:n.jsxs("div",{style:{display:"flex",gap:"14px"},children:[e&&e.picture&&e.picture!==""?n.jsx("img",{className:"comment-avatar-img",src:e.picture,alt:e.username}):n.jsx("div",{className:"comment-avatar",children:s.charAt(0).toUpperCase()}),n.jsxs("div",{style:{flex:1},children:[n.jsxs("div",{className:"comment-header",children:[n.jsxs("span",{className:"comment-username user-welcome",children:["Hola ",s,"!"]}),n.jsx("div",{className:"user-actions-options",children:n.jsx("button",{onClick:()=>{t()},children:"Cerrar Sesion"})}),n.jsx("button",{className:"user-actions-span",onClick:o,children:n.jsx(vn,{width:13,height:13,fill:"black"})})]}),n.jsx("p",{className:"comment-text",children:a})]})]})})},de={overlay:"_overlay_qj491_3",popup:"_popup_qj491_17",title:"_title_qj491_40",optionsContainer:"_optionsContainer_qj491_52",option:"_option_qj491_52",radioInput:"_radioInput_qj491_66",radioCustom:"_radioCustom_qj491_70",optionLabel:"_optionLabel_qj491_97",buttons:"_buttons_qj491_110",cancelButton:"_cancelButton_qj491_117",closeButton:"_closeButton_qj491_118",buttonAlone:"_buttonAlone_qj491_137",reportButton:"_reportButton_qj491_143",successContainer:"_successContainer_qj491_163",thumbsUp:"_thumbsUp_qj491_171",successMessage:"_successMessage_qj491_177",errorMessage:"_errorMessage_qj491_218",loadingContainer:"_loadingContainer_qj491_231"},cr=async(e,t)=>{const{PUBLIC_ENV:a}=K();if(console.log(a,!0),a==="local")return!0;if(!e)return!1;const{CAPTCHA_PROJECT:o,CAPTCHA_KEY_V2:s,COMMENTS_CAPTCHA_API_KEY:r}=t;console.log();try{const i=o,c=s,h=await(await fetch(`https://recaptchaenterprise.googleapis.com/v1/projects/${i}/assessments?key=${r}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({event:{token:e,siteKey:c}})})).json();return console.log("reCAPTCHA Enterprise verification result:",h),h.tokenProperties?.valid===!0}catch(i){return console.error("Error verificando reCAPTCHA Enterprise:",i),!1}};async function $d({publication:e,username:t,id:a,type:o,baseUrl:s,captchaToken:r,apiToken:i,COMMENTS_VARS:c}){if(!e||!t||!a||!o||!r)throw new Error("Faltan parámetros requeridos: publication, username, id, type, captchaToken");if(typeof e!="string"||typeof t!="string"||typeof a!="string"||typeof o!="string"||typeof r!="string")throw new Error("Todos los parámetros deben ser strings");if(!await cr(r,c))throw new Error("Token de captcha inválido");if(!i)throw new Error("Falta el token de API del CMS");const d=`${s}/system/modules/com.tfsla.diario.base/templates/hit/5.0/1/newcomments/report`,l=encodeURIComponent(o),h=new URLSearchParams({publication:e,username:t,id:a,type:l}),u=`${d}?${h.toString()}`;try{console.log("Reporting comment:",{publication:e,username:t,id:a,type:o,encodedType:l,url:u});const f=await oe.post(u,null,{headers:{"User-Agent":"Bluestack","x-api-token":i,"Content-Type":"application/json"}});if(console.log("Report response:",f.data),f.status===200||f.status===201)return{type:"success",message:"Comentario reportado exitosamente",status:f.status,data:f.data};throw new Error(`Respuesta inesperada del servidor: ${f.status}`)}catch(f){if(console.error("Error reporting comment:",f),oe.isAxiosError(f)){const g=f.response?.status,m=f.response?.data;throw g===400?new Error("Datos inválidos para el reporte"):g===401?new Error("Token de API inválido"):g===403?new Error("Acceso denegado para reportar comentario"):g===404?new Error("Comentario no encontrado"):g===409?new Error("El comentario ya fue reportado por este usuario"):g===500?new Error("Error interno del servidor CMS"):new Error(m?.error||m?.message||`Error HTTP ${g}: No se pudo reportar el comentario`)}throw f}}const Me={spam:"Es spam o contenido comercial no deseado",inappropriate:"Lenguaje inadecuado",hate:"Discurso o símbolos de odio",misinformation:"Información falsa o fraude",terrorism:"Promueve el terrorismo",intellectual:"Violación de propiedad intelectual",bullying:"Bullying o acoso"};function Hd(e){return Me[e]}const ut=300,Ke={username:"anonimo",firstname:"Usuario",lastname:"Anonimo"};function zd(e){const t=e.split(" ");if(t.length!==3)return e;const[a,o,s]=t,r=o.charAt(0).toUpperCase()+o.slice(1).toLowerCase();return`${a} ${r} ${s}`}const Ca=(e,t)=>{if(!e||!e.current)return{boolean:!1,text:""};const a=e.current?.value||"",o=a.length>ut,{PUBLIC_ENV:s}=K(),r=s==="local",i=a.trim()!==""&&(r||t!=="")&&!o,c=o?`No debes exceder el limite de ${ut} caracteres.`:"Debes completar todos los campos para comentar.";return{boolean:i,text:c}},lr=e=>{const t=e.cookie.split("; ").find(a=>a.startsWith("reported="));if(!t)return[];try{return JSON.parse(decodeURIComponent(t.split("=")[1]??""))}catch{return[]}},Fd=(e,t)=>{const a=lr(e);a.includes(t)||(a.push(t),e.cookie=`reported=${encodeURIComponent(JSON.stringify(a))}; path=/; max-age=${3600*24*1}`)};function Vd(e){const[t,a]=e.split("@");if(!t||!a)return e;let o="";t.length<=2?o=t[0]+"*":o=t[0]+"*".repeat(t.length-2)+t[t.length-1];const s=a.lastIndexOf(".");if(s===-1)return`${o}@${a}`;const r=a.slice(0,s),i=a.slice(s);let c="";return r.length<=2?c=r[0]+"*":c=r[0]+"*".repeat(r.length-2)+r[r.length-1],`${o}@${c}${i}`}var kn={exports:{}},xn={exports:{}},te={};var dr;function Wd(){if(dr)return te;dr=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,a=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,s=e?Symbol.for("react.strict_mode"):60108,r=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,C=e?Symbol.for("react.responder"):60118,N=e?Symbol.for("react.scope"):60119;function _(v){if(typeof v=="object"&&v!==null){var k=v.$$typeof;switch(k){case t:switch(v=v.type,v){case d:case l:case o:case r:case s:case u:return v;default:switch(v=v&&v.$$typeof,v){case c:case h:case m:case g:case i:return v;default:return k}}case a:return k}}}function I(v){return _(v)===l}return te.AsyncMode=d,te.ConcurrentMode=l,te.ContextConsumer=c,te.ContextProvider=i,te.Element=t,te.ForwardRef=h,te.Fragment=o,te.Lazy=m,te.Memo=g,te.Portal=a,te.Profiler=r,te.StrictMode=s,te.Suspense=u,te.isAsyncMode=function(v){return I(v)||_(v)===d},te.isConcurrentMode=I,te.isContextConsumer=function(v){return _(v)===c},te.isContextProvider=function(v){return _(v)===i},te.isElement=function(v){return typeof v=="object"&&v!==null&&v.$$typeof===t},te.isForwardRef=function(v){return _(v)===h},te.isFragment=function(v){return _(v)===o},te.isLazy=function(v){return _(v)===m},te.isMemo=function(v){return _(v)===g},te.isPortal=function(v){return _(v)===a},te.isProfiler=function(v){return _(v)===r},te.isStrictMode=function(v){return _(v)===s},te.isSuspense=function(v){return _(v)===u},te.isValidElementType=function(v){return typeof v=="string"||typeof v=="function"||v===o||v===l||v===r||v===s||v===u||v===f||typeof v=="object"&&v!==null&&(v.$$typeof===m||v.$$typeof===g||v.$$typeof===i||v.$$typeof===c||v.$$typeof===h||v.$$typeof===y||v.$$typeof===C||v.$$typeof===N||v.$$typeof===p)},te.typeOf=_,te}var ne={};var hr;function Yd(){return hr||(hr=1,process.env.NODE_ENV!=="production"&&(function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,a=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,s=e?Symbol.for("react.strict_mode"):60108,r=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,C=e?Symbol.for("react.responder"):60118,N=e?Symbol.for("react.scope"):60119;function _(B){return typeof B=="string"||typeof B=="function"||B===o||B===l||B===r||B===s||B===u||B===f||typeof B=="object"&&B!==null&&(B.$$typeof===m||B.$$typeof===g||B.$$typeof===i||B.$$typeof===c||B.$$typeof===h||B.$$typeof===y||B.$$typeof===C||B.$$typeof===N||B.$$typeof===p)}function I(B){if(typeof B=="object"&&B!==null){var Ae=B.$$typeof;switch(Ae){case t:var Pn=B.type;switch(Pn){case d:case l:case o:case r:case s:case u:return Pn;default:var qr=Pn&&Pn.$$typeof;switch(qr){case c:case h:case m:case g:case i:return qr;default:return Ae}}case a:return Ae}}}var v=d,k=l,G=c,$=i,ee=t,H=h,D=o,R=m,ie=g,j=a,L=r,T=s,M=u,U=!1;function F(B){return U||(U=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),A(B)||I(B)===d}function A(B){return I(B)===l}function S(B){return I(B)===c}function q(B){return I(B)===i}function Q(B){return typeof B=="object"&&B!==null&&B.$$typeof===t}function O(B){return I(B)===h}function z(B){return I(B)===o}function V(B){return I(B)===m}function W(B){return I(B)===g}function Z(B){return I(B)===a}function X(B){return I(B)===r}function Y(B){return I(B)===s}function re(B){return I(B)===u}ne.AsyncMode=v,ne.ConcurrentMode=k,ne.ContextConsumer=G,ne.ContextProvider=$,ne.Element=ee,ne.ForwardRef=H,ne.Fragment=D,ne.Lazy=R,ne.Memo=ie,ne.Portal=j,ne.Profiler=L,ne.StrictMode=T,ne.Suspense=M,ne.isAsyncMode=F,ne.isConcurrentMode=A,ne.isContextConsumer=S,ne.isContextProvider=q,ne.isElement=Q,ne.isForwardRef=O,ne.isFragment=z,ne.isLazy=V,ne.isMemo=W,ne.isPortal=Z,ne.isProfiler=X,ne.isStrictMode=Y,ne.isSuspense=re,ne.isValidElementType=_,ne.typeOf=I})()),ne}var ur;function _a(){return ur||(ur=1,process.env.NODE_ENV==="production"?xn.exports=Wd():xn.exports=Yd()),xn.exports}var Sa,fr;function Kd(){if(fr)return Sa;fr=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function o(r){if(r==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(r)}function s(){try{if(!Object.assign)return!1;var r=new String("abc");if(r[5]="de",Object.getOwnPropertyNames(r)[0]==="5")return!1;for(var i={},c=0;c<10;c++)i["_"+String.fromCharCode(c)]=c;var d=Object.getOwnPropertyNames(i).map(function(h){return i[h]});if(d.join("")!=="0123456789")return!1;var l={};return"abcdefghijklmnopqrst".split("").forEach(function(h){l[h]=h}),Object.keys(Object.assign({},l)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Sa=s()?Object.assign:function(r,i){for(var c,d=o(r),l,h=1;h<arguments.length;h++){c=Object(arguments[h]);for(var u in c)t.call(c,u)&&(d[u]=c[u]);if(e){l=e(c);for(var f=0;f<l.length;f++)a.call(c,l[f])&&(d[l[f]]=c[l[f]])}}return d},Sa}var Na,mr;function Ea(){if(mr)return Na;mr=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Na=e,Na}var Ta,gr;function pr(){return gr||(gr=1,Ta=Function.call.bind(Object.prototype.hasOwnProperty)),Ta}var Ia,Ar;function Jd(){if(Ar)return Ia;Ar=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Ea(),a={},o=pr();e=function(r){var i="Warning: "+r;typeof console<"u"&&console.error(i);try{throw new Error(i)}catch{}}}function s(r,i,c,d,l){if(process.env.NODE_ENV!=="production"){for(var h in r)if(o(r,h)){var u;try{if(typeof r[h]!="function"){var f=Error((d||"React class")+": "+c+" type `"+h+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[h]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw f.name="Invariant Violation",f}u=r[h](i,h,d,c,null,t)}catch(m){u=m}if(u&&!(u instanceof Error)&&e((d||"React class")+": type specification of "+c+" `"+h+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in a)){a[u.message]=!0;var g=l?l():"";e("Failed "+c+" type: "+u.message+(g??""))}}}}return s.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(a={})},Ia=s,Ia}var ka,yr;function Zd(){if(yr)return ka;yr=1;var e=_a(),t=Kd(),a=Ea(),o=pr(),s=Jd(),r=function(){};process.env.NODE_ENV!=="production"&&(r=function(c){var d="Warning: "+c;typeof console<"u"&&console.error(d);try{throw new Error(d)}catch{}});function i(){return null}return ka=function(c,d){var l=typeof Symbol=="function"&&Symbol.iterator,h="@@iterator";function u(A){var S=A&&(l&&A[l]||A[h]);if(typeof S=="function")return S}var f="<<anonymous>>",g={array:C("array"),bigint:C("bigint"),bool:C("boolean"),func:C("function"),number:C("number"),object:C("object"),string:C("string"),symbol:C("symbol"),any:N(),arrayOf:_,element:I(),elementType:v(),instanceOf:k,node:H(),objectOf:$,oneOf:G,oneOfType:ee,shape:R,exact:ie};function m(A,S){return A===S?A!==0||1/A===1/S:A!==A&&S!==S}function p(A,S){this.message=A,this.data=S&&typeof S=="object"?S:{},this.stack=""}p.prototype=Error.prototype;function y(A){if(process.env.NODE_ENV!=="production")var S={},q=0;function Q(z,V,W,Z,X,Y,re){if(Z=Z||f,Y=Y||W,re!==a){if(d){var B=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw B.name="Invariant Violation",B}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Ae=Z+":"+W;!S[Ae]&&q<3&&(r("You are manually calling a React.PropTypes validation function for the `"+Y+"` prop on `"+Z+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),S[Ae]=!0,q++)}}return V[W]==null?z?V[W]===null?new p("The "+X+" `"+Y+"` is marked as required "+("in `"+Z+"`, but its value is `null`.")):new p("The "+X+" `"+Y+"` is marked as required in "+("`"+Z+"`, but its value is `undefined`.")):null:A(V,W,Z,X,Y)}var O=Q.bind(null,!1);return O.isRequired=Q.bind(null,!0),O}function C(A){function S(q,Q,O,z,V,W){var Z=q[Q],X=T(Z);if(X!==A){var Y=M(Z);return new p("Invalid "+z+" `"+V+"` of type "+("`"+Y+"` supplied to `"+O+"`, expected ")+("`"+A+"`."),{expectedType:A})}return null}return y(S)}function N(){return y(i)}function _(A){function S(q,Q,O,z,V){if(typeof A!="function")return new p("Property `"+V+"` of component `"+O+"` has invalid PropType notation inside arrayOf.");var W=q[Q];if(!Array.isArray(W)){var Z=T(W);return new p("Invalid "+z+" `"+V+"` of type "+("`"+Z+"` supplied to `"+O+"`, expected an array."))}for(var X=0;X<W.length;X++){var Y=A(W,X,O,z,V+"["+X+"]",a);if(Y instanceof Error)return Y}return null}return y(S)}function I(){function A(S,q,Q,O,z){var V=S[q];if(!c(V)){var W=T(V);return new p("Invalid "+O+" `"+z+"` of type "+("`"+W+"` supplied to `"+Q+"`, expected a single ReactElement."))}return null}return y(A)}function v(){function A(S,q,Q,O,z){var V=S[q];if(!e.isValidElementType(V)){var W=T(V);return new p("Invalid "+O+" `"+z+"` of type "+("`"+W+"` supplied to `"+Q+"`, expected a single ReactElement type."))}return null}return y(A)}function k(A){function S(q,Q,O,z,V){if(!(q[Q]instanceof A)){var W=A.name||f,Z=F(q[Q]);return new p("Invalid "+z+" `"+V+"` of type "+("`"+Z+"` supplied to `"+O+"`, expected ")+("instance of `"+W+"`."))}return null}return y(S)}function G(A){if(!Array.isArray(A))return process.env.NODE_ENV!=="production"&&(arguments.length>1?r("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):r("Invalid argument supplied to oneOf, expected an array.")),i;function S(q,Q,O,z,V){for(var W=q[Q],Z=0;Z<A.length;Z++)if(m(W,A[Z]))return null;var X=JSON.stringify(A,function(re,B){var Ae=M(B);return Ae==="symbol"?String(B):B});return new p("Invalid "+z+" `"+V+"` of value `"+String(W)+"` "+("supplied to `"+O+"`, expected one of "+X+"."))}return y(S)}function $(A){function S(q,Q,O,z,V){if(typeof A!="function")return new p("Property `"+V+"` of component `"+O+"` has invalid PropType notation inside objectOf.");var W=q[Q],Z=T(W);if(Z!=="object")return new p("Invalid "+z+" `"+V+"` of type "+("`"+Z+"` supplied to `"+O+"`, expected an object."));for(var X in W)if(o(W,X)){var Y=A(W,X,O,z,V+"."+X,a);if(Y instanceof Error)return Y}return null}return y(S)}function ee(A){if(!Array.isArray(A))return process.env.NODE_ENV!=="production"&&r("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var S=0;S<A.length;S++){var q=A[S];if(typeof q!="function")return r("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+U(q)+" at index "+S+"."),i}function Q(O,z,V,W,Z){for(var X=[],Y=0;Y<A.length;Y++){var re=A[Y],B=re(O,z,V,W,Z,a);if(B==null)return null;B.data&&o(B.data,"expectedType")&&X.push(B.data.expectedType)}var Ae=X.length>0?", expected one of type ["+X.join(", ")+"]":"";return new p("Invalid "+W+" `"+Z+"` supplied to "+("`"+V+"`"+Ae+"."))}return y(Q)}function H(){function A(S,q,Q,O,z){return j(S[q])?null:new p("Invalid "+O+" `"+z+"` supplied to "+("`"+Q+"`, expected a ReactNode."))}return y(A)}function D(A,S,q,Q,O){return new p((A||"React class")+": "+S+" type `"+q+"."+Q+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+O+"`.")}function R(A){function S(q,Q,O,z,V){var W=q[Q],Z=T(W);if(Z!=="object")return new p("Invalid "+z+" `"+V+"` of type `"+Z+"` "+("supplied to `"+O+"`, expected `object`."));for(var X in A){var Y=A[X];if(typeof Y!="function")return D(O,z,V,X,M(Y));var re=Y(W,X,O,z,V+"."+X,a);if(re)return re}return null}return y(S)}function ie(A){function S(q,Q,O,z,V){var W=q[Q],Z=T(W);if(Z!=="object")return new p("Invalid "+z+" `"+V+"` of type `"+Z+"` "+("supplied to `"+O+"`, expected `object`."));var X=t({},q[Q],A);for(var Y in X){var re=A[Y];if(o(A,Y)&&typeof re!="function")return D(O,z,V,Y,M(re));if(!re)return new p("Invalid "+z+" `"+V+"` key `"+Y+"` supplied to `"+O+"`.\nBad object: "+JSON.stringify(q[Q],null," ")+`
130
130
  Valid keys: `+JSON.stringify(Object.keys(A),null," "));var B=re(W,Y,O,z,V+"."+Y,a);if(B)return B}return null}return y(S)}function j(A){switch(typeof A){case"number":case"string":case"undefined":return!0;case"boolean":return!A;case"object":if(Array.isArray(A))return A.every(j);if(A===null||c(A))return!0;var S=u(A);if(S){var q=S.call(A),Q;if(S!==A.entries){for(;!(Q=q.next()).done;)if(!j(Q.value))return!1}else for(;!(Q=q.next()).done;){var O=Q.value;if(O&&!j(O[1]))return!1}}else return!1;return!0;default:return!1}}function L(A,S){return A==="symbol"?!0:S?S["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&S instanceof Symbol:!1}function T(A){var S=typeof A;return Array.isArray(A)?"array":A instanceof RegExp?"object":L(S,A)?"symbol":S}function M(A){if(typeof A>"u"||A===null)return""+A;var S=T(A);if(S==="object"){if(A instanceof Date)return"date";if(A instanceof RegExp)return"regexp"}return S}function U(A){var S=M(A);switch(S){case"array":case"object":return"an "+S;case"boolean":case"date":case"regexp":return"a "+S;default:return S}}function F(A){return!A.constructor||!A.constructor.name?f:A.constructor.name}return g.checkPropTypes=s,g.resetWarningCache=s.resetWarningCache,g.PropTypes=g,g},ka}var xa,wr;function Xd(){if(wr)return xa;wr=1;var e=Ea();function t(){}function a(){}return a.resetWarningCache=t,xa=function(){function o(i,c,d,l,h,u){if(u!==e){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}}o.isRequired=o;function s(){return o}var r={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:s,element:o,elementType:o,instanceOf:s,node:o,objectOf:s,oneOf:s,oneOfType:s,shape:s,exact:s,checkPropTypes:a,resetWarningCache:t};return r.PropTypes=r,r},xa}var br;function Rd(){if(br)return kn.exports;if(br=1,process.env.NODE_ENV!=="production"){var e=_a(),t=!0;kn.exports=Zd()(e.isElement,t)}else kn.exports=Xd()();return kn.exports}var e1=Rd();const ve=ft(e1);var t1=["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl","isolated"];function Ua(){return Ua=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(e[o]=a[o])}return e},Ua.apply(this,arguments)}function n1(e,t){if(e==null)return{};var a={},o=Object.keys(e),s,r;for(r=0;r<o.length;r++)s=o[r],!(t.indexOf(s)>=0)&&(a[s]=e[s]);return a}function Un(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a1(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,La(e,t)}function La(e,t){return La=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,s){return o.__proto__=s,o},La(e,t)}var Ln=(function(e){a1(t,e);function t(){var o;return o=e.call(this)||this,o.handleExpired=o.handleExpired.bind(Un(o)),o.handleErrored=o.handleErrored.bind(Un(o)),o.handleChange=o.handleChange.bind(Un(o)),o.handleRecaptchaRef=o.handleRecaptchaRef.bind(Un(o)),o}var a=t.prototype;return a.getCaptchaFunction=function(s){return this.props.grecaptcha?this.props.grecaptcha.enterprise?this.props.grecaptcha.enterprise[s]:this.props.grecaptcha[s]:null},a.getValue=function(){var s=this.getCaptchaFunction("getResponse");return s&&this._widgetId!==void 0?s(this._widgetId):null},a.getWidgetId=function(){return this.props.grecaptcha&&this._widgetId!==void 0?this._widgetId:null},a.execute=function(){var s=this.getCaptchaFunction("execute");if(s&&this._widgetId!==void 0)return s(this._widgetId);this._executeRequested=!0},a.executeAsync=function(){var s=this;return new Promise(function(r,i){s.executionResolve=r,s.executionReject=i,s.execute()})},a.reset=function(){var s=this.getCaptchaFunction("reset");s&&this._widgetId!==void 0&&s(this._widgetId)},a.forceReset=function(){var s=this.getCaptchaFunction("reset");s&&s()},a.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},a.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},a.handleChange=function(s){this.props.onChange&&this.props.onChange(s),this.executionResolve&&(this.executionResolve(s),delete this.executionReject,delete this.executionResolve)},a.explicitRender=function(){var s=this.getCaptchaFunction("render");if(s&&this._widgetId===void 0){var r=document.createElement("div");this._widgetId=s(r,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge,isolated:this.props.isolated}),this.captcha.appendChild(r)}this._executeRequested&&this.props.grecaptcha&&this._widgetId!==void 0&&(this._executeRequested=!1,this.execute())},a.componentDidMount=function(){this.explicitRender()},a.componentDidUpdate=function(){this.explicitRender()},a.handleRecaptchaRef=function(s){this.captcha=s},a.render=function(){var s=this.props;s.sitekey,s.onChange,s.theme,s.type,s.tabindex,s.onExpired,s.onErrored,s.size,s.stoken,s.grecaptcha,s.badge,s.hl,s.isolated;var r=n1(s,t1);return Da.createElement("div",Ua({},r,{ref:this.handleRecaptchaRef}))},t})(Da.Component);Ln.displayName="ReCAPTCHA",Ln.propTypes={sitekey:ve.string.isRequired,onChange:ve.func,grecaptcha:ve.object,theme:ve.oneOf(["dark","light"]),type:ve.oneOf(["image","audio"]),tabindex:ve.number,onExpired:ve.func,onErrored:ve.func,size:ve.oneOf(["compact","normal","invisible"]),stoken:ve.string,hl:ve.string,badge:ve.oneOf(["bottomright","bottomleft","inline"]),isolated:ve.bool},Ln.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};var qa,vr;function o1(){if(vr)return qa;vr=1;var e=_a(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},r={};r[e.ForwardRef]=o,r[e.Memo]=s;function i(m){return e.isMemo(m)?s:r[m.$$typeof]||t}var c=Object.defineProperty,d=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,f=Object.prototype;function g(m,p,y){if(typeof p!="string"){if(f){var C=u(p);C&&C!==f&&g(m,C,y)}var N=d(p);l&&(N=N.concat(l(p)));for(var _=i(m),I=i(p),v=0;v<N.length;++v){var k=N[v];if(!a[k]&&!(y&&y[k])&&!(I&&I[k])&&!(_&&_[k])){var G=h(p,k);try{c(m,k,G)}catch{}}}}return m}return qa=g,qa}var s1=o1();const r1=ft(s1);function Ba(){return Ba=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(e[o]=a[o])}return e},Ba.apply(this,arguments)}function i1(e,t){if(e==null)return{};var a={},o=Object.keys(e),s,r;for(r=0;r<o.length;r++)s=o[r],!(t.indexOf(s)>=0)&&(a[s]=e[s]);return a}function c1(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var Be={},l1=0;function d1(e,t){return t=t||{},function(o){var s=o.displayName||o.name||"Component",r=(function(c){c1(d,c);function d(h,u){var f;return f=c.call(this,h,u)||this,f.state={},f.__scriptURL="",f}var l=d.prototype;return l.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+l1++),this.__scriptLoaderID},l.setupScriptURL=function(){return this.__scriptURL=typeof e=="function"?e():e,this.__scriptURL},l.asyncScriptLoaderHandleLoad=function(u){var f=this;this.setState(u,function(){return f.props.asyncScriptOnLoad&&f.props.asyncScriptOnLoad(f.state)})},l.asyncScriptLoaderTriggerOnScriptLoaded=function(){var u=Be[this.__scriptURL];if(!u||!u.loaded)throw new Error("Script is not loaded.");for(var f in u.observers)u.observers[f](u);delete window[t.callbackName]},l.componentDidMount=function(){var u=this,f=this.setupScriptURL(),g=this.asyncScriptLoaderGetScriptLoaderID(),m=t,p=m.globalName,y=m.callbackName,C=m.scriptId;if(p&&typeof window[p]<"u"&&(Be[f]={loaded:!0,observers:{}}),Be[f]){var N=Be[f];if(N&&(N.loaded||N.errored)){this.asyncScriptLoaderHandleLoad(N);return}N.observers[g]=function(G){return u.asyncScriptLoaderHandleLoad(G)};return}var _={};_[g]=function(G){return u.asyncScriptLoaderHandleLoad(G)},Be[f]={loaded:!1,observers:_};var I=document.createElement("script");I.src=f,I.async=!0;for(var v in t.attributes)I.setAttribute(v,t.attributes[v]);C&&(I.id=C);var k=function($){if(Be[f]){var ee=Be[f],H=ee.observers;for(var D in H)$(H[D])&&delete H[D]}};y&&typeof window<"u"&&(window[y]=function(){return u.asyncScriptLoaderTriggerOnScriptLoaded()}),I.onload=function(){var G=Be[f];G&&(G.loaded=!0,k(function($){return y?!1:($(G),!0)}))},I.onerror=function(){var G=Be[f];G&&(G.errored=!0,k(function($){return $(G),!0}))},document.body.appendChild(I)},l.componentWillUnmount=function(){var u=this.__scriptURL;if(t.removeOnUnmount===!0)for(var f=document.getElementsByTagName("script"),g=0;g<f.length;g+=1)f[g].src.indexOf(u)>-1&&f[g].parentNode&&f[g].parentNode.removeChild(f[g]);var m=Be[u];m&&(delete m.observers[this.asyncScriptLoaderGetScriptLoaderID()],t.removeOnUnmount===!0&&delete Be[u])},l.render=function(){var u=t.globalName,f=this.props;f.asyncScriptOnLoad;var g=f.forwardedRef,m=i1(f,["asyncScriptOnLoad","forwardedRef"]);return u&&typeof window<"u"&&(m[u]=typeof window[u]<"u"?window[u]:void 0),m.ref=g,E.createElement(o,m)},d})(E.Component),i=E.forwardRef(function(c,d){return E.createElement(r,Ba({},c,{forwardedRef:d}))});return i.displayName="AsyncScriptLoader("+s+")",i.propTypes={asyncScriptOnLoad:ve.func},r1(i,o)}}var Pa="onloadcallback",h1="grecaptcha";function Oa(){return typeof window<"u"&&window.recaptchaOptions||{}}function u1(){var e=Oa(),t=e.useRecaptchaNet?"recaptcha.net":"www.google.com";return e.enterprise?"https://"+t+"/recaptcha/enterprise.js?onload="+Pa+"&render=explicit":"https://"+t+"/recaptcha/api.js?onload="+Pa+"&render=explicit"}const Cr=d1(u1,{callbackName:Pa,globalName:h1,attributes:Oa().nonce?{nonce:Oa().nonce}:{}})(Ln),x={overlay:"_overlay_18ksj_1",header:"_header_18ksj_18",logo:"_logo_18ksj_25",card:"_card_18ksj_32",close:"_close_18ksj_47",form:"_form_18ksj_71",formUl:"_formUl_18ksj_80",field:"_field_18ksj_92",label:"_label_18ksj_99",input:"_input_18ksj_108",error:"_error_18ksj_126",primary:"_primary_18ksj_132",divider:"_divider_18ksj_170",google:"_google_18ksj_196",googleIcon:"_googleIcon_18ksj_226",spin:"_spin_18ksj_259",checkboxRow:"_checkboxRow_18ksj_281",switch:"_switch_18ksj_310",terms:"_terms_18ksj_318",message:"_message_18ksj_349",passwordChecker:"_passwordChecker_18ksj_354",valid:"_valid_18ksj_373",invalid:"_invalid_18ksj_377",forgotPassword:"_forgotPassword_18ksj_381",successContainer:"_successContainer_18ksj_400",thumbsUp:"_thumbsUp_18ksj_408",successMessage:"_successMessage_18ksj_414"},Je=()=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",width:"24",height:"24",viewBox:"0 0 32 32",className:x.spin,children:n.jsx("path",{d:"M18,4.181v2.021c4.559,0.929,8,4.97,8,9.798c0,5.514-4.486,10-10,10S6,21.514,6,16c0-4.829,3.441-8.869,8-9.798V4.181 C8.334,5.137,4,10.066,4,16c0,6.617,5.383,12,12,12s12-5.383,12-12C28,10.066,23.666,5.137,18,4.181z"})}),f1=({isOpen:e,onClose:t,commentId:a,publication:o,username:s,CAPTCHA_KEY_V2:r})=>{const[i,c]=E.useState("form"),[d,l]=E.useState(""),[h,u]=E.useState(""),[f,g]=E.useState(""),m=[{id:"spam",label:Me.spam},{id:"inappropriate",label:Me.inappropriate},{id:"hate",label:Me.hate},{id:"misinformation",label:Me.misinformation},{id:"terrorism",label:Me.terrorism},{id:"intellectual",label:Me.intellectual},{id:"bullying",label:Me.bullying}],p=async()=>{if(!(!d||!a)){if(lr(document).includes(a)){u("Ya has reportado este comentario.");return}c("loading"),u("");try{const N=await(await fetch("/api/comments-report",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({publication:o,username:s,id:a,captchaToken:f,type:Me[d]})})).json();if(N.type==="success")Fd(document,a),c("success"),setTimeout(()=>{y()},3e3);else throw new Error(N.message||"Error al reportar comentario")}catch(C){console.error("Error reporting comment:",C),u(C.message||"Error al reportar comentario"),c("form")}}},y=()=>{c("form"),l(""),u(""),t()};return!e||!a||!s?null:n.jsx("div",{className:de.overlay,children:n.jsxs("div",{className:de.popup,children:[n.jsx("button",{className:"close-reply-form",onClick:y,children:n.jsx(wt,{})}),n.jsx("h2",{className:de.title,children:"Reportar Abuso"}),i==="loading"&&n.jsx("div",{className:de.loadingContainer,children:n.jsx(Je,{})}),i==="form"||i==="loading"?n.jsxs(n.Fragment,{children:[n.jsx("div",{className:de.optionsContainer,children:m.map(C=>n.jsxs("label",{className:de.option,children:[n.jsx("input",{type:"radio",name:"reportReason",value:C.id,checked:d===C.id,onChange:N=>l(N.target.value),className:de.radioInput}),n.jsx("span",{className:de.radioCustom}),n.jsx("span",{className:de.optionLabel,children:C.label})]},C.id))}),h&&n.jsx("div",{className:de.errorMessage,children:h}),n.jsx(Cr,{sitekey:r,theme:"light",size:"normal",onChange:C=>g(C??""),onExpired:()=>g("")}),n.jsxs("div",{className:de.buttons,children:[n.jsx("button",{onClick:y,className:de.cancelButton,children:"Cancelar"}),n.jsx("button",{onClick:p,disabled:!d,className:de.reportButton,children:"Reportar"})]})]}):n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:de.successContainer,children:[n.jsx("div",{className:de.thumbsUp,children:n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:132,height:120,fill:"none",children:n.jsx("path",{fill:"#0073BE",d:"M119.249 42.357H81.915l5.621-27.039.177-1.893a8.906 8.906 0 0 0-2.603-6.272L78.838.941 39.907 39.93c-2.19 2.13-3.491 5.089-3.491 8.343v59.167c0 6.508 5.325 11.833 11.833 11.833h53.25c4.911 0 9.112-2.958 10.887-7.218l17.868-41.713c.533-1.36.829-2.78.829-4.32V54.192c0-6.509-5.325-11.834-11.834-11.834Zm0 23.667-17.75 41.417h-53.25V48.274l25.679-25.678L67.36 54.19h51.889v11.833ZM.916 48.274h23.667v71H.916v-71Z"})})}),n.jsx("p",{className:de.successMessage,children:"¡Gracias por reportar!"})]}),n.jsx("div",{className:de.buttons,children:n.jsx("button",{onClick:y,className:[de.closeButton,de.buttonAlone].join(" "),children:"Cerrar"})})]})]})})};async function qn({publication:e,path:t,size:a=5,sizereply:o=2,id:s,lastid:r,state:i="5,6",apiToken:c}){const{PUBLIC_ENV:d}=K();if(d==="prod")return(await _r({publication:e,path:t,size:a,sizereply:o,id:s,lastid:r,state:i,apiToken:c}))[0];{const l=await fetch(`/api/comments-get?publication=${e}&path=${t}&size=${a}&sizereply=${o}&lastid=${r}`);if(!l.ok)throw new Error(`Error al obtener comentarios: ${l.status}`);return(await l.json()).data[0]}}async function _r({publication:e,path:t,size:a=5,sizereply:o=2,id:s,lastid:r,state:i="5,6",apiToken:c}){if(!e||!t)throw new Error("Missing required parameters: publication and path");if(typeof e!="string"||typeof t!="string")throw new Error("Invalid input types for publication or path");if(!c)throw new Error("Missing CMS API token");const{PUBLIC_ENV:d,PUBLIC_API_HOST:l,PUBLIC_API_PATH:h,PUBLIC_API_PATH_VERSION:u}=K(),f=parseInt(String(a),10),g=parseInt(String(o),10);if(isNaN(f)||f<=0)throw new Error("Invalid size parameter");if(isNaN(g)||g<0)throw new Error("Invalid sizereply parameter");const m=d!=="prod"?`${l}${h}`:Ja(),p=new URLSearchParams({publication:e,path:t,size:f.toString(),sizereply:g.toString(),state:i});s&&p.append("id",s),r&&p.append("lastid",r);const y=`${m}${u}/newcomments/get?${p.toString()}`;try{console.log("Fetching comments from:",y);const{data:C}=await oe.get(y,{headers:{"x-api-token":c,"Cache-Control":"max-age=0, no-cache, no-store, must-revalidate",Pragma:"no-cache",Expires:"0"}});if(!C)throw new Error("No comments data received");return C.data||C||[]}catch(C){if(console.error("Error fetching comments:",C),oe.isAxiosError(C)){const N=C.response?.status,_=C.response?.data;throw N===404?new Error("Comments not found"):N===403?new Error("Access forbidden - check API token"):N===401?new Error("Unauthorized - invalid API token"):N===500?new Error("Internal server error from CMS"):new Error(_?.error||_?.message||`HTTP ${N}: Failed to fetch comments`)}throw C}}const{PUBLIC_PUBLICATION_ID:m1}=K(),g1=m1,p1=e=>{const[t,a]=E.useState(void 0);return E.useEffect(()=>{if(t)return;(async()=>{const{PUBLIC_X_SECURITY_TOKEN:s}=K();try{const r=await qn({publication:g1,path:e??"",size:5,sizereply:2,id:void 0,lastid:void 0,state:"5,6",apiToken:s});a(r??[])}catch(r){console.error(r),a({comments:[],morecomment:!1})}})()},[t]),{comments:t,setComments:a}},Sr=({username:e,date:t})=>n.jsxs("div",{className:"comment-header",children:[n.jsx("span",{className:"comment-username",children:e}),n.jsx("span",{className:"comment-header-dot",children:"•"}),n.jsx("span",{className:"comment-date",children:zd(ke(Number(t)))})]}),Nr=({user:e})=>n.jsx("div",{className:"comment-avatar",children:e.picture?n.jsx("img",{className:"comment-avatar-img",src:e.picture,alt:e.username}):e.firstname.charAt(0).toUpperCase()}),Er=({isReply:e=!1,onReply:t,onFlag:a})=>n.jsxs("div",{className:"comment-actions",children:[!e&&t&&n.jsx("button",{onClick:t,className:"comment-action-btn",children:n.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",children:[n.jsx("g",{clipPath:"url(#a)",children:n.jsx("path",{fill:"#4D4E4E",d:"M9.976 9V5l-6.983 7 6.983 7v-4.1c4.988 0 8.48 1.6 10.973 5.1-.997-5-3.99-10-10.973-11Z"})}),n.jsx("defs",{children:n.jsx("clipPath",{id:"a",children:n.jsx("path",{fill:"#fff",d:"M0 0h23.942v24H0z"})})})]})}),n.jsx("button",{onClick:a,className:"comment-action-btn",children:n.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:25,height:24,fill:"none",children:[n.jsx("g",{clipPath:"url(#a)",children:n.jsx("path",{fill:"#4D4E4E",d:"M20.133 2h-16c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2Zm0 14H5.303l-1.17 1.17V4h16v12Zm-9-11h2v6h-2V5Zm0 8h2v2h-2v-2Z"})}),n.jsx("defs",{children:n.jsx("clipPath",{id:"a",children:n.jsx("path",{fill:"#fff",d:"M.133 0h24v24h-24z"})})})]})})]}),Tr=({commentRef:e,captchaToken:t="",setIsDisabled:a})=>(E.useEffect(()=>{const o=e.current;if(!o)return;const s=()=>{const i=o.value.length;o.parentElement&&(o.parentElement.dataset.text=`${i}/${ut}`),o.classList.toggle("over-limit",i>ut),a(!Ca(e,t).boolean)};return o.addEventListener("input",s),s(),()=>o.removeEventListener("input",s)},[e,t,a]),n.jsxs("div",{children:[n.jsx("label",{className:"comment-input-label",children:"Comentario"}),n.jsx("textarea",{ref:e,name:"comment",placeholder:"Ingresa un comentario",rows:2})]})),Ir=({commentRef:e,captchaToken:t="",setCaptchaToken:a,children:o,CAPTCHA_KEY_V2:s})=>{const r=Ca(e,t);return n.jsxs("div",{className:"form-actions",children:[n.jsx(Cr,{sitekey:s,theme:"light",size:"normal",onChange:i=>a(i??""),onExpired:()=>a("")}),n.jsxs("div",{className:"submit-zone",children:[o,!r.boolean&&n.jsx("p",{className:"submit-warning",children:r.text})]})]})},kr=({onClick:e,isDisabled:t})=>{const[a,o]=E.useState(!1);return E.useEffect(()=>{let s=null;return a&&(s=setTimeout(()=>{o(!1)},2400)),()=>{s&&clearTimeout(s)}},[a]),a?n.jsx("div",{className:"success-gif-container",children:n.jsx("img",{className:"success-gif",src:"/Success.gif"})}):n.jsxs("button",{type:"button",onClick:async s=>{await e(s)&&o(!0)},id:"comment-button",className:`submit-btn ${t?"disabled":"active"}`,children:["Enviar Comentario",n.jsx("svg",{style:{minWidth:16},width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M1.39258 8.99997H12.5626L7.68258 13.88C7.29258 14.27 7.29258 14.91 7.68258 15.3C8.07258 15.69 8.70258 15.69 9.09258 15.3L15.6826 8.70997C16.0726 8.31997 16.0726 7.68997 15.6826 7.29997L9.10258 0.699971C8.71258 0.309971 8.08258 0.309971 7.69258 0.699971C7.30258 1.08997 7.30258 1.71997 7.69258 2.10997L12.5626 6.99997H1.39258C0.842578 6.99997 0.392578 7.44997 0.392578 7.99997C0.392578 8.54997 0.842578 8.99997 1.39258 8.99997Z",fill:"currentColor"})})]})},{PUBLIC_PUBLICATION_ID:A1}=K(),y1=A1,xr=async({path:e,ref:t,captchaToken:a,button:o,user:s,id:r,addComment:i})=>{const c=t.current?.value||"";if(!Ca(t,a).boolean||!s){const d=o.nextElementSibling;return d&&(d.style.display="block"),!1}try{const d=Date.now(),l=await fetch("/api/comments-add",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({publication:y1,path:e,id:r,username:s.username,comment:c,recaptchaResponse:a})});let h=null;try{h=await l.json()}catch(m){console.error("Error parsing JSON response:",m)}if(!l.ok)throw new Error(`Error al enviar comentario: ${h?.message} status: ${l.status}`);const u=Date.now(),f=Math.max(0,2400+Math.abs(u-d)),g={username:s.username,firstname:s.firstname,...s.lastname&&{lastname:s.lastname},...s.picture&&{picture:s.picture}};return i({id:u.toString(),text:c,user:g,date:{time:Date.now()},reply:[]}),t.current&&(t.current.value=""),f}catch(d){return console.error("Error enviando comentario:",d),alert(d.message||"Error al enviar el comentario."),!1}},w1=({replyingTo:e,commentRef:t,user:a,path:o,addReply:s,closeForm:r,CAPTCHA_KEY_V2:i})=>{const[c,d]=E.useState(!0),[l,h]=E.useState(""),u=()=>{t.current?.parentElement&&(t.current.parentElement.dataset.text=`0/${ut}`),d(!0),r()};return n.jsxs("div",{className:"comment-form reply-form",children:[n.jsx("button",{className:"close-reply-form",onClick:u,children:n.jsx(wt,{})}),n.jsx(Tr,{commentRef:t,captchaToken:l,setIsDisabled:d}),n.jsx(Ir,{commentRef:t,captchaToken:l,setCaptchaToken:h,CAPTCHA_KEY_V2:i,children:n.jsx(kr,{onClick:async f=>{if(c)return;const g=await xr({path:o,ref:t,captchaToken:l,button:f.currentTarget,user:a,id:e,addComment:s});return g&&typeof g=="number"?(setTimeout(()=>{u()},g),!0):!1},isDisabled:c})})]})},b1=({reply:e,replyingTo:t,user:a,onFlag:o})=>{const s=e.text;let r=`${Ke.firstname} ${Ke.lastname}`,i=Ke.username;return e.user&&(r=`${e.user.firstname} ${e.user.lastname}`,i=e.user.username),n.jsx("div",{className:"comment-item reply",children:n.jsxs("div",{className:"comment-header-container",children:[n.jsx(Nr,{user:e.user?e.user:Ke}),n.jsxs("div",{style:{flex:1},children:[n.jsx(Sr,{username:r,date:e.date.time}),n.jsxs("div",{className:"comment-reply-to",children:["Respondiendo a ",n.jsx("strong",{children:t})]}),n.jsx("p",{className:"comment-text",children:s}),a?.username.toLowerCase()!==i.toLowerCase()&&n.jsx(Er,{isReply:!0,onFlag:()=>o(e.id)})]})]})})},v1=({comment:e,replyingTo:t,path:a,user:o,handleReplyingTo:s,onFlag:r,CAPTCHA_KEY_V2:i})=>{const c={morereply:e.morereply??!1,reply:e.reply?e.reply:[]},[d,l]=E.useState(c),[h,u]=E.useState(!1),{PUBLIC_PUBLICATION_ID:f,PUBLIC_X_SECURITY_TOKEN:g}=K(),m=e.text,p=E.useRef(null);let y=`${Ke.firstname} ${Ke.lastname}`,C=Ke.username;e.user&&(y=`${e.user.firstname} ${e.user.lastname}`,C=e.user.username);const N=_=>{l({morereply:d.morereply,reply:[_,...d.reply]})};return n.jsx("div",{className:"comment-item",children:n.jsxs("div",{className:"comment-header-container","data-hasreplies":d.reply.length>0?"true":"false",children:[n.jsx(Nr,{user:e.user?e.user:Ke}),n.jsxs("div",{style:{flex:1},children:[n.jsx(Sr,{username:y,date:e.date.time}),n.jsx("p",{className:"comment-text",children:m}),o?.username.toLowerCase()!==C.toLowerCase()&&n.jsx(Er,{onReply:()=>s(e.id),onFlag:()=>r(e.id)}),t===e.id&&o&&n.jsx(w1,{replyingTo:t,commentRef:p,addReply:N,user:o,path:a,CAPTCHA_KEY_V2:i,closeForm:()=>s("")}),d.reply.length>0&&n.jsxs("div",{className:"comment-replies",children:[d.reply.map(_=>n.jsx(b1,{user:o,reply:_,replyingTo:y,onFlag:r},_.id)),h?n.jsx("div",{style:{marginLeft:"4rem",position:"relative"},children:n.jsx(Je,{})}):d.morereply&&n.jsx("button",{className:"comment-replies-button reply-button",onClick:async()=>{const _=d.reply[d.reply.length-1]?.id;u(!0);try{const v=await qn({publication:f??"",path:a??"",size:2,sizereply:2,id:e.id,lastid:_,state:"5,6",apiToken:g??""});u(!1),l({morereply:v.morecomment,reply:[...d.reply,...v.comments]})}catch(I){throw u(!1),new Error(`Error al obtener comentarios: ${I}`)}},children:"Más Respuestas"})]})]})]})})},C1=({commentRef:e,user:t,path:a,addComment:o,CAPTCHA_KEY_V2:s})=>{const[r,i]=E.useState(!0),[c,d]=E.useState("");return n.jsxs("div",{className:"comment-form",children:[n.jsx(Tr,{commentRef:e,captchaToken:c,setIsDisabled:i}),n.jsx(Ir,{CAPTCHA_KEY_V2:s,commentRef:e,captchaToken:c,setCaptchaToken:d,children:n.jsx(kr,{onClick:async l=>{if(r)return;const h=await xr({path:a,ref:e,captchaToken:c,button:l.currentTarget,user:t,addComment:o});return h&&typeof h=="number"?(e.current?.parentElement&&(e.current.parentElement.dataset.text=`0/${ut}`),i(!0),setTimeout(()=>{e.current?.parentElement&&(e.current.parentElement.dataset.text=`0/${ut}`),i(!0)},h),!0):!1},isDisabled:r})})]})},{PUBLIC_PUBLICATION_ID:_1,PUBLIC_X_SECURITY_TOKEN:S1}=K(),Ur=_1??"",N1=({isAuthenticated:e,path:t,user:a,handleLogout:o,COMMENTS_VARS:s})=>{const r=t.replaceAll("/","|"),[i,c]=E.useState(void 0),[d,l]=E.useState(""),{comments:h,setComments:u}=p1(r),[f,g]=E.useState(!1),m=E.useRef(null),p=k=>{l(d===k?"":k)},y=k=>{u(h?{...h,comments:[k,...h.comments??[]]}:void 0)},C=k=>{c(k)},N=async()=>{if(!h||!h.morecomment||h.comments.length===0)return;const k=h.comments[h.comments.length-1];if(!k)return;g(!0);const G=k.id;try{const $=await qn({publication:Ur,path:r??"",size:5,sizereply:2,id:void 0,lastid:G,state:"5,6",apiToken:S1});u({morecomment:$.morecomment??!1,comments:[...h.comments,...$.comments]}),g(!1)}catch($){throw g(!1),new Error(`Error al obtener comentarios: ${$}`)}},_=h?.comments&&h.comments.length>0,I=_?"Comparte tu opinión de este artículo.":"Se el primero en compartir tu opinión de este artículo.",v=n.jsx("div",{style:{display:"flex",width:"100%",justifyContent:"center"},children:n.jsx(Je,{})});return n.jsxs(n.Fragment,{children:[n.jsx("div",{className:"comments-container",children:n.jsx(he,{title:_||e?"COMENTARIOS":!1,children:n.jsxs(n.Fragment,{children:[e&&a&&n.jsxs("div",{className:"comments-header",children:[n.jsx(Gd,{user:a,handleLogout:o,message:I}),n.jsx(C1,{commentRef:m,user:a,addComment:y,path:r,CAPTCHA_KEY_V2:s.CAPTCHA_KEY_V2})]}),h?h.comments&&h.comments.length>0?n.jsxs("div",{className:"comments-list","data-isauthenticated":`${e}`,children:[h.comments.map(k=>n.jsx(v1,{comment:k,replyingTo:d,handleReplyingTo:p,onFlag:C,user:a??Ke,path:r,CAPTCHA_KEY_V2:s.CAPTCHA_KEY_V2},k.id)),f&&v]}):null:v,h?.morecomment&&!f&&n.jsx("button",{className:"comment-replies-button",onClick:N,children:"Más"})]})})}),n.jsx(f1,{username:a?.username??void 0,publication:Ur,commentId:i,isOpen:i!==void 0,onClose:()=>c(void 0),CAPTCHA_KEY_V2:s.CAPTCHA_KEY_V2})]})},E1=async(e,t)=>{if(!e)throw new Error("No action provided");if(!t)throw new Error("No site key provided");const a=window.grecaptcha;if(!a?.enterprise)throw new Error("grecaptcha not loaded");return new Promise((o,s)=>{a.enterprise.ready(async()=>{try{const r=await a.enterprise.execute(t,{action:e});if(!r)throw new Error("Captcha token no generado");o(r)}catch(r){s(r)}})})},Lr={email:{label:"Email",required:!0},given_name:{label:"Nombre",required:!0},family_name:{label:"Apellido",required:!0},password:{label:"Contraseña",required:!0},confirmPassword:{label:"Confirmar contraseña",required:!0}},Bn=[{label:"La contraseña debe tener al menos 8 caracteres",test:e=>e.length>=8},{label:"Usa un número",test:e=>/\d/.test(e)},{label:"Usa una letra minúscula",test:e=>/[a-z]/.test(e)},{label:"Usa una letra mayúscula",test:e=>/[A-Z]/.test(e)},{label:"Usa un símbolo",test:e=>/[^A-Za-z0-9]/.test(e)}];function T1({goToLogin:e,handleGoogleLogin:t,CAPTCHA_KEY:a}){const[o,s]=E.useState({}),[r,i]=E.useState(!1),[c,d]=E.useState(!1),[l,h]=E.useState(null),[u,f]=E.useState("register"),g=(C,N)=>{s(_=>({..._,[C]:N}))},m=async C=>{C.preventDefault(),h(null),d(!0);try{const N=Object.keys(Lr).filter($=>!["username","password","confirmPassword"].includes($)).map($=>({Name:$,Value:o[$]}));if(N.some($=>{if(!$.Value||$.Value.trim()==="")return!0}))return d(!1),h("Complete todos los campos");if(o.password!==o.confirmPassword){h("Las contraseñas no coinciden");return}const _=o.password||"";if(Bn.some($=>!$.test(_))){h("La contraseña no es válida");return}const v=Math.floor(Date.now()/1e3);N.push({Name:"updated_at",Value:String(v)});const k="token",G=await fetch("/api/auth/create-user",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({username:o.email,password:o.password,userAttributes:N,token:k})});if(!G.ok){const $=await G.json().catch(()=>({}));if($.code==="UsernameExistsException"){await fetch("/api/auth/resend-code",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({username:o.email})}),f("confirm");return}throw new Error($?.error||"Error al crear usuario")}f("confirm")}catch(N){console.log(N),h(N?.message||N?.error||"Error inesperado")}finally{d(!1)}},p=async C=>{if(C.preventDefault(),!o.confirmationCode){h("Debes ingresar el código de verificación");return}h(null),d(!0);try{const N=await fetch("/api/auth/confirm-user",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({username:o.email,code:o.confirmationCode})});if(!N.ok){const _=await N.json().catch(()=>({}));throw new Error(_?.error||"Error al confirmar usuario")}f("success")}catch(N){h(N?.message||"Error inesperado")}finally{d(!1)}},y=o.password||"";return n.jsxs(n.Fragment,{children:[u==="register"&&n.jsxs(n.Fragment,{children:[n.jsxs("button",{onClick:t,className:x.google,children:[n.jsx("img",{src:"https://www.gstatic.com/firebasejs/ui/2.0.0/images/auth/google.svg",alt:"",className:x.googleIcon}),n.jsx("span",{children:"Continuar con Google"})]}),n.jsx("div",{className:x.divider,children:n.jsx("span",{children:"o"})}),n.jsxs("form",{onSubmit:m,className:x.form,"data-error":l?"true":"false",children:[n.jsx("ul",{className:x.formUl,children:Object.entries(Lr).map(([C,{label:N}])=>n.jsxs("div",{className:x.field,children:[n.jsx("label",{className:x.label,children:N}),n.jsx("input",{type:C.toLowerCase().includes("password")?r?"text":"password":C==="birthdate"?"date":C==="email"?"email":C==="phone_number"?"tel":"text",name:C,value:o[C]||"",onChange:_=>g(C,_.target.value),className:x.input,placeholder:""}),C==="password"&&n.jsx("div",{className:x.passwordChecker,children:Bn.map((_,I)=>{const v=_.test(y);return n.jsxs("div",{className:v?x.valid:x.invalid,children:[n.jsx("div",{children:v?"✔":"○"}),n.jsx("div",{children:_.label})]},I)})}),C==="confirmPassword"&&n.jsxs("div",{className:x.checkboxRow,children:[n.jsx("input",{id:"showPasswordRegister",type:"checkbox",checked:r,onChange:_=>i(_.target.checked)}),n.jsx("label",{htmlFor:"showPasswordRegister",className:x.checkboxLabel,children:"Mostrar contraseñas"})]})]},C))}),l&&n.jsx("p",{className:x.error,children:l}),n.jsxs("p",{className:x.terms,children:["Al continuar, confirmo que he leído y aceptado los",n.jsx("a",{href:"/pages/politicas-de-privacidad.html",target:"_blank",children:"Términos y Condiciones"}),"de nuestra comunidad"]}),n.jsx("button",{type:"submit",className:x.primary,disabled:c,children:c?n.jsx(Je,{}):"Crear cuenta"})]})]}),u==="confirm"&&n.jsxs("form",{onSubmit:p,className:x.form,"data-error":l?"true":"false",children:[n.jsxs("div",{className:x.field,children:[n.jsx("label",{className:x.label,children:"Código de verificación"}),n.jsx("input",{type:"text",name:"confirmationCode",value:o.confirmationCode||"",onChange:C=>g("confirmationCode",C.target.value),className:x.input,required:!0})]}),l&&n.jsx("p",{className:x.error,children:l}),n.jsx("button",{type:"submit",className:x.primary,disabled:c,children:c?n.jsx(Je,{}):"Confirmar cuenta"}),n.jsxs("p",{className:x.switch,children:["¿Ya confirmaste antes?",n.jsx("button",{type:"button",onClick:e,children:"Iniciar sesión"})]})]}),u==="success"&&n.jsxs("form",{className:x.form,children:[n.jsxs("div",{className:x.successContainer,children:[n.jsx("div",{className:x.thumbsUp,children:n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:132,height:120,fill:"none",children:n.jsx("path",{fill:"#0073BE",d:"M119.249 42.357H81.915l5.621-27.039.177-1.893a8.906 8.906 0 0 0-2.603-6.272L78.838.941 39.907 39.93c-2.19 2.13-3.491 5.089-3.491 8.343v59.167c0 6.508 5.325 11.833 11.833 11.833h53.25c4.911 0 9.112-2.958 10.887-7.218l17.868-41.713c.533-1.36.829-2.78.829-4.32V54.192c0-6.509-5.325-11.834-11.834-11.834Zm0 23.667-17.75 41.417h-53.25V48.274l25.679-25.678L67.36 54.19h51.889v11.833ZM.916 48.274h23.667v71H.916v-71Z"})})}),n.jsxs("div",{className:x.successMessage,children:[n.jsx("p",{children:"Confirmación completa."}),n.jsx("p",{children:"Ya eres parte de la comunidad!"})]})]}),n.jsx("button",{onClick:e,className:x.primary,children:"Iniciar sesión"})]}),u==="register"&&n.jsxs("p",{className:x.switch,children:["¿Ya tenés cuenta?",n.jsx("button",{type:"button",onClick:e,children:"Iniciar sesión"})]})]})}function I1({onClose:e,checkAuth:t,goToRegister:a,handleGoogleLogin:o,CAPTCHA_KEY:s}){const[r,i]=E.useState("login"),[c,d]=E.useState(""),[l,h]=E.useState(""),[u,f]=E.useState(""),[g,m]=E.useState(""),[p,y]=E.useState(""),[C,N]=E.useState(!1),[_,I]=E.useState(!1),[v,k]=E.useState(null);console.log("CAPTCHA_KEY",s);const G=async H=>{if(!_){H.preventDefault(),k(null),I(!0);try{console.log(!0,s);const D="token",R=await fetch("/api/auth/login-password",{method:"POST",headers:{"Content-Type":"application/json"},credentials:"include",body:JSON.stringify({email:c,password:l,token:D})});if(!R.ok){const ie=await R.json().catch(()=>({}));throw new Error(ie?.error||"Ha ocurrido un error")}e(),await t()}catch(D){k(D?.message||"Error inesperado")}finally{I(!1)}}},$=async H=>{if(!_){H.preventDefault(),k(null),I(!0);try{const D=await fetch("/api/auth/forgot-password",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:c})});if(!D.ok){const R=await D.json().catch(()=>({}));throw new Error(R?.error||"Error al enviar código")}h(""),i("changePassword")}catch(D){k(D?.message||"Error inesperado")}finally{I(!1)}}},ee=async H=>{if(_)return;if(H.preventDefault(),g!==p){k("Las contraseñas no coinciden");return}if(Bn.some(R=>!R.test(g))){k("La contraseña no cumple con los requisitos");return}k(null),I(!0);try{const R=await fetch("/api/auth/confirm-forgot-password",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:c,code:u,newPassword:g})});if(!R.ok){const ie=await R.json().catch(()=>({}));throw new Error(ie?.error||"Error al cambiar contraseña")}i("feedback")}catch(R){k(R?.message||"Error inesperado")}finally{I(!1)}};return n.jsxs(n.Fragment,{children:[r==="login"&&n.jsx(k1,{email:c,password:l,showPassword:C,loading:_,error:v,setEmail:d,setPassword:h,setShowPassword:N,onSubmit:G,onForgot:()=>{k(null),i("forgot")},onRegister:a,handleGoogleLogin:o}),r==="forgot"&&n.jsx(x1,{email:c,setEmail:d,loading:_,error:v,onSubmit:$,onBack:()=>{k(null),i("login")}}),r==="changePassword"&&n.jsx(U1,{email:c,confirmationCode:u,newPassword:g,confirmNewPassword:p,showPassword:C,loading:_,error:v,setConfirmationCode:f,setNewPassword:m,setConfirmNewPassword:y,setShowPassword:N,onSubmit:ee,onBack:()=>{k(null),i("forgot")}}),r==="feedback"&&n.jsx(L1,{onBackToLogin:()=>{k(null),i("login")}})]})}function k1({email:e,password:t,showPassword:a,loading:o,error:s,setEmail:r,setPassword:i,setShowPassword:c,onSubmit:d,onForgot:l,onRegister:h,handleGoogleLogin:u}){return n.jsxs(n.Fragment,{children:[n.jsxs("button",{onClick:u,className:x.google,children:[n.jsx("img",{src:"https://www.gstatic.com/firebasejs/ui/2.0.0/images/auth/google.svg",alt:"",className:x.googleIcon}),n.jsx("span",{children:"Continuar con Google"})]}),n.jsx("div",{className:x.divider,children:n.jsx("span",{children:"o"})}),n.jsxs("form",{onSubmit:d,className:x.form,"data-error":s?"true":"false",children:[n.jsxs("div",{className:x.field,children:[n.jsx("label",{className:x.label,children:"Email"}),n.jsx("input",{type:"email",value:e,onChange:f=>r(f.target.value),className:x.input,placeholder:""})]}),n.jsxs("div",{className:x.field,children:[n.jsx("label",{className:x.label,children:"Contraseña"}),n.jsx("input",{type:a?"text":"password",value:t,onChange:f=>i(f.target.value),className:x.input,placeholder:""}),n.jsxs("div",{className:x.checkboxRow,children:[n.jsx("input",{id:"showPasswordLogin",type:"checkbox",checked:a,onChange:f=>c(f.target.checked)}),n.jsx("label",{htmlFor:"showPasswordLogin",className:x.checkboxLabel,children:"Mostrar contraseña"})]})]}),s&&n.jsx("p",{className:x.error,children:s}),n.jsx("button",{type:"submit",className:x.primary,disabled:o,children:o?n.jsx(Je,{}):"Iniciar Sesión"})]}),n.jsxs("p",{className:x.switch,children:["¿No tenés cuenta?",n.jsx("button",{type:"button",onClick:h,children:"Registrate"})]}),n.jsx("button",{type:"button",className:x.forgotPassword,onClick:l,children:"Olvidé mi contraseña"})]})}function x1({email:e,setEmail:t,loading:a,error:o,onSubmit:s,onBack:r}){return n.jsxs("form",{onSubmit:s,className:x.form,"data-error":o?"true":"false",children:[n.jsx("p",{className:x.message,children:"Ingrese su dirección de correo electrónico. Le enviaremos un mensaje con un código para restablecer la contraseña."}),n.jsxs("div",{className:x.field,children:[n.jsx("label",{className:x.label,children:"Email"}),n.jsx("input",{type:"email",value:e,name:"email",onChange:i=>t(i.target.value),className:x.input,placeholder:""})]}),o&&n.jsx("p",{className:x.error,children:o}),n.jsx("button",{type:"submit",className:x.primary,disabled:a,children:a?n.jsx(Je,{}):"Enviar código"}),n.jsx("p",{className:x.switch,children:n.jsx("button",{type:"button",onClick:r,children:"Volver"})})]})}function U1({email:e,confirmationCode:t,newPassword:a,confirmNewPassword:o,showPassword:s,loading:r,error:i,setConfirmationCode:c,setNewPassword:d,setConfirmNewPassword:l,setShowPassword:h,onSubmit:u,onBack:f}){return n.jsxs("form",{onSubmit:u,className:x.form,"data-error":i?"true":"false",children:[n.jsxs("p",{className:x.message,children:["Hemos enviado un código de restablecimiento de contraseña en un mensaje de Correo electrónico a ",Vd(e),". Ingrese el código y la contraseña nueva."]}),n.jsxs("ul",{className:x.formUl,children:[n.jsxs("div",{className:x.field,children:[n.jsx("label",{className:x.label,children:"Código de verificación"}),n.jsx("input",{type:"text",value:t,onChange:g=>c(g.target.value),className:x.input,placeholder:""})]}),n.jsxs("div",{className:x.field,children:[n.jsx("label",{className:x.label,children:"Nueva contraseña"}),n.jsx("input",{type:s?"text":"password",value:a,onChange:g=>d(g.target.value),className:x.input,placeholder:"",name:"password"}),n.jsx("div",{className:x.passwordChecker,children:Bn.map((g,m)=>{const p=g.test(a);return n.jsxs("div",{className:p?x.valid:x.invalid,children:[n.jsx("div",{children:p?"✔":"○"}),n.jsx("div",{children:g.label})]},m)})})]}),n.jsxs("div",{className:x.field,children:[n.jsx("label",{className:x.label,children:"Confirmar contraseña"}),n.jsx("input",{type:s?"text":"password",value:o,onChange:g=>l(g.target.value),className:x.input,placeholder:""}),n.jsxs("div",{className:x.checkboxRow,children:[n.jsx("input",{id:"showPasswordForgot",type:"checkbox",checked:s,onChange:g=>h(g.target.checked)}),n.jsx("label",{htmlFor:"showPasswordForgot",className:x.checkboxLabel,children:"Mostrar contraseñas"})]})]})]}),i&&n.jsx("p",{className:x.error,children:i}),n.jsx("button",{type:"submit",className:x.primary,style:{maxWidth:r?"revert-layer":"fit-content"},disabled:r,children:r?n.jsx(Je,{}):"Cambiar contraseña"}),n.jsx("p",{className:x.switch,children:n.jsx("button",{type:"button",onClick:f,children:"Volver"})})]})}function L1({onBackToLogin:e}){return n.jsxs("div",{className:x.form,children:[n.jsx("p",{className:x.success,children:"La contraseña fue cambiada con éxito"}),n.jsx("button",{type:"button",className:x.primary,onClick:e,children:"Iniciar Sesión"})]})}function q1({loginUrl:e,onClose:t,checkAuth:a,icon:o,COMMENTS_VARS:s}){const[r,i]=E.useState("login"),c=async()=>{{await fetch("/api/auth/debug-login",{method:"GET",credentials:"include"}),localStorage.setItem("cognito-login","success:"+Date.now()),t(),a();return}};return n.jsx("div",{className:x.overlay,role:"dialog","aria-modal":"true",id:"pop-overlay",onClick:d=>{const l=d.target;l&&l.id==="pop-overlay"&&t()},children:n.jsxs("div",{className:x.card,children:[n.jsxs("header",{className:x.header,children:[n.jsx("div",{className:x.logo,children:o?o():null}),n.jsx("button",{onClick:t,className:x.close,"aria-label":"Cerrar",children:n.jsx(wt,{})})]}),r==="login"&&n.jsx(I1,{onClose:t,checkAuth:a,handleGoogleLogin:c,goToRegister:()=>i("register"),CAPTCHA_KEY:s.CAPTCHA_KEY}),r==="register"&&n.jsx(T1,{handleGoogleLogin:c,goToLogin:()=>i("login"),CAPTCHA_KEY:s.CAPTCHA_KEY})]})})}function B1({isAuthenticated:e,setIsAuthenticated:t,loginUrl:a,user:o,path:s,checkAuth:r,icon:i,COMMENTS_VARS:c}){const[d,l]=E.useState(!1),h=async()=>{await fetch("/api/auth/logout",{method:"GET",credentials:"include"}),t(!1)},u=async f=>{f.preventDefault(),a&&l(!0)};return n.jsxs(n.Fragment,{children:[d&&n.jsx(q1,{loginUrl:a,icon:i,checkAuth:r,COMMENTS_VARS:c,onClose:()=>{l(!1)}}),!e&&n.jsxs("div",{className:"auth-container",children:[n.jsx("p",{children:"Sumate a la comunidad para dejar tu comentario"}),n.jsx("a",{href:a,onClick:u,className:"login-button",children:"Iniciar Sesión"})]}),n.jsx(N1,{isAuthenticated:e,handleLogout:h,path:s,user:e?o:void 0,COMMENTS_VARS:c})]})}function P1({isVisible:e,path:t,icon:a,COMMENTS_VARS:o}){const[s,r]=E.useState(null),[i,c]=E.useState(null),d=o?.COGNITO_AUTH_PREFIX??"ASTRO_",l=E.useCallback(async()=>{if(e){if(console.log(d),document.cookie.search(d+"IS_AUTH=true")===-1){r(!1),c(null),console.log("user not logged");return}try{const g=await(await fetch("/api/auth/user",{credentials:"include"})).json();r(g.isAuthenticated??!1),c(g.user??null)}catch(f){console.error("Error checking auth:",f),r(!1),c(null)}}},[e,d]);E.useEffect(()=>{l()},[l,e]),E.useEffect(()=>{if(!i||!e||typeof window>"u")return;const f=window;if(typeof f!="function"){console.warn("gtag no está disponible todavía");return}f.gtag("set",{user_id:i.username}),console.log("username setted successfully")},[i,e]);const h="/api/auth/login",u=n.jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",minHeight:310,position:"relative"},children:n.jsx(Je,{})});return s===null?u:e?n.jsx(B1,{icon:a,isAuthenticated:s,setIsAuthenticated:r,loginUrl:h,user:i??void 0,checkAuth:l,path:t,COMMENTS_VARS:o}):u}const O1=({render:e,internalPath:t,section:a,currentNews:o,stylesConfig:s,icon:r,isVisibleDefault:i=!1,COMMENTS_VARS:c})=>{const d=E.useRef(null),[l,h]=E.useState(i);E.useEffect(()=>{if(i||l)return;const f=new IntersectionObserver(([g])=>{g?.isIntersecting&&(h(!0),f.disconnect())},{rootMargin:"0px",threshold:.1});return d.current&&f.observe(d.current),()=>f.disconnect()},[]);const u={comment:n.jsx(P1,{path:t,icon:r,isVisible:l,COMMENTS_VARS:c}),more:n.jsx(Md,{section:a,currentNews:o,stylesConfig:s,isVisible:l})};return n.jsx("div",{ref:d,suppressHydrationWarning:!0,style:{...s?s["Modulo 1x3 Client"]?s["Modulo 1x3 Client"]:s["Modulo 1x3"]:{}},children:u[e]})};async function D1({publication:e,path:t,username:a,comment:o,id:s,recaptchaResponse:r,baseUrl:i,apiToken:c,securityToken:d,COMMENTS_VARS:l}){if(console.log("Adding comment with data:",{publication:e,path:t,username:a,comment:o,id:s,recaptchaResponse:r}),!e||!t||!o||!a)return{type:"error",message:"Faltan campos obligatorios. Por favor, completa todos los campos.",status:400};if([e,t,o,a].some(m=>typeof m!="string"))return{type:"error",message:"Datos inválidos. Intenta de nuevo.",status:400};if(!a.trim())return{type:"error",message:"El nombre no puede estar vacío.",status:400};if(!o.trim())return{type:"error",message:"El comentario no puede estar vacío.",status:400};const h=await cr(r,l);if(console.log("Verifying captcha token...",h),!h)return{type:"error",message:"Captcha inválido. Intenta nuevamente.",status:403};const u=`${i}/system/modules/com.tfsla.diario.base/templates/hit/5.0/1/newcomments/add`,f={publication:e,path:t.replace(/\|/gi,"/"),username:a??!1,text:o.trim()};s&&(f.id=s);const g=new URLSearchParams(f);try{const{data:m}=await oe.get(`${u}?${g.toString()}`,{headers:{"Content-Type":"application/json","x-security-token":d,"x-api-token":c,"User-Agent":"amplifyapp-comments-saas"}});return!m||m.error?(console.error("CMS error response:",m),{type:"error",message:"No se pudo guardar el comentario. Intenta nuevamente en unos minutos.",status:502}):(console.log("Comentario enviado con éxito",m),{type:"success",message:"Comentario enviado con éxito.",status:200})}catch(m){if(console.error("Error enviando comentario:",m),oe.isAxiosError(m)){const p=m.response?.status??500,y=m.response?.data;return p===400?{type:"error",message:y?.message||"Solicitud inválida. Verifica que los campos sean correctos.",status:400}:p===403?{type:"error",message:"Captcha inválido o acceso prohibido.",status:403}:p===500?{type:"error",message:"Error interno del servidor del CMS.",status:500}:{type:"error",message:y?.message||"No se pudo enviar el comentario.",status:p}}return{type:"error",message:"Error inesperado. Intenta nuevamente.",status:500}}}const M1=async({token:e,projectId:t,captchaKey:a,apiKey:o,captchaAction:s})=>{if(!e)throw new Error("No token provided");if(!t||!a||!o)throw new Error("Missing project ID or site key");if(!s)throw new Error("No action provided");try{const i=await(await fetch(`https://recaptchaenterprise.googleapis.com/v1/projects/${t}/assessments?key=${o}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({event:{token:e,siteKey:a,expectedAction:s}})})).json();if(!i?.tokenProperties?.valid)throw new Error(`The token was: ${i?.tokenProperties?.invalidReason}`);if(i.tokenProperties.action!==s)throw new Error("The action attribute in your reCAPTCHA tag does not match the action you are expecting to score");return i?.riskAnalysis?.score??0}catch(r){throw console.error("Recaptcha verification failed",r),new Error(String(r))}};w.AssetsPreconnect=no,w.AutorComponent=xd,w.AutorHeader1=Ss,w.AutorHeader2=Ns,w.BannerAdvertising=fe,w.BannerAdvertisingMiddle=Qe,w.CarrouselCSR=Vc,w.CarrouselIRS=it,w.CarruselCard=zs,w.CarruselOpinion=Fs,w.CommonServices=je,w.Comscore=Ma,w.ContactInfoServer=$l,w.ContactInput=vl,w.ContactSelect=Cl,w.ContactTextarea=_l,w.ContentLayout1=yt,w.ContentLayoutTema=sa,w.DEBUG_MainSlots=Cd,w.DestacadoNoticias=Ps,w.DestacadoVideos=Gs,w.DynamicBlockServices=ns,w.DynamicComponents=vd,w.DynamicMainSlot=Tn,w.DynamicSlot=ba,w.EditorialBlock=Ol,w.ErrorComponent=bl,w.Font=mo,w.Footer=ul,w.FormatAfterScripts=to,w.FormatScripts=Qn,w.GA4=ja,w.GTM=Qa,w.GalleryHeader=ya,w.GenerateBody=Gc,w.GenerateHead=Qc,w.Header=Ul,w.IframeHeader=Rs,w.ImageOffline=us,w.ImageOnline=_e,w.ImageOnlineClient=hs,w.IssuuServices=Oc,w.ItemListSchema=io,w.JournalistArticule2=xs,w.JournalistGroup=Us,w.LayoutNewsComponent=ia,w.LazyLoader=O1,w.LinkComponent=P,w.LiveBlogHeader=Cs,w.Location=zc,w.MainComponentServices=ui,w.Marfeel=Ga,w.MiddleSection=Ze,w.Modulo1x3=fa,w.Modulo1x3Card=Hs,w.Modulo1x4=js,w.Modulo1x5=Qs,w.Modulo2Columnas=Dl,w.Modulo3Columnas=Ds,w.ModuloNewsletter=Ml,w.ModuloOpinion=Pl,w.NewListResponseDataPH=rr,w.NewsArticle=lo,w.NewsComponent=Sd,w.NewsContent=yn,w.NewsDescriptionComponent=ct,w.NextPrev=Ot,w.OrgList=ho,w.PreloadImages=$n,w.REPORT_REASONS=Me,w.Readest=fn,w.ScriptHydrator=Pd,w.SearchSection=kd,w.Section=he,w.SectionCard=Oe,w.SectionCard2=Mt,w.SectionCardServerComponent=Sn,w.SectionServerComponent=Gl,w.ShowSection=ss,w.SocialNetworks=Ys,w.SpeculationRules=ro,w.StaticSlotWrapper=bd,w.SubscribeColumn=ps,w.SubscribeRow=As,w.SubscribeWhatsAppColumn=ol,w.TagComponent=Td,w.TagSection=ks,w.TimeLine=_s,w.TrimPathname=oi,w.VideoBlock3=wl,w.VideoBlock4=Nl,w.VideoEmbeddedHeader=Zs,w.VideoSection=Bd,w.VideoYoutubeHeader=Xs,w.VideosSchemas=fo,w.WebsiteList=uo,w.addComment=D1,w.bannersReplace=Xt,w.becomeVideoObject=mt,w.buildTagUrl=at,w.coloringByStrokeSVGs=ys,w.compileStyleProps=En,w.cutString=xe,w.extractRealtedNews=ti,w.formatDate=ke,w.formatDateEdiciones=ei,w.formatDateJournalistArticule=Dn,w.formatDateTimeline=Ya,w.formatNewsMeta=Za,w.formatVideoData=ao,w.generalGetData=jc,w.getCaptchaToken=E1,w.getComments=_r,w.getConfig=K,w.getDynamicSlots=Dc,w.getEnvironmentUrl=Et,w.getEnvironmentUrlFront=Ja,w.getHydratorPath=ci,w.getImageUrl=ue,w.getNextMeta=Tt,w.getPage=kt,w.getPlayIcon=un,w.getPreloadImages=hi,w.getPrevMeta=It,w.getReportReasonLabel=Hd,w.getResponse=Mn,w.getResponsePromise=Ka,w.getSchemas=Rt,w.getScriptReplaces=Hn,w.getSlugs=po,w.getTypeOfNews=ri,w.getVideoRealPath=ii,w.handleGetComments=qn,w.initLibrary=Or,w.metadataToJSX=eo,w.metadata_defaults=as,w.parseTags=jn,w.pathnameSplit=Xa,w.processExtractedRelatedNews=ni,w.removePages=go,w.reportComment=$d,w.shareButtons=ws,w.socialIcons=gn,w.speculationRules=so,w.speculationRulesHome=oo,w.urlReplaces=Ra,w.usePlayIcon=ta,w.verifyCaptchaTokenEnterprise=M1,Object.defineProperty(w,Symbol.toStringTag,{value:"Module"})}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sass-template-common",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"