Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Apache
: 172.26.7.228 | : 3.137.185.202
Cant Read [ /etc/named.conf ]
5.6.40-24+ubuntu18.04.1+deb.sury.org+1
www-data
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
tdvsapp /
static /
js /
[ HOME SHELL ]
Name
Size
Permission
Action
0.0eb6c13f.chunk.js
27.08
KB
-rw-rw-r--
0.0eb6c13f.chunk.js.map
113.84
KB
-rw-rw-r--
0.2a8c8e14.chunk.js
27.08
KB
-rw-rw-r--
0.2a8c8e14.chunk.js.map
113.84
KB
-rw-rw-r--
1.02e3e9fa.chunk.js
36.12
KB
-rw-rw-r--
1.02e3e9fa.chunk.js.map
183.91
KB
-rw-rw-r--
1.5b25a566.chunk.js
36.12
KB
-rw-rw-r--
1.5b25a566.chunk.js.map
183.91
KB
-rw-rw-r--
10.4070e960.chunk.js
28.68
KB
-rw-rw-r--
10.4070e960.chunk.js.map
79.85
KB
-rw-rw-r--
10.a1b514df.chunk.js
36.42
KB
-rw-rw-r--
10.a1b514df.chunk.js.map
92.81
KB
-rw-rw-r--
10.a31b7e5b.chunk.js
36.5
KB
-rw-rw-r--
10.a31b7e5b.chunk.js.map
92.86
KB
-rw-rw-r--
11.1d23ce16.chunk.js
3.11
KB
-rw-rw-r--
11.1d23ce16.chunk.js.map
11.24
KB
-rw-rw-r--
11.acaee0aa.chunk.js
3.1
KB
-rw-rw-r--
11.acaee0aa.chunk.js.map
11.25
KB
-rw-rw-r--
12.4bd43931.chunk.js
10.07
KB
-rw-rw-r--
12.4bd43931.chunk.js.map
45.98
KB
-rw-rw-r--
12.d34d8c55.chunk.js
10.07
KB
-rw-rw-r--
12.d34d8c55.chunk.js.map
45.97
KB
-rw-rw-r--
13.0b93b679.chunk.js
11.87
KB
-rw-rw-r--
13.0b93b679.chunk.js.map
26.08
KB
-rw-rw-r--
13.89e27764.chunk.js
11.86
KB
-rw-rw-r--
13.89e27764.chunk.js.map
26.08
KB
-rw-rw-r--
13.d3959f8e.chunk.js
11.78
KB
-rw-rw-r--
13.d3959f8e.chunk.js.map
26.03
KB
-rw-rw-r--
14.2fd531d9.chunk.js
14.6
KB
-rw-rw-r--
14.2fd531d9.chunk.js.map
35.21
KB
-rw-rw-r--
14.cd7f09b1.chunk.js
14.6
KB
-rw-rw-r--
14.cd7f09b1.chunk.js.map
35.21
KB
-rw-rw-r--
15.12754be9.chunk.js
7.77
KB
-rw-rw-r--
15.12754be9.chunk.js.map
12.92
KB
-rw-rw-r--
15.cff866e5.chunk.js
7.77
KB
-rw-rw-r--
15.cff866e5.chunk.js.map
12.92
KB
-rw-rw-r--
16.23f7a7f1.chunk.js
532.16
KB
-rw-rw-r--
16.23f7a7f1.chunk.js.map
1.62
MB
-rw-rw-r--
16.45419109.chunk.js
532.24
KB
-rw-rw-r--
16.45419109.chunk.js.map
1.62
MB
-rw-rw-r--
16.7fd30f9c.chunk.js
532.23
KB
-rw-rw-r--
16.7fd30f9c.chunk.js.map
1.62
MB
-rw-rw-r--
17.554f74a4.chunk.js
24.25
KB
-rw-rw-r--
17.554f74a4.chunk.js.map
64.23
KB
-rw-rw-r--
17.ac4f351d.chunk.js
24.16
KB
-rw-rw-r--
17.ac4f351d.chunk.js.map
64.18
KB
-rw-rw-r--
17.bfc51017.chunk.js
24.23
KB
-rw-rw-r--
17.bfc51017.chunk.js.map
64.23
KB
-rw-rw-r--
18.053252a6.chunk.js
35.46
KB
-rw-rw-r--
18.053252a6.chunk.js.map
89.92
KB
-rw-rw-r--
18.41dde321.chunk.js
35.14
KB
-rw-rw-r--
18.41dde321.chunk.js.map
88.56
KB
-rw-rw-r--
18.45d4730b.chunk.js
35.43
KB
-rw-rw-r--
18.45d4730b.chunk.js.map
89.93
KB
-rw-rw-r--
18.53fd3589.chunk.js
35.42
KB
-rw-rw-r--
18.53fd3589.chunk.js.map
89.98
KB
-rw-rw-r--
18.75ffdae6.chunk.js
35.46
KB
-rw-rw-r--
18.75ffdae6.chunk.js.map
89.93
KB
-rw-rw-r--
18.a10b5b5c.chunk.js
35.43
KB
-rw-rw-r--
18.a10b5b5c.chunk.js.map
89.86
KB
-rw-rw-r--
18.a34a958b.chunk.js
35.49
KB
-rw-rw-r--
18.a34a958b.chunk.js.map
90.01
KB
-rw-rw-r--
18.a8287c74.chunk.js
35.15
KB
-rw-rw-r--
18.a8287c74.chunk.js.map
88.56
KB
-rw-rw-r--
19.75de75df.chunk.js
493.6
KB
-rw-rw-r--
19.75de75df.chunk.js.map
2.24
MB
-rw-rw-r--
19.7977b260.chunk.js
493.63
KB
-rw-rw-r--
19.7977b260.chunk.js.map
2.24
MB
-rw-rw-r--
2.03a0ba5f.chunk.js
29.97
KB
-rw-rw-r--
2.03a0ba5f.chunk.js.map
134.19
KB
-rw-rw-r--
2.e6d9f977.chunk.js
29.97
KB
-rw-rw-r--
2.e6d9f977.chunk.js.map
134.19
KB
-rw-rw-r--
20.58d47a8a.chunk.js
8.88
KB
-rw-rw-r--
20.58d47a8a.chunk.js.map
48.64
KB
-rw-rw-r--
20.675e319b.chunk.js
8.88
KB
-rw-rw-r--
20.675e319b.chunk.js.map
48.64
KB
-rw-rw-r--
21.20cd6cbb.chunk.js
54.23
KB
-rw-rw-r--
21.20cd6cbb.chunk.js.map
168.02
KB
-rw-rw-r--
21.4c5bdbd1.chunk.js
54.23
KB
-rw-rw-r--
21.4c5bdbd1.chunk.js.map
168.02
KB
-rw-rw-r--
3.0f9e9fe4.chunk.js
10.63
KB
-rw-rw-r--
3.0f9e9fe4.chunk.js.map
57.4
KB
-rw-rw-r--
3.58c3c7ed.chunk.js
10.63
KB
-rw-rw-r--
3.58c3c7ed.chunk.js.map
57.36
KB
-rw-rw-r--
5.057af134.chunk.js
145.02
KB
-rw-rw-r--
5.057af134.chunk.js.map
346.55
KB
-rw-rw-r--
5.be8b653d.chunk.js
145.01
KB
-rw-rw-r--
5.be8b653d.chunk.js.map
346.66
KB
-rw-rw-r--
5.cceb84cc.chunk.js
145.01
KB
-rw-rw-r--
5.cceb84cc.chunk.js.map
346.55
KB
-rw-rw-r--
5.ef201a5d.chunk.js
145.01
KB
-rw-rw-r--
5.ef201a5d.chunk.js.map
346.67
KB
-rw-rw-r--
6.2c17c533.chunk.js
52.42
KB
-rw-rw-r--
6.2c17c533.chunk.js.map
91.31
KB
-rw-rw-r--
6.add7fe41.chunk.js
52.32
KB
-rw-rw-r--
6.add7fe41.chunk.js.map
91.55
KB
-rw-rw-r--
6.d4267600.chunk.js
52.42
KB
-rw-rw-r--
6.d4267600.chunk.js.map
91.35
KB
-rw-rw-r--
7.1712ad5d.chunk.js
48.94
KB
-rw-rw-r--
7.1712ad5d.chunk.js.map
78.27
KB
-rw-rw-r--
7.24fda52a.chunk.js
48.93
KB
-rw-rw-r--
7.24fda52a.chunk.js.map
78.27
KB
-rw-rw-r--
7.993420a0.chunk.js
48.86
KB
-rw-rw-r--
7.993420a0.chunk.js.map
78.22
KB
-rw-rw-r--
8.04cfe69e.chunk.js
1.95
MB
-rw-rw-r--
8.04cfe69e.chunk.js.map
6.28
MB
-rw-rw-r--
8.9b4d1011.chunk.js
1.95
MB
-rw-rw-r--
8.9b4d1011.chunk.js.map
6.28
MB
-rw-rw-r--
8.fae877be.chunk.js
1.92
MB
-rw-rw-r--
8.fae877be.chunk.js.map
6.23
MB
-rw-rw-r--
9.c7f08bdd.chunk.js
27.45
KB
-rw-rw-r--
9.c7f08bdd.chunk.js.map
54.52
KB
-rw-rw-r--
9.dc48fc0d.chunk.js
27.37
KB
-rw-rw-r--
9.dc48fc0d.chunk.js.map
54.47
KB
-rw-rw-r--
9.f678ad45.chunk.js
27.44
KB
-rw-rw-r--
9.f678ad45.chunk.js.map
54.52
KB
-rw-rw-r--
main.38565251.chunk.js
8.08
KB
-rw-rw-r--
main.38565251.chunk.js.map
24.24
KB
-rw-rw-r--
main.b013322d.chunk.js
8.07
KB
-rw-rw-r--
main.b013322d.chunk.js.map
24.24
KB
-rw-rw-r--
runtime~main.025f1491.js
3.53
KB
-rw-rw-r--
runtime~main.025f1491.js.map
16.05
KB
-rw-rw-r--
runtime~main.196f2ffb.js
3.53
KB
-rw-rw-r--
runtime~main.196f2ffb.js.map
16.05
KB
-rw-rw-r--
runtime~main.2af8b252.js
3.53
KB
-rw-rw-r--
runtime~main.2af8b252.js.map
16.05
KB
-rw-rw-r--
runtime~main.436a0018.js
3.53
KB
-rw-rw-r--
runtime~main.436a0018.js.map
16.05
KB
-rw-rw-r--
runtime~main.5f277618.js
3.53
KB
-rw-rw-r--
runtime~main.5f277618.js.map
16.05
KB
-rw-rw-r--
runtime~main.8f412e19.js
3.53
KB
-rw-rw-r--
runtime~main.8f412e19.js.map
16.05
KB
-rw-rw-r--
runtime~main.ae7c93ed.js
3.53
KB
-rw-rw-r--
runtime~main.ae7c93ed.js.map
16.05
KB
-rw-rw-r--
runtime~main.bccf2c7c.js
3.53
KB
-rw-rw-r--
runtime~main.bccf2c7c.js.map
16.05
KB
-rw-rw-r--
runtime~main.e034a8a2.js
3.53
KB
-rw-rw-r--
runtime~main.e034a8a2.js.map
16.05
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : 18.53fd3589.chunk.js
(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{1171:function(e,t,n){"use strict";var a=n(1151),r=n(1152),o=n.n(r),c=n(53);function i(){i=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",c=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(_){s=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var o=t&&t.prototype instanceof d?t:d,c=Object.create(o.prototype),i=new S(r||[]);return a(c,"_invoke",{value:k(e,n,i)}),c}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(_){return{type:"throw",arg:_}}}e.wrap=u;var m={};function d(){}function p(){}function h(){}var v={};s(v,o,function(){return this});var g=Object.getPrototypeOf,y=g&&g(g(C([])));y&&y!==t&&n.call(y,o)&&(v=y);var E=h.prototype=d.prototype=Object.create(v);function b(e){["next","throw","return"].forEach(function(t){s(e,t,function(e){return this._invoke(t,e)})})}function w(e,t){var r;a(this,"_invoke",{value:function(a,o){function c(){return new t(function(r,c){!function a(r,o,c,i){var l=f(e[r],e,o);if("throw"!==l.type){var s=l.arg,u=s.value;return u&&"object"==typeof u&&n.call(u,"__await")?t.resolve(u.__await).then(function(e){a("next",e,c,i)},function(e){a("throw",e,c,i)}):t.resolve(u).then(function(e){s.value=e,c(s)},function(e){return a("throw",e,c,i)})}i(l.arg)}(a,o,r,c)})}return r=r?r.then(c,c):c()}})}function k(e,t,n){var a="suspendedStart";return function(r,o){if("executing"===a)throw new Error("Generator is already running");if("completed"===a){if("throw"===r)throw o;return N()}for(n.method=r,n.arg=o;;){var c=n.delegate;if(c){var i=x(c,n);if(i){if(i===m)continue;return i}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===a)throw a="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a="executing";var l=f(e,t,n);if("normal"===l.type){if(a=n.done?"completed":"suspendedYield",l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(a="completed",n.method="throw",n.arg=l.arg)}}}function x(e,t){var n=t.method,a=e.iterator[n];if(void 0===a)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,x(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var r=f(a,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,m;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,m):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,m)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function C(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,r=function t(){for(;++a<e.length;)if(n.call(e,a))return t.value=e[a],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:N}}function N(){return{value:void 0,done:!0}}return p.prototype=h,a(E,"constructor",{value:h,configurable:!0}),a(h,"constructor",{value:p,configurable:!0}),p.displayName=s(h,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,s(e,l,"GeneratorFunction")),e.prototype=Object.create(E),e},e.awrap=function(e){return{__await:e}},b(w.prototype),s(w.prototype,c,function(){return this}),e.AsyncIterator=w,e.async=function(t,n,a,r,o){void 0===o&&(o=Promise);var c=new w(u(t,n,a,r),o);return e.isGeneratorFunction(n)?c:c.next().then(function(e){return e.done?e.value:c.next()})},b(E),s(E,l,"Generator"),s(E,o,function(){return this}),s(E,"toString",function(){return"[object Generator]"}),e.keys=function(e){var t=Object(e),n=[];for(var a in t)n.push(a);return n.reverse(),function e(){for(;n.length;){var a=n.pop();if(a in t)return e.value=a,e.done=!1,e}return e.done=!0,e}},e.values=C,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(j),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function a(n,a){return c.type="throw",c.arg=e,t.next=n,a&&(t.method="next",t.arg=void 0),!!a}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],c=o.completion;if("root"===o.tryLoc)return a("end");if(o.tryLoc<=this.prev){var i=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(i&&l){if(this.prev<o.catchLoc)return a(o.catchLoc,!0);if(this.prev<o.finallyLoc)return a(o.finallyLoc)}else if(i){if(this.prev<o.catchLoc)return a(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return a(o.finallyLoc)}}}},abrupt:function(e,t){for(var a=this.tryEntries.length-1;a>=0;--a){var r=this.tryEntries[a];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var c=o?o.completion:{};return c.type=e,c.arg=t,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(c)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),j(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var a=n.completion;if("throw"===a.type){var r=a.arg;j(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),m}},e}var l=n(1206).a.load();Object(a.a)(i().mark(function e(){var t,n;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l;case 2:return t=e.sent,e.next=5,t.get();case 5:n=e.sent,n.visitorId;case 7:case"end":return e.stop()}},e)}))();var s=o.a.create({baseURL:c.a,headers:{"X-Auth-Origin":"TDVS"}});s.defaults.params={},s.interceptors.request.use(function(e){var t=sessionStorage.getItem("token"),n=sessionStorage.getItem("univcode");return n&&(e.params.univcode=n),t&&(e.headers.Authorization=t),e},function(e){return Promise.reject(e)}),t.a=s},1516:function(e,t,n){},1550:function(e,t,n){"use strict";n.r(t),n.d(t,"default",function(){return C});var a=n(1156),r=n(1151),o=n(50),c=n(1),i=n.n(c),l=n(53),s=n(84),u=n(1152),f=n.n(u),m=n(54),d=n(163),p=(n(1171),n(1516),n(1552)),h=n(1559),v=n(524),g=n(1553),y=n(1523),E=n(1538),b=n(533),w=n(1182),k=n(1525),x=n(1286),O=n(1539),j=n(1540);function S(){S=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",c=r.asyncIterator||"@@asyncIterator",i=r.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(_){l=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var o=t&&t.prototype instanceof m?t:m,c=Object.create(o.prototype),i=new j(r||[]);return a(c,"_invoke",{value:w(e,n,i)}),c}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(_){return{type:"throw",arg:_}}}e.wrap=s;var f={};function m(){}function d(){}function p(){}var h={};l(h,o,function(){return this});var v=Object.getPrototypeOf,g=v&&v(v(C([])));g&&g!==t&&n.call(g,o)&&(h=g);var y=p.prototype=m.prototype=Object.create(h);function E(e){["next","throw","return"].forEach(function(t){l(e,t,function(e){return this._invoke(t,e)})})}function b(e,t){var r;a(this,"_invoke",{value:function(a,o){function c(){return new t(function(r,c){!function a(r,o,c,i){var l=u(e[r],e,o);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==typeof f&&n.call(f,"__await")?t.resolve(f.__await).then(function(e){a("next",e,c,i)},function(e){a("throw",e,c,i)}):t.resolve(f).then(function(e){s.value=e,c(s)},function(e){return a("throw",e,c,i)})}i(l.arg)}(a,o,r,c)})}return r=r?r.then(c,c):c()}})}function w(e,t,n){var a="suspendedStart";return function(r,o){if("executing"===a)throw new Error("Generator is already running");if("completed"===a){if("throw"===r)throw o;return N()}for(n.method=r,n.arg=o;;){var c=n.delegate;if(c){var i=k(c,n);if(i){if(i===f)continue;return i}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===a)throw a="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a="executing";var l=u(e,t,n);if("normal"===l.type){if(a=n.done?"completed":"suspendedYield",l.arg===f)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(a="completed",n.method="throw",n.arg=l.arg)}}}function k(e,t){var n=t.method,a=e.iterator[n];if(void 0===a)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,k(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var r=u(a,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,f;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function C(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,r=function t(){for(;++a<e.length;)if(n.call(e,a))return t.value=e[a],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:N}}function N(){return{value:void 0,done:!0}}return d.prototype=p,a(y,"constructor",{value:p,configurable:!0}),a(p,"constructor",{value:d,configurable:!0}),d.displayName=l(p,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,l(e,i,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},E(b.prototype),l(b.prototype,c,function(){return this}),e.AsyncIterator=b,e.async=function(t,n,a,r,o){void 0===o&&(o=Promise);var c=new b(s(t,n,a,r),o);return e.isGeneratorFunction(n)?c:c.next().then(function(e){return e.done?e.value:c.next()})},E(y),l(y,i,"Generator"),l(y,o,function(){return this}),l(y,"toString",function(){return"[object Generator]"}),e.keys=function(e){var t=Object(e),n=[];for(var a in t)n.push(a);return n.reverse(),function e(){for(;n.length;){var a=n.pop();if(a in t)return e.value=a,e.done=!1,e}return e.done=!0,e}},e.values=C,j.prototype={constructor:j,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function a(n,a){return c.type="throw",c.arg=e,t.next=n,a&&(t.method="next",t.arg=void 0),!!a}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],c=o.completion;if("root"===o.tryLoc)return a("end");if(o.tryLoc<=this.prev){var i=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(i&&l){if(this.prev<o.catchLoc)return a(o.catchLoc,!0);if(this.prev<o.finallyLoc)return a(o.finallyLoc)}else if(i){if(this.prev<o.catchLoc)return a(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return a(o.finallyLoc)}}}},abrupt:function(e,t){for(var a=this.tryEntries.length-1;a>=0;--a){var r=this.tryEntries[a];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var c=o?o.completion:{};return c.type=e,c.arg=t,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(c)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var a=n.completion;if("throw"===a.type){var r=a.arg;O(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function C(e){var t=e.match.params,n=t.qpcode,u=t.regcode,C=t.valno,N=sessionStorage.getItem("fteachcode"),_=Object(c.useContext)(d.a).univcode,L=Object(c.useContext)(d.a),A=(L.teachcode,L.err_msg),q=L.load,P=Object(o.a)(q,2),M=(P[0],P[1]),I=Object(o.a)(A,2),F=(I[0],I[1]),G=Object(m.useHistory)(),R=Object(c.useRef)([]),T=Object(c.useState)([]),B=Object(o.a)(T,2),H=B[0],z=B[1],Q=Object(c.useState)(""),X=Object(o.a)(Q,2),V=X[0],D=X[1],Y=Object(c.useState)(""),U=Object(o.a)(Y,2),W=U[0],J=U[1],$=Object(c.useState)([]),K=Object(o.a)($,2),Z=K[0],ee=K[1],te=Object(c.useState)([]),ne=Object(o.a)(te,2),ae=(ne[0],ne[1]),re=Object(c.useState)([]),oe=Object(o.a)(re,2),ce=oe[0],ie=oe[1],le=Object(c.useState)(0),se=Object(o.a)(le,2),ue=se[0],fe=se[1],me=Object(c.useState)(!1),de=Object(o.a)(me,2),pe=de[0],he=de[1],ve=Object(c.useState)(!1),ge=Object(o.a)(ve,2),ye=ge[0],Ee=ge[1],be=Object(c.useState)(!1),we=Object(o.a)(be,2),ke=we[0],xe=we[1],Oe=Object(c.useState)("Script Re-scan request"),je=Object(o.a)(Oe,2),Se=je[0],Ce=je[1],Ne=Object(c.useState)(""),_e=Object(o.a)(Ne,2),Le=_e[0],Ae=_e[1],qe=Object(c.useState)(""),Pe=Object(o.a)(qe,2),Me=Pe[0],Ie=Pe[1],Fe=Object(c.useState)([]),Ge=Object(o.a)(Fe,2),Re=Ge[0],Te=Ge[1],Be=Object(c.useState)([]),He=Object(o.a)(Be,2),ze=He[0],Qe=He[1],Xe=Object(c.useState)([]),Ve=Object(o.a)(Xe,2),De=Ve[0],Ye=Ve[1],Ue=Object(c.useState)(!1),We=Object(o.a)(Ue,2),Je=We[0],$e=We[1],Ke=Object(c.useState)(!1),Ze=Object(o.a)(Ke,2),et=Ze[0],tt=Ze[1],nt=Object(c.useState)(""),at=Object(o.a)(nt,2),rt=at[0],ot=at[1],ct=Object(c.useState)({}),it=Object(o.a)(ct,2),lt=it[0],st=it[1],ut=Object(c.useState)(!1),ft=Object(o.a)(ut,2),mt=ft[0],dt=ft[1],pt=Object(c.useState)(!1),ht=Object(o.a)(pt,2),vt=ht[0],gt=ht[1],yt=Object(c.useState)(null),Et=Object(o.a)(yt,2),bt=Et[0],wt=Et[1],kt=Object(c.useState)(null),xt=Object(o.a)(kt,2),Ot=xt[0],jt=xt[1];Object(c.useEffect)(function(){console.log(sessionStorage.getItem("isViewQn")),null==sessionStorage.getItem("isViewQn")?gt(!0):"true"==sessionStorage.getItem("isViewQn")?gt(!0):"false"==sessionStorage.getItem("isViewQn")&>(!1),St(),Ct()},[]);var St=function(){var e=Object(r.a)(S().mark(function e(){var t;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return M(!0),e.next=3,s.a.get("/app.php?a=getevalimage&univcode="+_+"&fteachcode=".concat(N,"&qpcode=").concat(n,"®code=").concat(u,"&valno=").concat(C));case 3:if(t=e.sent,M(!1),0!==t.data.error_code){e.next=11;break}z(t.data.data.filenames),D(t.data.data.ffilepath),J(t.data.data.qpschmepath),e.next=14;break;case 11:return F({type:"OPEN_MSG_BOX",payload:{header:"Message",message:t.data.data.msg}}),G.push("/dashboard"),e.abrupt("return");case 14:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}(),Ct=function(){var e=Object(r.a)(S().mark(function e(){var t,a;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return M(!0),e.next=3,s.a.get("/app.php?a=getevalpartsstate&univcode="+_+"&fteachcode=".concat(N,"&qpcode=").concat(n,"®code=").concat(u,"&valno=").concat(C));case 3:t=e.sent,M(!1),console.log(t),0===t.data.error_code?(ee(t.data.data.parts),ae(t.data.data.path),t.data.data.path.length>0&&ot(t.data.data.path[0].fomrmarks),ie(t.data.data.question),Z.map(function(e,n){t.data.data.question.map(function(t,n){t.fpartcode===e.fpartcode&&"T"!=t.fsubqn&&R.current[n].focus()})}),a=0,t.data.data.question.map(function(e,t){var n="-1"==e.fmarks||""==e.fmarks||"T"==e.fsubqn||"NA"==e.fmarks||"N"==e.fmarks||"A"==e.fmarks||"-2"==e.fmarks?0:e.fmarks;a+=parseFloat(n)}),fe(a)):(F({type:"OPEN_MSG_BOX",payload:{header:"Message",message:t.data.data.msg}}),M(!1));case 7:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}(),Nt=function(){var e=Object(r.a)(S().mark(function e(t,n){var r,o,c;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:(r=/^[0-9Nn.]*$/).test(t.target.value),r.test(t.target.value)&&(o=Object(a.a)(ce),""==t.target.value?o[n].fmarks=-1:o[n].fmarks=t.target.value.toUpperCase(),ie(Object(a.a)(o))),console.log(ce),c=0,ce.map(function(e,t){var n="-1"==e.fmarks||""==e.fmarks||"T"==e.fsubqn||"NA"==e.fmarks||"N"==e.fmarks||"A"==e.fmarks||"-2"==e.fmarks?0:e.fmarks;c+=parseFloat(n)}),fe(c);case 7:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}(),_t=function(){var e=Object(r.a)(S().mark(function e(t,n,r){var o,c;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(o=Object(a.a)(ce),!(t.fmarks>t.fmaxmarks)){e.next=6;break}return F({type:"OPEN_MSG_BOX",payload:{header:"Message",message:"Entered marks is greater than max marks"}}),o[n].fmarks=-1,ie(Object(a.a)(o)),e.abrupt("return");case 6:c=0,ce.map(function(e,t){var n="-1"==e.fmarks||""==e.fmarks||"T"==e.fsubqn||"N"==e.fmarks||"-2"==e.fmarks?0:e.fmarks;c+=parseFloat(n)}),fe(c);case 9:case"end":return e.stop()}},e)}));return function(t,n,a){return e.apply(this,arguments)}}(),Lt=function(){var e=Object(r.a)(S().mark(function e(t){var a;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(console.log(ce,t),a=[],"save"!=t){e.next=9;break}return e.next=5,ce.map(function(e){"-1"==e.fmarks&&"T"!==e.fsubqn&&a.push(e)});case 5:if(console.log(a),!(a.length>0)){e.next=9;break}return F({type:"OPEN_MSG_BOX",payload:{header:"Message",message:"Please enter marks for all the questions"}}),e.abrupt("return");case 9:return M(!0),e.next=12,f.a.post(l.b+"a=saveEvaluationMarks&univcode=".concat(sessionStorage.getItem("univcode"),"&fteachcode=").concat(N,"&qpcode=").concat(n,"&dummyno=").concat(u,"&valno=").concat(C),ce).then(function(e){return console.log(e),0!==e.data.error_code?(F({type:"OPEN_MSG_BOX",payload:{header:"Message",message:e.data.data.msg}}),void M(!1)):"save"!=t?(F({type:"OPEN_MSG_BOX",payload:{header:"Success",message:e.data.data.msg}}),void M(!1)):(M(!1),void At())}).catch(function(e){F({type:"OPEN_MSG_BOX",payload:{header:"Error",message:"Error while saving marks "}}),M(!1)});case 12:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),At=function(){var e=Object(r.a)(S().mark(function e(){return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,f.a.get(l.b+"a=getEvalMarksStatus&univcode="+sessionStorage.getItem("univcode")+"&qpcode="+n+"&dummyno="+u+"&valno="+C).then(function(e){if(console.log(e),0!==e.data.error_code)return F({type:"OPEN_MSG_BOX",payload:{header:"Message",message:e.data.data.msg}}),void M(!1);Te(e.data.data.sdata),Qe(e.data.data.pdata),Ye(e.data.data.sum),tt(!0)}).catch(function(e){F({type:"OPEN_MSG_BOX",payload:{header:"Error",message:"Error while getting marks data "}}),M(!1)});case 2:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}(),qt=function(){var e=Object(r.a)(S().mark(function e(){return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,f.a.post(l.b+"a=finalEvalMarks&univcode="+sessionStorage.getItem("univcode")+"&qpcode="+n+"&dummyno="+u+"&valno="+C+"&fteachcode="+N+"&remarks="+Me).then(function(e){if(console.log(e),0!==e.data.error_code)return F({type:"OPEN_MSG_BOX",payload:{header:"Error",message:e.data.data.msg}}),void M(!1);G.push("/dashboard")}).catch(function(e){F({type:"OPEN_MSG_BOX",payload:{header:"Error",message:"Error while saving marks data "}}),M(!1)});case 2:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}(),Pt=Re[0],Mt=De,It=function(){var e=Object(r.a)(S().mark(function e(){return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return M(!0),e.next=3,f.a.post(l.b+"a=saveEvalReject&univcode="+sessionStorage.getItem("univcode")+"&rejReason="+Se+"&rejComment="+Le+"&qpcode="+n+"&dummyno="+u+"&valno="+C).then(function(e){if(console.log(e),0!==e.data.error_code)return F({type:"OPEN_MSG_BOX",payload:{header:"Message",message:e.data.data.msg}}),void M(!1);M(!1),G.push("/dashboard")}).catch(function(e){F({type:"OPEN_MSG_BOX",payload:{header:"Error",message:"Error while rejecting scripts"}}),M(!1)});case 3:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}();Object(c.useEffect)(function(){null!==bt&&R.current[bt]&&R.current[bt].focus()},[bt]);var Ft=function(e,t){R.current[t]=e};function Gt(e){var t=e.open,n=e.msg,a=e.header,r=e.onCancel,o=e.confirmButton,c=e.onConfirm;return i.a.createElement(p.a,{size:"mini",open:t},i.a.createElement(p.a.Header,null,a),i.a.createElement(p.a.Content,null,i.a.createElement("p",null,n)),i.a.createElement(p.a.Actions,null,i.a.createElement(h.a,{positive:!0,size:"tiny",style:{background:"red"},onClick:r},"Cancel"),i.a.createElement(h.a,{positive:!0,size:"tiny",onClick:c},o)))}return i.a.createElement("div",null,i.a.createElement("div",{className:"grid-container",id:"condiv"},i.a.createElement("div",{className:"item1"},i.a.createElement(Gt,{open:pe,msg:"Are you sure you want save as draft ?",header:"Confirm",onCancel:function(){return he(!1)},confirmButton:"OK",onConfirm:function(){Lt(),he(!1)}}),i.a.createElement(p.a,{open:ye,size:"small"},i.a.createElement(p.a.Header,null,"Answer Script Rejection",i.a.createElement(h.a,{onClick:function(){return Ee(!1)},secondary:!0,floated:"right"},i.a.createElement(v.a,{name:"close"}),"Close")),i.a.createElement(p.a.Content,{scrolling:!0},i.a.createElement(p.a.Description,null,i.a.createElement(g.a,null,i.a.createElement(y.a,{negative:!0},i.a.createElement(y.a.Header,null,i.a.createElement(E.a,{fitted:!0,name:"rejectAb",value:"Script Re-scan request",checked:"Script Re-scan request"==Se,label:"Script Re-scan request",onChange:function(e,t){return Ce(t.value)}})),i.a.createElement("p",{style:{textIndent:"3ch"}},"I am unable to mark candidate's answer scripts because of poor scannig quality")),i.a.createElement(y.a,{negative:!0},i.a.createElement(y.a.Header,null,i.a.createElement(E.a,{fitted:!0,name:"rejectAb",value:"Malpractice Concern",checked:"Malpractice Concern"==Se,label:"Malpractice Concern",onChange:function(e,t){return Ce(t.value)}})),i.a.createElement("p",{style:{textIndent:"3ch"}},"I suspected malpractice in connection to this answer script. I want this to be reviewed")),i.a.createElement(y.a,{negative:!0},i.a.createElement(y.a.Header,null,i.a.createElement(E.a,{fitted:!0,name:"rejectAb",value:"Wrong QP Pattern",label:"Wrong QP Pattern",checked:"Wrong QP Pattern"==Se,onChange:function(e,t){return Ce(t.value)}})),i.a.createElement("p",{style:{textIndent:"3ch"}},"Displayed marks pattern does not match with the question paper.")),i.a.createElement(y.a,{negative:!0},i.a.createElement(y.a.Header,null,i.a.createElement(E.a,{fitted:!0,name:"rejectAb",value:"Answer Script Mismatch with QP",label:"Answer Script Mismatch with QP",checked:"Answer Script Mismatch with QP"==Se,onChange:function(e,t){return Ce(t.value)}})),i.a.createElement("p",{style:{textIndent:"3ch"}},"Displayed answer script does not match the subject.")),i.a.createElement(y.a,{negative:!0},i.a.createElement(y.a.Header,null,i.a.createElement(E.a,{fitted:!0,name:"rejectAb",value:"Student Identity revealed",label:"Student Identity revealed",checked:"Student Identity revealed"==Se,onChange:function(e,t){return Ce(t.value)}})),i.a.createElement("p",{style:{textIndent:"3ch"}},"Student Identity is revealed.")),i.a.createElement(g.a.TextArea,{label:"Comment",placeholder:"Comment...",value:Le,onChange:function(e,t){return Ae(t.value)}})))),i.a.createElement(p.a.Actions,{style:{textAlign:"center"}},i.a.createElement(h.a,{onClick:function(){return It()},primary:!0},"Submit"))),i.a.createElement(p.a,{open:ke,size:"mini"},i.a.createElement(p.a.Header,null,"Confirm"),i.a.createElement(p.a.Content,null,i.a.createElement(p.a.Description,null,i.a.createElement("p",null,"Are you sure you want to exit evalution ?"))),i.a.createElement(p.a.Actions,null,i.a.createElement(h.a,{size:"tiny",onClick:function(){return xe(!1)},negative:!0},"NO"),i.a.createElement(h.a,{content:"Yes",icon:"checkmark",size:"tiny",onClick:function(){return G.push("/dashboard")},positive:!0}))),i.a.createElement(p.a,{open:mt,size:"small"},i.a.createElement(p.a.Header,null,lt.fqnno,i.a.createElement(h.a,{onClick:function(){dt(!1),wt(Ot),console.log(R)},secondary:!0,floated:"right"},i.a.createElement(v.a,{name:"close"}),"Close")),i.a.createElement(p.a.Content,null,i.a.createElement("h4",null,lt.fquestion))),i.a.createElement("div",null,"T"==W.fonlineqp&&void 0!=lt.fqnno&&vt&&i.a.createElement("div",{style:{height:"80px",position:"sticky",top:0,overflowY:"auto",background:"#fff",borderBottom:"3px solid #008dda"}},i.a.createElement("p",{style:{textAlign:"initial",marginLeft:"20px",color:"#000",fontSize:"16px",justifyContent:"justify",cursor:"pointer"},onClick:function(){return dt(!0)}},lt.fqnno," ",i.a.createElement("span",null," ",lt.fquestion))),H.length>0?H.map(function(e,t){return i.a.createElement("div",{style:{marginTop:"T"==W.fonlineqp&&mt?"30px":0},id:t},i.a.createElement("img",{onClick:function(){return console.log(t)},key:t,src:"https://universitysolutions.in/tdvs-php/public/eval-img/"+V+"/"+e,className:"ansbook",alt:"image not found"}))}):i.a.createElement("p",null,"Answer Booklet Not Found"))),i.a.createElement("div",{className:"item3"},H.length>0?H.map(function(e,t){return i.a.createElement("div",null,i.a.createElement("img",{onClick:function(){return e=t,console.log("A"),void document.getElementById(e).scrollIntoView();var e},key:t,style:{width:"95%",padding:"2px",border:"1px solid"},src:"https://universitysolutions.in/tdvs-php/public//eval-img/"+V+"/"+e,className:"ansbook",alt:"image not found"}))}):i.a.createElement("p",null,"Answer Booklet Not Found")),i.a.createElement("div",{className:"item2"},i.a.createElement("div",{className:"navbar"},i.a.createElement("div",{className:"menu-items"},i.a.createElement("a",{onClick:function(){"T"==W.fonlineqp?window.open("https://universitysolutions.in/univadmin/app.php?a=getOmrQpReport&univcode="+sessionStorage.getItem("univcode")+"&qpcode="+n+"&year="+W.fyear+"&mode="+W.fexamtype+"&teachcode="+N+"&noqp="+W.fset+"&type="+W.ftype):window.open("https://answer-booklets.s3.ap-south-1.amazonaws.com/".concat(W.fqppath))}},"QP"),i.a.createElement("a",{href:"https://answer-booklets.s3.ap-south-1.amazonaws.com/".concat(W.fschempath),target:"_blank"},"Scheme"),i.a.createElement("a",{onClick:function(){return Lt("save")}},"Save"),i.a.createElement("a",{onClick:function(){return he(!0)}},"Draft"),i.a.createElement("a",{onClick:function(){return Ee(!0)}},"Reject"),i.a.createElement("a",{onClick:function(){return xe(!0)}},"Exit"))),i.a.createElement("div",{className:"align-val"},i.a.createElement("div",{className:"val-det"},i.a.createElement("div",null,"T"==W.fonlineqp&&i.a.createElement(b.a,null,vt?i.a.createElement(v.a,{name:"eye",style:{cursor:"pointer"},color:"green",onClick:function(){sessionStorage.setItem("isViewQn",!1),gt(!1)}}):i.a.createElement(v.a,{name:"eye slash out",style:{cursor:"pointer"},color:"red",onClick:function(){sessionStorage.setItem("isViewQn",!0),gt(!0)}})),i.a.createElement("label",null,i.a.createElement("b",null,"Reg. Code.: ")),i.a.createElement("span",null,i.a.createElement("b",null,u))),i.a.createElement("div",null,i.a.createElement("label",null,i.a.createElement("b",null,"Val. No.: ")),i.a.createElement("span",null,i.a.createElement("b",null,C))))),i.a.createElement("div",{className:"marks-table"},i.a.createElement("table",null,i.a.createElement("thead",{className:"thead"},i.a.createElement("tr",null,i.a.createElement("td",{colSpan:4,style:{background:"#fff",color:"#000",textAlign:"initial"}},i.a.createElement("p",null," ",i.a.createElement("b",{style:{color:"#f00",textDecoration:"underline"}},"Note:"," "),i.a.createElement("span",{style:{fontSize:"12px"}},"If the student has not answered any question, kindly put 'N' in the appropriate box")))),i.a.createElement("tr",null,i.a.createElement("th",{colSpan:""!=rt?3:4},"Secured Marks: ",ue),""!==rt&&i.a.createElement("th",null,"OMR Marks: ",rt))),Z.map(function(e,t){return i.a.createElement("tbody",{key:e.fpartcode},i.a.createElement("tr",null,i.a.createElement("th",{colSpan:4},e.fpartdesc)),i.a.createElement("tr",{style:{background:"#008dda",color:"#fff"}},i.a.createElement("th",{width:"15%"},"Qn."),i.a.createElement("th",{width:"20%"},"Max."),i.a.createElement("th",{width:"20%"},"Sec."),i.a.createElement("th",{width:"45%"},"Remarks")),ce.map(function(t,n){if(t.fpartcode===e.fpartcode&&"T"!=t.fsubqn){var r="-2"==t.fmarks||"N"==t.fmarks?"#f00":"#000";return i.a.createElement("tr",{key:t.fqnno},i.a.createElement("td",{style:{color:r}},i.a.createElement("p",{className:"input",style:{cursor:"pointer"}},t.fqnno)),i.a.createElement("td",null,i.a.createElement("input",{type:"text",className:"input",style:{color:r},value:t.fmaxmarks,disabled:!0})),i.a.createElement("td",null,i.a.createElement("input",{ref:function(e){return Ft(e,n)},type:"text",className:"input",onFocus:function(){st(t),jt(n)},maxLength:1==t.fmaxmarks.toString().length?3:4,style:{color:r},value:"-1"==t.fmarks?"":"-2"==t.fmarks?"N":t.fmarks,onChange:function(e){return Nt(e,n)},onBlur:function(e){_t(t,n,e)}})),i.a.createElement("td",null,i.a.createElement("input",{type:"text",className:"input",style:{color:r},value:t.fremarks,onChange:function(e){return function(e,t){if(/^[a-zA-Z0-9., ]*$/.test(e.target.value)){var n=Object(a.a)(ce);n[t].fremarks=e.target.value,ie(Object(a.a)(n))}}(e,n)}})))}}))}))))),i.a.createElement(p.a,{open:et,size:"small"},i.a.createElement(w.a,{style:{padding:"1em"}},i.a.createElement(k.a,{fluid:!0,style:{padding:"1em"}},i.a.createElement(k.a.Content,{textAlign:"center"},i.a.createElement(k.a.Header,null,"Final Submission")),Re.length>0?i.a.createElement(x.a,{basic:!0,style:{width:"40vw",margin:"10px auto"}},i.a.createElement(x.a.Body,null,Mt.length>0?i.a.createElement(x.a.Row,null,i.a.createElement(x.a.Cell,null,"Evaluator Code"),i.a.createElement(x.a.Cell,null,Mt[0].fteachcode),i.a.createElement(x.a.Cell,null,"Evaluator Name"),i.a.createElement(x.a.Cell,null,Mt[0].fteachname)):null,i.a.createElement(x.a.Row,null,i.a.createElement(x.a.Cell,null,"QP Code"),i.a.createElement(x.a.Cell,null,Pt.fqpcode),i.a.createElement(x.a.Cell,null,"Subject Name"),i.a.createElement(x.a.Cell,null,Pt.fsubname)),i.a.createElement(x.a.Row,null,i.a.createElement(x.a.Cell,null,"Reg. Code"),i.a.createElement(x.a.Cell,null,Pt.fregcode),i.a.createElement(x.a.Cell,null,"Max. Marks"),i.a.createElement(x.a.Cell,null,Pt.ftempmax)))):null,Re.length>0?i.a.createElement("div",null,i.a.createElement(x.a,{compact:!0,celled:!0,structured:!0,style:{width:"40vw",margin:"10px auto"}},i.a.createElement(x.a.Header,null,i.a.createElement(x.a.Row,null,i.a.createElement(x.a.HeaderCell,{textAlign:"center",rowSpan:"2"},"Qn. No."),i.a.createElement(x.a.HeaderCell,{textAlign:"center",colSpan:"3"},"Marks")),i.a.createElement(x.a.Row,null,i.a.createElement(x.a.HeaderCell,{textAlign:"center"},"Awarded by Evaluator"),i.a.createElement(x.a.HeaderCell,{textAlign:"center"},"Allocated by System"),i.a.createElement(x.a.HeaderCell,{textAlign:"center"},"Max. Marks"))),ze.map(function(e){return i.a.createElement(x.a.Body,{key:e.fpartcode},i.a.createElement(x.a.Row,{positive:!0,key:e.fpartcode},i.a.createElement(x.a.Cell,{colSpan:"4",textAlign:"center"},e.fpartdesc," (Answer ",e.fmandqn," / ",e.fmaxqn," ","questions)")),Re.map(function(t){if(e.fpartcode==t.fpartcode&&"T"!=t.fsubqn)return i.a.createElement(x.a.Row,{key:t.fqncode},i.a.createElement(x.a.Cell,{textAlign:"center"},t.fqnno),i.a.createElement(x.a.Cell,{textAlign:"center"},-2==parseFloat(t.fmarks11)?"NA":parseFloat(t.fmarks11)),i.a.createElement(x.a.Cell,{textAlign:"center"},-2==parseFloat(t.fmarks12)?"NA":""==t.fmarks12?"":parseFloat(t.fmarks12)),i.a.createElement(x.a.Cell,{textAlign:"center"},parseFloat(t.fmaxmarks)))}),i.a.createElement(x.a.Row,{warning:!0,key:e.fpartcode+1},i.a.createElement(x.a.Cell,{textAlign:"center"},"Part Total"),i.a.createElement(x.a.Cell,{textAlign:"center"},parseFloat(e.fmarks11)),i.a.createElement(x.a.Cell,{textAlign:"center"},parseFloat(e.fmarks12)),i.a.createElement(x.a.Cell,{textAlign:"center"},parseFloat(e.fmaxmarks))))}),De.length>0?i.a.createElement(x.a.Footer,null,i.a.createElement(x.a.Row,null,i.a.createElement(x.a.HeaderCell,{textAlign:"center"},"Final Marks"),i.a.createElement(x.a.HeaderCell,{textAlign:"center"},parseFloat(Mt[0].ftotmarks)),i.a.createElement(x.a.HeaderCell,{textAlign:"center"},parseFloat(Mt[0].fsysmarks)),i.a.createElement(x.a.HeaderCell,{textAlign:"center"},parseFloat(Pt.ftempmax)))):null)):null,i.a.createElement("center",null,De.length?i.a.createElement("div",null,i.a.createElement(O.a,{label:"I acknowledge that above Allocted marks are found correct and any further modification is not allowed.",onChange:function(e,t){$e(t.checked)}}),i.a.createElement("br",null),i.a.createElement("br",null),i.a.createElement(j.a,{placeholder:"Remarks (optional)",style:{width:"95%",border:"1px solid #999",borderRadius:"4px"},rows:4,value:Me,onChange:function(e,t){return Ie(t.value)}}),i.a.createElement("br",null),i.a.createElement("br",null),i.a.createElement(h.a,{size:"tiny",icon:"arrow alternate circle left outline",color:"red",onClick:function(){return tt(!1)},style:{marginRight:"1em"},content:"Cancel"}),i.a.createElement(h.a,{primary:!0,size:"tiny",icon:"save outline",onClick:qt,disabled:!Je,content:"Final Submit"}),i.a.createElement("br",null)):null)))))}},53:function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"c",function(){return r}),n.d(t,"b",function(){return o});var a="https://app.universitysolutions.in",r=window.location.protocol+"//universitysolutions.in/univadmin/app.php?a=",o="https://universitysolutions.in/univadmin/app.php?"},84:function(e,t,n){"use strict";var a=n(1152),r=n.n(a),o=window.location.protocol+"//universitysolutions.in/tdvs-php",c=r.a.create({baseURL:o,headers:{"X-Auth-Origin":"TDVS"}});c.interceptors.request.use(function(e){var t;return(t=sessionStorage.getItem("token"))&&(e.headers.Authorization=t),e},function(e){return Promise.reject(e)});t.a=c}}]); //# sourceMappingURL=18.53fd3589.chunk.js.map
Close