Backend for Custom Frontend OSPRO Surveyor Indonesia
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

2 lines
41 KiB

/*! For license information please see 66.6d18036b.chunk.js.LICENSE.txt */
(this["webpackJsonpsimpro-web"]=this["webpackJsonpsimpro-web"]||[]).push([[66],{2321:function(t,n,e){"use strict";e.r(n);var r=e(607),c=e(184),o=e(185),a=e(186),u=e(187),i=e(2),l=e.n(i),s=e(22),d=e(189),p=e(1454),f=e(656),h=e.n(f),m=e(630),y=e(938),g=(localStorage.getItem("u_group"),l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(3),e.e(2),e.e(14)]).then(e.bind(null,2330))}))),b=l.a.lazy((function(){return Promise.all([e.e(4),e.e(5),e.e(6),e.e(7),e.e(64)]).then(e.bind(null,2304))})),v=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(3),e.e(2),e.e(17)]).then(e.bind(null,2323))})),k=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(3),e.e(2),e.e(49)]).then(e.bind(null,2331))})),w=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(3),e.e(2),e.e(22)]).then(e.bind(null,2332))})),x=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(8),e.e(55)]).then(e.bind(null,2305))})),j=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(3),e.e(2),e.e(32)]).then(e.bind(null,2313))})),E=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(3),e.e(2),e.e(38)]).then(e.bind(null,2333))})),_=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(3),e.e(2),e.e(16)]).then(e.bind(null,2312))})),P=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(3),e.e(2),e.e(12)]).then(e.bind(null,2316))})),S=(l.a.lazy((function(){return e.e(70).then(e.t.bind(null,2306,7))})),l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(3),e.e(2),e.e(45)]).then(e.bind(null,2334))}))),z=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(3),e.e(2),e.e(41)]).then(e.bind(null,2335))})),L=l.a.lazy((function(){return Promise.all([e.e(4),e.e(53),e.e(68)]).then(e.bind(null,2307))})),D=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(3),e.e(2),e.e(36)]).then(e.bind(null,2336))})),I=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(3),e.e(2),e.e(43)]).then(e.bind(null,2337))})),O=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(3),e.e(2),e.e(51)]).then(e.bind(null,2308))})),R=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(3),e.e(2),e.e(37)]).then(e.bind(null,2324))})),C=l.a.lazy((function(){return Promise.all([e.e(5),e.e(6),e.e(60),e.e(67)]).then(e.bind(null,2309))})),M=l.a.lazy((function(){return e.e(62).then(e.bind(null,2310))})),N=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(3),e.e(2),e.e(35)]).then(e.bind(null,2338))})),A=l.a.lazy((function(){return Promise.all([e.e(4),e.e(5),e.e(6),e.e(7),e.e(65)]).then(e.bind(null,2161))})),G=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(3),e.e(2),e.e(30)]).then(e.bind(null,2339))})),T=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(3),e.e(2),e.e(19)]).then(e.bind(null,2340))})),q=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(3),e.e(2),e.e(15)]).then(e.bind(null,2314))})),K=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(3),e.e(2),e.e(42)]).then(e.bind(null,2317))})),U=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(3),e.e(2),e.e(23)]).then(e.bind(null,2341))})),V=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(3),e.e(2),e.e(34)]).then(e.bind(null,2342))})),F=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(3),e.e(2),e.e(33)]).then(e.bind(null,2343))})),B=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(3),e.e(2),e.e(27)]).then(e.bind(null,2318))})),J=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(3),e.e(2),e.e(26)]).then(e.bind(null,2319))})),W=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(3),e.e(2),e.e(18)]).then(e.bind(null,2320))})),H=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(3),e.e(2),e.e(46)]).then(e.bind(null,2344))})),Q=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(3),e.e(2),e.e(21)]).then(e.bind(null,2345))})),Y=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(3),e.e(2),e.e(20)]).then(e.bind(null,2325))})),X=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(3),e.e(2),e.e(24)]).then(e.bind(null,2326))})),Z=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(3),e.e(2),e.e(31)]).then(e.bind(null,2327))})),$=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(3),e.e(2),e.e(50)]).then(e.bind(null,2346))})),tt=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(3),e.e(2),e.e(25)]).then(e.bind(null,2347))})),nt=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(3),e.e(2),e.e(40)]).then(e.bind(null,2348))})),et=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(3),e.e(2),e.e(39)]).then(e.bind(null,2349))})),rt=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(3),e.e(2),e.e(44)]).then(e.bind(null,2328))})),ct=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(3),e.e(2),e.e(47)]).then(e.bind(null,2350))})),ot=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(3),e.e(2),e.e(28)]).then(e.bind(null,2315))})),at=[{path:"/",exact:!0,name:"Home"},{path:"/dashboardold",name:"Dashboard",component:P},{path:"/dashboard",name:"Dashboard",component:l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(3),e.e(4),e.e(29)]).then(e.bind(null,2311))}))},{path:"/projects",exact:!0,name:"Projects",component:_},{path:"/projects/:id/:project/gantt",exact:!0,name:"Gantt",component:L},{path:"/human-resource",exact:!0,name:"Human Resource",component:X},{path:"/material-resource",exact:!0,name:"Material Resource",component:Q},{path:"/tools-resource",exact:!0,name:"Tools Resource",component:Y},{path:"/control-monitoring",exact:!0,name:"Control Monitoring",component:j},{path:"/control-monitoring-gantt",exact:!0,name:"Control Monitoring Gantt",component:E},{path:"/presensi-resource",exact:!0,name:"Presensi Resource",component:V},{path:"/absensi-resource",exact:!0,name:"Absensi Resource",component:g},{path:"/laporan-k3",exact:!0,name:"Laporan K3",component:I},{path:"/broadcast",exact:!0,name:"Broadcast",component:v},{path:"/panic-button",exact:!0,name:"Tombol Darurat",component:K},{path:"/closing",exact:!0,name:"Closing",component:w},{path:"/menu",exact:!0,name:"Menu",component:G},{path:"/roles",exact:!0,name:"Roles",component:Z},{path:"/project-role",exact:!0,name:"Project Role",component:F},{path:"/project-type",exact:!0,name:"Project Type",component:B},{path:"/project-phase",exact:!0,name:"Project Phase",component:J},{path:"/divisi",exact:!0,name:"Divisi",component:S},{path:"/satuan",exact:!0,name:"Satuan",component:$},{path:"/config-alert",exact:!0,name:"Config Alert",component:x},{path:"/checklist-k3",exact:!0,name:"Checklist K3",component:k},{path:"/absensi",exact:!0,name:"Absensi",component:g},{path:"/divisi-karyawan",exact:!0,name:"Divisi Karyawan",component:z},{path:"/izin",exact:!0,name:"Izin",component:D},{path:"/laporan-alert",exact:!0,name:"Laporan Alert",component:O},{path:"/laporan-tugas-karyawan",exact:!0,name:"Laporan Tugas Karyawan",component:R},{path:"/lembur",exact:!0,name:"Lembur",component:N},{path:"/map/baselayers",exact:!0,name:"Base Layers",component:b},{path:"/map/config",exact:!0,name:"Config",component:A},{path:"/map/layers",exact:!0,name:"Layers",component:M},{path:"/map/layers/:id",exact:!0,name:"Layer Details",component:C},{path:"/office-hours",exact:!0,name:"Jam Kerja",component:T},{path:"/organization",exact:!0,name:"Organisasi",component:q},{path:"/planning-harian",exact:!0,name:"Planning Harian",component:U},{path:"/presensi",exact:!0,name:"Presensi",component:V},{path:"/proyek",exact:!0,name:"Created Project",component:W},{path:"/proyek-gantt",exact:!0,name:"Gantt Chart Proyek",component:et},{path:"/rate-cost",exact:!0,name:"Rate Cost",component:H},{path:"/schedule-shift",exact:!0,name:"Schedule Shift",component:tt},{path:"/user-admin",exact:!0,name:"User Admin",component:rt},{path:"/user-shift",exact:!0,name:"Shift",component:ct},{path:"/working-hour",exact:!0,name:"Working Hour",component:nt},{path:"/dashboard-project/:ID/:GANTTID",exact:!0,name:"Dashboard Project",component:ot}];e(923);function ut(){ut=function(){return t};var t={},n=Object.prototype,e=n.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},c=r.iterator||"@@iterator",o=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function u(t,n,e){return Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[n]}try{u({},"")}catch(P){u=function(t,n,e){return t[n]=e}}function i(t,n,e,r){var c=n&&n.prototype instanceof d?n:d,o=Object.create(c.prototype),a=new j(r||[]);return o._invoke=function(t,n,e){var r="suspendedStart";return function(c,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===c)throw o;return _()}for(e.method=c,e.arg=o;;){var a=e.delegate;if(a){var u=k(a,e);if(u){if(u===s)continue;return u}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if("suspendedStart"===r)throw r="completed",e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);r="executing";var i=l(t,n,e);if("normal"===i.type){if(r=e.done?"completed":"suspendedYield",i.arg===s)continue;return{value:i.arg,done:e.done}}"throw"===i.type&&(r="completed",e.method="throw",e.arg=i.arg)}}}(t,e,a),o}function l(t,n,e){try{return{type:"normal",arg:t.call(n,e)}}catch(P){return{type:"throw",arg:P}}}t.wrap=i;var s={};function d(){}function p(){}function f(){}var h={};u(h,c,(function(){return this}));var m=Object.getPrototypeOf,y=m&&m(m(E([])));y&&y!==n&&e.call(y,c)&&(h=y);var g=f.prototype=d.prototype=Object.create(h);function b(t){["next","throw","return"].forEach((function(n){u(t,n,(function(t){return this._invoke(n,t)}))}))}function v(t,n){var r;this._invoke=function(c,o){function a(){return new n((function(r,a){!function r(c,o,a,u){var i=l(t[c],t,o);if("throw"!==i.type){var s=i.arg,d=s.value;return d&&"object"==typeof d&&e.call(d,"__await")?n.resolve(d.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):n.resolve(d).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,u)}))}u(i.arg)}(c,o,r,a)}))}return r=r?r.then(a,a):a()}}function k(t,n){var e=t.iterator[n.method];if(void 0===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=void 0,k(t,n),"throw"===n.method))return s;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var r=l(e,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,s;var c=r.arg;return c?c.done?(n[t.resultName]=c.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,s):c:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,s)}function w(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function x(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(w,this),this.reset(!0)}function E(t){if(t){var n=t[c];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function n(){for(;++r<t.length;)if(e.call(t,r))return n.value=t[r],n.done=!1,n;return n.value=void 0,n.done=!0,n};return o.next=o}}return{next:_}}function _(){return{value:void 0,done:!0}}return p.prototype=f,u(g,"constructor",f),u(f,"constructor",p),p.displayName=u(f,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===p||"GeneratorFunction"===(n.displayName||n.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,u(t,a,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(v.prototype),u(v.prototype,o,(function(){return this})),t.AsyncIterator=v,t.async=function(n,e,r,c,o){void 0===o&&(o=Promise);var a=new v(i(n,e,r,c),o);return t.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,a,"Generator"),u(g,c,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var n=[];for(var e in t)n.push(e);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=E,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var n in this)"t"===n.charAt(0)&&e.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(e,r){return a.type="throw",a.arg=t,n.next=e,r&&(n.method="next",n.arg=void 0),!!r}for(var c=this.tryEntries.length-1;c>=0;--c){var o=this.tryEntries[c],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=e.call(o,"catchLoc"),i=e.call(o,"finallyLoc");if(u&&i){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!i)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,n){for(var r=this.tryEntries.length-1;r>=0;--r){var c=this.tryEntries[r];if(c.tryLoc<=this.prev&&e.call(c,"finallyLoc")&&this.prev<c.finallyLoc){var o=c;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=n&&n<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=n,o?(this.method="next",this.next=o.finallyLoc,s):this.complete(a)},complete:function(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),s},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),x(e),s}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.tryLoc===t){var r=e.completion;if("throw"===r.type){var c=r.arg;x(e)}return c}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,e){return this.delegate={iterator:E(t),resultName:n,nextLoc:e},"next"===this.method&&(this.arg=void 0),s}},t}var it=localStorage.getItem("countErr"),lt=window.localStorage.getItem("token"),st=l.a.lazy((function(){return e.e(59).then(e.bind(null,2301))})),dt=l.a.lazy((function(){return e.e(69).then(e.bind(null,2302))})),pt=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(5),e.e(8),e.e(54)]).then(e.bind(null,2303))})),ft=0,ht={headers:{Authorization:"Bearer ".concat(lt),"Content-type":"application/json"}},mt=function(t){Object(a.a)(e,t);var n=Object(u.a)(e);function e(t){var o;return Object(c.a)(this,e),(o=n.call(this,t)).setFinalRoutes=function(){var t=o.state.routes2;if(t){var n=t;o.state.routes2.map((function(t,e){var r=o.state.menu.items.findIndex((function(n){return n.url===t.path}));if(r>=0){var c=n[e];c.name=o.state.menu.items[r].name,n[e]=c}})),o.setState({finalRoutes:n},(function(){o.setState({breadrCrumbReady:!0})}))}},o.loading=function(){return l.a.createElement("div",{className:"animated fadeIn pt-1 text-center"},"Loading...")},o.getDataMenu=Object(r.a)(ut().mark((function t(){var n,e,r;return ut().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return ft++,n=Object(m.Lb)(o.state.role_id),t.next=4,h.a.get(n,ht).then((function(t){return t})).catch((function(t){return t.response}));case 4:if(!(e=t.sent)||!e.data||200!=e.data.code){t.next=11;break}window.localStorage.setItem("countErr",0),r=e.data.data,o.setMenu(r),t.next=23;break;case 11:if(!(ft<4)){t.next=15;break}o.getDataMenu(),t.next=23;break;case 15:if(!it){t.next=20;break}return t.next=18,window.localStorage.setItem("countErr",it+1);case 18:t.next=22;break;case 20:return t.next=22,window.localStorage.setItem("countErr",1);case 22:it&&parseInt(it)>2||window.location.reload();case 23:case"end":return t.stop()}}),t)}))),o.parseMenuChild=function(t){return t.map((function(t){var n={name:t.name,url:t.url,icon:t.icon};return t.children.length>0?n.children=o.parseMenuChild(t.children):delete n.children,n}))},o.setMenu=function(t){var n=t.map((function(t){var n={name:t.name,url:t.url,icon:t.icon};return t.children.length>0?n.children=o.parseMenuChild(t.children):delete n.children,n}));o.setState({menu:{items:n}},(function(){}))},o.checkLocation=function(){var t=o.props.location.pathname;o.getIndexMenu(t)<0&&o.props.history.push("/403")},o.getIndexMenu=function(t){return o.state.menu.items.findIndex((function(n){return n.url===t}))},o.getMenu=function(){if("kominfo"!=o.state.u_group)return l.a.createElement(y.j,Object.assign({navConfig:o.state.menu},o.props,{router:d}))},o.getAppBreadcrumb=function(){if("kominfo"==o.state.u_group)at.map((function(t,n){return"/dashboard-kominfo"==t.path?l.a.createElement(y.b,{appRoutes:at,router:d,className:"remove-gap-bs-breadcrumb"}):l.a.createElement(y.b,{appRoutes:at,router:d})}));else if(!window.location.href.includes("dashboard"))return l.a.createElement(y.b,{appRoutes:o.state.finalRoutes,router:d})},o.isKominfo=function(){return"kominfo"==localStorage.getItem("u_group")},o.state={role_id:localStorage.getItem("role_id"),token:localStorage.getItem("token"),menu:{items:[]},routes2:at,finalRoutes:[],breadrCrumbReady:!1},o}return Object(o.a)(e,[{key:"componentDidMount",value:function(){var t=Object(r.a)(ut().mark((function t(){var n;return ut().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(n=localStorage.getItem("menu_login"))&&this.setMenu(JSON.parse(n)),this.getAppBreadcrumb(),localStorage.getItem("token")||this.signOut();case 4:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"componentDidUpdate",value:function(t,n){var e=localStorage.getItem("menu_login");this.props.location.pathname;this.state.token!==n.token&&this.setMenu(JSON.parse(e)),this.state.role_id!==n.role_id&&this.setMenu(JSON.parse(e)),this.state.menu!==n.menu&&this.setFinalRoutes()}},{key:"signOut",value:function(){var t=Object(r.a)(ut().mark((function t(n){return ut().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n&&n.preventDefault(),t.next=3,localStorage.removeItem("role_id");case 3:return t.next=5,window.localStorage.clear();case 5:this.props.history.replace("/login");case 6:case"end":return t.stop()}}),t,this)})));return function(n){return t.apply(this,arguments)}}()},{key:"render",value:function(){var t=this;return l.a.createElement("div",{className:"app"},l.a.createElement(y.d,{fixed:!0},l.a.createElement(i.Suspense,{fallback:this.loading()},l.a.createElement(pt,{history:this.props.history,onLogout:function(n){return t.signOut(n)}}))),l.a.createElement("div",{className:"app-body"},l.a.createElement(y.e,{minimized:!0,fixed:!0,display:"lg"},l.a.createElement(y.h,null),l.a.createElement(y.g,null),l.a.createElement(i.Suspense,null,this.getMenu()),l.a.createElement(y.f,null),l.a.createElement(y.i,null)),l.a.createElement("main",{className:"main"},this.state.breadrCrumbReady?this.getAppBreadcrumb():null,l.a.createElement(p.a,{fluid:!0},l.a.createElement(i.Suspense,{fallback:this.loading()},l.a.createElement(s.g,null,at.map((function(t,n){return t.component?l.a.createElement(s.d,{key:n,path:t.path,exact:t.exact,name:t.name,render:function(n){return l.a.createElement(t.component,Object.assign({params:{name:t.name}},n))}}):null})),l.a.createElement(s.c,{from:"/",to:"/dashboard"}))))),l.a.createElement(y.a,{fixed:!0},l.a.createElement(i.Suspense,{fallback:this.loading()},l.a.createElement(st,null)))),this.isKominfo?null:l.a.createElement(y.c,null,l.a.createElement(i.Suspense,{fallback:this.loading()},l.a.createElement(dt,null))))}}]),e}(i.Component);n.default=mt},630:function(t,n,e){"use strict";e.d(n,"W",(function(){return a})),e.d(n,"Q",(function(){return l})),e.d(n,"H",(function(){return d})),e.d(n,"w",(function(){return p})),e.d(n,"j",(function(){return f})),e.d(n,"G",(function(){return h})),e.d(n,"K",(function(){return m})),e.d(n,"J",(function(){return y})),e.d(n,"v",(function(){return g})),e.d(n,"D",(function(){return E})),e.d(n,"B",(function(){return _})),e.d(n,"C",(function(){return P})),e.d(n,"y",(function(){return S})),e.d(n,"A",(function(){return z})),e.d(n,"z",(function(){return L})),e.d(n,"E",(function(){return D})),e.d(n,"F",(function(){return I})),e.d(n,"r",(function(){return O})),e.d(n,"q",(function(){return R})),e.d(n,"l",(function(){return C})),e.d(n,"p",(function(){return M})),e.d(n,"u",(function(){return N})),e.d(n,"t",(function(){return A})),e.d(n,"m",(function(){return G})),e.d(n,"o",(function(){return T})),e.d(n,"x",(function(){return q})),e.d(n,"s",(function(){return K})),e.d(n,"n",(function(){return U})),e.d(n,"k",(function(){return V})),e.d(n,"L",(function(){return F})),e.d(n,"S",(function(){return B})),e.d(n,"R",(function(){return J})),e.d(n,"T",(function(){return W})),e.d(n,"V",(function(){return H})),e.d(n,"U",(function(){return Q})),e.d(n,"pd",(function(){return Y})),e.d(n,"sd",(function(){return X})),e.d(n,"rd",(function(){return Z})),e.d(n,"qd",(function(){return $})),e.d(n,"md",(function(){return tt})),e.d(n,"od",(function(){return nt})),e.d(n,"nd",(function(){return et})),e.d(n,"Sb",(function(){return rt})),e.d(n,"g",(function(){return ct})),e.d(n,"e",(function(){return ot})),e.d(n,"f",(function(){return at})),e.d(n,"h",(function(){return ut})),e.d(n,"yd",(function(){return it})),e.d(n,"jb",(function(){return lt})),e.d(n,"i",(function(){return st})),e.d(n,"Gd",(function(){return dt})),e.d(n,"Dd",(function(){return pt})),e.d(n,"I",(function(){return ft})),e.d(n,"Vc",(function(){return ht})),e.d(n,"mb",(function(){return mt})),e.d(n,"yb",(function(){return yt})),e.d(n,"xd",(function(){return gt})),e.d(n,"td",(function(){return bt})),e.d(n,"zd",(function(){return vt})),e.d(n,"wd",(function(){return kt})),e.d(n,"vd",(function(){return wt})),e.d(n,"ud",(function(){return xt})),e.d(n,"a",(function(){return jt})),e.d(n,"d",(function(){return Et})),e.d(n,"c",(function(){return _t})),e.d(n,"b",(function(){return Pt})),e.d(n,"Cb",(function(){return St})),e.d(n,"sb",(function(){return zt})),e.d(n,"tb",(function(){return Lt})),e.d(n,"ub",(function(){return Dt})),e.d(n,"Oc",(function(){return It})),e.d(n,"Rc",(function(){return Ot})),e.d(n,"Qc",(function(){return Rt})),e.d(n,"Pc",(function(){return Ct})),e.d(n,"Dc",(function(){return Mt})),e.d(n,"Fc",(function(){return Nt})),e.d(n,"Ec",(function(){return At})),e.d(n,"Gc",(function(){return Gt})),e.d(n,"Ib",(function(){return Tt})),e.d(n,"Lb",(function(){return qt})),e.d(n,"Mb",(function(){return Kt})),e.d(n,"Kb",(function(){return Ut})),e.d(n,"Jb",(function(){return Vt})),e.d(n,"Lc",(function(){return Ft})),e.d(n,"Nc",(function(){return Bt})),e.d(n,"Mc",(function(){return Jt})),e.d(n,"tc",(function(){return Wt})),e.d(n,"xc",(function(){return Ht})),e.d(n,"yc",(function(){return Qt})),e.d(n,"wc",(function(){return Yt})),e.d(n,"vc",(function(){return Xt})),e.d(n,"uc",(function(){return Zt})),e.d(n,"jc",(function(){return $t})),e.d(n,"mc",(function(){return tn})),e.d(n,"lc",(function(){return nn})),e.d(n,"kc",(function(){return en})),e.d(n,"pc",(function(){return rn})),e.d(n,"sc",(function(){return cn})),e.d(n,"rc",(function(){return on})),e.d(n,"qc",(function(){return an})),e.d(n,"ld",(function(){return un})),e.d(n,"fc",(function(){return ln})),e.d(n,"ic",(function(){return sn})),e.d(n,"hc",(function(){return dn})),e.d(n,"gc",(function(){return pn})),e.d(n,"Qb",(function(){return fn})),e.d(n,"fb",(function(){return hn})),e.d(n,"X",(function(){return mn})),e.d(n,"Z",(function(){return yn})),e.d(n,"Y",(function(){return gn})),e.d(n,"Db",(function(){return bn})),e.d(n,"Hb",(function(){return vn})),e.d(n,"Fb",(function(){return kn})),e.d(n,"Eb",(function(){return wn})),e.d(n,"Gb",(function(){return xn})),e.d(n,"gd",(function(){return jn})),e.d(n,"kd",(function(){return En})),e.d(n,"id",(function(){return _n})),e.d(n,"hd",(function(){return Pn})),e.d(n,"jd",(function(){return Sn})),e.d(n,"Hd",(function(){return zn})),e.d(n,"Jd",(function(){return Ln})),e.d(n,"Id",(function(){return Dn})),e.d(n,"Ed",(function(){return In})),e.d(n,"Fd",(function(){return On})),e.d(n,"Hc",(function(){return Rn})),e.d(n,"Kc",(function(){return Cn})),e.d(n,"Jc",(function(){return Mn})),e.d(n,"Ic",(function(){return Nn})),e.d(n,"nb",(function(){return An})),e.d(n,"rb",(function(){return Gn})),e.d(n,"pb",(function(){return Tn})),e.d(n,"ob",(function(){return qn})),e.d(n,"qb",(function(){return Kn})),e.d(n,"Xc",(function(){return Un})),e.d(n,"bd",(function(){return Vn})),e.d(n,"Zc",(function(){return Fn})),e.d(n,"Yc",(function(){return Bn})),e.d(n,"ad",(function(){return Jn})),e.d(n,"Ad",(function(){return Wn})),e.d(n,"Cd",(function(){return Hn})),e.d(n,"Bd",(function(){return Qn})),e.d(n,"zc",(function(){return Yn})),e.d(n,"Cc",(function(){return Xn})),e.d(n,"Bc",(function(){return Zn})),e.d(n,"Ac",(function(){return $n})),e.d(n,"cd",(function(){return te})),e.d(n,"ed",(function(){return ne})),e.d(n,"dd",(function(){return ee})),e.d(n,"fd",(function(){return re})),e.d(n,"bc",(function(){return ce})),e.d(n,"dc",(function(){return oe})),e.d(n,"cc",(function(){return ae})),e.d(n,"ec",(function(){return ue})),e.d(n,"Tb",(function(){return ie})),e.d(n,"Vb",(function(){return le})),e.d(n,"Ub",(function(){return se})),e.d(n,"Wb",(function(){return de})),e.d(n,"Xb",(function(){return pe})),e.d(n,"Zb",(function(){return fe})),e.d(n,"Yb",(function(){return he})),e.d(n,"ac",(function(){return me})),e.d(n,"Rb",(function(){return ye})),e.d(n,"Sc",(function(){return ge})),e.d(n,"Wc",(function(){return be})),e.d(n,"Uc",(function(){return ve})),e.d(n,"Tc",(function(){return ke})),e.d(n,"ab",(function(){return we})),e.d(n,"eb",(function(){return xe})),e.d(n,"cb",(function(){return je})),e.d(n,"bb",(function(){return Ee})),e.d(n,"db",(function(){return _e})),e.d(n,"M",(function(){return Pe})),e.d(n,"P",(function(){return Se})),e.d(n,"O",(function(){return ze})),e.d(n,"N",(function(){return Le})),e.d(n,"Ab",(function(){return De})),e.d(n,"Bb",(function(){return Ie})),e.d(n,"Nb",(function(){return Oe})),e.d(n,"kb",(function(){return Re})),e.d(n,"lb",(function(){return Ce})),e.d(n,"ib",(function(){return Me})),e.d(n,"hb",(function(){return Ne})),e.d(n,"zb",(function(){return Ae})),e.d(n,"vb",(function(){return Ge})),e.d(n,"wb",(function(){return Te})),e.d(n,"xb",(function(){return qe})),e.d(n,"nc",(function(){return Ke})),e.d(n,"oc",(function(){return Ue})),e.d(n,"gb",(function(){return Ve})),e.d(n,"Ob",(function(){return Fe})),e.d(n,"Pb",(function(){return Be})),e.d(n,"Kd",(function(){return Je}));var r=e(923),c=window.localStorage.getItem("role_name"),o="https://osmap.id",a="https://oslog.id/geohr-api",u="http://siopas.co.id/custom-php/api/geohr",i="".concat(o,"/osmap-php/index.php"),l=("".concat(o,"/osmap-php"),"https://oslog.id/geohr-api/assets/images/employee/"),s="".concat(i,"/siopas"),d="".concat(s,"/user/login"),p=("".concat(s,"/user/log"),"".concat(s,"/user/get_valid_session"),"".concat(i,"/map/getColumnNameAndType")),f="".concat(i,"/map/createlayer"),h="".concat(s,"/map/load/").concat(r.a),m="".concat(s,"/map/update"),y=("".concat(s,"/feature/uploadimage"),"".concat(s,"/feature/getimage"),"".concat(s,"/feature/update")),g=("".concat(s,"/dashboard/chart/tipe-geometry?map_id=").concat(r.a),"".concat(s,"/dashboard/chart/tipe-kategori?map_id=").concat(r.a)),b="".concat(s,"/country"),v=("".concat(b,"/insertDataCountry"),"".concat(b,"/updateDataCountry"),"".concat(b,"/deleteDataCountry"),"".concat(s,"/district")),k=("".concat(v,"/insertDataDistrict"),"".concat(v,"/updateDataDistrict"),"".concat(v,"/deleteDataDistrict"),"".concat(s,"/subdistrict")),w=("".concat(k,"/insertDataSubdistrict"),"".concat(k,"/updateDataSubdistrict"),"".concat(k,"/deleteDataSubdistrict"),"".concat(s,"/province")),x=("".concat(w,"/updateDataProvince"),"".concat(w,"/insertDataProvince"),"".concat(w,"/deleteDataProvince"),"".concat(s,"/village")),j=("".concat(x,"/updateDataVillage"),"".concat(x,"/insertDataVillage"),"".concat(x,"/deleteDataVillage"),"".concat(s,"/user?group_id=").concat(window.localStorage.getItem("group_id"))),E=("".concat(j,"/insertDataUser"),"".concat(j,"/updateDataUser"),"".concat(j,"/deleteDataUser"),"".concat(s,"/layer?workspace=").concat(r.d.workspace_name)),_=("".concat(s,"/layer/getsearchlabel"),"".concat(s,"/layer/?resourcebase_ptr_id=")),P="".concat(s,"/layer/updatelayerdetail"),S="".concat(s,"/layer/getlayerattribute/"),z="".concat(s,"/layer/updatelayerattribute"),L="".concat(s,"/layer/getlayerattribute?name="),D="".concat(s,"/layer/getsearchlabel/"),I="".concat(s,"/layer/updatelayersearchlabel"),O=("".concat(a,"/group-sales/search"),"".concat(a,"/sales/monitoring")),R=("".concat(a,"/sales/search"),"".concat(a,"/office/monitoring")),C="".concat(a,"/customer/monitoring"),M="".concat(a,"/employee/monitoring"),N=function(t){return"".concat(a,"/waypoint-sales/monitoring?salesId=").concat(t)},A=function(t){return"".concat(a,"/waypoint-employee/monitoring?employeeId=").concat(t)},G="".concat(a,"/dashboard-status-sales"),T=("".concat(a,"/broadcast"),"".concat(u,"/employee_devision.php?act=get_data")),q=("".concat(u,"/employee.php?"),"".concat(u,"/roles.php?"),"".concat(u,"/menu.php?"),"".concat(u,"/task_report.php?"),"".concat(u,"/employee_devision.php?"),"".concat(u,"/paid_leave.php?"),"".concat(u,"/clock_in_out.php?"),"".concat(u,"/employee_office_hours.php?")),K=function(t){return"".concat(u,"/employee_office_hours.php?act=setting&type=").concat(t)},U=function(t){return"".concat(u,"/employee_office_hours.php?act=edit&id=").concat(t)},V=("".concat(u,"/employee.php?act=get_daily&role_name=").concat(c),function(t,n){return"".concat(u,"/employee.php?act=get_daily_detail&start=").concat(t,"&length=").concat(n,"&role_name=").concat(c)}),F="ADW",B="https://oslog.id/simpro-api/v1",J="https://ospro-api.ospro.id",W="".concat(J,"/api"),H="".concat(J,"/assets/image"),Q="".concat(J,"/assets/file/project");switch(F){case"KIT":J="https://kit-api.oslogdev.com";break;case"ADW":W="".concat(J="https://api-staging-adw.ospro.id","/api"),H="".concat(J,"/assets/image"),Q="".concat(J,"/assets/file/project");break;case"IU":W="".concat(J="https://api-iu.ospro.id","/api"),H="".concat(J,"/assets/image"),Q="".concat(J,"/assets/file/project");break;default:J="https://ospro-api.ospro.id"}var Y="".concat(B,"/user-role/add"),X="".concat(B,"/user-role/search"),Z=function(t){return"".concat(B,"/user-role/edit/").concat(t)},$=function(t){return"".concat(B,"/user-role/delete/").concat(t)},tt="".concat(B,"/user-to-proyek/add"),nt=("".concat(B,"/user-to-proyek/add-detail"),"".concat(B,"/user-to-proyek/list"),"".concat(B,"/user-to-proyek/search")),et=function(t){return"".concat(B,"/user-to-proyek/edit/").concat(t)},rt=("".concat(B,"/clock-in-out/add"),"".concat(B,"/clock-in-out/search")),ct=("".concat(B,"/laporan-planning/add"),"".concat(B,"/laporan-planning/search"),"".concat(B,"/alert/add"),"".concat(B,"/alert/search")),ot=("".concat(B,"/alert-to-user/add"),"".concat(B,"/alert-to-user/search")),at=function(t){return"".concat(B,"/alert-to-user/edit-status-view/").concat(t)},ut=function(t){return"".concat(B,"/alert/edit-status-view/").concat(t)},it=("".concat(B,"/sub-proyek/add"),"".concat(B,"/sub-proyek/search"),"".concat(B,"/user-proyek/search")),lt=("".concat(B,"/planning-realisasi/search"),"".concat(B,"/dashboard-proyek/list"),"".concat(B,"/dashboard-proyek/search")),st="".concat(B,"/broadcast"),dt="".concat(B,"/user-role/search"),pt="".concat(B,"/user-to-proyek"),ft=function(t){return"".concat(B,"/waypoint-monitoring/").concat(t,"/search")},ht="".concat(B,"/satuan/list"),mt="".concat(B,"/dashboard-status/search"),yt="".concat(B,"/proyek-monitoring/search-detail"),gt=("".concat(B,"/material-to-proyek/add"),"".concat(B,"/material-to-proyek/add-detail"),"".concat(B,"/material-to-proyek/search"),"".concat(B,"/tools-to-proyek/add"),"".concat(B,"/tools-to-proyek/add-detail"),"".concat(B,"/tools-to-proyek/search"),"".concat(W,"/login")),bt=("".concat(W,"/user-to-project/assign"),"".concat(W,"/tools-to-project/assign"),"".concat(W,"/material-to-project/assign"),"".concat(W,"/req-tools/create"),"".concat(W,"/human-resource/add")),vt="".concat(W,"/human-resource/search"),kt="".concat(W,"/human-resource/list"),wt=function(t){return"".concat(W,"/human-resource/update/").concat(t)},xt=function(t){return"".concat(W,"/human-resource/delete/").concat(t)},jt="".concat(W,"/permit/add"),Et="".concat(W,"/permit/search"),_t=function(t){return"".concat(W,"/permit/edit/").concat(t)},Pt=function(t){return"".concat(W,"/permit/delete/").concat(t)},St=("".concat(W,"/report-k3/add"),"".concat(W,"/report-k3/search")),zt="".concat(W,"/document-project/upload"),Lt=("".concat(W,"/document-project/search"),function(t){return"".concat(W,"/document-project/delete/").concat(t)}),Dt=function(t){return"".concat(W,"/document-project/download/").concat(t)},It="".concat(W,"/role/add"),Ot="".concat(W,"/role/search"),Rt=function(t){return"".concat(W,"/role/update/").concat(t)},Ct=function(t){return"".concat(W,"/role/delete/").concat(t)},Mt="".concat(W,"/request-material/add"),Nt=function(t){return"".concat(W,"/request-material/update/").concat(t)},At=function(t){return"".concat(W,"/request-material/delete/").concat(t)},Gt="".concat(W,"/request-material/search"),Tt="".concat(W,"/menu/add"),qt=function(t){return"".concat(W,"/menu/management/").concat(t)},Kt="".concat(W,"/menu/search"),Ut=function(t){return"".concat(W,"/menu/update/").concat(t)},Vt=function(t){return"".concat(W,"/menu/delete/").concat(t)},Ft="".concat(W,"/role-menu/add"),Bt="".concat(W,"/role-menu/search"),Jt=function(t){return"".concat(W,"/role-menu/delete-byrole/").concat(t)},Wt="".concat(W,"/project/add"),Ht=("".concat(W,"/project/list"),"".concat(W,"/project/search")),Qt="".concat(W,"/project/search"),Yt=function(t){return"".concat(W,"/project/edit/").concat(t)},Xt=function(t){return"".concat(W,"/project/update/").concat(t)},Zt=function(t){return"".concat(W,"/project/delete/").concat(t)},$t="".concat(W,"/project-role/add"),tn="".concat(W,"/project-role/search"),nn=function(t){return"".concat(W,"/project-role/update/").concat(t)},en=function(t){return"".concat(W,"/project-role/delete/").concat(t)},rn="".concat(W,"/project-type/add"),cn="".concat(W,"/project-type/search"),on=function(t){return"".concat(W,"/project-type/update/").concat(t)},an=function(t){return"".concat(W,"/project-type/delete/").concat(t)},un="".concat(W,"/project-type/list"),ln="".concat(W,"/project-phase/add"),sn="".concat(W,"/project-phase/search"),dn=function(t){return"".concat(W,"/project-phase/update/").concat(t)},pn=function(t){return"".concat(W,"/project-phase/delete/").concat(t)},fn="".concat(W,"/project-phase/list"),hn=("".concat(W,"/project-charter/add"),"".concat(W,"/project-charter/search"),"".concat(W,"/config-alert/add"),"".concat(W,"/config-alert/search")),mn="".concat(W,"/config-alert-to-user/add"),yn="".concat(W,"/config-alert-to-user/search"),gn=function(t){return"".concat(W,"/config-alert-to-user/delete/").concat(t)},bn="".concat(W,"/material-resource/add"),vn="".concat(W,"/material-resource/search"),kn=function(t){return"".concat(W,"/material-resource/update/").concat(t)},wn=function(t){return"".concat(W,"/material-resource/delete/").concat(t)},xn="".concat(W,"/material-resource/list"),jn="".concat(W,"/tools-resource/add"),En="".concat(W,"/tools-resource/search"),_n=function(t){return"".concat(W,"/tools-resource/update/").concat(t)},Pn=function(t){return"".concat(W,"/tools-resource/delete/").concat(t)},Sn="".concat(W,"/tools-resource/list"),zn="".concat(W,"/version-gantt/add"),Ln="".concat(W,"/version-gantt/search"),Dn=function(t){return"".concat(W,"/version-gantt/delete/").concat(t)},In=("".concat(W,"/version-gantt/list"),"".concat(W,"/user-to-version-gantt/add"),"".concat(W,"/user-to-version-gantt/add-multiple")),On="".concat(W,"/user-to-version-gantt/search"),Rn=("".concat(W,"/user-to-version-gantt/list"),"".concat(W,"/req-tools/add")),Cn="".concat(W,"/req-tools/search"),Mn=function(t){return"".concat(W,"/req-tools/update/").concat(t)},Nn=function(t){return"".concat(W,"/req-tools/delete/").concat(t)},An="".concat(W,"/divisi/add"),Gn="".concat(W,"/divisi/search"),Tn=function(t){return"".concat(W,"/divisi/update/").concat(t)},qn=function(t){return"".concat(W,"/divisi/delete/").concat(t)},Kn="".concat(W,"/divisi/list"),Un="".concat(W,"/shift/add"),Vn="".concat(W,"/shift/search"),Fn=function(t){return"".concat(W,"/shift/update/").concat(t)},Bn=function(t){return"".concat(W,"/shift/delete/").concat(t)},Jn="".concat(W,"/shift/list"),Wn="".concat(W,"/user-to-shift/add"),Hn="".concat(W,"/user-to-shift/search"),Qn=function(t){return"".concat(W,"/user-to-shift/delete/").concat(t)},Yn=("".concat(W,"/user-to-shift/list"),"".concat(W,"/rate-sallary/add")),Xn="".concat(W,"/rate-sallary/search"),Zn=function(t){return"".concat(W,"/rate-sallary/update/").concat(t)},$n=function(t){return"".concat(W,"/rate-sallary/delete/").concat(t)},te=("".concat(W,"/rate-sallary/list"),"".concat(W,"/template-gantt/add")),ne=("".concat(W,"/template-gantt/search"),function(t){return"".concat(W,"/template-gantt/update/").concat(t)}),ee=function(t){return"".concat(W,"/template-gantt/delete/").concat(t)},re=("".concat(W,"/template-gantt/list"),function(t){return"".concat(W,"/template-gantt/get-tree/").concat(t)}),ce="".concat(W,"/project-participants/add"),oe="".concat(W,"/project-participants/search"),ae=function(t){return"".concat(W,"/project-participants/delete-by-proyek/").concat(t)},ue=("".concat(W,"/project-participants/list"),function(t,n){return"".concat(W,"/project-participants/").concat(t,"/").concat(n)}),ie="".concat(W,"/project-approval/add"),le="".concat(W,"/project-approval/search"),se=function(t){return"".concat(W,"/project-approval/delete-by-proyek/").concat(t)},de=("".concat(W,"/project-approval/list"),function(t,n){return"".concat(W,"/project-approval/").concat(t,"/").concat(n)}),pe="".concat(W,"/project-milestone/add"),fe="".concat(W,"/project-milestone/search"),he=function(t){return"".concat(W,"/project-milestone/delete-by-proyek/").concat(t)},me=("".concat(W,"/project-milestone/list"),function(t,n){return"".concat(W,"/project-milestone/").concat(t,"/").concat(n)}),ye=("".concat(W,"/presence/add"),"".concat(W,"/presence/search")),ge=("".concat(W,"/presence/list"),"".concat(W,"/satuan/add")),be="".concat(W,"/satuan/search"),ve=function(t){return"".concat(W,"/satuan/update/").concat(t)},ke=function(t){return"".concat(W,"/satuan/delete/").concat(t)},we=("".concat(W,"/satuan/list"),"".concat(W,"/checklist-k3/add")),xe="".concat(W,"/checklist-k3/search"),je=function(t){return"".concat(W,"/checklist-k3/update/").concat(t)},Ee=function(t){return"".concat(W,"/checklist-k3/delete/").concat(t)},_e="".concat(W,"/checklist-k3/list"),Pe="".concat(W,"/user-to-proyek/add"),Se="".concat(W,"/user-to-proyek/search"),ze=function(t){return"".concat(W,"/user-to-proyek/update/").concat(t)},Le=function(t){return"".concat(W,"/user-to-proyek/delete/").concat(t)},De=("".concat(W,"/user-to-proyek/list"),function(t,n){return"".concat(W,"/image/").concat(t,"/").concat(n)}),Ie="".concat(W,"/image/search"),Oe="".concat(J,"/api/assets/image"),Re=("".concat(W,"/dashboard/cost-planning-actual"),"".concat(W,"/dashboard/percentage-planning-actual"),"".concat(W,"/report-activity/search-point")),Ce="".concat(W,"/dashboard/status-proyek"),Me="".concat(W,"/activity/get-curva-s"),Ne="".concat(W,"/currency/list"),Ae="".concat(W,"/activity/get-percentage"),Ge="".concat(W,"/folder-document-proyek/add"),Te=("".concat(W,"/folder-document-proyek/search"),function(t){return"".concat(W,"/folder-document-proyek/delete/").concat(t)}),qe=function(t){return"".concat(W,"/folder-document-proyek/get-tree/").concat(t)},Ke=("".concat(W,"/project-to-checklist-k3/add"),"".concat(W,"/project-to-checklist-k3/add-multiple")),Ue="".concat(W,"/project-to-checklist-k3/search"),Ve=("".concat(W,"/project-to-checklist-k3/list"),"".concat(W,"/control-monitoring/search")),Fe=("".concat(W,"/panic-button"),"".concat(W,"/panic-button/search")),Be=function(t){return"".concat(W,"/panic-button/update/").concat(t)},Je="".concat(W,"/waypoint/search")},923:function(t,n,e){"use strict";e.d(n,"d",(function(){return c})),e.d(n,"a",(function(){return o})),e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return u})),e.d(n,"g",(function(){return i})),e.d(n,"h",(function(){return l})),e.d(n,"e",(function(){return s})),e.d(n,"f",(function(){return d}));e(656);var r=window.localStorage.getItem("map_id"),c={geoserver_host:"https://osmap.id/geoserver/",workspace_name:"geohr",datastore_name:"geohr",geoserver_username:"admin",geoserver_password:"geoserver"},o=r,a=c.geoserver_host+c.workspace_name+"/ows/service?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities",u=c.geoserver_host+"/wms?service?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities",i="https://address.oslog.id/search?",l=c.geoserver_host+"wfs/WfsDispatcher",s=c.geoserver_host+"wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetStyles&LAYERS="+c.workspace_name+":",d=(c.geoserver_host,c.workspace_name,function(t){return c.geoserver_host+"wms/reflect?layers="+c.workspace_name+":"+t+"&width=280&height=150&format=image/png8"})}}]);