You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
191 KiB
1 line
191 KiB
5 years ago
|
webpackJsonp([12],{1064:function(t,e,n){var i=n(1068);t.exports=function(t){var e=i(t),n=e%1;return e==e?n?e-n:e:0}},1067:function(t,e){t.exports=function(e){return function(t){return null==t?void 0:t[e]}}},1068:function(t,e,n){var i=n(312);t.exports=function(t){return t?(t=i(t))!==1/0&&t!==-1/0?t==t?t:0:17976931348623157e292*(t<0?-1:1):0===t?t:0}},1304:function(t,e,n){t.exports=n(1486)},1393:function(t,e,n){"use strict";n.d(e,"f",function(){return w}),n.d(e,"d",function(){return O}),n.d(e,"g",function(){return M}),n.d(e,"e",function(){return _}),n.d(e,"c",function(){return E}),n.d(e,"b",function(){return j}),n.d(e,"i",function(){return z}),n.d(e,"p",function(){return T}),n.d(e,"m",function(){return D}),n.d(e,"n",function(){return W}),n.d(e,"q",function(){return I}),n.d(e,"a",function(){return P}),n.d(e,"j",function(){return R}),n.d(e,"l",function(){return N}),n.d(e,"h",function(){return F}),n.d(e,"o",function(){return L}),n.d(e,"k",function(){return U});var i=n(1304),o=n.n(i),a=n(12),s=n.n(a);function r(t){return function(){var s=t.apply(this,arguments);return new Promise(function(r,o){return function e(t,n){try{var i=s[t](n),a=i.value}catch(t){return void o(t)}if(!i.done)return Promise.resolve(a).then(function(t){e("next",t)},function(t){e("throw",t)});r(a)}("next")})}}var l,p,c,u,d,A,f,g,m,h,b,C,y,B,k,v,x,S,w=(l=r(o.a.mark(function t(e){var n;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n={},Object.keys(e).forEach(function(t){e[t]&&(n[t]=e[t])}),t.abrupt("return",s.a.get("/problems.json",{params:n}));case 4:case"end":return t.stop()}},t,this)})),function(t){return l.apply(this,arguments)}),O=(p=r(o.a.mark(function t(e){var n;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n="/problems/"+e+".json",t.abrupt("return",s.a.delete(n));case 2:case"end":return t.stop()}},t,this)})),function(t){return p.apply(this,arguments)}),M=(c=r(o.a.mark(function t(e){var n,i,a,r;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.params,i=e.submitType,a=e.identifier,r="add"===i?"/problems.json":"/problems/"+a+".json",t.abrupt("return",a?s.a.put(r,n):s.a.post(r,n));case 3:case"end":return t.stop()}},t,this)})),function(t){return c.apply(this,arguments)}),_=(u=r(o.a.mark(function t(e){var n;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n="/problems/"+e+"/edit.json",t.abrupt("return",s.a.get(n));case 2:case"end":return t.stop()}},t,this)})),function(t){return u.apply(this,arguments)}),E=(d=r(o.a.mark(function t(e,n){var i;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i="/myproblems/"+e+"/code_debug.json",t.abrupt("return",s.a.get(i,{params:n}));case 2:case"end":return t.stop()}},t,this)})),function(t,e){return d.apply(this,arguments)}),j=(A=r(o.a.mark(function t(e,n){var i;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i="/myproblems/"+e+"/result.json",t.abrupt("return",s.a.get(i,{params:n}));case 2:case"end":return t.stop()}},t,this)})),function(t,e){return A.apply(this,arguments)}),z=(f=r(o.a.mark(function t(e){var n;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n="/problems/"+e+"/start.json",t.abrupt("return",s.a.get(n));case 2:case"end":return t.stop()}},t,this)})),function(t){return f.apply(this,arguments)}),T=(g=r(o.a.mark(function t(e){var n;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n="/myproblems/"+e+".json",t.abrupt("return",s.a.get(n));case 2:case"end":return t.stop()}},t,this)})),function(t){return g.apply(this,arguments)}),D=(m=r(o.a.mark(function t(e){var n;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n="/myproblems/"+e+"/submit_records.json",t.abrupt("return",s.a.get(n));case 3:case"end":return t.stop()}},t,this)})),function(t){return m.apply(this,arguments)}),W=(h=r(o.a.mark(function t(e){var n;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n={id:e},t.abrupt("return",s.a.get("/myproblems/record_detail.json",{params:n}));case 3:case"end":return t.stop()}},t,this)})),function(t){re
|