PageSourceSearch

https://content.www.wellcomecollection.org/_next/static/chunks/5048-622ac30914c3fcd0.js

js wellcomecollection.org collected 2026-10-01 08:33:10 UTC 5,522 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4515,5048],{16754:(e,t,i)=>{i.d(t,{A:()=>l});var a=i(6029),o=i(79945),r=i(41442),n=i(48465);let d=(0,o.Ay)(n.A).attrs({className:"body-text",$v:{size:"xs",properties:["margin-top"]}}).withConfig({componentId:"sc-75d8a53c-0"})(["p:first-of-type{margin:0;}"]),l=e=>(0,a.jsx)(d,{"data-component":"page-header-standfirst",children:(0,a.jsx)(r.A,{...e})})},25116:(e,t,i)=>{i.d(t,{B:()=>l,eD:()=>n});var a=i(32349),o=i(49563),r=i(94540);function n(e){var t,i,o;let n=(null==(t=e.relatedDocument)?void 0:t.id)?"".concat(e.relatedDocument.type,"/").concat(e.relatedDocument.id,"/visual-stories"):"visual-stories/".concat(e.id);return(0,r.zr)({dateCreated:e.datePublished,datePublished:e.datePublished,headline:e.title,image:null==(o=e.promo)||null==(i=o.image)?void 0:i.contentUrl,publisher:d(a.H),url:"https://wellcomecollection.org/".concat(n)},{type:"WebPage"})}function d(e){return e&&(0,r.zr)({name:e.name,url:e.url,logo:e.logo.url,sameAs:e.sameAs},{type:"Organization"})}function l(e){var t,i;let{page:n,canonicalUrl:l}=e,s=null==(t=n.promo)?void 0:t.image,u=l||(0,o.A)(n);return(0,r.zr)({name:n.title,headline:n.title,description:null==(i=n.promo)?void 0:i.caption,image:s?function(e,t){var i;let a=null!=(i=e["16:9"])?i:e;if(!(null==a?void 0:a.url))return;let o=new URL(a.url),r="".concat(o.origin).concat(o.pathname),n=new URLSearchParams;for(let[e,t]of o.searchParams)n.set(e,t.toString());for(let[e,i]of Object.entries(t))n.set(e,i.toString());return n.delete("h"),"".concat(r,"?").concat(n.toString())}(s,{w:600}):void 0,datePublished:n.datePublished,dateModified:n.datePublished,publisher:d(a.H),mainEntityOfPage:"https://wellcomecollection.org".concat(u)},{type:"WebPage"})}},74515:(e,t,i)=>{i.r(t),i.d(t,{default:()=>n});var a=i(6029),o=i(16754),r=i(69342);let n=e=>{let{slice:t}=e,i=(0,r.Fq)(t);return(0,a.jsx)(o.A,{html:i.value})}},75048:(e,t,i)=>{i.r(t),i.d(t,{__N_SSP:()=>z,default:()=>C,getOtherVisualStories:()=>L,returnVisualStoryProps:()=>_});var a=i(6029),o=i(95782),r=i(65188),n=i(83325),d=i(21832),l=i(67657),s=i(25116),u=i(57812),c=i(77067),m=i(22392),p=i(73044);function h(e){var t;let{data:i}=e,a=(0,m.Hd)(e),r=c.yJ.map(e=>e.siteSection),n=e.tags.find(e=>r.includes(e)),d=a.promo,{relatedDocument:l}=i;return{type:"visual-stories",uid:e.uid,...a,onThisPage:i.body?(0,p.T)(i.body):[],showOnThisPage:i.showOnThisPage||!1,promo:d&&d.image?d:void 0,datePublished:i.datePublished?(0,u.HF)(i.datePublished):void 0,relatedDocument:(0,o.L9)(l)?{title:(0,m.e1)(null==(t=l.data)?void 0:t.title),id:l.id,uid:l.uid,type:l.type}:void 0,siteSection:n}}var g=i(49563),v=i(23583),f=i(85564),b=i(62587),y=i(85175),x=i(86796),D=i(9455),P=i(48465),A=i(49337),j=i(74515),T=i(21675),w=i(30294),S=i(84788);let H=e=>{var t,i;let{visualStory:o,visualStories:r,jsonLd:n}=e,{relatedDocument:d}=o,l=o.untransformedStandfirst?(0,a.jsx)(j.default,{slice:o.untransformedStandfirst,index:0,context:{},slices:[]}):null,s=(0,a.jsx)(D.A,{variant:"basic",breadcrumbs:{items:d&&d.title?[{text:"".concat((0,f.ZH)(d.type)),url:"/".concat(d.type)},{text:d.title,url:(0,g.A)(d)}]:[]},labels:{labels:[]},title:o.title,ContentTypeInfo:l,isContentTypeInfoBeforeMedia:!0}),u=(null==(t=o.relatedDocument)?void 0:t.id)?"/".concat(o.relatedDocument.type,"/").concat(o.relatedDocument.uid||o.relatedDocument.id,"/visual-stories"):"/visual-stories/".concat(o.uid),c=r.length>0?[...o.onThisPage,{text:"More visual stories",url:"#more-visual-stories"}]:o.onThisPage;return(0,a.jsxs)(A.A,{title:o.title,description:(null==(i=o.promo)?void 0:i.caption)||"",url:{pathname:u},jsonLd:n,openGraphType:"website",siteSection:o.siteSection,apiToolbarLinks:[(0,b.Cj)(o.id)],hideNewsletterPromo:!0,children:[(0,a.jsx)(S.A,{id:o.id,uid:o.uid,contentApiType:"visual-stories",Header:s,Body:(0,a.jsx)(T.A,{untransformedBody:o.untransformedBody,pageId:o.id,pageUid:o.uid,onThisPage:c,showOnThisPage:o.showOnThisPage,contentType:"visual-story",gridSizes:(0,x.We)()})}),r.length>0&&(0,a.jsxs)(P.A,{$v:{size:"xl",properties:["margin-top","margin-bottom"]},children:[(0,a.jsxs)(x.Bf,{gridSizes:(0,x.H8)(),children:[(0,a.jsx)(y.A,{lineColor:"neutral.400"}),(0,a.jsx)(P.A,{$v:{size:"xl",properties:["padding-top","padding-bottom"]},children:(0,a.jsx)("h2",{className:(0,v.I)("heading","xl","strong","brand"),id:"more-visual-stories",children:"More Visual Stories"})})]}),(0,a.jsx)(w.A,{items:r,itemsPerRow:3})]})]})};var z=!0;let L=e=>{let{visualStories:t,documentId:i}=e;return i?t.filter(e=>{var t,a;let n=(0,o.H5)(e.data.relatedDocument)&&e.data.relatedDocument.id,d=(0,o.L9)(e.data.relatedDocument)&&"exhibitions"===e.data.relatedDocument.type?null==(t=e.data.relatedDocument.data)?void 0:t.end:void 0,s=(0,o.L9)(e.data.relatedDocument)&&"events"===e.data.relatedDocument.type?null==(a=e.data.relatedDocument.data)?void 0:a.times:void 0,u=s&&n?(0,l.Fk)(n,s):void 0,c=u?(0,l.TR)(u):"",m=d||c,p=!!m&&(0,r.R6)(new Date(m));return!(0,o.H5)(e.data.relatedDocument)&&i!==e.id||(0,o.H5)(e.data.relatedDocument)&&e.data.relatedDocument.id!==i&&!p}):[]},_=e=>{let{visualStoryDocument:t,otherCurrentVisualStories:i,serverData:a}=e;if((0,d.EA)(t)){let e=h(t),o=(i&&i.map(h)||[]).map(e=>({type:e.type,id:e.id,uid:e.uid,title:e.title,promo:e.promo,image:e.image,relatedDocument:e.relatedDocument})).sort((e,t)=>
1(e.relatedDocument?Number.MAX_VALUE:1)-(t.relatedDocument?Number.MAX_VALUE:1)),r=(0,s.eD)(e);return{props:(0,n.GT)({visualStory:e,visualStories:o,serverData:a,jsonLd:r})}}},C=e=>(0,a.jsx)(H,{...e})}}]);

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.