require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages_course/components/yk-screenRecord/yk-screenRecord"],{1128:function(n,e,t){"use strict";t.r(e);var r=t(1129),o=t(1131);for(var i in o)["default"].indexOf(i)<0&&function(n){t.d(e,n,(function(){return o[n]}))}(i);t(1133);var c,s=t(34),u=Object(s["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],c);u.options.__file="pages_course/components/yk-screenRecord/yk-screenRecord.vue",e["default"]=u.exports},1129:function(n,e,t){"use strict";t.r(e);var r=t(1130);t.d(e,"render",(function(){return r["render"]})),t.d(e,"staticRenderFns",(function(){return r["staticRenderFns"]})),t.d(e,"recyclableRender",(function(){return r["recyclableRender"]})),t.d(e,"components",(function(){return r["components"]}))},1130:function(n,e,t){"use strict";var r;t.r(e),t.d(e,"render",(function(){return o})),t.d(e,"staticRenderFns",(function(){return c})),t.d(e,"recyclableRender",(function(){return i})),t.d(e,"components",(function(){return r}));var o=function(){var n=this,e=n.$createElement;n._self._c},i=!1,c=[];o._withStripped=!0},1131:function(n,e,t){"use strict";t.r(e);var r=t(1132),o=t.n(r);for(var i in r)["default"].indexOf(i)<0&&function(n){t.d(e,n,(function(){return r[n]}))}(i);e["default"]=o.a},1132:function(n,e,t){"use strict";(function(n,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={data:function(){return{isRecording:!1}},created:function(){this.screenInit()},onUnload: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 n=plus.os.name;if("Android"==n){var e=plus.android.runtimeMainActivity();plus.android.invoke(plus.android.invoke(e,"getWindow"),"clearFlags",8192)}}}};e.default=r}).call(this,t(2)["default"],t(1)["default"])},1133:function(n,e,t){"use strict";t.r(e);var r=t(1134),o=t.n(r);for(var i in r)["default"].indexOf(i)<0&&function(n){t.d(e,n,(function(){return r[n]}))}(i);e["default"]=o.a},1134:function(n,e,t){}}]);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages_course/components/yk-screenRecord/yk-screenRecord.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'pages_course/components/yk-screenRecord/yk-screenRecord-create-component',
    {
        'pages_course/components/yk-screenRecord/yk-screenRecord-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('2')['createComponent'](__webpack_require__(1128))
        })
    },
    [['pages_course/components/yk-screenRecord/yk-screenRecord-create-component']]
]);
