1"use strict";(self.webpackChunkwf_core_setup=self.webpackChunkwf_core_setup||[]).push([[4539],{2333:(e,a,i)=>{i.r(a),i.d(a,{default:()=>o});var t=function(){var e=this,a=e._self._c;return a("div",{ref:"video",staticClass:"youtube-video-banner video-wrapper",attrs:{id:"thevideo"}},[a("div",{staticClass:"embed-responsive embed-responsive-16by9"},[a("div",{directives:[{name:"show",rawName:"v-show",value:e.thumbnailImagediv,expression:"thumbnailImagediv"}],staticClass:"video-thumbnail"},[a("img",{attrs:{src:e.matchMedia.isMobileView?e.mobileThumbnailImage:e.thumbnailImage,alt:e.matchMedia.isMobileView?e.altMobile:e.altDesktop}})]),e._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:e.playIcondiv,expression:"playIcondiv"}],staticClass:"video-play-icon",attrs:{id:"Videoplay"}},[a("img",{attrs:{src:e.playIcon,alt:e.altPlay},on:{click:e.playVideo}})]),e._v(" "),a("iframe",{directives:[{name:"show",rawName:"v-show",value:e.showYoutubeVideo,expression:"showYoutubeVideo"}],staticClass:"bannerframe",attrs:{id:"dsgPlayer",title:"Banner Frame",src:e.youtubeLink,allow:"autoplay; fullscreen",wmode:"Opaque"}})])])};t._withStripped=!0;const s={name:"youtube-video-banner",props:{playIcon:{type:String},thumbnailImage:{type:String},mobileThumbnailImage:{type:String},youtubeLink:{type:String},altDesktop:{type:String,default:""},altMobile:{type:String,default:""},altPlay:{type:String,default:""}},data:function(){return{thumbnailImagediv:!0,playIcondiv:!0,showYoutubeVideo:!1}},methods:{playVideo:function(){this.showYoutubeVideo=!0;var e=this.$refs.video.querySelector(".bannerframe");this.postMessageToPlayer(e,{event:"command",func:"playVideo"}),this.thumbnailImagediv=!1,this.playIcondiv=!1},postMessageToPlayer:function(e,a){if(null!=e&&null!=a)try{var i=new URL(e.src).origin;e.contentWindow.postMessage(JSON.stringify(a),i)}catch(e){console.warn("Invalid video URL",e)}}}},o=(0,i(4486).A)(s,t,[],!1,null,null,null).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.