(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-61c0e86c"],{"3b77":function(e,o,t){},a59d:function(e,o,t){"use strict";t("3b77")},d355:function(e,o,t){"use strict";t.r(o);var l=t("7a23");const a=["src","controls","autoplay","loop","muted","volume"],n={key:0,class:"share"},r=Object(l["createElementVNode"])("i",{style:{"font-size":"48px",color:"#999999"},class:"d-iconfont oinone-shipin1"},null,-1),c=[r];function d(e,o,t,r,d,s){return Object(l["openBlock"])(),Object(l["createElementBlock"])("div",{class:Object(l["normalizeClass"])(["internal-video",[e.dom.class,(e.borderStyle===e.BorderType.STYLE01||e.borderStyle===e.BorderType.STYLE02)&&"has-border"]]),style:Object(l["normalizeStyle"])(e.dom.style)},[Object(l["withDirectives"])(Object(l["createElementVNode"])("video",{class:"video",src:e.videoUrl,controls:e.controls,ref:"videoNode",autoplay:e.play,loop:e.autoLoop,muted:e.mute,volume:e.videoVolume,onPause:o[0]||(o[0]=(...o)=>e.onPause&&e.onPause(...o)),onPlay:o[1]||(o[1]=(...o)=>e.onPlay&&e.onPlay(...o)),onMouseenter:o[2]||(o[2]=o=>e.controls=!0),onMouseout:o[3]||(o[3]=o=>e.controls=!1)},null,40,a),[[l["vShow"],e.videoUrl]]),e.videoUrl?Object(l["createCommentVNode"])("",!0):(Object(l["openBlock"])(),Object(l["createElementBlock"])("div",n,c))],6)}var s=t("49c67"),u=t("6251"),i=Object(l["defineComponent"])({inheritAttrs:!1,props:Object.assign(Object.assign({},u["d"]),{videoUrl:{type:String,default:""},videoFile:{type:String,default:""},autoLoop:{type:Boolean,default:!0},autoPlay:{type:Boolean,default:!0},mute:{type:Boolean,default:!1},volume:{type:[String,Number],default:50}}),setup(e){const o=s["b"].DefaultImage,t=Object(l["inject"])("disabled",!0),a=Object(l["ref"])(!1),n=Object(l["ref"])(""),r=Object(l["ref"])(!!t||!e.autoPlay),c=Object(l["computed"])(()=>e.volume/100),d=Object(l["computed"])(()=>e.autoPlay),u=Object(l["computed"])(()=>e.videoFile||e.videoUrl),i=Object(l["computed"])(()=>{const o=Object(s["k"])(e.borderStyle,e.borderColor),t=Object.assign({height:e.height+"px",width:e.width+"px","border-color":e.borderColor},o.style);return{style:t,class:o.class}}),p=()=>{n.value.paused?(r.value=!1,n.value.play()):(n.value.pause(),r.value=!0)},b=()=>{r.value=!0},v=()=>{r.value=!1};return Object(l["onMounted"])(()=>{e.autoPlay&&n.value.play()}),{showShare:r,controls:a,videoUrl:u,videoNode:n,play:d,dom:i,videoVolume:c,share:o,BorderType:s["a"],onToggleVideo:p,onPlay:v,onPause:b}}}),p=(t("a59d"),t("6b0d")),b=t.n(p);const v=b()(i,[["render",d]]);o["default"]=v}}]);