1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8301],{61176:function(e,n,i){"use strict";i.r(n),i.d(n,{__N_SSG:function(){return j}});var t=i(67294),o=i(87453),l=i(47861),s=i(5298),a=i(71216),r=i(99166),c=i(32879),u=i(22320),d=i(12972),m=i(22019),h=i(96822),v=i(12746),x=i(27157),p=i(19384),f=i(85893),j=!0;n.default=function(e){var n,i,j,g,b,N=e.data,y=(0,o.Z)(),w=(0,t.useState)(!1),C=w[0],_=w[1],Z=(0,t.useState)({content:{},index:void 0}),k=Z[0],T=Z[1],handleOpenModal=function(e,n){T({content:e,index:n}),_(!0)};return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(d.Z,{children:(0,f.jsx)(s.Z,{title:N.title})}),(0,f.jsx)(d.Z,{children:(0,f.jsx)(l.Z,{width:960,elements:N.images.map(function(e){return{image:e.url,alt:e.alternativeText,caption:e.caption}})})}),(0,f.jsx)(d.Z,{children:(0,f.jsxs)(v.Z,{children:[(0,f.jsx)("div",{className:"module-small",children:(0,f.jsx)(m.Z,{layout:m.Z.LAYOUTS.right,rightContent:(0,f.jsx)(r.Z,{items:N.facts.map(function(e){return{title:e.title,value:e.value}})}),leftContent:(0,f.jsx)(h.Z,{disableMargin:!0,children:N.content})})}),N.contact?(0,f.jsx)("div",{className:"module",children:(0,f.jsx)(a.Z,{items:N.contact.items})}):null]})}),null!==(n=N.videos)&&void 0!==n&&n.length?(0,f.jsx)(x.Z,{videos:N.videos.map(function(e,n){return{id:e.id,video:e.video,cover:e.video_preview,title:e.title,description:e.description,externalUrl:e.externalUrl,onClick:function(){var i;return handleOpenModal({content:{cover:e.video_preview,video:null!==(i=e.externalUrl)&&void 0!==i?i:e.video},index:n})}}})}):null,(null===(i=N.museums_history_link)||void 0===i?void 0:null===(j=i.image)||void 0===j?void 0:j.url)&&(null===(g=N.collection_link)||void 0===g?void 0:null===(b=g.image)||void 0===b?void 0:b.url)&&(0,f.jsx)(d.Z,{children:(0,f.jsxs)(u.Z,{children:[(0,f.jsx)(c.Z,{background:N.museums_history_link.image.url,title:N.museums_history_link.title,buttonText:y("title:history"),isHalf:!0,to:N.museums_history_link.url}),(0,f.jsx)(c.Z,{background:N.collection_link.image.url,title:N.collection_link.title,buttonText:y("general:explore"),isHalf:!0,to:N.collection_link.url})]})}),(0,f.jsx)(p.Z,{isOpen:C,onClickClose:function(){return _(!1)},children:k})]})}},47861:function(e,n,i){"use strict";var t=i(67294),o=i(93967),l=i.n(o),s=i(76276),a=i(85893);n.Z=function(e){var n=e.elements,i=e.fitImages,o=e.width,r=l()("activityImagesCarousel-image",{fit:i});return(0,a.jsx)("div",{className:"activityImagesCarousel",children:(0,a.jsx)(s.Z,{width:o,children:n.map(function(e,n){return(0,a.jsxs)(t.Fragment,{children:[(0,a.jsx)("img",{width:960,height:580,className:r,src:e.image,alt:e.alt,loading:0===n?"eager":"lazy"}),e.caption?(0,a.jsx)("div",{className:"activityImagesCarousel-caption pie",dangerouslySetInnerHTML:{__html:e.caption}}):null]},"activity-images-carousel-".concat(e.alt,"-").concat(n))})})})}},5298:function(e,n,i){"use strict";var t=i(93967),o=i.n(t),l=i(12746),s=i(85893);n.Z=function(e){var n=e.title,i=e.description,t=e.dates,a=e.paddingBottom,r=e.hasMainTitle,c=e.subt
1itle,u=o()("basicHero",{"padding-bottom":void 0===a||a}),d=o()("basicHero-title h1",{"has-mainTitle":r});return(0,s.jsx)("div",{className:u,children:(0,s.jsxs)(l.Z,{children:[i?(0,s.jsx)("h2",{className:"basicHero-description p2",children:i}):null,(0,s.jsx)("h1",{className:d,children:n}),c?(0,s.jsx)("p",{className:"basicHero-subtitle p1",children:c}):null,t?(0,s.jsx)("h3",{className:"basicHero-category p3",children:Array.isArray(t)?t.map(function(e){return(0,s.jsx)("span",{children:e},"activity-hero-".concat(e))}):t}):null]})})}},76276:function(e,n,i){"use strict";var t=i(67294),o=i(93967),l=i.n(o),s=i(12746),a=i(24687),r=i(85893);n.Z=function(e){var n=e.children,i=e.width;return(0,r.jsx)("div",{className:l()("carouselWithPagination",{"hide-pagination":n.length<=1}),children:(0,r.jsx)(s.Z,{children:(0,r.jsx)(a.Z,{options:{arrows:!0,pagination:!0,autoWidth:!1,speed:640,gap:42,width:void 0===i?856:i,focus:"center",easing:"cubic-bezier(0.17, 0.84, 0.44, 1)"},children:t.Children.map(n,function(e,n){return(0,r.jsx)("div",{className:"carouselWithPagination-slide",children:t.cloneElement(e)},"carousel-with-pagination-".concat(n))})})})})}},71216:function(e,n,i){"use strict";var t=i(59499),o=i(93967),l=i.n(o),s=i(85893);n.Z=function(e){var n,i=e.items,o=l()("contact",(n={},(0,t.Z)(n,"one-column",1===i.length),(0,t.Z)(n,"two-columns",2===i.length),(0,t.Z)(n,"three-columns",3===i.length),n));return(0,s.jsx)("div",{className:o,children:i.map(function(e){return(0,s.jsxs)("div",{className:"contact-item",children:[e.title?(0,s.jsx)("p",{className:"contact-title h4",children:e.title}):null,(0,s.jsx)("div",{className:"markdown",dangerouslySetInnerHTML:{__html:e.content}})]},"contact-".concat(e.id))})})}},99166:function(e,n,i){"use strict";var t=i(85893);n.Z=function(e){var n=e.items;return(0,t.jsx)("div",{className:"factsList",children:n.map(function(e){return(0,t.jsxs)("div",{className:"factsList-item",children:[(0,t.jsx)("p",{className:"factsList-title p2",children:e.title}),(0,t.jsx)("p",{className:"factsList-value h4",children:e.value})]},e.title)})})}},32879:function(e,n,i){"use strict";i(67294);var t=i(93967),o=i.n(t);i(12047);var l=i(8192),s=i(85893);n.Z=function(e){var n=e.background,i=e.isHalf,t=e.title,a=e.subtitle,r=e.to,c=e.isNewTab,u=e.buttonText,d=o()("grandCTA",{"is-half":i,"is-exhibition":a}),m=o()("grandCTA-title ",{h1:a,h3:!a});return(0,s.jsxs)("div",{className:d,children:[(0,s.jsx)("div",{className:"grandCTA-background",children:(0,s.jsx)("img",{width:1280,height:512,src:n,alt:"",loading:"lazy","aria-hidden":!0})}),(0,s.jsxs)("div",{className:"grandCTA-content",children:[(0,s.jsx)("p",{className:m,children:t}),a?(0,s.jsx)("p",{className:"grandCTA-subtitle h3",children:a}):null,(0,s.jsx)("div",{className:"grandCTA-buttonContainer",children:(0,s.jsx)(l.Z,{to:r,isNewTab:c,text:u})})]})]})}},22320:function(e,n,i){"use strict";var t=i(85893);n.Z=function(e){var n=e.children;return(0,t.jsx)("div",{className:"grandCTAContainer",children:n})}},37862:function(e,n,i){"use strict";i.d(n,{Z:function(){return multi_source_video_MultiSourceVideo}});var t=i(67294),o=i(85893);function YouTubeVideo(e){var n=e.url,i=e.cover,l=(0,t.useState)(!1),s=l[0],a=l[1],r=(0,t.useState)(!1),c=r[0],u=r[1],d=(0,t.useRef)(null),m=new URL(n),h=("www.youtube.com"===m.host||"www.youtube-nocookie.com"===m.host)&&"/watch"===m.pathname?m.searchParams.get("v"):"youtu.be"===m.host?m.pathname.slice(1):null;if(null===h)throw Error("Unable to extract YouTube ID from URL ".concat(n));var v=(0,t.useCallback)(function(){window.YT&&(d.current?(d.current.playVideo(),u(!0)):d.current=new window.YT.Player("youtube-video-".concat(h),{events:{onReady:function(){d.current.playVideo(),u(!0)}}}))},[h]);(0,t.useEffect)(function(){var e=document.createElement("script");return e.src="https://www.youtube.com/iframe_api",e.async=!0,window.onYouTubeIframeAPIReady=function(){return a(!0)},document.body.appendChild(e),function(){document.body.removeChild(e)}},[]),(0,t.useEffect)(function(){s&&!d.current&&(d.current=new window.YT.Player("youtube-video-".concat(h)))},[s,h]);var x="https://www.youtube-nocookie.com/embed/".concat(h,"?enablejsapi=1");return(0,o.jsx)("div",{className:"youtubeVideo",children:(0,o.jsxs)("div",{className:"youtubeVideo-video",children:[(0,o.jsx)("div",{className:"youtubeVideo-cover ".concat(c?"hide":""),style:{backgroundImage:"url(".concat(i,")")},onClick:v,children:(0,o.jsx)("div",{className:"youtubeVideo-coverButton"})}),(0,o.jsx)("iframe",{id:"youtube-video-".concat(h),className:"youtubeVideo-iframe",src:x,title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})]})})}var l=i(4298),s=i.n(l),a=i(93967),r=i.n(a);function VimeoVideo(e){var n=e.url,i=e.cover,l=(0,t.useRef)(null),a=(0,t.useRef)(null),c=(0,t.useRef)(null),u=(0,t.useState)(!1),d=u[0],m=u[1],h=(0,t.useCallback)(function(){var e=c.current;e&&Vimeo&&(new Vimeo.Player(e).play(),m(!0))},[]);return(0,o.jsx)("div",{className:"vimeoVideo",ref:l,children:(0,o.jsxs)("div",{className:"vimeoVideo-video",ref:a,children:[(0,o.jsx)("div",{className:r()("vimeoVideo-cover",{hide:d}),style:{backgroundImage:"url(".concat(i,")")},onClick:h,children:(0,o.jsx)("div",{className:"vimeoVideo-coverButton"})}),(0,o.jsx)(s(),{src:"https://player.vimeo.com/api/player.js"}),(0,o.jsx)("iframe",{className:"vimeoVideo-iframe",ref:c,src:n,frameBorder:"0",allowFullScreen:!0,allow:"autoplay; encrypted-media"})]})})}var multi_source_video_MultiSourceVideo=function(e){var n=e.url,i=e.cover,t=e.localVideoRef;return/^(https?:\/\/)?(www\.)?(youtube\.com|youtu\.be)\/.+/.test(n)?(0,o.jsx)(YouTubeVideo,{url:n,cover:i||null}):/^(https?:\/\/)?(www\.)?(player\.)?vimeo\.com\/video\/\d+(.*)?/.test(n)?(0,o.jsx)(VimeoVideo,{url:n,cover:i||null}):(0,o.jsxs)("video",{className:"onlineExhibitionModal-video",controls:!0,poster:i,preload:"metadata",ref:t,children:[(0,o.jsx)("source",{src:n,type:"video/mp4"}),"Your browser does not support the video tag."]})}},19384:function(e,n,i){"use strict";var t=i(67294),o=i(93967),l=i.n(o),s=i(12746),a=i(24687),r=i(37862),c=i(85893),u=(0,t.forwardRef)(function(e,n){var i,o,u=e.isOpen,d=e.onClickClose,m=e.children,h=(0,t.useRef)(null),v=l()("onlineExhibitionModal",{"is-open":u}),closeModal=function(e){h.current&&(h.current.pause(),h.current.currentTime=0),e.currentTarget===e.target&&d()};if(!u)return null;var x=Array.isArray(m.content)?m.content:null!==(i=null===(o=m.content)||void 0===o?void 0:o.content)&&void 0!==i?i:m.content,p=m.index;return(0,c.jsxs)("div",{className:v,onClick:function(e){return closeModal(e)},children:[(0,c.jsx)("div",{className:"onlineExhibitionModal-content",children:(0,c.jsx)(s.Z,{children:Array.isArray(x)&&x.length>0?(0,c.jsx)(a.Z,{hasIndicator:!0,options:{arrows:!0,pagination:!1,gap:24,speed:640,easing:"cubic-bezier(0.17, 0.84, 0.44, 1)",flickPower:0,start:p,breakpoints:{768:{gap:16}}},children:x.map(function(e,n){return e.video?(0,c.jsxs)("div",{children:[(0,c.jsx)(r.Z,{url:e.video,cover:e.cover,localVideoRef:h}),e.caption?(0,c.jsx)("div",{className:"onlineExhibitionModal-caption p3",dangerouslySetInnerHTML:{__html:e.caption}}):null]},"video-modal-".concat(e.video,"-").concat(n)):(0,c.jsxs)("div",{children:[(0,c.jsx)("img",{className:"onlineExhibitionModal-image",src:e.image,alt:""}),e.caption?(0,c.jsx)("div",{className:"onlineExhibitionModal-caption p3",dangerouslySetInnerHTML:{__html:e.caption}}):null]},"image-modal-".concat(e.image,"-").concat(n))})}):null!=x&&x.video?(0,c.jsxs)("div",{className:"onlineExhibitionModal-videoContainer",children:[(0,c.jsx)(r.Z,{url:x.video,cover:x.cover,localVideoRef:h}),null!=x&&x.caption?(0,c.jsx)("div",{className:"onlineExhibitionModal-caption p3",dangerouslySetInnerHTML:{__html:x.caption}}):null]}):(0,c.jsxs)("div",{className:"onlineExhibitionModal-imageContainer",children:[(0,c.jsx)("img",{className:"onlineExhibitionModal-image",src:null==x?void 0:x.image,alt:""}),null!=x&&x.caption?(0,c.jsx)("div",{className:"onlineExhibitionModal-caption p3",dangerouslySetInnerHTML:{__html:null==x?void 0:x.caption}}):null]})})}),(0,c.jsx)("button",{className:"onlineExhibitionModal-closeButton",onClick:function(e){return closeModal(e)}})]})});u.displayName="OnlineExhibitionModal",n.Z=u},22019:function(e,n,i){"use strict";var t=i(59499),o=i(93967),l=i.n(o),s=i(85893),a={center:"center",left:"left",right:"right"},ResumeColumns=function(e){var n,i=e.rightContent,o=e.leftContent,r=e.caption,c=e.shrinkTop,u=e.fullWidth,d=e.symmetric,m=e.layout,h=void 0===m?a.center:m,v=l()("resumeColumns",(n={},(0,t.Z)(n,"layout-".concat(h),h),(0,t.Z)(n,"shrink-top",c),(0,t.Z)(n,"full-width",u),(0,t.Z)(n,"symmetric",d),n)
1);return(0,s.jsx)("div",{className:v,children:(0,s.jsxs)("div",{className:"resumeColumns-content",children:[(0,s.jsx)("div",{className:"resumeColumns-column",children:i}),(0,s.jsxs)("div",{className:"resumeColumns-column",children:[o,r?(0,s.jsx)("span",{className:"pie pie-color",children:r}):null]})]})})};ResumeColumns.LAYOUTS=a,n.Z=ResumeColumns},96822:function(e,n,i){"use strict";var t=i(67294),o=i(93967),l=i.n(o),s=i(85893);n.Z=function(e){var n=e.lead,i=e.fullWidth,o=e.narrow,a=e.disableMargin,r=e.gutterBottom,c=e.children,u=e.isCentered,d=l()("textContent",{"full-width":void 0===i||i,"disable-margin":a,narrow:void 0!==o&&o,"gutter-bottom":r,centered:u});return(0,s.jsxs)("div",{className:d,children:[n?(0,s.jsx)("div",{className:"textContent-lead h5",children:n}):null,(0,s.jsx)("div",{className:"textContent-content",children:t.Children.map(c,function(e){return"string"==typeof e?(0,s.jsx)("div",{dangerouslySetInnerHTML:{__html:e}}):e})})]})}},27157:function(e,n,i){"use strict";var t=i(67294),o=i(93967),l=i.n(o),s=i(87453),a=i(12746),r=i(24687),c=i(85893);n.Z=function(e){var n=e.title,i=e.description,o=e.videos,u=(0,s.Z)(),d=(0,t.useMemo)(function(){return n||u("videos-carousel:title")},[n,u]),m=(0,t.useMemo)(function(){return o.filter(function(e){return e.cover})},[o]),h=1===m.length,v=l()("videosCarousel",{"has-onlyOne":h});return(0,c.jsx)("div",{className:v,children:(0,c.jsxs)(a.Z,{children:[(0,c.jsx)("div",{className:"mt-0 textContent gutter-bottom centered",children:(0,c.jsxs)("div",{className:"textContent-content",children:[(0,c.jsx)("h4",{className:"videosCarousel-title h4",children:d}),i?(0,c.jsx)("p",{children:i}):null]})}),(0,c.jsx)(r.Z,{options:{arrows:!0,pagination:!1,autoWidth:!0,gap:h?0:24,speed:640,easing:"cubic-bezier(0.17, 0.84, 0.44, 1)",breakpoints:{768:{gap:h?0:24}}},children:m.map(function(e){return(0,c.jsxs)("div",{className:"videosCarousel-slide",children:[(0,c.jsx)("div",{className:"videosCarousel-item",children:(0,c.jsxs)("button",{className:"videosCarousel-button",onClick:e.onClick?e.onClick:void 0,disabled:!(e.externalUrl||e.video),children:[(0,c.jsx)("img",{src:e.cover,alt:""}),(0,c.jsx)("div",{className:"videosCarousel-videoPlay","aria-hidden":!0}),(0,c.jsx)("span",{className:"sr-only",children:u("general:open:video-modal")})]})}),(0,c.jsx)("p",{className:"h5",children:e.title}),(0,c.jsx)("p",{className:"p3",children:e.description})]},"video-carousel-".concat(e.id))})})]})})}},24906:function(e,n,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/coleccion-faba",function(){return i(61176)}])}},function(e){e.O(0,[9774,2888,179],function(){return e(e.s=24906)}),_N_E=e.O()}]);
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.