PageSourceSearch

https://www.london.edu/_next/static/chunks/17226.6ee76b02ae602897.js

js london.edu collected 2026-09-24 08:26:50 UTC 8,183 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[17226],{2597:(e,r,a)=>{"use strict";a.d(r,{A:()=>o});var n,i,s,t=a(14232);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var a=arguments[r];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(null,arguments)}let o=e=>t.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",focusable:"false"},e),n||(n=t.createElement("title",null,"time")),i||(i=t.createElement("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67V7z"})),s||(s=t.createElement("path",{d:"M12 2a10 10 0 1010 10A10 10 0 0012 2zm0 18a8 8 0 118-8 8 8 0 01-8 8z"})))},8958:e=>{e.exports={"upcoming-programmes":"C241_UpcomingProgrammes_upcoming-programmes__wAxpE",blue:"C241_UpcomingProgrammes_blue__aVugO",row:"C241_UpcomingProgrammes_row__F7z_U",label:"C241_UpcomingProgrammes_label__9kVhb",large:"C241_UpcomingProgrammes_large__3qbaL",tag:"C241_UpcomingProgrammes_tag__qDtiU",programmes:"C241_UpcomingProgrammes_programmes__IJQny",programme:"C241_UpcomingProgrammes_programme__LDcgK",new:"C241_UpcomingProgrammes_new__8jscq",bottom:"C241_UpcomingProgrammes_bottom__LxmcI",next:"C241_UpcomingProgrammes_next__sFW_R"}},11326:(e,r,a)=>{"use strict";a.d(r,{A:()=>c});var n=a(37876),i=a(69241),s=a(14232);a(2890),a(9956);var t=a(12590),l=a(27164),o=a.n(l);let c=({swiper:e,direction:r="next",variation:a="arrow",hideOnEdge:l=!1,onDark:c=!1,className:m,currentPage:g,totalFilteredPages:p})=>{let _;if(!e)return null;let d=Number.isInteger(p)&&p>0?p:e?.pagination?.bullets?.length,h=g+ +("next"===r?1:-1),w=e=>e?.toString()?.padStart(2,"0");return l&&("prev"===r&&h<1||"next"===r&&h>d)?null:(0,n.jsxs)("button",{className:(0,i.A)(o()["swiper-navigation"],o()[`swiper-navigation--${r}`],o()[`swiper-navigation--${a}`],m,{[o()["swiper-navigation--light"]]:c}),onClick:()=>{"prev"===r?e.slidePrev():e.slideNext()},"aria-label":(_="next"===r?"Go to the Next Slide":"Go to the Previous Slide","fraction"===a?`Slide ${g} of ${d}. ${_}`:"number"===a?`Slide ${g}. ${_}`:_),children:[["fraction","number"].includes(a)&&(0,n.jsxs)("span",{className:o()["swiper-navigation__numbers"],"aria-hidden":"true",children:[w(g),"fraction"===a&&(0,n.jsxs)(s.Fragment,{children:[(0,n.jsx)("strong",{children:"/"}),w(d)]})]}),(0,n.jsx)(t.A,{className:o()["swiper-navigation__arrow"]})]})}},17226:(e,r,a)=>{"use strict";a.r(r),a.d(r,{UpcomingProgrammes:()=>x,default:()=>b});var n=a(37876),i=a(79956),s=a(11326),t=a(92442),l=a(59157),o=a(69241),c=a(22999),m=a.n(c),g=a(14232),p=a(87109),_=a(27888);a(2890),a(8508),a(9956);var d=a(58099),h=a(2597),w=a(70780),u=a(8958),v=a.n(u);let x=e=>{let{content:{programmeType:r,label:a,title:c,description:u,BlueVariation:x,tags:b=[]}}=e,[j,f]=(0,g.useState)(),[,A]=(0,g.useState)(1),P=Math.round((j?.snapIndex||0)+1),[S,N]=(0,g.useState)([]),C=(0,l.Y)(),U="mobile"===C?1:"tablet"===C?2:3,k={className:(0,o.A)(v().swiper,{"on-dark":x}),spaceBetween:40,modules:[p.dK,p.s3,p.Jq],slidesPerView:U,slidesPerGroup:U,loop:S.length>=6&&S.length%3==0,loopAddBlankSlides:S.length>=6&&S.length%3==0,rewind:!(S.length>=6&&S.length%3==0),enabled:S.length>U,pagination:{clickable:!0},keyboard:{enabled:!0,onlyInViewport:!0},a11y:{enabled:!0},onSwiper:e=>{f(e)},onSlideChange:()=>{A(e=>e+1)}};return(0,g.useEffect)(()=>{(async()=>{N(await (0,t.Z)("/api/getUpcomingProgrammes",{programmeType:r,tagIDs:b}))})()},[]),(0,n.jsx)("div",{className:(0,o.A)("component",v()["upcoming-programmes"],x&&[v().blue,"blue"]),children:(0,n.jsxs)("div",{className:"wrapper",children:[(0,n.jsxs)(i.A,{row:!0,customClass:v().row,children:[(0,n.jsx)(i.A,{column:!0,sm:12,children:(0,n.jsx)("p",{className:(0,o.A)("label",v().label),children:a})}),(0,n.jsx)(i.A,{column:!0,sm:12,md:6,children:(0,n.jsx)("h2",{children:c})}),(0,n.jsx)(i.A,{column:!0,sm:12,md:6,children:(0,n.jsx)("p",{className:(0,o.A)("large",v().large),children:u})})]}),(0,n.jsx)("div",{className:v().programmes,children:S.length>0&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(_.RC,{...k,children:m()(S,["programmeImportData.programmeStartDate"]).map((e,r)=>{let{slug:a,programmeTitle:i,programmeDescription:s,isNew:t,programmeImportData:l,contentfulMetadata:o}=e,c="/"!==a.charAt(0)?`/${a}`:a,m=r+1,g=(j?.activeIndex||0)+1,p=g+U,u=m>=g&&m<p;return(0,n.jsx)(_.qr,{inert:u?void 0:"true","aria-hidden":!u,children:(0,n.jsxs)("div",{className:v().programme,children:[t?(0,n.jsx)("div",{className:v().new,children:"NEW"}):null,(0,n.jsx)("h3",{children:(0,n.jsx)("a",{href:c,children:i})}),(0,n.jsx)("p",{children:s}),(0,n.jsxs)("div",{className:v().bottom,children:[(0,n.jsxs)("ul",{children:[l&&l[0]?.programmeInclusiveDates&&(0,n.jsxs)("li",{children:[(0,n.jsx)("i",{className:"icon-calendar",children:(0,n.jsx)(d.A,{})}),l[0].programmeInclusiveDates]}),(0,n.jsxs)("li",{children:[(0,n.jsx)("i",{className:"icon-duration",children:(0,n.jsx)(h.A,{})}),l?l[0]?.programmeDuration:""]}),(0,n.jsxs)("li",{children:[(0,n.jsx)("i",{className:"icon-location",children:(0,n.jsx)(w.A,{})}),l?l[0]?.programmeLocation:""]})]}),!!o?.tags.length&&(0,n.jsxs)("p",{className:"small",children:[(0,n.jsx)("strong",{children:"Tags: "}),o?.tags.map(e=>
1e.name).join(", ")]})]})]})},a)})}),S.length>U&&(0,n.jsx)(s.A,{className:v().next,swiper:j,direction:"next",perPage:U,variation:"desktop-large"===C?"fraction":"arrow",onDark:x,currentPage:P})]})})]})})},b=x},27164:e=>{e.exports={"swiper-navigation":"Swiper_swiper-navigation__D18rI","swiper-navigation--arrow":"Swiper_swiper-navigation--arrow__anPA8","swiper-navigation--square":"Swiper_swiper-navigation--square__DVEy3","swiper-navigation__arrow":"Swiper_swiper-navigation__arrow__Bwhb_","swiper-navigation--number":"Swiper_swiper-navigation--number__V5imk","swiper-navigation--fraction":"Swiper_swiper-navigation--fraction__hdfIu","swiper-navigation__numbers":"Swiper_swiper-navigation__numbers__70keh","swiper-navigation--next":"Swiper_swiper-navigation--next__BjOnP","swiper-navigation--prev":"Swiper_swiper-navigation--prev__bbOk1","swiper-navigation--light":"Swiper_swiper-navigation--light___zdOv"}},58099:(e,r,a)=>{"use strict";a.d(r,{A:()=>t});var n,i=a(14232);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var a=arguments[r];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(null,arguments)}let t=e=>i.createElement("svg",s({height:20,width:20,viewBox:"5 3 30 34",xmlns:"http://www.w3.org/2000/svg",focusable:"false"},e),n||(n=i.createElement("path",{d:"M15 13.333h-3.333v3.334H15v-3.334zm6.667 0h-3.334v3.334h3.334v-3.334zm6.666 0H25v3.334h3.333v-3.334zm3.334-6.666H30V3.333h-3.333v3.334H13.333V3.333H10v3.334H8.333c-1.85 0-3.316 1.5-3.316 3.333L5 33.333a3.332 3.332 0 003.333 3.334h23.334c1.833 0 3.333-1.5 3.333-3.334V10c0-1.833-1.5-3.333-3.333-3.333zm0 26.666H8.333V10h23.334v23.333z"})))},70780:(e,r,a)=>{"use strict";a.d(r,{A:()=>t});var n,i=a(14232);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var a=arguments[r];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(null,arguments)}let t=e=>i.createElement("svg",s({width:16,height:24,viewBox:"4.2 1.2 15.6 22",xmlns:"http://www.w3.org/2000/svg",focusable:"false"},e),n||(n=i.createElement("path",{d:"M12 1.25A7.745 7.745 0 0119.75 9c0 1.322-.39 2.81-1.11 4.441-.625 1.42-1.484 2.914-2.518 4.447a46.786 46.786 0 01-3.565 4.615l-.557.616-.557-.616a43.107 43.107 0 01-1.12-1.323 46.786 46.786 0 01-2.445-3.292c-1.034-1.533-1.893-3.028-2.518-4.447C4.64 11.81 4.25 10.321 4.25 9A7.745 7.745 0 0112 1.25zm0 10.25a2.5 2.5 0 010-5 2.5 2.5 0 010 5zm.511 8.734a45.305 45.305 0 002.367-3.185c.988-1.464 1.804-2.884 2.39-4.212.642-1.458.982-2.754.982-3.837A6.245 6.245 0 0012 2.75 6.245 6.245 0 005.75 9c0 1.083.34 2.38.982 3.837.586 1.328 1.402 2.748 2.39 4.212A45.305 45.305 0 0012 20.853c.161-.191.332-.398.511-.619z"})))},92442:(e,r,a)=>{"use strict";a.d(r,{Z:()=>n});let n=async(e,r)=>{let a=new URLSearchParams(r),n=[e,r?a.toString():null].filter(Boolean).join("?"),i=await fetch(n);return await i.json()}}}]);
2//# sourceMappingURL=17226.6ee76b02ae602897.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.