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
39 KiB

/*! For license information please see 61.ad8ffc32.chunk.js.LICENSE.txt */
(this["webpackJsonpsimpro-web"]=this["webpackJsonpsimpro-web"]||[]).push([[61],{2283:function(t,n,e){"use strict";e.r(n);var r=e(601),c=e(184),o=e(185),a=e(187),u=e(186),i=e(2),l=e.n(i),s=e(23),d=e(189),p=e(1400),f=e(649),h=e.n(f),m=e(623),y=e(904),g=(localStorage.getItem("u_group"),l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(13)]).then(e.bind(null,2292))}))),b=l.a.lazy((function(){return Promise.all([e.e(1),e.e(4),e.e(5),e.e(6),e.e(55)]).then(e.bind(null,2270))})),v=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(16)]).then(e.bind(null,2285))})),k=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(45)]).then(e.bind(null,2293))})),w=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(21)]).then(e.bind(null,2294))})),x=l.a.lazy((function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(7),e.e(51)]).then(e.bind(null,2271))})),j=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(28)]).then(e.bind(null,2277))})),E=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(34)]).then(e.bind(null,2295))})),_=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(15)]).then(e.bind(null,2276))})),P=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(11)]).then(e.bind(null,2279))})),S=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(41)]).then(e.bind(null,2296))})),z=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(37)]).then(e.bind(null,2297))})),L=l.a.lazy((function(){return Promise.all([e.e(4),e.e(49),e.e(63)]).then(e.bind(null,2272))})),I=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(32)]).then(e.bind(null,2298))})),D=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(39)]).then(e.bind(null,2299))})),O=l.a.lazy((function(){return Promise.all([e.e(0),e.e(2),e.e(3),e.e(4),e.e(47)]).then(e.bind(null,2273))})),R=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(33)]).then(e.bind(null,2286))})),C=l.a.lazy((function(){return Promise.all([e.e(1),e.e(5),e.e(6),e.e(59),e.e(62)]).then(e.bind(null,2274))})),M=l.a.lazy((function(){return e.e(60).then(e.bind(null,2275))})),N=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(31)]).then(e.bind(null,2300))})),A=l.a.lazy((function(){return Promise.all([e.e(1),e.e(4),e.e(5),e.e(6),e.e(56)]).then(e.bind(null,2132))})),G=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(26)]).then(e.bind(null,2301))})),T=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(18)]).then(e.bind(null,2302))})),q=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(14)]).then(e.bind(null,2278))})),U=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(38)]).then(e.bind(null,2280))})),V=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(22)]).then(e.bind(null,2303))})),K=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(30)]).then(e.bind(null,2304))})),B=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(29)]).then(e.bind(null,2305))})),F=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(25)]).then(e.bind(null,2281))})),J=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(17)]).then(e.bind(null,2282))})),W=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(42)]).then(e.bind(null,2306))})),H=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(20)]).then(e.bind(null,2307))})),Q=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(19)]).then(e.bind(null,2287))})),Y=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(23)]).then(e.bind(null,2288))})),X=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(27)]).then(e.bind(null,2289))})),Z=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(46)]).then(e.bind(null,2308))})),$=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(24)]).then(e.bind(null,2309))})),tt=l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(36)]).then(e.bind(null,2310))})),nt=[{path:"/",exact:!0,name:"Home"},{path:"/dashboard",name:"Dashboard",component:P},{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:Y},{path:"/material-resource",exact:!0,name:"Material Resource",component:H},{path:"/tools-resource",exact:!0,name:"Tools Resource",component:Q},{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:K},{path:"/absensi-resource",exact:!0,name:"Absensi Resource",component:g},{path:"/laporan-k3",exact:!0,name:"Laporan K3",component:D},{path:"/broadcast",exact:!0,name:"Broadcast",component:v},{path:"/panic-button",exact:!0,name:"Tombol Darurat",component:U},{path:"/closing",exact:!0,name:"Closing",component:w},{path:"/menu",exact:!0,name:"Menu",component:G},{path:"/roles",exact:!0,name:"Roles",component:X},{path:"/project-role",exact:!0,name:"Project Role",component:B},{path:"/project-type",exact:!0,name:"Project Type",component:F},{path:"/divisi",exact:!0,name:"Divisi",component:S},{path:"/satuan",exact:!0,name:"Satuan",component:Z},{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:I},{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:V},{path:"/presensi",exact:!0,name:"Presensi",component:K},{path:"/proyek",exact:!0,name:"Created Project",component:J},{path:"/proyek-gantt",exact:!0,name:"Gantt Chart Proyek",component:l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(35)]).then(e.bind(null,2311))}))},{path:"/rate-cost",exact:!0,name:"Rate Cost",component:W},{path:"/schedule-shift",exact:!0,name:"Schedule Shift",component:$},{path:"/user-admin",exact:!0,name:"User Admin",component:l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(40)]).then(e.bind(null,2290))}))},{path:"/user-shift",exact:!0,name:"Shift",component:l.a.lazy((function(){return Promise.all([e.e(0),e.e(1),e.e(2),e.e(3),e.e(43)]).then(e.bind(null,2312))}))},{path:"/working-hour",exact:!0,name:"Working Hour",component:tt}];e(908);function et(){et=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 rt=localStorage.getItem("countErr"),ct=window.localStorage.getItem("token"),ot=l.a.lazy((function(){return e.e(57).then(e.bind(null,2267))})),at=l.a.lazy((function(){return e.e(64).then(e.bind(null,2268))})),ut=l.a.lazy((function(){return Promise.all([e.e(0),e.e(2),e.e(5),e.e(7),e.e(50)]).then(e.bind(null,2269))})),it=0,lt={headers:{Authorization:"Bearer ".concat(ct),"Content-type":"application/json"}},st=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)(et().mark((function t(){var n,e,r;return et().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return it++,n=Object(m.Jb)(o.state.role_id),t.next=4,h.a.get(n,lt).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(!(it<4)){t.next=15;break}o.getDataMenu(),t.next=23;break;case 15:if(!rt){t.next=20;break}return t.next=18,window.localStorage.setItem("countErr",rt+1);case 18:t.next=22;break;case 20:return t.next=22,window.localStorage.setItem("countErr",1);case 22:rt&&parseInt(rt)>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)return l.a.createElement(y.b,{appRoutes:o.state.finalRoutes,router:d});nt.map((function(t,n){return"/dashboard-kominfo"==t.path?l.a.createElement(y.b,{appRoutes:nt,router:d,className:"remove-gap-bs-breadcrumb"}):l.a.createElement(y.b,{appRoutes:nt,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:nt,finalRoutes:[],breadrCrumbReady:!1},o}return Object(o.a)(e,[{key:"componentDidMount",value:function(){var t=Object(r.a)(et().mark((function t(){var n;return et().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)(et().mark((function t(n){return et().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(ut,{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,nt.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(ot,null)))),this.isKominfo?null:l.a.createElement(y.c,null,l.a.createElement(i.Suspense,{fallback:this.loading()},l.a.createElement(at,null))))}}]),e}(i.Component);n.default=st},623:function(t,n,e){"use strict";e.d(n,"V",(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 I})),e.d(n,"F",(function(){return D})),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 U})),e.d(n,"n",(function(){return V})),e.d(n,"k",(function(){return K})),e.d(n,"L",(function(){return B})),e.d(n,"R",(function(){return F})),e.d(n,"S",(function(){return W})),e.d(n,"U",(function(){return H})),e.d(n,"T",(function(){return Q})),e.d(n,"id",(function(){return Y})),e.d(n,"ld",(function(){return X})),e.d(n,"kd",(function(){return Z})),e.d(n,"jd",(function(){return $})),e.d(n,"fd",(function(){return tt})),e.d(n,"hd",(function(){return nt})),e.d(n,"gd",(function(){return et})),e.d(n,"Pb",(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,"rd",(function(){return it})),e.d(n,"ib",(function(){return lt})),e.d(n,"i",(function(){return st})),e.d(n,"zd",(function(){return dt})),e.d(n,"wd",(function(){return pt})),e.d(n,"I",(function(){return ft})),e.d(n,"Oc",(function(){return ht})),e.d(n,"lb",(function(){return mt})),e.d(n,"wb",(function(){return yt})),e.d(n,"qd",(function(){return gt})),e.d(n,"md",(function(){return bt})),e.d(n,"sd",(function(){return vt})),e.d(n,"pd",(function(){return kt})),e.d(n,"od",(function(){return wt})),e.d(n,"nd",(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,"Ab",(function(){return St})),e.d(n,"qb",(function(){return zt})),e.d(n,"rb",(function(){return Lt})),e.d(n,"sb",(function(){return It})),e.d(n,"Hc",(function(){return Dt})),e.d(n,"Kc",(function(){return Ot})),e.d(n,"Jc",(function(){return Rt})),e.d(n,"Ic",(function(){return Ct})),e.d(n,"wc",(function(){return Mt})),e.d(n,"yc",(function(){return Nt})),e.d(n,"xc",(function(){return At})),e.d(n,"zc",(function(){return Gt})),e.d(n,"Gb",(function(){return Tt})),e.d(n,"Jb",(function(){return qt})),e.d(n,"Kb",(function(){return Ut})),e.d(n,"Ib",(function(){return Vt})),e.d(n,"Hb",(function(){return Kt})),e.d(n,"Ec",(function(){return Bt})),e.d(n,"Gc",(function(){return Ft})),e.d(n,"Fc",(function(){return Jt})),e.d(n,"mc",(function(){return Wt})),e.d(n,"qc",(function(){return Ht})),e.d(n,"rc",(function(){return Qt})),e.d(n,"pc",(function(){return Yt})),e.d(n,"oc",(function(){return Xt})),e.d(n,"nc",(function(){return Zt})),e.d(n,"cc",(function(){return $t})),e.d(n,"fc",(function(){return tn})),e.d(n,"ec",(function(){return nn})),e.d(n,"dc",(function(){return en})),e.d(n,"ic",(function(){return rn})),e.d(n,"lc",(function(){return cn})),e.d(n,"kc",(function(){return on})),e.d(n,"jc",(function(){return an})),e.d(n,"ed",(function(){return un})),e.d(n,"eb",(function(){return ln})),e.d(n,"W",(function(){return sn})),e.d(n,"Y",(function(){return dn})),e.d(n,"X",(function(){return pn})),e.d(n,"Bb",(function(){return fn})),e.d(n,"Fb",(function(){return hn})),e.d(n,"Db",(function(){return mn})),e.d(n,"Cb",(function(){return yn})),e.d(n,"Eb",(function(){return gn})),e.d(n,"Zc",(function(){return bn})),e.d(n,"dd",(function(){return vn})),e.d(n,"bd",(function(){return kn})),e.d(n,"ad",(function(){return wn})),e.d(n,"cd",(function(){return xn})),e.d(n,"Ad",(function(){return jn})),e.d(n,"Cd",(function(){return En})),e.d(n,"Bd",(function(){return _n})),e.d(n,"xd",(function(){return Pn})),e.d(n,"yd",(function(){return Sn})),e.d(n,"Ac",(function(){return zn})),e.d(n,"Dc",(function(){return Ln})),e.d(n,"Cc",(function(){return In})),e.d(n,"Bc",(function(){return Dn})),e.d(n,"mb",(function(){return On})),e.d(n,"pb",(function(){return Rn})),e.d(n,"ob",(function(){return Cn})),e.d(n,"nb",(function(){return Mn})),e.d(n,"Qc",(function(){return Nn})),e.d(n,"Uc",(function(){return An})),e.d(n,"Sc",(function(){return Gn})),e.d(n,"Rc",(function(){return Tn})),e.d(n,"Tc",(function(){return qn})),e.d(n,"td",(function(){return Un})),e.d(n,"vd",(function(){return Vn})),e.d(n,"ud",(function(){return Kn})),e.d(n,"sc",(function(){return Bn})),e.d(n,"vc",(function(){return Fn})),e.d(n,"uc",(function(){return Jn})),e.d(n,"tc",(function(){return Wn})),e.d(n,"Vc",(function(){return Hn})),e.d(n,"Xc",(function(){return Qn})),e.d(n,"Wc",(function(){return Yn})),e.d(n,"Yc",(function(){return Xn})),e.d(n,"Yb",(function(){return Zn})),e.d(n,"ac",(function(){return $n})),e.d(n,"Zb",(function(){return te})),e.d(n,"bc",(function(){return ne})),e.d(n,"Qb",(function(){return ee})),e.d(n,"Sb",(function(){return re})),e.d(n,"Rb",(function(){return ce})),e.d(n,"Tb",(function(){return oe})),e.d(n,"Ub",(function(){return ae})),e.d(n,"Wb",(function(){return ue})),e.d(n,"Vb",(function(){return ie})),e.d(n,"Xb",(function(){return le})),e.d(n,"Ob",(function(){return se})),e.d(n,"Lc",(function(){return de})),e.d(n,"Pc",(function(){return pe})),e.d(n,"Nc",(function(){return fe})),e.d(n,"Mc",(function(){return he})),e.d(n,"Z",(function(){return me})),e.d(n,"db",(function(){return ye})),e.d(n,"bb",(function(){return ge})),e.d(n,"ab",(function(){return be})),e.d(n,"cb",(function(){return ve})),e.d(n,"M",(function(){return ke})),e.d(n,"P",(function(){return we})),e.d(n,"O",(function(){return xe})),e.d(n,"N",(function(){return je})),e.d(n,"yb",(function(){return Ee})),e.d(n,"zb",(function(){return _e})),e.d(n,"Lb",(function(){return Pe})),e.d(n,"jb",(function(){return Se})),e.d(n,"kb",(function(){return ze})),e.d(n,"hb",(function(){return Le})),e.d(n,"gb",(function(){return Ie})),e.d(n,"xb",(function(){return De})),e.d(n,"tb",(function(){return Oe})),e.d(n,"ub",(function(){return Re})),e.d(n,"vb",(function(){return Ce})),e.d(n,"gc",(function(){return Me})),e.d(n,"hc",(function(){return Ne})),e.d(n,"fb",(function(){return Ae})),e.d(n,"Mb",(function(){return Ge})),e.d(n,"Nb",(function(){return Te})),e.d(n,"Dd",(function(){return qe}));var r=e(908),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="),I="".concat(s,"/layer/getsearchlabel/"),D="".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?")),U=function(t){return"".concat(u,"/employee_office_hours.php?act=setting&type=").concat(t)},V=function(t){return"".concat(u,"/employee_office_hours.php?act=edit&id=").concat(t)},K=("".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)}),B="ADW",F="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(B){case"KIT":J="https://kit-api.oslogdev.com";break;case"ADW":W="".concat(J="https://ospro-api.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(F,"/user-role/add"),X="".concat(F,"/user-role/search"),Z=function(t){return"".concat(F,"/user-role/edit/").concat(t)},$=function(t){return"".concat(F,"/user-role/delete/").concat(t)},tt="".concat(F,"/user-to-proyek/add"),nt=("".concat(F,"/user-to-proyek/add-detail"),"".concat(F,"/user-to-proyek/list"),"".concat(F,"/user-to-proyek/search")),et=function(t){return"".concat(F,"/user-to-proyek/edit/").concat(t)},rt=("".concat(F,"/clock-in-out/add"),"".concat(F,"/clock-in-out/search")),ct=("".concat(F,"/laporan-planning/add"),"".concat(F,"/laporan-planning/search"),"".concat(F,"/alert/add"),"".concat(F,"/alert/search")),ot=("".concat(F,"/alert-to-user/add"),"".concat(F,"/alert-to-user/search")),at=function(t){return"".concat(F,"/alert-to-user/edit-status-view/").concat(t)},ut=function(t){return"".concat(F,"/alert/edit-status-view/").concat(t)},it=("".concat(F,"/sub-proyek/add"),"".concat(F,"/sub-proyek/search"),"".concat(F,"/user-proyek/search")),lt=("".concat(F,"/planning-realisasi/search"),"".concat(F,"/dashboard-proyek/list"),"".concat(F,"/dashboard-proyek/search")),st="".concat(F,"/broadcast"),dt="".concat(F,"/user-role/search"),pt="".concat(F,"/user-to-proyek"),ft=function(t){return"".concat(F,"/waypoint-monitoring/").concat(t,"/search")},ht="".concat(F,"/satuan/list"),mt="".concat(F,"/dashboard-status/search"),yt="".concat(F,"/proyek-monitoring/search-detail"),gt=("".concat(F,"/material-to-proyek/add"),"".concat(F,"/material-to-proyek/add-detail"),"".concat(F,"/material-to-proyek/search"),"".concat(F,"/tools-to-proyek/add"),"".concat(F,"/tools-to-proyek/add-detail"),"".concat(F,"/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)}),It=function(t){return"".concat(W,"/document-project/download/").concat(t)},Dt="".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)},Ut="".concat(W,"/menu/search"),Vt=function(t){return"".concat(W,"/menu/update/").concat(t)},Kt=function(t){return"".concat(W,"/menu/delete/").concat(t)},Bt="".concat(W,"/role-menu/add"),Ft="".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-charter/add"),"".concat(W,"/project-charter/search"),"".concat(W,"/config-alert/add"),"".concat(W,"/config-alert/search")),sn="".concat(W,"/config-alert-to-user/add"),dn="".concat(W,"/config-alert-to-user/search"),pn=function(t){return"".concat(W,"/config-alert-to-user/delete/").concat(t)},fn="".concat(W,"/material-resource/add"),hn="".concat(W,"/material-resource/search"),mn=function(t){return"".concat(W,"/material-resource/update/").concat(t)},yn=function(t){return"".concat(W,"/material-resource/delete/").concat(t)},gn="".concat(W,"/material-resource/list"),bn="".concat(W,"/tools-resource/add"),vn="".concat(W,"/tools-resource/search"),kn=function(t){return"".concat(W,"/tools-resource/update/").concat(t)},wn=function(t){return"".concat(W,"/tools-resource/delete/").concat(t)},xn="".concat(W,"/tools-resource/list"),jn="".concat(W,"/version-gantt/add"),En="".concat(W,"/version-gantt/search"),_n=function(t){return"".concat(W,"/version-gantt/delete/").concat(t)},Pn=("".concat(W,"/version-gantt/list"),"".concat(W,"/user-to-version-gantt/add"),"".concat(W,"/user-to-version-gantt/add-multiple")),Sn="".concat(W,"/user-to-version-gantt/search"),zn=("".concat(W,"/user-to-version-gantt/list"),"".concat(W,"/req-tools/add")),Ln="".concat(W,"/req-tools/search"),In=function(t){return"".concat(W,"/req-tools/update/").concat(t)},Dn=function(t){return"".concat(W,"/req-tools/delete/").concat(t)},On="".concat(W,"/divisi/add"),Rn="".concat(W,"/divisi/search"),Cn=function(t){return"".concat(W,"/divisi/update/").concat(t)},Mn=function(t){return"".concat(W,"/divisi/delete/").concat(t)},Nn=("".concat(W,"/divisi/list"),"".concat(W,"/shift/add")),An="".concat(W,"/shift/search"),Gn=function(t){return"".concat(W,"/shift/update/").concat(t)},Tn=function(t){return"".concat(W,"/shift/delete/").concat(t)},qn="".concat(W,"/shift/list"),Un="".concat(W,"/user-to-shift/add"),Vn="".concat(W,"/user-to-shift/search"),Kn=function(t){return"".concat(W,"/user-to-shift/delete/").concat(t)},Bn=("".concat(W,"/user-to-shift/list"),"".concat(W,"/rate-sallary/add")),Fn="".concat(W,"/rate-sallary/search"),Jn=function(t){return"".concat(W,"/rate-sallary/update/").concat(t)},Wn=function(t){return"".concat(W,"/rate-sallary/delete/").concat(t)},Hn=("".concat(W,"/rate-sallary/list"),"".concat(W,"/template-gantt/add")),Qn=("".concat(W,"/template-gantt/search"),function(t){return"".concat(W,"/template-gantt/update/").concat(t)}),Yn=function(t){return"".concat(W,"/template-gantt/delete/").concat(t)},Xn=("".concat(W,"/template-gantt/list"),function(t){return"".concat(W,"/template-gantt/get-tree/").concat(t)}),Zn="".concat(W,"/project-participants/add"),$n="".concat(W,"/project-participants/search"),te=function(t){return"".concat(W,"/project-participants/delete-by-proyek/").concat(t)},ne=("".concat(W,"/project-participants/list"),function(t,n){return"".concat(W,"/project-participants/").concat(t,"/").concat(n)}),ee="".concat(W,"/project-approval/add"),re="".concat(W,"/project-approval/search"),ce=function(t){return"".concat(W,"/project-approval/delete-by-proyek/").concat(t)},oe=("".concat(W,"/project-approval/list"),function(t,n){return"".concat(W,"/project-approval/").concat(t,"/").concat(n)}),ae="".concat(W,"/project-milestone/add"),ue="".concat(W,"/project-milestone/search"),ie=function(t){return"".concat(W,"/project-milestone/delete-by-proyek/").concat(t)},le=("".concat(W,"/project-milestone/list"),function(t,n){return"".concat(W,"/project-milestone/").concat(t,"/").concat(n)}),se=("".concat(W,"/presence/add"),"".concat(W,"/presence/search")),de=("".concat(W,"/presence/list"),"".concat(W,"/satuan/add")),pe="".concat(W,"/satuan/search"),fe=function(t){return"".concat(W,"/satuan/update/").concat(t)},he=function(t){return"".concat(W,"/satuan/delete/").concat(t)},me=("".concat(W,"/satuan/list"),"".concat(W,"/checklist-k3/add")),ye="".concat(W,"/checklist-k3/search"),ge=function(t){return"".concat(W,"/checklist-k3/update/").concat(t)},be=function(t){return"".concat(W,"/checklist-k3/delete/").concat(t)},ve="".concat(W,"/checklist-k3/list"),ke="".concat(W,"/user-to-proyek/add"),we="".concat(W,"/user-to-proyek/search"),xe=function(t){return"".concat(W,"/user-to-proyek/update/").concat(t)},je=function(t){return"".concat(W,"/user-to-proyek/delete/").concat(t)},Ee=("".concat(W,"/user-to-proyek/list"),function(t,n){return"".concat(W,"/image/").concat(t,"/").concat(n)}),_e="".concat(W,"/image/search"),Pe="".concat(J,"/api/assets/image"),Se=("".concat(W,"/dashboard/cost-planning-actual"),"".concat(W,"/dashboard/percentage-planning-actual"),"".concat(W,"/report-activity/search-point")),ze="".concat(W,"/dashboard/status-proyek"),Le="".concat(W,"/activity/get-curva-s"),Ie="".concat(W,"/currency/list"),De="".concat(W,"/activity/get-percentage"),Oe="".concat(W,"/folder-document-proyek/add"),Re=("".concat(W,"/folder-document-proyek/search"),function(t){return"".concat(W,"/folder-document-proyek/delete/").concat(t)}),Ce=function(t){return"".concat(W,"/folder-document-proyek/get-tree/").concat(t)},Me=("".concat(W,"/project-to-checklist-k3/add"),"".concat(W,"/project-to-checklist-k3/add-multiple")),Ne="".concat(W,"/project-to-checklist-k3/search"),Ae=("".concat(W,"/project-to-checklist-k3/list"),"".concat(W,"/control-monitoring/search")),Ge=("".concat(W,"/panic-button"),"".concat(W,"/panic-button/search")),Te=function(t){return"".concat(W,"/panic-button/update/").concat(t)},qe="".concat(W,"/waypoint/search")},908: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(649);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"})}}]);