(function(e){function t(t){for(var r,o,p=t[0],i=t[1],s=t[2],d=0,c=[];d
0)d.addImage(s,"JPEG",0,u,p,i),a-=o,u-=841.89,a>0&&d.addPage();d.save(e+".pdf")}))}}},ne=n("1aa9");o["default"].use(q.a),o["default"].use(te),p.a.defaults.withCredentials=!0,o["default"].prototype.$http=p.a,p.a.interceptors.request.use((function(e){return ne["e"]||(e.url="/rest/diagnosis"+e.url),e})),p.a.interceptors.response.use((function(e){return e}),(function(e){return"401"!=e.response.status&&"403"!=e.response.status||J.replace({path:"/index"}),Promise.reject(e)})),J.onError((function(e){console.log(e)})),o["default"].filter("removeIndex",(function(e){var t="";return Number.isNaN(Number.parseInt(e[0]))||(t=e.replace(e[0],"")),Number.isNaN(Number.parseInt(t[0]))||(t=t.replace(e[0],"")),t})),new o["default"]({el:"#app",router:J,store:f,render:function(e){return e(a["default"])}})},"7ded":function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return u})),n.d(t,"e",(function(){return p})),n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return s}));var r=n("bc3a"),o=n.n(r);function a(e){var t=e.username,n=e.password,r=e.loginFrom;return o()({method:"post",url:"/login",data:{username:t,password:n,loginFrom:r},transformRequest:[function(e){var t="";for(var n in e)t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n])+"&";return t}],headers:{}}).then((function(e){return e.data}))}function u(e){return o.a.get("/open/user/checkUsername?username="+e).then((function(e){return e.data}))}function p(e){return o()({method:"post",url:"/open/user/register",data:e}).then((function(e){return e.data}))}function i(){return o.a.get("/self/info").then((function(e){return e.data}))}function s(){return o.a.get("/logout").then((function(e){return e.data}))}},"94d5":function(e,t){},"9d90":function(e,t,n){},e810:function(e,t,n){"use strict";var r=n("478b"),o=n.n(r);o.a}});