require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages_course/yk-screenRecord/yk-screenRecord"],{870:function(n,e,t){"use strict";t.r(e);var o=t(871),c=t(873);for(var r in c)["default"].indexOf(r)<0&&function(n){t.d(e,n,(function(){return c[n]}))}(r);t(875);var i,s=t(34),u=Object(s["default"])(c["default"],o["render"],o["staticRenderFns"],!1,null,null,null,!1,o["components"],i);u.options.__file="pages_course/yk-screenRecord/yk-screenRecord.vue",e["default"]=u.exports},871:function(n,e,t){"use strict";t.r(e);var o=t(872);t.d(e,"render",(function(){return o["render"]})),t.d(e,"staticRenderFns",(function(){return o["staticRenderFns"]})),t.d(e,"recyclableRender",(function(){return o["recyclableRender"]})),t.d(e,"components",(function(){return o["components"]}))},872:function(n,e,t){"use strict";var o;t.r(e),t.d(e,"render",(function(){return c})),t.d(e,"staticRenderFns",(function(){return i})),t.d(e,"recyclableRender",(function(){return r})),t.d(e,"components",(function(){return o}));var c=function(){var n=this,e=n.$createElement;n._self._c},r=!1,i=[];c._withStripped=!0},873:function(n,e,t){"use strict";t.r(e);var o=t(874),c=t.n(o);for(var r in o)["default"].indexOf(r)<0&&function(n){t.d(e,n,(function(){return o[n]}))}(r);e["default"]=c.a},874:function(n,e,t){"use strict";(function(n,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o={data:function(){return{isRecording:!1}},created:function(){this.screenInit()},onUnload:function(){this.AllowScreenshots()},beforeDestroy:function(){this.AllowScreenshots()},methods:{screenInit:function(){var e=this;n.getSystemInfo({success:function(n){"android"==n.platform?t.setVisualEffectOnCapture({visualEffect:"hidden",success:function(n){console.log(n)},fail:function(n){console.log(n)},complete:function(n){console.log(n)}}):(t.onScreenRecordingStateChanged((function(n){"start"==n.state?e.isRecording=!0:e.isRecording=!1})),t.getScreenRecordingState({success:function(n){"on"==n.state?e.isRecording=!0:"off"==n.state&&(e.isRecording=!1)},fail:function(n){e.isRecording=!1}}))}})},NoscreenCapture:function(){var n=plus.os.name;if("Android"==n){var e=plus.android.runtimeMainActivity();plus.android.invoke(plus.android.invoke(e,"getWindow"),"addFlags",8192)}},AllowScreenshots:function(){var e=this;n.getSystemInfo({success:function(n){"android"==n.platform?t.setVisualEffectOnCapture({visualEffect:"none",success:function(n){console.log(n)},fail:function(n){console.log(n)},complete:function(n){console.log(n)}}):(t.onScreenRecordingStateChanged((function(n){n.state,e.isRecording=!1})),t.getScreenRecordingState({success:function(n){("on"==n.state||"off"==n.state)&&(e.isRecording=!1)},fail:function(n){e.isRecording=!1}}))}})}}};e.default=o}).call(this,t(2)["default"],t(1)["default"])},875:function(n,e,t){"use strict";t.r(e);var o=t(876),c=t.n(o);for(var r in o)["default"].indexOf(r)<0&&function(n){t.d(e,n,(function(){return o[n]}))}(r);e["default"]=c.a},876:function(n,e,t){}}]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages_course/yk-screenRecord/yk-screenRecord.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'pages_course/yk-screenRecord/yk-screenRecord-create-component',
    {
        'pages_course/yk-screenRecord/yk-screenRecord-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('2')['createComponent'](__webpack_require__(870))
        })
    },
    [['pages_course/yk-screenRecord/yk-screenRecord-create-component']]
]);
