PageSourceSearch

https://thewastesummit.com/static/js/SponsorsModule.b2fadee6.chunk.js

js thewastesummit.com collected 2026-10-04 06:17:25 UTC 7,068 bytes, 2 lines download raw bytes

1"use strict";(globalThis.__LOADABLE_LOADED_CHUNKS__||=[]).push([[4702],{65649(e,s,t){t.r(s),t.d(s,{default:()=>M});var n=t(76998),l=t(85609),o=t(34156),i=t.n(o),a=t(69329),r=t(71992),d=t(32383);let c=function(e){return e.SCROLLING_LOGOS="SCROLLING_LOGOS",e.LOGOS="LOGOS",e.LOGOS_AND_TEXT="LOGOS_AND_TEXT",e}({}),p=function(e){return e.SINGLE="SINGLE",e.SMOOTH="SMOOTH",e.PAGE="PAGE",e}({}),m=function(e){return e.FULLSCREEN="FULLSCREEN",e}({}),x=function(e){return e.DEFAULT="DEFAULT",e.ALPHABETICAL="ALPHABETICAL",e}({}),u=function(e){return e.CENTRE="CENTRE",e.LEFT="LEFT",e.RIGHT="RIGHT",e}({});var h=t(88218),N=t(92763),j=t(41713),v=t(81897),_=t(24241),y=t(79107),S=t(50594);function g(e){return e.sort((e,s)=>e.name.localeCompare(s.name))}function L(e,s){return(0,n.useMemo)(()=>{const t=e.filter(e=>e.spexs.length>0);return s===x.ALPHABETICAL?t.map(e=>({...e,spexs:g([...e.spexs])})):t},[e,s])}const O="ScrollingLogosDisplayStyle_viewport__i6LxY",E="ScrollingLogosDisplayStyle_sliderContainer__Vyqno",A="ScrollingLogosDisplayStyle_embla__slide__tD07t",f="ScrollingLogosDisplayStyle_holder__CtSPo",T="ScrollingLogosDisplayStyle_cta__Zgje6";var I=t(23446);const C={[p.SINGLE]:{loop:!0,slidesToScroll:1,speed:2},[p.SMOOTH]:{loop:!0,speed:2},[p.PAGE]:{loop:!0,slidesToScroll:5,speed:2}};function G(e){const{rotateType:s,layoutType:t,title:l,titleSize:o,sponsorsFromDiscovery:c=[],testId:L,link:G,sponsorsOrder:D,titleAlignment:H,"@type":P}=e,R=C[s],b=(0,N.A)({playOnInit:!0,stopOnMouseEnter:!0,stopOnInteraction:!1,delay:3500}),w=(0,j.A)({playOnInit:!0,stopOnMouseEnter:!0,stopOnInteraction:!1,stopOnFocusIn:!1}),F=s===p.SMOOTH?w:b,[k]=(0,v.A)(R,[F]),{tenantsConfig:M}=(0,_.N)(y.iq),z=function(e,s){if(e.length<s){const t=Array(s-e.length).fill({id:""});return e.concat(t)}return e}((0,n.useMemo)(()=>c.reduce((e,s)=>{const t=s.spexs.filter(e=>e.photo).map(e=>{const t=`${s.sitePath}/sponsors/${e.path}`,n=(0,S.r)({domains:M,tenant:s.tenant,path:t});return{...e,path:n}});return D===x.ALPHABETICAL?g([...e,...t]):[...e,...t]},[]),[c,D,M]),6),$=i()("container",{"container-fluid":t===m.FULLSCREEN}),U=i()("row",{"center-xs":H===u.CENTRE,"end-xs":H===u.RIGHT});return(0,I.jsxs)("div",{"data-testid":L,children:[l&&(0,I.jsx)("div",{className:"container",children:(0,I.jsx)("div",{className:U,children:(0,I.jsx)("div",{className:"col-xs-12",children:(0,I.jsx)(a.u_,{title:l,titleSize:o,lineAfterHeading:!0})})})}),(0,I.jsx)("div",{className:$,children:(0,I.jsx)("div",{className:O,ref:k,children:(0,I.jsx)("div",{className:E,children:z.map((e,s)=>(0,I.jsx)("div",{className:A,children:(0,I.jsx)(r.M,{to:e.path,children:(0,I.jsx)(d.Ay,{lazy:!1,className:f,src:e.photo,alt:""})})},s))})})}),(null===G||void 0===G?void 0:G.type)&&(0,I.jsx)("div",{className:"container",children:(0,I.jsx)("div",{className:"row",children:(0,I.jsx)("div",{className:"col-xs-12",children:(0,I.jsx)(h.E0,{link:G,variant:"contained",align:"center","data-testid":"hub-module-link",className:T,ga4:{module_type:P}})})})})]})}G.defaultProps={testId:"hub-sponsors-module-scrolling-logos"};var D=t(79453);const H={wrapper:"SponsorCard_wrapper__qZbvO",image:"SponsorCard_image__IDZtx",body:"SponsorCard_body__cdNp5"};var P=t(50471);function R(e){const{data:{name:s,photo:t,categoryName:n},testId:l,url:o,onlyLogo:i}=e,a=e=>n&&(0,I.jsx)(D.Ex,{testId:"video-card-description",size:e,className:H.company,children:n});return(0,I.jsxs)(D.Sr,{to:o,"data-testid":l,children:[(0,I.jsx)(P.O,{className:H.wrapper,children:(0,I.jsxs)("div",{className:"row",children:[(0,I.jsx)("div",{className:"col-xs-12",children:(0,I.jsx)(D._V,{imageStyle:c,path:t,className:H.image})}),!i&&(0,I.jsx)("div",{className:"col-xs-12",children:(0,I.jsx)("div",{className:H.body,children:(0,I.jsxs)(I.Fragment,{children:[s&&(0,I.jsx)(D.hE,{size:r,className:d,children:s}),a()]})})})]})}),(0,I.jsxs)("div",{itemScope:!0,itemType:"https://schema.org/Sponsor",children:[(0,I.jsx)("meta",{property:"og:name",content:s}),(0,I.jsx)("meta",{property:"og:path",content:o})]})]});var r,d,c}R.defaultProps={testId:"sponsor-card",onlyLogo:!1};const b="LogosAndTextDisplayStyle_sponsorOffset__chhZM",w="LogosAndTextDisplayStyle_siteOffset__7J+kV";function F(e){const{"@type":s,title:t,titleSize:n,link:l,sponsorsOrder:o,sponsorsFromDiscovery:r=[],titleAlignment:d,testId:c}=e,{tenantsConfig:p}=(0,_.N)(y.iq),m=i()("row",{"end-xs":d===u.RIGHT,"center-xs":d===u.CENTRE}),x=L(r,o);return(0,I.jsxs)("div",{className:"container","data-testid":c,children:[t&&(0,I.jsx)("div",{className:m,children:(0,I.jsx)("div",{className:"col-xs-12",children:(0,I.jsx)(a.u_,{title:t,titleSize:n,lineAfterHeading:!0})})}),x.map((e,s)=>(0,I.jsxs)("div",{className:w,children:[(0,I.jsx)("div",{className:m,children:(0,I.jsx)("div",{className:"col-xs-12",children:(0,I.jsx)(a.u_,{title:e.siteName,lineAfterHeading:!0})})}),(0,I.jsx)("div",{className:"row",children:e.spexs.map((s,t)=>{const n=`${e.sitePath}/sponsors/${s.path}`,l={...s,name:"",categoryName:""},o=(0,S.r)({domains:p,tenant:e.tenant,path:n});return(0,I.jsx)("div",{className:`col-xs-6 col-sm-4 col-md-3 ${b}`,children:(0,I.jsx)(R,{data:l,url:o,onlyLogo:!0})},t)})})]},s)),(0,I.jsx)("div",{className:"row",children:(0,I.jsx)("div",{className:"col-xs-12",children:(null===l||void 0===l?void 0:l.type)&&(0,I.jsx)(h.E0,{link:l,variant:"contained",align:"center","data-testid":"hub-module-link",ga4:{module_type:s}})})})]})}function k(e){const{"@type":s,title:t,titleSize:n,link:l,titleAlignment:o,sponsorsOrder:r,sponsorsFromDiscovery:d=[],testId:c}=e,{tenantsConfig:p}=(0,_.N)(y.iq),m=L(d,r),x=i()("row",{"end-xs":o===u.RIGHT,"center-xs":o===u.CENTRE});return(0,I.jsxs)("div",{className:"container","data-testid":c,children:[t&&(0,I.jsx)("div",{className:x,children:(0,I.jsx)("div",{className:"col-xs-12",children:(0,I.jsx)(a.u_,{title:t,titleSize:n,lineAfterHeading:!0})})}),m.map((e,s)=>(0,I.jsxs)("div",{className:w,children:[(0,I.jsx)("div",{className:x,children:(0,I.jsx)("div",{className:"col-xs-12",children:(0,I.jsx)(a.u_,{title:e.siteName,lineAfterHeading:!0})})}),(0,I.jsx)("div",{className:"row",children:e.spexs.map((s,t)=>{const n=`${e.sitePath}/sponsors/${s.path}`,l=(0,S.r)({domains:p,tenant:e.tenant,path:n});return(0,I.jsx)("div",{className:`col-xs-6 col-sm-4 col-md-3 ${b}`,children:(0,I.jsx)(R,{data:s,url:l})},t)})})]},s)),(0,I.jsx)("div",{className:"row",children:(0,I.jsx)("div",{className:"col-xs-12",children:(null===l||void 0===l?void 0:l.type)&&(0,I.jsx)(h.E0,{link:l,variant:"contained",align:"center","data-testid":"hub-module-link",ga4:{module_type:s}})})})]})}function M(e){const{module:{"@type":s,style:t,elementId:n,visualStyle:o},testId:i}=e;return(0,I.jsxs)(l.x,{type:s,theme:o,elementId:n,testId:i,children:[t===c.SCROLLING_LOGOS&&(0,I.jsx)(G,{...e.module}),t===c.LOGOS&&(0,I.jsx)(F,{...e.module}),t===c.LOGOS_AND_TEXT&&(0,I.jsx)(k,{...e.module})]})}F.defaultProps={testId:"hub-sponsors-module-logos"},k.defaultProps={testId:"hub-sponsors-module-logos-and-text"},M.defaultProps={testId:"hub-sponsors-module"}}}]);
2//# sourceMappingURL=SponsorsModule.b2fadee6.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.