diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index 6103978..ccd74ef 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -54,7 +54,7 @@ jobs: PORT: 5000 SECRET_OR_KEY: test_secret - building: + deploy: needs: [testing] runs-on: ubuntu-latest @@ -67,17 +67,17 @@ jobs: with: node-version: "14.x" - - name: Build server - run: cd ./server && npm install && tsc + # - name: Build server + # run: cd ./server && npm install && tsc - - name: Install dependencies - run: cd ./client && npm install + # - name: Install dependencies + # run: cd ./client && npm install - - name: Build - run: cd ./client && npm run build + # - name: Build + # run: cd ./client && npm run build - - name: Copy - run: cd ./client && cp -r build/ ../server/dist + # - name: Copy + # run: cd ./client && cp -r build/ ../server/dist - name: Deploy uses: johnbeynon/render-deploy-action@v0.0.8 diff --git a/.gitignore b/.gitignore index 108095e..73de8ce 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,5 @@ node_modules server/config client/build server/src/build -server/dist .env package \ No newline at end of file diff --git a/server/dist/app.js b/server/dist/app.js new file mode 100644 index 0000000..ccfbe56 --- /dev/null +++ b/server/dist/app.js @@ -0,0 +1,30 @@ +"use strict"; +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const server_1 = __importDefault(require("./server")); +const server = (0, server_1.default)(); +function main() { + return __awaiter(this, void 0, void 0, function* () { + try { + const port = process.env.PORT || 5000; + yield server.listen(port); + console.log(`Server run on port ${port}`); + } + catch (e) { + console.error(e); + process.exit(1); + } + }); +} +main(); diff --git a/server/dist/build/asset-manifest.json b/server/dist/build/asset-manifest.json new file mode 100644 index 0000000..3321ecd --- /dev/null +++ b/server/dist/build/asset-manifest.json @@ -0,0 +1,54 @@ +{ + "files": { + "main.css": "/static/css/main.d39404c5.css", + "main.js": "/static/js/main.5d87b70d.js", + "static/css/598.b0249848.chunk.css": "/static/css/598.b0249848.chunk.css", + "static/js/598.cb23f7bd.chunk.js": "/static/js/598.cb23f7bd.chunk.js", + "static/css/867.61af701d.chunk.css": "/static/css/867.61af701d.chunk.css", + "static/js/867.e06c2dfa.chunk.js": "/static/js/867.e06c2dfa.chunk.js", + "static/js/721.9088ac4a.chunk.js": "/static/js/721.9088ac4a.chunk.js", + "static/css/256.65401392.chunk.css": "/static/css/256.65401392.chunk.css", + "static/js/256.06b6e6c0.chunk.js": "/static/js/256.06b6e6c0.chunk.js", + "static/css/416.941b1227.chunk.css": "/static/css/416.941b1227.chunk.css", + "static/js/416.8802534b.chunk.js": "/static/js/416.8802534b.chunk.js", + "static/css/990.3292c2db.chunk.css": "/static/css/990.3292c2db.chunk.css", + "static/js/990.337b3b20.chunk.js": "/static/js/990.337b3b20.chunk.js", + "static/js/419.2ee2f2de.chunk.js": "/static/js/419.2ee2f2de.chunk.js", + "static/js/704.7ff277ca.chunk.js": "/static/js/704.7ff277ca.chunk.js", + "static/css/45.c367a0e9.chunk.css": "/static/css/45.c367a0e9.chunk.css", + "static/js/45.4ed1f2a3.chunk.js": "/static/js/45.4ed1f2a3.chunk.js", + "static/css/564.8ca7bd63.chunk.css": "/static/css/564.8ca7bd63.chunk.css", + "static/js/564.30db0f57.chunk.js": "/static/js/564.30db0f57.chunk.js", + "static/js/391.edd22a17.chunk.js": "/static/js/391.edd22a17.chunk.js", + "static/js/886.c6bc5c5f.chunk.js": "/static/js/886.c6bc5c5f.chunk.js", + "static/media/card.svg": "/static/media/card.7c621daa45265160602e9ac860b95a8f.svg", + "static/media/coffee.svg": "/static/media/coffee.9048a1b494d0607b77ab63706ce9f702.svg", + "index.html": "/index.html", + "static/media/patreon-svgrepo-com.svg": "/static/media/patreon-svgrepo-com.5d5c7b26577ee7e8fd77792007d5421d.svg", + "main.d39404c5.css.map": "/static/css/main.d39404c5.css.map", + "main.5d87b70d.js.map": "/static/js/main.5d87b70d.js.map", + "598.b0249848.chunk.css.map": "/static/css/598.b0249848.chunk.css.map", + "598.cb23f7bd.chunk.js.map": "/static/js/598.cb23f7bd.chunk.js.map", + "867.61af701d.chunk.css.map": "/static/css/867.61af701d.chunk.css.map", + "867.e06c2dfa.chunk.js.map": "/static/js/867.e06c2dfa.chunk.js.map", + "721.9088ac4a.chunk.js.map": "/static/js/721.9088ac4a.chunk.js.map", + "256.65401392.chunk.css.map": "/static/css/256.65401392.chunk.css.map", + "256.06b6e6c0.chunk.js.map": "/static/js/256.06b6e6c0.chunk.js.map", + "416.941b1227.chunk.css.map": "/static/css/416.941b1227.chunk.css.map", + "416.8802534b.chunk.js.map": "/static/js/416.8802534b.chunk.js.map", + "990.3292c2db.chunk.css.map": "/static/css/990.3292c2db.chunk.css.map", + "990.337b3b20.chunk.js.map": "/static/js/990.337b3b20.chunk.js.map", + "419.2ee2f2de.chunk.js.map": "/static/js/419.2ee2f2de.chunk.js.map", + "704.7ff277ca.chunk.js.map": "/static/js/704.7ff277ca.chunk.js.map", + "45.c367a0e9.chunk.css.map": "/static/css/45.c367a0e9.chunk.css.map", + "45.4ed1f2a3.chunk.js.map": "/static/js/45.4ed1f2a3.chunk.js.map", + "564.8ca7bd63.chunk.css.map": "/static/css/564.8ca7bd63.chunk.css.map", + "564.30db0f57.chunk.js.map": "/static/js/564.30db0f57.chunk.js.map", + "391.edd22a17.chunk.js.map": "/static/js/391.edd22a17.chunk.js.map", + "886.c6bc5c5f.chunk.js.map": "/static/js/886.c6bc5c5f.chunk.js.map" + }, + "entrypoints": [ + "static/css/main.d39404c5.css", + "static/js/main.5d87b70d.js" + ] +} \ No newline at end of file diff --git a/server/dist/build/favicon.ico b/server/dist/build/favicon.ico new file mode 100644 index 0000000..a11777c Binary files /dev/null and b/server/dist/build/favicon.ico differ diff --git a/server/dist/build/index.html b/server/dist/build/index.html new file mode 100644 index 0000000..fa68cc6 --- /dev/null +++ b/server/dist/build/index.html @@ -0,0 +1 @@ +Logger Store
\ No newline at end of file diff --git a/server/dist/build/logo192.png b/server/dist/build/logo192.png new file mode 100644 index 0000000..fc44b0a Binary files /dev/null and b/server/dist/build/logo192.png differ diff --git a/server/dist/build/logo512.png b/server/dist/build/logo512.png new file mode 100644 index 0000000..a4e47a6 Binary files /dev/null and b/server/dist/build/logo512.png differ diff --git a/server/dist/build/manifest.json b/server/dist/build/manifest.json new file mode 100644 index 0000000..080d6c7 --- /dev/null +++ b/server/dist/build/manifest.json @@ -0,0 +1,25 @@ +{ + "short_name": "React App", + "name": "Create React App Sample", + "icons": [ + { + "src": "favicon.ico", + "sizes": "64x64 32x32 24x24 16x16", + "type": "image/x-icon" + }, + { + "src": "logo192.png", + "type": "image/png", + "sizes": "192x192" + }, + { + "src": "logo512.png", + "type": "image/png", + "sizes": "512x512" + } + ], + "start_url": ".", + "display": "standalone", + "theme_color": "#000000", + "background_color": "#ffffff" +} diff --git a/server/dist/build/robots.txt b/server/dist/build/robots.txt new file mode 100644 index 0000000..e9e57dc --- /dev/null +++ b/server/dist/build/robots.txt @@ -0,0 +1,3 @@ +# https://www.robotstxt.org/robotstxt.html +User-agent: * +Disallow: diff --git a/server/dist/build/static/css/256.65401392.chunk.css b/server/dist/build/static/css/256.65401392.chunk.css new file mode 100644 index 0000000..1bd1583 --- /dev/null +++ b/server/dist/build/static/css/256.65401392.chunk.css @@ -0,0 +1,2 @@ +.CreateProject_createProject__modal__jyYwE{border:2px solid #000;box-shadow:24;left:50%;padding:20px;position:absolute;text-align:center;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:400px}.ProjectsPage_projects__wrapper__81\+MF{display:flex;height:calc(100vh - var(--main-top-margin))}.ProjectsPage_projects__main__fxzp-{flex-grow:1;height:100%}.ProjectsPage_projects__aside__legVB{flex:0 0 30%;height:100%}.ProjectsPage_projects__divider__lBCxY{margin-bottom:16px;margin-top:16px}.ProjectRow_row__item__7t3kT:hover .ProjectRow_row__title__Wx9ae{top:10px}.ProjectRow_row__item__7t3kT:hover .ProjectRow_row__control__nXyQb{display:flex;opacity:1;top:5px;visibility:visible}.ProjectRow_link__3lkD-{position:relative}.ProjectRow_row__titleWrap__gcM9E{align-items:center;display:flex;justify-content:space-between}.ProjectRow_row__title__Wx9ae{font-size:18px;position:relative;top:0;transition:top .5s}.ProjectRow_row__key__l-n-G{left:20;position:relative;-webkit-transform:scale(.8);transform:scale(.8)}.ProjectRow_row__control__nXyQb{display:flex;opacity:0;position:absolute;top:0;transition:.5s}.ProjectRow_row__controlItem__SECwl{align-items:center;display:flex;font-size:10;margin-left:10px;opacity:.7}.ProjectRow_row__controlItem__SECwl:first-child{margin-left:0}.ProjectRow_row__controlIcon__V1pnR{font-size:14px;margin-left:3px}.ProjectRow_modal__Nwpju{bottom:0!important;position:absolute;right:0!important} +/*# sourceMappingURL=256.65401392.chunk.css.map*/ \ No newline at end of file diff --git a/server/dist/build/static/css/256.65401392.chunk.css.map b/server/dist/build/static/css/256.65401392.chunk.css.map new file mode 100644 index 0000000..bad424e --- /dev/null +++ b/server/dist/build/static/css/256.65401392.chunk.css.map @@ -0,0 +1 @@ +{"version":3,"file":"static/css/256.65401392.chunk.css","mappings":"AAAA,2CAOE,sBACA,cALA,SAMA,aARA,kBAKA,kBAJA,QAEA,sEACA,WAIA,CCTF,wCACE,aACA,4CAGF,oCAEE,WAAU,CADV,WACA,CAGF,qCAEE,aADA,WACA,CAGF,uCACE,mBACA,gBChBA,iEACE,SAGF,mEAGE,aADA,UAEA,QAHA,kBAGA,CAIJ,wBACE,kBAGF,kCAEE,mBADA,aAEA,8BAGF,8BACE,eACA,kBACA,MACA,mBAGF,4BAEE,QACA,kBAFA,+CAEA,CAGF,gCACE,aAIA,SAAQ,CAHR,kBACA,MACA,cACA,CAGF,oCAIE,mBADA,aAFA,aAIA,iBAHA,UAGA,CAGF,gDACE,cAGF,oCAEE,eADA,eACA,CAGF,yBAEE,mBADA,kBAEA","sources":["projects/styles/CreateProject.module.scss","projects/styles/ProjectsPage.module.scss","projects/styles/ProjectRow.module.scss"],"sourcesContent":[".createProject__modal {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 400px;\n text-align: center;\n border: 2px solid #000;\n box-shadow: 24;\n padding: 20px;\n}",".projects__wrapper {\n display: flex;\n height: calc(100vh - var(--main-top-margin));\n}\n\n.projects__main {\n height: 100%;\n flex-grow: 1;\n}\n\n.projects__aside {\n height: 100%;\n flex: 0 0 30%;\n}\n\n.projects__divider {\n margin-bottom: 16px;\n margin-top: 16px;\n}",".row__item {\n &:hover .row__title {\n top: 10px;\n }\n\n &:hover .row__control {\n visibility: visible;\n opacity: 1;\n display: flex;\n top: 5px;\n }\n}\n\n.link {\n position: relative;\n}\n\n.row__titleWrap {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n\n.row__title {\n font-size: 18px;\n position: relative;\n top: 0;\n transition: top 0.5s;\n}\n\n.row__key {\n transform: scale(0.8);\n left: 20;\n position: relative;\n}\n\n.row__control {\n display: flex;\n position: absolute;\n top: 0;\n transition: 0.5s;\n opacity: 0;\n}\n\n.row__controlItem {\n font-size: 10;\n opacity: 0.7;\n display: flex;\n align-items: center;\n margin-left: 10px;\n}\n\n.row__controlItem:first-child {\n margin-left: 0px;\n}\n\n.row__controlIcon {\n margin-left: 3px;\n font-size: 14px;\n}\n\n.modal {\n position: absolute;\n bottom: 0px !important;\n right: 0px !important;\n}"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/server/dist/build/static/css/416.941b1227.chunk.css b/server/dist/build/static/css/416.941b1227.chunk.css new file mode 100644 index 0000000..ce11733 --- /dev/null +++ b/server/dist/build/static/css/416.941b1227.chunk.css @@ -0,0 +1,2 @@ +.ProjectPage_project__wrapper__LrGZ8{display:flex;min-height:calc(100vh - var(--main-top-margin))}.ProjectPage_project__main__p5v6H{display:flex;flex-direction:column;flex-grow:1}.ProjectPage_project__aside__1Vkea{display:flex;flex:0 0 30%;flex-direction:column;height:calc(95vh - 60px);position:-webkit-sticky;position:sticky;top:16px}.ProjectPage_project__divider__DiDnF{margin-bottom:16px}.ProjectPage_project__asideContent__fLO0w{display:flex;flex-direction:column;height:100%;justify-content:space-between;max-width:220px} +/*# sourceMappingURL=416.941b1227.chunk.css.map*/ \ No newline at end of file diff --git a/server/dist/build/static/css/416.941b1227.chunk.css.map b/server/dist/build/static/css/416.941b1227.chunk.css.map new file mode 100644 index 0000000..4954849 --- /dev/null +++ b/server/dist/build/static/css/416.941b1227.chunk.css.map @@ -0,0 +1 @@ +{"version":3,"file":"static/css/416.941b1227.chunk.css","mappings":"AAAA,qCACE,aACA,gDAGF,kCAEE,aACA,sBAFA,WAEA,CAGF,mCAEE,aADA,aAEA,sBAEA,yBADA,wCAEA,SAGF,qCACE,mBAGF,0CAEE,aACA,sBAEA,YADA,8BAHA,eAIA","sources":["project/styles/ProjectPage.module.scss"],"sourcesContent":[".project__wrapper {\n display: flex;\n min-height: calc(100vh - var(--main-top-margin));\n}\n\n.project__main {\n flex-grow: 1;\n display: flex;\n flex-direction: column;\n}\n\n.project__aside {\n flex: 0 0 30%;\n display: flex;\n flex-direction: column;\n position: sticky;\n height: calc(95vh - 60px);\n top: 16px;\n}\n\n.project__divider {\n margin-bottom: 16px;\n}\n\n.project__asideContent {\n max-width: 220px;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n height: 100%;\n}"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/server/dist/build/static/css/45.c367a0e9.chunk.css b/server/dist/build/static/css/45.c367a0e9.chunk.css new file mode 100644 index 0000000..1b332d9 --- /dev/null +++ b/server/dist/build/static/css/45.c367a0e9.chunk.css @@ -0,0 +1,2 @@ +.HomePros_container__yQUA3{flex:0 0 100px;margin-bottom:16px}.HomePros_h100__B3Lir{height:100%}.HomePros_icon__i1wPR{font-size:24px;margin-bottom:10px}.HomeMain_banner__container__3Uwzp{height:100%;padding:20px;position:relative}.HomeMain_banner__dots__TEDXC{background:radial-gradient(circle,hsla(0,0%,100%,.3),hsla(0,0%,100%,.3) 1px,transparent 0,transparent) 0 0/25px 25px;bottom:10px;height:40%;position:absolute;right:0;width:100%}.HomeMain_banner__subtitle__4OCYN{font-size:18px;font-weight:700}.HomeMain_flow__container__kGXZS{height:100%}.HomeMain_flow__item__KyrrM{padding-left:0}.HomeMain_flow__iconWrapper__ay\+WZ{min-width:30px}.HomeMain_flow__icon__BnBDT{opacity:.5}.Home_home__wrapper__KrQb\+{display:flex;flex-direction:column;height:calc(100vh - var(--main-top-margin))} +/*# sourceMappingURL=45.c367a0e9.chunk.css.map*/ \ No newline at end of file diff --git a/server/dist/build/static/css/45.c367a0e9.chunk.css.map b/server/dist/build/static/css/45.c367a0e9.chunk.css.map new file mode 100644 index 0000000..4964ba5 --- /dev/null +++ b/server/dist/build/static/css/45.c367a0e9.chunk.css.map @@ -0,0 +1 @@ +{"version":3,"file":"static/css/45.c367a0e9.chunk.css","mappings":"AAAA,2BACE,eACA,mBAGF,sBACE,YAGF,sBACE,eACA,mBCXF,mCACE,YACA,aACA,kBAIF,8BAME,qHAFA,YADA,WAFA,kBAIA,QAHA,UAIA,CAIF,kCACE,eACA,gBAIA,iCACE,YAGF,4BACE,eAGF,oCACE,eAGF,4BACE,WCpCJ,4BACE,aACA,sBACA","sources":["home/styles/HomePros.module.scss","home/styles/HomeMain.module.scss","home/styles/Home.module.scss"],"sourcesContent":[".container {\n flex: 0 0 100px;\n margin-bottom: 16px;\n}\n\n.h100 {\n height: 100%;\n}\n\n.icon {\n font-size: 24px;\n margin-bottom: 10px;\n}",".banner__container {\n height: 100%;\n padding: 20px;\n position: relative;\n\n}\n\n.banner__dots {\n position: absolute;\n width: 100%;\n height: 40%;\n bottom: 10px;\n right: 0;\n background: radial-gradient(circle, rgba(255, 255, 255, .3),\n rgba(255, 255, 255, .3) 1px, transparent 0, transparent) 0 0/25px 25px;\n}\n\n.banner__subtitle {\n font-size: 18px;\n font-weight: bold;\n}\n\n.flow {\n &__container {\n height: 100%;\n }\n\n &__item {\n padding-left: 0px;\n }\n\n &__iconWrapper {\n min-width: 30px;\n }\n\n &__icon {\n opacity: 0.5;\n }\n}",".home__wrapper {\n display: flex;\n flex-direction: column;\n height: calc(100vh - var(--main-top-margin));\n}"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/server/dist/build/static/css/564.8ca7bd63.chunk.css b/server/dist/build/static/css/564.8ca7bd63.chunk.css new file mode 100644 index 0000000..d9f548f --- /dev/null +++ b/server/dist/build/static/css/564.8ca7bd63.chunk.css @@ -0,0 +1,2 @@ +.Donate_container__Nb7J8{height:calc(100vh - var(--main-top-margin))}.Donate_list__eXPz7{display:flex;flex-wrap:wrap;justify-content:space-between}.Donate_title__Kix8-{font-size:18px;font-weight:700}.Donate_tile__we0UZ{border-radius:10px;box-shadow:0 0 5px rgba(0,0,0,.5);display:flex;flex-direction:column;justify-content:space-between;padding:20px 10px;text-align:center;width:30%}.Donate_icon__pwIeR{margin:30px auto;width:50%}.Donate_icon__el__sHfAK{width:100%}.Donate_btn__WVKMv{margin-top:20px;width:100%} +/*# sourceMappingURL=564.8ca7bd63.chunk.css.map*/ \ No newline at end of file diff --git a/server/dist/build/static/css/564.8ca7bd63.chunk.css.map b/server/dist/build/static/css/564.8ca7bd63.chunk.css.map new file mode 100644 index 0000000..f33718f --- /dev/null +++ b/server/dist/build/static/css/564.8ca7bd63.chunk.css.map @@ -0,0 +1 @@ +{"version":3,"file":"static/css/564.8ca7bd63.chunk.css","mappings":"AAAA,yBACE,4CAGF,oBACE,aACA,eACA,8BAGF,qBACE,eACA,gBAIF,oBAME,mBAEA,kCANA,aACA,sBACA,8BACA,kBAEA,kBANA,SAOA,CAGF,oBACE,iBACA,UAEA,wBACE,WAIJ,mBAEE,gBADA,UACA","sources":["donate/styles/Donate.module.scss"],"sourcesContent":[".container {\n height: calc(100vh - var(--main-top-margin));\n}\n\n.list {\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n}\n\n.title {\n font-size: 18px;\n font-weight: bold;\n}\n\n\n.tile {\n width: 30%;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n padding: 20px 10px;\n border-radius: 10px;\n text-align: center;\n box-shadow: 0px 0px 5px rgba(0, 0, 0, .5);\n}\n\n.icon {\n margin: 30px auto;\n width: 50%;\n\n &__el {\n width: 100%;\n }\n}\n\n.btn {\n width: 100%;\n margin-top: 20px;\n}"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/server/dist/build/static/css/598.b0249848.chunk.css b/server/dist/build/static/css/598.b0249848.chunk.css new file mode 100644 index 0000000..557bf50 --- /dev/null +++ b/server/dist/build/static/css/598.b0249848.chunk.css @@ -0,0 +1,2 @@ +.LogPage_log__main__rHW-B{display:flex;flex:1 1 70%;flex-direction:column;height:calc(100vh - var(--main-top-margin))}.LogPage_log__info__O0zyV{display:flex;flex:0 0 30%;flex-direction:column}.LogPage_divider__CcHg-{margin-bottom:16px;margin-top:16px} +/*# sourceMappingURL=598.b0249848.chunk.css.map*/ \ No newline at end of file diff --git a/server/dist/build/static/css/598.b0249848.chunk.css.map b/server/dist/build/static/css/598.b0249848.chunk.css.map new file mode 100644 index 0000000..dc30ccf --- /dev/null +++ b/server/dist/build/static/css/598.b0249848.chunk.css.map @@ -0,0 +1 @@ +{"version":3,"file":"static/css/598.b0249848.chunk.css","mappings":"AAAA,0BAGE,aADA,aAEA,sBAHA,2CAGA,CAGF,0BAEE,aADA,aAEA,sBAGF,wBACE,mBACA","sources":["log/styles/LogPage.module.scss"],"sourcesContent":[".log__main {\n height: calc(100vh - var(--main-top-margin));\n flex: 1 1 70%;\n display: flex;\n flex-direction: column;\n}\n\n.log__info {\n flex: 0 0 30%;\n display: flex;\n flex-direction: column;\n}\n\n.divider {\n margin-bottom: 16px;\n margin-top: 16px;\n}"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/server/dist/build/static/css/867.61af701d.chunk.css b/server/dist/build/static/css/867.61af701d.chunk.css new file mode 100644 index 0000000..b38aa3c --- /dev/null +++ b/server/dist/build/static/css/867.61af701d.chunk.css @@ -0,0 +1,2 @@ +.PlanItem_plan__item__Owdts{flex:25% 1;padding:0}.PlanItem_plan__inner__Sgd2H{border-radius:10px;margin:5px;padding:10px;text-align:center;width:100%}.PlanItem_plan__label__J-J8f{font-size:22px;margin-bottom:16px;padding:5px}.PlanItem_plan__block__\+Lyu4{font-size:24px;margin-top:32px}.PaymentWidget_payment__container__uvdfj{border:2px solid #000;box-shadow:24px;display:flex;flex-direction:column;left:50%;padding:25px 20px;position:absolute;text-align:center;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:280px}.PaymentWidget_payment__text__QqG1H{font-size:18px;font-weight:100}.PaymentWidget_payment__price__bZMmh{font-size:24px;font-weight:500}.PaymentWidget_payment__button__OrG28:hover{opacity:.9}.PlanPage_plan__wrapper__hY8sW{display:flex;flex-direction:column;height:calc(100vh - var(--main-top-margin))}.PlanPage_plan__title__oVtYB{font-size:18px;padding-top:16px;text-align:center}.PlanPage_plan__description__bplMV{font-size:16px;font-weight:400;padding-top:16px}.PlanPage_plan__list__913XB{display:flex} +/*# sourceMappingURL=867.61af701d.chunk.css.map*/ \ No newline at end of file diff --git a/server/dist/build/static/css/867.61af701d.chunk.css.map b/server/dist/build/static/css/867.61af701d.chunk.css.map new file mode 100644 index 0000000..5d7e86b --- /dev/null +++ b/server/dist/build/static/css/867.61af701d.chunk.css.map @@ -0,0 +1 @@ +{"version":3,"file":"static/css/867.61af701d.chunk.css","mappings":"AAAA,4BACE,WACA,UAGF,6BAIE,mBAHA,WACA,aAGA,kBAFA,UAEA,CAGF,6BACE,eACA,mBACA,YAGF,8BACE,eACA,gBCrBF,yCAOE,sBACA,gBACA,aACA,sBAPA,SAQA,kBAVA,kBAKA,kBAJA,QAEA,sEACA,WAMA,CAGF,oCACE,eACA,gBAGF,qCACE,eACA,gBAIA,4CACE,WC1BJ,+BAEE,aACA,sBAFA,2CAEA,CAGF,6BACE,eACA,iBACA,kBAGF,mCAEE,eADA,gBAEA,iBAGF,4BACE","sources":["plan/styles/PlanItem.module.scss","payment/styles/PaymentWidget.module.scss","plan/styles/PlanPage.module.scss"],"sourcesContent":[".plan__item {\n flex: 25%;\n padding: 0;\n}\n\n.plan__inner {\n margin: 5px;\n padding: 10px;\n width: 100%;\n border-radius: 10px;\n text-align: center;\n}\n\n.plan__label {\n font-size: 22px;\n margin-bottom: 16px;\n padding: 5px;\n}\n\n.plan__block {\n font-size: 24px;\n margin-top: 32px;\n}",".payment__container {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 280px;\n text-align: center;\n border: 2px solid #000;\n box-shadow: 24px;\n display: flex;\n flex-direction: column;\n padding: 25px 20px;\n}\n\n.payment__text {\n font-size: 18px;\n font-weight: 100;\n}\n\n.payment__price {\n font-size: 24px;\n font-weight: 500;\n}\n\n.payment__button {\n &:hover {\n opacity: .9;\n }\n}",".plan__wrapper {\n height: calc(100vh - var(--main-top-margin));\n display: flex;\n flex-direction: column;\n}\n\n.plan__title {\n font-size: 18px;\n padding-top: 16px;\n text-align: center;\n}\n\n.plan__description {\n font-weight: 400;\n font-size: 16px;\n padding-top: 16px;\n}\n\n.plan__list {\n display: flex;\n}"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/server/dist/build/static/css/990.3292c2db.chunk.css b/server/dist/build/static/css/990.3292c2db.chunk.css new file mode 100644 index 0000000..4e53b6c --- /dev/null +++ b/server/dist/build/static/css/990.3292c2db.chunk.css @@ -0,0 +1,2 @@ +.ProjectSettings_settings__wrapper__SWo88{display:flex;flex-direction:column;height:calc(100vh - var(--main-top-margin))}.ProjectSettings_settings__container__rWFNd{display:flex;flex-direction:column;flex-grow:1} +/*# sourceMappingURL=990.3292c2db.chunk.css.map*/ \ No newline at end of file diff --git a/server/dist/build/static/css/990.3292c2db.chunk.css.map b/server/dist/build/static/css/990.3292c2db.chunk.css.map new file mode 100644 index 0000000..9157a69 --- /dev/null +++ b/server/dist/build/static/css/990.3292c2db.chunk.css.map @@ -0,0 +1 @@ +{"version":3,"file":"static/css/990.3292c2db.chunk.css","mappings":"AAAA,0CAEE,aACA,sBAFA,2CAEA,CAGF,4CAEE,aACA,sBAFA,WAEA","sources":["project-settings/styles/ProjectSettings.module.scss"],"sourcesContent":[".settings__wrapper {\n height: calc(100vh - var(--main-top-margin));\n display: flex;\n flex-direction: column;\n}\n\n.settings__container {\n flex-grow: 1;\n display: flex;\n flex-direction: column;\n}"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/server/dist/build/static/css/main.d39404c5.css b/server/dist/build/static/css/main.d39404c5.css new file mode 100644 index 0000000..e4f3493 --- /dev/null +++ b/server/dist/build/static/css/main.d39404c5.css @@ -0,0 +1,2 @@ +.AvatarWidget_avatar__hbExw{border:2px solid transparent;height:48px;margin:10px auto;width:48px}.PlanWidget_title__dwtkG{font-size:18px;font-weight:700}.PlanWidget_link__6BXJM{text-decoration:none}.PlanWidget_list__QlHlc{width:100%}.PlanWidget_item__aO6xj{margin:0!important;padding:0!important}.PlanWidget_icon__wrapper__1bNu7{height:32px!important;width:32px!important}.PlanWidget_icon__LgifT{font-size:11px!important}.PlanWidget_text__nFJb\+{font-size:16px!important;font-weight:700!important;left:-3;position:relative}.Aside_aside__wrapper__V45s\+{flex:0 0 22%;height:100%;position:-webkit-sticky;position:sticky;top:16px}.Aside_aside__container__SBILd{display:flex;flex-direction:column;height:95vh}.Aside_aside__divider__SC4Iy{margin-bottom:10px;margin-top:10px}.Header_subtitle__3PK\+\+{opacity:.5;position:relative;top:-4}.Header_header__wrapper__ugJTQ{min-height:60px}.App_app__wrapper__KNrDL{display:flex;flex-direction:column;min-height:100vh;padding:16px}.App_app__container__ksWQn{display:flex!important;height:100%;position:relative}.App_app__main__\+LXqM{display:flex;flex-direction:column;margin-left:16px!important;padding-left:0!important;padding-right:0!important;width:100%}.LogRow_log__row__-AsW3{cursor:pointer}.LogRow_log__row__-AsW3:last-child th,.LogRow_log__row__-AsW3:last-child tr{border:0}.LogRow_log__row_active__aQ\+4B{background:hsla(0,0%,100%,.24)}.LogRow_log__row_opened__nk-sa{opacity:.7}.LogRow_log__text__xzKGi{font-weight:700}.LogRow_log__text_opened__C4PWV{color:gray}.LogRow_log__nopadding__RWSV5{padding:0}.NotificationItem_notification__btn__8Nt81{height:20px;margin-right:20px;width:20px}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;font-size:100%;font:inherit;margin:0;padding:0;vertical-align:initial}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}table{border-collapse:collapse;border-spacing:0}a{text-decoration:none}:root{--main-top-margin:95px}.container{border-radius:10px;box-shadow:1px 1px 3px 0 rgba(0,0,0,.1);box-sizing:border-box;padding:15px} +/*# sourceMappingURL=main.d39404c5.css.map*/ \ No newline at end of file diff --git a/server/dist/build/static/css/main.d39404c5.css.map b/server/dist/build/static/css/main.d39404c5.css.map new file mode 100644 index 0000000..003dd9b --- /dev/null +++ b/server/dist/build/static/css/main.d39404c5.css.map @@ -0,0 +1 @@ +{"version":3,"file":"static/css/main.d39404c5.css","mappings":"AAAA,4BAIE,6BAFA,YACA,iBAFA,UAGA,CCJF,yBACE,eACA,gBAGF,wBACE,qBAGF,wBACE,WAGF,wBAEE,mBADA,mBACA,CAGF,iCAEE,sBADA,oBACA,CAGF,wBACE,yBAGF,yBACE,yBACA,0BAEA,QADA,iBACA,CC/BF,8BAEE,aADA,YAEA,wCACA,SAGF,+BACE,aACA,sBACA,YAGF,6BAEE,mBADA,eACA,CCfF,0BAGE,WAFA,kBACA,MACA,CAGF,+BACE,gBCPF,yBACE,aACA,sBACA,iBACA,aAGF,2BAGE,uBAFA,YAGA,kBAGF,uBACE,aACA,sBAEA,2BACA,yBACA,0BAHA,UAGA,CCpBF,wBACE,eAEA,4EAEE,SAGF,gCACE,+BAGF,+BACE,WAKJ,yBACE,gBAEA,gCACE,WAIJ,8BACE,UC3BF,2CAGE,YAFA,kBACA,UACA,CCEF,2ZAmFC,SACA,eACA,aAJA,SACA,UAIA,uBAID,8EAWC,cAGD,KACC,cAGD,MAEC,gBAGD,aAEC,YAGD,oDAIC,WACA,aAGD,MACC,yBACA,iBAGD,EACC,qBCzID,MACE,sBAAuB,CAIzB,WAGE,mBACA,wCAFA,sBADA,YAGA","sources":["user/styles/AvatarWidget.module.scss","plan/styles/PlanWidget.module.scss","aside/styles/Aside.module.scss","header/styles/Header.module.scss","app/styles/App.module.scss","logs/styles/LogRow.module.scss","notification/styles/NotificationItem.module.scss","styles/reset.scss","styles/common.scss"],"sourcesContent":[".avatar {\n width: 48px;\n height: 48px;\n margin: 10px auto;\n border: 2px solid transparent;\n}",".title {\n font-size: 18px;\n font-weight: bold;\n}\n\n.link {\n text-decoration: none;\n}\n\n.list {\n width: 100%;\n}\n\n.item {\n padding: 0px !important;\n margin: 0px !important;\n}\n\n.icon__wrapper {\n width: 32px !important;\n height: 32px !important;\n}\n\n.icon {\n font-size: 11px !important;\n}\n\n.text {\n font-size: 16px !important;\n font-weight: bold !important;\n position: relative;\n left: -3;\n}",".aside__wrapper {\n height: 100%;\n flex: 0 0 22%;\n position: sticky;\n top: 16px;\n}\n\n.aside__container {\n display: flex;\n flex-direction: column;\n height: 95vh;\n}\n\n.aside__divider {\n margin-top: 10px;\n margin-bottom: 10px;\n}",".subtitle {\n position: relative;\n top: -4;\n opacity: 0.5;\n}\n\n.header__wrapper {\n min-height: 60px\n}",".app__wrapper {\n display: flex;\n flex-direction: column;\n min-height: 100vh;\n padding: 16px;\n}\n\n.app__container {\n height: 100%;\n\n display: flex !important;\n position: relative;\n}\n\n.app__main {\n display: flex;\n flex-direction: column;\n width: 100%;\n margin-left: 16px !important;\n padding-left: 0px !important;\n padding-right: 0px !important;\n}",".log__row {\n cursor: pointer;\n\n &:last-child tr,\n &:last-child th {\n border: 0;\n }\n\n &_active {\n background: rgba(255, 255, 255, .24);\n }\n\n &_opened {\n opacity: 0.7;\n }\n}\n\n\n.log__text {\n font-weight: bold;\n\n &_opened {\n color: gray;\n }\n}\n\n.log__nopadding {\n padding: 0\n}",".notification__btn {\n margin-right: 20px;\n width: 20px;\n height: 20px;\n}","/* http://meyerweb.com/eric/tools/css/reset/ \n v2.0 | 20110126\n License: none (public domain)\n*/\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n\tmargin: 0;\n\tpadding: 0;\n\tborder: 0;\n\tfont-size: 100%;\n\tfont: inherit;\n\tvertical-align: baseline;\n}\n\n/* HTML5 display-role reset for older browsers */\narticle,\naside,\ndetails,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\nsection {\n\tdisplay: block;\n}\n\nbody {\n\tline-height: 1;\n}\n\nol,\nul {\n\tlist-style: none;\n}\n\nblockquote,\nq {\n\tquotes: none;\n}\n\nblockquote:before,\nblockquote:after,\nq:before,\nq:after {\n\tcontent: '';\n\tcontent: none;\n}\n\ntable {\n\tborder-collapse: collapse;\n\tborder-spacing: 0;\n}\n\na {\n\ttext-decoration: none;\n}",":root {\n --main-top-margin: 95px;\n}\n\n\n.container {\n padding: 15px;\n box-sizing: border-box;\n border-radius: 10px;\n box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, .1);\n}"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/server/dist/build/static/js/256.06b6e6c0.chunk.js b/server/dist/build/static/js/256.06b6e6c0.chunk.js new file mode 100644 index 0000000..c9f2af4 --- /dev/null +++ b/server/dist/build/static/js/256.06b6e6c0.chunk.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkclient=self.webpackChunkclient||[]).push([[256],{6256:function(e,r,t){t.r(r),t.d(r,{default:function(){return Re}});var n=t(2791),o=t(4554),a=t(5527),i=t(890),c=t(4721),s=t(8660),l=t(9439),u=t(6151),d=t(5391),p=t(7462),f=t(3366),h=t(8182),m=t(4419),j=t(6248),v=t(6934),x=t(1402),Z=t(292),_=t(4527),w=t(8029),g=t(4925),b=t(8096),P=t(4942),y=t(6147),C=t(2930),R=t(4036),N=t(5878),F=t(1217);function k(e){return(0,F.Z)("MuiFormHelperText",e)}var T,z=(0,N.Z)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),S=t(184),M=["children","className","component","disabled","error","filled","focused","margin","required","variant"],q=(0,v.ZP)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:function(e,r){var t=e.ownerState;return[r.root,t.size&&r["size".concat((0,R.Z)(t.size))],t.contained&&r.contained,t.filled&&r.filled]}})((function(e){var r,t=e.theme,n=e.ownerState;return(0,p.Z)({color:(t.vars||t).palette.text.secondary},t.typography.caption,(r={textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0},(0,P.Z)(r,"&.".concat(z.disabled),{color:(t.vars||t).palette.text.disabled}),(0,P.Z)(r,"&.".concat(z.error),{color:(t.vars||t).palette.error.main}),r),"small"===n.size&&{marginTop:4},n.contained&&{marginLeft:14,marginRight:14})})),I=n.forwardRef((function(e,r){var t=(0,x.Z)({props:e,name:"MuiFormHelperText"}),n=t.children,o=t.className,a=t.component,i=void 0===a?"p":a,c=(0,f.Z)(t,M),s=(0,C.Z)(),l=(0,y.Z)({props:t,muiFormControl:s,states:["variant","size","disabled","error","filled","focused","required"]}),u=(0,p.Z)({},t,{component:i,contained:"filled"===l.variant||"outlined"===l.variant,variant:l.variant,size:l.size,disabled:l.disabled,error:l.error,filled:l.filled,focused:l.focused,required:l.required}),d=function(e){var r=e.classes,t=e.contained,n=e.size,o=e.disabled,a=e.error,i=e.filled,c=e.focused,s=e.required,l={root:["root",o&&"disabled",a&&"error",n&&"size".concat((0,R.Z)(n)),t&&"contained",c&&"focused",i&&"filled",s&&"required"]};return(0,m.Z)(l,k,r)}(u);return(0,S.jsx)(q,(0,p.Z)({as:i,ownerState:u,className:(0,h.Z)(d.root,o),ref:r},c,{children:" "===n?T||(T=(0,S.jsx)("span",{className:"notranslate",children:"\u200b"})):n}))})),D=t(7198);function H(e){return(0,F.Z)("MuiTextField",e)}(0,N.Z)("MuiTextField",["root"]);var W=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],V={standard:Z.Z,filled:_.Z,outlined:w.Z},B=(0,v.ZP)(b.Z,{name:"MuiTextField",slot:"Root",overridesResolver:function(e,r){return r.root}})({}),E=n.forwardRef((function(e,r){var t=(0,x.Z)({props:e,name:"MuiTextField"}),n=t.autoComplete,o=t.autoFocus,a=void 0!==o&&o,i=t.children,c=t.className,s=t.color,l=void 0===s?"primary":s,u=t.defaultValue,d=t.disabled,v=void 0!==d&&d,Z=t.error,_=void 0!==Z&&Z,w=t.FormHelperTextProps,b=t.fullWidth,P=void 0!==b&&b,y=t.helperText,C=t.id,R=t.InputLabelProps,N=t.inputProps,F=t.InputProps,k=t.inputRef,T=t.label,z=t.maxRows,M=t.minRows,q=t.multiline,E=void 0!==q&&q,L=t.name,Y=t.onBlur,O=t.onChange,U=t.onClick,A=t.onFocus,J=t.placeholder,K=t.required,Q=void 0!==K&&K,X=t.rows,G=t.select,$=void 0!==G&&G,ee=t.SelectProps,re=t.type,te=t.value,ne=t.variant,oe=void 0===ne?"outlined":ne,ae=(0,f.Z)(t,W),ie=(0,p.Z)({},t,{autoFocus:a,color:l,disabled:v,error:_,fullWidth:P,multiline:E,required:Q,select:$,variant:oe}),ce=function(e){var r=e.classes;return(0,m.Z)({root:["root"]},H,r)}(ie);var se={};"outlined"===oe&&(R&&"undefined"!==typeof R.shrink&&(se.notched=R.shrink),se.label=T),$&&(ee&&ee.native||(se.id=void 0),se["aria-describedby"]=void 0);var le=(0,j.Z)(C),ue=y&&le?"".concat(le,"-helper-text"):void 0,de=T&&le?"".concat(le,"-label"):void 0,pe=V[oe],fe=(0,S.jsx)(pe,(0,p.Z)({"aria-describedby":ue,autoComplete:n,autoFocus:a,defaultValue:u,fullWidth:P,multiline:E,name:L,rows:X,maxRows:z,minRows:M,type:re,value:te,id:le,inputRef:k,onBlur:Y,onChange:O,onFocus:A,onClick:U,placeholder:J,inputProps:N},se,F));return(0,S.jsxs)(B,(0,p.Z)({className:(0,h.Z)(ce.root,c),disabled:v,error:_,fullWidth:P,ref:r,required:Q,color:l,variant:oe,ownerState:ie},ae,{children:[null!=T&&""!==T&&(0,S.jsx)(g.Z,(0,p.Z)({htmlFor:le,id:de},R,{children:T})),$?(0,S.jsx)(D.Z,(0,p.Z)({"aria-describedby":ue,id:le,labelId:de,value:te,input:fe},ee,{children:i})):fe,y&&(0,S.jsx)(I,(0,p.Z)({id:ue},w,{children:y}))]}))})),L=t(4165),Y=t(5861),O=t(6790),U=t(4423),A=t(3079),J=t(9744),K=t(3577),Q="CreateProject_createProject__modal__jyYwE",X=t(2690);function G(){var e=(0,s.T)(),r=(0,n.useState)(!1),t=(0,l.Z)(r,2),a=t[0],c=t[1],p=(0,n.useState)(""),f=(0,l.Z)(p,2),h=f[0],m=f[1],j=(0,n.useState)(null),v=(0,l.Z)(j,2),x=v[0],Z=v[1],_=function(){return c(!1)},w=function(e){e?Z(e):(m(""),_())};return(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(u.Z,{variant:"contained",onClick:function(){return c(!0)},children:"Create Project"}),(0,S.jsx)(d.Z,{open:a,onClose:_,children:(0,S.jsxs)(o.Z,{sx:{bgcolor:"background.paper"},className:Q,children:[(0,S.jsxs)("form",{onSubmit:function(r){r.preventDefault(),e(function(e,r){return function(){var t=(0,Y.Z)((0,L.Z)().mark((function t(n){var o;return(0,L.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,O.Z.post(U.gw,{title:e});case 3:o=t.sent,n(A.y.actions.add([o.data.project])),r(),t.next=11;break;case 8:t.prev=8,t.t0=t.catch(0),r((0,K.W)(t.t0));case 11:case"end":return t.stop()}}),t,null,[[0,8]])})));return function(e){return t.apply(this,arguments)}}()}(h,w))},children:[(0,S.jsx)(i.Z,{variant:"h6",component:"h2",children:"Create Project"}),(0,S.jsx)(o.Z,{sx:{mt:1,mb:1},children:(0,S.jsx)(E,{label:"Title",onChange:function(e){m(e.target.value)},size:"small",variant:"filled"})}),(0,S.jsx)(u.Z,{type:"submit",variant:"contained",children:"Create Project"})]}),(0,S.jsx)(X.Z,{error:x})]})})]})}var $="ProjectsPage_projects__wrapper__81+MF",ee="ProjectsPage_projects__main__fxzp-",re="ProjectsPage_projects__aside__legVB",te="ProjectsPage_projects__divider__lBCxY",ne=t(493),oe=t(5021),ae=t(9900),ie=t(7689),ce=t(1087),se=t(6278),le=t(3543),ue=t(4358),de=t(1141),pe=t(7247),fe=t(7122),he=t(7143),me="ProjectRow_row__item__7t3kT",je="ProjectRow_row__title__Wx9ae",ve="ProjectRow_row__control__nXyQb",xe="ProjectRow_link__3lkD-",Ze="ProjectRow_row__titleWrap__gcM9E",_e="ProjectRow_row__controlItem__SECwl",we="ProjectRow_row__controlIcon__V1pnR",ge="ProjectRow_modal__Nwpju",be=function(e){var r=e.project,t=(0,s.T)(),a=(0,ie.s0)(),u=(0,n.useState)(!1),d=(0,l.Z)(u,2),p=d[0],f=d[1],h=(0,n.useState)(null),m=(0,l.Z)(h,2),j=m[0],v=m[1],x=function(e){e&&v(e)},Z=function(e,r){e.preventDefault(),t(function(e,r){return function(){var t=(0,Y.Z)((0,L.Z)().mark((function t(n){var o;return(0,L.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,O.Z.delete("".concat(U.gw,"/").concat(e));case 3:n(A.y.actions.delete(e)),n((0,J.z3)()),t.next=11;break;case 7:t.prev=7,t.t0=t.catch(0),o=t.t0.message||U.JD,r(o);case 11:case"end":return t.stop()}}),t,null,[[0,7]])})));return function(e){return t.apply(this,arguments)}}()}(r,x))},_={"&:hover":{color:"secondary.main"}};return(0,S.jsxs)(ce.rU,{to:"".concat(he.ww.url,"/").concat(r.id),className:xe,children:[(0,S.jsxs)(oe.ZP,{disablePadding:!0,className:me,children:[(0,S.jsx)(se.Z,{children:(0,S.jsx)(ae.Z,{primary:(0,S.jsx)(o.Z,{className:Ze,children:(0,S.jsx)(i.Z,{color:"text.primary",className:je,children:r.title})}),secondary:(0,S.jsxs)(o.Z,{className:ve,children:[(0,S.jsxs)(i.Z,{sx:_,className:_e,onClick:function(e){return Z(e,r.id)},children:["Delete",(0,S.jsx)(pe.Z,{className:we})]}),(0,S.jsxs)(i.Z,{sx:_,className:_e,onClick:function(e){return function(e,r){e.preventDefault(),a("".concat(he.ww.url,"/settings/").concat(r))}(e,r.id)},children:["Settings",(0,S.jsx)(fe.Z,{className:we})]}),(0,S.jsxs)(i.Z,{sx:_,className:_e,onClick:function(e){return function(e,r){e.preventDefault(),navigator.clipboard.writeText(r),f(!0)}(e,r.id)},children:["Copy Key",(0,S.jsx)(de.Z,{className:we})]})]})})}),(0,S.jsx)(X.Z,{error:j})]}),(0,S.jsx)(c.Z,{}),(0,S.jsx)(le.Z,{open:p,autoHideDuration:3e3,onClose:function(){f(!1)},className:ge,anchorOrigin:{vertical:"bottom",horizontal:"right"},children:(0,S.jsx)(ue.Z,{severity:"success",children:"Id copied"})})]})},Pe=function(e){var r=e.projects;return(0,S.jsxs)(S.Fragment,{children:[r.length>0&&(0,S.jsxs)(ne.Z,{children:[(0,S.jsx)(oe.ZP,{disablePadding:!0,children:(0,S.jsx)(ae.Z,{primary:"Projects list"})}),r.map((function(e){return(0,S.jsx)(be,{project:e},e.id)}))]}),0===r.length&&(0,S.jsx)(i.Z,{variant:"subtitle1",children:"You dont have projects yet, please Create new"})]})},ye=t(1918),Ce=function(e){var r=e.projectsThreshold,t=e.current;return(0,S.jsxs)(S.Fragment,{children:[t>=r&&(0,S.jsxs)(i.Z,{variant:"body1",children:["You currently have a limit of"," ",(0,S.jsx)(ye.Z,{label:r,size:"small",component:"span",color:"secondary"}),"projects under your current plan. To create additional projects, please consider upgrading your",(0,S.jsx)(ce.rU,{to:he.Og.url,children:(0,S.jsx)(i.Z,{color:"primary",children:"plan"})})]}),t {\n const {\n classes,\n contained,\n size,\n disabled,\n error,\n filled,\n focused,\n required\n } = ownerState;\n const slots = {\n root: ['root', disabled && 'disabled', error && 'error', size && `size${capitalize(size)}`, contained && 'contained', focused && 'focused', filled && 'filled', required && 'required']\n };\n return composeClasses(slots, getFormHelperTextUtilityClasses, classes);\n};\nconst FormHelperTextRoot = styled('p', {\n name: 'MuiFormHelperText',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.size && styles[`size${capitalize(ownerState.size)}`], ownerState.contained && styles.contained, ownerState.filled && styles.filled];\n }\n})(({\n theme,\n ownerState\n}) => _extends({\n color: (theme.vars || theme).palette.text.secondary\n}, theme.typography.caption, {\n textAlign: 'left',\n marginTop: 3,\n marginRight: 0,\n marginBottom: 0,\n marginLeft: 0,\n [`&.${formHelperTextClasses.disabled}`]: {\n color: (theme.vars || theme).palette.text.disabled\n },\n [`&.${formHelperTextClasses.error}`]: {\n color: (theme.vars || theme).palette.error.main\n }\n}, ownerState.size === 'small' && {\n marginTop: 4\n}, ownerState.contained && {\n marginLeft: 14,\n marginRight: 14\n}));\nconst FormHelperText = /*#__PURE__*/React.forwardRef(function FormHelperText(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiFormHelperText'\n });\n const {\n children,\n className,\n component = 'p'\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const muiFormControl = useFormControl();\n const fcs = formControlState({\n props,\n muiFormControl,\n states: ['variant', 'size', 'disabled', 'error', 'filled', 'focused', 'required']\n });\n const ownerState = _extends({}, props, {\n component,\n contained: fcs.variant === 'filled' || fcs.variant === 'outlined',\n variant: fcs.variant,\n size: fcs.size,\n disabled: fcs.disabled,\n error: fcs.error,\n filled: fcs.filled,\n focused: fcs.focused,\n required: fcs.required\n });\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(FormHelperTextRoot, _extends({\n as: component,\n ownerState: ownerState,\n className: clsx(classes.root, className),\n ref: ref\n }, other, {\n children: children === ' ' ? // notranslate needed while Google Translate will not fix zero-width space issue\n _span || (_span = /*#__PURE__*/_jsx(\"span\", {\n className: \"notranslate\",\n children: \"\\u200B\"\n })) : children\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? FormHelperText.propTypes /* remove-proptypes */ = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n /**\n * The content of the component.\n *\n * If `' '` is provided, the component reserves one line height for displaying a future message.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * If `true`, the helper text should be displayed in a disabled state.\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, helper text should be displayed in an error state.\n */\n error: PropTypes.bool,\n /**\n * If `true`, the helper text should use filled classes key.\n */\n filled: PropTypes.bool,\n /**\n * If `true`, the helper text should use focused classes key.\n */\n focused: PropTypes.bool,\n /**\n * If `dense`, will adjust vertical spacing. This is normally obtained via context from\n * FormControl.\n */\n margin: PropTypes.oneOf(['dense']),\n /**\n * If `true`, the helper text should use required classes key.\n */\n required: PropTypes.bool,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The variant to use.\n */\n variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['filled', 'outlined', 'standard']), PropTypes.string])\n} : void 0;\nexport default FormHelperText;","import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils';\nimport generateUtilityClass from '../generateUtilityClass';\nexport function getTextFieldUtilityClass(slot) {\n return generateUtilityClass('MuiTextField', slot);\n}\nconst textFieldClasses = generateUtilityClasses('MuiTextField', ['root']);\nexport default textFieldClasses;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"autoComplete\", \"autoFocus\", \"children\", \"className\", \"color\", \"defaultValue\", \"disabled\", \"error\", \"FormHelperTextProps\", \"fullWidth\", \"helperText\", \"id\", \"InputLabelProps\", \"inputProps\", \"InputProps\", \"inputRef\", \"label\", \"maxRows\", \"minRows\", \"multiline\", \"name\", \"onBlur\", \"onChange\", \"onClick\", \"onFocus\", \"placeholder\", \"required\", \"rows\", \"select\", \"SelectProps\", \"type\", \"value\", \"variant\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { unstable_composeClasses as composeClasses } from '@mui/base';\nimport { refType, unstable_useId as useId } from '@mui/utils';\nimport styled from '../styles/styled';\nimport useThemeProps from '../styles/useThemeProps';\nimport Input from '../Input';\nimport FilledInput from '../FilledInput';\nimport OutlinedInput from '../OutlinedInput';\nimport InputLabel from '../InputLabel';\nimport FormControl from '../FormControl';\nimport FormHelperText from '../FormHelperText';\nimport Select from '../Select';\nimport { getTextFieldUtilityClass } from './textFieldClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nconst variantComponent = {\n standard: Input,\n filled: FilledInput,\n outlined: OutlinedInput\n};\nconst useUtilityClasses = ownerState => {\n const {\n classes\n } = ownerState;\n const slots = {\n root: ['root']\n };\n return composeClasses(slots, getTextFieldUtilityClass, classes);\n};\nconst TextFieldRoot = styled(FormControl, {\n name: 'MuiTextField',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n})({});\n\n/**\n * The `TextField` is a convenience wrapper for the most common cases (80%).\n * It cannot be all things to all people, otherwise the API would grow out of control.\n *\n * ## Advanced Configuration\n *\n * It's important to understand that the text field is a simple abstraction\n * on top of the following components:\n *\n * - [FormControl](/material-ui/api/form-control/)\n * - [InputLabel](/material-ui/api/input-label/)\n * - [FilledInput](/material-ui/api/filled-input/)\n * - [OutlinedInput](/material-ui/api/outlined-input/)\n * - [Input](/material-ui/api/input/)\n * - [FormHelperText](/material-ui/api/form-helper-text/)\n *\n * If you wish to alter the props applied to the `input` element, you can do so as follows:\n *\n * ```jsx\n * const inputProps = {\n * step: 300,\n * };\n *\n * return ;\n * ```\n *\n * For advanced cases, please look at the source of TextField by clicking on the\n * \"Edit this page\" button above. Consider either:\n *\n * - using the upper case props for passing values directly to the components\n * - using the underlying components directly as shown in the demos\n */\nconst TextField = /*#__PURE__*/React.forwardRef(function TextField(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiTextField'\n });\n const {\n autoComplete,\n autoFocus = false,\n children,\n className,\n color = 'primary',\n defaultValue,\n disabled = false,\n error = false,\n FormHelperTextProps,\n fullWidth = false,\n helperText,\n id: idOverride,\n InputLabelProps,\n inputProps,\n InputProps,\n inputRef,\n label,\n maxRows,\n minRows,\n multiline = false,\n name,\n onBlur,\n onChange,\n onClick,\n onFocus,\n placeholder,\n required = false,\n rows,\n select = false,\n SelectProps,\n type,\n value,\n variant = 'outlined'\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const ownerState = _extends({}, props, {\n autoFocus,\n color,\n disabled,\n error,\n fullWidth,\n multiline,\n required,\n select,\n variant\n });\n const classes = useUtilityClasses(ownerState);\n if (process.env.NODE_ENV !== 'production') {\n if (select && !children) {\n console.error('MUI: `children` must be passed when using the `TextField` component with `select`.');\n }\n }\n const InputMore = {};\n if (variant === 'outlined') {\n if (InputLabelProps && typeof InputLabelProps.shrink !== 'undefined') {\n InputMore.notched = InputLabelProps.shrink;\n }\n InputMore.label = label;\n }\n if (select) {\n // unset defaults from textbox inputs\n if (!SelectProps || !SelectProps.native) {\n InputMore.id = undefined;\n }\n InputMore['aria-describedby'] = undefined;\n }\n const id = useId(idOverride);\n const helperTextId = helperText && id ? `${id}-helper-text` : undefined;\n const inputLabelId = label && id ? `${id}-label` : undefined;\n const InputComponent = variantComponent[variant];\n const InputElement = /*#__PURE__*/_jsx(InputComponent, _extends({\n \"aria-describedby\": helperTextId,\n autoComplete: autoComplete,\n autoFocus: autoFocus,\n defaultValue: defaultValue,\n fullWidth: fullWidth,\n multiline: multiline,\n name: name,\n rows: rows,\n maxRows: maxRows,\n minRows: minRows,\n type: type,\n value: value,\n id: id,\n inputRef: inputRef,\n onBlur: onBlur,\n onChange: onChange,\n onFocus: onFocus,\n onClick: onClick,\n placeholder: placeholder,\n inputProps: inputProps\n }, InputMore, InputProps));\n return /*#__PURE__*/_jsxs(TextFieldRoot, _extends({\n className: clsx(classes.root, className),\n disabled: disabled,\n error: error,\n fullWidth: fullWidth,\n ref: ref,\n required: required,\n color: color,\n variant: variant,\n ownerState: ownerState\n }, other, {\n children: [label != null && label !== '' && /*#__PURE__*/_jsx(InputLabel, _extends({\n htmlFor: id,\n id: inputLabelId\n }, InputLabelProps, {\n children: label\n })), select ? /*#__PURE__*/_jsx(Select, _extends({\n \"aria-describedby\": helperTextId,\n id: id,\n labelId: inputLabelId,\n value: value,\n input: InputElement\n }, SelectProps, {\n children: children\n })) : InputElement, helperText && /*#__PURE__*/_jsx(FormHelperText, _extends({\n id: helperTextId\n }, FormHelperTextProps, {\n children: helperText\n }))]\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? TextField.propTypes /* remove-proptypes */ = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n /**\n * This prop helps users to fill forms faster, especially on mobile devices.\n * The name can be confusing, as it's more like an autofill.\n * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).\n */\n autoComplete: PropTypes.string,\n /**\n * If `true`, the `input` element is focused during the first mount.\n * @default false\n */\n autoFocus: PropTypes.bool,\n /**\n * @ignore\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).\n * @default 'primary'\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),\n /**\n * The default value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n /**\n * If `true`, the component is disabled.\n * @default false\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the label is displayed in an error state.\n * @default false\n */\n error: PropTypes.bool,\n /**\n * Props applied to the [`FormHelperText`](/material-ui/api/form-helper-text/) element.\n */\n FormHelperTextProps: PropTypes.object,\n /**\n * If `true`, the input will take up the full width of its container.\n * @default false\n */\n fullWidth: PropTypes.bool,\n /**\n * The helper text content.\n */\n helperText: PropTypes.node,\n /**\n * The id of the `input` element.\n * Use this prop to make `label` and `helperText` accessible for screen readers.\n */\n id: PropTypes.string,\n /**\n * Props applied to the [`InputLabel`](/material-ui/api/input-label/) element.\n * Pointer events like `onClick` are enabled if and only if `shrink` is `true`.\n */\n InputLabelProps: PropTypes.object,\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n */\n inputProps: PropTypes.object,\n /**\n * Props applied to the Input element.\n * It will be a [`FilledInput`](/material-ui/api/filled-input/),\n * [`OutlinedInput`](/material-ui/api/outlined-input/) or [`Input`](/material-ui/api/input/)\n * component depending on the `variant` prop value.\n */\n InputProps: PropTypes.object,\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n /**\n * The label content.\n */\n label: PropTypes.node,\n /**\n * If `dense` or `normal`, will adjust vertical spacing of this and contained components.\n * @default 'none'\n */\n margin: PropTypes.oneOf(['dense', 'none', 'normal']),\n /**\n * Maximum number of rows to display when multiline option is set to true.\n */\n maxRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * Minimum number of rows to display when multiline option is set to true.\n */\n minRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * If `true`, a `textarea` element is rendered instead of an input.\n * @default false\n */\n multiline: PropTypes.bool,\n /**\n * Name attribute of the `input` element.\n */\n name: PropTypes.string,\n /**\n * @ignore\n */\n onBlur: PropTypes.func,\n /**\n * Callback fired when the value is changed.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n /**\n * @ignore\n */\n onClick: PropTypes.func,\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n /**\n * The short hint displayed in the `input` before the user enters a value.\n */\n placeholder: PropTypes.string,\n /**\n * If `true`, the label is displayed as required and the `input` element is required.\n * @default false\n */\n required: PropTypes.bool,\n /**\n * Number of rows to display when multiline option is set to true.\n */\n rows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * Render a [`Select`](/material-ui/api/select/) element while passing the Input element to `Select` as `input` parameter.\n * If this option is set you must pass the options of the select as children.\n * @default false\n */\n select: PropTypes.bool,\n /**\n * Props applied to the [`Select`](/material-ui/api/select/) element.\n */\n SelectProps: PropTypes.object,\n /**\n * The size of the component.\n */\n size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['medium', 'small']), PropTypes.string]),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).\n */\n type: PropTypes /* @typescript-to-proptypes-ignore */.string,\n /**\n * The value of the `input` element, required for a controlled component.\n */\n value: PropTypes.any,\n /**\n * The variant to use.\n * @default 'outlined'\n */\n variant: PropTypes.oneOf(['filled', 'outlined', 'standard'])\n} : void 0;\nexport default TextField;","// extracted by mini-css-extract-plugin\nexport default {\"createProject__modal\":\"CreateProject_createProject__modal__jyYwE\"};","import React, { useState } from 'react';\nimport { Button, Modal, Box, Typography, TextField } from '@mui/material';\nimport { useAppDispatch } from '../../hooks/redux';\nimport { createProjectAction } from '../state/projects.actions';\nimport styles from '../styles/CreateProject.module.scss';\nimport ErrBanner from '../../shared/ui/ErrBanner';\n\nexport default function CreateProject() {\n const dispatch = useAppDispatch();\n const [open, setOpen] = useState(false);\n const [title, setTitle] = useState('');\n const [error, setError] = useState(null);\n\n const handleOpen = () => setOpen(true);\n const handleClose = () => setOpen(false);\n const onChangeTitle = (e: React.ChangeEvent) => {\n setTitle(e.target.value);\n };\n\n const onHandle = (err?: string) => {\n if (err) setError(err);\n else {\n setTitle('');\n handleClose();\n }\n };\n\n const onCreateProject = (e: React.FormEvent) => {\n e.preventDefault();\n dispatch(createProjectAction(title, onHandle));\n };\n\n return (\n <>\n \n\n \n \n
\n Create Project\n \n \n \n \n
\n \n
\n
\n \n );\n}\n","import { AppDispatch } from '../../store/store';\nimport api from '../../services/http';\nimport { PROJECT_URL, DEFAULT_ERROR_TEXT } from '../../constants';\nimport { ICreateProjectResponse, IProject } from '../model/projects.model';\nimport { projectSlice } from './projects.slice';\nimport { clearLogsAction } from '../../logs';\nimport { apiErrorHandler } from '../../shared/errorHandler';\n\n// eslint-disable-next-line no-unused-vars\ntype cb = (msg?: string) => void;\n\nexport const createProjectAction = (title: string, cb: cb) => async (dispatch: AppDispatch) => {\n try {\n const response = await api.post(PROJECT_URL, { title });\n dispatch(projectSlice.actions.add([response.data.project]));\n cb();\n } catch (err) {\n cb(apiErrorHandler(err));\n }\n};\n\nexport const getProjectsAction = () => async (dispatch: AppDispatch) => {\n try {\n const response = await api.get<{ projects: IProject[] }>(PROJECT_URL);\n dispatch(projectSlice.actions.add(response.data.projects));\n } catch (err) {\n const message = apiErrorHandler(err);\n dispatch(projectSlice.actions.onError(message));\n }\n};\n\nexport const deleteProjectAction = (id: string, cb: cb) => async (dispatch: AppDispatch) => {\n try {\n await api.delete(`${PROJECT_URL}/${id}`);\n dispatch(projectSlice.actions.delete(id));\n dispatch(clearLogsAction());\n } catch (err) {\n const message = err.message || DEFAULT_ERROR_TEXT;\n cb(message);\n }\n};\n\nexport const getCurrentProjectAction = (projectId: string, cb: cb) => async (dispatch: AppDispatch) => {\n try {\n const response = await api.get<{ project: IProject }>(`${PROJECT_URL}/${projectId}`);\n dispatch(projectSlice.actions.setCurrent(response.data.project));\n } catch (err) {\n const message = err.message || DEFAULT_ERROR_TEXT;\n cb(message);\n }\n};\n","// extracted by mini-css-extract-plugin\nexport default {\"projects__wrapper\":\"ProjectsPage_projects__wrapper__81+MF\",\"projects__main\":\"ProjectsPage_projects__main__fxzp-\",\"projects__aside\":\"ProjectsPage_projects__aside__legVB\",\"projects__divider\":\"ProjectsPage_projects__divider__lBCxY\"};","// extracted by mini-css-extract-plugin\nexport default {\"row__item\":\"ProjectRow_row__item__7t3kT\",\"row__title\":\"ProjectRow_row__title__Wx9ae\",\"row__control\":\"ProjectRow_row__control__nXyQb\",\"link\":\"ProjectRow_link__3lkD-\",\"row__titleWrap\":\"ProjectRow_row__titleWrap__gcM9E\",\"row__key\":\"ProjectRow_row__key__l-n-G\",\"row__controlItem\":\"ProjectRow_row__controlItem__SECwl\",\"row__controlIcon\":\"ProjectRow_row__controlIcon__V1pnR\",\"modal\":\"ProjectRow_modal__Nwpju\"};","import React, { FC, useState } from 'react';\nimport { Link, useNavigate } from 'react-router-dom';\nimport {\n ListItem, ListItemButton, ListItemText, Typography, Box, Divider, Snackbar, Alert,\n} from '@mui/material';\nimport VpnKeyIcon from '@mui/icons-material/VpnKey';\nimport DeleteIcon from '@mui/icons-material/Delete';\nimport SettingsIcon from '@mui/icons-material/Settings';\nimport { useAppDispatch } from '../../hooks/redux';\nimport { projectsRoute } from '../../routes';\nimport { IProject } from '../model/projects.model';\nimport { deleteProjectAction } from '../state/projects.actions';\nimport styles from '../styles/ProjectRow.module.scss';\nimport ErrBanner from '../../shared/ui/ErrBanner';\n\ninterface IProjectRowProps {\n project: IProject\n}\n\nconst ProjectRow: FC = ({ project }) => {\n const dispatch = useAppDispatch();\n const navigate = useNavigate();\n const [showCopyMsg, setShowCopyMsg] = useState(false);\n const [error, setError] = useState(null);\n\n const onError = (msg?: string) => {\n if (msg) setError(msg);\n };\n\n const onDelete = (e: React.MouseEvent, id: string) => {\n e.preventDefault();\n dispatch(deleteProjectAction(id, onError));\n };\n\n const onSettings = (e: React.MouseEvent, id: string) => {\n e.preventDefault();\n navigate(`${projectsRoute.url}/settings/${id}`);\n };\n\n const onCopyKey = (e: React.MouseEvent, id: string) => {\n e.preventDefault();\n navigator.clipboard.writeText(id);\n setShowCopyMsg(true);\n };\n\n const onHideCopyMsg = () => {\n setShowCopyMsg(false);\n };\n\n const btnHoverStyle = { '&:hover': { color: 'secondary.main' } };\n\n return (\n \n \n \n \n \n {project.title}\n \n \n )}\n secondary={(\n \n onDelete(e, project.id)}\n >\n Delete\n \n \n onSettings(e, project.id)}\n >\n Settings\n \n \n onCopyKey(e, project.id)}\n >\n Copy Key\n \n \n \n )}\n />\n \n \n \n \n \n \n Id copied\n \n \n \n );\n};\n\nexport default ProjectRow;\n","import React, { FC } from 'react';\nimport { Typography, List, ListItem, ListItemText } from '@mui/material';\nimport ProjectRow from './ProjectRow';\nimport { IProject } from '../model/projects.model';\n\nconst ProjectsList: FC<{projects: IProject[]}> = ({ projects }) => {\n return (\n <>\n {projects.length > 0\n && (\n \n \n \n \n {projects.map((project) => )}\n \n )}\n\n {projects.length === 0\n && (\n \n You dont have projects yet, please Create new\n \n )}\n \n );\n};\n\nexport default ProjectsList;\n","import React, { FC } from 'react';\nimport { Link } from 'react-router-dom';\nimport { Typography, Chip } from '@mui/material';\nimport { planRoute } from '../../routes';\n\ninterface IProjectsLimitInfoProps {\n projectsThreshold: number;\n current: number\n}\n\nconst ProjectsLimitInfo: FC = ({ projectsThreshold, current }) => {\n return (\n <>\n {current >= projectsThreshold && (\n \n You currently have a limit of\n {' '}\n \n projects under your current plan. To create additional projects,\n please consider upgrading your\n plan\n \n )}\n\n {current < projectsThreshold && (\n \n You have access to\n {' '}\n \n {' '}\n projects within the scope of your current plan.\n \n )}\n \n );\n};\n\nexport default ProjectsLimitInfo;\n","import React, { useEffect } from 'react';\nimport { Paper, Typography, Divider, Box } from '@mui/material';\nimport { useAppDispatch, useAppSelector } from '../../hooks/redux';\nimport CreateProject from '../components/CreateProject';\nimport { getProjectsAction } from '../state/projects.actions';\nimport styles from '../styles/ProjectsPage.module.scss';\nimport ProjectsList from '../components/ProjectsList';\nimport ProjectsLimitInfo from '../components/ProjectsLimitInfo';\nimport ErrBanner from '../../shared/ui/ErrBanner';\n\nconst ProjectsPage = () => {\n const dispatch = useAppDispatch();\n const { projects, error } = useAppSelector((state) => state.projectReducer);\n const { user } = useAppSelector((state) => state.userReducer);\n const { plans } = useAppSelector((state) => state.planReducer);\n\n let projectsThreshold = 0;\n if (user && plans.length) {\n projectsThreshold = plans.find((plan) => plan.id === user.planId)!.projectsNum;\n }\n\n useEffect(() => {\n dispatch(getProjectsAction());\n }, [dispatch]);\n\n return (\n \n \n {!error && }\n \n \n \n \n {!error && (\n <>\n Projects Info\n \n \n { projects.length < projectsThreshold && }\n \n )}\n \n \n );\n};\n\nexport default ProjectsPage;\n","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z\"\n}), 'Delete');\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z\"\n}), 'Settings');\nexports.default = _default;"],"names":["getFormHelperTextUtilityClasses","slot","generateUtilityClass","_span","generateUtilityClasses","_excluded","FormHelperTextRoot","styled","name","overridesResolver","props","styles","ownerState","root","size","concat","capitalize","contained","filled","_ref","_extends2","theme","_extends","color","vars","palette","text","secondary","typography","caption","textAlign","marginTop","marginRight","marginBottom","marginLeft","_defineProperty","formHelperTextClasses","disabled","error","main","React","inProps","ref","useThemeProps","children","className","_props$component","component","other","_objectWithoutPropertiesLoose","muiFormControl","useFormControl","fcs","formControlState","states","variant","focused","required","classes","slots","composeClasses","useUtilityClasses","_jsx","as","clsx","getTextFieldUtilityClass","variantComponent","standard","Input","FilledInput","outlined","OutlinedInput","TextFieldRoot","FormControl","autoComplete","_props$autoFocus","autoFocus","_props$color","defaultValue","_props$disabled","_props$error","FormHelperTextProps","_props$fullWidth","fullWidth","helperText","idOverride","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","_props$multiline","multiline","onBlur","onChange","onClick","onFocus","placeholder","_props$required","rows","_props$select","select","SelectProps","type","value","_props$variant","InputMore","shrink","notched","native","undefined","useId","helperTextId","inputLabelId","InputComponent","InputElement","_jsxs","InputLabel","htmlFor","Select","labelId","input","FormHelperText","CreateProject","dispatch","useAppDispatch","_useState","useState","_useState2","_slicedToArray","open","setOpen","_useState3","_useState4","title","setTitle","_useState5","_useState6","setError","handleClose","onHandle","err","_Fragment","Button","Modal","onClose","Box","sx","bgcolor","onSubmit","e","preventDefault","cb","_asyncToGenerator","_regeneratorRuntime","mark","_callee","response","wrap","_context","prev","next","api","post","PROJECT_URL","sent","projectSlice","actions","add","data","project","t0","apiErrorHandler","stop","_x","apply","arguments","createProjectAction","Typography","mt","mb","TextField","target","ErrBanner","navigate","useNavigate","showCopyMsg","setShowCopyMsg","onError","msg","onDelete","_ref3","_callee3","message","_context3","delete","clearLogsAction","DEFAULT_ERROR_TEXT","_x3","deleteProjectAction","btnHoverStyle","Link","to","projectsRoute","url","ListItem","disablePadding","ListItemButton","ListItemText","primary","DeleteIcon","onSettings","SettingsIcon","navigator","clipboard","writeText","onCopyKey","VpnKeyIcon","Divider","Snackbar","autoHideDuration","anchorOrigin","vertical","horizontal","Alert","severity","projects","length","List","map","ProjectRow","projectsThreshold","current","Chip","planRoute","_useAppSelector","useAppSelector","state","projectReducer","user","userReducer","plans","planReducer","find","plan","planId","projectsNum","useEffect","_ref2","_callee2","_context2","get","_x2","Paper","ProjectsList","p","ProjectsLimitInfo","_interopRequireDefault","require","exports","_createSvgIcon","_jsxRuntime","_default","default","jsx","d"],"sourceRoot":""} \ No newline at end of file diff --git a/server/dist/build/static/js/391.edd22a17.chunk.js b/server/dist/build/static/js/391.edd22a17.chunk.js new file mode 100644 index 0000000..c0e46e5 --- /dev/null +++ b/server/dist/build/static/js/391.edd22a17.chunk.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkclient=self.webpackChunkclient||[]).push([[391],{5391:function(e,n,t){t.d(n,{Z:function(){return te}});var o=t(9439),r=t(3366),i=t(7462),a=t(2791),s=t(8182),l=t(7563),c=t(9723),u=t(8956),d=t(8949),f=t(4419),p=t(6174),v=t(5671),m=t(3144),b=t(3433),h=t(7979),E=t(7137);function y(e,n){n?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function k(e){return parseInt((0,h.Z)(e).getComputedStyle(e).paddingRight,10)||0}function g(e,n,t,o,r){var i=[n,t].concat((0,b.Z)(o));[].forEach.call(e.children,(function(e){var n=-1===i.indexOf(e),t=!function(e){var n=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),t="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return n||t}(e);n&&t&&y(e,r)}))}function x(e,n){var t=-1;return e.some((function(e,o){return!!n(e)&&(t=o,!0)})),t}function Z(e,n){var t=[],o=e.container;if(!n.disableScrollLock){if(function(e){var n=(0,c.Z)(e);return n.body===e?(0,h.Z)(e).innerWidth>n.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(o)){var r=(0,E.Z)((0,c.Z)(o));t.push({value:o.style.paddingRight,property:"padding-right",el:o}),o.style.paddingRight="".concat(k(o)+r,"px");var i=(0,c.Z)(o).querySelectorAll(".mui-fixed");[].forEach.call(i,(function(e){t.push({value:e.style.paddingRight,property:"padding-right",el:e}),e.style.paddingRight="".concat(k(e)+r,"px")}))}var a;if(o.parentNode instanceof DocumentFragment)a=(0,c.Z)(o).body;else{var s=o.parentElement,l=(0,h.Z)(o);a="HTML"===(null==s?void 0:s.nodeName)&&"scroll"===l.getComputedStyle(s).overflowY?s:o}t.push({value:a.style.overflow,property:"overflow",el:a},{value:a.style.overflowX,property:"overflow-x",el:a},{value:a.style.overflowY,property:"overflow-y",el:a}),a.style.overflow="hidden"}return function(){t.forEach((function(e){var n=e.value,t=e.el,o=e.property;n?t.style.setProperty(o,n):t.style.removeProperty(o)}))}}var R=function(){function e(){(0,v.Z)(this,e),this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}return(0,m.Z)(e,[{key:"add",value:function(e,n){var t=this.modals.indexOf(e);if(-1!==t)return t;t=this.modals.length,this.modals.push(e),e.modalRef&&y(e.modalRef,!1);var o=function(e){var n=[];return[].forEach.call(e.children,(function(e){"true"===e.getAttribute("aria-hidden")&&n.push(e)})),n}(n);g(n,e.mount,e.modalRef,o,!0);var r=x(this.containers,(function(e){return e.container===n}));return-1!==r?(this.containers[r].modals.push(e),t):(this.containers.push({modals:[e],container:n,restore:null,hiddenSiblings:o}),t)}},{key:"mount",value:function(e,n){var t=x(this.containers,(function(n){return-1!==n.modals.indexOf(e)})),o=this.containers[t];o.restore||(o.restore=Z(o,n))}},{key:"remove",value:function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],t=this.modals.indexOf(e);if(-1===t)return t;var o=x(this.containers,(function(n){return-1!==n.modals.indexOf(e)})),r=this.containers[o];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(t,1),0===r.modals.length)r.restore&&r.restore(),e.modalRef&&y(e.modalRef,n),g(r.container,e.mount,e.modalRef,r.hiddenSiblings,!1),this.containers.splice(o,1);else{var i=r.modals[r.modals.length-1];i.modalRef&&y(i.modalRef,!1)}return t}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}]),e}(),T=t(184),P=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function w(e){var n=[],t=[];return Array.from(e.querySelectorAll(P)).forEach((function(e,o){var r=function(e){var n=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(n)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:n}(e);-1!==r&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;var n=function(n){return e.ownerDocument.querySelector('input[type="radio"]'.concat(n))},t=n('[name="'.concat(e.name,'"]:checked'));return t||(t=n('[name="'.concat(e.name,'"]'))),t!==e}(e))}(e)&&(0===r?n.push(e):t.push({documentOrder:o,tabIndex:r,node:e}))})),t.sort((function(e,n){return e.tabIndex===n.tabIndex?e.documentOrder-n.documentOrder:e.tabIndex-n.tabIndex})).map((function(e){return e.node})).concat(n)}function C(){return!0}var S=function(e){var n=e.children,t=e.disableAutoFocus,o=void 0!==t&&t,r=e.disableEnforceFocus,i=void 0!==r&&r,s=e.disableRestoreFocus,u=void 0!==s&&s,d=e.getTabbable,f=void 0===d?w:d,p=e.isEnabled,v=void 0===p?C:p,m=e.open,b=a.useRef(!1),h=a.useRef(null),E=a.useRef(null),y=a.useRef(null),k=a.useRef(null),g=a.useRef(!1),x=a.useRef(null),Z=(0,l.Z)(n.ref,x),R=a.useRef(null);a.useEffect((function(){m&&x.current&&(g.current=!o)}),[o,m]),a.useEffect((function(){if(m&&x.current){var e=(0,c.Z)(x.current);return x.current.contains(e.activeElement)||(x.current.hasAttribute("tabIndex")||x.current.setAttribute("tabIndex","-1"),g.current&&x.current.focus()),function(){u||(y.current&&y.current.focus&&(b.current=!0,y.current.focus()),y.current=null)}}}),[m]),a.useEffect((function(){if(m&&x.current){var e=(0,c.Z)(x.current),n=function(n){var t=x.current;if(null!==t)if(e.hasFocus()&&!i&&v()&&!b.current){if(!t.contains(e.activeElement)){if(n&&k.current!==n.target||e.activeElement!==k.current)k.current=null;else if(null!==k.current)return;if(!g.current)return;var o=[];if(e.activeElement!==h.current&&e.activeElement!==E.current||(o=f(x.current)),o.length>0){var r,a,s=Boolean((null==(r=R.current)?void 0:r.shiftKey)&&"Tab"===(null==(a=R.current)?void 0:a.key)),l=o[0],c=o[o.length-1];"string"!==typeof l&&"string"!==typeof c&&(s?c.focus():l.focus())}else t.focus()}}else b.current=!1},t=function(n){R.current=n,!i&&v()&&"Tab"===n.key&&e.activeElement===x.current&&n.shiftKey&&(b.current=!0,E.current&&E.current.focus())};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);var o=setInterval((function(){e.activeElement&&"BODY"===e.activeElement.tagName&&n(null)}),50);return function(){clearInterval(o),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}}}),[o,i,u,v,m,f]);var P=function(e){null===y.current&&(y.current=e.relatedTarget),g.current=!0};return(0,T.jsxs)(a.Fragment,{children:[(0,T.jsx)("div",{tabIndex:m?0:-1,onFocus:P,ref:h,"data-testid":"sentinelStart"}),a.cloneElement(n,{ref:Z,onFocus:function(e){null===y.current&&(y.current=e.relatedTarget),g.current=!0,k.current=e.target;var t=n.props.onFocus;t&&t(e)}}),(0,T.jsx)("div",{tabIndex:m?0:-1,onFocus:P,ref:E,"data-testid":"sentinelEnd"})]})},A=t(5878),F=t(1217);function N(e){return(0,F.Z)("MuiModal",e)}(0,A.Z)("MuiModal",["root","hidden","backdrop"]);var I=t(536),M=t(6826),B=["children","closeAfterTransition","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited","slotProps","slots"];var L=new R,O=a.forwardRef((function(e,n){var t,s,v=e.children,m=e.closeAfterTransition,b=void 0!==m&&m,h=e.container,E=e.disableAutoFocus,k=void 0!==E&&E,g=e.disableEnforceFocus,x=void 0!==g&&g,Z=e.disableEscapeKeyDown,R=void 0!==Z&&Z,P=e.disablePortal,w=void 0!==P&&P,C=e.disableRestoreFocus,A=void 0!==C&&C,F=e.disableScrollLock,O=void 0!==F&&F,D=e.hideBackdrop,K=void 0!==D&&D,j=e.keepMounted,U=void 0!==j&&j,W=e.manager,H=void 0===W?L:W,Y=e.onBackdropClick,q=e.onClose,z=e.onKeyDown,G=e.open,V=e.onTransitionEnter,X=e.onTransitionExited,J=e.slotProps,Q=void 0===J?{}:J,$=e.slots,_=void 0===$?{}:$,ee=(0,r.Z)(e,B),ne=H,te=a.useState(!G),oe=(0,o.Z)(te,2),re=oe[0],ie=oe[1],ae=a.useRef({}),se=a.useRef(null),le=a.useRef(null),ce=(0,l.Z)(le,n),ue=function(e){return!!e&&e.props.hasOwnProperty("in")}(v),de=null==(t=e["aria-hidden"])||t,fe=function(){return ae.current.modalRef=le.current,ae.current.mountNode=se.current,ae.current},pe=function(){ne.mount(fe(),{disableScrollLock:O}),le.current&&(le.current.scrollTop=0)},ve=(0,u.Z)((function(){var e=function(e){return"function"===typeof e?e():e}(h)||(0,c.Z)(se.current).body;ne.add(fe(),e),le.current&&pe()})),me=a.useCallback((function(){return ne.isTopModal(fe())}),[ne]),be=(0,u.Z)((function(e){se.current=e,e&&le.current&&(G&&me()?pe():y(le.current,de))})),he=a.useCallback((function(){ne.remove(fe(),de)}),[ne,de]);a.useEffect((function(){return function(){he()}}),[he]),a.useEffect((function(){G?ve():ue&&b||he()}),[G,he,ue,b,ve]);var Ee=(0,i.Z)({},e,{closeAfterTransition:b,disableAutoFocus:k,disableEnforceFocus:x,disableEscapeKeyDown:R,disablePortal:w,disableRestoreFocus:A,disableScrollLock:O,exited:re,hideBackdrop:K,keepMounted:U}),ye=function(e){var n=e.open,t=e.exited,o={root:["root",!n&&t&&"hidden"],backdrop:["backdrop"]};return(0,f.Z)(o,(0,M.T)(N))}(Ee),ke={};void 0===v.props.tabIndex&&(ke.tabIndex="-1"),ue&&(ke.onEnter=(0,d.Z)((function(){ie(!1),V&&V()}),v.props.onEnter),ke.onExited=(0,d.Z)((function(){ie(!0),X&&X(),b&&he()}),v.props.onExited));var ge=null!=(s=_.root)?s:"div",xe=(0,I.Z)({elementType:ge,externalSlotProps:Q.root,externalForwardedProps:ee,additionalProps:{ref:ce,role:"presentation",onKeyDown:function(e){z&&z(e),"Escape"===e.key&&me()&&(R||(e.stopPropagation(),q&&q(e,"escapeKeyDown")))}},className:ye.root,ownerState:Ee}),Ze=_.backdrop,Re=(0,I.Z)({elementType:Ze,externalSlotProps:Q.backdrop,additionalProps:{"aria-hidden":!0,onClick:function(e){e.target===e.currentTarget&&(Y&&Y(e),q&&q(e,"backdropClick"))},open:G},className:ye.backdrop,ownerState:Ee});return U||G||ue&&!re?(0,T.jsx)(p.Z,{ref:be,container:h,disablePortal:w,children:(0,T.jsxs)(ge,(0,i.Z)({},xe,{children:[!K&&Ze?(0,T.jsx)(Ze,(0,i.Z)({},Re)):null,(0,T.jsx)(S,{disableEnforceFocus:x,disableAutoFocus:k,disableRestoreFocus:A,isEnabled:me,open:G,children:a.cloneElement(v,ke)})]}))}):null})),D=t(1503),K=t(627),j=t(6934),U=t(1402),W=t(6752),H=t(3967),Y=t(4999),q=t(2071),z=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],G={entering:{opacity:1},entered:{opacity:1}},V=a.forwardRef((function(e,n){var t=(0,H.Z)(),o={enter:t.transitions.duration.enteringScreen,exit:t.transitions.duration.leavingScreen},s=e.addEndListener,l=e.appear,c=void 0===l||l,u=e.children,d=e.easing,f=e.in,p=e.onEnter,v=e.onEntered,m=e.onEntering,b=e.onExit,h=e.onExited,E=e.onExiting,y=e.style,k=e.timeout,g=void 0===k?o:k,x=e.TransitionComponent,Z=void 0===x?W.ZP:x,R=(0,r.Z)(e,z),P=a.useRef(null),w=(0,q.Z)(P,u.ref,n),C=function(e){return function(n){if(e){var t=P.current;void 0===n?e(t):e(t,n)}}},S=C(m),A=C((function(e,n){(0,Y.n)(e);var o=(0,Y.C)({style:y,timeout:g,easing:d},{mode:"enter"});e.style.webkitTransition=t.transitions.create("opacity",o),e.style.transition=t.transitions.create("opacity",o),p&&p(e,n)})),F=C(v),N=C(E),I=C((function(e){var n=(0,Y.C)({style:y,timeout:g,easing:d},{mode:"exit"});e.style.webkitTransition=t.transitions.create("opacity",n),e.style.transition=t.transitions.create("opacity",n),b&&b(e)})),M=C(h);return(0,T.jsx)(Z,(0,i.Z)({appear:c,in:f,nodeRef:P,onEnter:A,onEntered:F,onEntering:S,onExit:I,onExited:M,onExiting:N,addEndListener:function(e){s&&s(P.current,e)},timeout:g},R,{children:function(e,n){return a.cloneElement(u,(0,i.Z)({style:(0,i.Z)({opacity:0,visibility:"exited"!==e||f?void 0:"hidden"},G[e],y,u.props.style),ref:w},n))}}))}));function X(e){return(0,F.Z)("MuiBackdrop",e)}(0,A.Z)("MuiBackdrop",["root","invisible"]);var J=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],Q=(0,j.ZP)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState;return[n.root,t.invisible&&n.invisible]}})((function(e){var n=e.ownerState;return(0,i.Z)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},n.invisible&&{backgroundColor:"transparent"})})),$=a.forwardRef((function(e,n){var t,o,a,l=(0,U.Z)({props:e,name:"MuiBackdrop"}),c=l.children,u=l.className,d=l.component,p=void 0===d?"div":d,v=l.components,m=void 0===v?{}:v,b=l.componentsProps,h=void 0===b?{}:b,E=l.invisible,y=void 0!==E&&E,k=l.open,g=l.slotProps,x=void 0===g?{}:g,Z=l.slots,R=void 0===Z?{}:Z,P=l.TransitionComponent,w=void 0===P?V:P,C=l.transitionDuration,S=(0,r.Z)(l,J),A=(0,i.Z)({},l,{component:p,invisible:y}),F=function(e){var n=e.classes,t={root:["root",e.invisible&&"invisible"]};return(0,f.Z)(t,X,n)}(A),N=null!=(t=x.root)?t:h.root;return(0,T.jsx)(w,(0,i.Z)({in:k,timeout:C},S,{children:(0,T.jsx)(Q,(0,i.Z)({"aria-hidden":!0},N,{as:null!=(o=null!=(a=R.root)?a:m.Root)?o:p,className:(0,s.Z)(F.root,u,null==N?void 0:N.className),ownerState:(0,i.Z)({},A,null==N?void 0:N.ownerState),classes:F,ref:n,children:c}))}))})),_=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","open","slotProps","slots","theme"],ee=(0,j.ZP)("div",{name:"MuiModal",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState;return[n.root,!t.open&&t.exited&&n.hidden]}})((function(e){var n=e.theme,t=e.ownerState;return(0,i.Z)({position:"fixed",zIndex:(n.vars||n).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})})),ne=(0,j.ZP)($,{name:"MuiModal",slot:"Backdrop",overridesResolver:function(e,n){return n.backdrop}})({zIndex:-1}),te=a.forwardRef((function(e,n){var t,l,c,u,d,f,p=(0,U.Z)({name:"MuiModal",props:e}),v=p.BackdropComponent,m=void 0===v?ne:v,b=p.BackdropProps,h=p.classes,E=p.className,y=p.closeAfterTransition,k=void 0!==y&&y,g=p.children,x=p.container,Z=p.component,R=p.components,P=void 0===R?{}:R,w=p.componentsProps,C=void 0===w?{}:w,S=p.disableAutoFocus,A=void 0!==S&&S,F=p.disableEnforceFocus,N=void 0!==F&&F,I=p.disableEscapeKeyDown,M=void 0!==I&&I,B=p.disablePortal,L=void 0!==B&&B,j=p.disableRestoreFocus,W=void 0!==j&&j,H=p.disableScrollLock,Y=void 0!==H&&H,q=p.hideBackdrop,z=void 0!==q&&q,G=p.keepMounted,V=void 0!==G&&G,X=p.onBackdropClick,J=p.onClose,Q=p.open,$=p.slotProps,te=p.slots,oe=p.theme,re=(0,r.Z)(p,_),ie=a.useState(!0),ae=(0,o.Z)(ie,2),se=ae[0],le=ae[1],ce={container:x,closeAfterTransition:k,disableAutoFocus:A,disableEnforceFocus:N,disableEscapeKeyDown:M,disablePortal:L,disableRestoreFocus:W,disableScrollLock:Y,hideBackdrop:z,keepMounted:V,onBackdropClick:X,onClose:J,open:Q},ue=(0,i.Z)({},p,ce,{exited:se}),de=null!=(t=null!=(l=null==te?void 0:te.root)?l:P.Root)?t:ee,fe=null!=(c=null!=(u=null==te?void 0:te.backdrop)?u:P.Backdrop)?c:m,pe=null!=(d=null==$?void 0:$.root)?d:C.root,ve=null!=(f=null==$?void 0:$.backdrop)?f:C.backdrop;return(0,T.jsx)(O,(0,i.Z)({slots:{root:de,backdrop:fe},slotProps:{root:function(){return(0,i.Z)({},(0,D.Z)(pe,ue),!(0,K.Z)(de)&&{as:Z,theme:oe},{className:(0,s.Z)(E,null==pe?void 0:pe.className,null==h?void 0:h.root,!ue.open&&ue.exited&&(null==h?void 0:h.hidden))})},backdrop:function(){return(0,i.Z)({},b,(0,D.Z)(ve,ue),{className:(0,s.Z)(null==ve?void 0:ve.className,null==b?void 0:b.className,null==h?void 0:h.backdrop)})}},onTransitionEnter:function(){return le(!1)},onTransitionExited:function(){return le(!0)},ref:n},re,ce,{children:g}))}))},7137:function(e,n,t){function o(e){var n=e.documentElement.clientWidth;return Math.abs(window.innerWidth-n)}t.d(n,{Z:function(){return o}})}}]); +//# sourceMappingURL=391.edd22a17.chunk.js.map \ No newline at end of file diff --git a/server/dist/build/static/js/391.edd22a17.chunk.js.map b/server/dist/build/static/js/391.edd22a17.chunk.js.map new file mode 100644 index 0000000..0b0c61a --- /dev/null +++ b/server/dist/build/static/js/391.edd22a17.chunk.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/391.edd22a17.chunk.js","mappings":"0SASO,SAASA,EAAWC,EAASC,GAC9BA,EACFD,EAAQE,aAAa,cAAe,QAEpCF,EAAQG,gBAAgB,cAE5B,C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EACzCX,mBAAoB,kBAAMW,IAAU,EAAK,EACzCvE,IAAKA,GACJiE,GAAO8I,GAAa,CACrB7U,SAAUA,IAEd,G,uBCxIe,SAAS+B,EAAiBV,GAEvC,IAAM+T,EAAgB/T,EAAII,gBAAgBC,YAC1C,OAAO2T,KAAKC,IAAIC,OAAO/T,WAAa4T,EACtC,C","sources":["../node_modules/@mui/base/Modal/ModalManager.js","../node_modules/@mui/base/FocusTrap/FocusTrap.js","../node_modules/@mui/base/Modal/modalClasses.js","../node_modules/@mui/base/Modal/Modal.js","../node_modules/@mui/material/Fade/Fade.js","../node_modules/@mui/material/Backdrop/backdropClasses.js","../node_modules/@mui/material/Backdrop/Backdrop.js","../node_modules/@mui/material/Modal/Modal.js","../node_modules/@mui/utils/esm/getScrollbarSize.js"],"sourcesContent":["import { unstable_ownerWindow as ownerWindow, unstable_ownerDocument as ownerDocument, unstable_getScrollbarSize as getScrollbarSize } from '@mui/utils';\n// Is a vertical scrollbar displayed?\nfunction isOverflowing(container) {\n const doc = ownerDocument(container);\n if (doc.body === container) {\n return ownerWindow(container).innerWidth > doc.documentElement.clientWidth;\n }\n return container.scrollHeight > container.clientHeight;\n}\nexport function ariaHidden(element, show) {\n if (show) {\n element.setAttribute('aria-hidden', 'true');\n } else {\n element.removeAttribute('aria-hidden');\n }\n}\nfunction getPaddingRight(element) {\n return parseInt(ownerWindow(element).getComputedStyle(element).paddingRight, 10) || 0;\n}\nfunction isAriaHiddenForbiddenOnElement(element) {\n // The forbidden HTML tags are the ones from ARIA specification that\n // can be children of body and can't have aria-hidden attribute.\n // cf. https://www.w3.org/TR/html-aria/#docconformance\n const forbiddenTagNames = ['TEMPLATE', 'SCRIPT', 'STYLE', 'LINK', 'MAP', 'META', 'NOSCRIPT', 'PICTURE', 'COL', 'COLGROUP', 'PARAM', 'SLOT', 'SOURCE', 'TRACK'];\n const isForbiddenTagName = forbiddenTagNames.indexOf(element.tagName) !== -1;\n const isInputHidden = element.tagName === 'INPUT' && element.getAttribute('type') === 'hidden';\n return isForbiddenTagName || isInputHidden;\n}\nfunction ariaHiddenSiblings(container, mountElement, currentElement, elementsToExclude, show) {\n const blacklist = [mountElement, currentElement, ...elementsToExclude];\n [].forEach.call(container.children, element => {\n const isNotExcludedElement = blacklist.indexOf(element) === -1;\n const isNotForbiddenElement = !isAriaHiddenForbiddenOnElement(element);\n if (isNotExcludedElement && isNotForbiddenElement) {\n ariaHidden(element, show);\n }\n });\n}\nfunction findIndexOf(items, callback) {\n let idx = -1;\n items.some((item, index) => {\n if (callback(item)) {\n idx = index;\n return true;\n }\n return false;\n });\n return idx;\n}\nfunction handleContainer(containerInfo, props) {\n const restoreStyle = [];\n const container = containerInfo.container;\n if (!props.disableScrollLock) {\n if (isOverflowing(container)) {\n // Compute the size before applying overflow hidden to avoid any scroll jumps.\n const scrollbarSize = getScrollbarSize(ownerDocument(container));\n restoreStyle.push({\n value: container.style.paddingRight,\n property: 'padding-right',\n el: container\n });\n // Use computed style, here to get the real padding to add our scrollbar width.\n container.style.paddingRight = `${getPaddingRight(container) + scrollbarSize}px`;\n\n // .mui-fixed is a global helper.\n const fixedElements = ownerDocument(container).querySelectorAll('.mui-fixed');\n [].forEach.call(fixedElements, element => {\n restoreStyle.push({\n value: element.style.paddingRight,\n property: 'padding-right',\n el: element\n });\n element.style.paddingRight = `${getPaddingRight(element) + scrollbarSize}px`;\n });\n }\n let scrollContainer;\n if (container.parentNode instanceof DocumentFragment) {\n scrollContainer = ownerDocument(container).body;\n } else {\n // Improve Gatsby support\n // https://css-tricks.com/snippets/css/force-vertical-scrollbar/\n const parent = container.parentElement;\n const containerWindow = ownerWindow(container);\n scrollContainer = (parent == null ? void 0 : parent.nodeName) === 'HTML' && containerWindow.getComputedStyle(parent).overflowY === 'scroll' ? parent : container;\n }\n\n // Block the scroll even if no scrollbar is visible to account for mobile keyboard\n // screensize shrink.\n restoreStyle.push({\n value: scrollContainer.style.overflow,\n property: 'overflow',\n el: scrollContainer\n }, {\n value: scrollContainer.style.overflowX,\n property: 'overflow-x',\n el: scrollContainer\n }, {\n value: scrollContainer.style.overflowY,\n property: 'overflow-y',\n el: scrollContainer\n });\n scrollContainer.style.overflow = 'hidden';\n }\n const restore = () => {\n restoreStyle.forEach(({\n value,\n el,\n property\n }) => {\n if (value) {\n el.style.setProperty(property, value);\n } else {\n el.style.removeProperty(property);\n }\n });\n };\n return restore;\n}\nfunction getHiddenSiblings(container) {\n const hiddenSiblings = [];\n [].forEach.call(container.children, element => {\n if (element.getAttribute('aria-hidden') === 'true') {\n hiddenSiblings.push(element);\n }\n });\n return hiddenSiblings;\n}\n/**\n * @ignore - do not document.\n *\n * Proper state management for containers and the modals in those containers.\n * Simplified, but inspired by react-overlay's ModalManager class.\n * Used by the Modal to ensure proper styling of containers.\n */\nexport default class ModalManager {\n constructor() {\n this.containers = void 0;\n this.modals = void 0;\n this.modals = [];\n this.containers = [];\n }\n add(modal, container) {\n let modalIndex = this.modals.indexOf(modal);\n if (modalIndex !== -1) {\n return modalIndex;\n }\n modalIndex = this.modals.length;\n this.modals.push(modal);\n\n // If the modal we are adding is already in the DOM.\n if (modal.modalRef) {\n ariaHidden(modal.modalRef, false);\n }\n const hiddenSiblings = getHiddenSiblings(container);\n ariaHiddenSiblings(container, modal.mount, modal.modalRef, hiddenSiblings, true);\n const containerIndex = findIndexOf(this.containers, item => item.container === container);\n if (containerIndex !== -1) {\n this.containers[containerIndex].modals.push(modal);\n return modalIndex;\n }\n this.containers.push({\n modals: [modal],\n container,\n restore: null,\n hiddenSiblings\n });\n return modalIndex;\n }\n mount(modal, props) {\n const containerIndex = findIndexOf(this.containers, item => item.modals.indexOf(modal) !== -1);\n const containerInfo = this.containers[containerIndex];\n if (!containerInfo.restore) {\n containerInfo.restore = handleContainer(containerInfo, props);\n }\n }\n remove(modal, ariaHiddenState = true) {\n const modalIndex = this.modals.indexOf(modal);\n if (modalIndex === -1) {\n return modalIndex;\n }\n const containerIndex = findIndexOf(this.containers, item => item.modals.indexOf(modal) !== -1);\n const containerInfo = this.containers[containerIndex];\n containerInfo.modals.splice(containerInfo.modals.indexOf(modal), 1);\n this.modals.splice(modalIndex, 1);\n\n // If that was the last modal in a container, clean up the container.\n if (containerInfo.modals.length === 0) {\n // The modal might be closed before it had the chance to be mounted in the DOM.\n if (containerInfo.restore) {\n containerInfo.restore();\n }\n if (modal.modalRef) {\n // In case the modal wasn't in the DOM yet.\n ariaHidden(modal.modalRef, ariaHiddenState);\n }\n ariaHiddenSiblings(containerInfo.container, modal.mount, modal.modalRef, containerInfo.hiddenSiblings, false);\n this.containers.splice(containerIndex, 1);\n } else {\n // Otherwise make sure the next top modal is visible to a screen reader.\n const nextTop = containerInfo.modals[containerInfo.modals.length - 1];\n // as soon as a modal is adding its modalRef is undefined. it can't set\n // aria-hidden because the dom element doesn't exist either\n // when modal was unmounted before modalRef gets null\n if (nextTop.modalRef) {\n ariaHidden(nextTop.modalRef, false);\n }\n }\n return modalIndex;\n }\n isTopModal(modal) {\n return this.modals.length > 0 && this.modals[this.modals.length - 1] === modal;\n }\n}","/* eslint-disable consistent-return, jsx-a11y/no-noninteractive-tabindex */\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { exactProp, elementAcceptingRef, unstable_useForkRef as useForkRef, unstable_ownerDocument as ownerDocument } from '@mui/utils';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\n// Inspired by https://github.com/focus-trap/tabbable\nconst candidatesSelector = ['input', 'select', 'textarea', 'a[href]', 'button', '[tabindex]', 'audio[controls]', 'video[controls]', '[contenteditable]:not([contenteditable=\"false\"])'].join(',');\nfunction getTabIndex(node) {\n const tabindexAttr = parseInt(node.getAttribute('tabindex') || '', 10);\n if (!Number.isNaN(tabindexAttr)) {\n return tabindexAttr;\n }\n\n // Browsers do not return `tabIndex` correctly for contentEditable nodes;\n // https://bugs.chromium.org/p/chromium/issues/detail?id=661108&q=contenteditable%20tabindex&can=2\n // so if they don't have a tabindex attribute specifically set, assume it's 0.\n // in Chrome,
,