(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-d7915486"],{2218:function(t,e,o){"use strict";o("f484")},"4bcc":function(t,e,o){},"5dcf":function(t,e,o){"use strict";var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"w-full h-full flex flex-col items-center gap-y-1 justify-center edu-com-placeholder-action"},[e("label",{staticClass:"placeholder-action-label"},[t._v(" "+t._s(t.label)+" ")]),t._t("default",(function(){return[t.noAction?t._e():e("div",{staticClass:"flex gap-x-2 items-center placeholder-action-container",staticStyle:{cursor:"pointer"},on:{click:t.action}},[e("div",[e("feather-icon",{directives:[{name:"tooltip",rawName:"v-tooltip.top",value:{content:t.actionTooltip,delay:{show:1e3,hide:100}},expression:"{\n            content: actionTooltip,\n            delay: { show: 1000, hide: 100 }\n          }",modifiers:{top:!0}}],staticClass:"ml-1 placeholder-action-icon",attrs:{icon:t.actionIcon,svgClasses:"h-4 w-4 placeholder-action-icon-svg"}})],1),e("div",[e("b",{staticClass:"placeholder-action-icon-text"},[t._v(t._s(t.actionText))])])])]}))],2)},n=[],s={props:{label:{type:String,default:function(){return this.$t("nao-ha-nada-aqui")}},actionTooltip:{type:String,default:function(){return this.$t("atualizar")}},actionText:{type:String,default:function(){return this.$t("atualizar")}},actionIcon:{type:String,default:"RefreshCwIcon"},noAction:{type:Boolean,default:!1}},methods:{action:function(t){this.$emit("action",t)}}},r=s,a=o("2877"),c=Object(a["a"])(r,i,n,!1,null,null,null);e["a"]=c.exports},8086:function(t,e,o){"use strict";var i=function(){var t=this,e=t._self._c;return e("div",[t.videoProcessing?e("vs-alert",{staticClass:"text-warning",attrs:{title:t.$t("atencao"),color:"rgb(231, 154, 23)",active:"true"}},[t._v(" "+t._s(t.$t("video-ainda-esta-em-processamento"))+" ")]):t._e(),e("div",{staticClass:"vjs-custom-skin"},[e("video",{ref:"videoPlayer",staticClass:"video-js",attrs:{playsinline:"true",src:t.options.src},on:{timeupdate:t.onTimeUpdate}},[e("source",{attrs:{src:t.options.src,type:t.options.type}})])]),t.videoWaitProcessing?e("edu-placeholder-action",{staticClass:"absolute z-50 placeholder-backdrop text-white bottom-0",attrs:{label:t.$t("o-video-ainda-esta-sendo-processado")},on:{action:function(e){return t.$router.go()}}}):t._e()],1)},n=[],s=o("5dcf"),r=(o("4bcc"),{components:{EduPlaceholderAction:s["a"]},props:{options:{type:Object,default:function(){return{}}}},data:function(){return{playerOptions:{autoplay:!1,controls:!0,controlBar:{currentTimeDisplay:!0,timeDivider:!0,durationDisplay:!0,liveDisplay:!1},liveui:!1},currentVideoTime:null}},computed:{player:function(){return this.$refs.videoPlayer},videoRendered:function(){return this.options.video_progress>=100},videoProcessing:function(){return this.options.video_progress>=0&&this.options.video_progress<100},videoWaitProcessing:function(){return this.isEmpty(this.options.video_progress)}},methods:{setupVideo:function(){this.videoRendered||(this.playerOptions.autoplay=!1),this.videoPlayer=this.$video(this.player,this.playerOptions),this.videoPlayer.controlBar.progressControl.el_.classList.add("grid"),this.videoPlayer.controlBar.progressControl.el_.classList.add("grid-rows-2"),this.videoPlayer.controlBar.progressControl.addChild("eventBarCustom",{events:this.options.events})},onTimeUpdate:function(t){this.currentVideoTime=t.target.currentTime},getCurrentTime:function(){return this.currentVideoTime}},mounted:function(){this.setupVideo()},beforeDestroy:function(){this.videoPlayer&&this.videoPlayer.dispose()}}),a=r,c=(o("2218"),o("2877")),l=Object(c["a"])(a,i,n,!1,null,null,null);e["a"]=l.exports},f484:function(t,e,o){}}]);