text: (this.webpackJsonptest=this.webpackJsonptest||[]).push([[0],{129:function(e,a,t){},130:function(e,a,t){},134:function(e,a,t){},147:function(e,a,t){e.exports=t(283)},173:function(e,a,t){},21:function(e,a,t){e.exports=t.p+"static/media/red.6b5b7004.gif"},27:function(e,a,t){e.exports=t.p+"static/media/bggugus.6f31e500.jpg"},272:function(e,a,t){},281:function(e,a,t){},283:function(e,a,t){"use strict";t.r(a);var n=t(0),r=t.n(n),l=t(31),s=t.n(l),c=t(3),o=t(4),i=t(5),m=t(6),u=t(9),d=t(44),p=t(10),h=t(288),f=t(286),b=t(14),E=t(1),g=t.n(E),v=t(2),N=t(136),y=t.n(N),w="https://cdc-backend.yacanet.com",k=y.a.create({baseURL:"".concat(w,"/v1"),responseType:"json"}),A=function(){return function(){var e=Object(v.a)(g.a.mark((function e(a){var t,n;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t="Bearer "+localStorage.token,n=null,!t){e.next=7;break}return e.next=5,k.post("/pasien/lokasiterakhir",{mode:"all",id:"all"},{headers:{Authorization:t}}).then(function(){var e=Object(v.a)(g.a.mark((function e(t){return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.data,e.next=3,a({type:"GET_KOORDINAT_ADMIN",data:n.lokasiterakhir});case 3:a(O(n.lokasiterakhir));case 4:case"end":return e.stop()}}),e)})));return function(a){return e.apply(this,arguments)}}()).catch((function(e){a({type:"GET_KOORDINAT",data:[]})}));case 5:e.next=8;break;case 7:a({type:"GET_KOORDINAT",data:[]});case 8:case"end":return e.stop()}}),e)})));return function(a){return e.apply(this,arguments)}}()},D=function(){return function(){var e=Object(v.a)(g.a.mark((function e(a){var t;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=null,e.next=3,k.post("/pasien/lokasiterakhirpublik",{mode:"all",id:"all"}).then(function(){var e=Object(v.a)(g.a.mark((function e(n){return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.data,e.next=3,a({type:"GET_KOORDINAT",data:t.lokasiterakhir});case 3:a(O(t.lokasiterakhir));case 4:case"end":return e.stop()}}),e)})));return function(a){return e.apply(this,arguments)}}()).catch((function(e){a({type:"GET_KOORDINAT",data:[]})}));case 3:case"end":return e.stop()}}),e)})));return function(a){return e.apply(this,arguments)}}()},O=function(e){return function(){var a=Object(v.a)(g.a.mark((function a(t){var n,r;return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:for(n={total:0,meninggal:0,positif:0,otg:0,pdp:0,odp:0,sembuh:0,negatif:0,kecamatan:{total:[],meninggal:[],positif:[],otg:[],pdp:[],odp:[],sembuh:[],negatif:[]}},r=0;r<e.length;r++)0===e[r].status_pasien?(n.meninggal++,n.kecamatan.meninggal.push(e[r].Nm_Kecamatan)):1===e[r].status_pasien?(n.positif++,n.kecamatan.positif.push(e[r].Nm_Kecamatan)):2===e[r].status_pasien?(n.otg++,n.kecamatan.otg.push(e[r].Nm_Kecamatan)):3===e[r].status_pasien?(n.pdp++,n.kecamatan.pdp.push(e[r].Nm_Kecamatan)):4===e[r].status_pasien?(n.odp++,n.kecamatan.odp.push(e[r].Nm_Kecamatan)):5===e[r].status_pasien?(n.sembuh++,n.kecamatan.sembuh.push(e[r].Nm_Kecamatan)):6===e[r].status_pasien&&(n.negatif++,n.kecamatan.negatif.push(e[r].Nm_Kecamatan)),n.total++;t({type:"HITUNG",data:n});case 3:case"end":return a.stop()}}),a)})));return function(e){return a.apply(this,arguments)}}()},x=function(){return function(){var e=Object(v.a)(g.a.mark((function e(a){var t,n;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t="Bearer "+localStorage.token,n=null,!t){e.next=5;break}return e.next=5,k.get("/auth/me",{headers:{Authorization:t}}).then((function(e){n=e.data,localStorage.setItem("statusLogin","Berhasil")})).catch((function(e){localStorage.setItem("statusLogin","Belum Login"),a({type:"GET_USER",data:"Belum Login"})}));case 5:a({type:"GET_USER",data:n});case 6:case"end":return e.stop()}}),e)})));return function(a){return e.apply(this,arguments)}}()},j=function(){return function(){var e=Object(v.a)(g.a.mark((function e(a){var t,n;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t="Bearer "+localStorage.token,n=[],!t){e.next=5;break}return e.next=5,k.get("/setting/userspasien",{headers:{Authorization:t}}).then((function(e){n=e.data})).catch((function(e){}));case 5:a({type:"GET_PASIEN",data:n});case 6:case"end":return e.stop()}}),e)})));return function(a){return e.apply(this,arguments)}}()},K=function(e){return function(){var a=Object(v.a)(g.a.mark((function a(t){var n,r;return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(n="Bearer "+localStorage.token,r=null,!n){a.next=5;break}return a.next=5,k.get("/setting/userspasien/".concat(e),{headers:{Authorization:n}}).then(function(){var e=Object(v.a)(g.a.mark((function e(a){return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.data,e.next=3,t({type:"GET_DETAIL_PASIEN",data:r});case 3:case"end":return e.stop()}}),e)})));return function(a){return e.apply(this,arguments)}}()).catch((function(e){}));case 5:case"end":return a.stop()}}),a)})));return function(e){return a.apply(this,arguments)}}()},S=(t(173),function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(){var e;Object(c.a)(this,t);for(var n=arguments.length,l=new Array(n),s=0;s<n;s++)l[s]=arguments[s];return(e=a.call.apply(a,[this].concat(l))).renderInput=function(a){var t=a.input,n=a.label,l=a.type,s=a.meta;return r.a.createElement("div",{className:"form-group"},r.a.createElement("input",Object.assign({},t,{type:l,autoComplete:"off",placeholder:n})),r.a.createElement("br",null),e.renderError(s))},e.onSubmit=function(a){e.props.login(a)},e.renderSalah=function(){if("Salah"===e.props.statusLogin)return r.a.createElement(r.a.Fragment,null,r.a.createElement("br",null),r.a.createElement("small",{className:"text-danger mt-3"},"Username atau Passwors Salah."))},e.renderContent=function(){return"Berhasil"===e.props.statusLogin?r.a.createElement(d.a,{to:"/adm/monitor"}):r.a.createElement("form",{onSubmit:e.props.handleSubmit(e.onSubmit)},r.a.createElement("div",{className:"body"}),r.a.createElement("div",{className:"grad"}),r.a.createElement("div",{className:"header"},r.a.createElement("div",null,"Bintan",r.a.createElement("span",null,"CDC"))),r.a.createElement("br",null),r.a.createElement("div",{className:"login"},r.a.createElement(h.a,{name:"username",component:e.renderInput,label:"Username",type:"text"}),r.a.createElement("br",null),r.a.createElement(h.a,{name:"password",component:e.renderInput,label:"Password",type:"password"}),r.a.createElement("br",null),r.a.createElement("button",{style:{width:"150px"}}," Login"),e.renderSalah()))},e}return Object(o.a)(t,[{key:"componentDidMount",value:function(){this.props.getUser()}},{key:"renderError",value:function(e){var a=e.error;if(e.touched&&a)return r.a.createElement("small",{className:"text-danger"},a)}},{key:"render",value:function(){return r.a.createElement("div",null,this.renderContent())}}]),t}(n.Component)),C=Object(f.a)({form:"loginForm",validate:function(e){var a={};return e.username||(a.username="Username Harus diisi"),e.password||(a.password="Password Harus diisi"),a}})(S),P=Object(p.b)((function(e){return{user:e.user,statusLogin:e.statusLogin}}),{login:function(e){return function(){var a=Object(v.a)(g.a.mark((function a(t){return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,k.post("/auth/login",e).then((function(e){e.data.access_token&&(localStorage.setItem("token",e.data.access_token),localStorage.setItem("statusLogin","Berhasil"),t({type:"LOGIN",data:"Berhasil"}))}),(function(e){localStorage.removeItem("token"),localStorage.removeItem("statusLogin"),t({type:"LOGIN",data:"Salah"})}));case 2:case"end":return a.stop()}}),a)})));return function(e){return a.apply(this,arguments)}}()},getUser:x})(C),I=function(e){return function(){var a=Object(v.a)(g.a.mark((function a(t){var n;return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=[],a.next=3,k.get("/dmaster/kecamatan").then((function(e){n=e.data})).catch((function(e){console.log(e)}));case 3:t({type:"GET_KECAMATAN",data:n}),e&&e();case 5:case"end":return a.stop()}}),a)})));return function(e){return a.apply(this,arguments)}}()},B=function(e,a){return function(){var t=Object(v.a)(g.a.mark((function t(n){var r;return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=[],t.next=3,k.get("/dmaster/kecamatan/".concat(e,"/desa")).then((function(e){r=e.data})).catch((function(e){console.log(e)}));case 3:n({type:"GET_DESA",data:r}),a&&a();case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},T=function(){return function(){var e=Object(v.a)(g.a.mark((function e(a){var t;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=[],e.next=3,k.get("/dashboard/front").then((function(e){t={ringkasan:e.data.ringkasan,total:e.data.totalkasus}})).catch((function(e){console.log(e)}));case 3:a({type:"GET_TOTAL_KASUS",data:t});case 4:case"end":return e.stop()}}),e)})));return function(a){return e.apply(this,arguments)}}()},U=function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(){var e;Object(c.a)(this,t);for(var n=arguments.length,r=new Array(n),l=0;l<n;l++)r[l]=arguments[l];return(e=a.call.apply(a,[this].concat(r))).componentDidMount=function(){e.props.getTotalKasus()},e}return Object(o.a)(t,[{key:"render",value:function(){var e=this.props.listTotalKasus?this.props.listTotalKasus.ringkasan:null,a=this.props.listTotalKasus?this.props.listTotalKasus.total:null;return e?r.a.createElement(r.a.Fragment,null,r.a.createElement("div",{className:"widget-box total"},r.a.createElement("h2",{className:"text-danger"},"Total Kasus Terdaftar"),r.a.createElement("p",{className:"text-dark"}," ",a)),r.a.createElement("div",{className:"widget-box"},e.map((function(e){return r.a.createElement(r.a.Fragment,null,r.a.createElement("button",{className:"btn  mb-1",style:{width:"100%",background:"black",color:"yellow"},type:"button","data-toggle":"collapse","data-target":"#c1","aria-expanded":"false","aria-controls":"collapseExample"},e.nama_status," (",e.jumlah,")"))})))):r.a.createElement("div",{className:"text-center"},r.a.createElement("div",{className:"spinner-border spinner-border-sm",role:"status"},r.a.createElement("span",{className:"sr-only"},"Loading...")),r.a.createElement("div",{className:"spinner-grow spinner-grow-sm",role:"status"},r.a.createElement("span",{className:"sr-only"},"Loading...")),r.a.createElement("br",null),r.a.createElement("br",null))}}]),t}(n.Component),L=Object(p.b)((function(e){return{listTotalKasus:e.listTotalKasus}}),{getTotalKasus:T})(U),F=function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(){return Object(c.a)(this,t),a.apply(this,arguments)}return Object(o.a)(t,[{key:"renderLinkLogin",value:function(){return"Berhasil"===this.props.statusLogin?r.a.createElement(u.b,{className:"nav-link  btn btn-sm btn-primary",to:"/adm/monitor"},"Admin Dashboard"):r.a.createElement(u.b,{className:"nav-link  btn btn-sm btn-primary",to:"/login"},"Login")}},{key:"render",value:function(){return r.a.createElement("nav",{className:"navbar navbar-expand-lg  shadow  shadow-lg mb-1 ",style:{background:"black"}},r.a.createElement(u.b,{className:"navbar-brand text-warning",to:"/"}," Data Center  Covid-19 Kabupaten Bintan",r.a.createElement("p",null,"  ",r.a.createElement("small",{className:"text-light"},"Provinsi Kepulauan Riau"))),r.a.createElement("button",{className:"navbar-toggler",type:"button","data-toggle":"collapse","data-target":"#navbarSupportedContent","aria-controls":"navbarSupportedContent","aria-expanded":"false","aria-label":"Toggle navigation"},r.a.createElement("span",{className:"navbar-toggler-icon"})),r.a.createElement("div",{className:"collapse navbar-collapse ",id:"navbarSupportedContent"},r.a.createElement("ul",{className:"navbar-nav ml-auto float-right"},r.a.createElement("li",{className:"nav-item"},this.renderLinkLogin()))))}}]),t}(n.Component),H=Object(p.b)((function(e){return{statusLogin:e.statusLogin}}))(F),G=(t(272),t(129),t(130),function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(){var e;Object(c.a)(this,t);for(var n=arguments.length,l=new Array(n),s=0;s<n;s++)l[s]=arguments[s];return(e=a.call.apply(a,[this].concat(l))).componentDidMount=Object(v.a)(g.a.mark((function a(){return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:e.props.getUser();case 1:case"end":return a.stop()}}),a)}))),e.renderContent=function(){return r.a.createElement("div",null,r.a.createElement(H,null),r.a.createElement("div",{className:"row"},r.a.createElement("div",{className:"col-md-2 col-sm-12 ",style:{paddingRight:"0",background:"#9fd3ff"}},r.a.createElement(L,null)),r.a.createElement("div",{className:"col-md-10 col-sm-12 ",style:{padding:"0"}},r.a.createElement("div",{className:"container-fluid ",style:{padding:"0"}},e.props.contentRender))))},e}return Object(o.a)(t,[{key:"render",value:function(){return r.a.createElement("div",{id:"page-top"},this.renderContent())}}]),t}(n.Component)),R=Object(p.b)((function(e){return{ListKoordinat:e.ListKoordinat,enableReinitialize:!0}}),{getKoordinatPublic:D,getUser:x})(G),M=t(37),Q=t(40),J=t.n(Q),z=t(21),q=t.n(z),W=t(41),X=t.n(W),Y=t(36),V=t.n(Y),Z=t(45),_=t.n(Z),$=function(e){for(var a=e.koordinat,t=Object(n.useRef)(null),l=null,s=[],c=function(e){switch(e){case 0:case 1:case 2:return q.a;case 3:return J.a;case 4:return X.a;case 5:case 6:return V.a;case 100:return _.a}},o=0;o<a.length;o++)s.push({lat:parseFloat("".concat(a[o].lat)),lng:parseFloat("".concat(a[o].lng)),icon:c(a[o].status_pasien),status:a[o].nama_status});s.push({lat:1.071355,lng:104.216962,icon:_.a,status:""},{lat:1.052278,lng:104.675537,icon:_.a,status:""});var i=s;Object(n.useEffect)((function(){l=u();var e=new window.google.maps.LatLngBounds;i.map((function(a){var t=m(a);e.extend(t.position)})),l.fitBounds(e)}),[]);var m=function(e){return new window.google.maps.Marker({position:{lat:e.lat,lng:e.lng},map:l,icon:{url:e.icon,scaledSize:new window.google.maps.Size(30,30)},title:e.status})},u=function(){return new window.google.maps.Map(t.current,{zoom:10,maxZoom:14})};return r.a.createElement("div",{ref:t,style:{width:"100%",height:600}})},ee=function(e){var a=e.koordinat,t=Object(n.useState)(!1),l=Object(M.a)(t,2),s=l[0],c=l[1];return Object(n.useEffect)((function(){!function(e){if("object"===typeof window.google&&"object"===typeof window.google.maps)e();else{var a=document.createElement("script");a.src="https://maps.googleapis.com/maps/api/js?key=".concat("AIzaSyBJIWERg2ZcMIjM9KDtFVdeEjcx4IKOlBs","&callback=initMap&libraries=geometry,places"),window.document.body.appendChild(a),a.addEventListener("load",e)}}((function(){c(!0)}))}),[]),a?r.a.createElement(r.a.Fragment,null,s?r.a.createElement($,{koordinat:a}):r.a.createElement("div",null,"LoadingMap..."),r.a.createElement("div",{className:"legenda"},r.a.createElement("span",{className:"legenda-title"},"Legenda"),r.a.createElement("img",{src:q.a,className:"App-logo",alt:"logo",width:"20px"})," ","Meninggal",r.a.createElement("img",{src:q.a,className:"App-logo",alt:"logo",width:"20px"})," Positif",r.a.createElement("img",{src:q.a,className:"App-logo",alt:"logo",width:"20px"})," OTG",r.a.createElement("img",{src:J.a,className:"App-logo",alt:"logo",width:"20px"})," PDP",r.a.createElement("img",{src:X.a,className:"App-logo",alt:"logo",width:"20px"})," OPD",r.a.createElement("img",{src:V.a,className:"App-logo",alt:"logo",width:"20px"})," Sembuh")):r.a.createElement("div",null,"Loading Map..")},ae=t(26),te=t(139),ne=t.n(te),re=(t(281),function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(){var e;return Object(c.a)(this,t),(e=a.call(this)).state={showModal:!0},e.handleCloseModal=e.handleCloseModal.bind(Object(ae.a)(e)),e}return Object(o.a)(t,[{key:"handleCloseModal",value:function(){this.setState({showModal:!1})}},{key:"render",value:function(){return r.a.createElement("div",null,r.a.createElement(ne.a,{isOpen:this.state.showModal,contentLabel:"Disclaimer"},r.a.createElement("div",{className:"modal-content"},r.a.createElement("div",{className:"modal-header"},r.a.createElement("h5",{className:"modal-title text-danger",id:"exampleModalLabel"},"   Disclaimer")),r.a.createElement("div",{className:"modal-body text-justify"},r.a.createElement("p",{style:{color:"black"}},"Titik lokasi merupakan titik acak (random by system) pada wilayah yang memiliki kasus dan tidak menunjuk pada alamat persis masing-masing kasus. Data yang ditampilakn pada CDC-Bintan berasal dari sinkronisasi data dengan Dinas Kesehatan Kabupaten/Kecamatan. Proses sinkronisasi data ini paling lama memakan waktu 48 jam."),r.a.createElement("p",{style:{color:"black"}},"Selama proses sinkronisasi berlangsung, untuk sementara Anda mungkin melihat perbedaan antara angka yang tampil pada CDC-Bintan dengan yang diumumkan di kabupaten/kecamatan. Silakan periksa kembali 1-2 hari setelah perbaruan data dari masing-masing kabupaten/kecamatan. Terima kasih dan mohon untuk dimaklumi.")),r.a.createElement("div",{className:"modal-footer text-center"},r.a.createElement("button",{type:"button",className:"btn btn-danger",onClick:this.handleCloseModal},"Ya, Saya Mengerti")))))}}]),t}(n.Component)),le=t(28),se=t.n(le),ce=t(23),oe=t.n(ce),ie=function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(e){var n;Object(c.a)(this,t);var r=(n=a.call(this,e)).props.dataChart,l=r.all.positifAktif+r.all.positifSembuh+r.all.positifMeninggal,s=r.all.pdpAktif+r.all.pdpSembuh+r.all.pdpMeninggal,o=r.all.odpAktif+r.all.odpSembuh+r.all.odpMeninggal;return n.state={chartOptionDetail:{chart:{type:"column"},title:{text:"Grafik Jumlah Detil"},xAxis:{categories:["Aktif","Sembuh","Meninggal"]},yAxis:{title:{text:"Jumlah Pasien"},allowDecimals:!1},series:[{data:[r.all.positifAktif,r.all.positifSembuh,r.all.positifMeninggal],name:"Positif",color:"red"},{data:[r.all.pdpAktif,r.all.pdpSembuh,r.all.pdpMeninggal],name:"PDP",color:"blue"},{data:[r.all.odpAktif,r.all.odpSembuh,r.all.odpMeninggal],name:"ODP",color:"yellow"}],plotOptions:{series:{point:{events:{mouseOver:e.setHoverData.bind(Object(ae.a)(n))}}}},credits:{enabled:!1}},chartOptionGlobal:{chart:{plotBackgroundColor:null,plotBorderWidth:null,plotShadow:!1,type:"pie"},title:{text:"Total Persentase"},tooltip:{pointFormat:"{series.name}: <b>{point.percentage:.1f}%</b>"},accessibility:{point:{valueSuffix:"%"}},plotOptions:{pie:{allowPointSelect:!0,cursor:"pointer",dataLabels:{enabled:!1},showInLegend:!0}},series:[{name:"Persentase",colorByPoint:!0,data:[{name:"Positif",y:l,color:"red"},{name:"PDP",y:s,color:"blue"},{name:"ODP",y:o,color:"yellow"}]}],credits:{enabled:!1}},hoverData:null,valueFilter:"all"},n}return Object(o.a)(t,[{key:"render",value:function(){var e=this.state,a=e.chartOptionDetail,t=e.chartOptionGlobal;e.hoverData;return r.a.createElement("div",null,r.a.createElement("div",{className:"row"},r.a.createElement("div",{className:"col-md-4"},r.a.createElement("div",{className:"card shadow"},r.a.createElement("div",{className:"card-body"},r.a.createElement(se.a,{highcharts:oe.a,options:t})))),r.a.createElement("div",{className:"col-md-8"},r.a.createElement("div",{className:"card shadow"},r.a.createElement("div",{className:"card-body"},r.a.createElement(se.a,{highcharts:oe.a,options:a}))))))}}]),t}(n.Component),me=function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(e){var n;Object(c.a)(this,t);var r=(n=a.call(this,e)).props.dataChart,l=r.jk.lkpositifAktif+r.jk.lkpositifSembuh+r.jk.lkpositifMeninggal,s=r.jk.prpositifAktif+r.jk.prpositifSembuh+r.jk.prpositifMeninggal,o=r.jk.lkpdpAktif+r.jk.lkpdpSembuh+r.jk.lkpdpMeninggal,i=r.jk.prpdpAktif+r.jk.prpdpSembuh+r.jk.prpdpMeninggal,m=r.jk.lkodpAktif+r.jk.lkodpSembuh+r.jk.lkodpMeninggal,u=r.jk.prodpAktif+r.jk.prodpSembuh+r.jk.prodpMeninggal;return n.state={chartOptionDetail:{chart:{type:"column"},title:{text:"Grafik Jumlah Detil (Jenis Kelamin)"},xAxis:{categories:["Laki-laki","Perempuan"]},yAxis:{title:{text:"Jumlah Pasien"},allowDecimals:!1},series:[{data:[l,s],name:"Positif",color:"red"},{data:[o,i],name:"PDP",color:"blue"},{data:[m,u],name:"ODP",color:"yellow"}],plotOptions:{series:{point:{events:{mouseOver:e.setHoverData.bind(Object(ae.a)(n))}}}},credits:{enabled:!1}},chartOptionGlobal:{chart:{plotBackgroundColor:null,plotBorderWidth:null,plotShadow:!1,type:"pie"},title:{text:"Total Persentase"},tooltip:{pointFormat:"{series.name}: <b>{point.percentage:.1f}%</b>"},accessibility:{point:{valueSuffix:"%"}},plotOptions:{pie:{allowPointSelect:!0,cursor:"pointer",dataLabels:{enabled:!1},showInLegend:!0}},series:[{name:"Persentase",colorByPoint:!0,data:[{name:"Laki-laki",y:9,color:"blue"},{name:"Perempuan",y:5,color:"yellow"}]}],xAxis:{categories:[""]},credits:{enabled:!1}},hoverData:null,valueFilter:"all"},n}return Object(o.a)(t,[{key:"render",value:function(){var e=this.state,a=e.chartOptionDetail,t=e.chartOptionGlobal;e.hoverData;return r.a.createElement("div",null,r.a.createElement("div",{className:"row"},r.a.createElement("div",{className:"col-md-4"},r.a.createElement("div",{className:"card shadow"},r.a.createElement("div",{className:"card-body"},r.a.createElement(se.a,{highcharts:oe.a,options:t})))),r.a.createElement("div",{className:"col-md-8"},r.a.createElement("div",{className:"card shadow"},r.a.createElement("div",{className:"card-body"},r.a.createElement(se.a,{highcharts:oe.a,options:a}))))))}}]),t}(n.Component),ue=function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(e){var n;Object(c.a)(this,t);var r=(n=a.call(this,e)).props.dataChart,l=r.gd.ApositifAktif+r.gd.ApositifSembuh+r.gd.ApositifMeninggal,s=r.gd.BpositifAktif+r.gd.BpositifSembuh+r.gd.BpositifMeninggal,o=r.gd.OpositifAktif+r.gd.OpositifSembuh+r.gd.OpositifMeninggal,i=r.gd.ABpositifAktif+r.gd.ABpositifSembuh+r.gd.ABpositifMeninggal,m=r.gd.ApdpAktif+r.gd.ApdpSembuh+r.gd.ApdpMeninggal,u=r.gd.BpdpAktif+r.gd.BpdpSembuh+r.gd.BpdpMeninggal,d=r.gd.OpdpAktif+r.gd.OpdpSembuh+r.gd.OpdpMeninggal,p=r.gd.ABpdpAktif+r.gd.ABpdpSembuh+r.gd.ABpdpMeninggal,h=r.gd.AodpAktif+r.gd.AodpSembuh+r.gd.AodpMeninggal,f=r.gd.BodpAktif+r.gd.BodpSembuh+r.gd.BodpMeninggal,b=r.gd.OodpAktif+r.gd.OodpSembuh+r.gd.OodpMeninggal,E=r.gd.ABodpAktif+r.gd.ABodpSembuh+r.gd.ABodpMeninggal;return n.state={chartOptionDetail:{chart:{type:"column"},title:{text:"Grafik Jumlah Detil (Golongan Darah)"},xAxis:{categories:["Golongan Darah A","Golongan Darah B","Golongan Darah O","Golongan Darah AB"]},yAxis:{title:{text:"Jumlah Pasien"},allowDecimals:!1},series:[{data:[l,s,o,i],name:"Positif",color:"red"},{data:[m,u,d,p],name:"PDP",color:"blue"},{data:[h,f,b,E],name:"ODP",color:"yellow"}],plotOptions:{series:{point:{events:{mouseOver:e.setHoverData.bind(Object(ae.a)(n))}}}},credits:{enabled:!1}},chartOptionGlobal:{chart:{plotBackgroundColor:null,plotBorderWidth:null,plotShadow:!1,type:"pie"},title:{text:"Total Persentase"},tooltip:{pointFormat:"{series.name}: <b>{point.percentage:.1f}%</b>"},accessibility:{point:{valueSuffix:"%"}},plotOptions:{pie:{allowPointSelect:!0,cursor:"pointer",dataLabels:{enabled:!1},showInLegend:!0}},series:[{name:"Persentase",colorByPoint:!0,data:[{name:"Golongan Darah A",y:5,color:"#1ddf00"},{name:"Golongan Darah B",y:2,color:"#a6127f"},{name:"Golongan Darah O",y:1,color:"#1e5def"},{name:"Golongan Darah AB",y:3,color:"#efef68"}]}],xAxis:{categories:[""]},credits:{enabled:!1}},hoverData:null,valueFilter:"all"},n}return Object(o.a)(t,[{key:"render",value:function(){var e=this.state,a=e.chartOptionDetail,t=e.chartOptionGlobal;e.hoverData;return r.a.createElement("div",null,r.a.createElement("div",{className:"row"},r.a.createElement("div",{className:"col-md-4"},r.a.createElement("div",{className:"card shadow"},r.a.createElement("div",{className:"card-body"},r.a.createElement(se.a,{highcharts:oe.a,options:t})))),r.a.createElement("div",{className:"col-md-8"},r.a.createElement("div",{className:"card shadow"},r.a.createElement("div",{className:"card-body"},r.a.createElement(se.a,{highcharts:oe.a,options:a}))))))}}]),t}(n.Component),de=function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(e){var n;Object(c.a)(this,t);(n=a.call(this,e)).props.dataChart;var r=["0-4","5-9","10-14","15-19","20-24","25-29","30-34","35-39","40-44","45-49","50-54","55-59","60-64","65-69","70-74","75-79","80-84","85-89","90-94","95-99","100 + "];return n.state={chartOptionDetail:{chart:{type:"bar"},title:{text:"Total Kasus Berdasarkan Usia"},accessibility:{point:{valueDescriptionFormat:"{index}. Usia {xDescription}, {value}%."}},xAxis:[{categories:r,reversed:!1,labels:{step:1},accessibility:{description:"Usia (Laki-laki)"}},{opposite:!0,reversed:!1,categories:r,linkedTo:0,labels:{step:1},accessibility:{description:"Usia (Perempuan)"}}],yAxis:{title:{text:null},labels:{formatter:function(){return Math.abs(this.value)+"%"}},accessibility:{description:"Persentasi",rangeDescription:"Range: 0 to 5%"}},plotOptions:{series:{stacking:"normal"}},tooltip:{formatter:function(){return"<b>"+this.series.name+", Usia "+this.point.category+"</b><br/>Jumlah: "+oe.a.numberFormat(Math.abs(this.point.y),0)}},series:[{name:"Laki-laki",color:"blue",data:[-2,-1,-0,-2,-2,-3,-3,-3,-2.9,-3.5,-4,-4,-1,-2,-1,-2,-0,-1,-2,-3,-0]},{name:"Perempuan",color:"yellow",data:[2,0,1,2,2,2,2,1,2,3,4,4,5,2,2,2,1,1,0,1,0]}]},chartOptionGlobal:{chart:{plotBackgroundColor:null,plotBorderWidth:null,plotShadow:!1,type:"pie"},title:{text:"Total Persentase"},tooltip:{pointFormat:"{series.name}: <b>{point.percentage:.1f}%</b>"},accessibility:{point:{valueSuffix:"%"}},plotOptions:{pie:{allowPointSelect:!0,cursor:"pointer",dataLabels:{enabled:!1},showInLegend:!0}},series:[{name:"Persentase",colorByPoint:!0,data:[{name:"0-4",y:0,color:"blue"},{name:"5-9",y:0,color:"red"},{name:"10-14",y:2,color:"pink"},{name:"15-19",y:1,color:"orange"},{name:"20-24",y:3,color:"purple"},{name:"25-29",y:0,color:"#55ff7f"},{name:"30-34",y:0,color:"#ee2fff"},{name:"35-39",y:1,color:"#18813b"},{name:"40-44",y:2,color:"#444eaa"},{name:"45-49",y:1,color:"#8baa1a"},{name:"50-54",y:4,color:"#86f5ff"}]}],xAxis:{categories:[""]},credits:{enabled:!1}},hoverData:null,valueFilter:"all"},n}return Object(o.a)(t,[{key:"render",value:function(){var e=this.state,a=e.chartOptionDetail,t=e.chartOptionGlobal;e.hoverData;return r.a.createElement("div",null,r.a.createElement("div",{className:"row"},r.a.createElement("div",{className:"col-md-4"},r.a.createElement("div",{className:"card shadow"},r.a.createElement("div",{className:"card-body"},r.a.createElement(se.a,{highcharts:oe.a,options:t})))),r.a.createElement("div",{className:"col-md-8"},r.a.createElement("div",{className:"card shadow"},r.a.createElement("div",{className:"card-body"},r.a.createElement(se.a,{highcharts:oe.a,options:a}))))))}}]),t}(n.Component),pe=function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(e){var n;return Object(c.a)(this,t),(n=a.call(this,e)).setHoverData=function(e){n.setState({hoverData:" (".concat(e.target.series.legendItem.textStr,") ").concat(e.target.category,": ").concat(e.target.y," orang")})},n.setFilterChange=function(e){n.setState({tipe:e.target.value})},n.renderChart=function(){switch(n.state.tipe){case"all":return r.a.createElement(ie,{dataChart:n.props.dataChart,setHoverData:n.setHoverData});case"jk":return r.a.createElement(me,{dataChart:n.props.dataChart,setHoverData:n.setHoverData});case"u":return r.a.createElement(de,{dataChart:n.props.dataChart,setHoverData:n.setHoverData});case"gd":return r.a.createElement(ue,{dataChart:n.props.dataChart,setHoverData:n.setHoverData});default:return r.a.createElement(ie,{dataChart:n.props.dataChart,setHoverData:n.setHoverData})}},n.renderDownloadButton=function(){return n.props.statusLogin&&"Berhasil"===n.props.statusLogin?r.a.createElement(u.b,{className:"btn btn-success"},"Download"):r.a.createElement("div",null)},n.state={hoverData:null,tipe:"all"},n}return Object(o.a)(t,[{key:"render",value:function(){this.state.hoverData;return r.a.createElement("div",{className:"card mt-5"},r.a.createElement("div",{className:"card-header bg-warning "},r.a.createElement("h3",{className:"text-center",style:{color:"black"}},"GRAFIK")),r.a.createElement("div",{className:"card-body"},r.a.createElement("div",{className:"row"},r.a.createElement("div",{className:"col-sm-4"},r.a.createElement("select",{id:"lang",onChange:this.setFilterChange,value:this.state.value,className:"form-control"},r.a.createElement("option",{value:"all"},"Jumlah Keseluruhan"),r.a.createElement("option",{value:"jk"},"Berdasarkan Jenis Kelamin"),r.a.createElement("option",{value:"u"},"Berdasarkan Usia"),r.a.createElement("option",{value:"gd"},"Berdasarkan Golongan Darah"))),r.a.createElement("div",{className:"col-sm-8 text-right"},this.renderDownloadButton())),r.a.createElement("p",null),this.renderChart()))}}]),t}(n.Component),he=(Object(p.b)((function(e){return{dataChart:e.dataChart,statusLogin:e.statusLogin}}),{getPasien:j})(pe),function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(){return Object(c.a)(this,t),a.apply(this,arguments)}return Object(o.a)(t,[{key:"render",value:function(){return r.a.createElement("footer",{className:"sticky-footer mt-5",style:{background:"black"}},r.a.createElement("div",{className:"container my-auto"},r.a.createElement("div",{className:"copyright text-center my-auto text-light"},r.a.createElement("span",null,"Copyright \xa9  Data Center  Covid-19 Kabupaten Bintan"))))}}]),t}(n.Component)),fe=function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(){var e;Object(c.a)(this,t);for(var n=arguments.length,l=new Array(n),s=0;s<n;s++)l[s]=arguments[s];return(e=a.call.apply(a,[this].concat(l))).state={koordinat:[{lat:1.071355,lng:104.216962,status_pasien:100,status:""},{lat:1.052278,lng:104.675537,status_pasien:100,status:""}]},e.renderContent=function(){var a=r.a.createElement("div",null,r.a.createElement(ee,{koordinat:e.state.koordinat}));if(!e.props.koordinat)return r.a.createElement("div",null,"Loading");if(0===e.props.koordinat.length)return r.a.createElement(R,{contentRender:a});var t=r.a.createElement("div",null,r.a.createElement(ee,{koordinat:e.props.koordinat}));return r.a.createElement(R,{contentRender:t})},e}return Object(o.a)(t,[{key:"componentDidMount",value:function(){var e=Object(v.a)(g.a.mark((function e(){return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.props.getKoordinatPublic();case 2:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"render",value:function(){return r.a.createElement("div",{style:{background:"black"}},this.renderContent(),r.a.createElement("div",{className:"container"}),r.a.createElement(re,null),r.a.createElement(he,null))}}]),t}(n.Component),be=Object(p.b)((function(e){return{koordinat:e.ListKoordinat}}),{getKoordinatPublic:D})(fe),Ee=(t(134),function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(){return Object(c.a)(this,t),a.apply(this,arguments)}return Object(o.a)(t,[{key:"render",value:function(){var e=this.props.listStatus,a=this.props.listTotalKasus?this.props.listTotalKasus.ringkasan:null,t=this.props.listTotalKasus?this.props.listTotalKasus.total:null;return console.log(a),e&&a?r.a.createElement("div",null,r.a.createElement("h1",{className:"text-center"}," ","Corona Data Center Kabupaten Bintan",r.a.createElement("br",null),r.a.createElement("strong",{className:"text-danger h4 text-center"},"Total Kasus Terkonfirmasi : ",t)),r.a.createElement("br",null),r.a.createElement("div",{className:"row mr-3 ml-3 justify-content-center"},a.map((function(e){return r.a.createElement("div",{className:"col-xl-3 col-md-3 mb-4"},r.a.createElement("div",{className:"card border-left-danger shadow h-60 py-2"},r.a.createElement("div",{className:"card-body"},r.a.createElement("div",{className:"row no-gutters align-items-center"},r.a.createElement("div",{className:"col mr-2"},r.a.createElement("div",{className:"text-xs font-weight-bold text-primary text-uppercase mb-1"},e.nama_status),r.a.createElement("div",{className:"h6 mb-0 font-weight-bold text-gray-800"},e.jumlah," Orang"))))))})))):r.a.createElement("div",null,r.a.createElement("div",{className:"text-center"},r.a.createElement("div",{className:"spinner-border spinner-border-sm",role:"status"},r.a.createElement("span",{className:"sr-only"},"Loading...")),r.a.createElement("div",{className:"spinner-grow spinner-grow-sm",role:"status"},r.a.createElement("span",{className:"sr-only"},"Loading...")),r.a.createElement("br",null),r.a.createElement("br",null)))}}]),t}(n.Component)),ge=(Object(p.b)(null)(Ee),function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(){return Object(c.a)(this,t),a.apply(this,arguments)}return Object(o.a)(t,[{key:"render",value:function(){return r.a.createElement("div",null,r.a.createElement("nav",{className:"navbar navbar-expand navbar-light bg-white topbar mb-4 static-top shadow"},r.a.createElement("ul",{className:"navbar-nav mr-auto"},r.a.createElement("li",null,"  Data Center  Covid-19 Kabupaten Bintan",r.a.createElement("br",null)," ",r.a.createElement("small",null,"Provinsi Kepulauan Riau")," ")),r.a.createElement("ul",{className:"navbar-nav ml-auto"},r.a.createElement("li",{className:"nav-item  no-arrow"},r.a.createElement(u.b,{className:"nav-link text-dark",to:"/"},r.a.createElement("i",{className:"fas fa-home fa-sm fa-fw mr-2 text-gray-400"}),r.a.createElement("small",null,"Home"))),r.a.createElement("li",{className:"nav-item  no-arrow"},r.a.createElement(u.b,{className:"nav-link text-dark",to:"/admin/dasboard"},r.a.createElement("i",{className:"fas fa-tachometer-alt fa-sm fa-fw mr-2 text-gray-400"}),r.a.createElement("small",null,"Dasboard"))),r.a.createElement("li",{className:"nav-item dropdown no-arrow"},r.a.createElement(u.b,{className:"nav-link dropdown-toggle",to:"#",id:"userDropdown",role:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"},r.a.createElement("span",{className:"mr-2 d-none d-lg-inline text-gray-600 small"},this.props.namaUser),r.a.createElement("img",{className:"img-profile rounded-circle",src:"https://upload.wikimedia.org/wikipedia/commons/d/d3/User_Circle.png",alt:"user"})),r.a.createElement("div",{className:"dropdown-menu dropdown-menu-right shadow animated--grow-in","aria-labelledby":"userDropdown"},r.a.createElement(u.b,{className:"dropdown-item",to:"/logout"},r.a.createElement("i",{className:"fas fa-sign-out-alt fa-sm fa-fw mr-2 text-gray-400"}),"Logout"))))))}}]),t}(n.Component)),ve=function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(){var e;Object(c.a)(this,t);for(var n=arguments.length,r=new Array(n),l=0;l<n;l++)r[l]=arguments[l];return(e=a.call.apply(a,[this].concat(r))).scrollToTop=function(){window.scrollTo({top:0,behavior:"smooth"})},e}return Object(o.a)(t,[{key:"render",value:function(){var e=this;return r.a.createElement(u.b,{id:"back-to-top",href:"#",className:"btn btn-light btn-lg back-to-top text-success",role:"button",onClick:function(){return e.scrollToTop()}},r.a.createElement("i",{className:"fas fa-chevron-up"}))}}]),t}(n.Component),Ne=function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(){var e;Object(c.a)(this,t);for(var n=arguments.length,l=new Array(n),s=0;s<n;s++)l[s]=arguments[s];return(e=a.call.apply(a,[this].concat(l))).state={namaAdmin:""},e.renderContent=function(){return"Berhasil"!==e.props.statusLogin?r.a.createElement(d.a,{to:"/"}):r.a.createElement("div",{id:"wrapper"},r.a.createElement("div",{id:"content-wrapper",className:"d-flex flex-column"},r.a.createElement("div",{id:"content"},r.a.createElement(ge,{namaUser:e.state.namaAdmin}),r.a.createElement(Ee,{jumlah:e.props.jumlah,listStatus:e.props.listStatus,listTotalKasus:e.props.listTotalKasus}),r.a.createElement("div",{className:"container-fluid"},e.props.contentRender,r.a.createElement(he,null))),r.a.createElement(u.b,{className:"scroll-to-top rounded",to:"#page-top"},r.a.createElement("i",{className:"fas fa-angle-up"}))))},e}return Object(o.a)(t,[{key:"componentDidMount",value:function(){var e=Object(v.a)(g.a.mark((function e(){return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.props.getUser(),this.props.getStatus(),this.props.getTotalKasus(),e.next=5,this.props.getKoordinat();case 5:this.props.user&&this.setState({namaAdmin:this.props.user.name});case 6:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"render",value:function(){return r.a.createElement("div",{id:"page-top",className:"body-monitor"},this.renderContent(),r.a.createElement(ve,null))}}]),t}(n.Component),ye=Object(p.b)((function(e){return{ListKoordinat:e.ListKoordinat,user:e.user,statusLogin:e.statusLogin,jumlah:e.jumlah,enableReinitialize:!0,listStatus:e.listStatus,listTotalKasus:e.listTotalKasus}}),{getKoordinat:A,getUser:x,getStatus:function(){return function(){var e=Object(v.a)(g.a.mark((function e(a){var t;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=[],e.next=3,k.get("/dmaster/statuspasien").then((function(e){t=e.data.statuspasien})).catch((function(e){console.log(e)}));case 3:a({type:"GET_STATUS",data:t});case 4:case"end":return e.stop()}}),e)})));return function(a){return e.apply(this,arguments)}}()},getTotalKasus:T})(Ne),we=function(e){var a=e.koordinat,t=Object(n.useRef)(null),l=null,s=[],c=function(e){switch(e){case 0:case 1:case 2:return q.a;case 3:return J.a;case 4:return X.a;case 5:case 6:return V.a;case 100:return _.a}};if(a.length>0){for(var o=0;o<a.length;o++)s.push({nama:a[o].name,status:a[o].nama_status,foto:a[o].foto,usia:a[o].usia,id:a[o].id,lat:parseFloat("".concat(a[o].lat)),lng:parseFloat("".concat(a[o].lng)),icon:c(a[o].status_pasien)});s.push({lat:1.071355,lng:104.216962,icon:_.a,nama:"",status:"",foto:"",usia:"",id:""},{lat:1.052278,lng:104.675537,icon:_.a,nama:"",status:"",foto:"",usia:"",id:""})}var i=s;Object(n.useEffect)((function(){l=u();var e=new window.google.maps.LatLngBounds;i.map((function(a){var t=m(a);e.extend(t.position),t.addListener("click",(function(){new window.google.maps.InfoWindow({content:'<div id="test" className="card mb-3 text-center" >\n                                <div className=" text-center"  >\n                                    <img src="'.concat(w,"/").concat(a.foto,'" atl="" width="150px" />\n                                </div>\n                                <br />\n                                <div className="card-body">\n                                    <h5 className="card-title">').concat(a.status,'</h5>\n                                   <p  style="margin:2px;font-weight:bold !important;text-transform:uppercase"> NAMA: ').concat(a.nama,' </p>\n                                    <p  style="margin:2px">Usia ').concat(a.usia,' Tahun</p>\n                                    <br/>\n                                    <a class="btn btn-sm btn-info" href="/admin/detailpasien/').concat(a.id,'">Lihat Detail</a>\n                                </div>\n\n                            </div>')}).open(l,t)}))})),l.fitBounds(e)}),[]);var m=function(e){return new window.google.maps.Marker({position:{lat:e.lat,lng:e.lng},map:l,title:e.status,icon:{url:e.icon,scaledSize:new window.google.maps.Size(30,30)}})},u=function(){return new window.google.maps.Map(t.current,{zoom:10})};return r.a.createElement("div",{ref:t,style:{width:"100%",height:600}})},ke=function(e){var a=e.koordinat,t=Object(n.useState)(!1),l=Object(M.a)(t,2),s=l[0],c=l[1];return Object(n.useEffect)((function(){!function(e){if("object"===typeof window.google&&"object"===typeof window.google.maps)e();else{var a=document.createElement("script");a.src="https://maps.googleapis.com/maps/api/js?key=".concat("AIzaSyBgVtBigvi_59RitK-_97CGlXeer7HHgHM","&callback=initMap&libraries=geometry,places"),window.document.body.appendChild(a),a.addEventListener("load",e)}}((function(){c(!0)}))}),[]),a?r.a.createElement(r.a.Fragment,null,s?r.a.createElement(we,{koordinat:a}):r.a.createElement("div",null,"LoadingMap..."),r.a.createElement("div",{className:"legenda"},r.a.createElement("span",{className:"legenda-title"},"Legenda"),r.a.createElement("img",{src:q.a,className:"App-logo",alt:"logo",width:"20px"})," Meninggal",r.a.createElement("img",{src:q.a,className:"App-logo",alt:"logo",width:"20px"})," Positif",r.a.createElement("img",{src:q.a,className:"App-logo",alt:"logo",width:"20px"})," OTG",r.a.createElement("img",{src:J.a,className:"App-logo",alt:"logo",width:"20px"})," PDP",r.a.createElement("img",{src:X.a,className:"App-logo",alt:"logo",width:"20px"})," OPD",r.a.createElement("img",{src:V.a,className:"App-logo",alt:"logo",width:"20px"})," Sembuh")):r.a.createElement("div",null,"Loading Map..")},Ae=function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(){var e;Object(c.a)(this,t);for(var n=arguments.length,l=new Array(n),s=0;s<n;s++)l[s]=arguments[s];return(e=a.call.apply(a,[this].concat(l))).state={koordinat:[{lat:1.071355,lng:104.216962,status_pasien:100,status:""},{lat:1.052278,lng:104.675537,status_pasien:100,status:""}]},e.renderContent=function(){var a=r.a.createElement("div",null,r.a.createElement(ke,{koordinat:e.state.koordinat}));if(!e.props.koordinat)return r.a.createElement("div",null,r.a.createElement("div",{class:"spinner-border spinner-border-sm",role:"status"},r.a.createElement("span",{class:"sr-only"},"Loading...")),r.a.createElement("div",{class:"spinner-grow spinner-grow-sm",role:"status"},r.a.createElement("span",{class:"sr-only"},"Loading...")));if(0===e.props.koordinat.length)return r.a.createElement(ye,{contentRender:a});var t=r.a.createElement("div",null,r.a.createElement(ke,{koordinat:e.props.koordinat}));return r.a.createElement(r.a.Fragment,null,r.a.createElement(ye,{contentRender:t}))},e}return Object(o.a)(t,[{key:"componentDidMount",value:function(){var e=Object(v.a)(g.a.mark((function e(){return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.props.getKoordinat();case 2:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"render",value:function(){return r.a.createElement(r.a.Fragment,null,this.renderContent())}}]),t}(n.Component),De=Object(p.b)((function(e){return{koordinat:e.ListKoordinatAdmin,enableReinitialize:!0}}),{getKoordinat:A})(Ae),Oe=function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(){var e;Object(c.a)(this,t);for(var n=arguments.length,l=new Array(n),s=0;s<n;s++)l[s]=arguments[s];return(e=a.call.apply(a,[this].concat(l))).renderRedirect=function(){if(!e.props.user)return r.a.createElement(d.a,{to:"/"})},e}return Object(o.a)(t,[{key:"componentDidMount",value:function(){localStorage.removeItem("token"),localStorage.removeItem("user"),localStorage.removeItem("statusLogin")}},{key:"render",value:function(){return r.a.createElement("div",null,this.renderRedirect())}}]),t}(n.Component),xe=(Object(p.b)((function(e){return console.log(e),{user:e.user}}),{getUser:x})(Oe),function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(){var e;Object(c.a)(this,t);for(var n=arguments.length,r=new Array(n),l=0;l<n;l++)r[l]=arguments[l];return(e=a.call.apply(a,[this].concat(r))).componentDidMount=Object(v.a)(g.a.mark((function e(){return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)}))),e}return Object(o.a)(t,[{key:"render",value:function(){return r.a.createElement("div",null,r.a.createElement("div",{className:"card shadow mb-4"},r.a.createElement("div",{className:"card-header py-3"},r.a.createElement("h6",{className:"m-0 font-weight-bold text-primary"},"DASBOARD")),r.a.createElement("div",{className:"card-body"})))}}]),t}(n.Component)),je=(Object(p.b)((function(e){return{pasiens:e.pasien}}))(xe),function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(){var e;Object(c.a)(this,t);for(var n=arguments.length,l=new Array(n),s=0;s<n;s++)l[s]=arguments[s];return(e=a.call.apply(a,[this].concat(l))).renderMenu=function(){return r.a.createElement(r.a.Fragment,null,r.a.createElement(u.b,{className:"sidebar-brand d-flex align-items-center justify-content-center",to:"/admin/dasboard"},r.a.createElement("div",{className:"sidebar-brand-icon rotate-n-15"},r.a.createElement("i",{className:"fas fa-smile"})),r.a.createElement("div",{className:"sidebar-brand-text mx-3"},"Admin Bintan CDC")),r.a.createElement("hr",{className:"sidebar-divider my-0"}),r.a.createElement("li",{className:"nav-item active"},r.a.createElement(u.b,{className:"nav-link",to:"/admin/dasboard"},r.a.createElement("i",{className:"fas fa-tachometer-alt  "}),r.a.createElement("span",null,"Dasboard"))),r.a.createElement("hr",{className:"sidebar-divider my-0"}),r.a.createElement("li",{className:"nav-item  "},r.a.createElement(u.b,{className:"nav-link",to:"/adm/monitor"},r.a.createElement("i",{className:"fas fa-tv  "}),r.a.createElement("span",null,"Monitor"))),r.a.createElement("hr",{className:"sidebar-divider"}),r.a.createElement("div",{className:"sidebar-heading"},"Pasien"),r.a.createElement("li",{className:"nav-item"},r.a.createElement(u.b,{className:"nav-link",to:"/admin/pasien"},r.a.createElement("i",{className:"fas fa-fw fa-procedures"}),r.a.createElement("span",null,"Daftar Pasien"))))},e.renderMenuAdmin=function(){if(e.props.user&&"petugas"!==e.props.user.role[0])return r.a.createElement(r.a.Fragment,null,r.a.createElement("hr",{className:"sidebar-divider"}),r.a.createElement("div",{className:"sidebar-heading"},"Data Master"),r.a.createElement("li",{className:"nav-item"},r.a.createElement(u.b,{className:"nav-link",to:"/admin/gugustugas"},r.a.createElement("i",{className:"fas fa-fw fa-users"}),r.a.createElement("span",null,"Gugus Tugas"))),r.a.createElement("li",{className:"nav-item"},r.a.createElement(u.b,{className:"nav-link",to:"/admin/petugas"},r.a.createElement("i",{className:"fas fa-fw fa-users"}),r.a.createElement("span",null,"Petugas"))),r.a.createElement("li",{className:"nav-item"},r.a.createElement(u.b,{className:"nav-link",to:"/admin/fasilitas"},r.a.createElement("i",{className:"fas fa-fw fa-medkit"}),r.a.createElement("span",null,"Fasilitas Karantina"))),r.a.createElement("li",{className:"nav-item"},r.a.createElement(u.b,{className:"nav-link",to:"/admin/kecamatan"},r.a.createElement("i",{className:"fas fa-fw fa-map-marked-alt"}),r.a.createElement("span",null,"Lokasi Kecamatan"))),r.a.createElement("hr",{className:"sidebar-divider"}),r.a.createElement("div",{className:"sidebar-heading"},"LAPORAN"),r.a.createElement("li",{className:"nav-item"},r.a.createElement(u.b,{className:"nav-link",to:"/admin/laporan"},r.a.createElement("i",{className:"fas fa-fw fa-procedures"}),r.a.createElement("span",null,"Pasien"))),r.a.createElement("li",{className:"nav-item"},r.a.createElement(u.b,{className:"nav-link",to:"/admin/laporan"},r.a.createElement("i",{className:"fas fa-fw fa-map-marked-alt"}),r.a.createElement("span",null,"Sebaran Wilayah"))),r.a.createElement("li",{className:"nav-item"},r.a.createElement(u.b,{className:"nav-link",to:"/admin/laporan"},r.a.createElement("i",{className:"fa-fw fab fa-pagelines"}),r.a.createElement("span",null,"Umur"))),r.a.createElement("li",{className:"nav-item"},r.a.createElement(u.b,{className:"nav-link",to:"/admin/laporan"},r.a.createElement("i",{className:"fas fa-fw fa-tint"}),r.a.createElement("span",null,"Golongan Darah"))))},e}return Object(o.a)(t,[{key:"render",value:function(){return r.a.createElement("div",null,r.a.createElement("ul",{className:"navbar-nav bg-gradient-primary sidebar sidebar-dark accordion",id:"accordionSidebar"},this.renderMenu(),this.renderMenuAdmin()))}}]),t}(n.Component)),Ke=Object(p.b)((function(e){return{user:e.user}}))(je),Se=function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(){return Object(c.a)(this,t),a.apply(this,arguments)}return Object(o.a)(t,[{key:"render",value:function(){return r.a.createElement("div",null,r.a.createElement("nav",{className:"navbar navbar-expand navbar-light bg-white topbar mb-4 static-top shadow"},r.a.createElement("ul",{className:"navbar-nav mr-auto"},r.a.createElement(u.b,{className:"dropdown-item",to:"/"},r.a.createElement("i",{className:"fas fa-home fa-sm fa-fw mr-2 text-gray-400"}),"Home")),r.a.createElement("ul",{className:"navbar-nav ml-auto"},r.a.createElement("li",{className:"nav-item dropdown no-arrow d-sm-none"},r.a.createElement(u.b,{className:"nav-link dropdown-toggle",to:"#",id:"searchDropdown",role:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"},r.a.createElement("i",{className:"fas fa-search fa-fw"})),r.a.createElement("div",{className:"dropdown-menu dropdown-menu-right p-3 shadow animated--grow-in","aria-labelledby":"searchDropdown"},r.a.createElement("form",{className:"form-inline mr-auto w-100 navbar-search"},r.a.createElement("div",{className:"input-group"},r.a.createElement("input",{type:"text",className:"form-control bg-light border-0 small",placeholder:"Search for...","aria-label":"Search","aria-describedby":"basic-addon2"}),r.a.createElement("div",{className:"input-group-append"},r.a.createElement("button",{className:"btn btn-primary",type:"button"},r.a.createElement("i",{className:"fas fa-search fa-sm"}))))))),r.a.createElement("li",{className:"nav-item dropdown no-arrow"},r.a.createElement(u.b,{className:"nav-link dropdown-toggle",to:"#",id:"userDropdown",role:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"},r.a.createElement("span",{className:"mr-2 d-none d-lg-inline text-gray-600 small"},this.props.namaAdmin),r.a.createElement("img",{className:"img-profile rounded-circle",src:"https://upload.wikimedia.org/wikipedia/commons/d/d3/User_Circle.png",alt:"user"})),r.a.createElement("div",{className:"dropdown-menu dropdown-menu-right shadow animated--grow-in","aria-labelledby":"userDropdown"},r.a.createElement(u.b,{className:"dropdown-item",to:"/admin/profil"},r.a.createElement("i",{className:"fas fa-user fa-sm fa-fw mr-2 text-gray-400"}),"Profil"),r.a.createElement(u.b,{className:"dropdown-item",to:"/admin/ubahpassword"},r.a.createElement("i",{className:"fas fa-lock fa-sm fa-fw mr-2 text-gray-400"}),"Ubah Password"),r.a.createElement(u.b,{className:"dropdown-item",to:"/logout"},r.a.createElement("i",{className:"fas fa-sign-out-alt fa-sm fa-fw mr-2 text-gray-400"}),"Logout"))))))}}]),t}(n.Component),Ce=function(){return function(){var e=Object(v.a)(g.a.mark((function e(a){var t,n;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t="Bearer "+localStorage.token,n=[],!t){e.next=5;break}return e.next=5,k.get("/setting/usersgugustugas",{headers:{Authorization:t}}).then((function(e){n=e.data,a({type:"GET_GUGUS_TUGAS",data:n})})).catch((function(e){}));case 5:case"end":return e.stop()}}),e)})));return function(a){return e.apply(this,arguments)}}()},Pe=function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(){return Object(c.a)(this,t),a.apply(this,arguments)}return Object(o.a)(t,[{key:"render",value:function(){return r.a.createElement("div",null,r.a.createElement("div",{className:"modal fade",id:"modalDelete",tabIndex:"-1",role:"dialog","aria-labelledby":"exampleModalLabel","aria-hidden":"true"},r.a.createElement("div",{className:"modal-dialog",role:"document"},r.a.createElement("div",{className:"modal-content"},r.a.createElement("div",{className:"modal-header"},r.a.createElement("h5",{className:"modal-title",id:"exampleModalLabel"},"Konfirmasi Hapus ",this.props.judul),r.a.createElement("button",{type:"button",className:"close","data-dismiss":"modal","aria-label":"Close"},r.a.createElement("span",{"aria-hidden":"true"},"\xd7"))),r.a.createElement("div",{className:"modal-body"},"Apakah Anda yakin akan menghapus ",this.props.judul," : ",this.props.data.name),r.a.createElement("div",{className:"modal-footer"},r.a.createElement("button",{type:"button",className:"btn btn-secondary","data-dismiss":"modal"},"Batal"),r.a.createElement("button",{type:"submit",className:"btn btn-danger","data-dismiss":"modal",onClick:this.props.onClickProses.bind(this,this.props.data.id)}," Hapus"))))))}}]),t}(n.Component),Ie=function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(){var e;Object(c.a)(this,t);for(var n=arguments.length,l=new Array(n),s=0;s<n;s++)l[s]=arguments[s];return(e=a.call.apply(a,[this].concat(l))).state={dataHapus:{id:"",name:""}},e.setKonfirmasiHapus=function(a){e.setState({dataHapus:a})},e.deleteHandler=function(){var a=Object(v.a)(g.a.mark((function a(t){return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,e.props.hapusGugusTugas(t);case 2:window.location.reload();case 3:case"end":return a.stop()}}),a)})));return function(e){return a.apply(this,arguments)}}(),e.renderContent=function(){return 0===e.props.listGugusTugas.length?r.a.createElement("div",{className:"alert alert-info"},"Tidak ada data Gugus Tugas"):r.a.createElement("div",{className:"table-responsive"},r.a.createElement("table",{className:"table table-bordered",id:"dataTable",width:"100%",cellSpacing:"0"},r.a.createElement("thead",null,r.a.createElement("tr",{className:"text-light bg-primary"},r.a.createElement("th",null,"No"),r.a.createElement("th",null,"Nama"),r.a.createElement("th",null,"Email"),r.a.createElement("th",null,"Username"),r.a.createElement("th",{width:"300px",className:"text-center"},"Aksi"," "))),r.a.createElement("tbody",null,e.props.listGugusTugas.map((function(a,t){return r.a.createElement("tr",{key:t},r.a.createElement("td",null,t+1),r.a.createElement("td",null,a.name),r.a.createElement("td",null,a.email),r.a.createElement("td",null,a.username),r.a.createElement("td",{className:"text-center"},r.a.createElement(u.b,{to:"/admin/detailgugustugas/".concat(a.id),className:"btn btn-info mr-2"},r.a.createElement("i",{className:"far fa-eye"})),r.a.createElement(u.b,{className:"btn btn-warning mr-2",to:"/admin/ubahgugustugas/".concat(a.id)},r.a.createElement("i",{className:"fas fa-edit"})),r.a.createElement("button",{type:"button",className:"btn btn-danger","data-toggle":"modal","data-target":"#modalDelete",onClick:function(){return e.setKonfirmasiHapus(a)}},r.a.createElement("i",{className:"fas fa-trash"}))))})))),r.a.createElement(Pe,{data:e.state.dataHapus,onClickProses:e.deleteHandler,judul:"Gugus Tugas"}))},e}return Object(o.a)(t,[{key:"componentDidMount",value:function(){this.props.getGugusTugas()}},{key:"render",value:function(){return r.a.createElement("div",{className:"card shadow mb-4"},r.a.createElement("div",{className:"card-header py-3 "},r.a.createElement("h6",{className:"m-0 font-weight-bold text-primary"},"Daftar Gugus Tugas",r.a.createElement(u.b,{to:"/admin/tambahgugustugas",className:"btn btn-primary float-right"},"Tambah Gugus Tugas"))),r.a.createElement("div",{className:"card-body"},this.renderContent()))}}]),t}(n.Component),Be=Object(p.b)((function(e){return{listGugusTugas:e.listGugusTugas}}),{getGugusTugas:Ce,hapusGugusTugas:function(e){return function(){var a=Object(v.a)(g.a.mark((function a(t){var n;return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(!(n="Bearer "+localStorage.token)){a.next=4;break}return a.next=4,k.post("/setting/usersgugustugas/".concat(e),{_method:"DELETE"},{headers:{Authorization:n}}).then((function(e){}),(function(e){console.log(e)}));case 4:case"end":return a.stop()}}),a)})));return function(e){return a.apply(this,arguments)}}()}})(Ie),Te=function(){return function(){var e=Object(v.a)(g.a.mark((function e(a){var t,n;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t="Bearer "+localStorage.token,n=[],!t){e.next=5;break}return e.next=5,k.get("/setting/userspetugas",{headers:{Authorization:t}}).then((function(e){n=e.data,a({type:"GET_PETUGAS",data:n})})).catch((function(e){}));case 5:case"end":return e.stop()}}),e)})));return function(a){return e.apply(this,arguments)}}()},Ue=function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(){var e;Object(c.a)(this,t);for(var n=arguments.length,l=new Array(n),s=0;s<n;s++)l[s]=arguments[s];return(e=a.call.apply(a,[this].concat(l))).state={dataHapus:{id:"",name:""}},e.setKonfirmasiHapus=function(a){e.setState({dataHapus:a})},e.deleteHandler=function(){var a=Object(v.a)(g.a.mark((function a(t){return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,e.props.hapusPetugas(t);case 2:window.location.reload();case 3:case"end":return a.stop()}}),a)})));return function(e){return a.apply(this,arguments)}}(),e.renderContent=function(){return 0===e.props.listPetugas.length?r.a.createElement("div",{className:"alert alert-info"},"Tidak ada data Petugas"):r.a.createElement("div",{className:"table-responsive"},r.a.createElement("table",{className:"table table-bordered",id:"dataTable",width:"100%",cellSpacing:"0"},r.a.createElement("thead",null,r.a.createElement("tr",{className:"text-light bg-primary"},r.a.createElement("th",null,"No"),r.a.createElement("th",null,"Nama"),r.a.createElement("th",null,"Username"),r.a.createElement("th",null,"Kecamatan"),r.a.createElement("th",null,"Desa"),r.a.createElement("th",{width:"300px",className:"text-center"},"Aksi"," "))),r.a.createElement("tbody",null,e.props.listPetugas.map((function(a,t){return r.a.createElement("tr",{key:t},r.a.createElement("td",null,t+1),r.a.createElement("td",null,a.name),r.a.createElement("td",null,a.username),r.a.createElement("td",null,a.Nm_Kecamatan),r.a.createElement("td",null," ",a.Nm_Desa?a.Nm_Desa:"Semua Desa"),r.a.createElement("td",{className:"text-center"},r.a.createElement(u.b,{to:"/admin/detailpetugas/".concat(a.id),className:"btn btn-info mr-2"},r.a.createElement("i",{className:"far fa-eye"})),r.a.createElement(u.b,{className:"btn btn-warning mr-2",to:"/admin/ubahpetugas/".concat(a.id)},r.a.createElement("i",{className:"fas fa-edit"})),r.a.createElement("button",{type:"button",className:"btn btn-danger","data-toggle":"modal","data-target":"#modalDelete",onClick:function(){return e.setKonfirmasiHapus(a)}},r.a.createElement("i",{className:"fas fa-trash"}))))})))),r.a.createElement(Pe,{data:e.state.dataHapus,onClickProses:e.deleteHandler,judul:"Petugas"}))},e}return Object(o.a)(t,[{key:"componentDidMount",value:function(){this.props.getPetugas()}},{key:"render",value:function(){return r.a.createElement("div",{className:"card shadow mb-4"},r.a.createElement("div",{className:"card-header py-3 "},r.a.createElement("h6",{className:"m-0 font-weight-bold text-primary"},"Daftar Petugas",r.a.createElement(u.b,{to:"/admin/tambahpetugas",className:"btn btn-primary float-right"},"Tambah Petugas"))),r.a.createElement("div",{className:"card-body"},this.renderContent()))}}]),t}(n.Component),Le=Object(p.b)((function(e){return{listPetugas:e.listPetugas}}),{getPetugas:Te,hapusPetugas:function(e){return function(){var a=Object(v.a)(g.a.mark((function a(t){var n;return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(!(n="Bearer "+localStorage.token)){a.next=4;break}return a.next=4,k.post("/setting/userspetugas/".concat(e),{_method:"DELETE"},{headers:{Authorization:n}}).then((function(e){}),(function(e){console.log(e)}));case 4:case"end":return a.stop()}}),a)})));return function(e){return a.apply(this,arguments)}}()}})(Ue),Fe=t(54),He=t.n(Fe),Ge=function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(){var e;Object(c.a)(this,t);for(var n=arguments.length,l=new Array(n),s=0;s<n;s++)l[s]=arguments[s];return(e=a.call.apply(a,[this].concat(l))).state={prosesLoad:0,filterKecamatan:""},e.componentDidMount=Object(v.a)(g.a.mark((function a(){return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,e.props.getPasien();case 2:return a.next=4,e.props.getKecamatan();case 4:e.setState({prosesLoad:1});case 5:case"end":return a.stop()}}),a)}))),e.onChangeKecamatan=function(a){e.setState({filterKecamatan:a.target.value})},e.renderKecamatan=function(){if(e.props.listKecamatan)return e.props.listKecamatan.kecamatan.map((function(e){return r.a.createElement("option",{value:e.Nm_Kecamatan},e.Nm_Kecamatan)}))},e.renderContent=function(){return e.props.pasiens?0===e.props.pasiens.userspasien.length?r.a.createElement("div",{className:"card shadow mb-4"},r.a.createElement("div",{className:"card-header py-3"},r.a.createElement("h6",{className:"m-0 font-weight-bold text-primary"},"Daftar Pasien")),r.a.createElement("div",{className:"card-body"},r.a.createElement("div",{className:"alert alert-info"},"Tidak ada data pasien."))):r.a.createElement("div",null,r.a.createElement("div",{className:"card shadow mb-4"},r.a.createElement("div",{className:"card-header py-3"},r.a.createElement("div",{className:"row"},r.a.createElement("div",{className:"col-lg-6"},r.a.createElement("h6",{className:"m-0 font-weight-bold text-primary"},"Daftar Pasien")),r.a.createElement("div",{className:"col-lg-6 text-right"},r.a.createElement("select",{className:"form-control",onChange:function(a){e.onChangeKecamatan(a)}},r.a.createElement("option",null,"--Filter Kecamatan --"),e.renderKecamatan())))),r.a.createElement("div",{className:"card-body"},r.a.createElement("div",{className:"table-responsive"},r.a.createElement("table",{className:"table table-bordered",id:"dataTable",width:"100%",cellSpacing:"0"},r.a.createElement("thead",null,r.a.createElement("tr",{className:"bg-primary text-light"},r.a.createElement("th",{className:"text-center"},"No"),r.a.createElement("th",{className:"text-center"},"Foto"),r.a.createElement("th",null,"NIK"),r.a.createElement("th",null,"Nama"),r.a.createElement("th",null,"Kecamatan"),r.a.createElement("th",{width:"200px",className:"text-center"},"Status Pasien"),r.a.createElement("th",{className:"text-center"},"Aksi"))),r.a.createElement("tbody",null,e.renderPasien())))))):r.a.createElement("tr",null,r.a.createElement("td",{colspan:"6"},r.a.createElement("div",{className:"spinner-border text-light text-center",style:{width:"3rem",height:"3rem"},role:"status"},r.a.createElement("span",{className:"sr-only"},"Loading..."))))},e}return Object(o.a)(t,[{key:"renderPasien",value:function(){var e=this;return(""===this.state.filterKecamatan?this.props.pasiens.userspasien:this.props.pasiens.userspasien.filter((function(a){return a.Nm_Kecamatan===e.state.filterKecamatan}))).map((function(a,t){var n="";if(n="storage/images/users/no_photo.png"===a.foto?He.a:"".concat(w,"/").concat(a.foto),!e.props.user||"petugas"!==e.props.user.role[0]||e.props.user.PmKecamatanID===a.PmKecamatanID)return r.a.createElement("tr",{key:a.id},r.a.createElement("td",{className:"text-center"},t+1),r.a.createElement("td",null,r.a.createElement("img",{alt:"bg",src:n,style:{width:"50px"}})),r.a.createElement("td",null,a.username),r.a.createElement("td",null," ",r.a.createElement(u.b,{to:"/admin/detailpasien/".concat(a.id),className:"link"},a.name)),r.a.createElement("td",null,a.Nm_Kecamatan),r.a.createElement("td",{className:"text-center",style:{textTransform:"capitalize"}},a.nama_status),r.a.createElement("td",{width:"130px",className:"text-center"},r.a.createElement(u.b,{to:"/admin/ubahpasien/".concat(a.id),className:"btn btn-warning mr-2"},r.a.createElement("i",{className:"fas fa-edit"})),r.a.createElement(u.b,{to:"/admin/detailpasien/".concat(a.id),className:"btn btn-info"},r.a.createElement("i",{className:"far fa-eye"}))))}))}},{key:"render",value:function(){return 0===this.state.prosesLoad?r.a.createElement("div",{className:"spinner-border text-light text-center",style:{width:"3rem",height:"3rem"},role:"status"},r.a.createElement("span",{className:"sr-only"},"Loading...")):r.a.createElement(r.a.Fragment,null,this.renderContent())}}]),t}(n.Component),Re=Object(p.b)((function(e){return{pasiens:e.pasien,user:e.user,listKecamatan:e.listKecamatan}}),{getPasien:j,getKecamatan:I})(Ge),Me=function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(){return Object(c.a)(this,t),a.apply(this,arguments)}return Object(o.a)(t,[{key:"componentDidMount",value:function(){this.props.getDetailPasien(this.props.id),this.props.getRiwayat(this.props.id),this.props.getRiwayatLokasi(this.props.id)}},{key:"render",value:function(){var e=this;if(null===this.props.pasien)return r.a.createElement("div",null);var a=this.props.pasien,t="";t="storage/images/users/no_photo.png"===a.foto?He.a:"".concat(w,"/").concat(a.foto);var n=r.a.createElement("div",null,r.a.createElement("div",{className:"card shadow mb-4"},r.a.createElement("div",{className:"card-header py-3"},r.a.createElement("h6",{className:"m-0 font-weight-bold text-primary"},"Detail Pasien")),r.a.createElement("div",{className:"card-body"},r.a.createElement("div",{className:"container"},r.a.createElement("div",{className:"card o-hidden border-0 shadow-lg my-5"},r.a.createElement("div",{className:"card-body p-0"},r.a.createElement("div",{className:"row"},r.a.createElement("div",{className:"col-lg-5   d-lg-block pr-0 ",style:{background:"#dddddd"}},r.a.createElement("img",{alt:"bg",src:t,style:{width:"100%"}})),r.a.createElement("div",{className:"col-lg-7"},r.a.createElement("div",{className:"p-5"},r.a.createElement("div",{className:"text-center"},r.a.createElement("h1",{className:"h4 text-gray-900 mb-4"},"Data Detail Pasien ")),r.a.createElement("div",{className:"table-responsive"},r.a.createElement("table",{className:"table table-bordered",id:"dataTable",width:"100%",cellSpacing:"0"},r.a.createElement("tbody",null,r.a.createElement("tr",null,r.a.createElement("td",null,"NIK"),r.a.createElement("td",null," ",a.username)),r.a.createElement("tr",null,r.a.createElement("td",null,"Nama "),r.a.createElement("td",null,a.name)),r.a.createElement("tr",null,r.a.createElement("td",null,"Nomor HP"),r.a.createElement("td",null,a.nomor_hp)),r.a.createElement("tr",null,r.a.createElement("td",null,"Tempat, Tanggal Lahir"),r.a.createElement("td",null,a.tempat_lahir,", ",a.tanggal_lahir)),r.a.createElement("tr",null,r.a.createElement("td",null,"Alamat"),r.a.createElement("td",null,a.alamat)),r.a.createElement("tr",null,r.a.createElement("td",null,"Desa"),r.a.createElement("td",null,a.Nm_Desa)),r.a.createElement("tr",null,r.a.createElement("td",null,"Kecamatan"),r.a.createElement("td",null,a.Nm_Kecamatan)),r.a.createElement("tr",null,r.a.createElement("td",null,"Status Pasien"),r.a.createElement("td",null,a.nama_status)))))))))),r.a.createElement("div",{className:"card shadow mb-4"},r.a.createElement("div",{className:"card-header py-3"},r.a.createElement("h6",{className:"m-0 font-weight-bold text-primary"},"Riwayat Pasien")),r.a.createElement("div",{className:"card-body"},r.a.createElement("div",{className:"container"},r.a.createElement("div",{className:"table-responsive"},r.a.createElement("table",{className:"table table-bordered",id:"dataTable",width:"100%",cellSpacing:"0"},r.a.createElement("thead",null,r.a.createElement("tr",null,r.a.createElement("th",null,"Tanggal"),r.a.createElement("th",null,"Keterangan"),r.a.createElement("th",null,"Status"))),r.a.createElement("tbody",null,null===e.props.riwayat?r.a.createElement("tr",null,r.a.createElement("td",{colSpan:"3"})):e.props.riwayat.map((function(e,a){return r.a.createElement("tr",{key:a},r.a.createElement("td",null,e.created_at),r.a.createElement("td",null,e.Descr),r.a.createElement("td",null,e.nama_status))})))))))),r.a.createElement("div",{className:"card shadow mb-4"},r.a.createElement("div",{className:"card-header py-3"},r.a.createElement("h6",{className:"m-0 font-weight-bold text-primary"},"Riwayat Lokasi Pasien")),r.a.createElement("div",{className:"card-body"},r.a.createElement("div",{className:"container"},r.a.createElement("div",{className:"table-responsive"},r.a.createElement("table",{className:"table table-bordered",id:"dataTable",width:"100%",cellSpacing:"0"},r.a.createElement("thead",null,r.a.createElement("tr",null,r.a.createElement("th",null,"Tanggal"),r.a.createElement("th",null,"Long"),r.a.createElement("th",null,"Lat"))),r.a.createElement("tbody",null,null===e.props.riwayatLokasi?r.a.createElement("tr",null,r.a.createElement("td",{colSpan:"3"})):e.props.riwayatLokasi.map((function(e){return r.a.createElement("tr",null,r.a.createElement("td",null,e.created_at),r.a.createElement("td",null,e.lng),r.a.createElement("td",null,e.lat))}))))))))))));return r.a.createElement("div",null,n)}}]),t}(n.Component),Qe=Object(p.b)((function(e){return{pasien:e.detailPasien,riwayat:e.riwayat,riwayatLokasi:e.riwayatLokasi}}),{getDetailPasien:K,getRiwayat:function(e){return function(){var a=Object(v.a)(g.a.mark((function a(t){var n,r;return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(n="Bearer "+localStorage.token,r=null,!n){a.next=5;break}return a.next=5,k.get("/setting/userspasien/".concat(e),{headers:{Authorization:n}}).then(function(){var e=Object(v.a)(g.a.mark((function e(a){return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.data,e.next=3,t({type:"GET_RIWAYAT",data:r});case 3:case"end":return e.stop()}}),e)})));return function(a){return e.apply(this,arguments)}}()).catch((function(e){}));case 5:case"end":return a.stop()}}),a)})));return function(e){return a.apply(this,arguments)}}()},getRiwayatLokasi:function(e){return function(){var a=Object(v.a)(g.a.mark((function a(t){var n,r;return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(n="Bearer "+localStorage.token,r=null,!n){a.next=5;break}return a.next=5,k.get("/setting/userspasien/".concat(e),{headers:{Authorization:n}}).then(function(){var e=Object(v.a)(g.a.mark((function e(a){return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.data,e.next=3,t({type:"GET_RIWAYAT_LOKASI",data:r});case 3:case"end":return e.stop()}}),e)})));return function(a){return e.apply(this,arguments)}}()).catch((function(e){}));case 5:case"end":return a.stop()}}),a)})));return function(e){return a.apply(this,arguments)}}()}})(Me),Je=function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(){var e;Object(c.a)(this,t);for(var n=arguments.length,l=new Array(n),s=0;s<n;s++)l[s]=arguments[s];return(e=a.call.apply(a,[this].concat(l))).onSubmit=function(){var a=Object(v.a)(g.a.mark((function a(t){return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,e.props.ubahStatusPasien(e.props.pasien.id,t);case 2:window.location.reload();case 3:case"end":return a.stop()}}),a)})));return function(e){return a.apply(this,arguments)}}(),e.renderInput=function(e){var a=e.input,t=e.label,n=e.avalue,l=e.statusnya;return"".concat(l)!==n?r.a.createElement("div",{className:"form-group"},r.a.createElement("div",{className:"input-group"},r.a.createElement("div",{className:"input-group-prepend"},r.a.createElement("div",{className:"input-group-text"},r.a.createElement("input",Object.assign({type:"radio","aria-label":t,id:t},a,{value:n})))),r.a.createElement("label",{type:"text",htmlFor:t,disabled:!0,className:"form-control","aria-label":t},t))):r.a.createElement("div",{className:"form-group"},r.a.createElement("div",{className:"input-group"},r.a.createElement("div",{className:"input-group-prepend"},r.a.createElement("div",{className:"input-group-text bg-danger"},r.a.createElement("input",Object.assign({type:"radio","aria-label":t,id:t},a,{value:n})))),r.a.createElement("input",{type:"text",disabled:!0,className:"form-control",value:t})))},e}return Object(o.a)(t,[{key:"render",value:function(){var e=this.props.pasien,a=e.status_pasien,t=e.name;return r.a.createElement("div",{className:"modal-dialog",role:"document"},r.a.createElement("form",{initialvalues:this.props.initialValues,onSubmit:this.props.handleSubmit(this.onSubmit)},r.a.createElement("div",{className:"modal-content "},r.a.createElement("div",{className:"modal-header bg-danger text-light"},r.a.createElement("h5",{className:"modal-title ",id:"exampleModalLabel"},"Ubah Status Pasien"),r.a.createElement("button",{type:"button",className:"close","data-dismiss":"modal","aria-label":"Close"},r.a.createElement("span",{"aria-hidden":"true"},"\xd7"))),r.a.createElement("div",{className:"container"},r.a.createElement("h5",{className:"mt-2 text-center"},"Nama Pasien : ",t),r.a.createElement("div",{className:"modal-body"},r.a.createElement(h.a,{name:"status_pasien",statusnya:a,component:this.renderInput,label:"NEGATIF",avalue:"6"}),r.a.createElement(h.a,{name:"status_pasien",statusnya:a,component:this.renderInput,label:"SEMBUH",avalue:"5"}),r.a.createElement(h.a,{name:"status_pasien",statusnya:a,component:this.renderInput,label:"ORANG DALAM PEMANTAUAN",avalue:"4"}),r.a.createElement(h.a,{name:"status_pasien",statusnya:a,component:this.renderInput,label:"PASIEN DALAM PEMANTAUAN",avalue:"3"}),r.a.createElement(h.a,{name:"status_pasien",statusnya:a,component:this.renderInput,label:"ORANG TANPA GEJALA",avalue:"2"}),r.a.createElement(h.a,{name:"status_pasien",statusnya:a,component:this.renderInput,label:"POSITIF",avalue:"1"}),r.a.createElement(h.a,{name:"status_pasien",statusnya:a,component:this.renderInput,label:"MENINGGAL",avalue:"0"}))),r.a.createElement("div",{className:"modal-footer"},r.a.createElement("button",{type:"button",className:"btn btn-secondary","data-dismiss":"modal"},"Batal"),r.a.createElement("button",{type:"submit",className:"btn btn-danger","aria-hidden":"true"},"Ubah")))))}}]),t}(n.Component),ze=Object(f.a)({form:"formUbahStatusPasien"})(Je),qe=Object(p.b)((function(e,a){return{initialValues:{status_pasien:a.pasien.status_pasien}}}),{ubahStatusPasien:function(e,a){return function(){var t=Object(v.a)(g.a.mark((function t(n){var r;return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(r="Bearer "+localStorage.token)){t.next=4;break}return t.next=4,k.post("/setting/userspasien/updatestatus/".concat(e),Object(b.a)({_method:"PUT"},a),{headers:{Authorization:r}}).then((function(e){}),(function(e){}));case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()}})(ze),We=function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(e){var n;return Object(c.a)(this,t),(n=a.call(this,e)).onChange=n.onChange.bind(Object(ae.a)(n)),n}return Object(o.a)(t,[{key:"onChange",value:function(e){var a=this.props.input.onChange;a(e.target.files[0])}},{key:"render",value:function(){this.props.input.value;var e=this.props,a=(e.input,e.label);e.required,e.meta;return r.a.createElement("div",null,r.a.createElement("label",null,a),r.a.createElement("div",null,r.a.createElement("input",{type:"file",accept:".jpg, .png, .jpeg",onChange:this.onChange})))}}]),t}(n.Component),Xe=function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(){var e;Object(c.a)(this,t);for(var n=arguments.length,r=new Array(n),l=0;l<n;l++)r[l]=arguments[l];return(e=a.call.apply(a,[this].concat(r))).state={proses:0},e.onSubmit=function(){var a=Object(v.a)(g.a.mark((function a(t){return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return console.log(t),e.setState({proses:1}),a.next=4,e.props.uploadFoto(e.props.pasien.id,t);case 4:window.location.reload();case 5:case"end":return a.stop()}}),a)})));return function(e){return a.apply(this,arguments)}}(),e}return Object(o.a)(t,[{key:"handleChange",value:function(){}},{key:"renderError",value:function(e){var a=e.error;if(e.touched&&a)return r.a.createElement("small",{className:"text-danger"},a)}},{key:"render",value:function(){return 1===this.state.proses?r.a.createElement("div",{className:"modal-dialog",role:"document"},r.a.createElement("div",{className:"modal-content bg-info"},r.a.createElement("h5",{className:" text-light p-3 text-center"},"Upload Foto Pasien"),r.a.createElement("div",{className:"text-center"},r.a.createElement("div",{className:"spinner-border text-light",style:{width:"3rem",height:"3rem"},role:"status"},r.a.createElement("span",{className:"sr-only"},"Loading...")),r.a.createElement("br",null),r.a.createElement("br",null)))):r.a.createElement("div",{className:"modal-dialog",role:"document"},r.a.createElement("form",{onSubmit:this.props.handleSubmit(this.onSubmit),encType:"multipart/form-data"},r.a.createElement("div",{className:"modal-content "},r.a.createElement("div",{className:"modal-header bg-info text-light"},r.a.createElement("h5",{className:"modal-title ",id:"exampleModalLabel"},"Upload Foto Pasien"),r.a.createElement("button",{type:"button",className:"close","data-dismiss":"modal","aria-label":"Close"},r.a.createElement("span",{"aria-hidden":"true"},"\xd7"))),r.a.createElement("div",{className:"container"},r.a.createElement("div",{className:"modal-body"},r.a.createElement(h.a,{name:"foto",label:"Upload Foto",type:"file",component:We,onChange:this.handleChange}))),r.a.createElement("div",{className:"modal-footer"},r.a.createElement("button",{type:"button",className:"btn btn-secondary","data-dismiss":"modal"},"Batal"),r.a.createElement("button",{type:"submit",className:"btn btn-info","aria-hidden":"true"},"Upload")))))}}]),t}(n.Component),Ye=Object(f.a)({form:"formUploadFoto",validate:function(e){var a={};return e.foto&&(a.username="Pilih Status Pasien Terlebih Dahulu."),a}})(Xe),Ve=Object(p.b)(null,{uploadFoto:function(e,a){return function(){var t=Object(v.a)(g.a.mark((function t(n){var r,l;return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((r=new FormData).append("foto",a.foto),!(l="Bearer "+localStorage.token)){t.next=6;break}return t.next=6,k.post("/setting/users/uploadfoto/".concat(e),r,{headers:{Authorization:l,"content-type":"multipart/form-data"}}).then((function(e){}),(function(e){}));case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()}})(Ye),Ze=t(287),_e=t(285),$e=t(289),ea=Object(p.b)((function(e){return{listKecamatan:e.listKecamatan}}),{getKecamatan:I})((function(e){var a=e.modalKecamatanClose,t=e.modalKecamatan,l=e.getKecamatan,s=e.listKecamatan,c=e.onChange,o=e.selected,i=Object(n.useState)(""),m=Object(M.a)(i,2),u=m[0],d=m[1],p=Object(n.useState)(o),h=Object(M.a)(p,2),f=h[0],b=h[1];Object(n.useEffect)((function(){l()}),[]);var E=s.kecamatan?s.kecamatan.map((function(e){return r.a.createElement(Ze.a.Check,{key:e.PmKecamatanID,"aria-label":"option 1",type:"radio",name:"kecamatan",label:e.Nm_Kecamatan,id:e.Nm_Kecamatan,onClick:function(){return function(e,a){d(a),b(e)}(e.Nm_Kecamatan,e.PmKecamatanID)},checked:f?e.Nm_Kecamatan===f?"defaultChecked":"":e.Nm_Kecamatan===o?"defaultChecked":""})})):null;return r.a.createElement(_e.a,{size:"sm",show:t,onHide:a},r.a.createElement(_e.a.Header,{closeButton:!0},r.a.createElement(_e.a.Title,null,"Kecamatan")),r.a.createElement(_e.a.Body,null,E),r.a.createElement(_e.a.Footer,null,r.a.createElement($e.a,{variant:"secondary",onClick:a},"Batal"),r.a.createElement($e.a,{variant:"primary",onClick:function(){c(u,f),a()}},"OK")))})),aa=Object(p.b)((function(e){return{listDesa:e.listDesa}}),{getDesa:B})((function(e){var a=e.modalDesaClose,t=e.modalDesa,l=e.listDesa,s=e.onChange,c=e.selected,o=e.labelDefault,i=Object(n.useState)(""),m=Object(M.a)(i,2),u=m[0],d=m[1],p=Object(n.useState)(c),h=Object(M.a)(p,2),f=h[0],b=h[1];Object(n.useEffect)((function(){}),[]);var E=function(e,a){d(a),b(e)},g=l.desa?l.desa.map((function(e){return r.a.createElement(Ze.a.Check,{key:e.PmDesaID,"aria-label":"option 1",type:"radio",name:"Desa",label:e.Nm_Desa,id:e.Nm_Desa,onClick:function(){return E(e.Nm_Desa,e.PmDesaID)},checked:f?e.Nm_Desa===f?"defaultChecked":"":e.Nm_Desa===c?"defaultChecked":""})})):null;return r.a.createElement(_e.a,{size:"sm",show:t,onHide:a},r.a.createElement(_e.a.Header,{closeButton:!0},r.a.createElement(_e.a.Title,null,"Desa")),r.a.createElement(_e.a.Body,null,r.a.createElement(Ze.a.Check,{key:"123","aria-label":"option 1",type:"radio",name:"Desa",label:o,id:o,onClick:function(){return E(o,o)},checked:f?f===o?"defaultChecked":"":c===o?"defaultChecked":""}),g),r.a.createElement(_e.a.Footer,null,r.a.createElement($e.a,{variant:"secondary",onClick:a},"Batal"),r.a.createElement($e.a,{variant:"primary",onClick:function(){s(u,f),a()}},"OK")))})),ta=function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(){var e;Object(c.a)(this,t);for(var n=arguments.length,l=new Array(n),s=0;s<n;s++)l[s]=arguments[s];return(e=a.call.apply(a,[this].concat(l))).state={prosesLoad:0,onOk:!1,submit:!1,Nm_Kecamatan:"",PmKecamatanID:"",PmDesaID:"",Nm_Desa:"",modalKecamatan:!1},e.onChangeKecamatan=function(){var a=Object(v.a)(g.a.mark((function a(t,n){return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:e.setState({Nm_Kecamatan:n,PmKecamatanID:t}),e.props.getDesa(t),e.setState({Nm_Desa:"--",PmDesaID:"--"});case 3:case"end":return a.stop()}}),a)})));return function(e,t){return a.apply(this,arguments)}}(),e.onChangeDesa=function(){var a=Object(v.a)(g.a.mark((function a(t,n){return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:e.setState({Nm_Desa:n,PmDesaID:t});case 1:case"end":return a.stop()}}),a)})));return function(e,t){return a.apply(this,arguments)}}(),e.modalKecamatanClose=function(){return e.setState({modalKecamatan:!1})},e.modalDesaClose=function(){return e.setState({modalDesa:!1})},e.modalKecamatanOpen=function(){e.setState({modalKecamatan:!0})},e.modalDesaOpen=function(){e.setState({modalDesa:!0})},e.renderInput=function(a){var t=a.input,n=a.label,l=a.type,s=a.meta,c=a.dataToggle;a.dataTarget;return c?r.a.createElement("div",{className:"form-group"},r.a.createElement("label",{htmlFor:n},n),r.a.createElement("input",Object.assign({className:"form-control form-control-user",id:n},t,{type:l,autoComplete:"off",placeholder:n,"data-toggle":"modal","data-target":"#exampleModal"})),e.renderError(s)):r.a.createElement("div",{className:"form-group"},r.a.createElement("label",{htmlFor:n},n),r.a.createElement("input",Object.assign({className:"form-control ",id:n},t,{type:l,autoComplete:"off",placeholder:n})),e.renderError(s))},e.onSubmit=function(a){if(e.setState({submit:!0}),""!==e.state.Nm_Desa&&"--"!==e.state.Nm_Desa){var t=Object(b.a)({},a,{},e.state);e.props.ubahPasien(e.props.id,t,(function(){e.setState({onOk:!0})}))}},e}return Object(o.a)(t,[{key:"componentDidMount",value:function(){var e=Object(v.a)(g.a.mark((function e(){return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.props.getDetailPasien(this.props.id);case 2:this.setState({prosesLoad:1}),this.setState({Nm_Kecamatan:this.props.initialValues.Nm_Kecamatan,Nm_Desa:this.props.initialValues.Nm_Desa,PmKecamatanID:this.props.initialValues.PmKecamatanID,PmDesaID:this.props.initialValues.PmDesaID}),this.props.getDesa(this.state.PmKecamatanID);case 5:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"renderError",value:function(e){var a=e.error;if(e.touched&&a)return r.a.createElement("small",{className:"text-danger"},a)}},{key:"render",value:function(){var e=this;if(this.state.onOk)return r.a.createElement(d.a,{to:"/admin/pasien"});if(0===this.state.prosesLoad)return r.a.createElement("div",{className:"spinner-border text-light text-center",style:{width:"3rem",height:"3rem"},role:"status"},r.a.createElement("span",{className:"sr-only"},"Loading..."));if(null===this.props.initialValues)return r.a.createElement("div",null,r.a.createElement("div",{className:"spinner-border text-light",style:{width:"3rem",height:"3rem"},role:"status"},r.a.createElement("span",{className:"sr-only"},"Loading...")));var a=this.props.pasien,t="";t="storage/images/users/no_photo.png"===a.foto?He.a:"".concat(w,"/").concat(a.foto);var n=r.a.createElement("div",null,r.a.createElement("div",{className:"card shadow mb-4"},r.a.createElement("div",{className:"card-header py-3"},r.a.createElement("h6",{className:"m-0 font-weight-bold text-primary"},"Ubah Pasien")),r.a.createElement("div",{className:"card-body"},r.a.createElement("div",{className:"container"},r.a.createElement("div",{className:"card o-hidden border-0 shadow-lg my-5"},r.a.createElement("div",{className:"card-body p-0"},r.a.createElement("div",{className:"row"},r.a.createElement("div",{className:"col-lg-5   d-lg-block pr-0 text-center ",style:{background:"#dddddd"}},r.a.createElement("img",{alt:"bg",src:t,style:{width:"100%"}}),r.a.createElement("button",{className:"form-control form-control-user",type:"button",autoComplete:"off","data-toggle":"modal","data-target":"#exampleModal2"},r.a.createElement("i",{className:"fas fa-edit"})," Ubah Foto")),r.a.createElement("div",{className:"col-lg-7"},r.a.createElement("div",{className:"p-5"},r.a.createElement("div",{className:"text-center"},r.a.createElement("h1",{className:"h4 text-gray-900 mb-4"},"Ubah Data Pasien"," ")),r.a.createElement("form",{onSubmit:this.props.handleSubmit(this.onSubmit),className:"user"},r.a.createElement(h.a,{name:"username",component:this.renderInput,label:"NIK",type:"text"}),r.a.createElement(h.a,{name:"name",component:this.renderInput,label:"Nama",type:"text"}),r.a.createElement(h.a,{name:"nomor_hp",component:this.renderInput,label:"Nomor HP",type:"text"}),r.a.createElement(h.a,{name:"alamat",component:this.renderInput,label:"Alamat",type:"text"}),r.a.createElement("div",{className:"form-group",onClick:function(){return e.modalKecamatanOpen()}},r.a.createElement("label",{htmlFor:"Nm_Kecamatan"},"Kecamatan"),r.a.createElement("input",{id:"Nm_Kecamatan",type:"text",name:"Nm_Kecamatan",value:""===this.state.Nm_Kecamatan?this.props.initialValues.Nm_Kecamatan:this.state.Nm_Kecamatan,disabled:!0,className:"form-control"})),r.a.createElement("div",{className:"form-group",onClick:function(){return e.modalDesaOpen()}},r.a.createElement("label",{htmlFor:"Nm_Desa"},"Desa"),r.a.createElement("input",{id:"Nm_Desa",type:"text",name:"Nm_Desa",value:""===this.state.Nm_Desa?"":this.state.Nm_Desa,disabled:!0,className:"form-control"})," ","--"==this.state.Nm_Desa&&this.state.submit?r.a.createElement("small",{className:"text-danger"},"Desa / Kelurahan Harus dipilih"):""),r.a.createElement(h.a,{name:"tanggal_lahir",component:this.renderInput,type:"hidden"}),r.a.createElement(h.a,{name:"tempat_lahir",component:this.renderInput,type:"hidden"}),r.a.createElement("hr",null),r.a.createElement("div",{className:"row"},r.a.createElement("div",{className:"col-6"},r.a.createElement("button",{className:"btn btn-primary",style:{width:"100%"}}," ","OK")),r.a.createElement("div",{className:"col-6"},r.a.createElement(u.b,{to:"/admin/pasien",className:"btn btn-secondary",style:{width:"100%"}}," ","Batal")))))))))))),r.a.createElement("div",{className:"modal fade",id:"exampleModal",tabIndex:"-1",role:"dialog","aria-labelledby":"exampleModalLabel","aria-hidden":"true"},r.a.createElement(qe,{pasien:a})),r.a.createElement("div",{className:"modal fade",id:"exampleModal2",tabIndex:"-1",role:"dialog","aria-labelledby":"exampleModalLabel2","aria-hidden":"true"},r.a.createElement(Ve,{pasien:a})));return r.a.createElement(r.a.Fragment,null,n,r.a.createElement(ea,{modalKecamatan:this.state.modalKecamatan,modalKecamatanClose:this.modalKecamatanClose,selected:""===this.state.Nm_Kecamatan?this.props.initialValues.Nm_Kecamatan:this.state.Nm_Kecamatan,onChange:this.onChangeKecamatan}),r.a.createElement(aa,{modalDesa:this.state.modalDesa,modalDesaClose:this.modalDesaClose,selected:""===this.state.Nm_Desa?this.props.initialValues.Nm_Desa:this.state.Nm_Desa,onChange:this.onChangeDesa,labelDefault:"--"}))}}]),t}(n.Component),na=Object(f.a)({form:"formUbahPasien",enableReinitialize:!0,validate:function(e){var a={};return e.username||(a.username="NIK Harus diisi"),e.alamat||(a.alamat="Alamat Harus diisi"),a}})(ta),ra=Object(p.b)((function(e){return{initialValues:e.detailPasien,pasien:e.detailPasien}}),{getDetailPasien:K,ubahPasien:function(e,a,t){return function(){var n=Object(v.a)(g.a.mark((function n(r){var l,s;return g.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(l="Bearer "+localStorage.token,s=Object(b.a)({},a),""!==a.PmDesaID&&"--"!==a.PmDesaID||(s=Object(b.a)({},a,{PmDesaID:null,Nm_Desa:null})),!l){n.next=6;break}return n.next=6,k.post("/setting/userspasien/".concat(e),Object(b.a)({_method:"PUT"},s),{headers:{Authorization:l}}).then((function(e){}),(function(e){r({type:"UBAH_PASIEN",data:"Gagal"})}));case 6:t&&t();case 7:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()},getKecamatan:I,getDesa:B})(na),la=t(27),sa=t.n(la),ca=function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(){var e;Object(c.a)(this,t);for(var n=arguments.length,l=new Array(n),s=0;s<n;s++)l[s]=arguments[s];return(e=a.call.apply(a,[this].concat(l))).state={onSubmit:!1},e.styles={bg:{background:"url(".concat(sa.a,")"),backgroundSize:"cover"}},e.renderInput=function(a){var t=a.input,n=a.label,l=a.type,s=a.meta,c=a.dataToggle;a.dataTarget;return c?r.a.createElement("div",{className:"form-group"},r.a.createElement("label",{htmlFor:n},n),r.a.createElement("input",Object.assign({className:"form-control  ",id:n},t,{type:l,autoComplete:"off",placeholder:n,"data-toggle":"modal","data-target":"#exampleModal"})),e.renderError(s)):r.a.createElement("div",{className:"form-group"},r.a.createElement("label",{htmlFor:n},n),r.a.createElement("input",Object.assign({className:"form-control  ",id:n},t,{type:l,autoComplete:"off",placeholder:n})),e.renderError(s))},e.onSubmit=function(){var a=Object(v.a)(g.a.mark((function a(t){return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,e.props.tambahGugusTugas(t);case 2:e.setState({onSubmit:!0});case 3:case"end":return a.stop()}}),a)})));return function(e){return a.apply(this,arguments)}}(),e.contentRender=function(){return r.a.createElement("div",{className:"card shadow mb-4"},r.a.createElement("div",{className:"card-header py-3"},r.a.createElement("h6",{className:"m-0 font-weight-bold text-primary"},"Tambah Gugus Tugas")),r.a.createElement("div",{className:"card-body"},r.a.createElement("div",{className:"container"},r.a.createElement("div",{className:"card o-hidden border-0 shadow-lg my-5"},r.a.createElement("div",{className:"card-body p-0"},r.a.createElement("div",{className:"row justify-content-center"},r.a.createElement("div",{className:"col-lg-7"},r.a.createElement("div",{className:"p-5"},r.a.createElement("div",{className:"text-center"},r.a.createElement("h1",{className:"h4 text-gray-900 mb-4"},"Data Gugus Tugas"," ")),r.a.createElement("div",null,r.a.createElement("form",{onSubmit:e.props.handleSubmit(e.onSubmit),className:"user"},r.a.createElement(h.a,{name:"name",component:e.renderInput,label:"Nama",type:"text"}),r.a.createElement(h.a,{name:"email",component:e.renderInput,label:"Email",type:"email"}),r.a.createElement(h.a,{name:"username",component:e.renderInput,label:"Username",type:"text"}),r.a.createElement(h.a,{name:"password",component:e.renderInput,label:"Password",type:"password"}),r.a.createElement(h.a,{name:"nomor_hp",component:e.renderInput,label:"Nomor HP",type:"number"}),r.a.createElement(h.a,{name:"alamat",component:e.renderInput,label:"Alamat",type:"text"}),r.a.createElement("hr",null),r.a.createElement("div",{className:"row"},r.a.createElement("div",{className:"col-6"},r.a.createElement("button",{className:"btn btn-primary",style:{width:"100%"}}," ","OK")),r.a.createElement("div",{className:"col-6"},r.a.createElement(u.b,{to:"/admin/gugustugas",className:"btn btn-secondary",style:{width:"100%"}}," ","Batal")))))))))))))},e}return Object(o.a)(t,[{key:"renderError",value:function(e){var a=e.error;if(e.touched&&a)return r.a.createElement("small",{className:"text-danger"},a)}},{key:"render",value:function(){return console.log(this.props),this.state.onSubmit?r.a.createElement(d.a,{to:"/admin/gugustugas"}):r.a.createElement("div",null,this.contentRender())}}]),t}(n.Component),oa=Object(f.a)({form:"tambahGugusTugas",enableReinitialize:!0,validate:function(e){var a={};return e.username||(a.username="Username Harus diisi"),e.name||(a.name="Nama Harus diisi"),e.password||(a.password="Password Harus diisi"),e.email||(a.email="Email Harus diisi"),e.alamat||(a.alamat="Alamat Harus diisi"),a}})(ca),ia=Object(p.b)(null,{tambahGugusTugas:function(e){return function(){var a=Object(v.a)(g.a.mark((function a(t){var n;return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(!(n="Bearer "+localStorage.token)){a.next=4;break}return a.next=4,k.post("/setting/usersgugustugas/store",Object(b.a)({},e),{headers:{Authorization:n}}).then((function(e){}),(function(e){console.log(e)}));case 4:case"end":return a.stop()}}),a)})));return function(e){return a.apply(this,arguments)}}()}})(oa),ma=function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(){var e;Object(c.a)(this,t);for(var n=arguments.length,l=new Array(n),s=0;s<n;s++)l[s]=arguments[s];return(e=a.call.apply(a,[this].concat(l))).state={onSubmit:!1},e.styles={bg:{background:"url(".concat(sa.a,")"),backgroundSize:"cover"}},e.componentDidMount=Object(v.a)(g.a.mark((function a(){return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,e.props.getGugusTugas();case 2:case"end":return a.stop()}}),a)}))),e.renderInput=function(a){var t=a.input,n=a.label,l=a.type,s=a.meta,c=a.dataToggle;a.dataTarget;return c?r.a.createElement("div",{className:"form-group"},r.a.createElement("label",{htmlFor:n},n),r.a.createElement("input",Object.assign({className:"form-control  ",id:n},t,{type:l,autoComplete:"off",placeholder:n,"data-toggle":"modal","data-target":"#exampleModal"})),e.renderError(s)):r.a.createElement("div",{className:"form-group"},r.a.createElement("label",{htmlFor:n},n),r.a.createElement("input",Object.assign({className:"form-control  ",id:n},t,{type:l,autoComplete:"off",placeholder:n})),e.renderError(s))},e.onSubmit=function(){var a=Object(v.a)(g.a.mark((function a(t){return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,e.props.ubahGugusTugas(e.props.id,t);case 2:e.setState({onSubmit:!0});case 3:case"end":return a.stop()}}),a)})));return function(e){return a.apply(this,arguments)}}(),e.contentRender=function(){return r.a.createElement("div",{className:"card shadow mb-4"},r.a.createElement("div",{className:"card-header py-3"},r.a.createElement("h6",{className:"m-0 font-weight-bold text-primary"},"Ubah Gugus Tugas")),r.a.createElement("div",{className:"card-body"},r.a.createElement("div",{className:"container"},r.a.createElement("div",{className:"card o-hidden border-0 shadow-lg my-5"},r.a.createElement("div",{className:"card-body p-0"},r.a.createElement("div",{className:"row justify-content-center"},r.a.createElement("div",{className:"col-lg-7"},r.a.createElement("div",{className:"p-5"},r.a.createElement("div",{className:"text-center"},r.a.createElement("h1",{className:"h4 text-gray-900 mb-4"},"Data Gugus Tugas"," ")),r.a.createElement("div",null,r.a.createElement("form",{onSubmit:e.props.handleSubmit(e.onSubmit),className:"user"},r.a.createElement(h.a,{name:"name",component:e.renderInput,label:"Nama",type:"text"}),r.a.createElement(h.a,{name:"email",component:e.renderInput,label:"Email",type:"email"}),r.a.createElement(h.a,{name:"username",component:e.renderInput,label:"Username",type:"text"}),r.a.createElement(h.a,{name:"nomor_hp",component:e.renderInput,label:"Nomor HP",type:"number"}),r.a.createElement(h.a,{name:"alamat",component:e.renderInput,label:"Alamat",type:"text"}),r.a.createElement("hr",null),r.a.createElement("div",{className:"row"},r.a.createElement("div",{className:"col-6"},r.a.createElement("button",{className:"btn btn-primary",style:{width:"100%"},onClick:function(){return e.onSubmit}}," ","Ubah")),r.a.createElement("div",{className:"col-6"},r.a.createElement(u.b,{to:"/admin/gugustugas",className:"btn btn-secondary",style:{width:"100%"}}," ","Batal")))))))))))))},e}return Object(o.a)(t,[{key:"renderError",value:function(e){var a=e.error;if(e.touched&&a)return r.a.createElement("small",{className:"text-danger"},a)}},{key:"render",value:function(){return this.state.onSubmit?r.a.createElement(d.a,{to:"/admin/gugustugas"}):r.a.createElement("div",null,this.contentRender())}}]),t}(n.Component),ua=Object(f.a)({form:"UbahGugusTugas",enableReinitialize:!0,validate:function(e){var a={};return e.username||(a.username="Username Harus diisi"),e.name||(a.name="Nama Harus diisi"),e.email||(a.email="Email Harus diisi"),e.alamat||(a.alamat="Alamat Harus diisi"),a}})(ma),da=Object(p.b)((function(e,a){return{initialValues:e.listGugusTugas.find((function(e){return parseInt(e.id)===parseInt(a.id)}))}}),{getGugusTugas:Ce,ubahGugusTugas:function(e,a){return function(){var t=Object(v.a)(g.a.mark((function t(n){var r;return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(r="Bearer "+localStorage.token)){t.next=4;break}return t.next=4,k.post("/setting/usersgugustugas/".concat(e),Object(b.a)({_method:"PUT"},a),{headers:{Authorization:r}}).then((function(e){}),(function(e){console.log(e)}));case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()}})(ua),pa=function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(){var e;Object(c.a)(this,t);for(var n=arguments.length,l=new Array(n),s=0;s<n;s++)l[s]=arguments[s];return(e=a.call.apply(a,[this].concat(l))).state={onSubmit:!1,submit:!1,Nm_Kecamatan:"",PmKecamatanID:"",PmDesaID:"",Nm_Desa:"",modalKecamatan:!1},e.styles={bg:{background:"url(".concat(sa.a,")"),backgroundSize:"cover"}},e.modalKecamatanClose=function(){return e.setState({modalKecamatan:!1})},e.modalDesaClose=function(){return e.setState({modalDesa:!1})},e.modalKecamatanOpen=function(){e.setState({modalKecamatan:!0})},e.modalDesaOpen=function(){e.setState({modalDesa:!0})},e.onChangeKecamatan=function(){var a=Object(v.a)(g.a.mark((function a(t,n){return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:e.setState({Nm_Kecamatan:n,PmKecamatanID:t}),e.props.getDesa(t),e.setState({Nm_Desa:"--",PmDesaID:"--"});case 3:case"end":return a.stop()}}),a)})));return function(e,t){return a.apply(this,arguments)}}(),e.onChangeDesa=function(){var a=Object(v.a)(g.a.mark((function a(t,n){return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:e.setState({Nm_Desa:n,PmDesaID:t});case 1:case"end":return a.stop()}}),a)})));return function(e,t){return a.apply(this,arguments)}}(),e.renderInput=function(a){var t=a.input,n=a.label,l=a.type,s=a.meta,c=a.dataToggle;a.dataTarget;return"Desa"===n?r.a.createElement("div",{className:"form-group"},r.a.createElement("label",{htmlFor:n},n),r.a.createElement("select",Object.assign({className:"form-control ",id:n},t,{type:l,onClick:e.onChangeDesa}),r.a.createElement("option",{value:""},"--- Pilih Desa ---"),e.renderListDesa()),e.renderError(s)):"Kecamatan"===n?r.a.createElement("div",{className:"form-group"},r.a.createElement("label",{htmlFor:n},n),r.a.createElement("select",Object.assign({className:"form-control ",id:n},t,{type:l,onClick:e.onChangeKecamatan}),r.a.createElement("option",{value:"wow"},"--- Pilih Kecamatan ---"),e.renderListKecamatan()),e.renderError(s)):c?r.a.createElement("div",{className:"form-group"},r.a.createElement("label",{htmlFor:n},n),r.a.createElement("input",Object.assign({className:"form-control  ",id:n},t,{type:l,autoComplete:"off",placeholder:n,"data-toggle":"modal","data-target":"#exampleModal"})),e.renderError(s)):r.a.createElement("div",{className:"form-group"},r.a.createElement("label",{htmlFor:n},n),r.a.createElement("input",Object.assign({className:"form-control  ",id:n},t,{type:l,autoComplete:"off",placeholder:n})),e.renderError(s))},e.onSubmit=function(){var a=Object(v.a)(g.a.mark((function a(t){var n;return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(e.setState({submit:!0}),""!==e.state.Nm_Kecamatan){a.next=3;break}return a.abrupt("return");case 3:return n=Object(b.a)({},t,{},e.state),a.next=6,e.props.tambahPetugas(n,(function(){e.setState({onSubmit:!0})}));case 6:case"end":return a.stop()}}),a)})));return function(e){return a.apply(this,arguments)}}(),e.contentRender=function(){return r.a.createElement("div",{className:"card shadow mb-4"},r.a.createElement("div",{className:"card-header py-3"},r.a.createElement("h6",{className:"m-0 font-weight-bold text-primary"},"Tambah Petugas")),r.a.createElement("div",{className:"card-body"},r.a.createElement("div",{className:"container"},r.a.createElement("div",{className:"card o-hidden border-0 shadow-lg my-5"},r.a.createElement("div",{className:"card-body p-0"},r.a.createElement("div",{className:"row justify-content-center"},r.a.createElement("div",{className:"col-lg-7"},r.a.createElement("div",{className:"p-5"},r.a.createElement("div",{className:"text-center"},r.a.createElement("h1",{className:"h4 text-gray-900 mb-4"},"Data Petugas ")),r.a.createElement("div",null,r.a.createElement("form",{onSubmit:e.props.handleSubmit(e.onSubmit),className:"user"},r.a.createElement(h.a,{name:"name",component:e.renderInput,label:"Nama",type:"text"}),r.a.createElement(h.a,{name:"email",component:e.renderInput,label:"Email",type:"email"}),r.a.createElement(h.a,{name:"username",component:e.renderInput,label:"Username",type:"text"}),r.a.createElement(h.a,{name:"password",component:e.renderInput,label:"Password",type:"password"}),r.a.createElement(h.a,{name:"nomor_hp",component:e.renderInput,label:"Nomor HP",type:"number"}),r.a.createElement(h.a,{name:"alamat",component:e.renderInput,label:"Alamat",type:"text"}),r.a.createElement("div",{className:"form-group",onClick:function(){return e.modalKecamatanOpen()}},r.a.createElement("label",{htmlFor:"Nm_Kecamatan"},"Kecamatan"),r.a.createElement("input",{id:"Nm_Kecamatan",type:"text",name:"Nm_Kecamatan",value:""===e.state.Nm_Kecamatan?"":e.state.Nm_Kecamatan,disabled:!0,className:"form-control"}),""==e.state.Nm_Kecamatan&&e.state.submit?r.a.createElement("small",{className:"text-danger"},"Kecamatan Harus dipilih"):""),r.a.createElement("div",{className:"form-group",onClick:function(){return e.modalDesaOpen()}},r.a.createElement("label",{htmlFor:"Nm_Desa"},"Desa"),r.a.createElement("input",{id:"Nm_Desa",type:"text",name:"Nm_Desa",value:""===e.state.Nm_Desa?"":e.state.Nm_Desa,disabled:!0,className:"form-control"})),r.a.createElement("hr",null),r.a.createElement("div",{className:"row"},r.a.createElement("div",{className:"col-6"},r.a.createElement("button",{className:"btn btn-primary",style:{width:"100%"}}," ","OK")),r.a.createElement("div",{className:"col-6"},r.a.createElement(u.b,{to:"/admin/petugas",className:"btn btn-secondary",style:{width:"100%"}}," ","Batal")))))))))))))},e}return Object(o.a)(t,[{key:"componentDidMount",value:function(){this.props.getKecamatan()}},{key:"renderError",value:function(e){var a=e.error;if(e.touched&&a)return r.a.createElement("small",{className:"text-danger"},a)}},{key:"render",value:function(){return this.state.onSubmit?r.a.createElement(d.a,{to:"/admin/petugas"}):r.a.createElement(r.a.Fragment,null," ",r.a.createElement("div",null,this.contentRender()),r.a.createElement(ea,{modalKecamatan:this.state.modalKecamatan,modalKecamatanClose:this.modalKecamatanClose,selected:""===this.state.Nm_Kecamatan?"":this.state.Nm_Kecamatan,onChange:this.onChangeKecamatan}),r.a.createElement(aa,{modalDesa:this.state.modalDesa,modalDesaClose:this.modalDesaClose,selected:""===this.state.Nm_Desa?"":this.state.Nm_Desa,onChange:this.onChangeDesa,labelDefault:"--"}))}}]),t}(n.Component),ha=Object(f.a)({form:"tambahPetugas",enableReinitialize:!0,validate:function(e){var a={};return e.username||(a.username="Username Harus diisi"),e.name||(a.name="Nama Harus diisi"),e.password||(a.password="Password Harus diisi"),e.email||(a.email="Email Harus diisi"),e.nomor_hp||(a.nomor_hp="Nomor Handphone Harus diisi"),a}})(pa),fa=Object(p.b)((function(e){return{listKecamatan:e.listKecamatan,listDesa:e.listDesa}}),{tambahPetugas:function(e,a){return function(){var t=Object(v.a)(g.a.mark((function t(n){var r,l;return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r="Bearer "+localStorage.token,l=Object(b.a)({},e),""!==e.PmDesaID&&"--"!==e.PmDesaID||(l=Object(b.a)({},e,{PmDesaID:null,Nm_Desa:null})),!r){t.next=6;break}return t.next=6,k.post("/setting/userspetugas/store",Object(b.a)({},l),{headers:{Authorization:r}}).then((function(e){}),(function(e){console.log(e)}));case 6:a&&a();case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},getKecamatan:I,getDesa:B})(ha),ba=function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(){var e;Object(c.a)(this,t);for(var n=arguments.length,l=new Array(n),s=0;s<n;s++)l[s]=arguments[s];return(e=a.call.apply(a,[this].concat(l))).state={onSubmit:!1,submit:!1,Nm_Kecamatan:"",PmKecamatanID:"",PmDesaID:"",Nm_Desa:"",modalKecamatan:!1},e.styles={bg:{background:"url(".concat(sa.a,")"),backgroundSize:"cover"}},e.componentDidMount=Object(v.a)(g.a.mark((function a(){return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,e.props.getPetugas();case 2:e.setState({Nm_Kecamatan:e.props.initialValues.Nm_Kecamatan,Nm_Desa:e.props.initialValues.Nm_Desa,PmKecamatanID:e.props.initialValues.PmKecamatanID,PmDesaID:e.props.initialValues.PmDesaID}),e.props.getDesa(e.state.PmKecamatanID);case 4:case"end":return a.stop()}}),a)}))),e.modalKecamatanClose=function(){return e.setState({modalKecamatan:!1})},e.modalDesaClose=function(){return e.setState({modalDesa:!1})},e.modalKecamatanOpen=function(){e.setState({modalKecamatan:!0})},e.modalDesaOpen=function(){e.setState({modalDesa:!0})},e.onChangeKecamatan=function(){var a=Object(v.a)(g.a.mark((function a(t,n){return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:e.setState({Nm_Kecamatan:n,PmKecamatanID:t}),e.props.getDesa(t),e.setState({Nm_Desa:"Semua Desa",PmDesaID:"Semua Desa"});case 3:case"end":return a.stop()}}),a)})));return function(e,t){return a.apply(this,arguments)}}(),e.onChangeDesa=function(){var a=Object(v.a)(g.a.mark((function a(t,n){return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:e.setState({Nm_Desa:n,PmDesaID:t});case 1:case"end":return a.stop()}}),a)})));return function(e,t){return a.apply(this,arguments)}}(),e.renderInput=function(a){var t=a.input,n=a.label,l=a.type,s=a.meta,c=a.dataToggle;a.dataTarget;return c?r.a.createElement("div",{className:"form-group"},r.a.createElement("label",{htmlFor:n},n),r.a.createElement("input",Object.assign({className:"form-control  ",id:n},t,{type:l,autoComplete:"off",placeholder:n,"data-toggle":"modal","data-target":"#exampleModal"})),e.renderError(s)):r.a.createElement("div",{className:"form-group"},r.a.createElement("label",{htmlFor:n},n),r.a.createElement("input",Object.assign({className:"form-control  ",id:n},t,{type:l,autoComplete:"off",placeholder:n})),e.renderError(s))},e.onSubmit=function(){var a=Object(v.a)(g.a.mark((function a(t){var n;return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(e.setState({submit:!0}),""!==e.state.Nm_Kecamatan){a.next=3;break}return a.abrupt("return");case 3:return n=Object(b.a)({},t,{},e.state),a.next=6,e.props.ubahPetugas(e.props.id,n);case 6:e.setState({onSubmit:!0});case 7:case"end":return a.stop()}}),a)})));return function(e){return a.apply(this,arguments)}}(),e.contentRender=function(){return r.a.createElement("div",{className:"card shadow mb-4"},r.a.createElement("div",{className:"card-header py-3"},r.a.createElement("h6",{className:"m-0 font-weight-bold text-primary"},"Ubah Petugas")),r.a.createElement("div",{className:"card-body"},r.a.createElement("div",{className:"container"},r.a.createElement("div",{className:"card o-hidden border-0 shadow-lg my-5"},r.a.createElement("div",{className:"card-body p-0"},r.a.createElement("div",{className:"row justify-content-center"},r.a.createElement("div",{className:"col-lg-7"},r.a.createElement("div",{className:"p-5"},r.a.createElement("div",{className:"text-center"},r.a.createElement("h1",{className:"h4 text-gray-900 mb-4"},"Data Petugas ")),r.a.createElement("div",null,r.a.createElement("form",{onSubmit:e.props.handleSubmit(e.onSubmit),className:"user"},r.a.createElement(h.a,{name:"name",component:e.renderInput,label:"Nama",type:"text"}),r.a.createElement(h.a,{name:"email",component:e.renderInput,label:"Email",type:"email"}),r.a.createElement(h.a,{name:"username",component:e.renderInput,label:"Username",type:"text"}),r.a.createElement(h.a,{name:"nomor_hp",component:e.renderInput,label:"Nomor HP",type:"text"}),r.a.createElement(h.a,{name:"alamat",component:e.renderInput,label:"Alamat",type:"text"}),r.a.createElement("div",{className:"form-group",onClick:function(){return e.modalKecamatanOpen()}},r.a.createElement("label",{htmlFor:"Nm_Kecamatan"},"Kecamatan"),r.a.createElement("input",{id:"Nm_Kecamatan",type:"text",name:"Nm_Kecamatan",value:""===e.state.Nm_Kecamatan?"":e.state.Nm_Kecamatan,disabled:!0,className:"form-control"}),""==e.state.Nm_Kecamatan&&e.state.submit?r.a.createElement("small",{className:"text-danger"},"Kecamatan Harus dipilih"):""),r.a.createElement("div",{className:"form-group",onClick:function(){return e.modalDesaOpen()}},r.a.createElement("label",{htmlFor:"Nm_Desa"},"Desa"),r.a.createElement("input",{id:"Nm_Desa",type:"text",name:"Nm_Desa",value:""===e.state.Nm_Desa?"":e.state.Nm_Desa,disabled:!0,className:"form-control"})),r.a.createElement("hr",null),r.a.createElement("div",{className:"row"},r.a.createElement("div",{className:"col-6"},r.a.createElement("button",{className:"btn btn-primary",style:{width:"100%"},onClick:function(){return e.onSubmit}}," ","Ubah")),r.a.createElement("div",{className:"col-6"},r.a.createElement(u.b,{to:"/admin/petugas",className:"btn btn-secondary",style:{width:"100%"}}," ","Batal")))))))))))))},e}return Object(o.a)(t,[{key:"renderError",value:function(e){var a=e.error;if(e.touched&&a)return r.a.createElement("small",{className:"text-danger"},a)}},{key:"render",value:function(){return this.state.onSubmit?r.a.createElement(d.a,{to:"/admin/petugas"}):r.a.createElement(r.a.Fragment,null,r.a.createElement("div",null,this.contentRender()),r.a.createElement(ea,{modalKecamatan:this.state.modalKecamatan,modalKecamatanClose:this.modalKecamatanClose,selected:""===this.state.Nm_Kecamatan?"":this.state.Nm_Kecamatan,onChange:this.onChangeKecamatan}),r.a.createElement(aa,{modalDesa:this.state.modalDesa,modalDesaClose:this.modalDesaClose,selected:""===this.state.Nm_Desa?"":this.state.Nm_Desa,onChange:this.onChangeDesa,labelDefault:"Semua Desa"}))}}]),t}(n.Component),Ea=Object(f.a)({form:"UbahPetugas",enableReinitialize:!0,validate:function(e){var a={};return e.username||(a.username="Username Harus diisi"),e.name||(a.name="Nama Harus diisi"),e.email||(a.email="Email Harus diisi"),a}})(ba),ga=Object(p.b)((function(e,a){return{initialValues:e.listPetugas.find((function(e){return parseInt(e.id)===parseInt(a.id)}))}}),{getPetugas:Te,ubahPetugas:function(e,a){return function(){var t=Object(v.a)(g.a.mark((function t(n){var r,l;return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=Object(b.a)({},a),""!==a.PmDesaID&&"--"!==a.PmDesaID&&"Semua Desa"!==a.PmDesaID||(r=Object(b.a)({},a,{PmDesaID:null,Nm_Desa:null})),console.log(r),!(l="Bearer "+localStorage.token)){t.next=7;break}return t.next=7,k.post("/setting/userspetugas/".concat(e),Object(b.a)({_method:"PUT"},r),{headers:{Authorization:l}}).then((function(e){}),(function(e){console.log(e)}));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},getKecamatan:I,getDesa:B})(Ea),va=function(){return function(){var e=Object(v.a)(g.a.mark((function e(a){var t,n;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t="Bearer "+localStorage.token,n=[],!t){e.next=5;break}return e.next=5,k.get("/dmaster/fasilitaskarantina",{headers:{Authorization:t}}).then((function(e){n=e.data,a({type:"GET_FASILITAS",data:n})})).catch((function(e){}));case 5:case"end":return e.stop()}}),e)})));return function(a){return e.apply(this,arguments)}}()},Na=function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(){var e;Object(c.a)(this,t);for(var n=arguments.length,l=new Array(n),s=0;s<n;s++)l[s]=arguments[s];return(e=a.call.apply(a,[this].concat(l))).state={prosesLoad:0,dataHapus:{id:"",name:""}},e.setKonfirmasiHapus=function(a){var t=Object(b.a)({},a,{name:a.Nm_Fasilitas,id:a.FasilitasKarantinaID});e.setState({dataHapus:t})},e.componentDidMount=Object(v.a)(g.a.mark((function a(){return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,e.props.getFasilitas();case 2:e.setState({prosesLoad:1});case 3:case"end":return a.stop()}}),a)}))),e.renderContent=function(){return e.props.listFasilitas?0===e.props.listFasilitas.length?r.a.createElement("div",{className:"alert alert-info"},"Tidak ada data Fasilitas Karantina."):r.a.createElement("div",null,r.a.createElement("div",{className:"table-responsive"},r.a.createElement("table",{className:"table table-bordered",id:"dataTable",width:"100%",cellSpacing:"0"},r.a.createElement("thead",null,r.a.createElement("tr",{className:"text-light bg-primary"},r.a.createElement("th",{style:{width:"50px"}},"No"),r.a.createElement("th",null,"Nama Fasilitas"),r.a.createElement("th",null,"Alamat "),r.a.createElement("th",null,"Kecamatan "),r.a.createElement("th",null,"Desa "),r.a.createElement("th",{style:{width:"150px"},className:"text-center"},"Aksi"))),r.a.createElement("tbody",null,e.renderFasilitas())))):r.a.createElement("tr",null,r.a.createElement("td",{colspan:"6"},r.a.createElement("div",{className:"spinner-border text-light text-center",style:{width:"3rem",height:"3rem"},role:"status"},r.a.createElement("span",{className:"sr-only"},"Loading..."))))},e.deleteHandler=function(){var a=Object(v.a)(g.a.mark((function a(t){return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,e.props.hapusFasilitas(t);case 2:window.location.reload();case 3:case"end":return a.stop()}}),a)})));return function(e){return a.apply(this,arguments)}}(),e}return Object(o.a)(t,[{key:"renderFasilitas",value:function(){var e=this;return this.props.listFasilitas.map((function(a,t){return r.a.createElement("tr",{key:t},r.a.createElement("td",{className:"text-center"},t+1),r.a.createElement("td",null,a.Nm_Fasilitas),r.a.createElement("td",null," ",a.alamat),r.a.createElement("td",null," ",a.Nm_Kecamatan),r.a.createElement("td",null," ",a.Nm_Desa?a.Nm_Desa:"-"),r.a.createElement("td",{className:"text-center"},r.a.createElement(u.b,{className:"btn btn-warning mr-2",to:"/admin/ubahfasilitas/".concat(a.FasilitasKarantinaID)},r.a.createElement("i",{className:"fas fa-edit"})),r.a.createElement("button",{type:"button",className:"btn btn-danger","data-toggle":"modal","data-target":"#modalDelete",onClick:function(){return e.setKonfirmasiHapus(a)}},r.a.createElement("i",{className:"fas fa-trash"}))))}))}},{key:"render",value:function(){return 0===this.state.prosesLoad?r.a.createElement("div",{className:"spinner-border text-light text-center",style:{width:"3rem",height:"3rem"},role:"status"},r.a.createElement("span",{className:"sr-only"},"Loading...")):r.a.createElement("div",{className:"card shadow mb-4"},r.a.createElement("div",{className:"card-header py-3 "},r.a.createElement("h6",{className:"m-0 font-weight-bold text-primary"},"Daftar Fasilitas Karantina",r.a.createElement(u.b,{to:"/admin/tambahfasilitas",className:"btn btn-primary float-right"},"Tambah Fasilitas Karantina"))),r.a.createElement("div",{className:"card-body"},this.renderContent(),r.a.createElement(Pe,{data:this.state.dataHapus,onClickProses:this.deleteHandler,judul:"Fasilitas Karantina"})))}}]),t}(n.Component),ya=Object(p.b)((function(e){return{listFasilitas:e.listFasilitas}}),{getFasilitas:va,hapusFasilitas:function(e){return function(){var a=Object(v.a)(g.a.mark((function a(t){var n;return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(!(n="Bearer "+localStorage.token)){a.next=4;break}return a.next=4,k.post("/dmaster/fasilitaskarantina/".concat(e),{_method:"DELETE"},{headers:{Authorization:n}}).then((function(e){}),(function(e){console.log(e)}));case 4:case"end":return a.stop()}}),a)})));return function(e){return a.apply(this,arguments)}}()}})(Na),wa=function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(){var e;Object(c.a)(this,t);for(var n=arguments.length,l=new Array(n),s=0;s<n;s++)l[s]=arguments[s];return(e=a.call.apply(a,[this].concat(l))).state={onSubmit:!1,submit:!1,Nm_Kecamatan:"",PmKecamatanID:"",PmDesaID:"",Nm_Desa:"",modalKecamatan:!1},e.styles={bg:{background:"url(".concat(sa.a,")"),backgroundSize:"cover"}},e.modalKecamatanClose=function(){return e.setState({modalKecamatan:!1})},e.modalDesaClose=function(){return e.setState({modalDesa:!1})},e.modalKecamatanOpen=function(){e.setState({modalKecamatan:!0})},e.modalDesaOpen=function(){e.setState({modalDesa:!0})},e.onChangeKecamatan=function(){var a=Object(v.a)(g.a.mark((function a(t,n){return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:e.setState({Nm_Kecamatan:n,PmKecamatanID:t}),e.props.getDesa(t),e.setState({Nm_Desa:"--",PmDesaID:"--"});case 3:case"end":return a.stop()}}),a)})));return function(e,t){return a.apply(this,arguments)}}(),e.onChangeDesa=function(){var a=Object(v.a)(g.a.mark((function a(t,n){return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:e.setState({Nm_Desa:n,PmDesaID:t});case 1:case"end":return a.stop()}}),a)})));return function(e,t){return a.apply(this,arguments)}}(),e.renderInput=function(a){var t=a.input,n=a.label,l=a.type,s=a.meta;a.dataToggle,a.dataTarget;return"Alamat"===n?r.a.createElement("div",{className:"form-group"},r.a.createElement("label",{htmlFor:n},n),r.a.createElement("textarea",Object.assign({className:"form-control  ",id:n},t,{placeholder:n})," "),e.renderError(s)):r.a.createElement("div",{className:"form-group"},r.a.createElement("label",{htmlFor:n},n),r.a.createElement("input",Object.assign({className:"form-control  ",id:n},t,{type:l,autoComplete:"off",placeholder:n})),e.renderError(s))},e.onSubmit=function(){var a=Object(v.a)(g.a.mark((function a(t){var n;return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(e.setState({submit:!0}),""!==e.state.Nm_Kecamatan){a.next=3;break}return a.abrupt("return");case 3:n=Object(b.a)({},t,{},e.state),e.props.tambahFasilitas(n,(function(){e.setState({onSubmit:!0})}));case 5:case"end":return a.stop()}}),a)})));return function(e){return a.apply(this,arguments)}}(),e.contentRender=function(){return r.a.createElement("div",{className:"card shadow mb-4"},r.a.createElement("div",{className:"card-header py-3"},r.a.createElement("h6",{className:"m-0 font-weight-bold text-primary"},"Tambah Fasilitas Karantina")),r.a.createElement("div",{className:"card-body"},r.a.createElement("div",{className:"container"},r.a.createElement("div",{className:"card o-hidden border-0 shadow-lg my-5"},r.a.createElement("div",{className:"card-body p-0"},r.a.createElement("div",{className:"row justify-content-center"},r.a.createElement("div",{className:"col-lg-7"},r.a.createElement("div",{className:"p-5"},r.a.createElement("div",{className:"text-center"},r.a.createElement("h1",{className:"h4 text-gray-900 mb-4"},"Data Fasilitas Karantina"," ")),r.a.createElement("div",null,r.a.createElement("form",{onSubmit:e.props.handleSubmit(e.onSubmit),className:"user"},r.a.createElement(h.a,{name:"Nm_Fasilitas",component:e.renderInput,label:"Nama Fasilitas",type:"text"}),r.a.createElement(h.a,{name:"alamat",component:e.renderInput,label:"Alamat",type:"textarea"}),r.a.createElement("div",{className:"form-group",onClick:function(){return e.modalKecamatanOpen()}},r.a.createElement("label",{htmlFor:"Nm_Kecamatan"},"Kecamatan"),r.a.createElement("input",{id:"Nm_Kecamatan",type:"text",name:"Nm_Kecamatan",value:""===e.state.Nm_Kecamatan?"":e.state.Nm_Kecamatan,disabled:!0,className:"form-control"}),""==e.state.Nm_Kecamatan&&e.state.submit?r.a.createElement("small",{className:"text-danger"},"Kecamatan Harus dipilih"):""),r.a.createElement("div",{className:"form-group",onClick:function(){return e.modalDesaOpen()}},r.a.createElement("label",{htmlFor:"Nm_Desa"},"Desa"),r.a.createElement("input",{id:"Nm_Desa",type:"text",name:"Nm_Desa",value:""===e.state.Nm_Desa?"":e.state.Nm_Desa,disabled:!0,className:"form-control"})),r.a.createElement("hr",null),r.a.createElement("div",{className:"row"},r.a.createElement("div",{className:"col-6"},r.a.createElement("button",{className:"btn btn-primary",style:{width:"100%"}}," ","OK")),r.a.createElement("div",{className:"col-6"},r.a.createElement(u.b,{to:"/admin/fasilitas",className:"btn btn-secondary",style:{width:"100%"}}," ","Batal")))))))))))))},e}return Object(o.a)(t,[{key:"componentDidMount",value:function(){this.props.getKecamatan()}},{key:"renderError",value:function(e){var a=e.error;if(e.touched&&a)return r.a.createElement("small",{className:"text-danger"},a)}},{key:"render",value:function(){return this.state.onSubmit?r.a.createElement(d.a,{to:"/admin/fasilitas"}):r.a.createElement(r.a.Fragment,null,r.a.createElement("div",null,this.contentRender()),r.a.createElement(ea,{modalKecamatan:this.state.modalKecamatan,modalKecamatanClose:this.modalKecamatanClose,selected:""===this.state.Nm_Kecamatan?"":this.state.Nm_Kecamatan,onChange:this.onChangeKecamatan}),r.a.createElement(aa,{modalDesa:this.state.modalDesa,modalDesaClose:this.modalDesaClose,selected:""===this.state.Nm_Desa?"":this.state.Nm_Desa,onChange:this.onChangeDesa,labelDefault:"--"}))}}]),t}(n.Component),ka=Object(f.a)({form:"tambahFasilitas",enableReinitialize:!0,validate:function(e){var a={};return e.Nm_Fasilitas||(a.Nm_Fasilitas="Nama Fasilitas Harus diisi"),e.alamat||(a.alamat="Alamat Harus diisi"),e.PmKecamatanID||(a.PmKecamatanID="Kecamatan Harus diisi"),a}})(wa),Aa=Object(p.b)((function(e){return{listKecamatan:e.listKecamatan,listDesa:e.listDesa}}),{tambahFasilitas:function(e,a){return function(){var t=Object(v.a)(g.a.mark((function t(n){var r,l;return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r="Bearer "+localStorage.token,l=Object(b.a)({},e),""!==e.PmDesaID&&"--"!==e.PmDesaID||(l=Object(b.a)({},e,{PmDesaID:null,Nm_Desa:null})),!r){t.next=6;break}return t.next=6,k.post("/dmaster/fasilitaskarantina/store",Object(b.a)({},l),{headers:{Authorization:r}}).then((function(e){}),(function(e){console.log(e)}));case 6:a&&a();case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},getKecamatan:I,getDesa:B})(ka),Da=function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(){var e;Object(c.a)(this,t);for(var n=arguments.length,l=new Array(n),s=0;s<n;s++)l[s]=arguments[s];return(e=a.call.apply(a,[this].concat(l))).state={onSubmit:!1,submit:!1,Nm_Kecamatan:"",PmKecamatanID:"",PmDesaID:"",Nm_Desa:"",modalKecamatan:!1},e.styles={bg:{background:"url(".concat(sa.a,")"),backgroundSize:"cover"}},e.modalKecamatanClose=function(){return e.setState({modalKecamatan:!1})},e.modalDesaClose=function(){return e.setState({modalDesa:!1})},e.modalKecamatanOpen=function(){e.setState({modalKecamatan:!0})},e.modalDesaOpen=function(){e.setState({modalDesa:!0})},e.componentDidMount=Object(v.a)(g.a.mark((function a(){return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,e.props.getFasilitas();case 2:return a.next=4,e.props.getKecamatan();case 4:e.setState({Nm_Kecamatan:e.props.initialValues.Nm_Kecamatan,Nm_Desa:e.props.initialValues.Nm_Desa,PmKecamatanID:e.props.initialValues.PmKecamatanID,PmDesaID:e.props.initialValues.PmDesaID}),e.props.getDesa(e.state.PmKecamatanID);case 6:case"end":return a.stop()}}),a)}))),e.onChangeKecamatan=function(){var a=Object(v.a)(g.a.mark((function a(t,n){return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:e.setState({Nm_Kecamatan:n,PmKecamatanID:t}),e.props.getDesa(t),e.setState({Nm_Desa:"--",PmDesaID:"--"});case 3:case"end":return a.stop()}}),a)})));return function(e,t){return a.apply(this,arguments)}}(),e.onChangeDesa=function(){var a=Object(v.a)(g.a.mark((function a(t,n){return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:e.setState({Nm_Desa:n,PmDesaID:t});case 1:case"end":return a.stop()}}),a)})));return function(e,t){return a.apply(this,arguments)}}(),e.renderInput=function(a){var t=a.input,n=a.label,l=a.type,s=a.meta;a.dataToggle,a.dataTarget;return"Desa"===n?r.a.createElement("div",{className:"form-group"},r.a.createElement("label",{htmlFor:n},n),r.a.createElement("select",Object.assign({className:"form-control ",id:n},t,{type:l,onClick:e.onChangeDesa}),r.a.createElement("option",null,"--- Pilih Desa ---"),e.renderListDesa()),e.renderError(s)):"Alamat"===n?r.a.createElement("div",{className:"form-group"},r.a.createElement("label",{htmlFor:n},n),r.a.createElement("textarea",Object.assign({className:"form-control  ",id:n},t,{placeholder:n})," "),e.renderError(s)):r.a.createElement("div",{className:"form-group"},r.a.createElement("label",{htmlFor:n},n),r.a.createElement("input",Object.assign({className:"form-control  ",id:n},t,{type:l,autoComplete:"off",placeholder:n})),e.renderError(s))},e.onSubmit=function(){var a=Object(v.a)(g.a.mark((function a(t){var n;return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(e.setState({submit:!0}),""!==e.state.Nm_Kecamatan){a.next=3;break}return a.abrupt("return");case 3:return n=Object(b.a)({},t,{},e.state),a.next=6,e.props.ubahFasilitas(e.props.id,n,(function(){e.setState({onSubmit:!0})}));case 6:case"end":return a.stop()}}),a)})));return function(e){return a.apply(this,arguments)}}(),e.contentRender=function(){return r.a.createElement("div",{className:"card shadow mb-4"},r.a.createElement("div",{className:"card-header py-3"},r.a.createElement("h6",{className:"m-0 font-weight-bold text-primary"},"Ubah Fasilitas Karantina")),r.a.createElement("div",{className:"card-body"},r.a.createElement("div",{className:"container"},r.a.createElement("div",{className:"card o-hidden border-0 shadow-lg my-5"},r.a.createElement("div",{className:"card-body p-0"},r.a.createElement("div",{className:"row justify-content-center"},r.a.createElement("div",{className:"col-lg-7"},r.a.createElement("div",{className:"p-5"},r.a.createElement("div",{className:"text-center"},r.a.createElement("h1",{className:"h4 text-gray-900 mb-4"},"Data Fasilitas Karantina")),r.a.createElement("div",null,r.a.createElement("form",{onSubmit:e.props.handleSubmit(e.onSubmit),className:"user"},r.a.createElement(h.a,{name:"Nm_Fasilitas",component:e.renderInput,label:"Nama",type:"text"}),r.a.createElement(h.a,{name:"alamat",component:e.renderInput,label:"Alamat",type:"text"}),r.a.createElement("div",{className:"form-group",onClick:function(){return e.modalKecamatanOpen()}},r.a.createElement("label",{htmlFor:"Nm_Kecamatan"},"Kecamatan"),r.a.createElement("input",{id:"Nm_Kecamatan",type:"text",name:"Nm_Kecamatan",value:""===e.state.Nm_Kecamatan?e.props.initialValues.Nm_Kecamatan:e.state.Nm_Kecamatan,disabled:!0,className:"form-control"}),""==e.state.Nm_Kecamatan&&e.state.submit?r.a.createElement("small",{className:"text-danger"},"Kecamatan Harus dipilih"):""),r.a.createElement("div",{className:"form-group",onClick:function(){return e.modalDesaOpen()}},r.a.createElement("label",{htmlFor:"Nm_Desa"},"Desa"),r.a.createElement("input",{id:"Nm_Desa",type:"text",name:"Nm_Desa",value:""===e.state.Nm_Desa?"":e.state.Nm_Desa,disabled:!0,className:"form-control"})),r.a.createElement("hr",null),r.a.createElement("div",{className:"row"},r.a.createElement("div",{className:"col-6"},r.a.createElement("button",{className:"btn btn-primary",style:{width:"100%"},onClick:function(){return e.onSubmit}}," ","Ubah")),r.a.createElement("div",{className:"col-6"},r.a.createElement(u.b,{to:"/admin/fasilitas",className:"btn btn-secondary",style:{width:"100%"}}," ","Batal")))))))))))))},e}return Object(o.a)(t,[{key:"renderError",value:function(e){var a=e.error;if(e.touched&&a)return r.a.createElement("small",{className:"text-danger"},a)}},{key:"render",value:function(){return this.state.onSubmit?r.a.createElement(d.a,{to:"/admin/fasilitas"}):this.props.initialValues?r.a.createElement(r.a.Fragment,null,r.a.createElement("div",null,this.contentRender()),r.a.createElement(ea,{modalKecamatan:this.state.modalKecamatan,modalKecamatanClose:this.modalKecamatanClose,selected:""===this.state.Nm_Kecamatan?this.props.initialValues.Nm_Kecamatan:this.state.Nm_Kecamatan,onChange:this.onChangeKecamatan}),r.a.createElement(aa,{modalDesa:this.state.modalDesa,modalDesaClose:this.modalDesaClose,selected:""===this.state.Nm_Desa?this.props.initialValues.Nm_Desa:this.state.Nm_Desa,onChange:this.onChangeDesa,labelDefault:"--"})):null}}]),t}(n.Component),Oa=Object(f.a)({form:"UbahFasilitas",enableReinitialize:!0,validate:function(e){var a={};return e.Nm_Fasilitas||(a.Nm_Fasilitas="Nama Fasilitas Harus diisi"),e.alamat||(a.alamat="Alamat Harus diisi"),""===e.Nm_Kecamatan&&(a.Nm_Kecamatan="Kecamatan Harus dipilih"),a}})(Da),xa=Object(p.b)((function(e,a){return{initialValues:e.listFasilitas.find((function(e){return e.FasilitasKarantinaID===a.id})),listKecamatan:e.listKecamatan,listDesa:e.listDesa}}),{getFasilitas:va,ubahFasilitas:function(e,a,t){return function(){var n=Object(v.a)(g.a.mark((function n(r){var l,s;return g.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(l="Bearer "+localStorage.token,s=Object(b.a)({},a),""!==a.PmDesaID&&"--"!==a.PmDesaID||(s=Object(b.a)({},a,{PmDesaID:null,Nm_Desa:null})),!l){n.next=6;break}return n.next=6,k.post("/dmaster/fasilitaskarantina/".concat(e),Object(b.a)({_method:"PUT"},s),{headers:{Authorization:l}}).then((function(e){}),(function(e){console.log(e)}));case 6:t&&t();case 7:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()},getKecamatan:I,getDesa:B})(Oa),ja=function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(){var e;Object(c.a)(this,t);for(var n=arguments.length,l=new Array(n),s=0;s<n;s++)l[s]=arguments[s];return(e=a.call.apply(a,[this].concat(l))).componentDidMount=Object(v.a)(g.a.mark((function a(){return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,e.props.getPetugas();case 2:case"end":return a.stop()}}),a)}))),e.contentRender=function(){if(!e.props.petugas)return null;var a=e.props.petugas;return r.a.createElement("div",{className:"card shadow mb-4"},r.a.createElement("div",{className:"card-header py-3"},r.a.createElement("h6",{className:"m-0 font-weight-bold text-primary"},"Detail Petugas")),r.a.createElement("div",{className:"card-body"},r.a.createElement("div",{className:"container"},r.a.createElement("div",{className:"card o-hidden border-0 shadow-lg my-5"},r.a.createElement("div",{className:"card-body p-0"},r.a.createElement("div",{className:"row justify-content-center"},r.a.createElement("div",{className:"col-lg-7"},r.a.createElement("div",{className:"p-5"},r.a.createElement("div",{className:"text-center"},r.a.createElement("h1",{className:"h4 text-gray-900 mb-4"},"Data Detail Petugas"," ")),r.a.createElement("div",{className:"table-responsive"},r.a.createElement("table",{className:"table table-bordered",id:"dataTable",width:"100%",cellSpacing:"0"},r.a.createElement("tbody",null,r.a.createElement("tr",null,r.a.createElement("td",null,"Nama"),r.a.createElement("td",null," ",a.name)),r.a.createElement("tr",null,r.a.createElement("td",null,"Username "),r.a.createElement("td",null,a.username)),r.a.createElement("tr",null,r.a.createElement("td",null,"Nomor HP"),r.a.createElement("td",null,a.nomor_hp)),r.a.createElement("tr",null,r.a.createElement("td",null,"Alamat"),r.a.createElement("td",null,a.alamat)),r.a.createElement("tr",null,r.a.createElement("td",null,"Kecamatan"),r.a.createElement("td",null,a.Nm_Kecamatan)),r.a.createElement("tr",null,r.a.createElement("td",null,"Desa"),r.a.createElement("td",null,a.Nm_Desa))))),r.a.createElement("hr",null),r.a.createElement("div",{className:"row"},r.a.createElement("div",{className:"col-6"},r.a.createElement(u.b,{to:"/admin/petugas",className:"btn btn-secondary",style:{width:"100%"}}," ","Kembali")),r.a.createElement("div",{class:"col-6"},r.a.createElement(u.b,{className:"btn btn-warning mr-2",to:"/admin/ubahpetugas/".concat(a.id),style:{width:"100%",color:"black"}},r.a.createElement("i",{className:"fas fa-edit"})," Ubah")))))))))))},e}return Object(o.a)(t,[{key:"render",value:function(){return r.a.createElement("div",null,this.contentRender())}}]),t}(n.Component),Ka=Object(p.b)((function(e,a){return{petugas:e.listPetugas.find((function(e){return parseInt(e.id)===parseInt(a.id)}))}}),{getPetugas:Te})(ja),Sa=function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(){var e;Object(c.a)(this,t);for(var n=arguments.length,l=new Array(n),s=0;s<n;s++)l[s]=arguments[s];return(e=a.call.apply(a,[this].concat(l))).componentDidMount=Object(v.a)(g.a.mark((function a(){return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,e.props.getGugusTugas();case 2:case"end":return a.stop()}}),a)}))),e.contentRender=function(){if(!e.props.gugusTugas)return null;var a=e.props.gugusTugas;return r.a.createElement("div",{className:"card shadow mb-4"},r.a.createElement("div",{className:"card-header py-3"},r.a.createElement("h6",{className:"m-0 font-weight-bold text-primary"},"Detail Gugus Tugas")),r.a.createElement("div",{className:"card-body"},r.a.createElement("div",{className:"container"},r.a.createElement("div",{className:"card o-hidden border-0 shadow-lg my-5"},r.a.createElement("div",{className:"card-body p-0"},r.a.createElement("div",{className:"row justify-content-center"},r.a.createElement("div",{className:"col-lg-7"},r.a.createElement("div",{className:"p-5"},r.a.createElement("div",{className:"text-center"},r.a.createElement("h1",{className:"h4 text-gray-900 mb-4"},"Data Detail GugusTugas"," ")),r.a.createElement("div",{className:"table-responsive"},r.a.createElement("table",{className:"table table-bordered",id:"dataTable",width:"100%",cellSpacing:"0"},r.a.createElement("tbody",null,r.a.createElement("tr",null,r.a.createElement("td",null,"Nama"),r.a.createElement("td",null," ",a.name)),r.a.createElement("tr",null,r.a.createElement("td",null,"Username "),r.a.createElement("td",null,a.username)),r.a.createElement("tr",null,r.a.createElement("td",null,"Nomor HP"),r.a.createElement("td",null,a.nomor_hp)),r.a.createElement("tr",null,r.a.createElement("td",null,"Alamat"),r.a.createElement("td",null,a.alamat))))),r.a.createElement("hr",null),r.a.createElement("div",{className:"row"},r.a.createElement("div",{className:"col-6"},r.a.createElement(u.b,{to:"/admin/gugustugas",className:"btn btn-secondary",style:{width:"100%"}}," ","Kembali")),r.a.createElement("div",{class:"col-6"},r.a.createElement(u.b,{className:"btn btn-warning mr-2",to:"/admin/ubahgugustugas/".concat(a.id),style:{width:"100%",color:"black"}},r.a.createElement("i",{className:"fas fa-edit"})," Ubah")))))))))))},e}return Object(o.a)(t,[{key:"render",value:function(){return r.a.createElement("div",null,this.contentRender())}}]),t}(n.Component),Ca=Object(p.b)((function(e,a){return{gugusTugas:e.listGugusTugas.find((function(e){return parseInt(e.id)===parseInt(a.id)}))}}),{getGugusTugas:Ce})(Sa),Pa=function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(){var e;Object(c.a)(this,t);for(var n=arguments.length,l=new Array(n),s=0;s<n;s++)l[s]=arguments[s];return(e=a.call.apply(a,[this].concat(l))).state={prosesLoad:0},e.componentDidMount=Object(v.a)(g.a.mark((function a(){return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:e.setState({prosesLoad:1});case 1:case"end":return a.stop()}}),a)}))),e.renderContent=function(){return e.props.laporan?0===e.props.laporan.length?r.a.createElement("div",{className:"card shadow mb-4"},r.a.createElement("div",{className:"card-header py-3"},r.a.createElement("h6",{className:"m-0 font-weight-bold text-primary"},"Laporan")),r.a.createElement("div",{className:"card-body"},r.a.createElement("div",{className:"alert alert-info"},"Tidak ada data Laporan."))):r.a.createElement("div",null,r.a.createElement("div",{className:"card shadow mb-4"},r.a.createElement("div",{className:"card-header py-3"},r.a.createElement("h6",{className:"m-0 font-weight-bold text-primary"},"Laporan")),r.a.createElement("div",{className:"card-body"},r.a.createElement("div",{className:"table-responsive"},r.a.createElement("table",{className:"table table-bordered",id:"dataTable",width:"100%",cellSpacing:"0"},r.a.createElement("thead",null,r.a.createElement("tr",null,r.a.createElement("th",null,"No"),r.a.createElement("th",null,"Jenis Laporan"),r.a.createElement("th",null,"File Download"))),r.a.createElement("tbody",null,e.renderLaporan())))))):r.a.createElement("tr",null,r.a.createElement("td",{colspan:"6"},r.a.createElement("div",{className:"spinner-border text-light text-center",style:{width:"3rem",height:"3rem"},role:"status"},r.a.createElement("span",{className:"sr-only"},"Loading..."))))},e}return Object(o.a)(t,[{key:"renderLaporan",value:function(){return this.props.laporan.map((function(e){return r.a.createElement("tr",{key:e.id},r.a.createElement("td",null," "),r.a.createElement("td",null," "),r.a.createElement("td",null))}))}},{key:"render",value:function(){return 0===this.state.prosesLoad?r.a.createElement("div",{className:"spinner-border text-light text-center",style:{width:"3rem",height:"3rem"},role:"status"},r.a.createElement("span",{className:"sr-only"},"Loading...")):r.a.createElement(r.a.Fragment,null,this.renderContent())}}]),t}(n.Component),Ia=Object(p.b)((function(e){return{laporan:e.laporan}}))(Pa),Ba=function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(){var e;Object(c.a)(this,t);for(var n=arguments.length,l=new Array(n),s=0;s<n;s++)l[s]=arguments[s];return(e=a.call.apply(a,[this].concat(l))).state={prosesLoad:0},e.componentDidMount=Object(v.a)(g.a.mark((function a(){return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,e.props.getKecamatan();case 2:e.setState({prosesLoad:1});case 3:case"end":return a.stop()}}),a)}))),e.renderContent=function(){return e.props.listKecamatan?0===e.props.listKecamatan.length?r.a.createElement("div",{className:"card shadow mb-4"},r.a.createElement("div",{className:"card-header py-3"},r.a.createElement("h6",{className:"m-0 font-weight-bold text-primary"},"Daftar Kecamatan")),r.a.createElement("div",{className:"card-body"},r.a.createElement("div",{className:"alert alert-info"},"Tidak ada data kecamatan."))):r.a.createElement("div",null,r.a.createElement("div",{className:"card shadow mb-4"},r.a.createElement("div",{className:"card-header py-3"},r.a.createElement("h6",{className:"m-0 font-weight-bold text-primary"},"Daftar Kecamatan")),r.a.createElement("div",{className:"card-body"},r.a.createElement("div",{className:"table-responsive"},r.a.createElement("table",{className:"table table-bordered",id:"dataTable",cellSpacing:"0"},r.a.createElement("thead",null,r.a.createElement("tr",{className:"text-light bg-primary"},r.a.createElement("th",{className:"text-center"},"No"),r.a.createElement("th",{className:"text-center"},"Kecamatan"),r.a.createElement("th",{className:"text-center"},"Latitude 1"),r.a.createElement("th",{className:"text-center"},"Longitude 1"),r.a.createElement("th",{className:"text-center"},"Latitude 2"),r.a.createElement("th",{className:"text-center"},"Longitude 2"),r.a.createElement("th",{className:"text-center"}))),r.a.createElement("tbody",null,e.renderKecamatan())))))):r.a.createElement("tr",null,r.a.createElement("td",{colspan:"6"},r.a.createElement("div",{className:"spinner-border text-light text-center",style:{width:"3rem",height:"3rem"},role:"status"},r.a.createElement("span",{className:"sr-only"},"Loading..."))))},e}return Object(o.a)(t,[{key:"renderKecamatan",value:function(){return this.props.listKecamatan.kecamatan.map((function(e,a){return r.a.createElement("tr",{key:e.PmKecamatanID},r.a.createElement("td",{className:"text-center",width:"40"},a+1),r.a.createElement("td",null,e.Nm_Kecamatan),r.a.createElement("td",{className:"text-center"},e.lat),r.a.createElement("td",{className:"text-center"},e.lng),r.a.createElement("td",{className:"text-center"},e.lat2),r.a.createElement("td",{className:"text-center"},e.lng2),r.a.createElement("td",{className:"text-center",width:"70"},r.a.createElement(u.b,{to:"/admin/ubahkecamatan/".concat(e.PmKecamatanID),className:"btn btn-warning mr-2"},r.a.createElement("i",{className:"fas fa-edit"}))))}))}},{key:"render",value:function(){return 0===this.state.prosesLoad?r.a.createElement("div",{className:"spinner-border text-light text-center",style:{width:"3rem",height:"3rem"},role:"status"},r.a.createElement("span",{className:"sr-only"},"Loading...")):r.a.createElement(r.a.Fragment,null,this.renderContent())}}]),t}(n.Component),Ta=Object(p.b)((function(e){return{listKecamatan:e.listKecamatan}}),{getKecamatan:I})(Ba),Ua=function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(){var e;Object(c.a)(this,t);for(var n=arguments.length,l=new Array(n),s=0;s<n;s++)l[s]=arguments[s];return(e=a.call.apply(a,[this].concat(l))).state={onSubmit:!1},e.componentDidMount=function(){e.props.getKecamatan()},e.renderInput=function(a){var t=a.input,n=a.label,l=a.type,s=a.meta;return r.a.createElement("div",{className:"form-group"},r.a.createElement("input",Object.assign({className:"form-control ",id:n},t,{type:l,autoComplete:"off",placeholder:n})),e.renderError(s))},e.onSubmit=function(){var a=Object(v.a)(g.a.mark((function a(t){return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,e.props.ubahKecamatan(e.props.id,t);case 2:e.setState({onSubmit:!0});case 3:case"end":return a.stop()}}),a)})));return function(e){return a.apply(this,arguments)}}(),e.contentRender=function(a){return r.a.createElement("div",{className:"card shadow mb-4 col-md-8"},r.a.createElement("div",{className:"card-header py-3"},r.a.createElement("h4",{className:"m-0 font-weight-bold text-primary"},a.Nm_Kecamatan)),r.a.createElement("div",{className:"card-body"},r.a.createElement("form",{onSubmit:e.props.handleSubmit(e.onSubmit),className:"user"},r.a.createElement("table",{className:"table table-bordered"},r.a.createElement("thead",null,r.a.createElement("tr",null,r.a.createElement("th",null),r.a.createElement("th",null,"LATITUDE"),r.a.createElement("th",null,"LONGITUDE"))),r.a.createElement("tbody",null,r.a.createElement("tr",null,r.a.createElement("td",null,"PIN 1"),r.a.createElement("td",null,r.a.createElement(h.a,{name:"lat",component:e.renderInput,label:"LATITUDE 1",type:"text"})),r.a.createElement("td",null,r.a.createElement(h.a,{name:"lng",component:e.renderInput,label:"LONGITUDE 1",type:"text"}))),r.a.createElement("tr",null,r.a.createElement("td",null,"PIN 2"),r.a.createElement("td",null,r.a.createElement(h.a,{name:"lat2",component:e.renderInput,label:"LATITUDE 2",type:"text"})),r.a.createElement("td",null,r.a.createElement(h.a,{name:"lng2",component:e.renderInput,label:"LONGITUDE 2",type:"text"}))),r.a.createElement("tr",null,r.a.createElement("td",{colspan:"3"})))),r.a.createElement("hr",null),r.a.createElement("div",{className:"row"},r.a.createElement("div",{className:"col-6"},r.a.createElement("button",{type:"submit",className:"btn btn-primary",style:{width:"100%"}},"OK")),r.a.createElement("div",{className:"col-6"},r.a.createElement(u.b,{to:"/admin/kecamatan",className:"btn btn-secondary",style:{width:"100%"}},"Batal"))))))},e}return Object(o.a)(t,[{key:"renderError",value:function(e){var a=e.error;if(e.touched&&a)return r.a.createElement("small",{className:"text-danger"},a)}},{key:"render",value:function(){if(this.state.onSubmit)return r.a.createElement(d.a,{to:"/admin/kecamatan"});var e=this.props,a=e.id,t=e.listKecamatan,n=e.initialValues;if(console.log(n),!t.kecamatan)return r.a.createElement("div",{className:"spinner-border text-light text-center",style:{width:"3rem",height:"3rem"},role:"status"},r.a.createElement("span",{className:"sr-only"},"Loading..."));var l=t.kecamatan.filter((function(e){return e.PmKecamatanID===a}));return r.a.createElement(r.a.Fragment,null,this.contentRender(l[0]))}}]),t}(n.Component),La=Object(f.a)({form:"formUbahKecamatan",enableReinitialize:!0,validate:function(e){var a={};return e.lat||(a.lat="Tatitude 1 Harus diisi"),e.lat2||(a.lat2="Tatitude 2 Harus diisi"),e.lng||(a.lng="Longitude 1 Harus diisi"),e.lng2||(a.lng2="Longitude 2 Harus diisi"),a}})(Ua),Fa=Object(p.b)((function(e,a){return{listKecamatan:e.listKecamatan,initialValues:e.listKecamatan.kecamatan?e.listKecamatan.kecamatan.find((function(e){if(e.PmKecamatanID===a.id)return e})):"null"}}),{getKecamatan:I,ubahKecamatan:function(e,a){return function(){var t=Object(v.a)(g.a.mark((function t(n){var r;return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(r="Bearer "+localStorage.token)){t.next=4;break}return t.next=4,k.post("/dmaster/kecamatan/".concat(e),Object(b.a)({_method:"PUT"},a),{headers:{Authorization:r}}).then((function(e){}),(function(e){console.log(e)}));case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()}})(La),Ha=t(71),Ga=function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(){var e;Object(c.a)(this,t);for(var n=arguments.length,r=new Array(n),l=0;l<n;l++)r[l]=arguments[l];return(e=a.call.apply(a,[this].concat(r))).state={password:"",passwordKonfirm:"",passwordError:"",complete:!1},e.componentDidMount=function(){e.setState({username:e.props.user?e.props.user.username:""})},e.onchangeText=function(a){e.setState(Object(Ha.a)({},a.target.name,a.target.value))},e.onSubmit=Object(v.a)(g.a.mark((function a(){var t;return g.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(console.log(e.state),e.state.password===e.state.passwordKonfirm){a.next=5;break}e.setState({passwordError:"Password tidak sama."}),a.next=11;break;case 5:return e.setState({passwordError:""}),t=Object(b.a)({},e.props.user,{password:e.state.password}),a.next=9,e.props.ubahPassword(e.props.user.id,t);case 9:e.setState({complete:!0}),console.log(e.state);case 11:case"end":return a.stop()}}),a)}))),e}return Object(o.a)(t,[{key:"render",value:function(){return this.props.user?this.state.complete?r.a.createElement("div",{className:"alert alert-success"},"Berhasil Ubah Password"):r.a.createElement("div",{className:"col-lg-7"},r.a.createElement("div",{className:"card shadow mb-4"},r.a.createElement("div",{className:"card-header py-3 "},r.a.createElement("h6",{className:"m-0 font-weight-bold text-primary"},"Ubah Password ",this.props.user.username)),r.a.createElement("div",{className:"card-body"},r.a.createElement("div",{className:"table-responsive"},r.a.createElement("table",{className:"table table-bordered",id:"dataTable",width:"100%",cellSpacing:"0"},r.a.createElement("tbody",null,r.a.createElement("tr",null,r.a.createElement("th",null,r.a.createElement("label",{htmlFor:"passwordbaru"},"Password Baru")),r.a.createElement("td",null,r.a.createElement("div",{className:"form-group"},r.a.createElement("input",{className:"form-control",type:"password",name:"password",id:"password",onChange:this.onchangeText,value:this.state.passwordbaru})))),r.a.createElement("tr",null,r.a.createElement("th",null,r.a.createElement("label",{htmlFor:"passwordKonfirm"},"Ulang Ketik Password Baru")),r.a.createElement("td",null,r.a.createElement("div",{className:"form-group"},r.a.createElement("input",{className:"form-control",type:"password",name:"passwordKonfirm",id:"passwordKonfirm",onChange:this.onchangeText,value:this.state.passwordKonfirm}),""===this.state.passwordError?null:r.a.createElement("div",{className:"text-danger"},this.state.passwordError)))))),r.a.createElement("button",{className:"btn btn-primary mr-2",onClick:this.onSubmit},"Ubah"),r.a.createElement(u.b,{to:"/admin/dasboard",className:"btn btn-secondary"},"Batal"))))):null}}]),t}(n.Component),Ra=Object(p.b)((function(e){return{}}),{ubahPassword:function(e,a){return function(){var t=Object(v.a)(g.a.mark((function t(n){var r;return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r="Bearer "+localStorage.token,null,!r){t.next=5;break}return t.next=5,k.post("/setting/userspetugas/".concat(e),Object(b.a)({},a,{_method:"PUT"}),{headers:{Authorization:r}}).then((function(e){e.data})).catch((function(e){}));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()}})(Ga),Ma=Object(p.b)((function(e){return{user:e.user}}))((function(e){var a=e.user;return a?r.a.createElement(r.a.Fragment,null,r.a.createElement("div",{className:"card shadow mb-4"},r.a.createElement("div",{className:"card-header py-3 "},r.a.createElement("h6",{className:"m-0 font-weight-bold text-primary"},"Profil Saya")),r.a.createElement("div",{className:"card-body"},r.a.createElement("div",{className:"table-responsive"},r.a.createElement("table",{className:"table table-bordered",id:"dataTable",width:"100%",cellSpacing:"0"},r.a.createElement("tbody",null,r.a.createElement("tr",null,r.a.createElement("th",null,"Nama"),r.a.createElement("td",null,a.name)),r.a.createElement("tr",null,r.a.createElement("th",null,"Username"),r.a.createElement("td",null,a.username)),r.a.createElement("tr",null,r.a.createElement("th",null,"Nomor Hp"),r.a.createElement("td",null,a.nomor_hp)),r.a.createElement("tr",null,r.a.createElement("th",null,"Alamat"),r.a.createElement("td",null,a.alamat)),r.a.createElement("tr",null,r.a.createElement("th",{colSpan:"2"},"Lokasi Tugas : ")),r.a.createElement("tr",null,r.a.createElement("th",null,"Kecamatan"),r.a.createElement("td",null,a.Nm_Kecamatan)),r.a.createElement("tr",null,r.a.createElement("th",null,"Kelurahan"),r.a.createElement("td",null,a.Nm_Desa)))))))):null})),Qa=function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(){var e;Object(c.a)(this,t);for(var n=arguments.length,l=new Array(n),s=0;s<n;s++)l[s]=arguments[s];return(e=a.call.apply(a,[this].concat(l))).componentDidMount=function(){e.props.getUser()},e.pilihanMenu=function(){if(e.props.match.params.id)switch(e.props.match.params.menu){case"detailpasien":return r.a.createElement(Qe,{id:e.props.match.params.id});case"detailgugustugas":return r.a.createElement(Ca,{id:e.props.match.params.id});case"ubahpasien":return r.a.createElement(ra,{id:e.props.match.params.id});case"ubahgugustugas":return r.a.createElement(da,{id:e.props.match.params.id});case"ubahpetugas":return r.a.createElement(ga,{id:e.props.match.params.id});case"detailpetugas":return r.a.createElement(Ka,{id:e.props.match.params.id});case"ubahfasilitas":return r.a.createElement(xa,{id:e.props.match.params.id});case"ubahkecamatan":return r.a.createElement(Fa,{id:e.props.match.params.id})}else switch(e.props.match.params.menu){case"dasboard":return r.a.createElement(xe,null);case"gugustugas":return r.a.createElement(Be,null);case"petugas":return r.a.createElement(Le,null);case"pasien":return r.a.createElement(Re,null);case"tambahgugustugas":return r.a.createElement(ia,null);case"tambahpetugas":return r.a.createElement(fa,null);case"fasilitas":return r.a.createElement(ya,null);case"tambahfasilitas":return r.a.createElement(Aa,null);case"laporan":return r.a.createElement(Ia,null);case"kecamatan":return r.a.createElement(Ta,null);case"ubahpassword":return r.a.createElement(Ra,{user:e.props.user});case"profil":return r.a.createElement(Ma,null)}},e.renderContent=function(){if("Berhasil"!==e.props.statusLogin)return r.a.createElement(d.a,{to:"/"});var a="";return e.props.user&&(a=e.props.user.name),r.a.createElement("div",{id:"wrapper"},r.a.createElement(Ke,null),r.a.createElement("div",{id:"content-wrapper",className:"d-flex flex-column"},r.a.createElement("div",{id:"content"},r.a.createElement(Se,{namaAdmin:a}),r.a.createElement("div",{className:"container-fluid"},e.pilihanMenu())),r.a.createElement("footer",{className:"sticky-footer bg-white"},r.a.createElement("div",{className:"container my-auto"},r.a.createElement("div",{className:"copyright text-center my-auto"},r.a.createElement("span",null,"Copyright \xa9 Data Center Covid-19 Kabupaten Bintan"))))))},e}return Object(o.a)(t,[{key:"render",value:function(){return this.props.statusLogin?r.a.createElement("div",{id:"page-top"},this.renderContent()):r.a.createElement("div",null,"Loading..")}}]),t}(n.Component),Ja=Object(p.b)((function(e){return{user:e.user,statusLogin:e.statusLogin}}),{getUser:x})(Qa),za=function(e){Object(m.a)(t,e);var a=Object(i.a)(t);function t(){return Object(c.a)(this,t),a.apply(this,arguments)}return Object(o.a)(t,[{key:"render",value:function(){return r.a.createElement(u.a,null,r.a.createElement("div",{className:"App"},r.a.createElement(d.b,{path:"/",exact:!0,component:be}),r.a.createElement(d.b,{path:"/login",component:P}),r.a.createElement(d.b,{path:"/logout",component:Oe}),r.a.createElement(d.b,{path:"/adm/monitor",component:De}),r.a.createElement(d.b,{path:"/admin/:menu",exact:!0,component:Ja}),r.a.createElement(d.b,{path:"/admin/:menu/:id",component:Ja})))}}]),t}(n.Component);Boolean("localhost"===window.location.hostname||"[::1]"===window.location.hostname||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));var qa=t(18),Wa=t(144),Xa=t(290),Ya=Object(qa.c)({ListKoordinat:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=arguments.length>1?arguments[1]:void 0;return"GET_KOORDINAT"===a.type?a.data:e},ListKoordinatAdmin:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=arguments.length>1?arguments[1]:void 0;return"GET_KOORDINAT_ADMIN"===a.type?a.data:e},form:Xa.a,statusLogin:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Belum Login",a=arguments.length>1?arguments[1]:void 0;if("LOGIN"===a.type)return a.data?a.data:e;var t=localStorage.statusLogin;return t||e},user:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a=arguments.length>1?arguments[1]:void 0;return"GET_USER"===a.type?a.data:e},pasien:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=arguments.length>1?arguments[1]:void 0;return"GET_PASIEN"===a.type?a.data:e},detailPasien:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a=arguments.length>1?arguments[1]:void 0;return"GET_DETAIL_PASIEN"===a.type?a.data.user:e},riwayat:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a=arguments.length>1?arguments[1]:void 0;return"GET_RIWAYAT"===a.type?a.data.history:e},riwayatLokasi:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a=arguments.length>1?arguments[1]:void 0;return"GET_RIWAYAT_LOKASI"===a.type?a.data.lokasi:e},jumlah:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a=arguments.length>1?arguments[1]:void 0;return"HITUNG"===a.type?a.data:e},dataChart:function(){return{all:{positifAktif:2,positifSembuh:1,positifMeninggal:1,pdpAktif:3,pdpSembuh:4,pdpMeninggal:2,odpAktif:6,odpSembuh:4,odpMeninggal:3},jk:{lkpositifAktif:2,lkpositifSembuh:5,lkpositifMeninggal:1,lkpdpAktif:3,lkpdpSembuh:4,lkpdpMeninggal:2,lkodpAktif:6,lkodpSembuh:3,lkodpMeninggal:3,prpositifAktif:2,prpositifSembuh:4,prpositifMeninggal:1,prpdpAktif:5,prpdpSembuh:4,prpdpMeninggal:2,prodpAktif:6,prodpSembuh:6,prodpMeninggal:2},gd:{ApositifAktif:2,ApositifSembuh:5,ApositifMeninggal:1,ApdpAktif:6,ApdpSembuh:4,ApdpMeninggal:3,AodpAktif:6,AodpSembuh:3,AodpMeninggal:5,BpositifAktif:2,BpositifSembuh:5,BpositifMeninggal:1,BpdpAktif:3,BpdpSembuh:4,BpdpMeninggal:4,BodpAktif:6,BodpSembuh:7,BodpMeninggal:3,OpositifAktif:2,OpositifSembuh:1,OpositifMeninggal:1,OpdpAktif:3,OpdpSembuh:1,OpdpMeninggal:2,OodpAktif:6,OodpSembuh:3,OodpMeninggal:3,ABpositifAktif:2,ABpositifSembuh:1,ABpositifMeninggal:1,ABpdpAktif:3,ABpdpSembuh:4,ABpdpMeninggal:2,ABodpAktif:2,ABodpSembuh:6,ABodpMeninggal:1}}},listGugusTugas:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=arguments.length>1?arguments[1]:void 0;return"GET_GUGUS_TUGAS"===a.type&&a.data?a.data.usersgugustugas:e},listPetugas:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=arguments.length>1?arguments[1]:void 0;return"GET_PETUGAS"===a.type?a.data.userspetugas:e},listKecamatan:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=arguments.length>1?arguments[1]:void 0;return"GET_KECAMATAN"===a.type?a.data:e},listDesa:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=arguments.length>1?arguments[1]:void 0;return"GET_DESA"===a.type?a.data:e},listStatus:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=arguments.length>1?arguments[1]:void 0;return"GET_STATUS"===a.type?a.data:e},listTotalKasus:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=arguments.length>1?arguments[1]:void 0;return"GET_TOTAL_KASUS"===a.type?a.data:e},listFasilitas:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=arguments.length>1?arguments[1]:void 0;return"GET_FASILITAS"===a.type&&a.data?a.data.fasilitaskarantina:e},laporan:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=arguments.length>1?arguments[1]:void 0;return"GET_LAPORAN"===a.type?a.data:e}}),Va=("object"===typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({}):qa.d)(Object(qa.a)(Wa.a)),Za=Object(qa.e)(Ya,Va);s.a.render(r.a.createElement(r.a.StrictMode,null,r.a.createElement(p.a,{store:Za},r.a.createElement(za,null))),document.getElementById("root")),"serviceWorker"in navigator&&navigator.serviceWorker.ready.then((function(e){e.unregister()})).catch((function(e){console.error(e.message)}))},36:function(e,a){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ERqYUlj80w/Ebs9/IlgXY4C7d3VvMWQl9yW76/aOLp+v1zbDXdmSNTzfMvtDh11sSUebamln4vlSJ0JGTF0d3m2p+qjXW22ALp0O8jXVFEEUUUUUQRRRRRRBFFFFFEEUUUUUQRRRRRRBFFFFF8gfhfB+36Guo6lr8AAAAASUVORK5CYII="},45:function(e,a){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA0CAYAAADfRPtlAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAuGAAALhgBKqonIAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAAiSURBVGiB7cExAQAAAMKg9U9tCj+gAAAAAAAAAAAAAAB4GS20AAEb1HuTAAAAAElFTkSuQmCC"},54:function(e,a,t){e.exports=t.p+"static/media/no_photo.f48a1025.jpg"}},[[147,1,2]]]);