1(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{407:function(e,a,t){e.exports={}},413:function(e,a,t){"use strict";t(407)},414:function(e,a,t){"use strict";t(7),t(31),t(38);var i=t(109),n=t(49),s={name:"PartWebMedia",components:{VideoLocal:function(){return Promise.resolve().then(t.bind(null,286))},VideoEmbed:function(){return t.e(43).then(t.bind(null,547))},WebPicture:i.a,ButtonBase:n.a},props:{media:{type:Object,default:function(){return{}}},controls:{type:Boolean,default:!1},autoplay:{type:Boolean,default:!1}},data:function(){return{videoLoaded:!("Youtube"!==this.media.mediaType&&"Vimeo"!==this.media.mediaType),play:!("Youtube"!==this.media.mediaType&&"Vimeo"!==this.media.mediaType)}},computed:{videoComponent:function(){var e;switch(null==this||null===(e=this.media)||void 0===e?void 0:e.mediaType){case"Video":return"VideoLocal";case"Vimeo":case"Youtube":return"VideoEmbed";default:return null}}},mounted:function(){this.play=this.autoplay,"Youtube"!==this.media.mediaType&&"Vimeo"!==this.media.mediaType||this.loadVideo()},methods:{loadVideo:function(){var e;"Image"!==(null==this||null===(e=this.media)||void 0===e?void 0:e.mediaType)&&(this.play=!0)},videoLoad:function(){this.videoLoaded=!0}}},o=(t(413),t(2)),l=Object(o.a)(s,function(){var e=this,a=e._self._c;return e.media?a("div",{staticClass:"parts-webMedia"},[a("div",{staticClass:"parts-webMedia__inner",on:{click:e.loadVideo}},["Image"===e.media.mediaType||e.videoLoaded||e.play||"Youtube"===e.media.mediaType||"Vimeo"===e.media.mediaType?e._e():a("ButtonBase",{staticClass:"btn parts-webMedia__playButton",on:{click:function(a){e.play=!0}}},[a("span",{staticClass:"parts-webMedia__playButton__play"},[a("LocalPicture",{attrs:{src:"playButtonIcon.webp",alt:"Play Button","aria-label":"Play Button"}})],1),e._v(" "),a("span",{staticClass:"parts-webMedia__playButton__text"},[e._v(" Play ")])]),e._v(" "),a("transition",{attrs:{name:"fade"}},[e.videoLoaded||e.play?e._e():a("WebPicture",{staticClass:"parts-webMedia__media parts-webMedia__media--image",attrs:{image:e.media.poster}})],1),e._v(" "),a("transition",{attrs:{name:"fade"}},[e.videoComponent?a(e.videoComponent,{directives:[{name:"show",rawName:"v-show",value:e.play,expression:"play"}],tag:"component",staticClass:"parts-webMedia__media",attrs:{play:e.play,video:e.media,autoplay:e.autoplay,controls:e.controls},on:{videoLoad:e.videoLoad}}):e._e()],1)],1)]):e._e()},[],!1,null,null,null);a.a=l.exports},452:function(e,a,t){e.exports={}},500:function(e,a,t){"use strict";t(452)},542:function(e,a,t){"use strict";t.r(a);t(21);var i=t(194),n=t(414),s=t(109),o=t(192),l={name:"SectionGallery",components:{HeaderSplit:i.a,WebMedia:n.a,WebPicture:s.a},mixins:[o.a],props:{section:{type:Object,default:function(){return{}}},gameTitle:{type:String,default:""}},data:function(){return{activeImage:null,activeImageID:null}},computed:{modalOpen:function(){return this.$store.state.modalOpen}},methods:{openModal:function(e,a){this.activeImage=e,this.activeImageID=a+1,this.$store.dispatch("setModalOpen",!0)},closeModal:function(){this.activeImage=null,this.activeImageID=null,this.$store.dispatch("setModalOpen",!1)}}},d=(t(500),t(2)),r=Object(d.a)(l,function(){var e=this,a=e._self._c;return e.section?a("section",{ref:"sectionRef",staticClass:"section-gallery"},[a("div",{staticClass:"container--main section-gallery__topContainer"},[e.section.number?a("span",{staticClass:"section-gallery__number clr--white"},[a("span",{staticClass:"fadeIn",domProps:{textContent:e._s(e.section.number)}})]):e._e(),e._v(" "),e.section.headerLine_1.length>0||e.section.headerLine_2.length>0?a("HeaderSplit",{attrs:{"header-line_1":e.section.headerLine_1,"header-line_2":e.section.headerLine_2,tag:"h2","class-name":"h1__large section-gallery__header"}}
1):e._e()],1),e._v(" "),a("div",{staticClass:"container--inner section-gallery__bottomContainer"},[a("div",{directives:[{name:"parallax",rawName:"v-parallax"}],staticClass:"section-gallery__videoWrapper",attrs:{"data-offset":"100","data-speed":"-0.1"}},[a("div",{staticClass:"swipeUp"},[e.section.video?a("WebMedia",{staticClass:"swipeUp__inner section-gallery__video",attrs:{media:e.section.video,autoplay:!1}}):e._e()],1)]),e._v(" "),a("div",{directives:[{name:"parallax",rawName:"v-parallax"}],staticClass:"section-gallery__images",attrs:{"data-offset":"100","data-speed":"-0.09"}},e._l(e.section.galleryImage,function(t,i){return a("button",{key:i,staticClass:"section-gallery__imageWrapper",attrs:{"aria-label":"Gallery image ".concat(i+1," of the game ").concat(e.gameTitle)},on:{click:function(a){return e.openModal(t.image,i)}}},[a("WebPicture",{staticClass:"section-gallery__image swipeUp",style:"--base-delay: ".concat(.1*i,"s"),attrs:{image:t.image,classname:"swipeUp__inner"}})],1)}),0)]),e._v(" "),a("portal",{attrs:{to:"modal",test:"test"}},[e.modalOpen&&e.activeImage?a("div",{attrs:{role:"dialog",name:"modal","aria-label":"Gallery image ".concat(e.activeImageID," of the game ").concat(e.gameTitle)}},[a("WebPicture",{staticClass:"section-gallery__activeImage",attrs:{image:e.activeImage},on:{click:e.closeModal}})],1):e._e()])],1):e._e()},[],!1,null,null,null);a.default=r.exports}}]);
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.