webpackJsonp([0],{"./node_modules/event-source-polyfill/src/eventsource.js":function(t,e){/** @license * eventsource.js * Available under MIT License (MIT) * https://github.com/Yaffle/EventSource/ */ !function(t){"use strict";function e(){this.bitsNeeded=0,this.codePoint=0}function n(t){this.withCredentials=!1,this.responseType="",this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=A,this.onreadystatechange=A,this._contentType="",this._xhr=t,this._sendTimeout=0,this._abort=A}function o(t){return t.replace(/[A-Z]/g,function(t){return String.fromCharCode(t.charCodeAt(0)+32)})}function r(t){for(var e=Object.create(null),n=t.split("\r\n"),r=0;r=128>>e&&t<=2048>>e&&t<=57344>>e&&t<=65536>>e&&t<>6>15?3:e>31?2:1;if(12===t)return e>15?3:2;if(18===t)return 3;throw new Error}for(var o="",r=this.bitsNeeded,i=this.codePoint,s=0;s191||!e(i<<6|63&a,r-6,n(r,i)))&&(r=0,i=65533,o+=String.fromCharCode(i)),0===r?(a>=0&&a<=127?(r=0,i=a):a>=192&&a<=223?(r=6,i=31&a):a>=224&&a<=239?(r=12,i=15&a):a>=240&&a<=247?(r=18,i=7&a):(r=0,i=65533),0===r||e(i,r,n(r,i))||(r=0,i=65533)):(r-=6,i=i<<6|63&a),0===r&&(i<=65535?o+=String.fromCharCode(i):(o+=String.fromCharCode(55296+(i-65535-1>>10)),o+=String.fromCharCode(56320+(i-65535-1&1023))))}return this.bitsNeeded=r,this.codePoint=i,o};void 0!=_&&void 0!=x&&function(){try{return"test"===(new _).decode((new x).encode("test"),{stream:!0})}catch(t){console.log(t)}return!1}()||(_=e);var A=function(){};n.prototype.open=function(t,e){this._abort(!0);var n=this,o=this._xhr,r=1,i=0;this._abort=function(t){0!==n._sendTimeout&&(g(n._sendTimeout),n._sendTimeout=0),1!==r&&2!==r&&3!==r||(r=4,o.onload=A,o.onerror=A,o.onabort=A,o.onprogress=A,o.onreadystatechange=A,o.abort(),0!==i&&(g(i),i=0),t||(n.readyState=4,n.onreadystatechange())),r=0};var s=function(){if(1===r){var t=0,e="",i=void 0;if("contentType"in o)t=200,e="OK",i=o.contentType;else try{t=o.status,e=o.statusText,i=o.getResponseHeader("Content-Type")}catch(n){t=0,e="",i=void 0}0!==t&&(r=2,n.readyState=2,n.status=t,n.statusText=e,n._contentType=i,n.onreadystatechange())}},a=function(){if(s(),2===r||3===r){r=3;var t="";try{t=o.responseText}catch(t){}n.readyState=3,n.responseText=t,n.onprogress()}},c=function(){a(),1!==r&&2!==r&&3!==r||(r=4,0!==i&&(g(i),i=0),n.readyState=4,n.onreadystatechange())},d=function(){void 0!=o&&(4===o.readyState?c():3===o.readyState?a():2===o.readyState&&s())},h=function(){i=y(function(){h()},500),3===o.readyState&&a()};o.onload=c,o.onerror=c,o.onabort=c,"sendAsBinary"in T.prototype||"mozAnon"in T.prototype||(o.onprogress=a),o.onreadystatechange=d,"contentType"in o&&(e+=(-1===e.indexOf("?")?"?":"&")+"padding=true"),o.open(t,e,!0),"readyState"in o&&(i=y(function(){h()},0))},n.prototype.abort=function(){this._abort(!1)},n.prototype.getResponseHeader=function(t){return this._contentType},n.prototype.setRequestHeader=function(t,e){var n=this._xhr;"setRequestHeader"in n&&n.setRequestHeader(t,e)},n.prototype.getAllResponseHeaders=function(){return void 0!=this._xhr.getAllResponseHeaders?this._xhr.getAllResponseHeaders():""},n.prototype.send=function(){if(!("ontimeout"in T.prototype)&&void 0!=m&&void 0!=m.readyState&&"complete"!==m.readyState){var t=this;return void(t._sendTimeout=y(function(){t._sendTimeout=0,t.send()},4))}var e=this._xhr;e.withCredentials=this.withCredentials,e.responseType=this.responseType;try{e.send(void 0)}catch(t){throw t}},r.prototype.get=function(t){return this._map[o(t)]},i.prototype.open=function(t,e,n,o,i,s,a){t.open("GET",i);var c=0;t.onprogress=function(){var e=t.responseText,o=e.slice(c);c+=o.length,n(o)},t.onreadystatechange=function(){if(2===t.readyState){var n=t.status,i=t.statusText,s=t.getResponseHeader("Content-Type"),a=t.getAllResponseHeaders();e(n,i,s,new r(a),function(){t.abort()})}else 4===t.readyState&&o()},t.withCredentials=s,t.responseType="text";for(var d in a)Object.prototype.hasOwnProperty.call(a,d)&&t.setRequestHeader(d,a[d]);t.send()},s.prototype.get=function(t){return this._headers.get(t)},a.prototype.open=function(t,e,n,o,r,i,a){var c=new _;b(r,{headers:a,credentials:i?"include":"same-origin"}).then(function(t){var o=t.body.getReader();return e(t.status,t.statusText,t.headers.get("Content-Type"),new s(t.headers),function(){o.cancel()}),new S(function(t,e){var r=function(){o.read().then(function(e){if(e.done)t(void 0);else{var o=c.decode(e.value,{stream:!0});n(o),r()}}).catch(function(t){e(t)})};r()})}).finally(function(){o()})},c.prototype.dispatchEvent=function(t){t.target=this;var e=this._listeners[t.type];if(void 0!=e)for(var n=e.length,o=0;o