1import{_ as b}from"./HeadingType.vue.1146a9d9.js";import m from"./VideoItem.1633e5bd.js";import{d as k,r as y,o as h,x as g,y as f,e as o,f as t,j as a,z as l,n as c,h as n,A as _}from"./swiper-vue.d06afa39.js";import{g as d}from"./index.9e2476f3.js";import{S as w}from"./ScrollTrigger.42d31154.js";import{h as x}from"./entry.ad64c700.js";import"./ResponsiveImage.vue.262bdd56.js";import"./_commonjsHelpers.725317a4.js";import"./icon-play.dff41cab.js";const S=["id"],T={class:"grid-column-container video__wrapper"},V={key:0,class:"video__header"},B={key:0,class:"video__title"},C={key:1,class:"video__description"},O={class:"video__container"},p=k({__name:"Video",props:{blok:{type:Object,required:!0},buttonType:{type:String,default:"default"},noOverlay:{type:Boolean,default:!1}},setup(e){d.registerPlugin(w);const i=y();function r(){d.from(i.value,{scrollTrigger:{trigger:i.value,start:"center bottom",end:"center +=55%",scrub:1,once:!0},duration:2,scale:1,zIndex:2,ease:"power1.out",onComplete:function(){d.to(i.value,{zIndex:-1})}})}return h(()=>{setTimeout(()=>{r()},1e3)}),(z,A)=>{const s=b,v=m,u=g("editable");return f((o(),t("div",{id:e.blok.anchor_id,class:c(["video",[e.blok.background_color==="dark-blue"?"video--bg-dark":"",e.blok.video_layout==="centered"?"video--centered":"",{"video--centered":e.blok.video_layout==="centered"},{"video--contained":e.blok.video_layout==="contained"},{"top-margin":!e.blok.remove_top_margin},{"bottom-margin":!e.blok.remove_bottom_margin}]])},[a("div",T,[(e.blok.title||e.blok.description)&&e.blok.video_layout!=="full-width"?(o(),t("div",V,[e.blok.title?(o(),t("div",B,[l(s,{"heading-type":e.blok.heading_type,heading:e.blok.title,class:c({"no-heading":e.blok.heading_type==="div"||!e.blok.heading_type})},null,8,["heading-type","heading","class"])])):n("",!0),e.blok.description?(o(),t("div",C,[a("p",null,_(e.blok.description),1)])):n("",!0)])):n("",!0),e.blok.switch_off_animation?n("",!0):(o(),t("div",{key:1,ref_key:"videoOverlayAnimation",ref:i,class:"video__overlay"},null,512)),a("div",O,[l(v,{"video-url":e.blok.video,"video-placeholder":e.blok.video_placeholder,"video-name":e.blok.video_name,"video-description":e.blok.video_description,"video-upload-date":e.blok.video_upload_date,"video-standard-player":e.blok.standardPlayer,"video-layout":e.blok.video_layout,"show-btn-watch":e.blok.showBtnWatch,"btn-watch-position":e.blok.btnWatchPosition,"button-type":e.buttonType,"no-overlay":e.noOverlay},null,8,["video-url","video-placeholder","video-name","video-description","video-upload-date","video-standard-player","video-layout","show-btn-watch","btn-watch-position","button-type","no-overlay"])])])],10,S)),[[u,e.blok]])}}});const M=x(p,[["__scopeId","data-v-387f0d87"]]);export{M as default};
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.