!function(e){functiont(t){for(vara,r,s=t[0],l=t[1],c=t[2],u=0,p=[];u<s.length;u++)r=s[u],o[r]&&p.push(o[r][0]),o[r]=0;for(ainl)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a]);for(d&&d(t);p.length;)p.shift()();returni.push.apply(i,c||[]),n()}functionn(){for(vare,t=0;t<i.length;t++){for(varn=i[t],a=!0,s=1;s<n.length;s++){varl=n[s];0!==o[l]&&(a=!1)}a&&(i.splice(t--,1),e=r(r.s=n[0]))}returne}vara={},o={0:0},i=[];functionr(t){if(a[t])returna[t].exports;varn=a[t]={i:t,l:!1,exports:{}};returne[t].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.m=e,r.c=a,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeofSymbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)returne;if(4&t&&"object"==typeofe&&e&&e.__esModule)returne;varn=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeofe)for(varaine)r.d(n,a,function(t){returne[t]}.bind(null,a));returnn},r.n=function(e){vart=e&&e.__esModule?function(){returne.default}:function(){returne};returnr.d(t,"a",t),t},r.o=function(e,t){returnObject.prototype.hasOwnProperty.call(e,t)},r.p="";vars=window.webpackJsonp=window.webpackJsonp||[],l=s.push.bind(s);s.push=t,s=s.slice();for(varc=0;c<s.length;c++)t(s[c]);vard=l;i.push([29,1]),n()}([,,function(e,t,n){"use strict";vara=n(0),o=n.n(a);t.a=o.a.module("webui.services.alerts",["webui.services.deps"]).factory("$alerts",["$_",function(e){vart=[];return{addAlert:function(){varn=Array.prototype.slice.call(arguments,0);setTimeout(function(){e.each(t,function(e){e.apply({},n)})},0)},addAlerter:function(e){t.push(e)},log:function(e){this.addAlert(e,"info")}}}]).name},function(e,t,n){"use strict";vara=n(0),o=n.n(a);t.a=o.a.module("webui.services.base64",[]).factory("$base64",[function(){vare={},t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={indexOf:function(e){returne.charCodeAt(0)},charAt:String.fromCharCode};functiona(e,t,n,a,o,i){varr,s,l,c=0,d="",u=1,p=1,h=(e=String(e)).length;for(r=0;r<h||!t&&p>1;r+=1){if(c*=o,u*=o,r<h){if((s=n.indexOf(e.charAt(r)))<=-1||s>=o)thrownewRangeError;p*=o,c+=s}for(;u>=i;)u/=i,p>1&&(l=c,c%=u,d+=a.charAt((l-c)/u),p/=i)}returnd}returne.btoa=function(e){return(e=a(e,!1,n,t,256,64))+"====".slice(e.length%4||4)},e.atob=function(e){varo;for(o=(e=String(e).split("=")).length-1;o>=0;o-=1){if(e[o].length%4==1)thrownewRangeError;e[o]=a(e[o],!0,t,n,64,256)}returne.join("")},e}]).name},function(e,t,n){"use strict";vara=n(0),o=n.n(a);t.a=o.a.module("webui.services.configuration",[]).constant("$name","Aria2 WebUI").constant("$titlePattern","active: {active} - waiting: {waiting} - stopped: {stopped} — {name}").constant("$pageSize",11).constant("$authconf",{host:location.protocol.startsWith("http")?location.hostname:"localhost",path:"/jsonrpc",port:6800,encrypt:!1,auth:{},directURL:""}).constant("$enable",{torrent:!0,metalink:!0,sidebar:{show:!0,stats:!0,filters:!0,starredProps:!0}}).constant("$starredProps",["dir","conf-path","auto-file-renaming","max-connection-per-server"]).constant("$downloadProps",["header","http-user","http-passwd","pause","dir","max-connection-per-server"]).constant("$globalTimeout",1e3).name},function(e,t,n){"use strict";vara=n(0),o=n.n(a),i=n(1),r=n.n(i),s=n(6),l=n.n(s);t.a=o.a.module("webui.services.deps",[]).value("$",r.a).value("$_",l.a).value("$json",JSON).name},,function(e,t,n){"use strict";vara=n(0),o=n.n(a);t.a=o.a.module("webui.services.errors",[]).value("$getErrorStatus",function(e){switch(e-=1){case0:return"download was unsuccessful";case1:return"unknown error occurred";case2:return"time out occurred";case3:return"resource was not found";case4:return'aria2 saw the specified number of "resource not found" error. See --max-file-not-found option';case5:return"download aborted because download speed was too slow. See --lowest-speed-limit option";case6:return"therewereunfinished