PageSourceSearch

https://gdconf.com/static/js/HubRelatedSitesModule.8170a2de.chunk.js

js gdconf.com collected 2026-09-24 08:29:36 UTC 3,757 bytes, 2 lines download raw bytes

1"use strict";(globalThis.__LOADABLE_LOADED_CHUNKS__||=[]).push([[4463],{47515(e,t,s){s.r(t),s.d(t,{default:()=>T});var l=s(86273),a=s(88218),i=s(85609),d=s(69329),n=s(79253),r=s(79453),o=s(2280),c=s(81567);const x="RelatedSiteCard_card__7LRXs",h="RelatedSiteCard_topic__ct0Rt",m="RelatedSiteCard_description__xNmZZ",j="RelatedSiteCard_deliveryTypes__TWrqx";var p=s(23446);function u(e){const{data:{imageBackground:t,topics:s=[],name:l,dates:a=[],startDate:i,endDate:d,formattedDate:u,timeAsText:_,deliveryType:g,additionalDeliveryTypes:v=[],localisedDescription:N,brand:{colours:{secondary:y}={}}={},locations:E=[],languages:S=[],partners:A=[],sponsorLogo1:R,sponsorLogo2:T,contentType:D},...f}=e,B=y&&`#${y}`,C=(0,o.c)(e.data),I={start:i,end:d,formatted:u},k=v.length?v:[g],w=[R,T].map(e=>null===e||void 0===e?void 0:e.path).filter(Boolean),z=(0,c.te)(A),L=z.length>0,M=L?z:w,V=L?"In association with:":"Sponsored By:",b=s.filter(e=>Boolean(e)),q=(0,c.zt)(S),O=(0,c.$I)(k,E),P=(0,c.ZR)(k,D,a.length>0?a[0].end:d);return(0,p.jsx)(r.Sr,{...f,to:C,children:(0,p.jsx)(n.AA,{image:(0,p.jsx)(r._V,{path:t}),topics:b.length>0&&(0,p.jsx)(r.Ns,{list:b.slice(0,1),children:e=>(0,p.jsx)(r.Ex,{theme:"outlined",size:"tiny",className:h,children:e})}),title:(0,p.jsx)(r.hE,{size:"extraSmall",children:l}),date:(0,p.jsx)(r.n9,{dates:a.length?a:[I],deliveryTypes:k,timeAsText:_}),language:(0,p.jsx)(r.Ex,{children:(0,p.jsx)(r.SV,{list:q})}),showMoreBadge:P&&(0,p.jsx)(r.rk,{children:P}),sponsors:M.length>0&&(0,p.jsx)(r.YY,{logos:M,label:V}),description:N&&(0,p.jsx)(r.Ex,{className:m,children:N}),deliveryTypes:O.length>0&&(0,p.jsx)(r.Ex,{className:j,children:(0,p.jsx)(r.SV,{list:O})}),leftFooter:P&&(0,p.jsx)(r.rk,{children:P}),backgroundColor:B,className:x})})}var _=s(23236),g=s(32383),v=s(24241),N=s(79107);const y={NEWS_MEDIA:"News Media",EVENT:"Event",BRAND:"Brand",AWARD:"Award",PODCAST:"Podcast",REPORT:"Report"};function E(e){const{data:{name:t,description:s,type:l,logo:a,coverImage:i,url:d,urlText:o}}=e,{location:c}=(0,v.N)(N.iq);return(0,p.jsx)(r.Sr,{to:d,children:(0,p.jsx)(n.AA,{image:(0,p.jsx)(r._V,{path:null===i||void 0===i?void 0:i.path}),topics:(0,p.jsx)(r.Ns,{list:[l],children:e=>{const t=e;return(0,p.jsx)(r.Ex,{theme:"outlined",size:"tiny",className:h,children:y[t]||t})}}),title:(0,p.jsx)(r.hE,{size:"extraSmall",children:t}),description:(0,p.jsx)(r.Ex,{children:(0,_._t)(s,c)}),largeLogo:(0,p.jsx)(g.Ay,{src:null===a||void 0===a?void 0:a.path}),leftFooter:(0,p.jsx)(r.rk,{children:o||"Visit"}),showMoreBadge:(0,p.jsx)(r.rk,{children:o||"Visit"}),className:x})})}const S="RelatedSitesModule_wrapperEventCard__q58gr",A="RelatedSitesModule_relatedContentsMargin__K2Zlg",R="RelatedSitesModule_ctaButton__-GBzR";function T(e){let{module:{"@type":t,title:s,titleSize:n,elementId:r,visualStyle:o,relatedContents:c,link:x},testId:h}=e;return(0,p.jsx)(i.x,{type:t,theme:o,elementId:r,testId:h,children:(0,p.jsxs)("div",{className:"container",children:[(0,p.jsx)("div",{className:"row",children:(0,p.jsx)("div",{className:"col-xs-12",children:(0,p.jsx)(d.u_,{title:s,titleSize:n})})}),(0,p.jsx)("div",{className:A,children:(0,p.jsx)("div",{className:"row",children:c.map(e=>(0,p.jsx)("div",{className:`col-xs-12 col-md-3 ${S}`,children:e.contentType===l.jq.EXTERNAL_SITE?(0,p.jsx)(E,{data:e}):(0,p.jsx)(u,{data:e,"data-testid":"related-site-card"})},e.name))})}),(0,p.jsx)("div",{className:"row",children:(0,p.jsx)("div",{className:"col-xs-12",children:(null===x||void 0===x?void 0:x.type)&&(0,p.jsx)(a.E0,{link:x,variant:"contained",align:"center",className:R,"data-testid":"related-sites-module-link",ga4:{module_type:t}})})})]})})}T.defaultProps={testId:"hub-related-sites-module"}}}]);
2//# sourceMappingURL=HubRelatedSitesModule.8170a2de.chunk.js.map

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.