(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-17789bbd"],{"15f6":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"row"},[a("div",{staticClass:"col-md-12"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("b-button",{attrs:{to:{name:"system.setting"},size:"sm",variant:"light"}},[e._v(" Kembali ")])],1),"undefined"!=typeof e.ujian.value?a("div",{staticClass:"card-body"},[a("form",{on:{submit:function(t){return t.preventDefault(),e.submit(t)}}},[a("b-form-checkbox",{attrs:{switch:"",value:!0,disabled:e.isLoading},model:{value:e.ujian.value.reset,callback:function(t){e.$set(e.ujian.value,"reset",t)},expression:"ujian.value.reset"}},[e._v(" Aktifkan reset login peserta ")]),a("b-form-checkbox",{attrs:{switch:"",value:!0,disabled:e.isLoading},model:{value:e.ujian.value.autoblock,callback:function(t){e.$set(e.ujian.value,"autoblock",t)},expression:"ujian.value.autoblock"}},[e._v(" Aktifkan auto block peserta tab in tab ")]),a("b-form-checkbox",{attrs:{switch:"",value:!0,disabled:e.isLoading},model:{value:e.ujian.value.only_fullscreen,callback:function(t){e.$set(e.ujian.value,"only_fullscreen",t)},expression:"ujian.value.only_fullscreen"}},[e._v(" Hanya izinkan saat full-screen ")]),a("div",{staticClass:"form-group mt-4"},[a("label",[e._v("Text Welcome / Peraturan Ujian")]),a("ckeditor",{attrs:{config:{versionCheck:!1},type:"inline",disabled:e.isLoading},model:{value:e.ujian.value.text_welcome,callback:function(t){e.$set(e.ujian.value,"text_welcome",t)},expression:"ujian.value.text_welcome"}})],1),a("div",{staticClass:"form-group mt-4"},[a("label",[e._v("Text Finish Ujian")]),a("ckeditor",{attrs:{config:{versionCheck:!1},type:"inline",disabled:e.isLoading},model:{value:e.ujian.value.text_finish,callback:function(t){e.$set(e.ujian.value,"text_finish",t)},expression:"ujian.value.text_finish"}})],1),a("div",{staticClass:"form-group"},[a("b-button",{attrs:{variant:"primary",type:"submit",disabled:e.isLoading}},[e._v(" "+e._s(e.isLoading?"Processing...":"Save configuration")+" ")])],1)],1)]):e._e(),a("div",{staticClass:"card-footer"})])])])},i=[],s=(a("96cf"),a("1da1")),c=a("5530"),r=a("2f62"),u=a("cecb"),o={name:"SettingUjian",data:function(){return{}},computed:Object(c["a"])(Object(c["a"])({},Object(r["c"])(["isLoading"])),Object(r["e"])("setting",{ujian:function(e){return e.set_ujian}})),methods:Object(c["a"])(Object(c["a"])({},Object(r["b"])("setting",["getSettingUjian","setSettingUjian"])),{},{submit:function(){var e=this;return Object(s["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.setSettingUjian();case 3:e.getSettingUjian(),e.$bvToast.toast("Setting berhasil disimpan",Object(u["c"])()),t.next=10;break;case 7:t.prev=7,t.t0=t["catch"](0),e.$bvToast.toast(t.t0.message,Object(u["b"])());case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))()}}),created:function(){var e=this;return Object(s["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.getSettingUjian();case 3:t.next=8;break;case 5:t.prev=5,t.t0=t["catch"](0),e.$bvToast.toast(t.t0.message,Object(u["b"])());case 8:case"end":return t.stop()}}),t,null,[[0,5]])})))()}},l=o,b=(a("5639"),a("2877")),v=Object(b["a"])(l,n,i,!1,null,null,null);t["default"]=v.exports},"44d3":function(e,t,a){},5639:function(e,t,a){"use strict";var n=a("44d3"),i=a.n(n);i.a}}]);
//# sourceMappingURL=chunk-17789bbd.js.map