Skip to content
Snippets Groups Projects
Commit 47df3dab authored by Ismail's avatar Ismail
Browse files

Build application for deployment!

parent 042ff19a
No related branches found
No related tags found
No related merge requests found
Showing
with 329 additions and 65 deletions
asset-manifest.json,1599473091672,e3ac587d580eba17f124ece7468113febc93cd84844d6c42833f4e30e89ab6fc
index.html,1599473091969,f90078bd1ec1df867e9f69729f428b56215979cd06e248abc33bc44a1ce54e1f
manifest.json,1599473092177,a40a4294484385ec155814f7d72caf5967a19f5efcbedf7a62b2cdff07e42711
precache-manifest.aa0999fd0bdd6b5de919e39be00ab31c.js,1599473092306,f99b1233da0d3a462cfde3266fddc98ea4bf495499eaa72eba4fd2aa25688935
service-worker.js,1599473092385,442742bcea4825ef72ce12d155f354e27544717ebe38c988578afd9c6caf0b0f
static/css/main.d47afa21.chunk.css,1599472979244,878aae7b13cdf5fad34f227207a86fdfba3f44516418d422024ccb969520952e
favicon.png,1599473091817,6f7536a160a81cc015f1b20967a5f184b92fb9f9576f49c7deb5c2dc896724a6
static/css/main.d47afa21.chunk.css.map,1599472979277,03ea08e7d4e7aedd6832c99e7717057f5053fe338f08db2f069a86767b7d87cd
static/js/2.ca5c7353.chunk.js.LICENSE.txt,1599472979277,0663d73cd2693160f98261ecca57a44024af82636b941f2dfa8d8287954c7f50
static/js/main.280151a0.chunk.js,1599472979284,5b7ce09a2c0e8b85133679ce39bf4977d93c4e26474430421211a2edcb5d2103
static/js/runtime-main.8b921b3d.js,1599472979284,4a3ec325d9734a542b4bdb94b1e73d3386f5aa185f66c1b969598e82f02a16a6
static/js/runtime-main.8b921b3d.js.map,1599472979277,d967acfc52929f96bbcaf9f765c462ab787733e62dc72d69751a495d2f8effb6
static/media/header-logo.c7ded9aa.png,1599472979251,7c0578a10406a1d016890662a21e4e07468c092cc31ccd9aae2c0d953f24211e
static/js/main.280151a0.chunk.js.map,1599472979277,40971efaca990104978b580a2deb9057188e17952c6379fbaa59a647af7d5e4a
static/js/2.ca5c7353.chunk.js,1599472979252,b99c46b1b1729923abd70fb45f6af1c1dec9d4c8f460ccc502e4e32b82156ee7
static/js/2.ca5c7353.chunk.js.map,1599472979286,d560907c7bc06bb45c3ad1c6f850be59ffa3096476134e1d034bd42347670d58
{
"files": {
"main.css": "/static/css/main.d47afa21.chunk.css",
"main.js": "/static/js/main.280151a0.chunk.js",
"main.js.map": "/static/js/main.280151a0.chunk.js.map",
"runtime-main.js": "/static/js/runtime-main.8b921b3d.js",
"runtime-main.js.map": "/static/js/runtime-main.8b921b3d.js.map",
"static/js/2.ca5c7353.chunk.js": "/static/js/2.ca5c7353.chunk.js",
"static/js/2.ca5c7353.chunk.js.map": "/static/js/2.ca5c7353.chunk.js.map",
"index.html": "/index.html",
"precache-manifest.aa0999fd0bdd6b5de919e39be00ab31c.js": "/precache-manifest.aa0999fd0bdd6b5de919e39be00ab31c.js",
"service-worker.js": "/service-worker.js",
"static/css/main.d47afa21.chunk.css.map": "/static/css/main.d47afa21.chunk.css.map",
"static/js/2.ca5c7353.chunk.js.LICENSE.txt": "/static/js/2.ca5c7353.chunk.js.LICENSE.txt",
"static/media/header-logo.png": "/static/media/header-logo.c7ded9aa.png"
},
"entrypoints": [
"static/js/runtime-main.8b921b3d.js",
"static/js/2.ca5c7353.chunk.js",
"static/css/main.d47afa21.chunk.css",
"static/js/main.280151a0.chunk.js"
]
}
\ No newline at end of file
employeemanagement/dist/favicon.png

10.4 KiB

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Welcome to Firebase Hosting</title>
<!-- update the version number as needed -->
<script defer src="/__/firebase/7.19.1/firebase-app.js"></script>
<!-- include only the Firebase features as you need -->
<script defer src="/__/firebase/7.19.1/firebase-auth.js"></script>
<script defer src="/__/firebase/7.19.1/firebase-database.js"></script>
<script defer src="/__/firebase/7.19.1/firebase-messaging.js"></script>
<script defer src="/__/firebase/7.19.1/firebase-storage.js"></script>
<!-- initialize the SDK after all desired features are loaded -->
<script defer src="/__/firebase/init.js"></script>
<style media="screen">
body { background: #ECEFF1; color: rgba(0,0,0,0.87); font-family: Roboto, Helvetica, Arial, sans-serif; margin: 0; padding: 0; }
#message { background: white; max-width: 360px; margin: 100px auto 16px; padding: 32px 24px; border-radius: 3px; }
#message h2 { color: #ffa100; font-weight: bold; font-size: 16px; margin: 0 0 8px; }
#message h1 { font-size: 22px; font-weight: 300; color: rgba(0,0,0,0.6); margin: 0 0 16px;}
#message p { line-height: 140%; margin: 16px 0 24px; font-size: 14px; }
#message a { display: block; text-align: center; background: #039be5; text-transform: uppercase; text-decoration: none; color: white; padding: 16px; border-radius: 4px; }
#message, #message a { box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); }
#load { color: rgba(0,0,0,0.4); text-align: center; font-size: 13px; }
@media (max-width: 600px) {
body, #message { margin-top: 0; background: white; box-shadow: none; }
body { border-top: 16px solid #ffa100; }
}
</style>
</head>
<body>
<div id="message">
<h2>Welcome</h2>
<h1>Firebase Hosting Setup Complete</h1>
<p>You're seeing this because you've successfully setup Firebase Hosting. Now it's time to go build something extraordinary!</p>
<a target="_blank" href="https://firebase.google.com/docs/hosting/">Open Hosting Documentation</a>
</div>
<p id="load">Firebase SDK Loading&hellip;</p>
<script>
document.addEventListener('DOMContentLoaded', function() {
// // 🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
// // The Firebase SDK is initialized and available here!
//
// firebase.auth().onAuthStateChanged(user => { });
// firebase.database().ref('/path/to/ref').on('value', snapshot => { });
// firebase.messaging().requestPermission().then(() => { });
// firebase.storage().ref('/path/to/ref').getDownloadURL().then(() => { });
//
// // 🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
try {
let app = firebase.app();
let features = ['auth', 'database', 'messaging', 'storage'].filter(feature => typeof app[feature] === 'function');
document.getElementById('load').innerHTML = `Firebase SDK loaded with ${features.join(', ')}`;
} catch (e) {
console.error(e);
document.getElementById('load').innerHTML = 'Error loading the Firebase SDK, check the console.';
}
});
</script>
</body>
</html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous"/><title>EmployeeManagement</title><link href="/static/css/main.d47afa21.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function t(t){for(var n,l,a=t[0],p=t[1],f=t[2],c=0,s=[];c<a.length;c++)l=a[c],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in p)Object.prototype.hasOwnProperty.call(p,n)&&(e[n]=p[n]);for(i&&i(t);s.length;)s.shift()();return u.push.apply(u,f||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,a=1;a<r.length;a++){var p=r[a];0!==o[p]&&(n=!1)}n&&(u.splice(t--,1),e=l(l.s=r[0]))}return e}var n={},o={1:0},u=[];function l(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,l),r.l=!0,r.exports}l.m=e,l.c=n,l.d=function(e,t,r){l.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,t){if(1&t&&(e=l(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(l.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)l.d(r,n,function(t){return e[t]}.bind(null,n));return r},l.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(t,"a",t),t},l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},l.p="/";var a=this.webpackJsonpemployeemanagement=this.webpackJsonpemployeemanagement||[],p=a.push.bind(a);a.push=t,a=a.slice();for(var f=0;f<a.length;f++)t(a[f]);var i=p;r()}([])</script><script src="/static/js/2.ca5c7353.chunk.js"></script><script src="/static/js/main.280151a0.chunk.js"></script></body></html>
\ No newline at end of file
{
"short_name": "React App",
"name": "Create React App Sample",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": "3a09675dd211564bab6363f71b88a976",
"url": "/index.html"
},
{
"revision": "494c2811d74f5ed15507",
"url": "/static/css/main.d47afa21.chunk.css"
},
{
"revision": "650be8964ab3f29adcc7",
"url": "/static/js/2.ca5c7353.chunk.js"
},
{
"revision": "d56f7d70e49a582c3cb88e84fa36367e",
"url": "/static/js/2.ca5c7353.chunk.js.LICENSE.txt"
},
{
"revision": "494c2811d74f5ed15507",
"url": "/static/js/main.280151a0.chunk.js"
},
{
"revision": "be0142383f6ffe38e052",
"url": "/static/js/runtime-main.8b921b3d.js"
},
{
"revision": "c7ded9aaa375492fdb182abb8d274d25",
"url": "/static/media/header-logo.c7ded9aa.png"
}
]);
\ No newline at end of file
/**
* Welcome to your Workbox-powered service worker!
*
* You'll need to register this file in your web app and you should
* disable HTTP caching for this file too.
* See https://goo.gl/nhQhGp
*
* The rest of the code is auto-generated. Please don't update this file
* directly; instead, make changes to your Workbox build configuration
* and re-run your build process.
* See https://goo.gl/2aRDsh
*/
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
importScripts(
"/precache-manifest.aa0999fd0bdd6b5de919e39be00ab31c.js"
);
self.addEventListener('message', (event) => {
if (event.data && event.data.type === 'SKIP_WAITING') {
self.skipWaiting();
}
});
workbox.core.clientsClaim();
/**
* The workboxSW.precacheAndRoute() method efficiently caches and responds to
* requests for URLs in the manifest.
* See https://goo.gl/S9QRab
*/
self.__precacheManifest = [].concat(self.__precacheManifest || []);
workbox.precaching.precacheAndRoute(self.__precacheManifest, {});
workbox.routing.registerNavigationRoute(workbox.precaching.getCacheKeyForURL("/index.html"), {
blacklist: [/^\/_/,/\/[^/?]+\.[^/]+$/],
});
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:source-code-pro,Menlo,Monaco,Consolas,"Courier New",monospace}.login-wrap{width:400px;margin:0 auto;background:#3b96eb;padding:30px;top:110px;position:relative}.logo-login{width:140px}#header .row{background:#3b96eb;padding:10px}.btn-logout{margin:3px;padding:15px}.navbar h5{color:#fff;margin:0;padding:10px}.btn-special{width:120px;height:100px}#content{min-height:500px}#content .row{margin:50px 0}
/*# sourceMappingURL=main.d47afa21.chunk.css.map */
\ No newline at end of file
{"version":3,"sources":["index.css"],"names":[],"mappings":"AAAA,KACE,QAAS,CACT,mJAEY,CACZ,kCAAmC,CACnC,iCACF,CAEA,KACE,yEAEF,CAGA,YACE,WAAY,CACZ,aAAa,CACb,kBAAmB,CACnB,YAAa,CACb,SAAS,CACT,iBACF,CAEA,YACE,WACF,CAGA,aACE,kBAAmB,CACnB,YACF,CAEA,YACE,UAAW,CACX,YACF,CAEA,WACE,UAAY,CACZ,QAAW,CACX,YACF,CAGA,aACE,WAAY,CACZ,YACF,CAEA,SACE,gBACF,CAEA,cACE,aACF","file":"main.d47afa21.chunk.css","sourcesContent":["body {\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',\n 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',\n sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\ncode {\n font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',\n monospace;\n}\n\n/*signin*/\n.login-wrap{\n width: 400px;\n margin:0 auto;\n background: #3b96eb;\n padding: 30px;\n top:110px;\n position: relative;\n}\n\n.logo-login{\n width: 140px;\n}\n\n/*navbar*/\n#header .row{\n background: #3b96eb;\n padding: 10px;\n}\n\n.btn-logout{\n margin: 3px;\n padding: 15px;\n}\n\n.navbar h5{\n color: white;\n margin: 0px;\n padding: 10px;\n}\n\n/*manageshift*/\n.btn-special{\n width: 120px;\n height: 100px;\n}\n\n#content{\n min-height: 500px;\n}\n\n#content .row{\n margin: 50px 0px;\n}\n"]}
\ No newline at end of file
This diff is collapsed.
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */
/**
* @license
* Copyright 2017 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @license
* Copyright 2017 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @license
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @license
* Copyright 2017 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @license
* Copyright 2018 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @license
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @license
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/** @license React v0.19.1
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v16.13.1
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v16.13.1
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
//! moment.js
This diff is collapsed.
(this.webpackJsonpemployeemanagement=this.webpackJsonpemployeemanagement||[]).push([[0],{211:function(e,t,a){e.exports=a.p+"static/media/header-logo.c7ded9aa.png"},215:function(e,t,a){e.exports=a(409)},220:function(e,t,a){},409:function(e,t,a){"use strict";a.r(t);var n=a(14),r=a(0),s=a.n(r),c=a(87),l=a.n(c),o=(a(220),a(44)),i=a(45),m=a(47),u=a(46),d=a(211),f=a.n(d),h=a(19),b=a(4),p=function(e){Object(m.a)(a,e);var t=Object(u.a)(a);function a(){var e;Object(o.a)(this,a);for(var r=arguments.length,s=new Array(r),c=0;c<r;c++)s[c]=arguments[c];return(e=t.call.apply(t,[this].concat(s))).state={email:"",password:""},e.handleChange=function(t){e.setState(Object(n.a)({},t.target.id,t.target.value))},e.handleSubmit=function(t){t.preventDefault(),e.props.signIn(e.state)},e}return Object(i.a)(a,[{key:"render",value:function(){var e=this.props,t=e.authError;return e.auth.uid?s.a.createElement(b.a,{to:"/"}):s.a.createElement("div",{className:"Login"},s.a.createElement("div",{className:"login-wrap"},s.a.createElement("div",{className:"text-center"},s.a.createElement("img",{src:f.a,alt:"Logo",className:"logo-login"})),s.a.createElement("form",{onSubmit:this.handleSubmit},s.a.createElement("div",{className:"form-group"},s.a.createElement("label",{htmlFor:"email"},"Email:"),s.a.createElement("input",{type:"email",className:"form-control",id:"email",onChange:this.handleChange,placeholder:"Enter email",name:"email"})),s.a.createElement("div",{className:"form-group"},s.a.createElement("label",{htmlFor:"pwd"},"Password:"),s.a.createElement("input",{type:"password",className:"form-control",id:"password",onChange:this.handleChange,placeholder:"Enter password",name:"pwd"})),s.a.createElement("button",{className:"btn btn-primary"},"Submit"),s.a.createElement("div",{className:"form-group"},t?s.a.createElement("label",{className:"error text-danger"}," ",t," "):null))))}}]),a}(r.Component),E=Object(h.b)((function(e){return{authError:e.auth.authError,auth:e.firebase.auth}}),(function(e){return{signIn:function(t){return e(function(e){return function(t,a,n){(0,n.getFirebase)().auth().signInWithEmailAndPassword(e.email,e.password).then((function(){t({type:"LOGIN_SUCCESS"})})).catch((function(e){t({type:"LOGIN_FAIL",err:e})}))}}(t))}}}))(p),g=a(43),v=Object(h.b)(null,(function(e){return{signOut:function(){return e((function(e,t,a){(0,a.getFirebase)().auth().signOut().then((function(){e({type:"LOGOUT_SUCCESS"})})).catch((function(t){e({type:"LOGOUT_FAIL",err:t})}))}))}}}))((function(e){return s.a.createElement("nav",{className:"navbar navbar-expand-lg navbar-light bg-primary"},s.a.createElement("div",{className:"container"},s.a.createElement(g.b,{className:"navbar-brand",to:"/"},s.a.createElement("h5",null,"Employee Management")),s.a.createElement("h5",{className:"text-center"},"Welcome ",e.profile.firstName," ",e.profile.lastName),s.a.createElement("button",{type:"button",onClick:e.signOut,className:"btn btn-success btn-sm float-right btn-logout"},"Logout")))})),S=a(1),y=a.n(S),N=a(24),H=function(e){Object(m.a)(a,e);var t=Object(u.a)(a);function a(){var e;Object(o.a)(this,a);for(var r=arguments.length,s=new Array(r),c=0;c<r;c++)s[c]=arguments[c];return(e=t.call.apply(t,[this].concat(s))).state={date:null,empId:e.props.uid,startShift:"",startBreak:"",endBreak:"",endShift:"",stateSet:!1},e.handleCreatEvent=function(t){1==window.confirm("Do you really want to "+t.target.id+"?")&&e.setState(Object(n.a)({},t.target.id,y()().format("MM/DD/YYYY HH:mm:ss")),(function(){e.props.createWork(e.state)}))},e.handleUpdateEvent=function(t){1==window.confirm("Do you really want to "+t.target.id+"?")&&e.setState(Object(n.a)({},t.target.id,y()().format("MM/DD/YYYY HH:mm:ss")),(function(){e.props.updateWork(e.state)}))},e}return Object(i.a)(a,[{key:"UNSAFE_componentWillReceiveProps",value:function(){var e=this;this.props.todayList&&!this.state.stateSet&&this.setState(this.props.todayList[0],(function(){e.setState({stateSet:!0})}))}},{key:"render",value:function(){var e=this,t=this.props.todayList&&this.props.todayList.length?this.props.todayList&&this.props.todayList.map((function(t){var a=""!==t.startShift?s.a.createElement("button",{disabled:!0,type:"button",className:"btn btn-success btn-sm btn-special"},"Start Work"):s.a.createElement("button",{onClick:e.handleCreatEvent,id:"startShift",type:"button",className:"btn btn-success btn-sm btn-special"},"Start Work"),n=""===t.startBreak&&""===t.startShift?s.a.createElement("button",{disabled:!0,type:"button",className:"btn btn-success btn-sm btn-special"},"Start Lunch Break"):s.a.createElement("button",{onClick:e.handleUpdateEvent,id:"startBreak",type:"button",className:"btn btn-success btn-sm btn-special"},"Start Lunch Break"),r=""===t.endBreak&&""===t.startBreak?s.a.createElement("button",{disabled:!0,type:"button",className:"btn btn-success btn-sm btn-special"},"Lunch Break Finish"):s.a.createElement("button",{onClick:e.handleUpdateEvent,id:"endBreak",type:"button",className:"btn btn-success btn-sm btn-special"},"Lunch Break Finish"),c=""===t.endShift&&""===t.endBreak?s.a.createElement("button",{disabled:!0,type:"button",className:"btn btn-success btn-sm btn-special"},"Close Work"):s.a.createElement("button",{onClick:e.handleUpdateEvent,id:"endShift",type:"button",className:"btn btn-success btn-sm btn-special"},"Close Work");return s.a.createElement("div",{className:"row",key:t.id},s.a.createElement("div",{className:"col-3 text-center"},a),s.a.createElement("div",{className:"col-3 text-center"},n),s.a.createElement("div",{className:"col-3 text-center"},r),s.a.createElement("div",{className:"col-3 text-center"},c))})):s.a.createElement("div",{className:"row"},s.a.createElement("div",{className:"col-3 text-center"},s.a.createElement("button",{onClick:this.handleCreatEvent,id:"startShift",type:"button",className:"btn btn-success btn-sm btn-special"},"Start Work")),s.a.createElement("div",{className:"col-3 text-center"},s.a.createElement("button",{disabled:!0,type:"button",className:"btn btn-success btn-sm btn-special"},"Start Lunch Break")),s.a.createElement("div",{className:"col-3 text-center"},s.a.createElement("button",{disabled:!0,type:"button",className:"btn btn-success btn-sm btn-special"},"Lunch Break Finish")),s.a.createElement("div",{className:"col-3 text-center"},s.a.createElement("button",{disabled:!0,type:"button",className:"btn btn-success btn-sm btn-special"},"Close Work")));return s.a.createElement("div",{className:"container"}," ",t)}}]),a}(r.Component),k=Object(h.b)(null,(function(e){return{createWork:function(t){return e((a=t,function(e,t,n){n.getFirebase;var r=(0,n.getFirestore)(),s=t().firebase.auth.uid;r.collection("Shifts").add(Object(N.a)(Object(N.a)({},a),{},{empId:s,date:y()().format("MM/DD/YYYY")})).then((function(){e({type:"ADD_SHIFT",shift:a})})).catch((function(t){e({type:"ADD_SHIFT_ERROR",err:t})}))}));var a},updateWork:function(t){return e((a=t,function(e,t,n){n.getFirebase;var r=(0,n.getFirestore)();r.collection("Shifts").where("empId","==",a.empId).get().then((function(t){t.forEach((function(t){var n=t.data();new Date(n.date).toLocaleDateString()==(new Date).toLocaleDateString()&&(a.date=n.date,r.collection("Shifts").doc(t.id).update(a).then((function(){e({type:"UPDATE_SHIFT",shift:a})})).catch((function(t){e({type:"UPDATE_SHIFT_ERROR",err:t})})))}))}))}));var a}}}))(H),O=a(214),w=function(e){var t=e.workList,a=e.schedule;var n=a&&a.length?s.a.createElement("h5",{className:"text-center"},"Expected work: ",a[0].sShift," to ",a[0].sEnd,", ",y.a.utc(y()(a[0].sEnd,"HH:mm:ss").diff(y()(a[0].sShift,"HH:mm:ss"))).format("HH:mm")," Hours with ",y.a.utc(y()(a[0].lbEnd,"HH:mm:ss").diff(y()(a[0].lbStart,"HH:mm:ss"))).format("HH:mm")," Hour lunch break"):s.a.createElement("h5",{className:"text-center"},"No time schedule added!"),r=t&&t.length?t&&t.map((function(e,t){var n=""!==e.endBreak?y.a.utc(y()(e.endBreak,"MM/DD/YYYY HH:mm:ss").diff(y()(e.startBreak,"MM/DD/YYYY HH:mm:ss"))).format("HH:mm:ss"):"-",r=""!==e.endShift?y.a.utc(y()(e.endShift,"MM/DD/YYYY HH:mm:ss").diff(y()(e.startShift,"MM/DD/YYYY HH:mm:ss"))).format("HH:mm:ss"):"-",c=y.a.utc(y()(e.startBreak,"MM/DD/YYYY HH:mm:ss").diff(y()(e.startShift,"MM/DD/YYYY HH:mm:ss"))).format("HH:mm:ss"),l=y.a.utc(y()(e.endShift,"MM/DD/YYYY HH:mm:ss").diff(y()(e.endBreak,"MM/DD/YYYY HH:mm:ss"))).format("HH:mm:ss"),o=""!==e.endShift?function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=function(e){return(e<10?"0":"")+e},n=0,r=0,s=0,c=Object(O.a)(t);try{for(c.s();!(e=c.n()).done;){var l=e.value,o=l.split(":");n+=parseInt(o[0]),r+=parseInt(o[1]),s+=parseInt(o[2])}}catch(d){c.e(d)}finally{c.f()}var i=s%60,m=parseInt(r%60)+parseInt(s/60),u=n+parseInt(r/60);return a(u)+":"+a(m)+":"+a(i)}([c,l]):"-",i=a&&a.length?y.a.utc(y()(a[0].sEnd,"HH:mm:ss").diff(y()(a[0].sShift,"HH:mm:ss"))).format("HH:mm"):"-",m=""!==e.endShift?y.a.utc(y()(i,"HH:mm:ss").diff(y()(o,"HH:mm:ss"))).format("HH:mm:ss"):"-";return s.a.createElement("tr",{className:"collection-item",key:t},s.a.createElement("th",{scope:"row"},e.date),s.a.createElement("td",null,e.startShift.substring(10,20)),s.a.createElement("td",null,e.startBreak.substring(10,20)),s.a.createElement("td",null,e.endBreak.substring(10,20)),s.a.createElement("td",null,e.endShift.substring(10,20)),s.a.createElement("th",null,n),s.a.createElement("th",null,o),s.a.createElement("th",null,r),s.a.createElement("th",null,m))})):s.a.createElement("tr",null,s.a.createElement("td",{colSpan:"9",className:"text-center"},"No work exist!"));return s.a.createElement("div",{className:"container"},s.a.createElement("h2",{className:"text-center"},"Work report"),n,s.a.createElement("table",{className:"table table-striped"},s.a.createElement("thead",null,s.a.createElement("tr",null,s.a.createElement("th",{scope:"col"},"Date"),s.a.createElement("th",{scope:"col"},"Start time"),s.a.createElement("th",{scope:"col"},"Lunch time"),s.a.createElement("th",{scope:"col"},"Lunch end time"),s.a.createElement("th",{scope:"col"},"Work end"),s.a.createElement("th",{scope:"col"},"Total Break"),s.a.createElement("th",{scope:"col"},"Total work"),s.a.createElement("th",{scope:"col"},"Break + Work"),s.a.createElement("th",{scope:"col"},"Difference"))),s.a.createElement("tbody",{className:"workList"},r)))},Y=a(32),D=a(20),L=function(e){var t=e.notify;return s.a.createElement("nav",{className:"bg-primary pt-3 pb-3"},s.a.createElement("div",{className:"container text-white"},s.a.createElement("h4",{className:"text-center"},"Notifications"),s.a.createElement("ul",{className:"list-unstyled"},t&&t.map((function(e){return s.a.createElement("li",{key:e.id},s.a.createElement("span",{className:"text-dark"},e.name," "),s.a.createElement("span",null,e.title," "),s.a.createElement("div",null,y()(e.timeStamp.toDate()).fromNow()))})))))},j=function(e){Object(m.a)(a,e);var t=Object(u.a)(a);function a(){return Object(o.a)(this,a),t.apply(this,arguments)}return Object(i.a)(a,[{key:"render",value:function(){var e=this.props,t=e.profile,a=e.auth,n=e.shiftList,r=e.schedule,c=e.notifyalerts,l=n&&n.length?n.filter((function(e){return e.empId==a.uid})):null,o=l&&l.length?l.filter((function(e){return e.date===y()().format("MM/DD/YYYY")})):null;return a.uid?s.a.createElement("div",{id:"content"},s.a.createElement(v,{profile:t}),s.a.createElement("div",{className:"row"},s.a.createElement("div",{className:"col-9"},s.a.createElement(k,{uid:a.uid,todayList:o}),s.a.createElement(w,{workList:l,schedule:r})),s.a.createElement("div",{className:"col-3"},s.a.createElement(L,{notify:c})))):s.a.createElement(b.a,{to:"/signin"})}}]),a}(r.Component),I=Object(D.d)(Object(Y.firestoreConnect)([{collection:"Shifts",orderBy:["date","desc"]},{collection:"schedule"},{collection:"notifyalerts",limit:3,orderBy:["timeStamp","desc"]}]),Object(h.b)((function(e){return console.log(e),{shiftList:e.firestore.ordered.Shifts,schedule:e.firestore.ordered.schedule,auth:e.firebase.auth,profile:e.firebase.profile,notifyalerts:e.firestore.ordered.notifyalerts}})))(j);var F=function(){return s.a.createElement(g.a,null,s.a.createElement("div",{className:"App"},s.a.createElement(b.d,null,s.a.createElement(b.b,{exact:!0,path:"/",component:I}),s.a.createElement(b.b,{path:"/signin",component:E}))))};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 B={},C=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:B,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"LOGIN_FAIL":return Object(N.a)(Object(N.a)({},e),{},{authError:"Login Failed"});case"LOGIN_SUCCESS":return Object(N.a)(Object(N.a)({},e),{},{authError:null});case"LOGOUT_FAIL":return console.log("Log Out Error"),e;case"LOGOUT_SUCCESS":return console.log("Log Out success"),e;default:return e}},M={},x=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:M,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_SHIFT":return console.log("New shift added",t.shift),e;case"ADD_SHIFT_ERROR":return console.log("New shift error",t.shift),e;case"UPDATE_SHIFT":return console.log("update shift",t.shift),e;case"UPDATE_SHIFT_ERROR":return console.log("update shift error",t.shift),e;default:return e}},A=a(48),T=Object(D.c)({auth:C,shift:x,firestore:A.firestoreReducer,firebase:Y.firebaseReducer}),_=a(213),R=a(61),U=a.n(R);a(404),a(407);U.a.initializeApp({apiKey:"AIzaSyAry7MArQ9-TkTDcATY2Kwv8YjjgwgHGto",authDomain:"empmanagement-f22f5.firebaseapp.com",databaseURL:"https://empmanagement-f22f5.firebaseio.com",projectId:"empmanagement-f22f5",storageBucket:"empmanagement-f22f5.appspot.com",messagingSenderId:"616293836284",appId:"1:616293836284:web:9f4a793b852ff76a4f3e79",measurementId:"G-ZMP3509V4F"});var W,P=U.a,G=Object(D.e)(T,Object(D.d)(Object(D.a)(_.a.withExtraArgument({getFirebase:Y.getFirebase,getFirestore:A.getFirestore})),Object(A.reduxFirestore)(P))),z=(W={firebase:U.a,config:P},Object(n.a)(W,"config",{userProfile:"Employees",useFirestoreForProfile:!0,enableRedirectHandling:!1,resetBeforeLogin:!1}),Object(n.a)(W,"dispatch",G.dispatch),Object(n.a)(W,"createFirestoreInstance",A.createFirestoreInstance),W);l.a.render(s.a.createElement(s.a.StrictMode,null,s.a.createElement(h.a,{store:G},s.a.createElement(Y.ReactReduxFirebaseProvider,z,s.a.createElement(F,null)))),document.getElementById("root")),"serviceWorker"in navigator&&navigator.serviceWorker.ready.then((function(e){e.unregister()})).catch((function(e){console.error(e.message)}))}},[[215,1,2]]]);
//# sourceMappingURL=main.280151a0.chunk.js.map
\ No newline at end of file
This diff is collapsed.
!function(e){function t(t){for(var n,l,a=t[0],p=t[1],f=t[2],c=0,s=[];c<a.length;c++)l=a[c],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in p)Object.prototype.hasOwnProperty.call(p,n)&&(e[n]=p[n]);for(i&&i(t);s.length;)s.shift()();return u.push.apply(u,f||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,a=1;a<r.length;a++){var p=r[a];0!==o[p]&&(n=!1)}n&&(u.splice(t--,1),e=l(l.s=r[0]))}return e}var n={},o={1:0},u=[];function l(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,l),r.l=!0,r.exports}l.m=e,l.c=n,l.d=function(e,t,r){l.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},l.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,t){if(1&t&&(e=l(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(l.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)l.d(r,n,function(t){return e[t]}.bind(null,n));return r},l.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(t,"a",t),t},l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},l.p="/";var a=this.webpackJsonpemployeemanagement=this.webpackJsonpemployeemanagement||[],p=a.push.bind(a);a.push=t,a=a.slice();for(var f=0;f<a.length;f++)t(a[f]);var i=p;r()}([]);
//# sourceMappingURL=runtime-main.8b921b3d.js.map
\ No newline at end of file
{"version":3,"sources":["../webpack/bootstrap"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","1","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","this","oldJsonpFunction","slice"],"mappings":"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","file":"static/js/runtime-main.8b921b3d.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t1: 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \tvar jsonpArray = this[\"webpackJsonpemployeemanagement\"] = this[\"webpackJsonpemployeemanagement\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// run deferred modules from other chunks\n \tcheckDeferredModules();\n"],"sourceRoot":""}
\ No newline at end of file
employeemanagement/dist/static/media/header-logo.c7ded9aa.png

10 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment