(window.webpackJsonp=window.webpackJsonp||[]).push([[28],{2849:function(e,n,t){"use strict";t.r(n);var r=t(173),a=t(174),l=t(176),c=t(175),u=t(177),o=t(35),i=t(0),p=t(7),s=t(183),d=t(573),f=t(13),m=t.n(f),b=t(19),h=t(161),v=t(572),O=t(205),j=function(e){function n(e){var t;return Object(r.a)(this,n),(t=Object(l.a)(this,Object(c.a)(n).call(this,e))).context=void 0,t.updateAppellateValue=function(e){var n=e.target.value;t.setState({newValue:n})},t.setAppellate=Object(b.a)(m.a.mark(function e(){return m.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(42===t.state.newValue.length){e.next=2;break}throw new Error("oops. the address was not set correctly.");case 2:return e.abrupt("return",t.context.setAppellate(t.state.newValue));case 3:case"end":return e.stop()}},e)})),t.state={newValue:""},t}return Object(u.a)(n,e),Object(a.a)(n,[{key:"render",value:function(){return i.createElement(d.b,null,i.createElement(d.c,null,"Set Appellate"),i.createElement(v.c,null,i.createElement(v.a,null,i.createElement("label",null,"Enter New Appellate Address",i.createElement(v.b,{type:"text",name:"newValue",onChange:this.updateAppellateValue}))),i.createElement(v.a,null,i.createElement(h.TransactionButton,{transactions:[{transaction:this.setAppellate}]},"Update Government Parameter"))))}}]),n}(i.Component);function w(){var e=Object(o.a)(["\n  font-weight: bold;\n  margin: 0 10px 0 0;\n"]);return w=function(){return e},e}j.contextType=O.a;var E=p.default.span(w()),g=function(e){function n(e){return Object(r.a)(this,n),Object(l.a)(this,Object(c.a)(n).call(this,e))}return Object(u.a)(n,e),Object(a.a)(n,[{key:"render",value:function(){return i.createElement(d.a,null,i.createElement(d.b,null,i.createElement(d.c,null),i.createElement("div",null,i.createElement(E,null,"Appellate:")," ",this.props.appellateAddr),i.createElement("div",null,i.createElement(E,null,"Appellate Members:")," ",this.props.appellateMembers),i.createElement("div",null,i.createElement(E,null,"Controller:")," ",this.props.controllerAddr)),i.createElement(j,null))}}]),n}(i.Component);n.default=Object(s.connect)(function(e){var n=e.networkDependent.appellate,t=e.networkDependent.controller;return{appellateAddr:n,appellateMembers:e.networkDependent.appellateMembers,controllerAddr:t}})(g)},572:function(e,n,t){"use strict";t.d(n,"c",function(){return m}),t.d(n,"a",function(){return b}),t.d(n,"b",function(){return h});var r=t(173),a=t(174),l=t(176),c=t(175),u=t(177),o=t(35),i=t(0),p=t(7);function s(){var e=Object(o.a)(["\n  margin: 0 0 1rem;\n"]);return s=function(){return e},e}function d(){var e=Object(o.a)(["\n  color: #c00;\n  font-weight: bold;\n"]);return d=function(){return e},e}function f(){var e=Object(o.a)(["\n  margin: 1rem 0;\n"]);return f=function(){return e},e}var m=p.default.div(f()),b=(p.default.div(d()),p.default.div(s())),h=function(e){function n(e){var t;return Object(r.a)(this,n),(t=Object(l.a)(this,Object(c.a)(n).call(this,e))).onChange=function(e){t.props.onChange&&t.props.onChange(e),t.props.validate&&t.props.validate(e)},t}return Object(u.a)(n,e),Object(a.a)(n,[{key:"render",value:function(){return i.createElement("input",{type:this.props.type,name:this.props.name,value:this.props.value,readOnly:this.props.readOnly,onChange:this.onChange})}}]),n}(i.Component),v=(i.Component,function(e){function n(e){return Object(r.a)(this,n),Object(l.a)(this,Object(c.a)(n).call(this,e))}return Object(u.a)(n,e),Object(a.a)(n,[{key:"render",value:function(){return i.createElement("option",{value:this.props.option[1]},this.props.option[0])}}]),n}(i.Component))},573:function(e,n,t){"use strict";t.d(n,"a",function(){return o}),t.d(n,"b",function(){return i}),t.d(n,"c",function(){return p});var r=t(35),a=t(7);function l(){var e=Object(r.a)(["\n  font-size: 1.125rem;\n  margin: 0 0 1rem;\n"]);return l=function(){return e},e}function c(){var e=Object(r.a)(["\n  border: 1px solid #cecece;\n  border-radius: 3px;\n  margin: 1rem;\n  padding: 1rem 1rem 1.5rem;\n\n  & > & {\n    border-width: 1px 0 0;\n    padding: 1rem 0 0;\n    margin: 1rem 0 0;\n  }\n"]);return c=function(){return e},e}function u(){var e=Object(r.a)(["\n  display: flex;\n  flex-wrap: wrap;\n  margin: 0 1rem 2rem;\n\n  & > * {\n    flex: 1;\n  }\n"]);return u=function(){return e},e}var o=a.default.div(u()),i=a.default.div(c()),p=a.default.h3(l())}}]);