Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 3.17.78.184
(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{273:function(e,t,n){e.exports=n(274)},274:function(e,t,n){"use strict";var r,a=(r=n(1))&&"object"==typeof r&&"default"in r?r.default:r,o=n(105);function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function i(e,t){e.prototype=Object.create(t.prototype),function(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r<n.length;r++){var a=n[r],o=Object.getOwnPropertyDescriptor(t,a);o&&o.configurable&&void 0===e[a]&&Object.defineProperty(e,a,o)}}(e.prototype.constructor=e,t)}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var c=function(e,t,n,r,a,o,s,i){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,a,o,s,i],l=0;(u=new Error(t.replace(/%s/g,function(){return c[l++]}))).name="Invariant Violation"}throw u.framesToPop=1,u}};function l(e,t,n){if("selectionStart"in e&&"selectionEnd"in e)e.selectionStart=t,e.selectionEnd=n;else{var r=e.createTextRange();r.collapse(!0),r.moveStart("character",t),r.moveEnd("character",n-t),r.select()}}var p={9:"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"},d="_";function f(e,t,n){var r="",a="",o=null,s=[];if(void 0===t&&(t=d),null==n&&(n=p),!e||"string"!=typeof e)return{maskChar:t,formatChars:n,mask:null,prefix:null,lastEditablePosition:null,permanents:[]};var i=!1;return e.split("").forEach(function(e){i=!i&&"\\"===e||(i||!n[e]?(s.push(r.length),r.length===s.length-1&&(a+=e)):o=r.length+1,r+=e,!1)}),{maskChar:t,formatChars:n,prefix:a,mask:r,lastEditablePosition:o,permanents:s}}function h(e,t){return-1!==e.permanents.indexOf(t)}function v(e,t,n){var r=e.mask,a=e.formatChars;if(!n)return!1;if(h(e,t))return r[t]===n;var o=a[r[t]];return new RegExp(o).test(n)}function g(e,t){return t.split("").every(function(t,n){return h(e,n)||!v(e,n,t)})}function m(e,t){var n=e.maskChar,r=e.prefix;if(!n){for(;t.length>r.length&&h(e,t.length-1);)t=t.slice(0,t.length-1);return t.length}for(var a=r.length,o=t.length;o>=r.length;o--){var s=t[o];if(!h(e,o)&&v(e,o,s)){a=o+1;break}}return a}function w(e,t){return m(e,t)===e.mask.length}function k(e,t){var n=e.maskChar,r=e.mask,a=e.prefix;if(!n){for((t=E(e,"",t,0)).length<a.length&&(t=a);t.length<r.length&&h(e,t.length);)t+=r[t.length];return t}if(t)return E(e,k(e,""),t,0);for(var o=0;o<r.length;o++)h(e,o)?t+=r[o]:t+=n;return t}function E(e,t,n,r){var a=e.mask,o=e.maskChar,s=e.prefix,i=n.split(""),u=w(e,t);return!o&&r>t.length&&(t+=a.slice(t.length,r)),i.every(function(n){for(;l=n,h(e,c=r)&&l!==a[c];){if(r>=t.length&&(t+=a[r]),i=n,o&&h(e,r)&&i===o)return!0;if(++r>=a.length)return!1}var i,c,l;return!v(e,r,n)&&n!==o||(r<t.length?t=o||u||r<s.length?t.slice(0,r)+n+t.slice(r+1):(t=t.slice(0,r)+n+t.slice(r),k(e,t)):o||(t+=n),++r<a.length)}),t}function O(e,t){for(var n=e.mask,r=t;r<n.length;++r)if(!h(e,r))return r;return null}function S(e){return e||0===e?e+"":""}function b(e,t,n,r,a){var o=e.mask,s=e.prefix,i=e.lastEditablePosition,u=t,c="",l=0,p=0,d=Math.min(a.start,n.start);return n.end>a.start?p=(l=function(e,t,n,r){var a=e.mask,o=e.maskChar,s=n.split(""),i=r;return s.every(function(t){for(;s=t,h(e,n=r)&&s!==a[n];)if(++r>=a.length)return!1;var n,s;return(v(e,r,t)||t===o)&&r++,r<a.length}),r-i}(e,0,c=u.slice(a.start,n.end),d))?a.length:0:u.length<r.length&&(p=r.length-u.length),u=r,p&&(1!==p||a.length||(d=a.start===n.start?O(e,n.start):function(e,t){for(var n=t;0<=n;--n)if(!h(e,n))return n;return null}(e,n.start)),u=function(e,t,n,r){var a=n+r,o=e.maskChar,s=e.mask,i=e.prefix,u=t.split("");if(o)return u.map(function(t,r){return r<n||a<=r?t:h(e,r)?s[r]:o}).join("");for(var c=a;c<u.length;c++)h(e,c)&&(u[c]="");return n=Math.max(i.length,n),u.splice(n,a-n),t=u.join(""),k(e,t)}(e,u,d,p)),u=E(e,u,c,d),(d+=l)>=o.length?d=o.length:d<s.length&&!l?d=s.length:d>=s.length&&d<i&&l&&(d=O(e,d)),c||(c=null),{value:u=k(e,u),enteredString:c,selection:{start:d,end:d}}}function C(e){return"function"==typeof e}function y(){return window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame}function D(e){return(y()?window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame:function(){return setTimeout(e,1e3/60)})(e)}function j(e){(y()||clearTimeout)(e)}var L=function(e){function t(t){var n=e.call(this,t)||this;n.focused=!1,n.mounted=!1,n.previousSelection=null,n.selectionDeferId=null,n.saveSelectionLoopDeferId=null,n.saveSelectionLoop=function(){n.previousSelection=n.getSelection(),n.saveSelectionLoopDeferId=D(n.saveSelectionLoop)},n.runSaveSelectionLoop=function(){null===n.saveSelectionLoopDeferId&&n.saveSelectionLoop()},n.stopSaveSelectionLoop=function(){null!==n.saveSelectionLoopDeferId&&(j(n.saveSelectionLoopDeferId),n.saveSelectionLoopDeferId=null,n.previousSelection=null)},n.getInputDOMNode=function(){if(!n.mounted)return null;var e=o.findDOMNode(u(u(n))),t="undefined"!=typeof window&&e instanceof window.Element;if(e&&!t)return null;if("INPUT"!==e.nodeName&&(e=e.querySelector("input")),!e)throw new Error("react-input-mask: inputComponent doesn't contain input node");return e},n.getInputValue=function(){var e=n.getInputDOMNode();return e?e.value:null},n.setInputValue=function(e){var t=n.getInputDOMNode();t&&(n.value=e,t.value=e)},n.setCursorToEnd=function(){var e=m(n.maskOptions,n.value),t=O(n.maskOptions,e);null!==t&&n.setCursorPosition(t)},n.setSelection=function(e,t,r){void 0===r&&(r={});var a=n.getInputDOMNode(),o=n.isFocused();a&&o&&(r.deferred||l(a,e,t),null!==n.selectionDeferId&&j(n.selectionDeferId),n.selectionDeferId=D(function(){n.selectionDeferId=null,l(a,e,t)}),n.previousSelection={start:e,end:t,length:Math.abs(t-e)})},n.getSelection=function(){return function(e){var t=0,n=0;if("selectionStart"in e&&"selectionEnd"in e)t=e.selectionStart,n=e.selectionEnd;else{var r=document.selection.createRange();r.parentElement()===e&&(t=-r.moveStart("character",-e.value.length),n=-r.moveEnd("character",-e.value.length))}return{start:t,end:n,length:n-t}}(n.getInputDOMNode())},n.getCursorPosition=function(){return n.getSelection().start},n.setCursorPosition=function(e){n.setSelection(e,e)},n.isFocused=function(){return n.focused},n.getBeforeMaskedValueChangeConfig=function(){var e=n.maskOptions,t=e.mask,r=e.maskChar,a=e.permanents,o=e.formatChars;return{mask:t,maskChar:r,permanents:a,alwaysShowMask:!!n.props.alwaysShowMask,formatChars:o}},n.isInputAutofilled=function(e,t,r,a){var o=n.getInputDOMNode();try{if(o.matches(":-webkit-autofill"))return!0}catch(c){}return!n.focused||a.end<r.length&&t.end===e.length},n.onChange=function(e){var t=u(u(n)).beforePasteState,r=u(u(n)).previousSelection,a=n.props.beforeMaskedValueChange,o=n.getInputValue(),s=n.value,i=n.getSelection();n.isInputAutofilled(o,i,s,r)&&(s=k(n.maskOptions,""),r={start:0,end:0,length:0}),t&&(r=t.selection,s=t.value,i={start:r.start+o.length,end:r.start+o.length,length:0},o=s.slice(0,r.start)+o+s.slice(r.end),n.beforePasteState=null);var c=b(n.maskOptions,o,i,s,r),l=c.enteredString,p=c.selection,d=c.value;if(C(a)){var f=a({value:d,selection:p},{value:s,selection:r},l,n.getBeforeMaskedValueChangeConfig());d=f.value,p=f.selection}n.setInputValue(d),C(n.props.onChange)&&n.props.onChange(e),n.isWindowsPhoneBrowser?n.setSelection(p.start,p.end,{deferred:!0}):n.setSelection(p.start,p.end)},n.onFocus=function(e){var t=n.props.beforeMaskedValueChange,r=n.maskOptions,a=r.mask,o=r.prefix;if(n.focused=!0,n.mounted=!0,a){if(n.value)m(n.maskOptions,n.value)<n.maskOptions.mask.length&&n.setCursorToEnd();else{var s=k(n.maskOptions,o),i=k(n.maskOptions,s),u=m(n.maskOptions,i),c=O(n.maskOptions,u),l={start:c,end:c};if(C(t)){var p=t({value:i,selection:l},{value:n.value,selection:null},null,n.getBeforeMaskedValueChangeConfig());i=p.value,l=p.selection}var d=i!==n.getInputValue();d&&n.setInputValue(i),d&&C(n.props.onChange)&&n.props.onChange(e),n.setSelection(l.start,l.end)}n.runSaveSelectionLoop()}C(n.props.onFocus)&&n.props.onFocus(e)},n.onBlur=function(e){var t=n.props.beforeMaskedValueChange,r=n.maskOptions.mask;if(n.stopSaveSelectionLoop(),n.focused=!1,r&&!n.props.alwaysShowMask&&g(n.maskOptions,n.value)){var a="";C(t)&&(a=t({value:a,selection:null},{value:n.value,selection:n.previousSelection},null,n.getBeforeMaskedValueChangeConfig()).value);var o=a!==n.getInputValue();o&&n.setInputValue(a),o&&C(n.props.onChange)&&n.props.onChange(e)}C(n.props.onBlur)&&n.props.onBlur(e)},n.onMouseDown=function(e){if(!n.focused&&document.addEventListener){n.mouseDownX=e.clientX,n.mouseDownY=e.clientY,n.mouseDownTime=(new Date).getTime();document.addEventListener("mouseup",function e(t){if(document.removeEventListener("mouseup",e),n.focused){var r=Math.abs(t.clientX-n.mouseDownX),a=Math.abs(t.clientY-n.mouseDownY),o=Math.max(r,a),s=(new Date).getTime()-n.mouseDownTime;(o<=10&&s<=200||o<=5&&s<=300)&&n.setCursorToEnd()}})}C(n.props.onMouseDown)&&n.props.onMouseDown(e)},n.onPaste=function(e){C(n.props.onPaste)&&n.props.onPaste(e),e.defaultPrevented||(n.beforePasteState={value:n.getInputValue(),selection:n.getSelection()},n.setInputValue(""))},n.handleRef=function(e){null==n.props.children&&C(n.props.inputRef)&&n.props.inputRef(e)};var r=t.mask,a=t.maskChar,s=t.formatChars,i=t.alwaysShowMask,c=t.beforeMaskedValueChange,p=t.defaultValue,d=t.value;n.maskOptions=f(r,a,s),null==p&&(p=""),null==d&&(d=p);var h=S(d);if(n.maskOptions.mask&&(i||h)&&(h=k(n.maskOptions,h),C(c))){var v=t.value;null==t.value&&(v=p),h=c({value:h,selection:null},{value:v=S(v),selection:null},null,n.getBeforeMaskedValueChangeConfig()).value}return n.value=h,n}i(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.getInputDOMNode()&&(this.isWindowsPhoneBrowser=function(){var e=new RegExp("windows","i"),t=new RegExp("phone","i"),n=navigator.userAgent;return e.test(n)&&t.test(n)}(),this.maskOptions.mask&&this.getInputValue()!==this.value&&this.setInputValue(this.value))},n.componentDidUpdate=function(){var e=this.previousSelection,t=this.props,n=t.beforeMaskedValueChange,r=t.alwaysShowMask,a=t.mask,o=t.maskChar,s=t.formatChars,i=this.maskOptions,u=r||this.isFocused(),c=null!=this.props.value,l=c?S(this.props.value):this.value,p=e?e.start:null;if(this.maskOptions=f(a,o,s),this.maskOptions.mask){!i.mask&&this.isFocused()&&this.runSaveSelectionLoop();var d=this.maskOptions.mask&&this.maskOptions.mask!==i.mask;if(i.mask||c||(l=this.getInputValue()),(d||this.maskOptions.mask&&(l||u))&&(l=k(this.maskOptions,l)),d){var h=m(this.maskOptions,l);(null===p||h<p)&&(p=w(this.maskOptions,l)?h:O(this.maskOptions,h))}!this.maskOptions.mask||!g(this.maskOptions,l)||u||c&&this.props.value||(l="");var v={start:p,end:p};if(C(n)){var E=n({value:l,selection:v},{value:this.value,selection:this.previousSelection},null,this.getBeforeMaskedValueChangeConfig());l=E.value,v=E.selection}this.value=l;var b=this.getInputValue()!==this.value;b?(this.setInputValue(this.value),this.forceUpdate()):d&&this.forceUpdate();var y=!1;null!=v.start&&null!=v.end&&(y=!e||e.start!==v.start||e.end!==v.end),(y||b)&&this.setSelection(v.start,v.end)}else i.mask&&(this.stopSaveSelectionLoop(),this.forceUpdate())},n.componentWillUnmount=function(){this.mounted=!1,null!==this.selectionDeferId&&j(this.selectionDeferId),this.stopSaveSelectionLoop()},n.render=function(){var e,t=this.props,n=(t.mask,t.alwaysShowMask,t.maskChar,t.formatChars,t.inputRef,t.beforeMaskedValueChange,t.children),r=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],0<=t.indexOf(n)||(a[n]=e[n]);return a}(t,["mask","alwaysShowMask","maskChar","formatChars","inputRef","beforeMaskedValueChange","children"]);if(n){C(n)||c(!1);var o=["onChange","onPaste","onMouseDown","onFocus","onBlur","value","disabled","readOnly"],i=s({},r);o.forEach(function(e){return delete i[e]}),e=n(i),o.filter(function(t){return null!=e.props[t]&&e.props[t]!==r[t]}).length&&c(!1)}else e=a.createElement("input",s({ref:this.handleRef},r));var u={onFocus:this.onFocus,onBlur:this.onBlur};return this.maskOptions.mask&&(r.disabled||r.readOnly||(u.onChange=this.onChange,u.onPaste=this.onPaste,u.onMouseDown=this.onMouseDown),null!=r.value&&(u.value=this.value)),e=a.cloneElement(e,u)},t}(a.Component);e.exports=L},323:function(e,t,n){"use strict";n.d(t,"g",function(){return u}),n.d(t,"d",function(){return c}),n.d(t,"f",function(){return l}),n.d(t,"a",function(){return p}),n.d(t,"i",function(){return d}),n.d(t,"c",function(){return f}),n.d(t,"e",function(){return h}),n.d(t,"b",function(){return v}),n.d(t,"h",function(){return g});var r=n(41),a=n.n(r),o=n(68),s=n(269),i=n(266),u=function(){return function(){var e=Object(o.a)(a.a.mark(function e(t,n){var r,o,u,c;return a.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=n(),t({type:"SET_LOADER"}),e.next=4,s.a.get("/app.php",{params:{a:"getdeggrprvrt",univcode:r.user.fcuruniv}});case 4:o=e.sent,t({type:"UNSET_LOADER"}),"object"!==typeof o.data?(u={header:"Error",content:"Something went wrong"},t(Object(i.w)(u))):-1===o.data.error_code?(c={header:"Error",content:o.data.data.msg},t(Object(i.w)(c))):t({type:"RVRT_DEGGRP",payload:o.data});case 7:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}()},c=function(e){return function(){var t=Object(o.a)(a.a.mark(function t(n,r){var o,u,c,l;return a.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=r(),console.log(o),t.next=4,s.a.get("app.php?a=PracticalCenterDegreeList&univcode="+o.univ.funivcode+"°grp="+e);case 4:"object"!==typeof(u=t.sent).data?(c={header:"Error",content:"Something went wrong"},n(Object(i.w)(c))):-1===u.data.error_code?(l={header:"Error",content:u.data.data.msg},n(Object(i.w)(l))):(console.log(u.data),n({type:"ALL_DEGREE_LIST",payload:u.data}));case 6:case"end":return t.stop()}},t)}));return function(e,n){return t.apply(this,arguments)}}()},l=function(e,t,n,r,u,c,l){return function(){var p=Object(o.a)(a.a.mark(function o(p,d){var f,h,v,g;return a.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return f=d(),console.log(f),a.next=4,s.a.get("app.php?a=PracticalCenterData&univcode="+f.univ.funivcode+"&fcollcode="+f.user.fcollcode+"°grpfrom="+n+"°grpto="+r+"&subfrom="+e+"&subto="+t+"°ree="+u+"&clgfrom="+c+"&clgto="+l);case 4:"object"!==typeof(h=a.sent).data?(v={header:"Error",content:"Something went wrong"},p(Object(i.w)(v))):-1===h.data.error_code?(g={header:"Error",content:h.data.data.msg},p(Object(i.w)(g))):(console.log(h.data),p({type:"PRACTICAL_CENTERS",payload:h.data}));case 6:case"end":return a.stop()}},o)}));return function(e,t){return p.apply(this,arguments)}}()},p=function(e,t){return console.log(e,t),{type:"PRACTICAL_CENTERS_CHANGE",payload:{el:e,i:t}}},d=function(e,t,n,r,u){return function(){var c=Object(o.a)(a.a.mark(function o(c,l){var p,d,f,h,v;return a.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return p=l(),console.log(e,t,n),c({type:"SET_LOADER"}),a.next=5,s.a.post("/app.php?a=updatepracticalcenter&univcode="+p.univ.funivcode,{data:{fdeggrp:n,univcode:p.univ.funivcode,updcntr:e,subfrom:r,subto:u,user:p.user,deg:t}});case 5:d=a.sent,c({type:"UNSET_LOADER"}),"object"!==typeof d.data?c({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong"},status:"failure"}}):-1===d.data.error_code?(console.log(d.data),f={header:"Error",content:d.data.data.msg},c(Object(i.w)(f))):0===d.data.error_code?(h={header:"Success",content:d.data.data.msg},c(Object(i.w)(h))):(v={header:"Error",content:"Something went wrong"},c(Object(i.w)(v)));case 8:case"end":return a.stop()}},o)}));return function(e,t){return c.apply(this,arguments)}}()},f=function(e){return function(){var t=Object(o.a)(a.a.mark(function t(n,r){var o,u,c,l;return a.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=r(),console.log(o),t.next=4,s.a.get("/app.php",{params:{a:"PracticalCenterCollegeList",univcode:o.user.fcuruniv,degree:e}});case 4:"object"!==typeof(u=t.sent).data?(c={header:"Error",content:"Something went wrong"},n(Object(i.w)(c))):-1===u.data.error_code?(l={header:"Error",content:u.data.data.msg},n(Object(i.w)(l))):(console.log(u.data),n({type:"ALL_COLLEGE_LIST",payload:u.data}));case 6:case"end":return t.stop()}},t)}));return function(e,n){return t.apply(this,arguments)}}()},h=function(e){return function(){var t=Object(o.a)(a.a.mark(function t(n,r){var o,u,c,l;return a.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=r(),console.log(o),t.next=4,s.a.get("/app.php",{params:{a:"PracticalCenterSubjectList",univcode:o.user.fcuruniv,degree:e.degree,college:e.college}});case 4:"object"!==typeof(u=t.sent).data?(c={header:"Error",content:"Something went wrong"},n(Object(i.w)(c))):-1===u.data.error_code?(l={header:"Error",content:u.data.data.msg},n(Object(i.w)(l))):(console.log(u.data),n({type:"ALL_SUBJECT_LIST",payload:u.data}));case 6:case"end":return t.stop()}},t)}));return function(e,n){return t.apply(this,arguments)}}()},v=function(e){return function(){var e=Object(o.a)(a.a.mark(function e(t,n){var r,o,u,c;return a.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=n(),console.log(r),e.next=4,s.a.get("/app.php",{params:{a:"PracticalCenterCodeList",univcode:r.user.fcuruniv}});case 4:"object"!==typeof(o=e.sent).data?(u={header:"Error",content:"Something went wrong"},t(Object(i.w)(u))):-1===o.data.error_code?(c={header:"Error",content:o.data.data.msg},t(Object(i.w)(c))):(console.log(o.data),t({type:"ALL_CENTRE_LIST",payload:o.data}));case 6:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}()},g=function(e){return function(){var t=Object(o.a)(a.a.mark(function t(n,r){var o,u,c,l,p;return a.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=r(),console.log(o),t.next=4,s.a.get("/app.php",{params:{a:"savePracticalExamCentre",univcode:o.user.fcuruniv,deg:e.degree,sub:e.subject,cen:e.centre,col:e.college}});case 4:"object"!==typeof(u=t.sent).data?(c={header:"Error",content:"Something went wrong"},n(Object(i.w)(c))):-1===u.data.error_code?(l={header:"Error",content:u.data.data.msg},n(Object(i.w)(l))):(p={header:"Success",content:u.data.data.msg},n(Object(i.w)(p)));case 6:case"end":return t.stop()}},t)}));return function(e,n){return t.apply(this,arguments)}}()}},491:function(e,t,n){"use strict";n.d(t,"c",function(){return u}),n.d(t,"b",function(){return c}),n.d(t,"a",function(){return l});var r=n(41),a=n.n(r),o=n(68),s=n(269),i=n(266),u=function(e){return function(){var t=Object(o.a)(a.a.mark(function t(n,r){var o,u,c,l;return a.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=r(),n({type:"SET_LOADER"}),n({type:"DELETE_QPSTATS"}),n({type:"CLEAR_TEACHER_ID"}),t.next=6,s.a.get("/app.php",{params:{a:"getTeacherDet",techerid:e.changecoll,univcode:o.user.fcuruniv}});case 6:u=t.sent,n({type:"UNSET_LOADER"}),"object"!==typeof u.data?(c={header:"Error",content:"Something went wrong"},n(Object(i.w)(c))):-1===u.data.error_code?(l={header:"Error",content:u.data.data.msg},n(Object(i.w)(l))):n({type:"TEACHER_ID",payload:u.data});case 9:case"end":return t.stop()}},t)}));return function(e,n){return t.apply(this,arguments)}}()},c=function(e){return function(){var t=Object(o.a)(a.a.mark(function t(n,r){var o,u,c,l,p;return a.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=r(),n({type:"SET_LOADER"}),n({type:"DELETE_QPSTATS"}),n({type:"CLEAR_TEACHER_ID"}),t.next=6,s.a.get("/app.php",{params:{a:"updatenewcollcode",newcollcode:e.newcollcode,univcode:o.user.fcuruniv,techerid:e.changecoll}});case 6:if(u=t.sent,n({type:"UNSET_LOADER"}),"object"===typeof u.data){t.next=14;break}return c={header:"Error",content:"Something went wrong"},n(Object(i.w)(c)),t.abrupt("return");case 14:if(-1!==u.data.error_code){t.next=20;break}return l={header:"Error",content:u.data.data.msg},n(Object(i.w)(l)),t.abrupt("return");case 20:p={header:"Success",content:"Upadated successfully..!"},n(Object(i.w)(p));case 22:case"end":return t.stop()}},t)}));return function(e,n){return t.apply(this,arguments)}}()},l=function(){return{type:"CLEAR_TEACHER_ID"}}}}]);
//# sourceMappingURL=10.c983266e.chunk.js.map
|