function_classCallCheck(instance,Constructor){if(!(instanceinstanceofConstructor)){thrownewTypeError("Cannot call a class as a function");}}
function_inherits(subClass,superClass){if(typeofsuperClass!=="function"&&superClass!==null){thrownewTypeError("Super expression must either be null or a function");}_setPrototypeOf(subClass.prototype,superClass&&superClass.prototype);if(superClass)_setPrototypeOf(subClass,superClass);}
function_assertThisInitialized(self){if(self===void0){thrownewReferenceError("this hasn't been initialised - super() hasn't been called");}returnself;}
return_react.default.createElement(_SpaceAround.default,null,status===publishStates.LOAD_START&&_react.default.createElement("div",null,_react.default.createElement("p",null,"File is loading to server"),_react.default.createElement("p",{
className:'text--secondary'
},"0%")),status===publishStates.LOADING&&_react.default.createElement("div",null,_react.default.createElement("p",null,"File is loading to server"),_react.default.createElement("p",{
className:'text--secondary'
},message)),status===publishStates.PUBLISHING&&_react.default.createElement("div",null,_react.default.createElement("p",null,"Upload complete. Your file is now being published on the blockchain..."),_react.default.createElement(_ProgressBar.default,{
},"Learn more."))),status===publishStates.SUCCESS&&_react.default.createElement("div",null,_react.default.createElement("p",null,"Your publish is complete! You are being redirected to it now."),_react.default.createElement("p",null,"If you are not automatically redirected, ",_react.default.createElement("a",{
},"click here."))),status===publishStates.FAILED&&_react.default.createElement("div",null,_react.default.createElement("p",null,"Something went wrong..."),_react.default.createElement("p",{
className:'text--strong'
},message),_react.default.createElement("p",null,"For help, post the above error text in the #speech channel on the ",_react.default.createElement("a",{