(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/page-component/app-video/app-video"],{"1a74":function(t,e,n){"use strict";var r=n("aa64"),i=n.n(r);i.a},"8dac":function(t,e,n){"use strict";n.r(e);var r=n("bdba"),i=n.n(r);for(var o in r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);e["default"]=i.a},aa64:function(t,e,n){},ad15:function(t,e,n){"use strict";var r,i=function(){var t=this,e=t.$createElement;t._self._c},o=[];n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return r}))},ba01:function(t,e,n){"use strict";n.r(e);var r=n("ad15"),i=n("8dac");for(var o in i)"default"!==o&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("1a74");var u,a=n("f0c5"),c=Object(a["a"])(i["default"],r["b"],r["c"],!1,null,"7b7cb7d3",null,!1,r["a"],u);e["default"]=c.exports},bdba:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=o(n("0840"));function i(){if("function"!==typeof WeakMap)return null;var t=new WeakMap;return i=function(){return t},t}function o(t){if(t&&t.__esModule)return t;if(null===t||"object"!==typeof t&&"function"!==typeof t)return{default:t};var e=i();if(e&&e.has(t))return e.get(t);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)){var u=r?Object.getOwnPropertyDescriptor(t,o):null;u&&(u.get||u.set)?Object.defineProperty(n,o,u):n[o]=t[o]}return n.default=t,e&&e.set(t,n),n}var u={name:"app-video",data:function(){return{start:!1,fullScreen:!1}},props:{picUrl:{type:String,default:function(){return""}},url:{type:String,default:function(){return""}},width:{type:String,default:function(){return"750rpx"}},height:{type:String,default:function(){return"422rpx"}}},methods:{fullscreenChange:function(t){this.fullScreen=t.detail.fullScreen},play:function(){var t=this;this.$nextTick().then((function(){t.start=!0})),r.trigger(this.$const.EVENT_VIDEO_END),this.$emit("videoStart",!0),r.on(this.$const.EVENT_VIDEO_END,!0).then((function(){t.start=!1,t.$emit("videoStart",!1)}))},autoEnd:function(){var e=this;if(this.start&&!this.fullScreen){var n=t.getSystemInfoSync().windowHeight,i=null;i=this.createSelectorQuery(),i.select(".video").boundingClientRect(),i.selectViewport().scrollOffset(),i.exec((function(t){(t[0].top<=-200||t[0].top>=n-57)&&r.trigger(e.$const.EVENT_VIDEO_END)}))}}},computed:{scrollTop:function(){return this.$store.state.page.scrollTop}},watch:{scrollTop:{handler:function(t){this.autoEnd()},immediate:!0}}};e.default=u}).call(this,n("543d")["default"])}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'components/page-component/app-video/app-video-create-component',
    {
        'components/page-component/app-video/app-video-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('543d')['createComponent'](__webpack_require__("ba01"))
        })
    },
    [['components/page-component/app-video/app-video-create-component']]
]);
