1"use strict";(this.webpackChunkFusion_components=this.webpackChunkFusion_components||[]).push([[328],{8548:function(e,r,t){t.r(r);t(809);var o=t(9894),n=t.n(o),l=t(4321),s=t(7382),a=t(1445),i=t(8203),c=t(9319),u=t(3607),d=t(136),g=t(4640),h=t(2753),p=t(4935),m=t(225),b=t(7312),y=t(8135),f=t(4766);function w(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,o)}return t}function v(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?w(Object(t),!0).forEach(function(r){x(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):w(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function x(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var o=t.call(e,r||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}const j={light:{color:"var(--headlines)",backgroundColor:"var(--gray-10)",borderColor:"var(--gray-40)"},dark:{color:"#e8eaed",backgroundColor:"#1c1b1f",borderColor:"#1c1b1f"}},C={Default:"","Mundial 2026":" ctn-theme-mundial-2026"},k=({customFields:e={},data:r={}})=>{const{metaValue:t}=(0,l.useFusionContext)(),{dataGallery:o={},dataStory:n={}}=r||{},{showContentCentered:w=!1,enableLink:x=!0,customLink:k="",showTitle:O=!0,customTitle:S="",headlineFontSize:D="default",showDeck:A=!0,customDeck:P="",showAuthor:T=!0,showOpinionAuthorStyle:L=!1,showCorrespondentSignature:N=!1,customAuthor:_="",correspondentSignature:$="",showDate:F=!1,showIsLive:E=!1,theme:I="Default",logoUrl:z="https://infobae-static.infobae.com/assets/images/sports/soccer/background/LogoMundial2026Gallery.svg",logoTitle:B="Mundial",showLogo:M=!1,color:G="light",customColorBackground:K="",customColorText:R="",customColorBorder:U=""}=e||{},{website_url:V=""}=n||{};if((0,b.RI)(o))return null;const q=(0,b.O2)(),J=w?" centered":"",H=x?k||V:"",Q=H?"a":"div",W=C[I]||"",X={modules:[a.Vx,a.Jq,a.dK],navigation:{nextEl:`.next-${q}`,prevEl:`.prev-${q}`},pagination:{clickable:!0},slidesPerView:1,spaceBetween:0},Y=(e,r)=>"custom"===G?(0,b.SE)(e)?e:"":j[G][r],Z=(e,r)=>{const t=Y(e,r);return t?{[r]:t}:{}},ee=Z(K,"backgroundColor"),re=Z(U,"borderColor"),te=v(v({},ee),re),oe=Z(R,"color"),ne=(e,r)=>{r?.preventDefault?.(),r?.stopPropagation?.(),(0,y.L)("gallery_navigation",{event_category:"images_gallery",event_action:"click",event_label:`arrow_${e}`,article_url:H})},le=e=>{e.preventDefault()},se=(e,r)=>{"Enter"!==r.key&&" "!==r.key||(r.preventDefault(),ne(e))};return(0,f.jsxs)(Q,{href:H,className:`gallery-card ${G}${W}`,style:te,children:[(()=>{if(!M||!z&&!B)return null;return(0,f.jsxs)("div",{className:`gallery-card-header${J}`,children:[z&&M?(0,f.jsx)("img",{alt:"Logo",className:"gallery-card-logo",decoding:"async",fetchPriority:"low",loading:"lazy",src:z}):null,B?(0,f.jsx)("h3",{className:"gallery-card-header-title",style:oe,children:B}):null]})})(),(()=>{if(!O)return null;const e=`gallery-card-title ${J} gallery-card-title-size-${D||"default"}`;return(0,f.jsx)(i.default,{content:n,headlineClasses:e,headlineStyles:oe,headlineText:S})})(),(()=>{if(!A)return null;return(0,f.jsx)(c.A,{content:n,deckClasses:"story-card-dec"+(w?" txtc":""),deckStyles:oe,deckTextOverride:P})})(),(()=>{if(!T&&!F&&!E)return null;const{credits:{by:e=[]}={}}=n||{},r=Array.isArray(e)?e.length:0,o=T&&(r>0||_)||!1,l=L||!1,s=N||!1,a=t("lang")||"es",i="es"===a;if(!(T||o||F||E))return null;const c=()=>(0,f.jsx)(d.A,{authorNameOverride:_,by:e,correspondentSignature:$,creditsLength:r,isAmp:!1,isCorrespondentSignature:s,isOpinionAuthor:l,isSpanish:i,isStoryCard:!0,mustShowAuthor:o,textColor:Y(R,"color")}),h=()=>(0,f.jsx)(g.A,{colorTextDate:Y(R,"color"),dateTime:n?.dateTime||n?.last_updated_date,lang:a,showDate:F}),p=()=>E?(0,f.jsx)(u.A,{variant:""}
1):null,m=`story-card-details-ctn${J}${l?" opinion-author":""}`;return l?(0,f.jsxs)("div",{className:m,children:[c(),(0,f.jsxs)("div",{className:"story-card-details-opinion-ctn",children:[h(),p()]})]}):(0,f.jsxs)("div",{className:m,children:[c(),h(),p()]})})(),(0,f.jsxs)(s.RC,v(v({className:"gallery-card-swiper"},X),{},{children:[(()=>{const{content_elements:e=[]}=o||{};return e&&0===e.length?null:e.map((e={},r)=>{const{caption:t="",id:o=""}=e||{};return(0,f.jsx)(s.qr,{children:(0,f.jsx)(h.A,{alt:t,ansImage:e,aspect:"21:9",imageClasses:"gallery-card-image",media:"full-article-body",lazyLoading:0!==r})},o)})})(),(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("div",{className:`arrow-wrapper prev prev-${q}`,onClick:e=>ne("left",e),onMouseDown:le,role:"button",tabIndex:0,onKeyDown:e=>se("left",e),"aria-label":"Previous image",children:(0,f.jsx)(m.A,{classes:"gallery-card-arrow-prev"})}),(0,f.jsx)("div",{className:`arrow-wrapper next next-${q}`,onClick:e=>ne("right",e),onMouseDown:le,role:"button",tabIndex:0,onKeyDown:e=>se("right",e),"aria-label":"Next image",children:(0,f.jsx)(p.A,{classes:"gallery-card-arrow-next"})})]})]}))]})};k.propTypes={customFields:n().shape({URLbase:n().string,urlStory:n().string,showTitle:n().bool,showDeck:n().bool,showAuthor:n().bool,showOpinionAuthorStyle:n().bool,showCorrespondentSignature:n().bool,showDate:n().bool,showIsLive:n().bool,showContentCentered:n().bool,enableLink:n().bool,headlineFontSize:n().string,customTitle:n().string,customDeck:n().string,customAuthor:n().string,customLink:n().string,correspondentSignature:n().string,theme:n().string,logoUrl:n().string,logoTitle:n().string,showLogo:n().bool,color:n().string,customColorText:n().string,customColorBackground:n().string,customColorBorder:n().string}),data:n().shape({dataGallery:n().object,dataStory:n().object})},r.default=k}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.