(window.webpackJsonp=window.webpackJsonp||[]).push([[26],{2845:function(e,t,n){"use strict";n.r(t);var a=n(193),r=n(194),l=n(199),o=n(198),i=n(200),c=n(6),p=n(0),u=n(205),s=n(898),d=n(15),m=n.n(d),f=n(25),h=n(178),b=n(896),w=n(231),g=function(e){function t(e){var n;return Object(a.a)(this,t),(n=Object(l.a)(this,Object(o.a)(t).call(this,e))).context=void 0,n.updateAppellateValue=function(e){var t=e.target.value;n.setState({newValue:t})},n.setAppellate=Object(f.a)(m.a.mark(function e(){return m.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(42===n.state.newValue.length){e.next=2;break}throw new Error("oops. the address was not set correctly.");case 2:return e.abrupt("return",n.context.setAppellate(n.state.newValue));case 3:case"end":return e.stop()}},e)})),n.state={newValue:""},n}return Object(i.a)(t,e),Object(r.a)(t,[{key:"render",value:function(){return p.createElement(s.b,null,p.createElement(s.c,null,"Set Appellate"),p.createElement(b.c,null,p.createElement(b.a,null,p.createElement("label",null,"Enter New Appellate Address",p.createElement(b.b,{type:"text",name:"newValue",onChange:this.updateAppellateValue}))),p.createElement(b.a,null,p.createElement(h.TransactionButton,{transactions:[{transaction:this.setAppellate}]},"Update Government Parameter"))))}}]),t}(p.Component);g.contextType=w.a;var v=c.default.span.withConfig({displayName:"Government__StyledSpan",componentId:"sc-1e0g7yf-0"})(["font-weight:bold;margin:0 10px 0 0;"]),j=function(e){function t(e){return Object(a.a)(this,t),Object(l.a)(this,Object(o.a)(t).call(this,e))}return Object(i.a)(t,e),Object(r.a)(t,[{key:"render",value:function(){return p.createElement(s.a,null,p.createElement(s.b,null,p.createElement(s.c,null),p.createElement("div",null,p.createElement(v,null,"Appellate:")," ",this.props.appellateAddr),p.createElement("div",null,p.createElement(v,null,"Appellate Members:")," ",this.props.appellateMembers),p.createElement("div",null,p.createElement(v,null,"Controller:")," ",this.props.controllerAddr)),p.createElement(g,null))}}]),t}(p.Component);t.default=Object(u.connect)(function(e){var t=e.networkDependent.appellate,n=e.networkDependent.controller;return{appellateAddr:t,appellateMembers:e.networkDependent.appellateMembers,controllerAddr:n}})(j)},896:function(e,t,n){"use strict";n.d(t,"c",function(){return u}),n.d(t,"a",function(){return s}),n.d(t,"b",function(){return d});var a=n(193),r=n(194),l=n(199),o=n(198),i=n(200),c=n(6),p=n(0),u=c.default.div.withConfig({displayName:"FormElements__StyledFormContainer",componentId:"sc-16npujg-0"})(["margin:1rem 0;"]),s=(c.default.div.withConfig({displayName:"FormElements__FormValidationMessage",componentId:"sc-16npujg-1"})(["color:#c00;font-weight:bold;"]),c.default.div.withConfig({displayName:"FormElements__FormGroup",componentId:"sc-16npujg-2"})(["margin:0 0 1rem;"])),d=function(e){function t(e){var n;return Object(a.a)(this,t),(n=Object(l.a)(this,Object(o.a)(t).call(this,e))).onChange=function(e){n.props.onChange&&n.props.onChange(e),n.props.validate&&n.props.validate(e)},n}return Object(i.a)(t,e),Object(r.a)(t,[{key:"render",value:function(){return p.createElement("input",{type:this.props.type,name:this.props.name,value:this.props.value,readOnly:this.props.readOnly,onChange:this.onChange})}}]),t}(p.Component),m=(p.Component,function(e){function t(e){return Object(a.a)(this,t),Object(l.a)(this,Object(o.a)(t).call(this,e))}return Object(i.a)(t,e),Object(r.a)(t,[{key:"render",value:function(){return p.createElement("option",{value:this.props.option[1]},this.props.option[0])}}]),t}(p.Component))},898:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return l}),n.d(t,"c",function(){return o});var a=n(6),r=a.default.div.withConfig({displayName:"ViewModules__PageView",componentId:"sc-12d8yhd-0"})(["display:flex;flex-wrap:wrap;margin:0 1rem 2rem;& > *{flex:1;}"]),l=a.default.div.withConfig({displayName:"ViewModules__ViewModule",componentId:"sc-12d8yhd-1"})(["border:1px solid #cecece;border-radius:3px;margin:1rem;padding:1rem 1rem 1.5rem;& > &{border-width:1px 0 0;padding:1rem 0 0;margin:1rem 0 0;}"]),o=a.default.h3.withConfig({displayName:"ViewModules__ViewModuleHeader",componentId:"sc-12d8yhd-2"})(["font-size:1.125rem;margin:0 0 1rem;"])}}]);