diff --git a/index.html b/index.html index 9df31b8..c811b6e 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -uMania
\ No newline at end of file +uMania
\ No newline at end of file diff --git a/static/js/app.5c1c4ea46cbcf8326086.js b/static/js/app.5c1c4ea46cbcf8326086.js deleted file mode 100644 index fd3ce46..0000000 --- a/static/js/app.5c1c4ea46cbcf8326086.js +++ /dev/null @@ -1,2 +0,0 @@ -webpackJsonp([2,0],{0:function(t,e,n){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}var r=n(187),a=s(r),u=n(186),i=s(u),o=n(178),l=s(o);a.default.use(i.default);var c=n(134),d=new i.default({routes:c});new a.default({router:d,template:"",components:{App:l.default}}).$mount("#app")},10:function(t,e,n){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}var r=n(136),a=s(r),u=n(137),i=s(u),o=n(7),l=s(o),c=n(17),d=s(c),f=n(18),m=s(f),v=n(1),p=s(v),h=[["Accepted","AC",18,90,"green"],["Presentation Error","PE",17,80,"olive"],["Wrong Answer","WA",16,70,"red"],["Compilation Error","CE",10,30,"yellow"],["Runtime Error","RE",12,40,"teal"],["Time Limit Exceeded","TLE",14,50,"blue"],["Output Limit Exceeded","OLE",13,45,"purple"],["Memory Limit Exceeded","MLE",15,60,"violet"],["Restricted Function","RF",11,35,"pink"],["Submission Error","SE",7,10,"black"],["Can't be Judged","NJ",8,15,"brown"],["In Queue","InQ",9,20,"gray"]],j=l.default.keyBy(h,function(t){return t[3]}),b=[void 0,"ANSI C","Java","C++","Pascal","C++11"],g=function(){function t(e){(0,a.default)(this,t),this.data=e,this.info=j[this.getVer()]||[]}return(0,i.default)(t,[{key:"getData",value:function(){return this.data}},{key:"getId",value:function(){return this.data[0]}},{key:"getProbId",value:function(){return this.data[1]}},{key:"getVer",value:function(){return this.data[2]}},{key:"getRuntime",value:function(){return this.data[3]}},{key:"getTime",value:function(){return p.default.unix(this.data[4])}},{key:"getLang",value:function(){return b[this.data[5]]||"unknown"}},{key:"getRank",value:function(){return this.data[6]}},{key:"getFullStatus",value:function(){return this.info[0]||"unknown"}},{key:"getStatus",value:function(){return this.info[1]||"unknown"}},{key:"getColor",value:function(){return this.info[4]||"basic"}}]),t}(),_=(new g(Array(6)),function(){function t(e,n){(0,a.default)(this,t),this.id=e,this.prob=n,this.info=[]}return(0,i.default)(t,[{key:"registerSubmissions",value:function(t){this.subs=t;var e=l.default.countBy(t,function(t){return t.getVer()});return this.info=l.default.chain(h).find(function(t){return e[t[3]]}).value(),this}},{key:"getData",value:function(){return this.prob}},{key:"getId",value:function(){return this.prob[0]}},{key:"getNum",value:function(){return this.prob[1]}},{key:"getHeader",value:function(){return this.prob[2]}},{key:"getIdNum",value:function(){return this.prob.slice(0,2)}},{key:"getSubs",value:function(){return this.subs}},{key:"getSubsProbId",value:function(){return l.default.map(this.subs,function(t){return t.getProbId()})}},{key:"getSubsVer",value:function(){return l.default.map(this.subs,function(t){return t.getVer()})}},{key:"getColor",value:function(){return this.info[4]||"basic"}},{key:"getTrans",value:function(){return this.trans||[]}},{key:"getStats",value:function(){var t=this;return h.map(function(e){return{label:e[1],color:e[4],count:t.prob[e[2]]}})}}]),t}()),y="http://uhunt.felix-halim.net/api",k=function(t){return d.default.getJSON(y+t)},C=function(t){return d.default.get(t).then(function(t){return m.default.load(t)})};t.exports={uva:k,getYaml:C,Submission:g,Problem:_}},130:function(t,e,n){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(7),a=s(r),u=n(17),i=s(u),o=n(18),l=s(o),c=n(10),d=s(c);window._=a.default,window.$=window.jQuery=i.default,window.uhunt=d.default,window.yaml=l.default,n(153),n(177),e.default={name:"app",data:function(){return{username:void 0,userid:0,user:{subs:[]},asset:{problem:[],submission:[],translate:{}}}},created:function(){var t=this,e="/static/uva.data";"undefined"!==localStorage.username&&(t.username=localStorage.username),d.default.uva("/p").then(function(e){t.asset.problem=e}),d.default.getYaml(e+"/translate/translate.yml").then(function(e){t.asset.translate=e})},computed:{store:function(){var t=this,e=t.asset,n=a.default.map(e.problem,function(t,e){return new d.default.Problem(e,t)});n=a.default.chain(n).keyBy(function(t){return t.getId()}).mergeWith(a.default.chain(e.submission).map(function(t){return new d.default.Submission(t)}).groupBy(function(t){return t.getProbId()}).mapValues(function(t){return t.sort(function(t,e){return e.getId()-t.getId()})}).value(),function(t,e){return t.registerSubmissions(e)}).values().value(),n=a.default.chain(n).keyBy(function(t){return t.getNum()}).mergeWith(a.default.chain(e.translate).flatMap(function(t,e){return a.default.map(t.trans,function(n,s){return{num:a.default.isArray(t.trans)?n:s,type:e,link:t.site+n}})}).groupBy(function(t){return t.num}).value(),function(t,e){return a.default.assign(t,{trans:e})}).values().value(),window.console.log(n);var s=a.default.chain(n).map(function(t){return t.getIdNum()}),r={id:a.default.keyBy(n,function(t){return t.getId()}),num:a.default.keyBy(n,function(t){return t.getNum()}),volume:a.default.groupBy(n,function(t){return Math.floor(t.getNum()/100)}),id2num:s.fromPairs().value(),num2id:s.reverse().fromPairs().value()};return{data:n,category:r}}},watch:{username:function(t){var e=this;return"undefined"==typeof t?void(e.userid=0):void d.default.uva("/uname2uid/"+e.username).then(function(t){e.userid=t})},userid:function(t){if(0!==t){var e=this;d.default.uva("/subs-user/"+e.userid).then(function(t){e.user=t,e.asset.submission=t.subs})}}}}},131:function(t,e,n){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(7),a=(s(r),n(180)),u=s(a);e.default={name:"index",props:["store"],components:{ProbDot:u.default},computed:{volumes:function(){return this.store.category.volume}}}},132:function(t,e,n){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(7),a=s(r),u=n(10);s(u);e.default={name:"prob-dot",props:["item"],computed:{probNum:function(){return a.default.padStart(this.item.getNum()%100,2,"0")}}}},133:function(t,e,n){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(7),a=s(r),u=n(1),i=(s(u),n(10)),o=s(i);e.default={name:"prob-name",props:["store","userid"],data:function(){return{setting:o.default}},computed:{problem:function(){var t=this;return t.store.category.num[t.$route.params.num]},subs:function(){var t=this;t.problem.getId();return a.default.chain(t.problem.getSubs()).map(function(t){return{status:t.getStatus(),color:t.getColor(),rank:t.getRank(),others:[["hourglass full",t.getRuntime()+" ms"],["code",t.getLang()],["time",t.getTime().format("YYYY/MM/DD HH:mm:ss")]]}}).value()},stats:function(){var t=this;return t.problem.getStats()},trans:function(){var t=this;return t.problem.getTrans()}}}},134:function(t,e,n){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}var r=n(179),a=s(r),u=n(181),i=s(u);t.exports=[{path:"/",component:a.default},{path:"/problem/:num",component:i.default}]},153:function(t,e){},154:function(t,e){},176:function(t,e,n){function s(t){return n(r(t))}function r(t){return a[t]||function(){throw new Error("Cannot find module '"+t+"'.")}()}var a={"./af":21,"./af.js":21,"./ar":27,"./ar-dz":22,"./ar-dz.js":22,"./ar-ly":23,"./ar-ly.js":23,"./ar-ma":24,"./ar-ma.js":24,"./ar-sa":25,"./ar-sa.js":25,"./ar-tn":26,"./ar-tn.js":26,"./ar.js":27,"./az":28,"./az.js":28,"./be":29,"./be.js":29,"./bg":30,"./bg.js":30,"./bn":31,"./bn.js":31,"./bo":32,"./bo.js":32,"./br":33,"./br.js":33,"./bs":34,"./bs.js":34,"./ca":35,"./ca.js":35,"./cs":36,"./cs.js":36,"./cv":37,"./cv.js":37,"./cy":38,"./cy.js":38,"./da":39,"./da.js":39,"./de":41,"./de-at":40,"./de-at.js":40,"./de.js":41,"./dv":42,"./dv.js":42,"./el":43,"./el.js":43,"./en-au":44,"./en-au.js":44,"./en-ca":45,"./en-ca.js":45,"./en-gb":46,"./en-gb.js":46,"./en-ie":47,"./en-ie.js":47,"./en-nz":48,"./en-nz.js":48,"./eo":49,"./eo.js":49,"./es":51,"./es-do":50,"./es-do.js":50,"./es.js":51,"./et":52,"./et.js":52,"./eu":53,"./eu.js":53,"./fa":54,"./fa.js":54,"./fi":55,"./fi.js":55,"./fo":56,"./fo.js":56,"./fr":59,"./fr-ca":57,"./fr-ca.js":57,"./fr-ch":58,"./fr-ch.js":58,"./fr.js":59,"./fy":60,"./fy.js":60,"./gd":61,"./gd.js":61,"./gl":62,"./gl.js":62,"./he":63,"./he.js":63,"./hi":64,"./hi.js":64,"./hr":65,"./hr.js":65,"./hu":66,"./hu.js":66,"./hy-am":67,"./hy-am.js":67,"./id":68,"./id.js":68,"./is":69,"./is.js":69,"./it":70,"./it.js":70,"./ja":71,"./ja.js":71,"./jv":72,"./jv.js":72,"./ka":73,"./ka.js":73,"./kk":74,"./kk.js":74,"./km":75,"./km.js":75,"./ko":76,"./ko.js":76,"./ky":77,"./ky.js":77,"./lb":78,"./lb.js":78,"./lo":79,"./lo.js":79,"./lt":80,"./lt.js":80,"./lv":81,"./lv.js":81,"./me":82,"./me.js":82,"./mi":83,"./mi.js":83,"./mk":84,"./mk.js":84,"./ml":85,"./ml.js":85,"./mr":86,"./mr.js":86,"./ms":88,"./ms-my":87,"./ms-my.js":87,"./ms.js":88,"./my":89,"./my.js":89,"./nb":90,"./nb.js":90,"./ne":91,"./ne.js":91,"./nl":93,"./nl-be":92,"./nl-be.js":92,"./nl.js":93,"./nn":94,"./nn.js":94,"./pa-in":95,"./pa-in.js":95,"./pl":96,"./pl.js":96,"./pt":98,"./pt-br":97,"./pt-br.js":97,"./pt.js":98,"./ro":99,"./ro.js":99,"./ru":100,"./ru.js":100,"./se":101,"./se.js":101,"./si":102,"./si.js":102,"./sk":103,"./sk.js":103,"./sl":104,"./sl.js":104,"./sq":105,"./sq.js":105,"./sr":107,"./sr-cyrl":106,"./sr-cyrl.js":106,"./sr.js":107,"./ss":108,"./ss.js":108,"./sv":109,"./sv.js":109,"./sw":110,"./sw.js":110,"./ta":111,"./ta.js":111,"./te":112,"./te.js":112,"./tet":113,"./tet.js":113,"./th":114,"./th.js":114,"./tl-ph":115,"./tl-ph.js":115,"./tlh":116,"./tlh.js":116,"./tr":117,"./tr.js":117,"./tzl":118,"./tzl.js":118,"./tzm":120,"./tzm-latn":119,"./tzm-latn.js":119,"./tzm.js":120,"./uk":121,"./uk.js":121,"./uz":122,"./uz.js":122,"./vi":123,"./vi.js":123,"./x-pseudo":124,"./x-pseudo.js":124,"./yo":125,"./yo.js":125,"./zh-cn":126,"./zh-cn.js":126,"./zh-hk":127,"./zh-hk.js":127,"./zh-tw":128,"./zh-tw.js":128};s.keys=function(){return Object.keys(a)},s.resolve=r,t.exports=s,s.id=176},178:function(t,e,n){var s,r;n(154),s=n(130);var a=n(184);r=s=s||{},"object"!=typeof s.default&&"function"!=typeof s.default||(r=s=s.default),"function"==typeof r&&(r=r.options),r.render=a.render,r.staticRenderFns=a.staticRenderFns,t.exports=s},179:function(t,e,n){var s,r;s=n(131);var a=n(183);r=s=s||{},"object"!=typeof s.default&&"function"!=typeof s.default||(r=s=s.default),"function"==typeof r&&(r=r.options),r.render=a.render,r.staticRenderFns=a.staticRenderFns,t.exports=s},180:function(t,e,n){var s,r;s=n(132);var a=n(182);r=s=s||{},"object"!=typeof s.default&&"function"!=typeof s.default||(r=s=s.default),"function"==typeof r&&(r=r.options),r.render=a.render,r.staticRenderFns=a.staticRenderFns,t.exports=s},181:function(t,e,n){var s,r;s=n(133);var a=n(185);r=s=s||{},"object"!=typeof s.default&&"function"!=typeof s.default||(r=s=s.default),"function"==typeof r&&(r=r.options),r.render=a.render,r.staticRenderFns=a.staticRenderFns,t.exports=s},182:function(t,e){t.exports={render:function(){var t=this,e=(t.$createElement,t._c);return e("router-link",{class:"ui "+t.item.getColor()+" label",attrs:{to:"/problem/"+t.item.getNum(),id:"probdot"}},[t.item.getTrans().length>0?e("i",{staticClass:"coffee icon"}):t._e(),t._v(t._s(t.probNum)+"\r\n")])},staticRenderFns:[]}},183:function(t,e){t.exports={render:function(){var t=this,e=(t.$createElement,t._c);return e("section",{staticClass:"ui stackable doubling two column grid",attrs:{id:"index"}},t._l(t.volumes,function(n,s){return e("article",{staticClass:"column"},[e("h2",{staticClass:"ui top attached header"},[t._v("Volume "+t._s(s))]),t._v(" "),e("div",{staticClass:"ui bottom attached segment circular labels"},t._l(n,function(t){return e("prob-dot",{attrs:{item:t}})}))])}))},staticRenderFns:[]}},184:function(t,e){t.exports={render:function(){var t=this,e=(t.$createElement,t._c);return e("div",{staticClass:"ui centered grid",attrs:{id:"app"}},[e("nav",{staticClass:"ui top fixed labeled icon menu"},[e("router-link",{staticClass:"item",attrs:{to:"/"}},[e("i",{staticClass:"home icon"}),t._v("\n 主頁\n ")]),t._v(" "),e("div",{staticClass:"right menu"},[e("div",{staticClass:"item"},[e("div",{staticClass:"ui transparent icon input"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.username,expression:"username"}],attrs:{type:"text"},domProps:{value:t._s(t.username)},on:{input:function(e){e.target.composing||(t.username=e.target.value)}}}),t._v(" "),e("i",{staticClass:"user icon"})])])])]),t._v(" "),e("div",{staticClass:"fourteen wide column",attrs:{id:"content"}},[e("router-view",{attrs:{store:t.store,userid:t.userid}})])])},staticRenderFns:[]}},185:function(t,e){t.exports={render:function(){var t=this,e=(t.$createElement,t._c);return e("section",{attrs:{id:"probpage"}},[e("header",{staticClass:"ui huge header"},[e("div",{staticClass:"content"},[t._v("\r\n UVa "+t._s(t.$route.params.num)+"\r\n "),t.problem?e("div",{staticClass:"sub header"},[t._v(t._s(t.problem.getHeader()))]):t._e()])]),t._v(" "),t.trans.length>0?e("h3",{staticClass:"ui header"},[e("i",{staticClass:"coffee icon"}),t._v(" "),t._m(0)]):t._e(),t._v(" "),t.trans.length>0?e("article",t._l(t.trans,function(n){return e("a",{staticClass:"ui primary button",attrs:{target:"_blank",href:n.link}},[t._v(t._s(n.type))])})):t._e(),t._v(" "),t.userid?e("h3",{staticClass:"ui header"},[e("i",{staticClass:"user icon"}),t._v(" "),t._m(1)]):t._e(),t._v(" "),t.userid?e("article",[t.subs.length>0?e("div",{staticClass:"ui stackable doubling six column grid"},t._l(t.subs,function(n){return e("div",{staticClass:"column"},[e("section",{staticClass:"ui segment"},[e("div",{class:"ui "+n.color+" statistic"},[e("div",{staticClass:"value"},[t._v(t._s(n.status))])]),t._v(" "),e("div",{staticClass:"ui list"},[n.rank>0?e("div",{staticClass:"item"},[e("i",{staticClass:"star icon"}),t._v(" "),e("div",{staticClass:"content"},[t._v(t._s(n.rank))])]):t._e(),t._v(" "),t._l(n.others,function(n){return e("div",{staticClass:"item"},[e("i",{class:n[0]+" icon"}),t._v(" "),e("div",{staticClass:"content"},[t._v(t._s(n[1]))])])})],!0)])])})):e("div",[e("div",{staticClass:"column"},[t._v("沒有上傳紀錄。")])]),t._v(" ")]):t._e(),t._v(" "),t._m(2),t._v(" "),t.problem?e("article",{staticClass:"ui statistics"},t._l(t.stats,function(n){return e("div",{class:n.color+" statistic"},[e("div",{staticClass:"value"},[t._v(t._s(n.count))]),t._v(" "),e("div",{staticClass:"label"},[t._v(t._s(n.label))])])})):t._e()])},staticRenderFns:[function(){var t=this,e=(t.$createElement,t._c);return e("div",{staticClass:"content"},[t._v("\r\n 翻譯\r\n "),e("div",{staticClass:"sub header"},[t._v("Translates")])])},function(){var t=this,e=(t.$createElement,t._c);return e("div",{staticClass:"content"},[t._v("\r\n 使用者狀態\r\n "),e("div",{staticClass:"sub header"},[t._v("User Status")])])},function(){var t=this,e=(t.$createElement,t._c);return e("h3",{staticClass:"ui header"},[e("i",{staticClass:"bar chart icon"}),t._v(" "),e("div",{staticClass:"content"},[t._v("\r\n 統計"),e("div",{staticClass:"sub header"},[t._v("Statistics")])])])}]}}}); -//# sourceMappingURL=app.5c1c4ea46cbcf8326086.js.map \ No newline at end of file diff --git a/static/js/app.5c1c4ea46cbcf8326086.js.map b/static/js/app.5c1c4ea46cbcf8326086.js.map deleted file mode 100644 index e85ac48..0000000 --- a/static/js/app.5c1c4ea46cbcf8326086.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///static/js/app.5c1c4ea46cbcf8326086.js","webpack:///./src/main.js","webpack:///./src/scripts/uhunt.js","webpack:///App.vue","webpack:///Index.vue","webpack:///ProbDot.vue","webpack:///ProbPage.vue","webpack:///./src/routes.js","webpack:///./~/moment/locale ^\\.\\/.*$","webpack:///./src/App.vue","webpack:///./src/components/Index.vue","webpack:///./src/components/ProbDot.vue","webpack:///./src/components/ProbPage.vue","webpack:///./src/components/ProbDot.vue?80bc","webpack:///./src/components/Index.vue?9b5b","webpack:///./src/App.vue?72b1","webpack:///./src/components/ProbPage.vue?1c98"],"names":["webpackJsonp","0","module","exports","__webpack_require__","_interopRequireDefault","obj","__esModule","default","_vue","_vue2","_vueRouter","_vueRouter2","_App","_App2","use","routes","router","template","components","App","$mount","10","_classCallCheck2","_classCallCheck3","_createClass2","_createClass3","_lodash","_lodash2","_jquery","_jquery2","_jsYaml","_jsYaml2","_moment","_moment2","_state_info","_rev_verdict","keyBy","info","_lang_list","undefined","Submission","sub","this","data","getVer","key","value","unix","Problem","Array","id","prob","subs","compare","countBy","chain","find","state","slice","map","getProbId","trans","p","stat","label","color","count","_domain","endpoint","ep","getJSON","_getYaml","path_to_file","get","then","load","uva","getYaml","130","Object","defineProperty","_uhunt","_uhunt2","window","_","$","jQuery","uhunt","yaml","name","username","userid","user","asset","problem","submission","translate","created","app","_uva_data","localStorage","computed","store","i","getId","mergeWith","groupBy","mapValues","sort","a","b","target","source","registerSubmissions","values","getNum","flatMap","judge","link","num","isArray","type","site","assign","console","log","_uidnum","it","getIdNum","category","volume","Math","floor","id2num","fromPairs","num2id","reverse","watch","newUsername","newUserid","131","_ProbDot","_ProbDot2","props","ProbDot","volumes","132","probNum","padStart","item","133","setting","$route","params","getSubs","status","getStatus","getColor","rank","getRank","others","getRuntime","getLang","getTime","format","stats","getStats","getTrans","134","_Index","_Index2","_ProbPage","_ProbPage2","path","component","153","154","176","webpackContext","req","webpackContextResolve","Error","./af","./af.js","./ar","./ar-dz","./ar-dz.js","./ar-ly","./ar-ly.js","./ar-ma","./ar-ma.js","./ar-sa","./ar-sa.js","./ar-tn","./ar-tn.js","./ar.js","./az","./az.js","./be","./be.js","./bg","./bg.js","./bn","./bn.js","./bo","./bo.js","./br","./br.js","./bs","./bs.js","./ca","./ca.js","./cs","./cs.js","./cv","./cv.js","./cy","./cy.js","./da","./da.js","./de","./de-at","./de-at.js","./de.js","./dv","./dv.js","./el","./el.js","./en-au","./en-au.js","./en-ca","./en-ca.js","./en-gb","./en-gb.js","./en-ie","./en-ie.js","./en-nz","./en-nz.js","./eo","./eo.js","./es","./es-do","./es-do.js","./es.js","./et","./et.js","./eu","./eu.js","./fa","./fa.js","./fi","./fi.js","./fo","./fo.js","./fr","./fr-ca","./fr-ca.js","./fr-ch","./fr-ch.js","./fr.js","./fy","./fy.js","./gd","./gd.js","./gl","./gl.js","./he","./he.js","./hi","./hi.js","./hr","./hr.js","./hu","./hu.js","./hy-am","./hy-am.js","./id","./id.js","./is","./is.js","./it","./it.js","./ja","./ja.js","./jv","./jv.js","./ka","./ka.js","./kk","./kk.js","./km","./km.js","./ko","./ko.js","./ky","./ky.js","./lb","./lb.js","./lo","./lo.js","./lt","./lt.js","./lv","./lv.js","./me","./me.js","./mi","./mi.js","./mk","./mk.js","./ml","./ml.js","./mr","./mr.js","./ms","./ms-my","./ms-my.js","./ms.js","./my","./my.js","./nb","./nb.js","./ne","./ne.js","./nl","./nl-be","./nl-be.js","./nl.js","./nn","./nn.js","./pa-in","./pa-in.js","./pl","./pl.js","./pt","./pt-br","./pt-br.js","./pt.js","./ro","./ro.js","./ru","./ru.js","./se","./se.js","./si","./si.js","./sk","./sk.js","./sl","./sl.js","./sq","./sq.js","./sr","./sr-cyrl","./sr-cyrl.js","./sr.js","./ss","./ss.js","./sv","./sv.js","./sw","./sw.js","./ta","./ta.js","./te","./te.js","./tet","./tet.js","./th","./th.js","./tl-ph","./tl-ph.js","./tlh","./tlh.js","./tr","./tr.js","./tzl","./tzl.js","./tzm","./tzm-latn","./tzm-latn.js","./tzm.js","./uk","./uk.js","./uz","./uz.js","./vi","./vi.js","./x-pseudo","./x-pseudo.js","./yo","./yo.js","./zh-cn","./zh-cn.js","./zh-hk","./zh-hk.js","./zh-tw","./zh-tw.js","keys","resolve","178","__vue_exports__","__vue_options__","__vue_template__","options","render","staticRenderFns","179","180","181","182","_vm","_c","$createElement","class","attrs","to","length","staticClass","_e","_v","_s","183","_l","items","vol","184","directives","rawName","expression","domProps","on","input","$event","composing","185","getHeader","_m","tran","href","other"],"mappings":"AAAAA,cAAc,EAAE,IAEVC,EACA,SAASC,EAAQC,EAASC,GAE/B,YAcA,SAASC,GAAuBC,GAAO,MAAOA,IAAOA,EAAIC,WAAaD,GAAQE,QAASF,GCjBxF,GAAAG,GAAAL,EAAA,KDOKM,EAAQL,EAAuBI,GCNpCE,EAAAP,EAAA,KDUKQ,EAAcP,EAAuBM,GCT1CE,EAAAT,EAAA,KDaKU,EAAQT,EAAuBQ,ECXpCH,GAAAF,QAAIO,IAAJH,EAAAJ,QAEA,IAAMQ,GAASZ,EAAQ,KAEjBa,EAAS,GAAAL,GAAAJ,SACbQ,UAGU,IAAAN,GAAAF,SACVS,SACAC,SAAU,SACVC,YAAcC,iBACbC,OAAO,SDmBJC,GACA,SAASpB,EAAQC,EAASC,GAE/B,YA0BA,SAASC,GAAuBC,GAAO,MAAOA,IAAOA,EAAIC,WAAaD,GAAQE,QAASF,GAxBvF,GAAIiB,GAAmBnB,EAAoB,KAEvCoB,EAAmBnB,EAAuBkB,GAE1CE,EAAgBrB,EAAoB,KAEpCsB,EAAgBrB,EAAuBoB,GEhD5CE,EAAAvB,EAAA,GFoDKwB,EAAWvB,EAAuBsB,GEnDvCE,EAAAzB,EAAA,IFuDK0B,EAAWzB,EAAuBwB,GEtDvCE,EAAA3B,EAAA,IF0DK4B,EAAW3B,EAAuB0B,GEzDvCE,EAAA7B,EAAA,GF6DK8B,EAAW7B,EAAuB4B,GEpDjCE,IACH,WAAyB,KA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GACAC,OAAA,GACAC,UAAA,GACAC,OAAA,GACAC,UAAA,GACAC,OAAA,GACAC,UAAA,GACAC,OAAA,GACAC,UAAA,GACAC,OAAA,GACAC,UAAA,GACAC,OAAA,GACAC,UAAA,GACAC,OAAA,GACAC,UAAA,GACAC,OAAA,GACAC,UAAA,GACAC,aAAA,GACAC,UAAA,GACAC,OAAA,GACAC,UAAA,GACAC,OAAA,GACAC,UAAA,GACAC,UAAA,GACAC,aAAA,GACAC,UAAA,GACAC,aAAA,GACAC,UAAA,GACAC,aAAA,GACAC,UAAA,GACAC,aAAA,GACAC,UAAA,GACAC,aAAA,GACAC,OAAA,GACAC,UAAA,GACAC,OAAA,GACAC,UAAA,GACAC,aAAA,GACAC,UAAA,GACAC,OAAA,GACAC,UAAA,GACAC,OAAA,GACAC,UAAA,GACAC,OAAA,GACAC,UAAA,GACAC,OAAA,GACAC,UAAA,GACAC,OAAA,GACAC,UAAA,GACAC,OAAA,GACAC,UAAA,GACAC,aAAA,GACAC,UAAA,GACAC,aAAA,GACAC,UAAA,GACAC,OAAA,GACAC,UAAA,GACAC,OAAA,GACAC,UAAA,GACAC,OAAA,GACAC,UAAA,GACAC,OAAA,GACAC,UAAA,GACAC,OAAA,GACAC,UAAA,GACAC,OAAA,GACAC,UAAA,GACAC,OAAA,GACAC,UAAA,GACAC,UAAA,GACAC,aAAA,GACAC,OAAA,GACAC,UAAA,GACAC,OAAA,GACAC,UAAA,GACAC,OAAA,GACAC,UAAA,GACAC,OAAA,GACAC,UAAA,GACAC,OAAA,GACAC,UAAA,GACAC,OAAA,GACAC,UAAA,GACAC,OAAA,GACAC,UAAA,GACAC,OAAA,GACAC,UAAA,GACAC,OAAA,GACAC,UAAA,GACAC,OAAA,GACAC,UAAA,GACAC,OAAA,GACAC,UAAA,GACAC,OAAA,GACAC,UAAA,GACAC,OAAA,GACAC,UAAA,GACAC,OAAA,GACAC,UAAA,GACAC,OAAA,GACAC,UAAA,GACAC,OAAA,GACAC,UAAA,GACAC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P,EAAAS,GAAAT,EAAAU,GAAAtW,EAAAG,UAAAyV,EAAAS,GAAA,KAAAR,EAAA,OACLM,YAAA,UACKP,EAAAS,GAAAT,EAAAU,GAAAtW,EAAAC,eACF2V,EAAAQ,QACFb,iBAAA,WAA+B,GAAAK,GAAAjX,KAAuCkX,GAA1BD,EAAAE,eAA0BF,EAAAC,GACvE,OAAAA,GAAA,OACAM,YAAA,YACGP,EAAAS,GAAA,0BAAAR,EAAA,OACHM,YAAA,eACGP,EAAAS,GAAA,mBACF,WAAa,GAAAT,GAAAjX,KAAuCkX,GAA1BD,EAAAE,eAA0BF,EAAAC,GACrD,OAAAA,GAAA,OACAM,YAAA,YACGP,EAAAS,GAAA,6BAAAR,EAAA,OACHM,YAAA,eACGP,EAAAS,GAAA,oBACF,WAAa,GAAAT,GAAAjX,KAAuCkX,GAA1BD,EAAAE,eAA0BF,EAAAC,GACrD,OAAAA,GAAA,MACAM,YAAA,cACGN,EAAA,KACHM,YAAA,mBACGP,EAAAS,GAAA,KAAAR,EAAA,OACHM,YAAA,YACGP,EAAAS,GAAA,gBAAAR,EAAA,OACHM,YAAA,eACGP,EAAAS,GAAA","file":"static/js/app.5c1c4ea46cbcf8326086.js","sourcesContent":["webpackJsonp([2,0],{\n\n/***/ 0:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _vue = __webpack_require__(187);\n\t\n\tvar _vue2 = _interopRequireDefault(_vue);\n\t\n\tvar _vueRouter = __webpack_require__(186);\n\t\n\tvar _vueRouter2 = _interopRequireDefault(_vueRouter);\n\t\n\tvar _App = __webpack_require__(178);\n\t\n\tvar _App2 = _interopRequireDefault(_App);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\t_vue2.default.use(_vueRouter2.default);\n\t\n\tvar routes = __webpack_require__(134);\n\t\n\tvar router = new _vueRouter2.default({\n\t routes: routes\n\t});\n\t\n\tvar app = new _vue2.default({\n\t router: router,\n\t template: '',\n\t components: { App: _App2.default }\n\t}).$mount('#app');\n\n/***/ },\n\n/***/ 10:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _classCallCheck2 = __webpack_require__(136);\n\t\n\tvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\t\n\tvar _createClass2 = __webpack_require__(137);\n\t\n\tvar _createClass3 = _interopRequireDefault(_createClass2);\n\t\n\tvar _lodash = __webpack_require__(7);\n\t\n\tvar _lodash2 = _interopRequireDefault(_lodash);\n\t\n\tvar _jquery = __webpack_require__(17);\n\t\n\tvar _jquery2 = _interopRequireDefault(_jquery);\n\t\n\tvar _jsYaml = __webpack_require__(18);\n\t\n\tvar _jsYaml2 = _interopRequireDefault(_jsYaml);\n\t\n\tvar _moment = __webpack_require__(1);\n\t\n\tvar _moment2 = _interopRequireDefault(_moment);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar _state_info = [['Accepted', 'AC', 18, 90, 'green'], ['Presentation Error', 'PE', 17, 80, 'olive'], ['Wrong Answer', 'WA', 16, 70, 'red'], ['Compilation Error', 'CE', 10, 30, 'yellow'], ['Runtime Error', 'RE', 12, 40, 'teal'], ['Time Limit Exceeded', 'TLE', 14, 50, 'blue'], ['Output Limit Exceeded', 'OLE', 13, 45, 'purple'], ['Memory Limit Exceeded', 'MLE', 15, 60, 'violet'], ['Restricted Function', 'RF', 11, 35, 'pink'], ['Submission Error', 'SE', 7, 10, 'black'], ['Can\\'t be Judged', 'NJ', 8, 15, 'brown'], ['In Queue', 'InQ', 9, 20, 'gray']];\n\tvar _rev_verdict = _lodash2.default.keyBy(_state_info, function (info) {\n\t return info[3];\n\t});\n\tvar _lang_list = [undefined, 'ANSI C', 'Java', 'C++', 'Pascal', 'C++11'];\n\t\n\tvar Submission = function () {\n\t function Submission(sub) {\n\t (0, _classCallCheck3.default)(this, Submission);\n\t\n\t this.data = sub;\n\t this.info = _rev_verdict[this.getVer()] || [];\n\t }\n\t\n\t (0, _createClass3.default)(Submission, [{\n\t key: 'getData',\n\t value: function getData() {\n\t return this.data;\n\t }\n\t }, {\n\t key: 'getId',\n\t value: function getId() {\n\t return this.data[0];\n\t }\n\t }, {\n\t key: 'getProbId',\n\t value: function getProbId() {\n\t return this.data[1];\n\t }\n\t }, {\n\t key: 'getVer',\n\t value: function getVer() {\n\t return this.data[2];\n\t }\n\t }, {\n\t key: 'getRuntime',\n\t value: function getRuntime() {\n\t return this.data[3];\n\t }\n\t }, {\n\t key: 'getTime',\n\t value: function getTime() {\n\t return _moment2.default.unix(this.data[4]);\n\t }\n\t }, {\n\t key: 'getLang',\n\t value: function getLang() {\n\t return _lang_list[this.data[5]] || 'unknown';\n\t }\n\t }, {\n\t key: 'getRank',\n\t value: function getRank() {\n\t return this.data[6];\n\t }\n\t }, {\n\t key: 'getFullStatus',\n\t value: function getFullStatus() {\n\t return this.info[0] || 'unknown';\n\t }\n\t }, {\n\t key: 'getStatus',\n\t value: function getStatus() {\n\t return this.info[1] || 'unknown';\n\t }\n\t }, {\n\t key: 'getColor',\n\t value: function getColor() {\n\t return this.info[4] || 'basic';\n\t }\n\t }]);\n\t return Submission;\n\t}();\n\t\n\tvar noneSub = new Submission(Array(6));\n\t\n\tvar Problem = function () {\n\t function Problem(id, prob) {\n\t (0, _classCallCheck3.default)(this, Problem);\n\t\n\t this.id = id;\n\t this.prob = prob;\n\t this.info = [];\n\t }\n\t\n\t (0, _createClass3.default)(Problem, [{\n\t key: 'registerSubmissions',\n\t value: function registerSubmissions(subs) {\n\t this.subs = subs;\n\t\n\t var compare = _lodash2.default.countBy(subs, function (sub) {\n\t return sub.getVer();\n\t });\n\t this.info = _lodash2.default.chain(_state_info).find(function (state) {\n\t return compare[state[3]];\n\t }).value();\n\t return this;\n\t }\n\t }, {\n\t key: 'getData',\n\t value: function getData() {\n\t return this.prob;\n\t }\n\t }, {\n\t key: 'getId',\n\t value: function getId() {\n\t return this.prob[0];\n\t }\n\t }, {\n\t key: 'getNum',\n\t value: function getNum() {\n\t return this.prob[1];\n\t }\n\t }, {\n\t key: 'getHeader',\n\t value: function getHeader() {\n\t return this.prob[2];\n\t }\n\t }, {\n\t key: 'getIdNum',\n\t value: function getIdNum() {\n\t return this.prob.slice(0, 2);\n\t }\n\t }, {\n\t key: 'getSubs',\n\t value: function getSubs() {\n\t return this.subs;\n\t }\n\t }, {\n\t key: 'getSubsProbId',\n\t value: function getSubsProbId() {\n\t return _lodash2.default.map(this.subs, function (sub) {\n\t return sub.getProbId();\n\t });\n\t }\n\t }, {\n\t key: 'getSubsVer',\n\t value: function getSubsVer() {\n\t return _lodash2.default.map(this.subs, function (sub) {\n\t return sub.getVer();\n\t });\n\t }\n\t }, {\n\t key: 'getColor',\n\t value: function getColor() {\n\t return this.info[4] || 'basic';\n\t }\n\t }, {\n\t key: 'getTrans',\n\t value: function getTrans() {\n\t return this.trans || [];\n\t }\n\t }, {\n\t key: 'getStats',\n\t value: function getStats() {\n\t var p = this;\n\t return _state_info.map(function (stat) {\n\t return {\n\t label: stat[1],\n\t color: stat[4],\n\t count: p.prob[stat[2]]\n\t };\n\t });\n\t }\n\t }]);\n\t return Problem;\n\t}();\n\t\n\tvar _domain = 'http://uhunt.felix-halim.net/api';\n\tvar endpoint = function endpoint(ep) {\n\t return _jquery2.default.getJSON(_domain + ep);\n\t};\n\t\n\tvar _getYaml = function _getYaml(path_to_file) {\n\t return _jquery2.default.get(path_to_file).then(function (data) {\n\t return _jsYaml2.default.load(data);\n\t });\n\t};\n\t\n\tmodule.exports = {\n\t uva: endpoint,\n\t getYaml: _getYaml,\n\t Submission: Submission,\n\t Problem: Problem\n\t};\n\n/***/ },\n\n/***/ 130:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _lodash = __webpack_require__(7);\n\t\n\tvar _lodash2 = _interopRequireDefault(_lodash);\n\t\n\tvar _jquery = __webpack_require__(17);\n\t\n\tvar _jquery2 = _interopRequireDefault(_jquery);\n\t\n\tvar _jsYaml = __webpack_require__(18);\n\t\n\tvar _jsYaml2 = _interopRequireDefault(_jsYaml);\n\t\n\tvar _uhunt = __webpack_require__(10);\n\t\n\tvar _uhunt2 = _interopRequireDefault(_uhunt);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\twindow._ = _lodash2.default;\n\twindow.$ = window.jQuery = _jquery2.default;\n\t\n\twindow.uhunt = _uhunt2.default;\n\twindow.yaml = _jsYaml2.default;\n\t\n\t__webpack_require__(153);\n\t__webpack_require__(177);\n\t\n\texports.default = {\n\t name: 'app',\n\t data: function data() {\n\t return {\n\t username: undefined,\n\t userid: 0,\n\t user: {\n\t subs: []\n\t },\n\t asset: {\n\t problem: [],\n\t submission: [],\n\t translate: {}\n\t }\n\t };\n\t },\n\t created: function created() {\n\t var app = this;\n\t var _uva_data = '/static/uva.data';\n\t\n\t if (localStorage.username !== 'undefined') app.username = localStorage.username;\n\t\n\t _uhunt2.default.uva('/p').then(function (data) {\n\t app.asset.problem = data;\n\t });\n\t\n\t _uhunt2.default.getYaml(_uva_data + '/translate/translate.yml').then(function (data) {\n\t app.asset.translate = data;\n\t });\n\t },\n\t\n\t computed: {\n\t store: function store() {\n\t var app = this;\n\t var asset = app.asset;\n\t\n\t var data = _lodash2.default.map(asset.problem, function (data, i) {\n\t return new _uhunt2.default.Problem(i, data);\n\t });\n\t\n\t data = _lodash2.default.chain(data).keyBy(function (prob) {\n\t return prob.getId();\n\t }).mergeWith(_lodash2.default.chain(asset.submission).map(function (data) {\n\t return new _uhunt2.default.Submission(data);\n\t }).groupBy(function (sub) {\n\t return sub.getProbId();\n\t }).mapValues(function (subs) {\n\t return subs.sort(function (a, b) {\n\t return b.getId() - a.getId();\n\t });\n\t }).value(), function (target, source) {\n\t return target.registerSubmissions(source);\n\t }).values().value();\n\t\n\t data = _lodash2.default.chain(data).keyBy(function (prob) {\n\t return prob.getNum();\n\t }).mergeWith(_lodash2.default.chain(asset.translate).flatMap(function (judge, key) {\n\t return _lodash2.default.map(judge.trans, function (link, i) {\n\t return {\n\t num: _lodash2.default.isArray(judge.trans) ? link : i,\n\t type: key,\n\t link: judge.site + link\n\t };\n\t });\n\t }).groupBy(function (trans) {\n\t return trans.num;\n\t }).value(), function (target, source) {\n\t return _lodash2.default.assign(target, { trans: source });\n\t }).values().value();\n\t window.console.log(data);\n\t\n\t var _uidnum = _lodash2.default.chain(data).map(function (it) {\n\t return it.getIdNum();\n\t });\n\t var category = {\n\t id: _lodash2.default.keyBy(data, function (it) {\n\t return it.getId();\n\t }),\n\t num: _lodash2.default.keyBy(data, function (it) {\n\t return it.getNum();\n\t }),\n\t volume: _lodash2.default.groupBy(data, function (it) {\n\t return Math.floor(it.getNum() / 100);\n\t }),\n\t id2num: _uidnum.fromPairs().value(),\n\t num2id: _uidnum.reverse().fromPairs().value()\n\t };\n\t return {\n\t data: data,\n\t category: category\n\t };\n\t }\n\t },\n\t watch: {\n\t username: function username(newUsername) {\n\t var app = this;\n\t if (typeof newUsername === 'undefined') {\n\t app.userid = 0;\n\t return;\n\t }\n\t _uhunt2.default.uva('/uname2uid/' + app.username).then(function (id) {\n\t app.userid = id;\n\t });\n\t },\n\t userid: function userid(newUserid) {\n\t if (newUserid === 0) return;\n\t var app = this;\n\t _uhunt2.default.uva('/subs-user/' + app.userid).then(function (data) {\n\t app.user = data;\n\t app.asset.submission = data.subs;\n\t });\n\t }\n\t }\n\t};\n\n/***/ },\n\n/***/ 131:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _lodash = __webpack_require__(7);\n\t\n\tvar _lodash2 = _interopRequireDefault(_lodash);\n\t\n\tvar _ProbDot = __webpack_require__(180);\n\t\n\tvar _ProbDot2 = _interopRequireDefault(_ProbDot);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = {\n\t name: 'index',\n\t props: ['store'],\n\t components: {\n\t ProbDot: _ProbDot2.default\n\t },\n\t computed: {\n\t volumes: function volumes() {\n\t return this.store.category.volume;\n\t }\n\t }\n\t};\n\n/***/ },\n\n/***/ 132:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _lodash = __webpack_require__(7);\n\t\n\tvar _lodash2 = _interopRequireDefault(_lodash);\n\t\n\tvar _uhunt = __webpack_require__(10);\n\t\n\tvar _uhunt2 = _interopRequireDefault(_uhunt);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = {\n\t name: 'prob-dot',\n\t props: ['item'],\n\t computed: {\n\t probNum: function probNum() {\n\t return _lodash2.default.padStart(this.item.getNum() % 100, 2, '0');\n\t }\n\t }\n\t};\n\n/***/ },\n\n/***/ 133:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _lodash = __webpack_require__(7);\n\t\n\tvar _lodash2 = _interopRequireDefault(_lodash);\n\t\n\tvar _moment = __webpack_require__(1);\n\t\n\tvar _moment2 = _interopRequireDefault(_moment);\n\t\n\tvar _uhunt = __webpack_require__(10);\n\t\n\tvar _uhunt2 = _interopRequireDefault(_uhunt);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = {\n\t name: 'prob-name',\n\t props: ['store', 'userid'],\n\t data: function data() {\n\t return {\n\t setting: _uhunt2.default\n\t };\n\t },\n\t\n\t computed: {\n\t problem: function problem() {\n\t var app = this;\n\t return app.store.category.num[app.$route.params.num];\n\t },\n\t subs: function subs() {\n\t var app = this;\n\t var id = app.problem.getId();\n\t return _lodash2.default.chain(app.problem.getSubs()).map(function (sub) {\n\t return {\n\t status: sub.getStatus(),\n\t color: sub.getColor(),\n\t rank: sub.getRank(),\n\t others: [['hourglass full', sub.getRuntime() + ' ms'], ['code', sub.getLang()], ['time', sub.getTime().format('YYYY/MM/DD HH:mm:ss')]]\n\t };\n\t }).value();\n\t },\n\t stats: function stats() {\n\t var app = this;\n\t return app.problem.getStats();\n\t },\n\t trans: function trans() {\n\t var app = this;\n\t return app.problem.getTrans();\n\t }\n\t }\n\t};\n\n/***/ },\n\n/***/ 134:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _Index = __webpack_require__(179);\n\t\n\tvar _Index2 = _interopRequireDefault(_Index);\n\t\n\tvar _ProbPage = __webpack_require__(181);\n\t\n\tvar _ProbPage2 = _interopRequireDefault(_ProbPage);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tmodule.exports = [{ path: '/', component: _Index2.default }, { path: '/problem/:num', component: _ProbPage2.default }];\n\n/***/ },\n\n/***/ 153:\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n\n/***/ 154:\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n\n/***/ 176:\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar map = {\n\t\t\"./af\": 21,\n\t\t\"./af.js\": 21,\n\t\t\"./ar\": 27,\n\t\t\"./ar-dz\": 22,\n\t\t\"./ar-dz.js\": 22,\n\t\t\"./ar-ly\": 23,\n\t\t\"./ar-ly.js\": 23,\n\t\t\"./ar-ma\": 24,\n\t\t\"./ar-ma.js\": 24,\n\t\t\"./ar-sa\": 25,\n\t\t\"./ar-sa.js\": 25,\n\t\t\"./ar-tn\": 26,\n\t\t\"./ar-tn.js\": 26,\n\t\t\"./ar.js\": 27,\n\t\t\"./az\": 28,\n\t\t\"./az.js\": 28,\n\t\t\"./be\": 29,\n\t\t\"./be.js\": 29,\n\t\t\"./bg\": 30,\n\t\t\"./bg.js\": 30,\n\t\t\"./bn\": 31,\n\t\t\"./bn.js\": 31,\n\t\t\"./bo\": 32,\n\t\t\"./bo.js\": 32,\n\t\t\"./br\": 33,\n\t\t\"./br.js\": 33,\n\t\t\"./bs\": 34,\n\t\t\"./bs.js\": 34,\n\t\t\"./ca\": 35,\n\t\t\"./ca.js\": 35,\n\t\t\"./cs\": 36,\n\t\t\"./cs.js\": 36,\n\t\t\"./cv\": 37,\n\t\t\"./cv.js\": 37,\n\t\t\"./cy\": 38,\n\t\t\"./cy.js\": 38,\n\t\t\"./da\": 39,\n\t\t\"./da.js\": 39,\n\t\t\"./de\": 41,\n\t\t\"./de-at\": 40,\n\t\t\"./de-at.js\": 40,\n\t\t\"./de.js\": 41,\n\t\t\"./dv\": 42,\n\t\t\"./dv.js\": 42,\n\t\t\"./el\": 43,\n\t\t\"./el.js\": 43,\n\t\t\"./en-au\": 44,\n\t\t\"./en-au.js\": 44,\n\t\t\"./en-ca\": 45,\n\t\t\"./en-ca.js\": 45,\n\t\t\"./en-gb\": 46,\n\t\t\"./en-gb.js\": 46,\n\t\t\"./en-ie\": 47,\n\t\t\"./en-ie.js\": 47,\n\t\t\"./en-nz\": 48,\n\t\t\"./en-nz.js\": 48,\n\t\t\"./eo\": 49,\n\t\t\"./eo.js\": 49,\n\t\t\"./es\": 51,\n\t\t\"./es-do\": 50,\n\t\t\"./es-do.js\": 50,\n\t\t\"./es.js\": 51,\n\t\t\"./et\": 52,\n\t\t\"./et.js\": 52,\n\t\t\"./eu\": 53,\n\t\t\"./eu.js\": 53,\n\t\t\"./fa\": 54,\n\t\t\"./fa.js\": 54,\n\t\t\"./fi\": 55,\n\t\t\"./fi.js\": 55,\n\t\t\"./fo\": 56,\n\t\t\"./fo.js\": 56,\n\t\t\"./fr\": 59,\n\t\t\"./fr-ca\": 57,\n\t\t\"./fr-ca.js\": 57,\n\t\t\"./fr-ch\": 58,\n\t\t\"./fr-ch.js\": 58,\n\t\t\"./fr.js\": 59,\n\t\t\"./fy\": 60,\n\t\t\"./fy.js\": 60,\n\t\t\"./gd\": 61,\n\t\t\"./gd.js\": 61,\n\t\t\"./gl\": 62,\n\t\t\"./gl.js\": 62,\n\t\t\"./he\": 63,\n\t\t\"./he.js\": 63,\n\t\t\"./hi\": 64,\n\t\t\"./hi.js\": 64,\n\t\t\"./hr\": 65,\n\t\t\"./hr.js\": 65,\n\t\t\"./hu\": 66,\n\t\t\"./hu.js\": 66,\n\t\t\"./hy-am\": 67,\n\t\t\"./hy-am.js\": 67,\n\t\t\"./id\": 68,\n\t\t\"./id.js\": 68,\n\t\t\"./is\": 69,\n\t\t\"./is.js\": 69,\n\t\t\"./it\": 70,\n\t\t\"./it.js\": 70,\n\t\t\"./ja\": 71,\n\t\t\"./ja.js\": 71,\n\t\t\"./jv\": 72,\n\t\t\"./jv.js\": 72,\n\t\t\"./ka\": 73,\n\t\t\"./ka.js\": 73,\n\t\t\"./kk\": 74,\n\t\t\"./kk.js\": 74,\n\t\t\"./km\": 75,\n\t\t\"./km.js\": 75,\n\t\t\"./ko\": 76,\n\t\t\"./ko.js\": 76,\n\t\t\"./ky\": 77,\n\t\t\"./ky.js\": 77,\n\t\t\"./lb\": 78,\n\t\t\"./lb.js\": 78,\n\t\t\"./lo\": 79,\n\t\t\"./lo.js\": 79,\n\t\t\"./lt\": 80,\n\t\t\"./lt.js\": 80,\n\t\t\"./lv\": 81,\n\t\t\"./lv.js\": 81,\n\t\t\"./me\": 82,\n\t\t\"./me.js\": 82,\n\t\t\"./mi\": 83,\n\t\t\"./mi.js\": 83,\n\t\t\"./mk\": 84,\n\t\t\"./mk.js\": 84,\n\t\t\"./ml\": 85,\n\t\t\"./ml.js\": 85,\n\t\t\"./mr\": 86,\n\t\t\"./mr.js\": 86,\n\t\t\"./ms\": 88,\n\t\t\"./ms-my\": 87,\n\t\t\"./ms-my.js\": 87,\n\t\t\"./ms.js\": 88,\n\t\t\"./my\": 89,\n\t\t\"./my.js\": 89,\n\t\t\"./nb\": 90,\n\t\t\"./nb.js\": 90,\n\t\t\"./ne\": 91,\n\t\t\"./ne.js\": 91,\n\t\t\"./nl\": 93,\n\t\t\"./nl-be\": 92,\n\t\t\"./nl-be.js\": 92,\n\t\t\"./nl.js\": 93,\n\t\t\"./nn\": 94,\n\t\t\"./nn.js\": 94,\n\t\t\"./pa-in\": 95,\n\t\t\"./pa-in.js\": 95,\n\t\t\"./pl\": 96,\n\t\t\"./pl.js\": 96,\n\t\t\"./pt\": 98,\n\t\t\"./pt-br\": 97,\n\t\t\"./pt-br.js\": 97,\n\t\t\"./pt.js\": 98,\n\t\t\"./ro\": 99,\n\t\t\"./ro.js\": 99,\n\t\t\"./ru\": 100,\n\t\t\"./ru.js\": 100,\n\t\t\"./se\": 101,\n\t\t\"./se.js\": 101,\n\t\t\"./si\": 102,\n\t\t\"./si.js\": 102,\n\t\t\"./sk\": 103,\n\t\t\"./sk.js\": 103,\n\t\t\"./sl\": 104,\n\t\t\"./sl.js\": 104,\n\t\t\"./sq\": 105,\n\t\t\"./sq.js\": 105,\n\t\t\"./sr\": 107,\n\t\t\"./sr-cyrl\": 106,\n\t\t\"./sr-cyrl.js\": 106,\n\t\t\"./sr.js\": 107,\n\t\t\"./ss\": 108,\n\t\t\"./ss.js\": 108,\n\t\t\"./sv\": 109,\n\t\t\"./sv.js\": 109,\n\t\t\"./sw\": 110,\n\t\t\"./sw.js\": 110,\n\t\t\"./ta\": 111,\n\t\t\"./ta.js\": 111,\n\t\t\"./te\": 112,\n\t\t\"./te.js\": 112,\n\t\t\"./tet\": 113,\n\t\t\"./tet.js\": 113,\n\t\t\"./th\": 114,\n\t\t\"./th.js\": 114,\n\t\t\"./tl-ph\": 115,\n\t\t\"./tl-ph.js\": 115,\n\t\t\"./tlh\": 116,\n\t\t\"./tlh.js\": 116,\n\t\t\"./tr\": 117,\n\t\t\"./tr.js\": 117,\n\t\t\"./tzl\": 118,\n\t\t\"./tzl.js\": 118,\n\t\t\"./tzm\": 120,\n\t\t\"./tzm-latn\": 119,\n\t\t\"./tzm-latn.js\": 119,\n\t\t\"./tzm.js\": 120,\n\t\t\"./uk\": 121,\n\t\t\"./uk.js\": 121,\n\t\t\"./uz\": 122,\n\t\t\"./uz.js\": 122,\n\t\t\"./vi\": 123,\n\t\t\"./vi.js\": 123,\n\t\t\"./x-pseudo\": 124,\n\t\t\"./x-pseudo.js\": 124,\n\t\t\"./yo\": 125,\n\t\t\"./yo.js\": 125,\n\t\t\"./zh-cn\": 126,\n\t\t\"./zh-cn.js\": 126,\n\t\t\"./zh-hk\": 127,\n\t\t\"./zh-hk.js\": 127,\n\t\t\"./zh-tw\": 128,\n\t\t\"./zh-tw.js\": 128\n\t};\n\tfunction webpackContext(req) {\n\t\treturn __webpack_require__(webpackContextResolve(req));\n\t};\n\tfunction webpackContextResolve(req) {\n\t\treturn map[req] || (function() { throw new Error(\"Cannot find module '\" + req + \"'.\") }());\n\t};\n\twebpackContext.keys = function webpackContextKeys() {\n\t\treturn Object.keys(map);\n\t};\n\twebpackContext.resolve = webpackContextResolve;\n\tmodule.exports = webpackContext;\n\twebpackContext.id = 176;\n\n\n/***/ },\n\n/***/ 178:\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __vue_exports__, __vue_options__\n\tvar __vue_styles__ = {}\n\t\n\t/* styles */\n\t__webpack_require__(154)\n\t\n\t/* script */\n\t__vue_exports__ = __webpack_require__(130)\n\t\n\t/* template */\n\tvar __vue_template__ = __webpack_require__(184)\n\t__vue_options__ = __vue_exports__ = __vue_exports__ || {}\n\tif (\n\t typeof __vue_exports__.default === \"object\" ||\n\t typeof __vue_exports__.default === \"function\"\n\t) {\n\t__vue_options__ = __vue_exports__ = __vue_exports__.default\n\t}\n\tif (typeof __vue_options__ === \"function\") {\n\t __vue_options__ = __vue_options__.options\n\t}\n\t\n\t__vue_options__.render = __vue_template__.render\n\t__vue_options__.staticRenderFns = __vue_template__.staticRenderFns\n\t\n\tmodule.exports = __vue_exports__\n\n\n/***/ },\n\n/***/ 179:\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __vue_exports__, __vue_options__\n\tvar __vue_styles__ = {}\n\t\n\t/* script */\n\t__vue_exports__ = __webpack_require__(131)\n\t\n\t/* template */\n\tvar __vue_template__ = __webpack_require__(183)\n\t__vue_options__ = __vue_exports__ = __vue_exports__ || {}\n\tif (\n\t typeof __vue_exports__.default === \"object\" ||\n\t typeof __vue_exports__.default === \"function\"\n\t) {\n\t__vue_options__ = __vue_exports__ = __vue_exports__.default\n\t}\n\tif (typeof __vue_options__ === \"function\") {\n\t __vue_options__ = __vue_options__.options\n\t}\n\t\n\t__vue_options__.render = __vue_template__.render\n\t__vue_options__.staticRenderFns = __vue_template__.staticRenderFns\n\t\n\tmodule.exports = __vue_exports__\n\n\n/***/ },\n\n/***/ 180:\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __vue_exports__, __vue_options__\n\tvar __vue_styles__ = {}\n\t\n\t/* script */\n\t__vue_exports__ = __webpack_require__(132)\n\t\n\t/* template */\n\tvar __vue_template__ = __webpack_require__(182)\n\t__vue_options__ = __vue_exports__ = __vue_exports__ || {}\n\tif (\n\t typeof __vue_exports__.default === \"object\" ||\n\t typeof __vue_exports__.default === \"function\"\n\t) {\n\t__vue_options__ = __vue_exports__ = __vue_exports__.default\n\t}\n\tif (typeof __vue_options__ === \"function\") {\n\t __vue_options__ = __vue_options__.options\n\t}\n\t\n\t__vue_options__.render = __vue_template__.render\n\t__vue_options__.staticRenderFns = __vue_template__.staticRenderFns\n\t\n\tmodule.exports = __vue_exports__\n\n\n/***/ },\n\n/***/ 181:\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __vue_exports__, __vue_options__\n\tvar __vue_styles__ = {}\n\t\n\t/* script */\n\t__vue_exports__ = __webpack_require__(133)\n\t\n\t/* template */\n\tvar __vue_template__ = __webpack_require__(185)\n\t__vue_options__ = __vue_exports__ = __vue_exports__ || {}\n\tif (\n\t typeof __vue_exports__.default === \"object\" ||\n\t typeof __vue_exports__.default === \"function\"\n\t) {\n\t__vue_options__ = __vue_exports__ = __vue_exports__.default\n\t}\n\tif (typeof __vue_options__ === \"function\") {\n\t __vue_options__ = __vue_options__.options\n\t}\n\t\n\t__vue_options__.render = __vue_template__.render\n\t__vue_options__.staticRenderFns = __vue_template__.staticRenderFns\n\t\n\tmodule.exports = __vue_exports__\n\n\n/***/ },\n\n/***/ 182:\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._c;\n\t return _c('router-link', {\n\t class: (\"ui \" + (_vm.item.getColor()) + \" label\"),\n\t attrs: {\n\t \"to\": (\"/problem/\" + (_vm.item.getNum())),\n\t \"id\": \"probdot\"\n\t }\n\t }, [(_vm.item.getTrans().length > 0) ? _c('i', {\n\t staticClass: \"coffee icon\"\n\t }) : _vm._e(), _vm._v(_vm._s(_vm.probNum) + \"\\r\\n\")])\n\t},staticRenderFns: []}\n\n/***/ },\n\n/***/ 183:\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._c;\n\t return _c('section', {\n\t staticClass: \"ui stackable doubling two column grid\",\n\t attrs: {\n\t \"id\": \"index\"\n\t }\n\t }, _vm._l((_vm.volumes), function(items, vol) {\n\t return _c('article', {\n\t staticClass: \"column\"\n\t }, [_c('h2', {\n\t staticClass: \"ui top attached header\"\n\t }, [_vm._v(\"Volume \" + _vm._s(vol))]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"ui bottom attached segment circular labels\"\n\t }, _vm._l((items), function(item) {\n\t return _c('prob-dot', {\n\t attrs: {\n\t \"item\": item\n\t }\n\t })\n\t }))])\n\t }))\n\t},staticRenderFns: []}\n\n/***/ },\n\n/***/ 184:\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._c;\n\t return _c('div', {\n\t staticClass: \"ui centered grid\",\n\t attrs: {\n\t \"id\": \"app\"\n\t }\n\t }, [_c('nav', {\n\t staticClass: \"ui top fixed labeled icon menu\"\n\t }, [_c('router-link', {\n\t staticClass: \"item\",\n\t attrs: {\n\t \"to\": \"/\"\n\t }\n\t }, [_c('i', {\n\t staticClass: \"home icon\"\n\t }), _vm._v(\"\\n 主頁\\n \")]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"right menu\"\n\t }, [_c('div', {\n\t staticClass: \"item\"\n\t }, [_c('div', {\n\t staticClass: \"ui transparent icon input\"\n\t }, [_c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.username),\n\t expression: \"username\"\n\t }],\n\t attrs: {\n\t \"type\": \"text\"\n\t },\n\t domProps: {\n\t \"value\": _vm._s(_vm.username)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.username = $event.target.value\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('i', {\n\t staticClass: \"user icon\"\n\t })])])])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"fourteen wide column\",\n\t attrs: {\n\t \"id\": \"content\"\n\t }\n\t }, [_c('router-view', {\n\t attrs: {\n\t \"store\": _vm.store,\n\t \"userid\": _vm.userid\n\t }\n\t })])])\n\t},staticRenderFns: []}\n\n/***/ },\n\n/***/ 185:\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._c;\n\t return _c('section', {\n\t attrs: {\n\t \"id\": \"probpage\"\n\t }\n\t }, [_c('header', {\n\t staticClass: \"ui huge header\"\n\t }, [_c('div', {\n\t staticClass: \"content\"\n\t }, [_vm._v(\"\\r\\n UVa \" + _vm._s(_vm.$route.params.num) + \"\\r\\n \"), (_vm.problem) ? _c('div', {\n\t staticClass: \"sub header\"\n\t }, [_vm._v(_vm._s(_vm.problem.getHeader()))]) : _vm._e()])]), _vm._v(\" \"), (_vm.trans.length > 0) ? _c('h3', {\n\t staticClass: \"ui header\"\n\t }, [_c('i', {\n\t staticClass: \"coffee icon\"\n\t }), _vm._v(\" \"), _vm._m(0)]) : _vm._e(), _vm._v(\" \"), (_vm.trans.length > 0) ? _c('article', _vm._l((_vm.trans), function(tran) {\n\t return _c('a', {\n\t staticClass: \"ui primary button\",\n\t attrs: {\n\t \"target\": \"_blank\",\n\t \"href\": tran.link\n\t }\n\t }, [_vm._v(_vm._s(tran.type))])\n\t })) : _vm._e(), _vm._v(\" \"), (_vm.userid) ? _c('h3', {\n\t staticClass: \"ui header\"\n\t }, [_c('i', {\n\t staticClass: \"user icon\"\n\t }), _vm._v(\" \"), _vm._m(1)]) : _vm._e(), _vm._v(\" \"), (_vm.userid) ? _c('article', [(_vm.subs.length > 0) ? _c('div', {\n\t staticClass: \"ui stackable doubling six column grid\"\n\t }, _vm._l((_vm.subs), function(sub) {\n\t return _c('div', {\n\t staticClass: \"column\"\n\t }, [_c('section', {\n\t staticClass: \"ui segment\"\n\t }, [_c('div', {\n\t class: (\"ui \" + (sub.color) + \" statistic\")\n\t }, [_c('div', {\n\t staticClass: \"value\"\n\t }, [_vm._v(_vm._s(sub.status))])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"ui list\"\n\t }, [(sub.rank > 0) ? _c('div', {\n\t staticClass: \"item\"\n\t }, [_c('i', {\n\t staticClass: \"star icon\"\n\t }), _vm._v(\" \"), _c('div', {\n\t staticClass: \"content\"\n\t }, [_vm._v(_vm._s(sub.rank))])]) : _vm._e(), _vm._v(\" \"), _vm._l((sub.others), function(other) {\n\t return _c('div', {\n\t staticClass: \"item\"\n\t }, [_c('i', {\n\t class: ((other[0]) + \" icon\")\n\t }), _vm._v(\" \"), _c('div', {\n\t staticClass: \"content\"\n\t }, [_vm._v(_vm._s(other[1]))])])\n\t })], true)])])\n\t })) : _c('div', [_c('div', {\n\t staticClass: \"column\"\n\t }, [_vm._v(\"沒有上傳紀錄。\")])]), _vm._v(\" \")]) : _vm._e(), _vm._v(\" \"), _vm._m(2), _vm._v(\" \"), (_vm.problem) ? _c('article', {\n\t staticClass: \"ui statistics\"\n\t }, _vm._l((_vm.stats), function(stat) {\n\t return _c('div', {\n\t class: ((stat.color) + \" statistic\")\n\t }, [_c('div', {\n\t staticClass: \"value\"\n\t }, [_vm._v(_vm._s(stat.count))]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"label\"\n\t }, [_vm._v(_vm._s(stat.label))])])\n\t })) : _vm._e()])\n\t},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._c;\n\t return _c('div', {\n\t staticClass: \"content\"\n\t }, [_vm._v(\"\\r\\n 翻譯\\r\\n \"), _c('div', {\n\t staticClass: \"sub header\"\n\t }, [_vm._v(\"Translates\")])])\n\t},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._c;\n\t return _c('div', {\n\t staticClass: \"content\"\n\t }, [_vm._v(\"\\r\\n 使用者狀態\\r\\n \"), _c('div', {\n\t staticClass: \"sub header\"\n\t }, [_vm._v(\"User Status\")])])\n\t},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._c;\n\t return _c('h3', {\n\t staticClass: \"ui header\"\n\t }, [_c('i', {\n\t staticClass: \"bar chart icon\"\n\t }), _vm._v(\" \"), _c('div', {\n\t staticClass: \"content\"\n\t }, [_vm._v(\"\\r\\n 統計\"), _c('div', {\n\t staticClass: \"sub header\"\n\t }, [_vm._v(\"Statistics\")])])])\n\t}]}\n\n/***/ }\n\n});\n\n\n// WEBPACK FOOTER //\n// static/js/app.5c1c4ea46cbcf8326086.js","// The Vue build version to load with the `import` command\r\n// (runtime-only or standalone) has been set in webpack.base.conf with an alias.\r\nimport Vue from 'vue'\r\nimport VueRouter from 'vue-router'\r\nimport App from './App'\r\n\r\nVue.use(VueRouter)\r\n\r\nconst routes = require('./routes')\r\n\r\nconst router = new VueRouter({\r\n routes\r\n})\r\n\r\nconst app = new Vue({\r\n router,\r\n template: '',\r\n components: { App }\r\n}).$mount('#app')\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/main.js","import _ from 'lodash'\r\nimport $ from 'jquery'\r\nimport yaml from 'js-yaml'\r\nimport moment from 'moment'\r\n\r\n/*\r\n [0] => state name\r\n [1] => brief state name\r\n [2] => position in problem API\r\n [3] => verdict ID\r\n [4] => color\r\n*/\r\nconst _state_info = [\r\n ['Accepted', 'AC', 18, 90, 'green'],\r\n ['Presentation Error', 'PE', 17, 80, 'olive'],\r\n ['Wrong Answer', 'WA', 16, 70, 'red'],\r\n ['Compilation Error', 'CE', 10, 30, 'yellow'],\r\n ['Runtime Error', 'RE', 12, 40, 'teal'],\r\n ['Time Limit Exceeded', 'TLE', 14, 50, 'blue'],\r\n ['Output Limit Exceeded', 'OLE', 13, 45, 'purple'],\r\n ['Memory Limit Exceeded', 'MLE', 15, 60, 'violet'],\r\n ['Restricted Function', 'RF', 11, 35, 'pink'],\r\n ['Submission Error', 'SE', 7, 10, 'black'],\r\n ['Can\\'t be Judged', 'NJ', 8, 15, 'brown'],\r\n ['In Queue', 'InQ', 9, 20, 'gray']\r\n]\r\nconst _rev_verdict = _.keyBy(_state_info, info => info[3])\r\nconst _lang_list = [undefined, 'ANSI C', 'Java', 'C++', 'Pascal', 'C++11']\r\n\r\nclass Submission {\r\n constructor(sub) {\r\n this.data = sub\r\n this.info = _rev_verdict[this.getVer()] || []\r\n }\r\n getData() { return this.data }\r\n getId() { return this.data[0] }\r\n getProbId() { return this.data[1] }\r\n getVer() { return this.data[2] }\r\n getRuntime() { return this.data[3] }\r\n getTime() { return moment.unix(this.data[4]) }\r\n getLang() { return _lang_list[this.data[5]] || 'unknown' }\r\n getRank() { return this.data[6] }\r\n getFullStatus() { return this.info[0] || 'unknown' }\r\n getStatus() { return this.info[1] || 'unknown' }\r\n getColor() { return this.info[4] || 'basic' }\r\n}\r\n\r\nconst noneSub = new Submission(Array(6))\r\n\r\nclass Problem {\r\n constructor(id, prob) {\r\n this.id = id\r\n this.prob = prob\r\n this.info = []\r\n }\r\n registerSubmissions(subs) {\r\n this.subs = subs\r\n // find first state that # of submission is NOT zero\r\n const compare = _.countBy(subs, sub => sub.getVer())\r\n this.info = _\r\n .chain(_state_info)\r\n .find(state => compare[ state[3] ])\r\n .value()\r\n return this\r\n }\r\n getData() { return this.prob }\r\n getId() { return this.prob[0] }\r\n getNum() { return this.prob[1] }\r\n getHeader() { return this.prob[2] }\r\n getIdNum() { return this.prob.slice(0, 2) }\r\n getSubs() { return this.subs }\r\n getSubsProbId() { return _.map(this.subs, sub => sub.getProbId()) }\r\n getSubsVer() { return _.map(this.subs, sub => sub.getVer()) }\r\n getColor() { return this.info[4] || 'basic' }\r\n getTrans() { return this.trans || [] }\r\n getStats() {\r\n const p = this\r\n return _state_info.map(stat => {\r\n return {\r\n label: stat[1],\r\n color: stat[4],\r\n count: p.prob[ stat[2] ]\r\n }\r\n })\r\n }\r\n}\r\n\r\nconst _domain = 'http://uhunt.felix-halim.net/api'\r\nconst endpoint = (ep) => $.getJSON(_domain + ep)\r\n\r\nconst _getYaml = path_to_file => $\r\n .get(path_to_file)\r\n .then(data => yaml.load(data))\r\n\r\nmodule.exports = {\r\n uva: endpoint,\r\n getYaml: _getYaml,\r\n Submission: Submission,\r\n Problem: Problem\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/scripts/uhunt.js","\r\n\r\n\r\n\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// App.vue?73b1efca","\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// Index.vue?dae9aec4","\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ProbDot.vue?9db4e112","\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ProbPage.vue?6d9f1648","import Index from './components/Index'\r\nimport ProbPage from './components/ProbPage'\r\n\r\nmodule.exports = [\r\n { path: '/', component: Index },\r\n { path: '/problem/:num', component: ProbPage }\r\n]\n\n\n// WEBPACK FOOTER //\n// ./src/routes.js","var map = {\n\t\"./af\": 21,\n\t\"./af.js\": 21,\n\t\"./ar\": 27,\n\t\"./ar-dz\": 22,\n\t\"./ar-dz.js\": 22,\n\t\"./ar-ly\": 23,\n\t\"./ar-ly.js\": 23,\n\t\"./ar-ma\": 24,\n\t\"./ar-ma.js\": 24,\n\t\"./ar-sa\": 25,\n\t\"./ar-sa.js\": 25,\n\t\"./ar-tn\": 26,\n\t\"./ar-tn.js\": 26,\n\t\"./ar.js\": 27,\n\t\"./az\": 28,\n\t\"./az.js\": 28,\n\t\"./be\": 29,\n\t\"./be.js\": 29,\n\t\"./bg\": 30,\n\t\"./bg.js\": 30,\n\t\"./bn\": 31,\n\t\"./bn.js\": 31,\n\t\"./bo\": 32,\n\t\"./bo.js\": 32,\n\t\"./br\": 33,\n\t\"./br.js\": 33,\n\t\"./bs\": 34,\n\t\"./bs.js\": 34,\n\t\"./ca\": 35,\n\t\"./ca.js\": 35,\n\t\"./cs\": 36,\n\t\"./cs.js\": 36,\n\t\"./cv\": 37,\n\t\"./cv.js\": 37,\n\t\"./cy\": 38,\n\t\"./cy.js\": 38,\n\t\"./da\": 39,\n\t\"./da.js\": 39,\n\t\"./de\": 41,\n\t\"./de-at\": 40,\n\t\"./de-at.js\": 40,\n\t\"./de.js\": 41,\n\t\"./dv\": 42,\n\t\"./dv.js\": 42,\n\t\"./el\": 43,\n\t\"./el.js\": 43,\n\t\"./en-au\": 44,\n\t\"./en-au.js\": 44,\n\t\"./en-ca\": 45,\n\t\"./en-ca.js\": 45,\n\t\"./en-gb\": 46,\n\t\"./en-gb.js\": 46,\n\t\"./en-ie\": 47,\n\t\"./en-ie.js\": 47,\n\t\"./en-nz\": 48,\n\t\"./en-nz.js\": 48,\n\t\"./eo\": 49,\n\t\"./eo.js\": 49,\n\t\"./es\": 51,\n\t\"./es-do\": 50,\n\t\"./es-do.js\": 50,\n\t\"./es.js\": 51,\n\t\"./et\": 52,\n\t\"./et.js\": 52,\n\t\"./eu\": 53,\n\t\"./eu.js\": 53,\n\t\"./fa\": 54,\n\t\"./fa.js\": 54,\n\t\"./fi\": 55,\n\t\"./fi.js\": 55,\n\t\"./fo\": 56,\n\t\"./fo.js\": 56,\n\t\"./fr\": 59,\n\t\"./fr-ca\": 57,\n\t\"./fr-ca.js\": 57,\n\t\"./fr-ch\": 58,\n\t\"./fr-ch.js\": 58,\n\t\"./fr.js\": 59,\n\t\"./fy\": 60,\n\t\"./fy.js\": 60,\n\t\"./gd\": 61,\n\t\"./gd.js\": 61,\n\t\"./gl\": 62,\n\t\"./gl.js\": 62,\n\t\"./he\": 63,\n\t\"./he.js\": 63,\n\t\"./hi\": 64,\n\t\"./hi.js\": 64,\n\t\"./hr\": 65,\n\t\"./hr.js\": 65,\n\t\"./hu\": 66,\n\t\"./hu.js\": 66,\n\t\"./hy-am\": 67,\n\t\"./hy-am.js\": 67,\n\t\"./id\": 68,\n\t\"./id.js\": 68,\n\t\"./is\": 69,\n\t\"./is.js\": 69,\n\t\"./it\": 70,\n\t\"./it.js\": 70,\n\t\"./ja\": 71,\n\t\"./ja.js\": 71,\n\t\"./jv\": 72,\n\t\"./jv.js\": 72,\n\t\"./ka\": 73,\n\t\"./ka.js\": 73,\n\t\"./kk\": 74,\n\t\"./kk.js\": 74,\n\t\"./km\": 75,\n\t\"./km.js\": 75,\n\t\"./ko\": 76,\n\t\"./ko.js\": 76,\n\t\"./ky\": 77,\n\t\"./ky.js\": 77,\n\t\"./lb\": 78,\n\t\"./lb.js\": 78,\n\t\"./lo\": 79,\n\t\"./lo.js\": 79,\n\t\"./lt\": 80,\n\t\"./lt.js\": 80,\n\t\"./lv\": 81,\n\t\"./lv.js\": 81,\n\t\"./me\": 82,\n\t\"./me.js\": 82,\n\t\"./mi\": 83,\n\t\"./mi.js\": 83,\n\t\"./mk\": 84,\n\t\"./mk.js\": 84,\n\t\"./ml\": 85,\n\t\"./ml.js\": 85,\n\t\"./mr\": 86,\n\t\"./mr.js\": 86,\n\t\"./ms\": 88,\n\t\"./ms-my\": 87,\n\t\"./ms-my.js\": 87,\n\t\"./ms.js\": 88,\n\t\"./my\": 89,\n\t\"./my.js\": 89,\n\t\"./nb\": 90,\n\t\"./nb.js\": 90,\n\t\"./ne\": 91,\n\t\"./ne.js\": 91,\n\t\"./nl\": 93,\n\t\"./nl-be\": 92,\n\t\"./nl-be.js\": 92,\n\t\"./nl.js\": 93,\n\t\"./nn\": 94,\n\t\"./nn.js\": 94,\n\t\"./pa-in\": 95,\n\t\"./pa-in.js\": 95,\n\t\"./pl\": 96,\n\t\"./pl.js\": 96,\n\t\"./pt\": 98,\n\t\"./pt-br\": 97,\n\t\"./pt-br.js\": 97,\n\t\"./pt.js\": 98,\n\t\"./ro\": 99,\n\t\"./ro.js\": 99,\n\t\"./ru\": 100,\n\t\"./ru.js\": 100,\n\t\"./se\": 101,\n\t\"./se.js\": 101,\n\t\"./si\": 102,\n\t\"./si.js\": 102,\n\t\"./sk\": 103,\n\t\"./sk.js\": 103,\n\t\"./sl\": 104,\n\t\"./sl.js\": 104,\n\t\"./sq\": 105,\n\t\"./sq.js\": 105,\n\t\"./sr\": 107,\n\t\"./sr-cyrl\": 106,\n\t\"./sr-cyrl.js\": 106,\n\t\"./sr.js\": 107,\n\t\"./ss\": 108,\n\t\"./ss.js\": 108,\n\t\"./sv\": 109,\n\t\"./sv.js\": 109,\n\t\"./sw\": 110,\n\t\"./sw.js\": 110,\n\t\"./ta\": 111,\n\t\"./ta.js\": 111,\n\t\"./te\": 112,\n\t\"./te.js\": 112,\n\t\"./tet\": 113,\n\t\"./tet.js\": 113,\n\t\"./th\": 114,\n\t\"./th.js\": 114,\n\t\"./tl-ph\": 115,\n\t\"./tl-ph.js\": 115,\n\t\"./tlh\": 116,\n\t\"./tlh.js\": 116,\n\t\"./tr\": 117,\n\t\"./tr.js\": 117,\n\t\"./tzl\": 118,\n\t\"./tzl.js\": 118,\n\t\"./tzm\": 120,\n\t\"./tzm-latn\": 119,\n\t\"./tzm-latn.js\": 119,\n\t\"./tzm.js\": 120,\n\t\"./uk\": 121,\n\t\"./uk.js\": 121,\n\t\"./uz\": 122,\n\t\"./uz.js\": 122,\n\t\"./vi\": 123,\n\t\"./vi.js\": 123,\n\t\"./x-pseudo\": 124,\n\t\"./x-pseudo.js\": 124,\n\t\"./yo\": 125,\n\t\"./yo.js\": 125,\n\t\"./zh-cn\": 126,\n\t\"./zh-cn.js\": 126,\n\t\"./zh-hk\": 127,\n\t\"./zh-hk.js\": 127,\n\t\"./zh-tw\": 128,\n\t\"./zh-tw.js\": 128\n};\nfunction webpackContext(req) {\n\treturn __webpack_require__(webpackContextResolve(req));\n};\nfunction webpackContextResolve(req) {\n\treturn map[req] || (function() { throw new Error(\"Cannot find module '\" + req + \"'.\") }());\n};\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 176;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/moment/locale ^\\.\\/.*$\n// module id = 176\n// module chunks = 2","var __vue_exports__, __vue_options__\nvar __vue_styles__ = {}\n\n/* styles */\nrequire(\"!!./../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!vue-loader/lib/style-rewriter?id=data-v-a7bf9bb0!vue-loader/lib/selector?type=styles&index=0!./App.vue\")\n\n/* script */\n__vue_exports__ = require(\"!!babel-loader!vue-loader/lib/selector?type=script&index=0!./App.vue\")\n\n/* template */\nvar __vue_template__ = require(\"!!vue-loader/lib/template-compiler?id=data-v-a7bf9bb0!vue-loader/lib/selector?type=template&index=0!./App.vue\")\n__vue_options__ = __vue_exports__ = __vue_exports__ || {}\nif (\n typeof __vue_exports__.default === \"object\" ||\n typeof __vue_exports__.default === \"function\"\n) {\n__vue_options__ = __vue_exports__ = __vue_exports__.default\n}\nif (typeof __vue_options__ === \"function\") {\n __vue_options__ = __vue_options__.options\n}\n\n__vue_options__.render = __vue_template__.render\n__vue_options__.staticRenderFns = __vue_template__.staticRenderFns\n\nmodule.exports = __vue_exports__\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/App.vue\n// module id = 178\n// module chunks = 2","var __vue_exports__, __vue_options__\nvar __vue_styles__ = {}\n\n/* script */\n__vue_exports__ = require(\"!!babel-loader!vue-loader/lib/selector?type=script&index=0!./Index.vue\")\n\n/* template */\nvar __vue_template__ = require(\"!!vue-loader/lib/template-compiler?id=data-v-65013355!vue-loader/lib/selector?type=template&index=0!./Index.vue\")\n__vue_options__ = __vue_exports__ = __vue_exports__ || {}\nif (\n typeof __vue_exports__.default === \"object\" ||\n typeof __vue_exports__.default === \"function\"\n) {\n__vue_options__ = __vue_exports__ = __vue_exports__.default\n}\nif (typeof __vue_options__ === \"function\") {\n __vue_options__ = __vue_options__.options\n}\n\n__vue_options__.render = __vue_template__.render\n__vue_options__.staticRenderFns = __vue_template__.staticRenderFns\n\nmodule.exports = __vue_exports__\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/Index.vue\n// module id = 179\n// module chunks = 2","var __vue_exports__, __vue_options__\nvar __vue_styles__ = {}\n\n/* script */\n__vue_exports__ = require(\"!!babel-loader!vue-loader/lib/selector?type=script&index=0!./ProbDot.vue\")\n\n/* template */\nvar __vue_template__ = require(\"!!vue-loader/lib/template-compiler?id=data-v-37bf2f12!vue-loader/lib/selector?type=template&index=0!./ProbDot.vue\")\n__vue_options__ = __vue_exports__ = __vue_exports__ || {}\nif (\n typeof __vue_exports__.default === \"object\" ||\n typeof __vue_exports__.default === \"function\"\n) {\n__vue_options__ = __vue_exports__ = __vue_exports__.default\n}\nif (typeof __vue_options__ === \"function\") {\n __vue_options__ = __vue_options__.options\n}\n\n__vue_options__.render = __vue_template__.render\n__vue_options__.staticRenderFns = __vue_template__.staticRenderFns\n\nmodule.exports = __vue_exports__\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/ProbDot.vue\n// module id = 180\n// module chunks = 2","var __vue_exports__, __vue_options__\nvar __vue_styles__ = {}\n\n/* script */\n__vue_exports__ = require(\"!!babel-loader!vue-loader/lib/selector?type=script&index=0!./ProbPage.vue\")\n\n/* template */\nvar __vue_template__ = require(\"!!vue-loader/lib/template-compiler?id=data-v-f2ca495e!vue-loader/lib/selector?type=template&index=0!./ProbPage.vue\")\n__vue_options__ = __vue_exports__ = __vue_exports__ || {}\nif (\n typeof __vue_exports__.default === \"object\" ||\n typeof __vue_exports__.default === \"function\"\n) {\n__vue_options__ = __vue_exports__ = __vue_exports__.default\n}\nif (typeof __vue_options__ === \"function\") {\n __vue_options__ = __vue_options__.options\n}\n\n__vue_options__.render = __vue_template__.render\n__vue_options__.staticRenderFns = __vue_template__.staticRenderFns\n\nmodule.exports = __vue_exports__\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/ProbPage.vue\n// module id = 181\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._c;\n return _c('router-link', {\n class: (\"ui \" + (_vm.item.getColor()) + \" label\"),\n attrs: {\n \"to\": (\"/problem/\" + (_vm.item.getNum())),\n \"id\": \"probdot\"\n }\n }, [(_vm.item.getTrans().length > 0) ? _c('i', {\n staticClass: \"coffee icon\"\n }) : _vm._e(), _vm._v(_vm._s(_vm.probNum) + \"\\r\\n\")])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?id=data-v-37bf2f12!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/ProbDot.vue\n// module id = 182\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._c;\n return _c('section', {\n staticClass: \"ui stackable doubling two column grid\",\n attrs: {\n \"id\": \"index\"\n }\n }, _vm._l((_vm.volumes), function(items, vol) {\n return _c('article', {\n staticClass: \"column\"\n }, [_c('h2', {\n staticClass: \"ui top attached header\"\n }, [_vm._v(\"Volume \" + _vm._s(vol))]), _vm._v(\" \"), _c('div', {\n staticClass: \"ui bottom attached segment circular labels\"\n }, _vm._l((items), function(item) {\n return _c('prob-dot', {\n attrs: {\n \"item\": item\n }\n })\n }))])\n }))\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?id=data-v-65013355!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/Index.vue\n// module id = 183\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._c;\n return _c('div', {\n staticClass: \"ui centered grid\",\n attrs: {\n \"id\": \"app\"\n }\n }, [_c('nav', {\n staticClass: \"ui top fixed labeled icon menu\"\n }, [_c('router-link', {\n staticClass: \"item\",\n attrs: {\n \"to\": \"/\"\n }\n }, [_c('i', {\n staticClass: \"home icon\"\n }), _vm._v(\"\\n 主頁\\n \")]), _vm._v(\" \"), _c('div', {\n staticClass: \"right menu\"\n }, [_c('div', {\n staticClass: \"item\"\n }, [_c('div', {\n staticClass: \"ui transparent icon input\"\n }, [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.username),\n expression: \"username\"\n }],\n attrs: {\n \"type\": \"text\"\n },\n domProps: {\n \"value\": _vm._s(_vm.username)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.username = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('i', {\n staticClass: \"user icon\"\n })])])])]), _vm._v(\" \"), _c('div', {\n staticClass: \"fourteen wide column\",\n attrs: {\n \"id\": \"content\"\n }\n }, [_c('router-view', {\n attrs: {\n \"store\": _vm.store,\n \"userid\": _vm.userid\n }\n })])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?id=data-v-a7bf9bb0!./~/vue-loader/lib/selector.js?type=template&index=0!./src/App.vue\n// module id = 184\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._c;\n return _c('section', {\n attrs: {\n \"id\": \"probpage\"\n }\n }, [_c('header', {\n staticClass: \"ui huge header\"\n }, [_c('div', {\n staticClass: \"content\"\n }, [_vm._v(\"\\r\\n UVa \" + _vm._s(_vm.$route.params.num) + \"\\r\\n \"), (_vm.problem) ? _c('div', {\n staticClass: \"sub header\"\n }, [_vm._v(_vm._s(_vm.problem.getHeader()))]) : _vm._e()])]), _vm._v(\" \"), (_vm.trans.length > 0) ? _c('h3', {\n staticClass: \"ui header\"\n }, [_c('i', {\n staticClass: \"coffee icon\"\n }), _vm._v(\" \"), _vm._m(0)]) : _vm._e(), _vm._v(\" \"), (_vm.trans.length > 0) ? _c('article', _vm._l((_vm.trans), function(tran) {\n return _c('a', {\n staticClass: \"ui primary button\",\n attrs: {\n \"target\": \"_blank\",\n \"href\": tran.link\n }\n }, [_vm._v(_vm._s(tran.type))])\n })) : _vm._e(), _vm._v(\" \"), (_vm.userid) ? _c('h3', {\n staticClass: \"ui header\"\n }, [_c('i', {\n staticClass: \"user icon\"\n }), _vm._v(\" \"), _vm._m(1)]) : _vm._e(), _vm._v(\" \"), (_vm.userid) ? _c('article', [(_vm.subs.length > 0) ? _c('div', {\n staticClass: \"ui stackable doubling six column grid\"\n }, _vm._l((_vm.subs), function(sub) {\n return _c('div', {\n staticClass: \"column\"\n }, [_c('section', {\n staticClass: \"ui segment\"\n }, [_c('div', {\n class: (\"ui \" + (sub.color) + \" statistic\")\n }, [_c('div', {\n staticClass: \"value\"\n }, [_vm._v(_vm._s(sub.status))])]), _vm._v(\" \"), _c('div', {\n staticClass: \"ui list\"\n }, [(sub.rank > 0) ? _c('div', {\n staticClass: \"item\"\n }, [_c('i', {\n staticClass: \"star icon\"\n }), _vm._v(\" \"), _c('div', {\n staticClass: \"content\"\n }, [_vm._v(_vm._s(sub.rank))])]) : _vm._e(), _vm._v(\" \"), _vm._l((sub.others), function(other) {\n return _c('div', {\n staticClass: \"item\"\n }, [_c('i', {\n class: ((other[0]) + \" icon\")\n }), _vm._v(\" \"), _c('div', {\n staticClass: \"content\"\n }, [_vm._v(_vm._s(other[1]))])])\n })], true)])])\n })) : _c('div', [_c('div', {\n staticClass: \"column\"\n }, [_vm._v(\"沒有上傳紀錄。\")])]), _vm._v(\" \")]) : _vm._e(), _vm._v(\" \"), _vm._m(2), _vm._v(\" \"), (_vm.problem) ? _c('article', {\n staticClass: \"ui statistics\"\n }, _vm._l((_vm.stats), function(stat) {\n return _c('div', {\n class: ((stat.color) + \" statistic\")\n }, [_c('div', {\n staticClass: \"value\"\n }, [_vm._v(_vm._s(stat.count))]), _vm._v(\" \"), _c('div', {\n staticClass: \"label\"\n }, [_vm._v(_vm._s(stat.label))])])\n })) : _vm._e()])\n},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._c;\n return _c('div', {\n staticClass: \"content\"\n }, [_vm._v(\"\\r\\n 翻譯\\r\\n \"), _c('div', {\n staticClass: \"sub header\"\n }, [_vm._v(\"Translates\")])])\n},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._c;\n return _c('div', {\n staticClass: \"content\"\n }, [_vm._v(\"\\r\\n 使用者狀態\\r\\n \"), _c('div', {\n staticClass: \"sub header\"\n }, [_vm._v(\"User Status\")])])\n},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._c;\n return _c('h3', {\n staticClass: \"ui header\"\n }, [_c('i', {\n staticClass: \"bar chart icon\"\n }), _vm._v(\" \"), _c('div', {\n staticClass: \"content\"\n }, [_vm._v(\"\\r\\n 統計\"), _c('div', {\n staticClass: \"sub header\"\n }, [_vm._v(\"Statistics\")])])])\n}]}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?id=data-v-f2ca495e!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/ProbPage.vue\n// module id = 185\n// module chunks = 2"],"sourceRoot":""} \ No newline at end of file diff --git a/static/js/app.67b0934e29aee7d89ec5.js b/static/js/app.67b0934e29aee7d89ec5.js new file mode 100644 index 0000000..82bbf52 --- /dev/null +++ b/static/js/app.67b0934e29aee7d89ec5.js @@ -0,0 +1,2 @@ +webpackJsonp([2,0],{0:function(t,e,n){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}var r=n(187),a=s(r),u=n(186),i=s(u),o=n(178),l=s(o);a.default.use(i.default);var c=n(134),d=new i.default({routes:c});new a.default({router:d,template:"",components:{App:l.default}}).$mount("#app")},10:function(t,e,n){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}var r=n(136),a=s(r),u=n(137),i=s(u),o=n(7),l=s(o),c=n(17),d=s(c),f=n(18),m=s(f),v=n(1),p=s(v),h=[["Accepted","AC",18,90,"green"],["Presentation Error","PE",17,80,"olive"],["Wrong Answer","WA",16,70,"red"],["Compilation Error","CE",10,30,"yellow"],["Runtime Error","RE",12,40,"teal"],["Time Limit Exceeded","TLE",14,50,"blue"],["Output Limit Exceeded","OLE",13,45,"purple"],["Memory Limit Exceeded","MLE",15,60,"violet"],["Restricted Function","RF",11,35,"pink"],["Submission Error","SE",7,10,"black"],["Can't be Judged","NJ",8,15,"brown"],["In Queue","InQ",9,20,"gray"]],j=l.default.keyBy(h,function(t){return t[3]}),b=[void 0,"ANSI C","Java","C++","Pascal","C++11"],g=function(){function t(e){(0,a.default)(this,t),this.data=e,this.info=j[this.getVer()]||[]}return(0,i.default)(t,[{key:"getData",value:function(){return this.data}},{key:"getId",value:function(){return this.data[0]}},{key:"getProbId",value:function(){return this.data[1]}},{key:"getVer",value:function(){return this.data[2]}},{key:"getRuntime",value:function(){return this.data[3]}},{key:"getTime",value:function(){return p.default.unix(this.data[4])}},{key:"getLang",value:function(){return b[this.data[5]]||"unknown"}},{key:"getRank",value:function(){return this.data[6]}},{key:"getFullStatus",value:function(){return this.info[0]||"unknown"}},{key:"getStatus",value:function(){return this.info[1]||"unknown"}},{key:"getColor",value:function(){return this.info[4]||"basic"}}]),t}(),_=(new g(Array(6)),function(){function t(e,n){(0,a.default)(this,t),this.id=e,this.prob=n,this.info=[]}return(0,i.default)(t,[{key:"registerSubmissions",value:function(t){this.subs=t;var e=l.default.countBy(t,function(t){return t.getVer()});return this.info=l.default.chain(h).find(function(t){return e[t[3]]}).value(),this}},{key:"getData",value:function(){return this.prob}},{key:"getId",value:function(){return this.prob[0]}},{key:"getNum",value:function(){return this.prob[1]}},{key:"getHeader",value:function(){return this.prob[2]}},{key:"getIdNum",value:function(){return this.prob.slice(0,2)}},{key:"getSubs",value:function(){return this.subs}},{key:"getSubsProbId",value:function(){return l.default.map(this.subs,function(t){return t.getProbId()})}},{key:"getSubsVer",value:function(){return l.default.map(this.subs,function(t){return t.getVer()})}},{key:"getColor",value:function(){return this.info[4]||"basic"}},{key:"getTrans",value:function(){return this.trans||[]}},{key:"getStats",value:function(){var t=this;return h.map(function(e){return{label:e[1],color:e[4],count:t.prob[e[2]]}})}}]),t}()),y="http://uhunt.felix-halim.net/api",k=function(t){return d.default.getJSON(y+t)},C=function(t){return d.default.get(t).then(function(t){return m.default.load(t)})};t.exports={uva:k,getYaml:C,Submission:g,Problem:_}},130:function(t,e,n){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(7),a=s(r),u=n(17),i=s(u),o=n(18),l=s(o),c=n(10),d=s(c);window._=a.default,window.$=window.jQuery=i.default,window.uhunt=d.default,window.yaml=l.default,n(153),n(177),e.default={name:"app",data:function(){return{username:void 0,userid:0,user:{subs:[]},asset:{problem:[],submission:[],translate:{}}}},created:function(){var t=this,e="./static/uva.data";"undefined"!==localStorage.username&&(t.username=localStorage.username),d.default.uva("/p").then(function(e){t.asset.problem=e}),d.default.getYaml(e+"/translate/translate.yml").then(function(e){t.asset.translate=e})},computed:{store:function(){var t=this,e=t.asset,n=a.default.map(e.problem,function(t,e){return new d.default.Problem(e,t)});n=a.default.chain(n).keyBy(function(t){return t.getId()}).mergeWith(a.default.chain(e.submission).map(function(t){return new d.default.Submission(t)}).groupBy(function(t){return t.getProbId()}).mapValues(function(t){return t.sort(function(t,e){return e.getId()-t.getId()})}).value(),function(t,e){return t.registerSubmissions(e)}).values().value(),n=a.default.chain(n).keyBy(function(t){return t.getNum()}).mergeWith(a.default.chain(e.translate).flatMap(function(t,e){return a.default.map(t.trans,function(n,s){return{num:a.default.isArray(t.trans)?n:s,type:e,link:t.site+n}})}).groupBy(function(t){return t.num}).value(),function(t,e){return a.default.assign(t,{trans:e})}).values().value(),window.console.log(n);var s=a.default.chain(n).map(function(t){return t.getIdNum()}),r={id:a.default.keyBy(n,function(t){return t.getId()}),num:a.default.keyBy(n,function(t){return t.getNum()}),volume:a.default.groupBy(n,function(t){return Math.floor(t.getNum()/100)}),id2num:s.fromPairs().value(),num2id:s.reverse().fromPairs().value()};return{data:n,category:r}}},watch:{username:function(t){var e=this;return"undefined"==typeof t?void(e.userid=0):void d.default.uva("/uname2uid/"+e.username).then(function(t){e.userid=t})},userid:function(t){if(0!==t){var e=this;d.default.uva("/subs-user/"+e.userid).then(function(t){e.user=t,e.asset.submission=t.subs})}}}}},131:function(t,e,n){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(7),a=(s(r),n(180)),u=s(a);e.default={name:"index",props:["store"],components:{ProbDot:u.default},computed:{volumes:function(){return this.store.category.volume}}}},132:function(t,e,n){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(7),a=s(r),u=n(10);s(u);e.default={name:"prob-dot",props:["item"],computed:{probNum:function(){return a.default.padStart(this.item.getNum()%100,2,"0")}}}},133:function(t,e,n){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(7),a=s(r),u=n(1),i=(s(u),n(10)),o=s(i);e.default={name:"prob-name",props:["store","userid"],data:function(){return{setting:o.default}},computed:{problem:function(){var t=this;return t.store.category.num[t.$route.params.num]},subs:function(){var t=this;t.problem.getId();return a.default.chain(t.problem.getSubs()).map(function(t){return{status:t.getStatus(),color:t.getColor(),rank:t.getRank(),others:[["hourglass full",t.getRuntime()+" ms"],["code",t.getLang()],["time",t.getTime().format("YYYY/MM/DD HH:mm:ss")]]}}).value()},stats:function(){var t=this;return t.problem.getStats()},trans:function(){var t=this;return t.problem.getTrans()}}}},134:function(t,e,n){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}var r=n(179),a=s(r),u=n(181),i=s(u);t.exports=[{path:"/",component:a.default},{path:"/problem/:num",component:i.default}]},153:function(t,e){},154:function(t,e){},176:function(t,e,n){function s(t){return n(r(t))}function r(t){return a[t]||function(){throw new Error("Cannot find module '"+t+"'.")}()}var a={"./af":21,"./af.js":21,"./ar":27,"./ar-dz":22,"./ar-dz.js":22,"./ar-ly":23,"./ar-ly.js":23,"./ar-ma":24,"./ar-ma.js":24,"./ar-sa":25,"./ar-sa.js":25,"./ar-tn":26,"./ar-tn.js":26,"./ar.js":27,"./az":28,"./az.js":28,"./be":29,"./be.js":29,"./bg":30,"./bg.js":30,"./bn":31,"./bn.js":31,"./bo":32,"./bo.js":32,"./br":33,"./br.js":33,"./bs":34,"./bs.js":34,"./ca":35,"./ca.js":35,"./cs":36,"./cs.js":36,"./cv":37,"./cv.js":37,"./cy":38,"./cy.js":38,"./da":39,"./da.js":39,"./de":41,"./de-at":40,"./de-at.js":40,"./de.js":41,"./dv":42,"./dv.js":42,"./el":43,"./el.js":43,"./en-au":44,"./en-au.js":44,"./en-ca":45,"./en-ca.js":45,"./en-gb":46,"./en-gb.js":46,"./en-ie":47,"./en-ie.js":47,"./en-nz":48,"./en-nz.js":48,"./eo":49,"./eo.js":49,"./es":51,"./es-do":50,"./es-do.js":50,"./es.js":51,"./et":52,"./et.js":52,"./eu":53,"./eu.js":53,"./fa":54,"./fa.js":54,"./fi":55,"./fi.js":55,"./fo":56,"./fo.js":56,"./fr":59,"./fr-ca":57,"./fr-ca.js":57,"./fr-ch":58,"./fr-ch.js":58,"./fr.js":59,"./fy":60,"./fy.js":60,"./gd":61,"./gd.js":61,"./gl":62,"./gl.js":62,"./he":63,"./he.js":63,"./hi":64,"./hi.js":64,"./hr":65,"./hr.js":65,"./hu":66,"./hu.js":66,"./hy-am":67,"./hy-am.js":67,"./id":68,"./id.js":68,"./is":69,"./is.js":69,"./it":70,"./it.js":70,"./ja":71,"./ja.js":71,"./jv":72,"./jv.js":72,"./ka":73,"./ka.js":73,"./kk":74,"./kk.js":74,"./km":75,"./km.js":75,"./ko":76,"./ko.js":76,"./ky":77,"./ky.js":77,"./lb":78,"./lb.js":78,"./lo":79,"./lo.js":79,"./lt":80,"./lt.js":80,"./lv":81,"./lv.js":81,"./me":82,"./me.js":82,"./mi":83,"./mi.js":83,"./mk":84,"./mk.js":84,"./ml":85,"./ml.js":85,"./mr":86,"./mr.js":86,"./ms":88,"./ms-my":87,"./ms-my.js":87,"./ms.js":88,"./my":89,"./my.js":89,"./nb":90,"./nb.js":90,"./ne":91,"./ne.js":91,"./nl":93,"./nl-be":92,"./nl-be.js":92,"./nl.js":93,"./nn":94,"./nn.js":94,"./pa-in":95,"./pa-in.js":95,"./pl":96,"./pl.js":96,"./pt":98,"./pt-br":97,"./pt-br.js":97,"./pt.js":98,"./ro":99,"./ro.js":99,"./ru":100,"./ru.js":100,"./se":101,"./se.js":101,"./si":102,"./si.js":102,"./sk":103,"./sk.js":103,"./sl":104,"./sl.js":104,"./sq":105,"./sq.js":105,"./sr":107,"./sr-cyrl":106,"./sr-cyrl.js":106,"./sr.js":107,"./ss":108,"./ss.js":108,"./sv":109,"./sv.js":109,"./sw":110,"./sw.js":110,"./ta":111,"./ta.js":111,"./te":112,"./te.js":112,"./tet":113,"./tet.js":113,"./th":114,"./th.js":114,"./tl-ph":115,"./tl-ph.js":115,"./tlh":116,"./tlh.js":116,"./tr":117,"./tr.js":117,"./tzl":118,"./tzl.js":118,"./tzm":120,"./tzm-latn":119,"./tzm-latn.js":119,"./tzm.js":120,"./uk":121,"./uk.js":121,"./uz":122,"./uz.js":122,"./vi":123,"./vi.js":123,"./x-pseudo":124,"./x-pseudo.js":124,"./yo":125,"./yo.js":125,"./zh-cn":126,"./zh-cn.js":126,"./zh-hk":127,"./zh-hk.js":127,"./zh-tw":128,"./zh-tw.js":128};s.keys=function(){return Object.keys(a)},s.resolve=r,t.exports=s,s.id=176},178:function(t,e,n){var s,r;n(154),s=n(130);var a=n(184);r=s=s||{},"object"!=typeof s.default&&"function"!=typeof s.default||(r=s=s.default),"function"==typeof r&&(r=r.options),r.render=a.render,r.staticRenderFns=a.staticRenderFns,t.exports=s},179:function(t,e,n){var s,r;s=n(131);var a=n(183);r=s=s||{},"object"!=typeof s.default&&"function"!=typeof s.default||(r=s=s.default),"function"==typeof r&&(r=r.options),r.render=a.render,r.staticRenderFns=a.staticRenderFns,t.exports=s},180:function(t,e,n){var s,r;s=n(132);var a=n(182);r=s=s||{},"object"!=typeof s.default&&"function"!=typeof s.default||(r=s=s.default),"function"==typeof r&&(r=r.options),r.render=a.render,r.staticRenderFns=a.staticRenderFns,t.exports=s},181:function(t,e,n){var s,r;s=n(133);var a=n(185);r=s=s||{},"object"!=typeof s.default&&"function"!=typeof s.default||(r=s=s.default),"function"==typeof r&&(r=r.options),r.render=a.render,r.staticRenderFns=a.staticRenderFns,t.exports=s},182:function(t,e){t.exports={render:function(){var t=this,e=(t.$createElement,t._c);return e("router-link",{class:"ui "+t.item.getColor()+" label",attrs:{to:"/problem/"+t.item.getNum(),id:"probdot"}},[t.item.getTrans().length>0?e("i",{staticClass:"coffee icon"}):t._e(),t._v(t._s(t.probNum)+"\r\n")])},staticRenderFns:[]}},183:function(t,e){t.exports={render:function(){var t=this,e=(t.$createElement,t._c);return e("section",{staticClass:"ui stackable doubling two column grid",attrs:{id:"index"}},t._l(t.volumes,function(n,s){return e("article",{staticClass:"column"},[e("h2",{staticClass:"ui top attached header"},[t._v("Volume "+t._s(s))]),t._v(" "),e("div",{staticClass:"ui bottom attached segment circular labels"},t._l(n,function(t){return e("prob-dot",{attrs:{item:t}})}))])}))},staticRenderFns:[]}},184:function(t,e){t.exports={render:function(){var t=this,e=(t.$createElement,t._c);return e("div",{staticClass:"ui centered grid",attrs:{id:"app"}},[e("nav",{staticClass:"ui top fixed labeled icon menu"},[e("router-link",{staticClass:"item",attrs:{to:"/"}},[e("i",{staticClass:"home icon"}),t._v("\n 主頁\n ")]),t._v(" "),e("div",{staticClass:"right menu"},[e("div",{staticClass:"item"},[e("div",{staticClass:"ui transparent icon input"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.username,expression:"username"}],attrs:{type:"text"},domProps:{value:t._s(t.username)},on:{input:function(e){e.target.composing||(t.username=e.target.value)}}}),t._v(" "),e("i",{staticClass:"user icon"})])])])]),t._v(" "),e("div",{staticClass:"fourteen wide column",attrs:{id:"content"}},[e("router-view",{attrs:{store:t.store,userid:t.userid}})])])},staticRenderFns:[]}},185:function(t,e){t.exports={render:function(){var t=this,e=(t.$createElement,t._c);return e("section",{attrs:{id:"probpage"}},[e("header",{staticClass:"ui huge header"},[e("div",{staticClass:"content"},[t._v("\r\n UVa "+t._s(t.$route.params.num)+"\r\n "),t.problem?e("div",{staticClass:"sub header"},[t._v(t._s(t.problem.getHeader()))]):t._e()])]),t._v(" "),t.trans.length>0?e("h3",{staticClass:"ui header"},[e("i",{staticClass:"coffee icon"}),t._v(" "),t._m(0)]):t._e(),t._v(" "),t.trans.length>0?e("article",t._l(t.trans,function(n){return e("a",{staticClass:"ui primary button",attrs:{target:"_blank",href:n.link}},[t._v(t._s(n.type))])})):t._e(),t._v(" "),t.userid?e("h3",{staticClass:"ui header"},[e("i",{staticClass:"user icon"}),t._v(" "),t._m(1)]):t._e(),t._v(" "),t.userid?e("article",[t.subs.length>0?e("div",{staticClass:"ui stackable doubling six column grid"},t._l(t.subs,function(n){return e("div",{staticClass:"column"},[e("section",{staticClass:"ui segment"},[e("div",{class:"ui "+n.color+" statistic"},[e("div",{staticClass:"value"},[t._v(t._s(n.status))])]),t._v(" "),e("div",{staticClass:"ui list"},[n.rank>0?e("div",{staticClass:"item"},[e("i",{staticClass:"star icon"}),t._v(" "),e("div",{staticClass:"content"},[t._v(t._s(n.rank))])]):t._e(),t._v(" "),t._l(n.others,function(n){return e("div",{staticClass:"item"},[e("i",{class:n[0]+" icon"}),t._v(" "),e("div",{staticClass:"content"},[t._v(t._s(n[1]))])])})],!0)])])})):e("div",[e("div",{staticClass:"column"},[t._v("沒有上傳紀錄。")])]),t._v(" ")]):t._e(),t._v(" "),t._m(2),t._v(" "),t.problem?e("article",{staticClass:"ui statistics"},t._l(t.stats,function(n){return e("div",{class:n.color+" statistic"},[e("div",{staticClass:"value"},[t._v(t._s(n.count))]),t._v(" "),e("div",{staticClass:"label"},[t._v(t._s(n.label))])])})):t._e()])},staticRenderFns:[function(){var t=this,e=(t.$createElement,t._c);return e("div",{staticClass:"content"},[t._v("\r\n 翻譯\r\n "),e("div",{staticClass:"sub header"},[t._v("Translates")])])},function(){var t=this,e=(t.$createElement,t._c);return e("div",{staticClass:"content"},[t._v("\r\n 使用者狀態\r\n "),e("div",{staticClass:"sub header"},[t._v("User Status")])])},function(){var t=this,e=(t.$createElement,t._c);return e("h3",{staticClass:"ui header"},[e("i",{staticClass:"bar chart icon"}),t._v(" "),e("div",{staticClass:"content"},[t._v("\r\n 統計"),e("div",{staticClass:"sub header"},[t._v("Statistics")])])])}]}}}); +//# sourceMappingURL=app.67b0934e29aee7d89ec5.js.map \ No newline at end of file diff --git a/static/js/app.67b0934e29aee7d89ec5.js.map b/static/js/app.67b0934e29aee7d89ec5.js.map new file mode 100644 index 0000000..ed1af95 --- /dev/null +++ b/static/js/app.67b0934e29aee7d89ec5.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///static/js/app.67b0934e29aee7d89ec5.js","webpack:///./src/main.js","webpack:///./src/scripts/uhunt.js","webpack:///App.vue","webpack:///Index.vue","webpack:///ProbDot.vue","webpack:///ProbPage.vue","webpack:///./src/routes.js","webpack:///./~/moment/locale ^\\.\\/.*$","webpack:///./src/App.vue","webpack:///./src/components/Index.vue","webpack:///./src/components/ProbDot.vue","webpack:///./src/components/ProbPage.vue","webpack:///./src/components/ProbDot.vue?80bc","webpack:///./src/components/Index.vue?9b5b","webpack:///./src/App.vue?72b1","webpack:///./src/components/ProbPage.vue?1c98"],"names":["webpackJsonp","0","module","exports","__webpack_require__","_interopRequireDefault","obj","__esModule","default","_vue","_vue2","_vueRouter","_vueRouter2","_App","_App2","use","routes","router","template","components","App","$mount","10","_classCallCheck2","_classCallCheck3","_createClass2","_createClass3","_lodash","_lodash2","_jquery","_jquery2","_jsYaml","_jsYaml2","_moment","_moment2","_state_info","_rev_verdict","keyBy","info","_lang_list","undefined","Submission","sub","this","data","getVer","key","value","unix","Problem","Array","id","prob","subs","compare","countBy","chain","find","state","slice","map","getProbId","trans","p","stat","label","color","count","_domain","endpoint","ep","getJSON","_getYaml","path_to_file","get","then","load","uva","getYaml","130","Object","defineProperty","_uhunt","_uhunt2","window","_","$","jQuery","uhunt","yaml","name","username","userid","user","asset","problem","submission","translate","created","app","_uva_data","localStorage","computed","store","i","getId","mergeWith","groupBy","mapValues","sort","a","b","target","source","registerSubmissions","values","getNum","flatMap","judge","link","num","isArray","type","site","assign","console","log","_uidnum","it","getIdNum","category","volume","Math","floor","id2num","fromPairs","num2id","reverse","watch","newUsername","newUserid","131","_ProbDot","_ProbDot2","props","ProbDot","volumes","132","probNum","padStart","item","133","setting","$route","params","getSubs","status","getStatus","getColor","rank","getRank","others","getRuntime","getLang","getTime","format","stats","getStats","getTrans","134","_Index","_Index2","_ProbPage","_ProbPage2","path","component","153","154","176","webpackContext","req","webpackContextResolve","Error","./af","./af.js","./ar","./ar-dz","./ar-dz.js","./ar-ly","./ar-ly.js","./ar-ma","./ar-ma.js","./ar-sa","./ar-sa.js","./ar-tn","./ar-tn.js","./ar.js","./az","./az.js","./be","./be.js","./bg","./bg.js","./bn","./bn.js","./bo","./bo.js","./br","./br.js","./bs","./bs.js","./ca","./ca.js","./cs","./cs.js","./cv","./cv.js","./cy","./cy.js","./da","./da.js","./de","./de-at","./de-at.js","./de.js","./dv","./dv.js","./el","./el.js","./en-au","./en-au.js","./en-ca","./en-ca.js","./en-gb","./en-gb.js","./en-ie","./en-ie.js","./en-nz","./en-nz.js","./eo","./eo.js","./es","./es-do","./es-do.js","./es.js","./et","./et.js","./eu","./eu.js","./fa","./fa.js","./fi","./fi.js","./fo","./fo.js","./fr","./fr-ca","./fr-ca.js","./fr-ch","./fr-ch.js","./fr.js","./fy","./fy.js","./gd","./gd.js","./gl","./gl.js","./he","./he.js","./hi","./hi.js","./hr","./hr.js","./hu","./hu.js","./hy-am","./hy-am.js","./id","./id.js","./is","./is.js","./it","./it.js","./ja","./ja.js","./jv","./jv.js","./ka","./ka.js","./kk","./kk.js","./km","./km.js","./ko","./ko.js","./ky","./ky.js","./lb","./lb.js","./lo","./lo.js","./lt","./lt.js","./lv","./lv.js","./me","./me.js","./mi","./mi.js","./mk","./mk.js","./ml","./ml.js","./mr","./mr.js","./ms","./ms-my","./ms-my.js","./ms.js","./my","./my.js","./nb","./nb.js","./ne","./ne.js","./nl","./nl-be","./nl-be.js","./nl.js","./nn","./nn.js","./pa-in","./pa-in.js","./pl","./pl.js","./pt","./pt-br","./pt-br.js","./pt.js","./ro","./ro.js","./ru","./ru.js","./se","./se.js","./si","./si.js","./sk","./sk.js","./sl","./sl.js","./sq","./sq.js","./sr","./sr-cyrl","./sr-cyrl.js","./sr.js","./ss","./ss.js","./sv","./sv.js","./sw","./sw.js","./ta","./ta.js","./te","./te.js","./tet","./tet.js","./th","./th.js","./tl-ph","./tl-ph.js","./tlh","./tlh.js","./tr","./tr.js","./tzl","./tzl.js","./tzm","./tzm-latn","./tzm-latn.js","./tzm.js","./uk","./uk.js","./uz","./uz.js","./vi","./vi.js","./x-pseudo","./x-pseudo.js","./yo","./yo.js","./zh-cn","./zh-cn.js","./zh-hk","./zh-hk.js","./zh-tw","./zh-tw.js","keys","resolve","178","__vue_exports__","__vue_options__","__vue_template__","options","render","staticRenderFns","179","180","181","182","_vm","_c","$createElement","class","attrs","to","length","staticClass","_e","_v","_s","183","_l","items","vol","184","directives","rawName","expression","domProps","on","input","$event","composing","185","getHeader","_m","tran","href","other"],"mappings":"AAAAA,cAAc,EAAE,IAEVC,EACA,SAASC,EAAQC,EAASC,GAE/B,YAcA,SAASC,GAAuBC,GAAO,MAAOA,IAAOA,EAAIC,WAAaD,GAAQE,QAASF,GCjBxF,GAAAG,GAAAL,EAAA,KDOKM,EAAQL,EAAuBI,GCNpCE,EAAAP,EAAA,KDUKQ,EAAcP,EAAuBM,GCT1CE,EAAAT,EAAA,KDaKU,EAAQT,EAAuBQ,ECXpCH,GAAAF,QAAIO,IAAJH,EAAAJ,QAEA,IAAMQ,GAASZ,EAAQ,KAEjBa,EAAS,GAAAL,GAAAJ,SACbQ,UAGU,IAAAN,GAAAF,SACVS,SACAC,SAAU,SACVC,YAAcC,iBACbC,OAAO,SDmBJC,GACA,SAASpB,EAAQC,EAASC,GAE/B,YA0BA,SAASC,GAAuBC,GAAO,MAAOA,IAAOA,EAAIC,WAAaD,GAAQE,QAASF,GAxBvF,GAAIiB,GAAmBnB,EAAoB,KAEvCoB,EAAmBnB,EAAuBkB,GAE1CE,EAAgBrB,EAAoB,KAEpCsB,EAAgBrB,EAAuBoB,GEhD5CE,EAAAvB,EAAA,GFoDKwB,EAAWvB,EAAuBsB,GEnDvCE,EAAAzB,EAAA,IFuDK0B,EAAWzB,EAAuBwB,GEtDvCE,EAAA3B,EAAA,IF0DK4B,EAAW3B,EAAuB0B,GEzDvCE,EAAA7B,EAAA,GF6DK8B,EAAW7B,EAAuB4B,GEpDjCE,IACH,WAAyB,KAAO,GAAI,GAAI,UACxC,qBAAyB,KAAO,GAAI,GAAI,UACxC,eAAyB,KAAO,GAAI,GAAI,QACxC,oBAAyB,KAAO,GAAI,GAAI,WACxC,gBAAyB,KAAO,GAAI,GAAI,SACxC,sBAAyB,MAAO,GAAI,GAAI,SACxC,wBAAyB,MAAO,GAAI,GAAI,WACxC,wBAAyB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GACvE,OAAAA,GAAA,OACAM,YAAA,YACGP,EAAAS,GAAA,0BAAAR,EAAA,OACHM,YAAA,eACGP,EAAAS,GAAA,mBACF,WAAa,GAAAT,GAAAjX,KAAuCkX,GAA1BD,EAAAE,eAA0BF,EAAAC,GACrD,OAAAA,GAAA,OACAM,YAAA,YACGP,EAAAS,GAAA,6BAAAR,EAAA,OACHM,YAAA,eACGP,EAAAS,GAAA,oBACF,WAAa,GAAAT,GAAAjX,KAAuCkX,GAA1BD,EAAAE,eAA0BF,EAAAC,GACrD,OAAAA,GAAA,MACAM,YAAA,cACGN,EAAA,KACHM,YAAA,mBACGP,EAAAS,GAAA,KAAAR,EAAA,OACHM,YAAA,YACGP,EAAAS,GAAA,gBAAAR,EAAA,OACHM,YAAA,eACGP,EAAAS,GAAA","file":"static/js/app.67b0934e29aee7d89ec5.js","sourcesContent":["webpackJsonp([2,0],{\n\n/***/ 0:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _vue = __webpack_require__(187);\n\t\n\tvar _vue2 = _interopRequireDefault(_vue);\n\t\n\tvar _vueRouter = __webpack_require__(186);\n\t\n\tvar _vueRouter2 = _interopRequireDefault(_vueRouter);\n\t\n\tvar _App = __webpack_require__(178);\n\t\n\tvar _App2 = _interopRequireDefault(_App);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\t_vue2.default.use(_vueRouter2.default);\n\t\n\tvar routes = __webpack_require__(134);\n\t\n\tvar router = new _vueRouter2.default({\n\t routes: routes\n\t});\n\t\n\tvar app = new _vue2.default({\n\t router: router,\n\t template: '',\n\t components: { App: _App2.default }\n\t}).$mount('#app');\n\n/***/ },\n\n/***/ 10:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _classCallCheck2 = __webpack_require__(136);\n\t\n\tvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\t\n\tvar _createClass2 = __webpack_require__(137);\n\t\n\tvar _createClass3 = _interopRequireDefault(_createClass2);\n\t\n\tvar _lodash = __webpack_require__(7);\n\t\n\tvar _lodash2 = _interopRequireDefault(_lodash);\n\t\n\tvar _jquery = __webpack_require__(17);\n\t\n\tvar _jquery2 = _interopRequireDefault(_jquery);\n\t\n\tvar _jsYaml = __webpack_require__(18);\n\t\n\tvar _jsYaml2 = _interopRequireDefault(_jsYaml);\n\t\n\tvar _moment = __webpack_require__(1);\n\t\n\tvar _moment2 = _interopRequireDefault(_moment);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar _state_info = [['Accepted', 'AC', 18, 90, 'green'], ['Presentation Error', 'PE', 17, 80, 'olive'], ['Wrong Answer', 'WA', 16, 70, 'red'], ['Compilation Error', 'CE', 10, 30, 'yellow'], ['Runtime Error', 'RE', 12, 40, 'teal'], ['Time Limit Exceeded', 'TLE', 14, 50, 'blue'], ['Output Limit Exceeded', 'OLE', 13, 45, 'purple'], ['Memory Limit Exceeded', 'MLE', 15, 60, 'violet'], ['Restricted Function', 'RF', 11, 35, 'pink'], ['Submission Error', 'SE', 7, 10, 'black'], ['Can\\'t be Judged', 'NJ', 8, 15, 'brown'], ['In Queue', 'InQ', 9, 20, 'gray']];\n\tvar _rev_verdict = _lodash2.default.keyBy(_state_info, function (info) {\n\t return info[3];\n\t});\n\tvar _lang_list = [undefined, 'ANSI C', 'Java', 'C++', 'Pascal', 'C++11'];\n\t\n\tvar Submission = function () {\n\t function Submission(sub) {\n\t (0, _classCallCheck3.default)(this, Submission);\n\t\n\t this.data = sub;\n\t this.info = _rev_verdict[this.getVer()] || [];\n\t }\n\t\n\t (0, _createClass3.default)(Submission, [{\n\t key: 'getData',\n\t value: function getData() {\n\t return this.data;\n\t }\n\t }, {\n\t key: 'getId',\n\t value: function getId() {\n\t return this.data[0];\n\t }\n\t }, {\n\t key: 'getProbId',\n\t value: function getProbId() {\n\t return this.data[1];\n\t }\n\t }, {\n\t key: 'getVer',\n\t value: function getVer() {\n\t return this.data[2];\n\t }\n\t }, {\n\t key: 'getRuntime',\n\t value: function getRuntime() {\n\t return this.data[3];\n\t }\n\t }, {\n\t key: 'getTime',\n\t value: function getTime() {\n\t return _moment2.default.unix(this.data[4]);\n\t }\n\t }, {\n\t key: 'getLang',\n\t value: function getLang() {\n\t return _lang_list[this.data[5]] || 'unknown';\n\t }\n\t }, {\n\t key: 'getRank',\n\t value: function getRank() {\n\t return this.data[6];\n\t }\n\t }, {\n\t key: 'getFullStatus',\n\t value: function getFullStatus() {\n\t return this.info[0] || 'unknown';\n\t }\n\t }, {\n\t key: 'getStatus',\n\t value: function getStatus() {\n\t return this.info[1] || 'unknown';\n\t }\n\t }, {\n\t key: 'getColor',\n\t value: function getColor() {\n\t return this.info[4] || 'basic';\n\t }\n\t }]);\n\t return Submission;\n\t}();\n\t\n\tvar noneSub = new Submission(Array(6));\n\t\n\tvar Problem = function () {\n\t function Problem(id, prob) {\n\t (0, _classCallCheck3.default)(this, Problem);\n\t\n\t this.id = id;\n\t this.prob = prob;\n\t this.info = [];\n\t }\n\t\n\t (0, _createClass3.default)(Problem, [{\n\t key: 'registerSubmissions',\n\t value: function registerSubmissions(subs) {\n\t this.subs = subs;\n\t\n\t var compare = _lodash2.default.countBy(subs, function (sub) {\n\t return sub.getVer();\n\t });\n\t this.info = _lodash2.default.chain(_state_info).find(function (state) {\n\t return compare[state[3]];\n\t }).value();\n\t return this;\n\t }\n\t }, {\n\t key: 'getData',\n\t value: function getData() {\n\t return this.prob;\n\t }\n\t }, {\n\t key: 'getId',\n\t value: function getId() {\n\t return this.prob[0];\n\t }\n\t }, {\n\t key: 'getNum',\n\t value: function getNum() {\n\t return this.prob[1];\n\t }\n\t }, {\n\t key: 'getHeader',\n\t value: function getHeader() {\n\t return this.prob[2];\n\t }\n\t }, {\n\t key: 'getIdNum',\n\t value: function getIdNum() {\n\t return this.prob.slice(0, 2);\n\t }\n\t }, {\n\t key: 'getSubs',\n\t value: function getSubs() {\n\t return this.subs;\n\t }\n\t }, {\n\t key: 'getSubsProbId',\n\t value: function getSubsProbId() {\n\t return _lodash2.default.map(this.subs, function (sub) {\n\t return sub.getProbId();\n\t });\n\t }\n\t }, {\n\t key: 'getSubsVer',\n\t value: function getSubsVer() {\n\t return _lodash2.default.map(this.subs, function (sub) {\n\t return sub.getVer();\n\t });\n\t }\n\t }, {\n\t key: 'getColor',\n\t value: function getColor() {\n\t return this.info[4] || 'basic';\n\t }\n\t }, {\n\t key: 'getTrans',\n\t value: function getTrans() {\n\t return this.trans || [];\n\t }\n\t }, {\n\t key: 'getStats',\n\t value: function getStats() {\n\t var p = this;\n\t return _state_info.map(function (stat) {\n\t return {\n\t label: stat[1],\n\t color: stat[4],\n\t count: p.prob[stat[2]]\n\t };\n\t });\n\t }\n\t }]);\n\t return Problem;\n\t}();\n\t\n\tvar _domain = 'http://uhunt.felix-halim.net/api';\n\tvar endpoint = function endpoint(ep) {\n\t return _jquery2.default.getJSON(_domain + ep);\n\t};\n\t\n\tvar _getYaml = function _getYaml(path_to_file) {\n\t return _jquery2.default.get(path_to_file).then(function (data) {\n\t return _jsYaml2.default.load(data);\n\t });\n\t};\n\t\n\tmodule.exports = {\n\t uva: endpoint,\n\t getYaml: _getYaml,\n\t Submission: Submission,\n\t Problem: Problem\n\t};\n\n/***/ },\n\n/***/ 130:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _lodash = __webpack_require__(7);\n\t\n\tvar _lodash2 = _interopRequireDefault(_lodash);\n\t\n\tvar _jquery = __webpack_require__(17);\n\t\n\tvar _jquery2 = _interopRequireDefault(_jquery);\n\t\n\tvar _jsYaml = __webpack_require__(18);\n\t\n\tvar _jsYaml2 = _interopRequireDefault(_jsYaml);\n\t\n\tvar _uhunt = __webpack_require__(10);\n\t\n\tvar _uhunt2 = _interopRequireDefault(_uhunt);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\twindow._ = _lodash2.default;\n\twindow.$ = window.jQuery = _jquery2.default;\n\t\n\twindow.uhunt = _uhunt2.default;\n\twindow.yaml = _jsYaml2.default;\n\t\n\t__webpack_require__(153);\n\t__webpack_require__(177);\n\t\n\texports.default = {\n\t name: 'app',\n\t data: function data() {\n\t return {\n\t username: undefined,\n\t userid: 0,\n\t user: {\n\t subs: []\n\t },\n\t asset: {\n\t problem: [],\n\t submission: [],\n\t translate: {}\n\t }\n\t };\n\t },\n\t created: function created() {\n\t var app = this;\n\t var _uva_data = './static/uva.data';\n\t\n\t if (localStorage.username !== 'undefined') app.username = localStorage.username;\n\t\n\t _uhunt2.default.uva('/p').then(function (data) {\n\t app.asset.problem = data;\n\t });\n\t\n\t _uhunt2.default.getYaml(_uva_data + '/translate/translate.yml').then(function (data) {\n\t app.asset.translate = data;\n\t });\n\t },\n\t\n\t computed: {\n\t store: function store() {\n\t var app = this;\n\t var asset = app.asset;\n\t\n\t var data = _lodash2.default.map(asset.problem, function (data, i) {\n\t return new _uhunt2.default.Problem(i, data);\n\t });\n\t\n\t data = _lodash2.default.chain(data).keyBy(function (prob) {\n\t return prob.getId();\n\t }).mergeWith(_lodash2.default.chain(asset.submission).map(function (data) {\n\t return new _uhunt2.default.Submission(data);\n\t }).groupBy(function (sub) {\n\t return sub.getProbId();\n\t }).mapValues(function (subs) {\n\t return subs.sort(function (a, b) {\n\t return b.getId() - a.getId();\n\t });\n\t }).value(), function (target, source) {\n\t return target.registerSubmissions(source);\n\t }).values().value();\n\t\n\t data = _lodash2.default.chain(data).keyBy(function (prob) {\n\t return prob.getNum();\n\t }).mergeWith(_lodash2.default.chain(asset.translate).flatMap(function (judge, key) {\n\t return _lodash2.default.map(judge.trans, function (link, i) {\n\t return {\n\t num: _lodash2.default.isArray(judge.trans) ? link : i,\n\t type: key,\n\t link: judge.site + link\n\t };\n\t });\n\t }).groupBy(function (trans) {\n\t return trans.num;\n\t }).value(), function (target, source) {\n\t return _lodash2.default.assign(target, { trans: source });\n\t }).values().value();\n\t window.console.log(data);\n\t\n\t var _uidnum = _lodash2.default.chain(data).map(function (it) {\n\t return it.getIdNum();\n\t });\n\t var category = {\n\t id: _lodash2.default.keyBy(data, function (it) {\n\t return it.getId();\n\t }),\n\t num: _lodash2.default.keyBy(data, function (it) {\n\t return it.getNum();\n\t }),\n\t volume: _lodash2.default.groupBy(data, function (it) {\n\t return Math.floor(it.getNum() / 100);\n\t }),\n\t id2num: _uidnum.fromPairs().value(),\n\t num2id: _uidnum.reverse().fromPairs().value()\n\t };\n\t return {\n\t data: data,\n\t category: category\n\t };\n\t }\n\t },\n\t watch: {\n\t username: function username(newUsername) {\n\t var app = this;\n\t if (typeof newUsername === 'undefined') {\n\t app.userid = 0;\n\t return;\n\t }\n\t _uhunt2.default.uva('/uname2uid/' + app.username).then(function (id) {\n\t app.userid = id;\n\t });\n\t },\n\t userid: function userid(newUserid) {\n\t if (newUserid === 0) return;\n\t var app = this;\n\t _uhunt2.default.uva('/subs-user/' + app.userid).then(function (data) {\n\t app.user = data;\n\t app.asset.submission = data.subs;\n\t });\n\t }\n\t }\n\t};\n\n/***/ },\n\n/***/ 131:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _lodash = __webpack_require__(7);\n\t\n\tvar _lodash2 = _interopRequireDefault(_lodash);\n\t\n\tvar _ProbDot = __webpack_require__(180);\n\t\n\tvar _ProbDot2 = _interopRequireDefault(_ProbDot);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = {\n\t name: 'index',\n\t props: ['store'],\n\t components: {\n\t ProbDot: _ProbDot2.default\n\t },\n\t computed: {\n\t volumes: function volumes() {\n\t return this.store.category.volume;\n\t }\n\t }\n\t};\n\n/***/ },\n\n/***/ 132:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _lodash = __webpack_require__(7);\n\t\n\tvar _lodash2 = _interopRequireDefault(_lodash);\n\t\n\tvar _uhunt = __webpack_require__(10);\n\t\n\tvar _uhunt2 = _interopRequireDefault(_uhunt);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = {\n\t name: 'prob-dot',\n\t props: ['item'],\n\t computed: {\n\t probNum: function probNum() {\n\t return _lodash2.default.padStart(this.item.getNum() % 100, 2, '0');\n\t }\n\t }\n\t};\n\n/***/ },\n\n/***/ 133:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _lodash = __webpack_require__(7);\n\t\n\tvar _lodash2 = _interopRequireDefault(_lodash);\n\t\n\tvar _moment = __webpack_require__(1);\n\t\n\tvar _moment2 = _interopRequireDefault(_moment);\n\t\n\tvar _uhunt = __webpack_require__(10);\n\t\n\tvar _uhunt2 = _interopRequireDefault(_uhunt);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = {\n\t name: 'prob-name',\n\t props: ['store', 'userid'],\n\t data: function data() {\n\t return {\n\t setting: _uhunt2.default\n\t };\n\t },\n\t\n\t computed: {\n\t problem: function problem() {\n\t var app = this;\n\t return app.store.category.num[app.$route.params.num];\n\t },\n\t subs: function subs() {\n\t var app = this;\n\t var id = app.problem.getId();\n\t return _lodash2.default.chain(app.problem.getSubs()).map(function (sub) {\n\t return {\n\t status: sub.getStatus(),\n\t color: sub.getColor(),\n\t rank: sub.getRank(),\n\t others: [['hourglass full', sub.getRuntime() + ' ms'], ['code', sub.getLang()], ['time', sub.getTime().format('YYYY/MM/DD HH:mm:ss')]]\n\t };\n\t }).value();\n\t },\n\t stats: function stats() {\n\t var app = this;\n\t return app.problem.getStats();\n\t },\n\t trans: function trans() {\n\t var app = this;\n\t return app.problem.getTrans();\n\t }\n\t }\n\t};\n\n/***/ },\n\n/***/ 134:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _Index = __webpack_require__(179);\n\t\n\tvar _Index2 = _interopRequireDefault(_Index);\n\t\n\tvar _ProbPage = __webpack_require__(181);\n\t\n\tvar _ProbPage2 = _interopRequireDefault(_ProbPage);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tmodule.exports = [{ path: '/', component: _Index2.default }, { path: '/problem/:num', component: _ProbPage2.default }];\n\n/***/ },\n\n/***/ 153:\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n\n/***/ 154:\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n\n/***/ 176:\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar map = {\n\t\t\"./af\": 21,\n\t\t\"./af.js\": 21,\n\t\t\"./ar\": 27,\n\t\t\"./ar-dz\": 22,\n\t\t\"./ar-dz.js\": 22,\n\t\t\"./ar-ly\": 23,\n\t\t\"./ar-ly.js\": 23,\n\t\t\"./ar-ma\": 24,\n\t\t\"./ar-ma.js\": 24,\n\t\t\"./ar-sa\": 25,\n\t\t\"./ar-sa.js\": 25,\n\t\t\"./ar-tn\": 26,\n\t\t\"./ar-tn.js\": 26,\n\t\t\"./ar.js\": 27,\n\t\t\"./az\": 28,\n\t\t\"./az.js\": 28,\n\t\t\"./be\": 29,\n\t\t\"./be.js\": 29,\n\t\t\"./bg\": 30,\n\t\t\"./bg.js\": 30,\n\t\t\"./bn\": 31,\n\t\t\"./bn.js\": 31,\n\t\t\"./bo\": 32,\n\t\t\"./bo.js\": 32,\n\t\t\"./br\": 33,\n\t\t\"./br.js\": 33,\n\t\t\"./bs\": 34,\n\t\t\"./bs.js\": 34,\n\t\t\"./ca\": 35,\n\t\t\"./ca.js\": 35,\n\t\t\"./cs\": 36,\n\t\t\"./cs.js\": 36,\n\t\t\"./cv\": 37,\n\t\t\"./cv.js\": 37,\n\t\t\"./cy\": 38,\n\t\t\"./cy.js\": 38,\n\t\t\"./da\": 39,\n\t\t\"./da.js\": 39,\n\t\t\"./de\": 41,\n\t\t\"./de-at\": 40,\n\t\t\"./de-at.js\": 40,\n\t\t\"./de.js\": 41,\n\t\t\"./dv\": 42,\n\t\t\"./dv.js\": 42,\n\t\t\"./el\": 43,\n\t\t\"./el.js\": 43,\n\t\t\"./en-au\": 44,\n\t\t\"./en-au.js\": 44,\n\t\t\"./en-ca\": 45,\n\t\t\"./en-ca.js\": 45,\n\t\t\"./en-gb\": 46,\n\t\t\"./en-gb.js\": 46,\n\t\t\"./en-ie\": 47,\n\t\t\"./en-ie.js\": 47,\n\t\t\"./en-nz\": 48,\n\t\t\"./en-nz.js\": 48,\n\t\t\"./eo\": 49,\n\t\t\"./eo.js\": 49,\n\t\t\"./es\": 51,\n\t\t\"./es-do\": 50,\n\t\t\"./es-do.js\": 50,\n\t\t\"./es.js\": 51,\n\t\t\"./et\": 52,\n\t\t\"./et.js\": 52,\n\t\t\"./eu\": 53,\n\t\t\"./eu.js\": 53,\n\t\t\"./fa\": 54,\n\t\t\"./fa.js\": 54,\n\t\t\"./fi\": 55,\n\t\t\"./fi.js\": 55,\n\t\t\"./fo\": 56,\n\t\t\"./fo.js\": 56,\n\t\t\"./fr\": 59,\n\t\t\"./fr-ca\": 57,\n\t\t\"./fr-ca.js\": 57,\n\t\t\"./fr-ch\": 58,\n\t\t\"./fr-ch.js\": 58,\n\t\t\"./fr.js\": 59,\n\t\t\"./fy\": 60,\n\t\t\"./fy.js\": 60,\n\t\t\"./gd\": 61,\n\t\t\"./gd.js\": 61,\n\t\t\"./gl\": 62,\n\t\t\"./gl.js\": 62,\n\t\t\"./he\": 63,\n\t\t\"./he.js\": 63,\n\t\t\"./hi\": 64,\n\t\t\"./hi.js\": 64,\n\t\t\"./hr\": 65,\n\t\t\"./hr.js\": 65,\n\t\t\"./hu\": 66,\n\t\t\"./hu.js\": 66,\n\t\t\"./hy-am\": 67,\n\t\t\"./hy-am.js\": 67,\n\t\t\"./id\": 68,\n\t\t\"./id.js\": 68,\n\t\t\"./is\": 69,\n\t\t\"./is.js\": 69,\n\t\t\"./it\": 70,\n\t\t\"./it.js\": 70,\n\t\t\"./ja\": 71,\n\t\t\"./ja.js\": 71,\n\t\t\"./jv\": 72,\n\t\t\"./jv.js\": 72,\n\t\t\"./ka\": 73,\n\t\t\"./ka.js\": 73,\n\t\t\"./kk\": 74,\n\t\t\"./kk.js\": 74,\n\t\t\"./km\": 75,\n\t\t\"./km.js\": 75,\n\t\t\"./ko\": 76,\n\t\t\"./ko.js\": 76,\n\t\t\"./ky\": 77,\n\t\t\"./ky.js\": 77,\n\t\t\"./lb\": 78,\n\t\t\"./lb.js\": 78,\n\t\t\"./lo\": 79,\n\t\t\"./lo.js\": 79,\n\t\t\"./lt\": 80,\n\t\t\"./lt.js\": 80,\n\t\t\"./lv\": 81,\n\t\t\"./lv.js\": 81,\n\t\t\"./me\": 82,\n\t\t\"./me.js\": 82,\n\t\t\"./mi\": 83,\n\t\t\"./mi.js\": 83,\n\t\t\"./mk\": 84,\n\t\t\"./mk.js\": 84,\n\t\t\"./ml\": 85,\n\t\t\"./ml.js\": 85,\n\t\t\"./mr\": 86,\n\t\t\"./mr.js\": 86,\n\t\t\"./ms\": 88,\n\t\t\"./ms-my\": 87,\n\t\t\"./ms-my.js\": 87,\n\t\t\"./ms.js\": 88,\n\t\t\"./my\": 89,\n\t\t\"./my.js\": 89,\n\t\t\"./nb\": 90,\n\t\t\"./nb.js\": 90,\n\t\t\"./ne\": 91,\n\t\t\"./ne.js\": 91,\n\t\t\"./nl\": 93,\n\t\t\"./nl-be\": 92,\n\t\t\"./nl-be.js\": 92,\n\t\t\"./nl.js\": 93,\n\t\t\"./nn\": 94,\n\t\t\"./nn.js\": 94,\n\t\t\"./pa-in\": 95,\n\t\t\"./pa-in.js\": 95,\n\t\t\"./pl\": 96,\n\t\t\"./pl.js\": 96,\n\t\t\"./pt\": 98,\n\t\t\"./pt-br\": 97,\n\t\t\"./pt-br.js\": 97,\n\t\t\"./pt.js\": 98,\n\t\t\"./ro\": 99,\n\t\t\"./ro.js\": 99,\n\t\t\"./ru\": 100,\n\t\t\"./ru.js\": 100,\n\t\t\"./se\": 101,\n\t\t\"./se.js\": 101,\n\t\t\"./si\": 102,\n\t\t\"./si.js\": 102,\n\t\t\"./sk\": 103,\n\t\t\"./sk.js\": 103,\n\t\t\"./sl\": 104,\n\t\t\"./sl.js\": 104,\n\t\t\"./sq\": 105,\n\t\t\"./sq.js\": 105,\n\t\t\"./sr\": 107,\n\t\t\"./sr-cyrl\": 106,\n\t\t\"./sr-cyrl.js\": 106,\n\t\t\"./sr.js\": 107,\n\t\t\"./ss\": 108,\n\t\t\"./ss.js\": 108,\n\t\t\"./sv\": 109,\n\t\t\"./sv.js\": 109,\n\t\t\"./sw\": 110,\n\t\t\"./sw.js\": 110,\n\t\t\"./ta\": 111,\n\t\t\"./ta.js\": 111,\n\t\t\"./te\": 112,\n\t\t\"./te.js\": 112,\n\t\t\"./tet\": 113,\n\t\t\"./tet.js\": 113,\n\t\t\"./th\": 114,\n\t\t\"./th.js\": 114,\n\t\t\"./tl-ph\": 115,\n\t\t\"./tl-ph.js\": 115,\n\t\t\"./tlh\": 116,\n\t\t\"./tlh.js\": 116,\n\t\t\"./tr\": 117,\n\t\t\"./tr.js\": 117,\n\t\t\"./tzl\": 118,\n\t\t\"./tzl.js\": 118,\n\t\t\"./tzm\": 120,\n\t\t\"./tzm-latn\": 119,\n\t\t\"./tzm-latn.js\": 119,\n\t\t\"./tzm.js\": 120,\n\t\t\"./uk\": 121,\n\t\t\"./uk.js\": 121,\n\t\t\"./uz\": 122,\n\t\t\"./uz.js\": 122,\n\t\t\"./vi\": 123,\n\t\t\"./vi.js\": 123,\n\t\t\"./x-pseudo\": 124,\n\t\t\"./x-pseudo.js\": 124,\n\t\t\"./yo\": 125,\n\t\t\"./yo.js\": 125,\n\t\t\"./zh-cn\": 126,\n\t\t\"./zh-cn.js\": 126,\n\t\t\"./zh-hk\": 127,\n\t\t\"./zh-hk.js\": 127,\n\t\t\"./zh-tw\": 128,\n\t\t\"./zh-tw.js\": 128\n\t};\n\tfunction webpackContext(req) {\n\t\treturn __webpack_require__(webpackContextResolve(req));\n\t};\n\tfunction webpackContextResolve(req) {\n\t\treturn map[req] || (function() { throw new Error(\"Cannot find module '\" + req + \"'.\") }());\n\t};\n\twebpackContext.keys = function webpackContextKeys() {\n\t\treturn Object.keys(map);\n\t};\n\twebpackContext.resolve = webpackContextResolve;\n\tmodule.exports = webpackContext;\n\twebpackContext.id = 176;\n\n\n/***/ },\n\n/***/ 178:\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __vue_exports__, __vue_options__\n\tvar __vue_styles__ = {}\n\t\n\t/* styles */\n\t__webpack_require__(154)\n\t\n\t/* script */\n\t__vue_exports__ = __webpack_require__(130)\n\t\n\t/* template */\n\tvar __vue_template__ = __webpack_require__(184)\n\t__vue_options__ = __vue_exports__ = __vue_exports__ || {}\n\tif (\n\t typeof __vue_exports__.default === \"object\" ||\n\t typeof __vue_exports__.default === \"function\"\n\t) {\n\t__vue_options__ = __vue_exports__ = __vue_exports__.default\n\t}\n\tif (typeof __vue_options__ === \"function\") {\n\t __vue_options__ = __vue_options__.options\n\t}\n\t\n\t__vue_options__.render = __vue_template__.render\n\t__vue_options__.staticRenderFns = __vue_template__.staticRenderFns\n\t\n\tmodule.exports = __vue_exports__\n\n\n/***/ },\n\n/***/ 179:\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __vue_exports__, __vue_options__\n\tvar __vue_styles__ = {}\n\t\n\t/* script */\n\t__vue_exports__ = __webpack_require__(131)\n\t\n\t/* template */\n\tvar __vue_template__ = __webpack_require__(183)\n\t__vue_options__ = __vue_exports__ = __vue_exports__ || {}\n\tif (\n\t typeof __vue_exports__.default === \"object\" ||\n\t typeof __vue_exports__.default === \"function\"\n\t) {\n\t__vue_options__ = __vue_exports__ = __vue_exports__.default\n\t}\n\tif (typeof __vue_options__ === \"function\") {\n\t __vue_options__ = __vue_options__.options\n\t}\n\t\n\t__vue_options__.render = __vue_template__.render\n\t__vue_options__.staticRenderFns = __vue_template__.staticRenderFns\n\t\n\tmodule.exports = __vue_exports__\n\n\n/***/ },\n\n/***/ 180:\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __vue_exports__, __vue_options__\n\tvar __vue_styles__ = {}\n\t\n\t/* script */\n\t__vue_exports__ = __webpack_require__(132)\n\t\n\t/* template */\n\tvar __vue_template__ = __webpack_require__(182)\n\t__vue_options__ = __vue_exports__ = __vue_exports__ || {}\n\tif (\n\t typeof __vue_exports__.default === \"object\" ||\n\t typeof __vue_exports__.default === \"function\"\n\t) {\n\t__vue_options__ = __vue_exports__ = __vue_exports__.default\n\t}\n\tif (typeof __vue_options__ === \"function\") {\n\t __vue_options__ = __vue_options__.options\n\t}\n\t\n\t__vue_options__.render = __vue_template__.render\n\t__vue_options__.staticRenderFns = __vue_template__.staticRenderFns\n\t\n\tmodule.exports = __vue_exports__\n\n\n/***/ },\n\n/***/ 181:\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __vue_exports__, __vue_options__\n\tvar __vue_styles__ = {}\n\t\n\t/* script */\n\t__vue_exports__ = __webpack_require__(133)\n\t\n\t/* template */\n\tvar __vue_template__ = __webpack_require__(185)\n\t__vue_options__ = __vue_exports__ = __vue_exports__ || {}\n\tif (\n\t typeof __vue_exports__.default === \"object\" ||\n\t typeof __vue_exports__.default === \"function\"\n\t) {\n\t__vue_options__ = __vue_exports__ = __vue_exports__.default\n\t}\n\tif (typeof __vue_options__ === \"function\") {\n\t __vue_options__ = __vue_options__.options\n\t}\n\t\n\t__vue_options__.render = __vue_template__.render\n\t__vue_options__.staticRenderFns = __vue_template__.staticRenderFns\n\t\n\tmodule.exports = __vue_exports__\n\n\n/***/ },\n\n/***/ 182:\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._c;\n\t return _c('router-link', {\n\t class: (\"ui \" + (_vm.item.getColor()) + \" label\"),\n\t attrs: {\n\t \"to\": (\"/problem/\" + (_vm.item.getNum())),\n\t \"id\": \"probdot\"\n\t }\n\t }, [(_vm.item.getTrans().length > 0) ? _c('i', {\n\t staticClass: \"coffee icon\"\n\t }) : _vm._e(), _vm._v(_vm._s(_vm.probNum) + \"\\r\\n\")])\n\t},staticRenderFns: []}\n\n/***/ },\n\n/***/ 183:\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._c;\n\t return _c('section', {\n\t staticClass: \"ui stackable doubling two column grid\",\n\t attrs: {\n\t \"id\": \"index\"\n\t }\n\t }, _vm._l((_vm.volumes), function(items, vol) {\n\t return _c('article', {\n\t staticClass: \"column\"\n\t }, [_c('h2', {\n\t staticClass: \"ui top attached header\"\n\t }, [_vm._v(\"Volume \" + _vm._s(vol))]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"ui bottom attached segment circular labels\"\n\t }, _vm._l((items), function(item) {\n\t return _c('prob-dot', {\n\t attrs: {\n\t \"item\": item\n\t }\n\t })\n\t }))])\n\t }))\n\t},staticRenderFns: []}\n\n/***/ },\n\n/***/ 184:\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._c;\n\t return _c('div', {\n\t staticClass: \"ui centered grid\",\n\t attrs: {\n\t \"id\": \"app\"\n\t }\n\t }, [_c('nav', {\n\t staticClass: \"ui top fixed labeled icon menu\"\n\t }, [_c('router-link', {\n\t staticClass: \"item\",\n\t attrs: {\n\t \"to\": \"/\"\n\t }\n\t }, [_c('i', {\n\t staticClass: \"home icon\"\n\t }), _vm._v(\"\\n 主頁\\n \")]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"right menu\"\n\t }, [_c('div', {\n\t staticClass: \"item\"\n\t }, [_c('div', {\n\t staticClass: \"ui transparent icon input\"\n\t }, [_c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.username),\n\t expression: \"username\"\n\t }],\n\t attrs: {\n\t \"type\": \"text\"\n\t },\n\t domProps: {\n\t \"value\": _vm._s(_vm.username)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.username = $event.target.value\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('i', {\n\t staticClass: \"user icon\"\n\t })])])])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"fourteen wide column\",\n\t attrs: {\n\t \"id\": \"content\"\n\t }\n\t }, [_c('router-view', {\n\t attrs: {\n\t \"store\": _vm.store,\n\t \"userid\": _vm.userid\n\t }\n\t })])])\n\t},staticRenderFns: []}\n\n/***/ },\n\n/***/ 185:\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._c;\n\t return _c('section', {\n\t attrs: {\n\t \"id\": \"probpage\"\n\t }\n\t }, [_c('header', {\n\t staticClass: \"ui huge header\"\n\t }, [_c('div', {\n\t staticClass: \"content\"\n\t }, [_vm._v(\"\\r\\n UVa \" + _vm._s(_vm.$route.params.num) + \"\\r\\n \"), (_vm.problem) ? _c('div', {\n\t staticClass: \"sub header\"\n\t }, [_vm._v(_vm._s(_vm.problem.getHeader()))]) : _vm._e()])]), _vm._v(\" \"), (_vm.trans.length > 0) ? _c('h3', {\n\t staticClass: \"ui header\"\n\t }, [_c('i', {\n\t staticClass: \"coffee icon\"\n\t }), _vm._v(\" \"), _vm._m(0)]) : _vm._e(), _vm._v(\" \"), (_vm.trans.length > 0) ? _c('article', _vm._l((_vm.trans), function(tran) {\n\t return _c('a', {\n\t staticClass: \"ui primary button\",\n\t attrs: {\n\t \"target\": \"_blank\",\n\t \"href\": tran.link\n\t }\n\t }, [_vm._v(_vm._s(tran.type))])\n\t })) : _vm._e(), _vm._v(\" \"), (_vm.userid) ? _c('h3', {\n\t staticClass: \"ui header\"\n\t }, [_c('i', {\n\t staticClass: \"user icon\"\n\t }), _vm._v(\" \"), _vm._m(1)]) : _vm._e(), _vm._v(\" \"), (_vm.userid) ? _c('article', [(_vm.subs.length > 0) ? _c('div', {\n\t staticClass: \"ui stackable doubling six column grid\"\n\t }, _vm._l((_vm.subs), function(sub) {\n\t return _c('div', {\n\t staticClass: \"column\"\n\t }, [_c('section', {\n\t staticClass: \"ui segment\"\n\t }, [_c('div', {\n\t class: (\"ui \" + (sub.color) + \" statistic\")\n\t }, [_c('div', {\n\t staticClass: \"value\"\n\t }, [_vm._v(_vm._s(sub.status))])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"ui list\"\n\t }, [(sub.rank > 0) ? _c('div', {\n\t staticClass: \"item\"\n\t }, [_c('i', {\n\t staticClass: \"star icon\"\n\t }), _vm._v(\" \"), _c('div', {\n\t staticClass: \"content\"\n\t }, [_vm._v(_vm._s(sub.rank))])]) : _vm._e(), _vm._v(\" \"), _vm._l((sub.others), function(other) {\n\t return _c('div', {\n\t staticClass: \"item\"\n\t }, [_c('i', {\n\t class: ((other[0]) + \" icon\")\n\t }), _vm._v(\" \"), _c('div', {\n\t staticClass: \"content\"\n\t }, [_vm._v(_vm._s(other[1]))])])\n\t })], true)])])\n\t })) : _c('div', [_c('div', {\n\t staticClass: \"column\"\n\t }, [_vm._v(\"沒有上傳紀錄。\")])]), _vm._v(\" \")]) : _vm._e(), _vm._v(\" \"), _vm._m(2), _vm._v(\" \"), (_vm.problem) ? _c('article', {\n\t staticClass: \"ui statistics\"\n\t }, _vm._l((_vm.stats), function(stat) {\n\t return _c('div', {\n\t class: ((stat.color) + \" statistic\")\n\t }, [_c('div', {\n\t staticClass: \"value\"\n\t }, [_vm._v(_vm._s(stat.count))]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"label\"\n\t }, [_vm._v(_vm._s(stat.label))])])\n\t })) : _vm._e()])\n\t},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._c;\n\t return _c('div', {\n\t staticClass: \"content\"\n\t }, [_vm._v(\"\\r\\n 翻譯\\r\\n \"), _c('div', {\n\t staticClass: \"sub header\"\n\t }, [_vm._v(\"Translates\")])])\n\t},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._c;\n\t return _c('div', {\n\t staticClass: \"content\"\n\t }, [_vm._v(\"\\r\\n 使用者狀態\\r\\n \"), _c('div', {\n\t staticClass: \"sub header\"\n\t }, [_vm._v(\"User Status\")])])\n\t},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._c;\n\t return _c('h3', {\n\t staticClass: \"ui header\"\n\t }, [_c('i', {\n\t staticClass: \"bar chart icon\"\n\t }), _vm._v(\" \"), _c('div', {\n\t staticClass: \"content\"\n\t }, [_vm._v(\"\\r\\n 統計\"), _c('div', {\n\t staticClass: \"sub header\"\n\t }, [_vm._v(\"Statistics\")])])])\n\t}]}\n\n/***/ }\n\n});\n\n\n// WEBPACK FOOTER //\n// static/js/app.67b0934e29aee7d89ec5.js","// The Vue build version to load with the `import` command\r\n// (runtime-only or standalone) has been set in webpack.base.conf with an alias.\r\nimport Vue from 'vue'\r\nimport VueRouter from 'vue-router'\r\nimport App from './App'\r\n\r\nVue.use(VueRouter)\r\n\r\nconst routes = require('./routes')\r\n\r\nconst router = new VueRouter({\r\n routes\r\n})\r\n\r\nconst app = new Vue({\r\n router,\r\n template: '',\r\n components: { App }\r\n}).$mount('#app')\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/main.js","import _ from 'lodash'\r\nimport $ from 'jquery'\r\nimport yaml from 'js-yaml'\r\nimport moment from 'moment'\r\n\r\n/*\r\n [0] => state name\r\n [1] => brief state name\r\n [2] => position in problem API\r\n [3] => verdict ID\r\n [4] => color\r\n*/\r\nconst _state_info = [\r\n ['Accepted', 'AC', 18, 90, 'green'],\r\n ['Presentation Error', 'PE', 17, 80, 'olive'],\r\n ['Wrong Answer', 'WA', 16, 70, 'red'],\r\n ['Compilation Error', 'CE', 10, 30, 'yellow'],\r\n ['Runtime Error', 'RE', 12, 40, 'teal'],\r\n ['Time Limit Exceeded', 'TLE', 14, 50, 'blue'],\r\n ['Output Limit Exceeded', 'OLE', 13, 45, 'purple'],\r\n ['Memory Limit Exceeded', 'MLE', 15, 60, 'violet'],\r\n ['Restricted Function', 'RF', 11, 35, 'pink'],\r\n ['Submission Error', 'SE', 7, 10, 'black'],\r\n ['Can\\'t be Judged', 'NJ', 8, 15, 'brown'],\r\n ['In Queue', 'InQ', 9, 20, 'gray']\r\n]\r\nconst _rev_verdict = _.keyBy(_state_info, info => info[3])\r\nconst _lang_list = [undefined, 'ANSI C', 'Java', 'C++', 'Pascal', 'C++11']\r\n\r\nclass Submission {\r\n constructor(sub) {\r\n this.data = sub\r\n this.info = _rev_verdict[this.getVer()] || []\r\n }\r\n getData() { return this.data }\r\n getId() { return this.data[0] }\r\n getProbId() { return this.data[1] }\r\n getVer() { return this.data[2] }\r\n getRuntime() { return this.data[3] }\r\n getTime() { return moment.unix(this.data[4]) }\r\n getLang() { return _lang_list[this.data[5]] || 'unknown' }\r\n getRank() { return this.data[6] }\r\n getFullStatus() { return this.info[0] || 'unknown' }\r\n getStatus() { return this.info[1] || 'unknown' }\r\n getColor() { return this.info[4] || 'basic' }\r\n}\r\n\r\nconst noneSub = new Submission(Array(6))\r\n\r\nclass Problem {\r\n constructor(id, prob) {\r\n this.id = id\r\n this.prob = prob\r\n this.info = []\r\n }\r\n registerSubmissions(subs) {\r\n this.subs = subs\r\n // find first state that # of submission is NOT zero\r\n const compare = _.countBy(subs, sub => sub.getVer())\r\n this.info = _\r\n .chain(_state_info)\r\n .find(state => compare[ state[3] ])\r\n .value()\r\n return this\r\n }\r\n getData() { return this.prob }\r\n getId() { return this.prob[0] }\r\n getNum() { return this.prob[1] }\r\n getHeader() { return this.prob[2] }\r\n getIdNum() { return this.prob.slice(0, 2) }\r\n getSubs() { return this.subs }\r\n getSubsProbId() { return _.map(this.subs, sub => sub.getProbId()) }\r\n getSubsVer() { return _.map(this.subs, sub => sub.getVer()) }\r\n getColor() { return this.info[4] || 'basic' }\r\n getTrans() { return this.trans || [] }\r\n getStats() {\r\n const p = this\r\n return _state_info.map(stat => {\r\n return {\r\n label: stat[1],\r\n color: stat[4],\r\n count: p.prob[ stat[2] ]\r\n }\r\n })\r\n }\r\n}\r\n\r\nconst _domain = 'http://uhunt.felix-halim.net/api'\r\nconst endpoint = (ep) => $.getJSON(_domain + ep)\r\n\r\nconst _getYaml = path_to_file => $\r\n .get(path_to_file)\r\n .then(data => yaml.load(data))\r\n\r\nmodule.exports = {\r\n uva: endpoint,\r\n getYaml: _getYaml,\r\n Submission: Submission,\r\n Problem: Problem\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/scripts/uhunt.js","\r\n\r\n\r\n\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// App.vue?73b9b5a1","\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// Index.vue?dae9aec4","\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ProbDot.vue?9db4e112","\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ProbPage.vue?6d9f1648","import Index from './components/Index'\r\nimport ProbPage from './components/ProbPage'\r\n\r\nmodule.exports = [\r\n { path: '/', component: Index },\r\n { path: '/problem/:num', component: ProbPage }\r\n]\n\n\n// WEBPACK FOOTER //\n// ./src/routes.js","var map = {\n\t\"./af\": 21,\n\t\"./af.js\": 21,\n\t\"./ar\": 27,\n\t\"./ar-dz\": 22,\n\t\"./ar-dz.js\": 22,\n\t\"./ar-ly\": 23,\n\t\"./ar-ly.js\": 23,\n\t\"./ar-ma\": 24,\n\t\"./ar-ma.js\": 24,\n\t\"./ar-sa\": 25,\n\t\"./ar-sa.js\": 25,\n\t\"./ar-tn\": 26,\n\t\"./ar-tn.js\": 26,\n\t\"./ar.js\": 27,\n\t\"./az\": 28,\n\t\"./az.js\": 28,\n\t\"./be\": 29,\n\t\"./be.js\": 29,\n\t\"./bg\": 30,\n\t\"./bg.js\": 30,\n\t\"./bn\": 31,\n\t\"./bn.js\": 31,\n\t\"./bo\": 32,\n\t\"./bo.js\": 32,\n\t\"./br\": 33,\n\t\"./br.js\": 33,\n\t\"./bs\": 34,\n\t\"./bs.js\": 34,\n\t\"./ca\": 35,\n\t\"./ca.js\": 35,\n\t\"./cs\": 36,\n\t\"./cs.js\": 36,\n\t\"./cv\": 37,\n\t\"./cv.js\": 37,\n\t\"./cy\": 38,\n\t\"./cy.js\": 38,\n\t\"./da\": 39,\n\t\"./da.js\": 39,\n\t\"./de\": 41,\n\t\"./de-at\": 40,\n\t\"./de-at.js\": 40,\n\t\"./de.js\": 41,\n\t\"./dv\": 42,\n\t\"./dv.js\": 42,\n\t\"./el\": 43,\n\t\"./el.js\": 43,\n\t\"./en-au\": 44,\n\t\"./en-au.js\": 44,\n\t\"./en-ca\": 45,\n\t\"./en-ca.js\": 45,\n\t\"./en-gb\": 46,\n\t\"./en-gb.js\": 46,\n\t\"./en-ie\": 47,\n\t\"./en-ie.js\": 47,\n\t\"./en-nz\": 48,\n\t\"./en-nz.js\": 48,\n\t\"./eo\": 49,\n\t\"./eo.js\": 49,\n\t\"./es\": 51,\n\t\"./es-do\": 50,\n\t\"./es-do.js\": 50,\n\t\"./es.js\": 51,\n\t\"./et\": 52,\n\t\"./et.js\": 52,\n\t\"./eu\": 53,\n\t\"./eu.js\": 53,\n\t\"./fa\": 54,\n\t\"./fa.js\": 54,\n\t\"./fi\": 55,\n\t\"./fi.js\": 55,\n\t\"./fo\": 56,\n\t\"./fo.js\": 56,\n\t\"./fr\": 59,\n\t\"./fr-ca\": 57,\n\t\"./fr-ca.js\": 57,\n\t\"./fr-ch\": 58,\n\t\"./fr-ch.js\": 58,\n\t\"./fr.js\": 59,\n\t\"./fy\": 60,\n\t\"./fy.js\": 60,\n\t\"./gd\": 61,\n\t\"./gd.js\": 61,\n\t\"./gl\": 62,\n\t\"./gl.js\": 62,\n\t\"./he\": 63,\n\t\"./he.js\": 63,\n\t\"./hi\": 64,\n\t\"./hi.js\": 64,\n\t\"./hr\": 65,\n\t\"./hr.js\": 65,\n\t\"./hu\": 66,\n\t\"./hu.js\": 66,\n\t\"./hy-am\": 67,\n\t\"./hy-am.js\": 67,\n\t\"./id\": 68,\n\t\"./id.js\": 68,\n\t\"./is\": 69,\n\t\"./is.js\": 69,\n\t\"./it\": 70,\n\t\"./it.js\": 70,\n\t\"./ja\": 71,\n\t\"./ja.js\": 71,\n\t\"./jv\": 72,\n\t\"./jv.js\": 72,\n\t\"./ka\": 73,\n\t\"./ka.js\": 73,\n\t\"./kk\": 74,\n\t\"./kk.js\": 74,\n\t\"./km\": 75,\n\t\"./km.js\": 75,\n\t\"./ko\": 76,\n\t\"./ko.js\": 76,\n\t\"./ky\": 77,\n\t\"./ky.js\": 77,\n\t\"./lb\": 78,\n\t\"./lb.js\": 78,\n\t\"./lo\": 79,\n\t\"./lo.js\": 79,\n\t\"./lt\": 80,\n\t\"./lt.js\": 80,\n\t\"./lv\": 81,\n\t\"./lv.js\": 81,\n\t\"./me\": 82,\n\t\"./me.js\": 82,\n\t\"./mi\": 83,\n\t\"./mi.js\": 83,\n\t\"./mk\": 84,\n\t\"./mk.js\": 84,\n\t\"./ml\": 85,\n\t\"./ml.js\": 85,\n\t\"./mr\": 86,\n\t\"./mr.js\": 86,\n\t\"./ms\": 88,\n\t\"./ms-my\": 87,\n\t\"./ms-my.js\": 87,\n\t\"./ms.js\": 88,\n\t\"./my\": 89,\n\t\"./my.js\": 89,\n\t\"./nb\": 90,\n\t\"./nb.js\": 90,\n\t\"./ne\": 91,\n\t\"./ne.js\": 91,\n\t\"./nl\": 93,\n\t\"./nl-be\": 92,\n\t\"./nl-be.js\": 92,\n\t\"./nl.js\": 93,\n\t\"./nn\": 94,\n\t\"./nn.js\": 94,\n\t\"./pa-in\": 95,\n\t\"./pa-in.js\": 95,\n\t\"./pl\": 96,\n\t\"./pl.js\": 96,\n\t\"./pt\": 98,\n\t\"./pt-br\": 97,\n\t\"./pt-br.js\": 97,\n\t\"./pt.js\": 98,\n\t\"./ro\": 99,\n\t\"./ro.js\": 99,\n\t\"./ru\": 100,\n\t\"./ru.js\": 100,\n\t\"./se\": 101,\n\t\"./se.js\": 101,\n\t\"./si\": 102,\n\t\"./si.js\": 102,\n\t\"./sk\": 103,\n\t\"./sk.js\": 103,\n\t\"./sl\": 104,\n\t\"./sl.js\": 104,\n\t\"./sq\": 105,\n\t\"./sq.js\": 105,\n\t\"./sr\": 107,\n\t\"./sr-cyrl\": 106,\n\t\"./sr-cyrl.js\": 106,\n\t\"./sr.js\": 107,\n\t\"./ss\": 108,\n\t\"./ss.js\": 108,\n\t\"./sv\": 109,\n\t\"./sv.js\": 109,\n\t\"./sw\": 110,\n\t\"./sw.js\": 110,\n\t\"./ta\": 111,\n\t\"./ta.js\": 111,\n\t\"./te\": 112,\n\t\"./te.js\": 112,\n\t\"./tet\": 113,\n\t\"./tet.js\": 113,\n\t\"./th\": 114,\n\t\"./th.js\": 114,\n\t\"./tl-ph\": 115,\n\t\"./tl-ph.js\": 115,\n\t\"./tlh\": 116,\n\t\"./tlh.js\": 116,\n\t\"./tr\": 117,\n\t\"./tr.js\": 117,\n\t\"./tzl\": 118,\n\t\"./tzl.js\": 118,\n\t\"./tzm\": 120,\n\t\"./tzm-latn\": 119,\n\t\"./tzm-latn.js\": 119,\n\t\"./tzm.js\": 120,\n\t\"./uk\": 121,\n\t\"./uk.js\": 121,\n\t\"./uz\": 122,\n\t\"./uz.js\": 122,\n\t\"./vi\": 123,\n\t\"./vi.js\": 123,\n\t\"./x-pseudo\": 124,\n\t\"./x-pseudo.js\": 124,\n\t\"./yo\": 125,\n\t\"./yo.js\": 125,\n\t\"./zh-cn\": 126,\n\t\"./zh-cn.js\": 126,\n\t\"./zh-hk\": 127,\n\t\"./zh-hk.js\": 127,\n\t\"./zh-tw\": 128,\n\t\"./zh-tw.js\": 128\n};\nfunction webpackContext(req) {\n\treturn __webpack_require__(webpackContextResolve(req));\n};\nfunction webpackContextResolve(req) {\n\treturn map[req] || (function() { throw new Error(\"Cannot find module '\" + req + \"'.\") }());\n};\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 176;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/moment/locale ^\\.\\/.*$\n// module id = 176\n// module chunks = 2","var __vue_exports__, __vue_options__\nvar __vue_styles__ = {}\n\n/* styles */\nrequire(\"!!./../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!vue-loader/lib/style-rewriter?id=data-v-a7bf9bb0!vue-loader/lib/selector?type=styles&index=0!./App.vue\")\n\n/* script */\n__vue_exports__ = require(\"!!babel-loader!vue-loader/lib/selector?type=script&index=0!./App.vue\")\n\n/* template */\nvar __vue_template__ = require(\"!!vue-loader/lib/template-compiler?id=data-v-a7bf9bb0!vue-loader/lib/selector?type=template&index=0!./App.vue\")\n__vue_options__ = __vue_exports__ = __vue_exports__ || {}\nif (\n typeof __vue_exports__.default === \"object\" ||\n typeof __vue_exports__.default === \"function\"\n) {\n__vue_options__ = __vue_exports__ = __vue_exports__.default\n}\nif (typeof __vue_options__ === \"function\") {\n __vue_options__ = __vue_options__.options\n}\n\n__vue_options__.render = __vue_template__.render\n__vue_options__.staticRenderFns = __vue_template__.staticRenderFns\n\nmodule.exports = __vue_exports__\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/App.vue\n// module id = 178\n// module chunks = 2","var __vue_exports__, __vue_options__\nvar __vue_styles__ = {}\n\n/* script */\n__vue_exports__ = require(\"!!babel-loader!vue-loader/lib/selector?type=script&index=0!./Index.vue\")\n\n/* template */\nvar __vue_template__ = require(\"!!vue-loader/lib/template-compiler?id=data-v-65013355!vue-loader/lib/selector?type=template&index=0!./Index.vue\")\n__vue_options__ = __vue_exports__ = __vue_exports__ || {}\nif (\n typeof __vue_exports__.default === \"object\" ||\n typeof __vue_exports__.default === \"function\"\n) {\n__vue_options__ = __vue_exports__ = __vue_exports__.default\n}\nif (typeof __vue_options__ === \"function\") {\n __vue_options__ = __vue_options__.options\n}\n\n__vue_options__.render = __vue_template__.render\n__vue_options__.staticRenderFns = __vue_template__.staticRenderFns\n\nmodule.exports = __vue_exports__\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/Index.vue\n// module id = 179\n// module chunks = 2","var __vue_exports__, __vue_options__\nvar __vue_styles__ = {}\n\n/* script */\n__vue_exports__ = require(\"!!babel-loader!vue-loader/lib/selector?type=script&index=0!./ProbDot.vue\")\n\n/* template */\nvar __vue_template__ = require(\"!!vue-loader/lib/template-compiler?id=data-v-37bf2f12!vue-loader/lib/selector?type=template&index=0!./ProbDot.vue\")\n__vue_options__ = __vue_exports__ = __vue_exports__ || {}\nif (\n typeof __vue_exports__.default === \"object\" ||\n typeof __vue_exports__.default === \"function\"\n) {\n__vue_options__ = __vue_exports__ = __vue_exports__.default\n}\nif (typeof __vue_options__ === \"function\") {\n __vue_options__ = __vue_options__.options\n}\n\n__vue_options__.render = __vue_template__.render\n__vue_options__.staticRenderFns = __vue_template__.staticRenderFns\n\nmodule.exports = __vue_exports__\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/ProbDot.vue\n// module id = 180\n// module chunks = 2","var __vue_exports__, __vue_options__\nvar __vue_styles__ = {}\n\n/* script */\n__vue_exports__ = require(\"!!babel-loader!vue-loader/lib/selector?type=script&index=0!./ProbPage.vue\")\n\n/* template */\nvar __vue_template__ = require(\"!!vue-loader/lib/template-compiler?id=data-v-f2ca495e!vue-loader/lib/selector?type=template&index=0!./ProbPage.vue\")\n__vue_options__ = __vue_exports__ = __vue_exports__ || {}\nif (\n typeof __vue_exports__.default === \"object\" ||\n typeof __vue_exports__.default === \"function\"\n) {\n__vue_options__ = __vue_exports__ = __vue_exports__.default\n}\nif (typeof __vue_options__ === \"function\") {\n __vue_options__ = __vue_options__.options\n}\n\n__vue_options__.render = __vue_template__.render\n__vue_options__.staticRenderFns = __vue_template__.staticRenderFns\n\nmodule.exports = __vue_exports__\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/ProbPage.vue\n// module id = 181\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._c;\n return _c('router-link', {\n class: (\"ui \" + (_vm.item.getColor()) + \" label\"),\n attrs: {\n \"to\": (\"/problem/\" + (_vm.item.getNum())),\n \"id\": \"probdot\"\n }\n }, [(_vm.item.getTrans().length > 0) ? _c('i', {\n staticClass: \"coffee icon\"\n }) : _vm._e(), _vm._v(_vm._s(_vm.probNum) + \"\\r\\n\")])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?id=data-v-37bf2f12!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/ProbDot.vue\n// module id = 182\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._c;\n return _c('section', {\n staticClass: \"ui stackable doubling two column grid\",\n attrs: {\n \"id\": \"index\"\n }\n }, _vm._l((_vm.volumes), function(items, vol) {\n return _c('article', {\n staticClass: \"column\"\n }, [_c('h2', {\n staticClass: \"ui top attached header\"\n }, [_vm._v(\"Volume \" + _vm._s(vol))]), _vm._v(\" \"), _c('div', {\n staticClass: \"ui bottom attached segment circular labels\"\n }, _vm._l((items), function(item) {\n return _c('prob-dot', {\n attrs: {\n \"item\": item\n }\n })\n }))])\n }))\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?id=data-v-65013355!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/Index.vue\n// module id = 183\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._c;\n return _c('div', {\n staticClass: \"ui centered grid\",\n attrs: {\n \"id\": \"app\"\n }\n }, [_c('nav', {\n staticClass: \"ui top fixed labeled icon menu\"\n }, [_c('router-link', {\n staticClass: \"item\",\n attrs: {\n \"to\": \"/\"\n }\n }, [_c('i', {\n staticClass: \"home icon\"\n }), _vm._v(\"\\n 主頁\\n \")]), _vm._v(\" \"), _c('div', {\n staticClass: \"right menu\"\n }, [_c('div', {\n staticClass: \"item\"\n }, [_c('div', {\n staticClass: \"ui transparent icon input\"\n }, [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.username),\n expression: \"username\"\n }],\n attrs: {\n \"type\": \"text\"\n },\n domProps: {\n \"value\": _vm._s(_vm.username)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.username = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('i', {\n staticClass: \"user icon\"\n })])])])]), _vm._v(\" \"), _c('div', {\n staticClass: \"fourteen wide column\",\n attrs: {\n \"id\": \"content\"\n }\n }, [_c('router-view', {\n attrs: {\n \"store\": _vm.store,\n \"userid\": _vm.userid\n }\n })])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?id=data-v-a7bf9bb0!./~/vue-loader/lib/selector.js?type=template&index=0!./src/App.vue\n// module id = 184\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._c;\n return _c('section', {\n attrs: {\n \"id\": \"probpage\"\n }\n }, [_c('header', {\n staticClass: \"ui huge header\"\n }, [_c('div', {\n staticClass: \"content\"\n }, [_vm._v(\"\\r\\n UVa \" + _vm._s(_vm.$route.params.num) + \"\\r\\n \"), (_vm.problem) ? _c('div', {\n staticClass: \"sub header\"\n }, [_vm._v(_vm._s(_vm.problem.getHeader()))]) : _vm._e()])]), _vm._v(\" \"), (_vm.trans.length > 0) ? _c('h3', {\n staticClass: \"ui header\"\n }, [_c('i', {\n staticClass: \"coffee icon\"\n }), _vm._v(\" \"), _vm._m(0)]) : _vm._e(), _vm._v(\" \"), (_vm.trans.length > 0) ? _c('article', _vm._l((_vm.trans), function(tran) {\n return _c('a', {\n staticClass: \"ui primary button\",\n attrs: {\n \"target\": \"_blank\",\n \"href\": tran.link\n }\n }, [_vm._v(_vm._s(tran.type))])\n })) : _vm._e(), _vm._v(\" \"), (_vm.userid) ? _c('h3', {\n staticClass: \"ui header\"\n }, [_c('i', {\n staticClass: \"user icon\"\n }), _vm._v(\" \"), _vm._m(1)]) : _vm._e(), _vm._v(\" \"), (_vm.userid) ? _c('article', [(_vm.subs.length > 0) ? _c('div', {\n staticClass: \"ui stackable doubling six column grid\"\n }, _vm._l((_vm.subs), function(sub) {\n return _c('div', {\n staticClass: \"column\"\n }, [_c('section', {\n staticClass: \"ui segment\"\n }, [_c('div', {\n class: (\"ui \" + (sub.color) + \" statistic\")\n }, [_c('div', {\n staticClass: \"value\"\n }, [_vm._v(_vm._s(sub.status))])]), _vm._v(\" \"), _c('div', {\n staticClass: \"ui list\"\n }, [(sub.rank > 0) ? _c('div', {\n staticClass: \"item\"\n }, [_c('i', {\n staticClass: \"star icon\"\n }), _vm._v(\" \"), _c('div', {\n staticClass: \"content\"\n }, [_vm._v(_vm._s(sub.rank))])]) : _vm._e(), _vm._v(\" \"), _vm._l((sub.others), function(other) {\n return _c('div', {\n staticClass: \"item\"\n }, [_c('i', {\n class: ((other[0]) + \" icon\")\n }), _vm._v(\" \"), _c('div', {\n staticClass: \"content\"\n }, [_vm._v(_vm._s(other[1]))])])\n })], true)])])\n })) : _c('div', [_c('div', {\n staticClass: \"column\"\n }, [_vm._v(\"沒有上傳紀錄。\")])]), _vm._v(\" \")]) : _vm._e(), _vm._v(\" \"), _vm._m(2), _vm._v(\" \"), (_vm.problem) ? _c('article', {\n staticClass: \"ui statistics\"\n }, _vm._l((_vm.stats), function(stat) {\n return _c('div', {\n class: ((stat.color) + \" statistic\")\n }, [_c('div', {\n staticClass: \"value\"\n }, [_vm._v(_vm._s(stat.count))]), _vm._v(\" \"), _c('div', {\n staticClass: \"label\"\n }, [_vm._v(_vm._s(stat.label))])])\n })) : _vm._e()])\n},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._c;\n return _c('div', {\n staticClass: \"content\"\n }, [_vm._v(\"\\r\\n 翻譯\\r\\n \"), _c('div', {\n staticClass: \"sub header\"\n }, [_vm._v(\"Translates\")])])\n},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._c;\n return _c('div', {\n staticClass: \"content\"\n }, [_vm._v(\"\\r\\n 使用者狀態\\r\\n \"), _c('div', {\n staticClass: \"sub header\"\n }, [_vm._v(\"User Status\")])])\n},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._c;\n return _c('h3', {\n staticClass: \"ui header\"\n }, [_c('i', {\n staticClass: \"bar chart icon\"\n }), _vm._v(\" \"), _c('div', {\n staticClass: \"content\"\n }, [_vm._v(\"\\r\\n 統計\"), _c('div', {\n staticClass: \"sub header\"\n }, [_vm._v(\"Statistics\")])])])\n}]}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?id=data-v-f2ca495e!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/ProbPage.vue\n// module id = 185\n// module chunks = 2"],"sourceRoot":""} \ No newline at end of file diff --git a/static/js/manifest.e5d2d671e42d2814c90c.js b/static/js/manifest.1c5415ccda27fdb42d41.js similarity index 77% rename from static/js/manifest.e5d2d671e42d2814c90c.js rename to static/js/manifest.1c5415ccda27fdb42d41.js index 6f4461e..d0c0c79 100644 --- a/static/js/manifest.e5d2d671e42d2814c90c.js +++ b/static/js/manifest.1c5415ccda27fdb42d41.js @@ -1,2 +1,2 @@ -!function(e){function t(n){if(a[n])return a[n].exports;var r=a[n]={exports:{},id:n,loaded:!1};return e[n].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n=window.webpackJsonp;window.webpackJsonp=function(c,o){for(var p,s,i=0,l=[];i