Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 3.137.219.213
{"version":3,"file":"static/js/296.79ef5bae.chunk.js","mappings":"iLAIA,MAUA,EAVgBA,KAEZC,EAAAA,EAAAA,KAACC,EAAAA,EAAI,CACHC,WACEF,EAAAA,EAAAA,KAACG,EAAAA,EAAe,CAACC,MAAO,CAAEC,SAAU,GAAIC,MAAO,SAAWC,MAAI,MCgBtE,EArBeC,IAAmC,IAAlC,KAAEC,EAAI,QAAEC,EAAO,UAAEC,GAAWH,EAC1C,OACER,EAAAA,EAAAA,KAAA,OAAAY,SACGD,GACCX,EAAAA,EAAAA,KAAA,OAAKa,UAAU,SAAST,MAAO,CAAEU,WAAY,IAAKF,UAChDZ,EAAAA,EAAAA,KAACD,EAAO,OAGVC,EAAAA,EAAAA,KAAA,OAAAY,UACEZ,EAAAA,EAAAA,KAAA,SACEe,KAAK,SACLF,UAAU,SACVG,MAAOP,EACPC,QAASA,OAIX,C,k6OChBV,MAkBA,EAlBeO,KAEXjB,EAAAA,EAAAA,KAAA,OACEI,MAAO,CACLc,QAAS,OACTC,eAAgB,SAChBC,WAAY,SACZC,OAAQ,OACRC,WAAY,eACZV,UAEFZ,EAAAA,EAAAA,KAACuB,IAAM,CACLC,cAAeC,EACfrB,MAAO,CAAEiB,OAAQ,QAASK,MAAO,aCUzC,GAAeC,EAAAA,EAAAA,KANUC,IAChB,CACLC,KAAMD,EAAME,YAAYC,YAI5B,EApBcC,IAOVC,EAAAA,EAAAA,MAAA,OAAKpB,UAAU,kBAAiBD,SAAA,EAC9BZ,EAAAA,EAAAA,KAACkC,EAAAA,EAAM,CAACzB,KAAK,OAAOC,QAASA,IAPfyB,MAChB,MAAMC,EAAMC,EAAAA,EAAAA,sBAAwCL,EAAMH,KAAKS,WAC/DC,EAAAA,EAAAA,GAAQH,EAAI,EAKyBD,MACnCnC,EAAAA,EAAAA,KAACiB,EAAM,Q","sources":["Components/Spinner.js","Components/Button.js","Components/Loader.js","Pages/Home/Home.js"],"sourcesContent":["import React from \"react\";\nimport { LoadingOutlined } from \"@ant-design/icons\";\nimport { Spin } from \"antd\";\n\nconst Spinner = () => {\n return (\n <Spin\n indicator={\n <LoadingOutlined style={{ fontSize: 30, color: \"white\" }} spin />\n }\n />\n );\n};\n\nexport default Spinner;\n","import React from \"react\";\nimport Spinner from \"./Spinner\";\n\nconst Button = ({ text, onClick, isLoading }) => {\n return (\n <div>\n {isLoading ? (\n <div className=\"button\" style={{ paddingTop: 10 }}>\n <Spinner />\n </div>\n ) : (\n <div>\n <input\n type=\"submit\"\n className=\"button\"\n value={text}\n onClick={onClick}\n />\n </div>\n )}\n </div>\n );\n};\n\nexport default Button;\n","import React from \"react\";\nimport ALoader from \"../Components/assets/Loader.json\";\nimport Lottie from \"lottie-react\";\n\nconst Loader = () => {\n return (\n <div\n style={{\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n height: \"80vh\",\n background: \"transparent\",\n }}\n >\n <Lottie\n animationData={ALoader}\n style={{ height: \"200px\", width: \"200px\" }}\n />\n </div>\n );\n};\nexport default Loader;\n","import React from \"react\";\nimport Button from \"../../Components/Button\";\nimport { Confirm } from \"../../Components/Alert\";\nimport { base_url } from \"../../Components/consts/api\";\nimport { connect } from \"react-redux\";\nimport Loader from \"../../Components/Loader\";\n\nconst Home = (props) => {\n const openAlert = () => {\n const api = base_url + \"getCmenus\" + \"&usertype=\" + props.user.fusertype;\n Confirm(api);\n };\n\n return (\n <div className=\"container-fluid\">\n <Button text=\"Open\" onClick={() => openAlert()} />\n <Loader />\n </div>\n );\n};\n\nconst mapStateToProps = (state) => {\n return {\n user: state.AuthReducer.userData,\n };\n};\n\nexport default connect(mapStateToProps)(Home);\n"],"names":["Spinner","_jsx","Spin","indicator","LoadingOutlined","style","fontSize","color","spin","_ref","text","onClick","isLoading","children","className","paddingTop","type","value","Loader","display","justifyContent","alignItems","height","background","Lottie","animationData","ALoader","width","connect","state","user","AuthReducer","userData","props","_jsxs","Button","openAlert","api","base_url","fusertype","Confirm"],"sourceRoot":""}
|