nsolid-manager
Version:
A manager that sets up and runs N|Solid for you
2 lines • 278 kB
JavaScript
webpackJsonp([1],[function(e,t,n){e.exports=n(458)},function(e,t,n){var r=n(15),i=n(42),a=n(35),o=n(30),s=n(33),l="prototype",u=function(e,t,n){var c,f,d,p,h=e&u.F,m=e&u.G,v=e&u.S,g=e&u.P,y=e&u.B,b=m?r:v?r[t]||(r[t]={}):(r[t]||{})[l],E=m?i:i[t]||(i[t]={}),w=E[l]||(E[l]={});m&&(n=t);for(c in n)f=!h&&b&&c in b,d=(f?b:n)[c],p=y&&f?s(d,r):g&&"function"==typeof d?s(Function.call,d):d,b&&!f&&o(b,c,d),E[c]!=d&&a(E,c,p),g&&w[c]!=d&&(w[c]=d)};r.core=i,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,e.exports=u},,,,function(e,t){var n=Object;e.exports={create:n.create,getProto:n.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:n.getOwnPropertyDescriptor,setDesc:n.defineProperty,setDescs:n.defineProperties,getKeys:n.keys,getNames:n.getOwnPropertyNames,getSymbols:n.getOwnPropertySymbols,each:[].forEach}},function(e,t){"use strict";t["default"]=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},t.__esModule=!0},function(e,t,n){"use strict";var r=n(225)["default"];t["default"]=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),r(e,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),t.__esModule=!0},function(e,t,n){"use strict";var r=n(465)["default"];t["default"]=function(e,t,n){for(var i=!0;i;){var a=e,o=t,s=n;i=!1,null===a&&(a=Function.prototype);var l=r(a,o);if(void 0!==l){if("value"in l)return l.value;var u=l.get;if(void 0===u)return;return u.call(s)}var c=Object.getPrototypeOf(a);if(null===c)return;e=c,t=o,n=s,i=!0,l=c=void 0}},t.__esModule=!0},function(e,t,n){"use strict";var r=n(464)["default"],i=n(466)["default"];t["default"]=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=r(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(i?i(e,t):e.__proto__=t)},t.__esModule=!0},,,function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},[749,12],[778,208,64,15],function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},,function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},,function(e,t){var n=e.exports={version:"1.2.6"};"number"==typeof __e&&(__e=n)},5,,,function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},[776,76],[778,488,247,37],,,[754,17],[767,1,42,17],function(e,t,n){var r=n(15),i=n(35),a=n(64)("src"),o="toString",s=Function[o],l=(""+s).split(o);n(42).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,o){"function"==typeof n&&(n.hasOwnProperty(a)||i(n,a,e[t]?""+e[t]:l.join(String(t))),n.hasOwnProperty("name")||i(n,"name",t)),e===r?e[t]=n:(o||delete e[t],i(e,t,n))})(Function.prototype,o,function(){return"function"==typeof this&&this[a]||s.call(this)})},[775,96,34],,[753,62],function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},[757,5,50,28],function(e,t,n){var r=n(37),i=n(19),a=n(51),o="prototype",s=function(e,t,n){var l,u,c,f=e&s.F,d=e&s.G,p=e&s.S,h=e&s.P,m=e&s.B,v=e&s.W,g=d?i:i[t]||(i[t]={}),y=d?r:p?r[t]:(r[t]||{})[o];d&&(n=t);for(l in n)u=!f&&y&&l in y,u&&l in g||(c=u?y[l]:n[l],g[l]=d&&"function"!=typeof y[l]?n[l]:m&&u?a(c,r):v&&y[l]==c?function(e){var t=function(t){return this instanceof e?new e(t):e(t)};return t[o]=e[o],t}(c):h&&"function"==typeof c?a(Function.call,c):c,h&&((g[o]||(g[o]={}))[l]=c))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,e.exports=s},15,,,,function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},19,[777,34],function(e,t,n){"use strict";var r=n(7)["default"],i=n(6)["default"],a=n(141)["default"],o=n(45)["default"],s=n(104)["default"],l=n(3)["default"];Object.defineProperty(t,"__esModule",{value:!0});var u=n(250),c=l(u),f=n(303),d=l(f),p=n(185),h=l(p),m=n(311),v=l(m),g=n(731),y=l(g),b=n(304),E=l(b),w=n(224),x=l(w),S=n(306),k=l(S),N=n(586),C=l(N),P={NODE_ENV:"production"}.SERVER_URL||window.location.protocol+"//"+window.location.hostname+":"+window.location.port+"/",M=function(){function e(){var t=this;i(this,e),this.payload={},this.applications=[],this.graphs={},this.terminatedPids=new a,this.collectorConnected=!0,this.firstLoad=!0,this.downloaderIframe=null,this.snapshots={},this.profiles={},(0,c["default"])(this),this.applicationStream=this.getApplicationStream(),"/style"!==window.location.pathname&&setTimeout(function(){t.firstLoad&&t.showWaitScreen({title:"Please Hold",valueText:"Connecting"})},350)}return r(e,[{key:"getApplicationStream",value:function(){var e=this;return(0,E["default"])(P+"skateboard?source=applications",function(t){t.pipe((0,k["default"])()).on("data",function(t){var n=JSON.parse(t);e.hosts=n.hosts,e.profiles=n.profiles,e.snapshots=n.snapshots,e.applications=n.applications.map(function(e){return o(e,{id:(0,x["default"])(e.name)})}),n.graphs&&(e.graphs=n.graphs),e.emit("applications",e.applications),e.firstLoad&&(e.hideWaitScreen(),e.firstLoad=!1)}),t.on("disconnection",function(){e.hideWaitScreen(),e.emit("banner",{visible:!0,message:"<b>Uh Oh!</b> Looks like the connection to the N|Solid server dropped. You can still use the Console, but functionality is limited."}),e.emit("collectorstate",{connected:!1}),e.collectorConnected=!1}).on("reconnection",function(){e.emit("banner",{visible:!1,message:"<b>Hey Hey!</b> The connection has been restored."}),e.emit("collectorstate",{connected:!0}),e.collectorConnected=!0})})}},{key:"updateGraphSubscriptions",value:function(e){this.applicationStream.write(JSON.stringify(e.map(function(e){return JSON.stringify(e)}))+"\n")}},{key:"getHost",value:function(e){return this.hosts&&this.hosts[e]}},{key:"getApplication",value:function(e){return this.applications.find(function(t){return t.id===e})}},{key:"getProfileMetadata",value:function(e,t,n){return this.profiles[e]?(n=parseInt(n,10),this.profiles[e].find(function(e){return e.id===t&&e.time===n})):void 0}},{key:"getSnapshotMetadata",value:function(e,t,n){return this.snapshots[e]?(n=parseInt(n,10),this.snapshots[e].find(function(e){return e.id===t&&e.time===n})):void 0}},{key:"getApplicationProfileMetadata",value:function(e){return this.profiles[e]||[]}},{key:"getApplicationSnapshotMetadata",value:function(e){return this.snapshots[e]||[]}},{key:"getCollectorState",value:function(){return this.collectorConnected}},{key:"handleTerminatedProcess",value:function(e){e&&(this.terminatedPids.has(e)||(this.emit("banner",{visible:!0,message:"<b>Uh Oh!</b> The currently selected process has terminated. You may still use the console, but functionality will be limited while inspecting this process."}),this.hideWaitScreen()),this.terminatedPids.add(e))}},{key:"getProcess",value:function(e,t){var n=this.getApplication(e);if(n){var r=n.processes.find(function(e){return String(e.id)===String(t)});return r||this.handleTerminatedProcess(t),r}this.firstLoad||this.handleTerminatedProcess(t)}},{key:"createSnapshot",value:function(e,t,n){var r="/heapsnapshot/?"+y["default"].stringify({app:e.name,id:t.id,title:t.title,pid:t.pid});(0,v["default"])({url:r,method:"post"},function(e,t,r){if(e)return n(e);var i=JSON.parse(r);return n(null,i)})}},{key:"createSnapshotRPCClient",value:function(e,t){this.snapshotStream&&this.snapshotStream.close();var n=this.snapshotStream=(0,E["default"])(P+"skateboard?source=heapsnapshot"),r=(0,d["default"])(),i=r.wrap(["getNodeData","loadFile"]),a=(0,h["default"])(),o="!progress!";return n.pipe((0,k["default"])()).pipe((0,h["default"])(function(e){e.substring(0,o.length)===o?a.write(JSON.parse(e.substring(o.length))):e&&this.queue(e+"\n")})).pipe(r).pipe(n),n.on("connection",function(){i.loadFile(e,function(e){return e?t(e):void t(null,{nodeData:i.getNodeData.bind(i),stream:n})})}),a}},{key:"createProfile",value:function(e,t,n,r){var i=this,a="/cpuprofile/?"+y["default"].stringify({duration:n,app:e.name,id:t.id,title:t.title,pid:t.pid});(0,v["default"])({url:a,method:"post"},function(e,n,a){return e?r(e,n,a):(r(null,JSON.parse(a)),void i.profileNotification(t))})}},{key:"profileNotification",value:function(e){function t(){var t=arguments.length<=0||void 0===arguments[0]?"granted":arguments[0];if("denied"!==t){var r=new n("N|Solid: Profile Ready",{body:"["+e.app+"] "+e.title,icon:C["default"]});setTimeout(function(){return r.close()},5e3)}}var n=window.Notification;return n&&"denied"!==n.permission?"granted"===n.permission?t():void n.requestPermission(t):void 0}},{key:"getProfile",value:function(e,t,n,r){if(!e)return r(new Error("app not found"));if(!t)return r(new Error("process not found"));var i="/cpuprofile/?"+y["default"].stringify({app:e,id:t,time:n});(0,v["default"])({url:i,method:"get"},function(e,t,n){return 200!==t.statusCode?r(new Error("Error requesting profile data ("+t.statusCode+")")):e?r(e,t,n):void r(null,JSON.parse(n))})}},{key:"downloadResource",value:function(e,t,n,r,i){var a=this,o="/"+e+"/?"+y["default"].stringify({app:t,id:n,time:r});(0,v["default"])({url:o,method:"head"},function(e,t,n){return e?i(e):200!==t.statusCode?i(new Error("Error requesting resource ("+t.statusCode+")")):(a.downloaderIframe&&document.body.removeChild(a.downloaderIframe),a.downloaderIframe=document.createElement("iframe"),a.downloaderIframe.display="none",a.downloaderIframe.src=o,document.body.appendChild(a.downloaderIframe),void i())})}},{key:"getGraphs",value:function(e){var t=this.graphs;return s(t).map(function(e){return[e,JSON.parse(e)]}).filter(function(t){return t[1].id===e}).reduce(function(e,n){return e[n[1].graph]=t[n[0]],e},{})}},{key:"showWaitScreen",value:function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.emit("waitscreen",o({visible:!0,value:100,title:"",valueText:""},e))}},{key:"hideWaitScreen",value:function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.emit("waitscreen",o({visible:!1,value:100,title:"",valueText:""},e))}}]),e}(),T=new M;t["default"]=T,e.exports=t["default"]},function(e,t,n){e.exports={"default":n(472),__esModule:!0}},,,,,function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},[753,142],,,,,,,,,,,function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(14)("unscopables"),i=Array.prototype;void 0==i[r]&&n(35)(i,r,{}),e.exports=function(e){i[r][e]=!0}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},[749,66],12,function(e,t){e.exports={}},[789,490,144],,,,[756,33,201,198,13,24,212],67,[770,5,23,14],function(e,t,n){var r=n(76),i=Math.max,a=Math.min;e.exports=function(e,t){return e=r(e),0>e?i(e+t,0):a(e,t)}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},,[754,108],[757,20,240,78],function(e,t,n){n(495);var r=n(67);r.NodeList=r.HTMLCollection=r.Array},,,,,,,,,,,function(e,t,n){var r=n(33),i=n(96),a=n(43),o=n(24),s=n(316);e.exports=function(e){var t=1==e,n=2==e,l=3==e,u=4==e,c=6==e,f=5==e||c;return function(d,p,h){for(var m,v,g=a(d),y=i(g),b=r(p,h,3),E=o(y.length),w=0,x=t?s(d,E):n?s(d,0):void 0;E>w;w++)if((f||w in y)&&(m=y[w],v=b(m,w,g),e))if(t)x[w]=v;else if(v)switch(e){case 3:return!0;case 5:return m;case 6:return w;case 2:x.push(m)}else if(u)return!1;return c?-1:l||u?u:x}}},[750,41,14],function(e,t,n){"use strict";var r=n(15),i=n(1),a=n(30),o=n(97),s=n(72),l=n(99),u=n(12),c=n(17),f=n(131),d=n(74);e.exports=function(e,t,n,p,h,m){var v=r[e],g=v,y=h?"set":"add",b=g&&g.prototype,E={},w=function(e){var t=b[e];a(b,e,"delete"==e?function(e){return m&&!u(e)?!1:t.call(this,0===e?0:e)}:"has"==e?function(e){return m&&!u(e)?!1:t.call(this,0===e?0:e)}:"get"==e?function(e){return m&&!u(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof g&&(m||b.forEach&&!c(function(){(new g).entries().next()}))){var x,S=new g,k=S[y](m?{}:-0,1)!=S,N=c(function(){S.has(1)}),C=f(function(e){new g(e)});C||(g=t(function(t,n){l(t,g,e);var r=new v;return void 0!=n&&s(n,h,r[y],r),r}),g.prototype=b,b.constructor=g),m||S.forEach(function(e,t){x=1/t===-(1/0)}),(N||x)&&(w("delete"),w("has"),h&&w("get")),(x||k)&&w(y),m&&b.clear&&delete b.clear}else g=p.getConstructor(t,e,h,y),o(g.prototype,n);return d(g,e),E[e]=g,i(i.G+i.W+i.F*(g!=v),E),m||p.setStrong(g,e,h),g}},function(e,t,n){"use strict";var r=n(35),i=n(30),a=n(17),o=n(34),s=n(14);e.exports=function(e,t,n){var l=s(e),u=""[e];a(function(){var t={};return t[l]=function(){return 7},7!=""[e](t)})&&(i(String.prototype,e,n(o,l,u)),r(RegExp.prototype,l,2==t?function(e,t){return u.call(e,this,t)}:function(e){return u.call(e,this)}))}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},[759,41],[768,30],function(e,t,n){"use strict";var r=n(15),i=n(5),a=n(28),o=n(14)("species");e.exports=function(e){var t=r[e];a&&t&&!t[o]&&i.setDesc(t,o,{configurable:!0,get:function(){return this}})}},function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError(n+": use the 'new' operator!");return e}},function(e,t,n){var r=n(1),i=n(34),a=n(17),o=" \n\x0B\f\r \u2028\u2029\ufeff",s="["+o+"]",l="
",u=RegExp("^"+s+s+"*"),c=RegExp(s+s+"*$"),f=function(e,t){var n={};n[e]=t(d),r(r.P+r.F*a(function(){return!!o[e]()||l[e]()!=l}),"String",n)},d=f.trim=function(e,t){return e=String(i(e)),1&t&&(e=e.replace(u,"")),2&t&&(e=e.replace(c,"")),e};e.exports=f},,function(e,t,n){"use strict";var r=n(8)["default"],i=n(9)["default"],a=n(7)["default"],o=n(6)["default"],s=n(227)["default"],l=n(3)["default"];Object.defineProperty(t,"__esModule",{value:!0});var u=n(2),c=l(u);n(512);var f=c["default"].PropTypes,d=function(e){function t(e){o(this,t),r(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e),this.onClick=this.onClick.bind(this)}return i(t,e),a(t,[{key:"onClick",value:function(e){this.props.onClick(e,this),this.props.to&&this.context.router.transitionToQ(this.props.to)}},{key:"render",value:function(){return c["default"].createElement("button",s({},this.props,{onClick:this.onClick,className:this.props.className?"CloseButton "+this.props.className:"CloseButton"}),this.props.children)}}]),t}(u.Component);t["default"]=d,d.propTypes={to:f.string,onClick:f.func,children:f.node,className:f.string},d.defaultProps={onClick:Function.prototype,children:c["default"].createElement("span",null,"DONE ",c["default"].createElement("i",{className:"icon-close"}))},d.contextTypes={router:f.object.isRequired},e.exports=t["default"]},function(e,t,n){"use strict";var r=n(8)["default"],i=n(9)["default"],a=n(7)["default"],o=n(6)["default"],s=n(3)["default"];Object.defineProperty(t,"__esModule",{value:!0});var l=n(2),u=s(l);n(513);var c=u["default"].PropTypes,f=function(e){function t(){o(this,t),r(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return i(t,e),a(t,[{key:"render",value:function(){var e=this.props,t=this.props.className.split(" ");return t.push("Drawer"),e.open&&t.push("open"),u["default"].createElement("div",{className:t.join(" ")},u["default"].createElement("div",{className:"content"},e.children))}}]),t}(l.Component);t["default"]=f,f.propTypes={children:c.node,open:c.bool,className:c.string},f.defaultProps={open:!1,className:""},e.exports=t["default"]},function(e,t,n){e.exports={"default":n(476),__esModule:!0}},[750,106,25],41,34,17,[756,51,235,234,65,246,148],[770,20,143,25],,,,,,,,,,,,,,,,,,function(e,t,n){var r=n(14)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(i){}}return!0}},function(e,t,n){var r=n(41);e.exports=Array.isArray||function(e){return"Array"==r(e)}},[763,132,1,30,35,23,73,202,74,5,14],[764,14],function(e,t){e.exports=!1},function(e,t){e.exports=Math.expm1||function(e){return 0==(e=+e)?e:e>-1e-6&&1e-6>e?e+e*e/2:Math.exp(e)-1}},function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:0>e?-1:1}},[769,5,12,13,33],[773,76,34],function(e,t,n){var r=n(200),i=n(34);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(e))}},function(e,t,n){"use strict";var r=n(8)["default"],i=n(9)["default"],a=n(7)["default"],o=n(6)["default"],s=n(226)["default"],l=n(3)["default"];Object.defineProperty(t,"__esModule",{value:!0});var u=n(2),c=l(u),f=n(159),d=l(f),p=n(252),h=l(p);n(523);var m=c["default"].PropTypes,v="@@mousemove",g="@@mouseover",y="@@mouseout",b="@@position",E="@@enabled",w=function(e){function t(e){o(this,t),r(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e),this.state={position:[0,0],enabled:!1}}return i(t,e),a(t,[{key:"render",value:function(){var e=this,t=(0,h["default"])(function(t){var n=d["default"].findDOMNode(e.refs.tooltipTarget);if(n){var r=n.getBoundingClientRect(),i=r.top,a=r.left,o=t.x,s=t.y;e.setState({position:[o-a,s-i]})}},!0);return c["default"].createElement("div",null,this.props.children.map(function(n,r){var i,a=(i={key:r},s(i,E,e.state.enabled),s(i,b,e.state.position),s(i,g,function(t){return e.setState({enabled:!0})}),s(i,y,function(t){return e.setState({enabled:!1})}),s(i,v,function(e){var n=e.clientX,r=e.clientY;return t({x:n,y:r})}),i);return n.type===x&&(a.ref="tooltipTarget"),c["default"].cloneElement(n,a)}))}}]),t}(u.Component);t.Tooltip=w;var x=function(e){function t(){o(this,t),r(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return i(t,e),a(t,[{key:"render",value:function(){return c["default"].createElement("div",{ref:"tooltipTarget",onMouseMove:this.props[v],onMouseOver:this.props[g],onMouseOut:this.props[y]},this.props.children)}}]),t}(u.Component);t.TooltipTarget=x;var S=function(e){function t(){o(this,t),r(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return i(t,e),a(t,[{key:"render",value:function(){return this.props.hide?null:c["default"].createElement("div",{style:{position:"absolute",pointerEvents:"none",left:this.props[b][0],top:this.props[b][1],display:this.props[E]?"block":"none"}},this.props.children)}}]),t}(u.Component);t.TooltipContent=S,w.propTypes={children:m.node},S.propTypes={children:m.node,hide:m.bool},x.propTypes={children:m.node}},function(e,t,n){"use strict";function r(e){return f(1e3*e,{round:!0,spacer:"",delimiter:" "})}function i(e){return Math.abs(e)>=1?Math.round(e):Math.round(100*e)/100}function a(e){return(0,c["default"])("%B %d, %Y %H:%M:%S %Z",new Date(e))}var o=n(3)["default"];Object.defineProperty(t,"__esModule",{value:!0});var s=n(157),l=o(s),u=n(184),c=o(u),f=l["default"].humanizer({language:"shortEn",languages:{shortEn:{y:function(){return"y"},mo:function(){return"mo"},w:function(){return"w"},d:function(){return"d"},h:function(){return"h"},m:function(){return"m"},s:function(){return"s"},ms:function(){return"ms"}}}});t.duration=r,t.round=i,t.date=a},function(e,t,n){e.exports={"default":n(468),__esModule:!0}},function(e,t,n){e.exports={"default":n(479),__esModule:!0}},62,23,[763,238,36,241,79,143,67,484,110,20,25],[768,241],99,[777,107],[779,105,25,67,19],function(e,t){},,,,,,,,,function(e,t){var n=null;e.exports=function(e){var t=["Moz","Khtml","Webkit","O","ms"],r=e.charAt(0).toUpperCase()+e.slice(1);if(n||(n=document.createElement("div")),e in n.style)return e;for(var i=t.length;i--;)if(t[i]+r in n.style)return t[i]+r;return!1}},function(e,t,n){"use strict";e.exports=n(167)},,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){function r(e){function t(){for(var t=!1,r=0;r<e.length;r++){var i=e[r],a=i();if(i[o])a&&(t=!0,n[r]=a);else{var s=n[r];a!==s&&(t=!0,n[r]=a)}}return t}for(var n=[],r=0;r<e.length;r++)n[r]=e[r]();return t}function i(e){function t(){return e.length!==a?(a=e.length,n(),!0):i()}function n(){for(var t=[],n=0;n<e.length;n++)!function(n){t[n]=function(){return e[n]}}(n);i=r(t)}var i,a=e.length;return n(),t[o]=!0,t}var a=n(703);e.exports=r,e.exports.array=i;var o=a("see-change-array")},,,,,,,function(e,t,n){var r=n(31),i=n(24),a=n(75);e.exports=function(e){return function(t,n,o){var s,l=r(t),u=i(l.length),c=a(o,u);if(e&&n!=n){for(;u>c;)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c;return!e&&-1}}},[751,5,35,97,33,99,34,72,130,203,64,23,12,98,28],[752,72,92],function(e,t,n){"use strict";var r=n(35),i=n(97),a=n(13),o=n(12),s=n(99),l=n(72),u=n(91),c=n(23),f=n(64)("weak"),d=Object.isExtensible||o,p=u(5),h=u(6),m=0,v=function(e){return e._l||(e._l=new g)},g=function(){this.a=[]},y=function(e,t){return p(e.a,function(e){return e[0]===t})};g.prototype={get:function(e){var t=y(this,e);return t?t[1]:void 0},has:function(e){return!!y(this,e)},set:function(e,t){var n=y(this,e);n?n[1]=t:this.a.push([e,t])},"delete":function(e){var t=h(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,r){var a=e(function(e,i){s(e,a,t),e._i=m++,e._l=void 0,void 0!=i&&l(i,n,e[r],e)});return i(a.prototype,{"delete":function(e){return o(e)?d(e)?c(e,f)&&c(e[f],this._i)&&delete e[f][this._i]:v(this)["delete"](e):!1},has:function(e){return o(e)?d(e)?c(e,f)&&c(e[f],this._i):v(this).has(e):!1}}),a},def:function(e,t,n){return d(a(t))?(c(t,f)||r(t,f,{}),t[f][e._i]=n):v(e).set(t,n),e},frozenStore:v,WEAK:f}},[755,12,15],function(e,t,n){"use strict";var r=n(13);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){var r=n(31),i=n(5).getNames,a={}.toString,o="object"==typeof window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(t){return o.slice()}};e.exports.get=function(e){return o&&"[object Window]"==a.call(e)?s(e):i(r(e))}},[758,15],[760,73,14],function(e,t,n){var r=n(12),i=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&i(e)===e}},function(e,t,n){var r=n(12),i=n(41),a=n(14)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==i(e))}},[761,13],[762,5,50,74,35,14],function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&1e-8>e?e-e*e/2:Math.log(1+e)}},function(e,t,n){var r=n(5),i=n(31),a=r.isEnum;e.exports=function(e){return function(t){for(var n,o=i(t),s=r.getKeys(o),l=s.length,u=0,c=[];l>u;)a.call(o,n=s[u++])&&c.push(e?[n,o[n]]:o[n]);return c}}},function(e,t,n){var r=n(5),i=n(13),a=n(15).Reflect;e.exports=a&&a.ownKeys||function(e){var t=r.getNames(i(e)),n=r.getSymbols;return n?t.concat(n(e)):t}},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},[771,15],function(e,t,n){var r=n(24),i=n(210),a=n(34);e.exports=function(e,t,n,o){var s=String(a(e)),l=s.length,u=void 0===n?" ":String(n),c=r(t);if(l>=c)return s;""==u&&(u=" ");var f=c-l,d=i.call(u,Math.ceil(f/u.length));return d.length>f&&(d=d.slice(0,f)),o?d+s:s+d}},function(e,t,n){"use strict";var r=n(76),i=n(34);e.exports=function(e){var t=String(i(this)),n="",a=r(e);if(0>a||a==1/0)throw RangeError("Count can't be negative");for(;a>0;(a>>>=1)&&(t+=t))1&a&&(n+=t);return n}},[774,33,95,197,194,15,41],[779,92,14,73,42],[781,63,203,73,31,130],,,,function(e,t,n){"use strict";function r(e){return Math.round(e)+"%"}function i(e){return Math.round(100*e)/100}function a(e){return(0,p["default"])(e)}var o=n(8)["default"],s=n(9)["default"],l=n(6)["default"],u=n(3)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.linegraphPercentages=r,t.linegraphNumbers=i,t.linegraphBytes=a;var c=n(2),f=u(c),d=n(150),p=u(d),h=n(437),m=u(h);n(514);var v=function(e){function t(e){l(this,t),o(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e)}return s(t,e),t}(m["default"]);t["default"]=v;var g=f["default"].createElement("defs",null,f["default"].createElement("linearGradient",{spreadMethod:"reflect",id:"line-chart-gradient-1",x1:"1",y1:"0",y2:"1",x2:"1"},f["default"].createElement("stop",{offset:"0%",style:{stopOpacity:"0.10",stopColor:"#5dc295"}}),f["default"].createElement("stop",{offset:"100%",style:{stopOpacity:"0.03",stopColor:"#4cb5ff"}})),f["default"].createElement("linearGradient",{spreadMethod:"reflect",id:"line-chart-gradient-2",x1:"1",y1:"0",y2:"1",x2:"1"},f["default"].createElement("stop",{offset:"0%",style:{stopOpacity:"0.10",stopColor:"#5dc295"}}),f["default"].createElement("stop",{offset:"100%",style:{stopOpacity:"0.03",stopColor:"#4cb5ff"}})),f["default"].createElement("linearGradient",{spreadMethod:"reflect",id:"line-chart-gradient-3",x1:"1",y1:"0",y2:"1",x2:"1"},f["default"].createElement("stop",{offset:"0%",style:{stopOpacity:"0.10",stopColor:"#5dc295"}}),f["default"].createElement("stop",{offset:"100%",style:{stopOpacity:"0.03",stopColor:"#4cb5ff"}})));v.defaultProps={indicatorRadius:m["default"].defaultProps.indicatorRadius,lineClasses:["d1","d2","d3"],group:"linecharts",min:m["default"].defaultProps.min,max:m["default"].defaultProps.max,minTime:m["default"].defaultProps.minTime,maxTime:m["default"].defaultProps.maxTime,minTimeDistance:m["default"].defaultProps.minTimeDistance,className:"",tooltip:[i],gradients:g}},function(e,t,n){"use strict";var r=n(8)["default"],i=n(9)["default"],a=n(7)["default"],o=n(6)["default"],s=n(3)["default"];Object.defineProperty(t,"__esModule",{value:!0});var l=n(2),u=s(l),c=n(223),f=s(c);n(516);var d=n(44),p=s(d),h=n(445),m=s(h),v=n(450),g=s(v),y=u["default"].PropTypes,b=function(e){function t(e){o(this,t),r(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e),this.state={profileDuration:5,visualization:"treemap",profileInProgress:!1},this.handleVisualizationTypeClick=this.handleVisualizationTypeClick.bind(this),this.handleProfileDurationClick=this.handleProfileDurationClick.bind(this),this.onCreateProfile=this.onCreateProfile.bind(this)}return i(t,e),a(t,[{key:"handleVisualizationTypeClick",value:function(e){this.setState({visualization:e})}},{key:"handleProfileDurationClick",value:function(e){this.setState({profileDuration:parseInt(e,10)})}},{key:"onCreateProfile",value:function(e){var t=this;e.preventDefault();var n=this.state;this.setState({profileInProgress:!0});var r=function s(e){clearTimeout(t.profileTimeout);var r=(e-Date.now())/1e3;if(0>=r)return t.profileTimeout=null,p["default"].hideWaitScreen();var i=Math.round(r);p["default"].showWaitScreen({value:n.profileDuration>0?100-i/n.profileDuration*100:0,title:"Taking Profile",valueText:i+" "+(1===i?"Second Remaining":"Seconds Remaining")}),t.profileTimeout=setTimeout(function(){return s(e)},1e3)},i=this;p["default"].on("waitscreen",function l(e){e.visible||(clearTimeout(i.profileTimeout),p["default"].off("waitscreen",l))}),r(Date.now()+1e3*n.profileDuration);var a=p["default"].getApplication(this.props.appid),o=p["default"].getProcess(this.props.appid,this.props.processid);window.Notification&&"denied"!==window.Notification.permission&&window.Notification.requestPermission(),p["default"].createProfile(a,o,this.state.profileDuration,function(e,n){return p["default"].hideWaitScreen(),t.setState({profileInProgress:!1}),e?console.error(e):void t.props.onCreateProfile(n,t.state.visualization,t.state.profileDuration)})}},{key:"render",value:function(){return u["default"].createElement("div",{className:"ProfileOptions"},u["default"].createElement("div",{className:"innerContent"},u["default"].createElement("h2",null,"Profile Options"),u["default"].createElement("hr",null),u["default"].createElement("h5",{className:"submetricKey"},"Profile Duration"),u["default"].createElement(g["default"],{onClick:this.handleProfileDurationClick,value:this.state.profileDuration}),u["default"].createElement("hr",null),u["default"].createElement("h5",{className:"submetricKey"},"Visualization Type"),u["default"].createElement(f["default"],{onClick:this.handleVisualizationTypeClick,value:this.state.visualization}),u["default"].createElement("hr",null),u["default"].createElement(m["default"],{className:"action large",loading:this.state.profileInProgress,onClick:this.onCreateProfile,loadingText:"Profiling",showSpinner:!1},"Start Profile")))}}]),t}(l.Component);t["default"]=b,b.propTypes={onCreateProfile:y.func.isRequired,appid:y.string.isRequired,processid:y.string.isRequired},b.defaultProps={onCreateProfile:function(e,t,n){}},e.exports=t["default"]},function(e,t,n){"use strict";function r(e,t){var n=.05;return e&&t&&(n=e/t),"rgba(93, 194, 149, "+n+")"}var i=n(8)["default"],a=n(9)["default"],o=n(7)["default"],s=n(6)["default"],l=n(45)["default"],u=n(3)["default"];Object.defineProperty(t,"__esModule",{value:!0});var c=n(2),f=u(c),d=n(601),p=u(d),h=f["default"].PropTypes,m=function(e){function t(e){s(this,t),i(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e),this.state={width:0,height:0};var n=this.sizeCanvas.bind(this);this.sizeCanvas=function(){return window.requestAnimationFrame(function(){return n()})}}return a(t,e),o(t,[{key:"componentDidMount",value:function(){this.sizeCanvas(),window.addEventListener("resize",this.sizeCanvas)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.sizeCanvas)}},{key:"componentDidUpdate",value:function(e){var t=e.data,n=!t||!t[0]||!t[0].length,r=this.props.data,i=!(!r||!r[0]||!r[0].length);n&&i&&this.sizeCanvas(),this.paint()}},{key:"sizeCanvas",value:function(){var e=this.props.data;if(e&&e[0]&&e[0].length){var t=this.refs.container;if(t){var n=t.getBoundingClientRect(),r=n.width,i=e.length,a=e[0].length,o=a/i,s=r*o;if(!this.state.height||!this.state.width){var l=window.devicePixelRatio||1,u=this.refs.canvas,c=u.getContext("2d");c.scale(l,l),c.strokeStyle="#394243",c.imageSmoothingEnabled=!0,c.lineWidth=.5,c.scale(1,-1),c.translate(1,-s)}this.setState({width:r,height:s})}}}},{key:"render",value:function(){var e=window.devicePixelRatio||1,t=this.state,n=t.height,r=t.width;return f["default"].createElement("div",{ref:"container",className:"Spectrogram",style:{position:"relative"}},f["default"].createElement("canvas",{width:r*e,height:n*e,ref:"canvas",style:{position:"absolute",top:0,bottom:0,right:0,left:0,imageRendering:"pixelated",width:r+"px",height:n+"px"}}))}},{key:"paint",value:function(){var e=this.props,t=e.size,n=e.data;if(n&&n[0]){var i=this.refs.canvas,a=i.height,o=i.width,s=i.getContext("2d");s.clearRect(0,0,o,a);for(var l=n.length,u=n[0].length,c=[o/l,a/u],f=Math.max(Math.min.apply(Math,c)*t/2,3),d=0;d<n.length;d++){for(var p=n[d],h=0,m=0;m<p.length;m++)h+=p[m];for(var v=0;v<p.length;v++){var g=p[v];s.fillStyle=r(g,h),s.beginPath(),s.arc(d*c[0]+1.5*f,(p.length-1-v)*c[1]+1.5*f,f,0,2*Math.PI,!1),s.fill()}}}}}]),t}(c.Component);t["default"]=m,l(m.prototype,p["default"]),m.propTypes={data:h.array.isRequired,size:h.number.isRequired},m.defaultProps={data:[],size:.5},e.exports=t["default"]},function(e,t,n){"use strict";var r=n(8)["default"],i=n(9)["default"],a=n(7)["default"],o=n(6)["default"],s=n(227)["default"],l=n(3)["default"];Object.defineProperty(t,"__esModule",{value:!0});var u=n(2),c=l(u);n(519);var f=n(102),d=l(f),p=c["default"].PropTypes,h=function(e){function t(e){o(this,t),r(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e),this.onClick=this.onClick.bind(this)}return i(t,e),a(t,[{key:"onClick",value:function(e){this.props.onClick(e,this),this.props.to&&this.context.router.transitionToQ(this.props.to)}},{key:"render",value:function(){return c["default"].createElement("button",s({},this.props,{onClick:this.onClick,className:this.props.className?"TabButton "+this.props.className:"TabButton"}),c["default"].createElement("svg",{
height:"30",width:"20"},c["default"].createElement("path",{d:"M0,0 L0,-2 C0,5 0,4 30,20 L30,0 L0,0 Z",className:"leftTriangle",transform:"rotate(90) translate(0, -20)"})),c["default"].createElement("span",null,this.props.children),c["default"].createElement("svg",{height:"30",width:"20"},c["default"].createElement("path",{d:"M0,0 L0,-2 C0,5 0,4 30,20 L30,0 L0,0 Z",className:"rightTriangle",transform:"scale(-1, 1) rotate(90)"})))}}]),t}(d["default"]);t["default"]=h,h.propTypes={onClick:p.func,to:p.string,className:p.string,children:p.node},h.defaultProps={onClick:Function.prototype,to:"",className:"",children:""},e.exports=t["default"]},function(e,t,n){"use strict";var r=n(8)["default"],i=n(9)["default"],a=n(7)["default"],o=n(6)["default"],s=n(3)["default"];Object.defineProperty(t,"__esModule",{value:!0});var l=n(2),u=s(l),c=n(57),f=n(117),d=s(f);n(521);var p=n(308),h=s(p),m=u["default"].PropTypes,v=function(e){function t(){o(this,t),r(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return i(t,e),a(t,[{key:"render",value:function(){var e=this.props.title?this.props.title+" › N|Solid":"N|Solid";return u["default"].createElement("div",{className:"Toolbar"},u["default"].createElement(c.Link,{to:"/",title:"N|Solid "+h["default"].describe},u["default"].createElement("h1",null,"N|Solid")),u["default"].createElement(d["default"],{title:e}),this.props.children)}}]),t}(l.Component);t["default"]=v,v.propTypes={children:m.node,title:m.string},v.defaultProps={title:""},e.exports=t["default"]},function(e,t,n){"use strict";var r=n(8)["default"],i=n(9)["default"],a=n(7)["default"],o=n(6)["default"],s=n(3)["default"];Object.defineProperty(t,"__esModule",{value:!0});var l=n(2),u=s(l),c=n(696),f=s(c),d=n(139),p=u["default"].PropTypes,h=function(e){function t(e){o(this,t),r(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e),this.state={uptime:0},this.tick=this.tick.bind(this)}return i(t,e),a(t,[{key:"componentDidMount",value:function(){this.setupUptime()}},{key:"componentWillUnmount",value:function(){this.teardownUptime()}},{key:"shouldComponentUpdate",value:function(e,t){return e.start===this.props.start&&t.uptime===this.state.uptime?!1:!0}},{key:"componentWillReceiveProps",value:function(e){e.start!==this.props.start&&this.setupUptime()}},{key:"setupUptime",value:function(){var e=this;this.teardownUptime(),this.setState({uptime:Date.now()-this.props.start},function(){e.teardownUptime(),e.timer=(0,f["default"])(e.props.updateFrequency,e.tick)})}},{key:"teardownUptime",value:function(){this.timer&&f["default"].clear(this.timer)}},{key:"tick",value:function(){var e=this.state,t=this.props;t.frozen||this.setState({uptime:e.uptime+t.updateFrequency})}},{key:"render",value:function(){return this.props.start&&this.state.uptime?u["default"].createElement("span",null,(0,d.duration)(this.state.uptime/1e3)):null}}]),t}(l.Component);t["default"]=h,h.propTypes={start:p.number.isRequired,updateFrequency:p.number.isRequired,frozen:p.bool},h.defaultProps={updateFrequency:333,frozen:!1},e.exports=t["default"]},function(e,t,n){"use strict";var r=n(8)["default"],i=n(9)["default"],a=n(7)["default"],o=n(6)["default"],s=n(104)["default"],l=n(3)["default"];Object.defineProperty(t,"__esModule",{value:!0});var u=n(2),c=l(u);n(522);var f=c["default"].PropTypes,d={sunburst:"Sunburst",flamegraph:"Flame Graph",treemap:"Treemap"};t.vizLabels=d;var p=function(e){function t(e){o(this,t),r(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e),this.state={value:e.value}}return i(t,e),a(t,[{key:"onClick",value:function(e){var t=this;return function(n){t.setState({value:e}),t.props.onClick(e,n)}}},{key:"componentWillReceiveProps",value:function(e){this.state.value!==e.value&&this.setState({value:e.value})}},{key:"render",value:function(){var e=this;return c["default"].createElement("ul",{className:"VizSelect"},s(d).map(function(t,n){return c["default"].createElement("li",{key:n,onClick:e.onClick(t),className:e.state.value===t?"selected":""},e.state.value===t?c["default"].createElement("i",{className:"icon-checkmark"}):"",c["default"].createElement("i",{className:"icon-"+t})," ",c["default"].createElement("span",null,d[t]))}))}}]),t}(u.Component);t["default"]=p,p.propTypes={onClick:f.func,value:f.string},p.defaultProps={onClick:Function.prototype,value:"treemap"}},function(e,t){"use strict";function n(e){return e?encodeURIComponent(e.replace(r,"-")):null}e.exports=n;var r=/[^A-Za-z0-9\-_.~]/g},function(e,t,n){e.exports={"default":n(474),__esModule:!0}},function(e,t,n){"use strict";var r=n(225)["default"];t["default"]=function(e,t,n){return t in e?r(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},t.__esModule=!0},function(e,t,n){"use strict";var r=n(45)["default"];t["default"]=r||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},t.__esModule=!0},function(e,t,n){"use strict";var r=n(461)["default"],i=n(462)["default"];t["default"]=function(){function e(e,t){var n=[],i=!0,a=!1,o=void 0;try{for(var s,l=r(e);!(i=(s=l.next()).done)&&(n.push(s.value),!t||n.length!==t);i=!0);}catch(u){a=!0,o=u}finally{try{!i&&l["return"]&&l["return"]()}finally{if(a)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(i(Object(t)))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),t.__esModule=!0},function(e,t,n){"use strict";var r=n(140)["default"];t["default"]=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return r(e)},t.__esModule=!0},[751,20,79,145,51,146,107,109,144,237,247,143,66,243,78],[752,109,105],function(e,t,n){"use strict";var r=n(20),i=n(37),a=n(36),o=n(108),s=n(79),l=n(145),u=n(109),c=n(146),f=n(66),d=n(110),p=n(78);e.exports=function(e,t,n,h,m,v){var g=i[e],y=g,b=m?"set":"add",E=y&&y.prototype,w={};return p&&"function"==typeof y&&(v||E.forEach&&!o(function(){(new y).entries().next()}))?(y=t(function(t,n){c(t,y,e),t._c=new g,void 0!=n&&u(n,m,t[b],t)}),r.each.call("add,clear,delete,forEach,get,has,set,keys,values,entries".split(","),function(e){var t="add"==e||"set"==e;e in E&&(!v||"clear"!=e)&&s(y.prototype,e,function(n,r){if(!t&&v&&!f(n))return"get"==e?void 0:!1;var i=this._c[e](0===n?0:n,r);return t?this:i})}),"size"in E&&r.setDesc(y.prototype,"size",{get:function(){return this._c.size}})):(y=h.getConstructor(t,e,m,b),l(y.prototype,n)),d(y,e),w[e]=y,a(a.G+a.W+a.F,w),v||h.setStrong(y,e,m),y}},[759,106],[760,67,25],[761,65],[764,25],203,function(e,t){e.exports=!0},[767,36,19,108],50,function(e,t,n){e.exports=n(79)},[769,20,66,65,51],function(e,t,n){"use strict";var r=n(19),i=n(20),a=n(78),o=n(25)("species");e.exports=function(e){var t=r[e];a&&t&&!t[o]&&i.setDesc(t,o,{configurable:!0,get:function(){return this}})}},76,[775,233,107],[776,244],64,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e){var t=e.children,n=0;if(t)for(var r,a=0,o=t.length;o>a;a++)(r=i(t[a]))>n&&(n=r);return 1+n}function a(e,t,n,r){var i=e.children,o=i&&i.length;if(e.x=t,e.y=e.depth*r,e.dx=n,e.dy=r,o){var s,l,u=-1;for(n=e.value?n/e.value:0;++u<o;)s=i[u],l=s.value*n,a(s,t,l,r),t+=l}}function o(){function e(e,r){var o=t.call(this,e,r);return a(o[0],0,n[0],n[1]/i(o[0])),o}var t=(0,u["default"])(),n=[1,1];return e.nodes=e,e.children=s(e,t,"children"),e.value=s(e,t,"value"),e.sort=s(e,t,"sort"),e.size=function(){for(var t=arguments.length,r=Array(t),i=0;t>i;i++)r[i]=arguments[i];return r.length?(n=[+r[0][0],+r[0][1]],e):n.slice()},e}function s(e,t,n){return function(){for(var r=arguments.length,i=Array(r),a=0;r>a;a++)i[a]=arguments[a];var o=t[n].apply(t,i);return o===t?e:o}}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=o;var l=n(509),u=r(l);e.exports=t["default"]},,,function(e,t,n){function r(e,t){function n(){null===o&&(o=i(arguments),s=this,t&&e.apply(s,o),a(r))}function r(){t||e.apply(s,o),o=null,s=null}var o=null,s=null;return n}var i=n(538),a=n(536);e.exports=r},,,,,,,,,,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e){function t(t){var n=e();return"string"==typeof n?((t||window.event).returnValue=n,n):void 0}return u.addEventListener(window,"beforeunload",t),function(){u.removeEventListener(window,"beforeunload",t)}}function a(e){return function(t){function n(){for(var e=void 0,t=0,n=d.length;null==e&&n>t;++t)e=d[t].call();return e}function r(e){return d.push(e),1===d.length&&l.canUseDOM&&(c=i(n)),function(){d=d.filter(function(t){return t!==e}),0===d.length&&c&&(c(),c=null)}}function a(e){l.canUseDOM&&-1===d.indexOf(e)&&(d.push(e),1===d.length&&(c=i(n)))}function s(e){d.length>0&&(d=d.filter(function(t){return t!==e}),0===d.length&&c())}var u=e(t),c=void 0,d=[];return o({},u,{listenBeforeUnload:r,registerBeforeUnloadHook:f["default"](a,"registerBeforeUnloadHook is deprecated; use listenBeforeUnload instead"),unregisterBeforeUnloadHook:f["default"](s,"unregisterBeforeUnloadHook is deprecated; use the callback returned from listenBeforeUnload instead")})}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(55),l=(r(s),n(81)),u=n(115),c=n(53),f=r(c);t["default"]=a,e.exports=t["default"]},function(e,t,n){function r(e,t){function n(e){if(o.right=!1,o[a[e.button]]=!0,o.emit("down",e),t){if(!e.preventDefault)return!1;e.preventDefault(),e.stopPropagation()}}function r(e){o.right=!1,o[a[e.button]]=!1,o.emit("up",e),t&&e.preventDefault&&(e.preventDefault(),e.stopPropagation())}var o=new i;return o.left=!1,o.right=!1,o.middle=!1,"undefined"!=typeof window&&(e=e||window,e.addEventListener("mousedown",n,!1),e.addEventListener("mouseup",r,!1),t&&e.addEventListener("contextmenu",function(e){return e.preventDefault&&e.preventDefault()&&!1},!1)),o}var i=n(32),a=["left","middle","right"];e.exports=r},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){function n(e,t,n,r,i){var a=t-e;if(0===a)return t;if(a>0){if(+r>=a)return i||n>=.5?t:e}else if(a>=-r)return i||n>=.5?t:e;return e+a*n}e.exports=n},,function(e,t,n){(function(t){function r(e,t){return(e.ctrlKey!=(t.ctrlKey||!1)||e.altKey!=(t.altKey||!1)||e.shiftKey!=(t.shiftKey||!1)||e.metaKey!=(t.metaKey||!1)||e.keyCode!=(t.keyCode||0)||e.charCode!=(t.charCode||0))&&(e=document.createEvent("Event"),e.initEvent(t.type,t.bubbles,t.cancelable),e.ctrlKey=t.ctrlKey||!1,e.altKey=t.altKey||!1,e.shiftKey=t.shiftKey||!1,e.metaKey=t.metaKey||!1,e.keyCode=t.keyCode||0,e.charCode=t.charCode||0),e}var i=(t.window,t.document),a=(i.documentElement||{},!0);try{i.createEvent("KeyEvents")}catch(o){a=!1}var s=function(e,t){t=t||{};var n=f(e),o=n;"KeyboardEvent"===n&&a&&(n="KeyEvents",o="KeyEvent");var s=i.createEvent(n),l="init"+o,c="function"==typeof s[l]?l:"initEvent",d=u[c],p=[],h={};t.type=e;for(var m=0;m<d.length;++m){var v=d[m],g=t[v];void 0===g&&(g=s[v]),h[v]=!0,p.push(g)}s[c].apply(s,p),"KeyboardEvent"===n&&(s=r(s,t));for(var v in t)h[v]||(s[v]=t[v]);return s},l=function(e,t){t=t||{};var n=i.createEventObject();n.type=e;for(var r in t)void 0!==t[r]&&(n[r]=t[r]);return n};e.exports=i.createEvent?s:l;var u=n(587),c=n(588),f=function(){var e={};for(var t in c)for(var n=c[t],r=0;r<n.length;r++)e[n[r]]=t;return function(t){return e[t]||"Event"}}()}).call(t,function(){return this}())},function(e,t){e.exports={describe:"v1.4.4-0-gbb432f4"}},,,,,function(e,t,n){(function(e){"use strict";if(n(428),n(429),e._babelPolyfill)throw new Error("only one instance of babel/polyfill is allowed");e._babelPolyfill=!0}).call(t,function(){return this}())},function(e,t,n){"use strict";var r=n(43),i=n(75),a=n(24);e.exports=[].copyWithin||function(e,t){var n=r(this),o=a(n.length),s=i(e,o),l=i(t,o),u=arguments,c=u.length>2?u[2]:void 0,f=Math.min((void 0===c?o:i(c,o))-l,o-s),d=1;for(s>l&&l+f>s&&(d=-1,l+=f-1,s+=f-1);f-- >0;)l in n?n[s]=n[l]:delete n[s],s+=d,l+=d;return n}},function(e,t,n){"use strict";var r=n(43),i=n(75),a=n(24);e.exports=[].fill||function(e){for(var t=r(this),n=a(t.length),o=arguments,s=o.length,l=i(s>1?o[1]:void 0,n),u=s>2?o[2]:void 0,c=void 0===u?n:i(u,n);c>l;)t[l++]=e;return t}},function(e,t,n){var r=n(12),i=n(129),a=n(14)("species");e.exports=function(e,t){var n;return i(e)&&(n=e.constructor,"function"!=typeof n||n!==Array&&!i(n.prototype)||(n=void 0),r(n)&&(n=n[a],null===n&&(n=void 0))),new(void 0===n?Array:n)(t)}},function(e,t,n){var r=n(5);e.exports=function(e){var t=r.getKeys(e),n=r.getSymbols;if(n)for(var i,a=n(e),o=r.isEnum,s=0;a.length>s;)o.call(e,i=a[s++])&&t.push(i);return t}},function(e,t,n){var r=n(5),i=n(31);e.exports=function(e,t){for(var n,a=i(e),o=r.getKeys(a),s=o.length,l=0;s>l;)if(a[n=o[l++]]===t)return n}},[765,15,211,41],[766,5,43,96,17],function(e,t,n){"use strict";var r=n(322),i=n(95),a=n(62);e.exports=function(){for(var e=a(this),t=arguments.length,n=Array(t),o=0,s=r._,l=!1;t>o;)(n[o]=arguments[o++])===s&&(l=!0);return function(){var r,a=this,o=arguments,u=o.length,c=0,f=0;if(!l&&!u)return i(e,n,a);if(r=n.slice(),l)for(;t>c;c++)r[c]===s&&(r[c]=o[f++]);for(;u>f;)r.push(o[f++]);return i(e,r,a)}}},function(e,t,n){e.exports=n(15)},function(e,t){e.exports=function(e,t){var n=t===Object(t)?function(e){return t[e]}:t;return function(t){return String(t).replace(e,n)}}},[772,13,62,14],function(e,t,n){var r=n(12);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){"use strict";var r,i=n(5),a=n(1),o=n(28),s=n(50),l=n(197),u=n(194),c=n(23),f=n(41),d=n(95),p=n(17),h=n(13),m=n(62),v=n(12),g=n(43),y=n(31),b=n(76),E=n(75),w=n(24),x=n(96),S=n(64)("__proto__"),k=n(91),N=n(190)(!1),C=Object.prototype,P=Array.prototype,M=P.slice,T=P.join,_=i.setDesc,O=i.getDesc,D=i.setDescs,A={};o||(r=!p(function(){return 7!=_(u("div"),"a",{get:function(){return 7}}).a}),i.setDesc=function(e,t,n){if(r)try{return _(e,t,n)}catch(i){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(h(e)[t]=n.value),e},i.getDesc=function(e,t){if(r)try{return O(e,t)}catch(n){}return c(e,t)?s(!C.propertyIsEnumerable.call(e,t),e[t]):void 0},i.setDescs=D=function(e,t){h(e);for(var n,r=i.getKeys(t),a=r.length,o=0;a>o;)i.setDesc(e,n=r[o++],t[n]);return e}),a(a.S+a.F*!o,"Object",{getOwnPropertyDescriptor:i.getDesc,defineProperty:i.setDesc,defineProperties:D});var L="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),R=L.concat("length","prototype"),j=L.length,I=function(){var e,t=u("iframe"),n=j,r=">";for(t.style.display="none",l.appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object</script"+r),e.close(),I=e.F;n--;)delete I.prototype[L[n]];return I()},z=function(e,t){return function(n){var r,i=y(n),a=0,o=[];for(r in i)r!=S&&c(i,r)&&o.push(r);for(;t>a;)c(i,r=e[a++])&&(~N(o,r)||o.push(r));return o}},F=function(){};a(a.S,"Object",{getPrototypeOf:i.getProto=i.getProto||function(e){return e=g(e),c(e,S)?e[S]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?C:null},getOwnPropertyNames:i.getNames=i.getNames||z(R,R.length,!0),create:i.create=i.create||function(e,t){var n;return null!==e?(F.prototype=h(e),n=new F,F.prototype=null,n[S]=e):n=I(),void 0===t?n:D(n,t)},keys:i.getKeys=i.getKeys||z(L,j,!1)});var U=function(e,t,n){if(!(t in A)){for(var r=[],i=0;t>i;i++)r[i]="a["+i+"]";A[t]=Function("F,a","return new F("+r.join(",")+")")}return A[t](e,n)};a(a.P,"Function",{bind:function(e){var t=m(this),n=M.call(arguments,1),r=function(){var i=n.concat(M.call(arguments));return this instanceof r?U(t,i.length,i):d(t,i,e)};return v(t.prototype)&&(r.prototype=t.prototype),r}}),a(a.P+a.F*p(function(){l&&M.call(l)}),"Array",{slice:function(e,t){var n=w(this.length),r=f(this);if(t=void 0===t?n:t,"Array"==r)return M.call(this,e,t);for(var i=E(e,n),a=E(t,n),o=w(a-i),s=Array(o),l=0;o>l;l++)s[l]="String"==r?this.charAt(i+l):this[i+l];return s}}),a(a.P+a.F*(x!=Object),"Array",{join:function(e){return T.call(x(this),void 0===e?",":e)}}),a(a.S,"Array",{isArray:n(129)});var W=function(e){return function(t,n){m(t);var r=x(this),i=w(r.length),a=e?i-1:0,o=e?-1:1;if(arguments.length<2)for(;;){if(a in r){n=r[a],a+=o;break}if(a+=o,e?0>a:a>=i)throw TypeError("Reduce of empty array with no initial value")}for(;e?a>=0:i>a;a+=o)a in r&&(n=t(n,r[a],a,this));return n}},q=function(e){return function(t){return e(this,t,arguments[1])}};a(a.P,"Array",{forEach:i.each=i.each||q(k(0)),map:q(k(1)),filter:q(k(2)),some:q(k(3)),every:q(k(4)),reduce:W(!1),reduceRight:W(!0),indexOf:q(N),lastIndexOf:function(e,t){var n=y(this),r=w(n.length),i=r-1;for(arguments.length>1&&(i=Math.min(i,b(t))),0>i&&(i=w(r+i));i>=0;i--)if(i in n&&n[i]===e)return i;return-1}}),a(a.S,"Date",{now:function(){return+new Date}});var H=function(e){return e>9?e:"0"+e};a(a.P+a.F*(p(function(){return"0385-07-25T07:06:39.999Z"!=new Date(-5e13-1).toISOString()})||!p(function(){new Date(NaN).toISOString()})),"Date",{toISOString:function(){if(!isFinite(this))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),r=0>t?"-":t>9999?"+":"";return r+("00000"+Math.abs(t)).slice(r?-6:-4)+"-"+H(e.getUTCMonth()+1)+"-"+H(e.getUTCDate())+"T"+H(e.getUTCHours())+":"+H(e.getUTCMinutes())+":"+H(e.getUTCSeconds())+"."+(n>99?n:"0"+H(n))+"Z"}})},function(e,t,n){var r=n(1);r(r.P,"Array",{copyWithin:n(314)}),n(63)("copyWithin")},function(e,t,n){var r=n(1);r(r.P,"Array",{fill:n(315)}),n(63)("fill")},function(e,t,n){"use strict";var r=n(1),i=n(91)(6),a="findIndex",o=!0;a in[]&&Array(1)[a](function(){o=!1}),r(r.P+r.F*o,"Array",{