(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d21f85c"],{d9d5:function(t,a,s){"use strict";s.r(a);var e=function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-12"},[s("div",{staticClass:"card"},[s("div",{staticClass:"card-header"},[s("router-link",{staticClass:"btn btn-light btn-sm",attrs:{to:{name:"peserta.data"}}},[t._v("Kembali ")])],1),s("div",{staticClass:"card-body"},[s("peserta-form"),s("div",{staticClass:"form-group"},[s("b-button",{attrs:{size:"sm",variant:"primary",disabled:t.isLoading},on:{click:t.submit}},[s("b-spinner",{directives:[{name:"show",rawName:"v-show",value:t.isLoading,expression:"isLoading"}],attrs:{small:"",type:"grow"}}),t._v(" Simpan ")],1)],1)],1),s("div",{staticClass:"card-footer"})])])])},i=[],c=s("5530"),r=s("2f62"),n=s("cecb"),o=s("43cb"),d={name:"AddPeserta",computed:Object(c["a"])({},Object(r["c"])(["isLoading"])),methods:Object(c["a"])(Object(c["a"])({},Object(r["b"])("peserta",["submitPeserta"])),{},{submit:function(){var t=this;this.submitPeserta().then((function(a){t.$bvToast.toast("Data peserta berhasil disimpan.",Object(n["c"])()),t.$router.push({name:"peserta.data"})})).catch((function(a){t.$bvToast.toast(a.message,Object(n["b"])())}))}}),components:{"peserta-form":o["a"]}},b=d,l=s("2877"),m=Object(l["a"])(b,e,i,!1,null,null,null);a["default"]=m.exports}}]);
//# sourceMappingURL=chunk-2d21f85c.js.map