webpackJsonp([0],[function(e,t,a){"use strict";a(1),window.Intl?a(195):a.e(1,function(e){vart=[e(842)];(function(t){t.__addLocaleData(e(847)),window.Intl=t,e(195)}).apply(null,t)})},function(e,t,a){"use strict";a(2),a(6),a(7),a(8),a(176),a(177);varr=["Roboto-Bold","Roboto-Light","Roboto-Regular","RobotoCondensed-Regular"],n=["eot","svg","ttf","woff"],o=!0,i=!1,s=void0;try{for(varl,u=r[Symbol.iterator]();!(o=(l=u.next()).done);o=!0){varc=l.value,d=!0,f=!1,p=void0;try{for(varm,h=n[Symbol.iterator]();!(d=(m=h.next()).done);d=!0){vary=m.value;a(178)("./"+c+"."+y)}}catch(g){f=!0,p=g}finally{try{!d&&h["return"]&&h["return"]()}finally{if(f)throwp}}}}catch(g){i=!0,s=g}finally{try{!o&&u["return"]&&u["return"]()}finally{if(i)throws}}},function(e,t){},,function(e,t){e.exports=function(){vare=[];returne.toString=function(){for(vare=[],t=0;t<this.length;t++){vara=this[t];a[2]?e.push("@media "+a[2]+"{"+a[1]+"}"):e.push(a[1])}returne.join("")},e.i=function(t,a){"string"==typeoft&&(t=[[null,t,""]]);for(varr={},n=0;n<this.length;n++){varo=this[n][0];"number"==typeofo&&(r[o]=!0)}for(n=0;n<t.length;n++){vari=t[n];"number"==typeofi[0]&&r[i[0]]||(a&&!i[2]?i[2]=a:a&&(i[2]="("+i[2]+") and ("+a+")"),e.push(i))}},e}},,function(e,t,a){e.exports=a.p+"index.html"},function(e,t,a){e.exports=a.p+"favicon.ico"},function(e,t,a){e.exports=a(9)},function(e,t,a){e.exports=a(10)},function(e,t,a){(function(e){"use strict";if(a(11),a(174),e._babelPolyfill)thrownewError("only one instance of babel/polyfill is allowed");e._babelPolyfill=!0}).call(t,function(){returnthis}())},function(e,t,a){a(12),a(41),a(49),a(51),a(53),a(55),a(57),a(58),a(59),a(60),a(61),a(62),a(63),a(65),a(66),a(67),a(68),a(69),a(70),a(71),a(72),a(73),a(74),a(76),a(77),a(78),a(80),a(81),a(82),a(83),a(84),a(85),a(86),a(87),a(88),a(89),a(90),a(91),a(92),a(98),a(99),a(101),a(102),a(104),a(105),a(110),a(111),a(114),a(116),a(117),a(118),a(119),a(120),a(122),a(123),a(125),a(126),a(127),a(128),a(133),a(136),a(137),a(139),a(140),a(141),a(142),a(143),a(144),a(145),a(146),a(147),a(148),a(149),a(150),a(152),a(153),a(154),a(155),a(156),a(157),a(159),a(160),a(161),a(162),a(164),a(165),a(167),a(168),a(169),a(172),a(173),e.exports=a(23)},function(e,t,a){functionr(e,t){returnfunction(a){varr,n=k(a),o=0,i=[];for(rinn)r!=b&&p(n,r)&&i.push(r);for(;t>o;)p(n,r=e[o++])&&(~D(i,r)||i.push(r));returni}}functionn(){}functiono(e,t,a){if(!(tinF)){for(varr=[],n=0;t>n;n++)r[n]="a["+n+"]";F[t]=Function("F,a","return new F("+r.join(",")+")")}returnF[t](e,a)}functioni(e){returnfunction(t,a){_(t);varr=k(this),n=j(r.length),o=e?n-1:0,i=e?-1:1;if(arguments.length<2)for(;;){if(oinr){a=r[o],o+=i;break}if(o+=i,e?0>o:o>=n)throwTypeError("Reduce of empty array with no initial value")}for(;e?o>=0:n>o;o+=i)oinr&&(a=t(a,r[o],o,this));returna}}functions(e){returne>9?e:"0"+e}varl=a(13),u=a(14),c=a(15),d=a(16),f=a(18),p=a(20),m=a(21),h=a(22),y=a(27),g=a(28),b=a(26)("__proto__"),v=a(19),w=a(36),_=a(33),k=a(29),E=a(35),x=a(37),j=a(34),O=a(30),z=Object.prototype,S=[],A=S.slice,P=S.join,C=l.setDesc,B=l.getDesc,T=l.setDescs,q=!1,D=a(38)(!1),N=g(0),M=g(1),I=g(2),R=g(3),L=g(4),F={},U=a(39)(/^\s*([\s\S]*\S)?\s*$/,"$1");if(!u){try{q=8==C(f("div"),"x",{get:function(){return8}}).x}catch(H){}l.setDesc=function(e,t,a){if(q)try{returnC(e,t,a)}catch(r){}if("get"ina||"set"ina)throwTypeError("Accessors not supported!");return"value"ina&&(w(e)[t]=a.value),e},l.getDesc=function(e,t){if(q)try{returnB(e,t)}catch(a){}returnp(e,t)?c(!z.propertyIsEnumerable.call(e,t),e[t]):void0},l.setDescs=T=function(e,t){w(e);for(vara,r=l.getKeys(t),n=r.length,o=0;n>o;)l.setDesc(e,a=r[o++],t[a]);returne}}h(h.S+h.F*!u,"Object",{getOwnPropertyDescriptor:l.getDesc,defineProperty:l.setDesc,defineProperties:T});varW="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),K=W.concat("length","prototype"),V=W.length,G=function(){vare,t=f("iframe"),a=V,r=">";for(t.style.display="none",d.appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script
a(e)})}}),b(b.S+b.F*(!q||r(!0)),A,{resolve:function(e){returnn(e)&&o(e.constructor,this)?e:newthis(function(t){t(e)})}}),b(b.S+b.F*!(q&&a(109)(function(e){T.all(e)["catch"](function(){})})),A,{all:function(e){vart=i(this),a=[];returnnewt(function(r,n){E(e,!1,a.push,a);varo=a.length,i=Array(o);o?p.each.call(a,function(e,a){t.resolve(e).then(function(e){i[a]=e,--o||r(i)},n)}):r(i)})},race:function(e){vart=i(this);returnnewt(function(a,r){E(e,!1,function(e){t.resolve(e).then(a,r)})})}})},function(e,t){e.exports=function(e,t,a){if(!(einstanceoft))throwTypeError(a+": use the 'new' operator!");returne}},function(e,t,a){varr=a(32),n=a(106),o=a(107),i=a(36),s=a(34),l=a(108);e.exports=function(e,t,a,u){varc,d,f,p=l(e),m=r(a,u,t?2:1),h=0;if("function"!=typeofp)throwTypeError(e+" is not iterable!");if(o(p))for(c=s(e.length);c>h;h++)t?m(i(d=e[h])[0],d[1]):m(e[h]);elsefor(f=p.call(e);!(d=f.next()).done;)n(f,m,d.value,t)}},function(e,t,a){"use strict";functionr(){vare=+this;if(b.hasOwnProperty(e)){vart=b[e];deleteb[e],t()}}functionn(e){r.call(e.data)}varo,i,s,l=a(32),u=a(27),c=a(16),d=a(18),f=a(17),p=f.process,m=f.setImmediate,h=f.clearImmediate,y=f.MessageChannel,g=0,b={},v="onreadystatechange";m&&h||(m=function(e){for(vart=[],a=1;arguments.length>a;)t.push(arguments[a++]);returnb[++g]=function(){u("function"==typeofe?e:Function(e),t)},o(g),g},h=function(e){deleteb[e]},"process"==a(21)(p)?o=function(e){p.nextTick(l(r,e,1))}:f.addEventListener&&"function"==typeofpostMessage&&!f.importScripts?(o=function(e){f.postMessage(e,"*")},f.addEventListener("message",n,!1)):y?(i=newy,s=i.port2,i.port1.onmessage=n,o=l(s.postMessage,s,1)):o=vind("script")?function(e){c.appendChild(d("script"))[v]=function(){c.removeChild(this),r.call(e)}}:function(e){setTimeout(l(r,e,1),0)}),e.exports={set:m,clear:h}},function(e,t,a){varr=a(25);e.exports=function(e,t){for(varaint)r(e,a,t[a]);returne}},function(e,t,a){"use strict";varr=a(134);a(135)("Map",function(e){returnfunction(){returne(this,arguments[0])}},{get:function(e){vart=r.getEntry(this,e);returnt&&t.v},set:function(e,t){returnr.def(this,0===e?0:e,t)}},r,!0)},function(e,t,a){"use strict";functionr(e,t){if(!h(e))return"symbol"==typeofe?e:("string"==typeofe?"S":"P")+e;if(!m(e,p)){if(!y(e))return"F";if(!t)return"E";i(e,p,++v)}return"O"+e[p]}functionn(e,t){vara,n=r(t);if("F"!==n)returne._i[n];for(a=e._f;a;a=a.n)if(a.k==t)returna}varo=a(13),i=a(24),s=a(32),l=a(115),u=a(129),c=a(31),d=a(130),f=a(113),p=a(26)("id"),m=a(20),h=a(19),y=Object.isExtensible||h,g=a(14),b=g?"_s":"size",v=0;e.exports={getConstructor:function(e,t,r,i){varl=e(function(e,a){u(e,l,t),e._i=o.create(null),e._f=void0,e._l=void0,e[b]=0,void0!=a&&d(a,r,e[i],e)});returna(132)(l.prototype,{clear:function(){for(vare=this,t=e._i,a=e._f;a;a=a.n)a.r=!0,a.p&&(a.p=a.p.n=void0),deletet[a.i];e._f=e._l=void0,e[b]=0},"delete":function(e){vart=this,a=n(t,e);if(a){varr=a.n,o=a.p;deletet._i[a.i],a.r=!0,o&&(o.n=r),r&&(r.p=o),t._f==a&&(t._f=r),t._l==a&&(t._l=o),t[b]--}return!!a},forEach:function(e){for(vart,a=s(e,arguments[1],3);t=t?t.n:this._f;)for(a(t.v,t.k,this);t&&t.r;)t=t.p},has:function(e){return!!n(this,e)}}),g&&o.setDesc(l.prototype,"size",{get:function(){returnc(this[b])}}),l},def:function(e,t,a){varo,i,s=n(e,t);returns?s.v=a:(e._l=s={i:i=r(t,!0),k:t,v:a,p:o=e._l,n:void0,r:!1},e._f||(e._f=s),o&&(o.n=s),e[b]++,"F"!==i&&(e._i[i]=s)),e},getEntry:n,setStrong:function(e,t,r){a(94)(e,t,function(e,t){this._t=e,this._k=t,this._l=void0},function(){for(vare=this,t=e._k,a=e._l;a&&a.r;)a=a.p;returne._t&&(e._l=a=a?a.n:e._t._f)?"keys"==t?f(0,a.k):"values"==t?f(0,a.v):f(0,[a.k,a.v]):(e._t=void0,f(1))},r?"entries":"values",!r,!0),l(e),l(a(23)[t])}}},function(e,t,a){"use strict";varr=a(17),n=a(22),o=a(97),i=a(130),s=a(129);e.exports=function(e,t,l,u,c,d){functionf(e){vart=y[e];a(25)(y,e,"delete"==e?function(e){returnt.call(this,0===e?0:e)}:"has"==e?function(e){returnt.call(this,0===e?0:e)}:"get"==e?function(e){returnt.call(this,0===e?0:e)}:"add"==e?function(e){returnt.call(this,0===e?0:e)
e.IDBDatabase=e.IDBDatabase||e.webkitIDBDatabase,e.IDBTransaction=e.IDBTransaction||e.webkitIDBTransaction,e.IDBCursor=e.IDBCursor||e.webkitIDBCursor,e.IDBKeyRange=e.IDBKeyRange||e.webkitIDBKeyRange,e.IDBTransaction||(e.IDBTransaction={});try{e.IDBTransaction.READ_ONLY=e.IDBTransaction.READ_ONLY||"readonly",e.IDBTransaction.READ_WRITE=e.IDBTransaction.READ_WRITE||"readwrite"}catch(n){}}elsee.shimIndexedDB.__useShim()}(window,idbModules)},function(e,t,a){functionr(e){returna(n(e))}functionn(e){returno[e]||function(){thrownewError("Cannot find module '"+e+"'.")}()}varo={"./Roboto-Bold.eot":179,"./Roboto-Bold.svg":180,"./Roboto-Bold.ttf":181,"./Roboto-Bold.woff":182,"./Roboto-Light.eot":183,"./Roboto-Light.svg":184,"./Roboto-Light.ttf":185,"./Roboto-Light.woff":186,"./Roboto-Regular.eot":187,"./Roboto-Regular.svg":188,"./Roboto-Regular.ttf":189,"./Roboto-Regular.woff":190,"./RobotoCondensed-Regular.eot":191,"./RobotoCondensed-Regular.svg":192,"./RobotoCondensed-Regular.ttf":193,"./RobotoCondensed-Regular.woff":194};r.keys=function(){returnObject.keys(o)},r.resolve=n,e.exports=r,r.id=178},function(e,t,a){e.exports=a.p+"fonts/Roboto-Bold.eot?f2560085ffa6e6ef89f689dcd7e76de5"},function(e,t,a){e.exports=a.p+"fonts/Roboto-Bold.svg?5691d36c5c2e0f39d60882cec833d526"},function(e,t,a){e.exports=a.p+"fonts/Roboto-Bold.ttf?98e7cf4c382f271d821aed5b72c8a01f"},function(e,t,a){e.exports=a.p+"fonts/Roboto-Bold.woff?5c761f3bdd9e9d80466973275663785c"},function(e,t,a){e.exports=a.p+"fonts/Roboto-Light.eot?1801e86a898eab25899daa4cdccbe9dc"},function(e,t,a){e.exports=a.p+"fonts/Roboto-Light.svg?5691d36c5c2e0f39d60882cec833d526"},function(e,t,a){e.exports=a.p+"fonts/Roboto-Light.ttf?6190cbf23a93f3c145de3ee7b55460fa"},function(e,t,a){e.exports=a.p+"fonts/Roboto-Light.woff?405782143d67122bc25413bf23966d62"},function(e,t,a){e.exports=a.p+"fonts/Roboto-Regular.eot?01f3aa219c5b8e487d083790e4e123ab"},function(e,t,a){e.exports=a.p+"fonts/Roboto-Regular.svg?5691d36c5c2e0f39d60882cec833d526"},function(e,t,a){e.exports=a.p+"fonts/Roboto-Regular.ttf?dab605765566d58fc063a486ac820b05"},function(e,t,a){e.exports=a.p+"fonts/Roboto-Regular.woff?e9415d2d7178ec455c06bad7f0853ed7"},function(e,t,a){e.exports=a.p+"fonts/RobotoCondensed-Regular.eot?198e8ae47771146b02d44052dbed8fed"},function(e,t,a){e.exports=a.p+"fonts/RobotoCondensed-Regular.svg?5691d36c5c2e0f39d60882cec833d526"},function(e,t,a){e.exports=a.p+"fonts/RobotoCondensed-Regular.ttf?0949b22f1374bf6c927ea08a4067e1b7"},function(e,t,a){e.exports=a.p+"fonts/RobotoCondensed-Regular.woff?38bed6d05764bc1161f71eda65144af7"},function(e,t,a){"use strict";functionr(e){returne&&e.__esModule?e:{"default":e}}functionn(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}functiono(e,t){if("function"!=typeoft&&null!==t)thrownewTypeError("Super expression must either be null or a function, not "+typeoft);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}vari=function(){functione(e,t){for(vara=0;a<t.length;a++){varr=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}returnfunction(t,a,r){returna&&e(t.prototype,a),r&&e(t,r),t}}(),s=function(e,t,a){for(varr=!0;r;){varn=e,o=t,i=a;s=u=l=void0,r=!1,null===n&&(n=Function.prototype);vars=Object.getOwnPropertyDescriptor(n,o);if(void0!==s){if("value"ins)returns.value;varl=s.get;returnvoid0===l?void0:l.call(i)}varu=Object.getPrototypeOf(n);if(null===u)returnvoid0;e=u,t=o,a=i,r=!0}},l=a(196),u=r(l),c=a(351),d=r(c),f=a(390),p=(r(f),a(427)),m=r(p),h=a(435),y=r(h),g=a(630),b=r(g),v=a(662),w=r(v),_=a(685),k=r(_),E=a(687),x=r(E),j=a(692),O=r(j),z=a(696),S=r(z),A=a(697),P=r(A),C=a(698),B=r(C),T=a(699),q=r(T),D=a(702),N=r(D),M=a(703),I=r(M),R=a(704),L=r(R),F=a(715),U=r(F),H=a(717),W=r(H),K=a(736),V=r(K),G=a(743),$=r(G),Y=a(744),J=r(Y),Z=a(745),Q=r(Z),X=a(746),ee=r(X),te=a(747),ae=r(te),re=a(730),ne=r(re),oe=a(749),ie=r(oe),se=a(771),le=
seller:"Verkäufer",collateral:"Sicherheit/Pfand",coll_ratio:"Anfängliche Sicherheit (Verhältnis)",coll_maint:"Unterhalt der Sicherheit (Verhältnis)",create_key:"Ein öffentlicher Schlüssel wurde erzeugt",reg_account:"Ein Konto wurde angelegt",was_reg_account:"registriert von",create_asset:"Neuen Asset erstellen",limit_order:"Limit-Order für den Verkauf platziert",limit_order_buy:"Limit-Order für den Ankauf platziert",limit_order_cancel:"Limit-Order abgebrochen. ID:",short_order:"Short-Order für Verkauf platziert",short_order_cancel:"Short-Order abgebrochen. ID:",at:"für",coll_of:"mit einer Sicherheit bestehend aus",call_order_update:"Call-Order aktualisiert",upgrade_account:"Kontostatus auf Lifetime Member aktualisiert.",update_account:"Konto aktualisiert",whitelist_account:"Konto zur Positivliste hinzugefügt",whitelisted_by:"Wurde zur Postitivliste hinzugefügt von Konto",transfer_account:"Das Konto wurde übertragen",update_asset:"Das Asset wurde aktualisiert",update_feed_producers:"Die Liste der Feed-Erzeuger wurde aktualisiert",feed_producer:"Werde Feed-Erzeuger für ein Asset",asset_issue:"Emittiert",was_issued:"Wurde emittiert",by:"von",burn_asset:"Vernichtet",fund_pool:"Asset-Gebührenpool finanziert mit",asset_settle:"Settlement erbeten für",asset_global_settle:"Globales Settlement erbeten für",publish_feed:"Neuer Feed wurde publiziert für Asset",delegate_create:"Neuer Delegate wurde angelegt",witness_create:"Neuer Witness wurde angelegt",witness_pay:"Witnesslohn ausgezahlt an Konto",witness_receive:"Received witness from witness",proposal_create:"Ein Vorschlag wurde erzeugt",proposal_update:"Ein Vorschlag wurde aktualisiert",proposal_delete:"Ein Vorschlag wurde gelöscht",withdraw_permission_create:"Einzugsermächtigung wurde verliegen an Konto",withdraw_permission_update:"Einzugsermächtigung wurde aktualisiert für Konto",withdraw_permission_claim:"Einzugsermächtigung wurde eingefordert für Konto",withdraw_permission_delete:"Einzugsermächtigung wurde aufgehoben für Konto",paid:"Bezahlt",obtain:"zu erhalten",global_parameters_update:"Globale Parameter aktualisiert",file_write:"Eine Datei wurde geschrieben",vesting_balance_create:"Ein Sperrfristguthaben wurde erzeugt","for":"für",vesting_balance_withdraw:"Sperrfristguthaben wurde abgehoben",bond_create_offer:"Ein Bondangebot wurde erstellt",bond_cancel_offer:"Ein Bondangebot wurde abgebrochen",bond_accept_offer:"Ein Bondangebot wurde akzeptiert",bond_claim_collateral:"Eine Sicherheit wurde eingefordert",bond_pay_collateral:"Eine Sicherheit wurde bezahlt",create_worker:"Ein Budgetpunkt wurde erzeugt. Bezahlung",custom:"Eine benutzerdefinierte Operation wurde definiert",order_id:"Anweisungskennung (ID)",balance_claim:"Guthaben von %(balance_amount)s der Guthabenskennung (ID) #%(balance_id)s wurde beansprucht",balance_owner:"Schlüssel des Guthabeneigentümers",balance_id:"Guthabenskennung (ID)",deposit_to:"Dem Konto gutgeschrieben",claimed:"Ingesamt beantsprucht",trxTypes:{transfer:"Überweisung",limit_order_create:"Limit-Order",limit_order_cancel:"Limit-Order abbrechen",call_order_update:"Call-Order aktualisieren",account_create:"Konto erstellen",account_update:"Kontoaktualisierung",account_whitelist:"Konto Positivliste",account_upgrade:"Konto Upgrade",account_transfer:"Konto Überweisung",asset_create:"Asset erstellen",asset_update:"Asset aktualisieren",asset_update_bitasset:"SmartCoin aktualisieren",asset_update_feed_producers:"Asset Feederzeuger aktualisieren",asset_issue:"Asset emittieren",asset_reserve:"Assetanteile vernichten",asset_fund_fee_pool:"Asset Gebührenpool finanzieren",asset_settle:"Asset Settlement",asset_global_settle:"Globales Asset Settlement",asset_publish_feed:"Asset Feed publiszieren",delegate_create:"Delegate erstellen",witness_create:"Witness erstellen",witness_withdraw_pay:"Witnesslohn ausbezahlen",proposal_create:"Proposal erstellen",proposal_update:"Proposal aktualisieren",proposal_delete:"Proposal löschen",withdraw_permission_create:"Einzugsermächtigung erstellen",withdraw_permission_update:"Einzugsermächtigung
vars=Object.getOwnPropertyDescriptor(n,o);if(void0!==s){if("value"ins)returns.value;varl=s.get;returnvoid0===l?void0:l.call(i)}varu=Object.getPrototypeOf(n);if(null===u)returnvoid0;e=u,t=o,a=i,r=!0}},l=a(196),u=r(l),c=a(436),d=r(c),f=a(560),p=r(f),m=a(562),h=r(m),y=a(585),g=r(y),b=function(e){functiont(){n(this,t),s(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}returno(t,e),i(t,[{key:"render",value:function(){returnu["default"].createElement(h["default"],{stores:[d["default"],p["default"]],inject:{linkedAccounts:function(){returnd["default"].getState().linkedAccounts},balances:function(){returnd["default"].getState().balances},assets:function(){returnp["default"].getState().assets}}},u["default"].createElement(g["default"],null))}}]),t}(u["default"].Component);t["default"]=b,e.exports=t["default"]},function(e,t,a){"use strict";functionr(e){returne&&e.__esModule?e:{"default":e}}functionn(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}functiono(e,t){if("function"!=typeoft&&null!==t)thrownewTypeError("Super expression must either be null or a function, not "+typeoft);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}vari=function(){functione(e,t){for(vara=0;a<t.length;a++){varr=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}returnfunction(t,a,r){returna&&e(t.prototype,a),r&&e(t,r),t}}(),s=function(e,t,a){for(varr=!0;r;){varn=e,o=t,i=a;s=u=l=void0,r=!1,null===n&&(n=Function.prototype);vars=Object.getOwnPropertyDescriptor(n,o);if(void0!==s){if("value"ins)returns.value;varl=s.get;returnvoid0===l?void0:l.call(i)}varu=Object.getPrototypeOf(n);if(null===u)returnvoid0;e=u,t=o,a=i,r=!0}},l=a(405),u=r(l),c=a(429),d=r(c),f=a(391),p=r(f),m=a(437),h=r(m),y=a(532),g=a(530),b=r(g),v=a(529),w=r(v),_=a(541),k=r(_),E=function(e){functiont(){n(this,t),s(Object.getPrototypeOf(t.prototype),"constructor",this).call(this),this.currentAccount=null,this.cachedAccounts=d["default"].Map(),this.linkedAccounts=d["default"].Set(),this.myAccounts=d["default"].Set(),this.payeeAccounts=d["default"].Set(),this.searchAccounts=d["default"].Map(),this.balances=d["default"].Map(),this.accountHistories=d["default"].Map(),this.account_name_to_id={},this.account_id_to_name={},this.bindListeners({onGetAllAccounts:h["default"].getAllAccounts,onGetAccount:h["default"].getAccount,onSetCurrentAccount:h["default"].setCurrentAccount,onTransfer:h["default"].transfer,onCreateAccount:h["default"].createAccount,onUpgradeAccount:h["default"].upgradeAccount,onGetAccounts:h["default"].getAccounts,onLinkAccount:h["default"].linkAccount,onUnlinkAccount:h["default"].unlinkAccount,onAccountSearch:h["default"].accountSearch,onAddAccount:h["default"].addAccount,onChange:h["default"].change}),this._export("loadDbData","tryToSetCurrentAccount","onCreateAccount")}returno(t,e),i(t,[{key:"loadDbData",value:function(){vare=this;returnb["default"].load_data("linked_accounts").then(function(t){e.linkedAccounts=e.linkedAccounts.withMutations(function(e){vara=!0,r=!1,n=void0;try{for(varo,i=t[Symbol.iterator]();!(a=(o=i.next()).done);a=!0){vars=o.value;e.add(s.name)}}catch(l){r=!0,n=l}finally{try{!a&&i["return"]&&i["return"]()}finally{if(r)thrown}}})})}},{key:"onGetAccounts",value:function(e){vart=this;e.forEach(function(e){t.account_id_to_name[e[1]]=e[0],t.account_name_to_id[e[0]]=e[1]})}},{key:"onAccountSearch",value:function(e){vart=this;this.searchAccounts=this.searchAccounts.clear(),e.forEach(function(e){t.searchAccounts=t.searchAccounts.withMutations(function(t){t.set(e[1],e[0])})})}},{key:"onGetAllAccounts",value:function(e){vart=this;e.forEach(function(e){t.account_id_to_name[e[1]]=e[0],t.account_name_to_id[e[0]]=e[1]})}},{key:"_isMyAccount",value:function(e){vart=!1;if(e){vara=!0,r=!1,n=void0;try{for(varo,i=e.owner.key_auths[Symbol.iterator]();!(a=(o=i.next()).done);
varV=a(444),G=a(445),$=a(446);t.Buffer=e,t.SlowBuffer=h,t.INSPECT_MAX_BYTES=50,e.poolSize=8192;varY={};e.TYPED_ARRAY_SUPPORT=function(){functione(){}try{vart=newUint8Array(1);returnt.foo=function(){return42},t.constructor=e,42===t.foo()&&t.constructor===e&&"function"==typeoft.subarray&&0===t.subarray(1,1).byteLength}catch(a){return!1}}(),e.isBuffer=function(e){return!(null==e||!e._isBuffer)},e.compare=function(t,a){if(!e.isBuffer(t)||!e.isBuffer(a))thrownewTypeError("Arguments must be Buffers");if(t===a)return0;for(varr=t.length,n=a.length,o=0,i=Math.min(r,n);i>o&&t[o]===a[o];)++o;returno!==i&&(r=t[o],n=a[o]),n>r?-1:r>n?1:0},e.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},e.concat=function(t,a){if(!$(t))thrownewTypeError("list argument must be an Array of Buffers.");if(0===t.length)returnnewe(0);varr;if(void0===a)for(a=0,r=0;r<t.length;r++)a+=t[r].length;varn=newe(a),o=0;for(r=0;r<t.length;r++){vari=t[r];i.copy(n,o),o+=i.length}returnn},e.byteLength=y,e.prototype.length=void0,e.prototype.parent=void0,e.prototype.toString=function(){vare=0|this.length;return0===e?"":0===arguments.length?j(this,0,e):g.apply(this,arguments)},e.prototype.equals=function(t){if(!e.isBuffer(t))thrownewTypeError("Argument must be a Buffer");returnthis===t?!0:0===e.compare(this,t)},e.prototype.inspect=function(){vare="",a=t.INSPECT_MAX_BYTES;returnthis.length>0&&(e=this.toString("hex",0,a).match(/.{2}/g).join(" "),this.length>a&&(e+=" ... ")),"<Buffer "+e+">"},e.prototype.compare=function(t){if(!e.isBuffer(t))thrownewTypeError("Argument must be a Buffer");returnthis===t?0:e.compare(this,t)},e.prototype.indexOf=function(t,a){functionr(e,t,a){for(varr=-1,n=0;a+n<e.length;n++)if(e[a+n]===t[-1===r?0:n-r]){if(-1===r&&(r=n),n-r+1===t.length)returna+r}elser=-1;return-1}if(a>2147483647?a=2147483647:-2147483648>a&&(a=-2147483648),a>>=0,0===this.length)return-1;if(a>=this.length)return-1;if(0>a&&(a=Math.max(this.length+a,0)),"string"==typeoft)return0===t.length?-1:String.prototype.indexOf.call(this,t,a);if(e.isBuffer(t))returnr(this,t,a);if("number"==typeoft)returne.TYPED_ARRAY_SUPPORT&&"function"===Uint8Array.prototype.indexOf?Uint8Array.prototype.indexOf.call(this,t,a):r(this,[t],a);thrownewTypeError("val must be string, number or Buffer")},e.prototype.get=function(e){returnconsole.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},e.prototype.set=function(e,t){returnconsole.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},e.prototype.write=function(e,t,a,r){if(void0===t)r="utf8",a=this.length,t=0;elseif(void0===a&&"string"==typeoft)r=t,a=this.length,t=0;elseif(isFinite(t))t=0|t,isFinite(a)?(a=0|a,void0===r&&(r="utf8")):(r=a,a=void0);else{varn=r;r=t,t=0|a,a=n}varo=this.length-t;if((void0===a||a>o)&&(a=o),e.length>0&&(0>a||0>t)||t>this.length)thrownewRangeError("attempt to write outside buffer bounds");r||(r="utf8");for(vari=!1;;)switch(r){case"hex":returnb(this,e,t,a);case"utf8":case"utf-8":returnv(this,e,t,a);case"ascii":returnw(this,e,t,a);case"binary":return_(this,e,t,a);case"base64":returnk(this,e,t,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":returnE(this,e,t,a);default:if(i)thrownewTypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},e.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},e.prototype.slice=function(t,a){varr=this.length;t=~~t,a=void0===a?r:~~a,0>t?(t+=r,0>t&&(t=0)):t>r&&(t=r),0>a?(a+=r,0>a&&(a=0)):a>r&&(a=r),t>a&&(a=t);varn;if(e.TYPED_ARRAY_SUPPORT)n=e._augment(this.subarray(t,a));else{varo=a-t;n=newe(o,void0);for(vari=0;o>i;i++)n[i]=this[i+t]}returnn.length&&(n.parent=this.parent||this),n},e.prototype.readUIntLE=function(e,t,a){e=0|e,t=0|t,a||P(e,t,this.length);for(varr=this[e],n=1,o=0;++o<t&&(n*=256);)r+=this[e+o]*n;returnr},e.prototype.readUIntBE
varu=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],c=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],d=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],f=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],p=[0,1518500249,1859775393,2400959708,2840853838],m=[1352829926,1548603684,1836072691,2053994217,0],h=function(e){for(vart=[],a=0,r=0;a<e.length;a++,r+=8)t[r>>>5]|=e[a]<<24-r%32;returnt},y=function(e){for(vart=[],a=0;a<32*e.length;a+=8)t.push(e[a>>>5]>>>24-a%32&255);returnt},g=function(e,t,l){for(varh=0;16>h;h++){vary=l+h,g=t[y];t[y]=16711935&(g<<8|g>>>24)|4278255360&(g<<24|g>>>8)}varb,v,w,_,k,E,x,j,O,z;E=b=e[0],x=v=e[1],j=w=e[2],O=_=e[3],z=k=e[4];for(varS,h=0;80>h;h+=1)S=b+t[l+u[h]]|0,S+=16>h?a(v,w,_)+p[0]:32>h?r(v,w,_)+p[1]:48>h?n(v,w,_)+p[2]:64>h?o(v,w,_)+p[3]:i(v,w,_)+p[4],S=0|S,S=s(S,d[h]),S=S+k|0,b=k,k=_,_=s(w,10),w=v,v=S,S=E+t[l+c[h]]|0,S+=16>h?i(x,j,O)+m[0]:32>h?o(x,j,O)+m[1]:48>h?n(x,j,O)+m[2]:64>h?r(x,j,O)+m[3]:a(x,j,O)+m[4],S=0|S,S=s(S,f[h]),S=S+z|0,E=z,z=O,O=s(j,10),j=x,x=S;S=e[1]+w+O|0,e[1]=e[2]+_+z|0,e[2]=e[3]+k+E|0,e[3]=e[4]+b+x|0,e[4]=e[0]+v+j|0,e[0]=S}}).call(t,a(443).Buffer)},function(e,t,a){(function(t){functionr(e,a){if(!(thisinstanceofr))returnnewr(e,a);this._opad=l,this._alg=e;vari="sha512"===e?128:64;a=this._key=t.isBuffer(a)?a:newt(a),a.length>i?a=n(e).update(a).digest():a.length<i&&(a=t.concat([a,o],i));for(vars=this._ipad=newt(i),l=this._opad=newt(i),u=0;i>u;u++)s[u]=54^a[u],l[u]=92^a[u];this._hash=n(e).update(s)}varn=a(461),o=newt(128);o.fill(0),e.exports=r,r.prototype.update=function(e,t){returnthis._hash.update(e,t),this},r.prototype.digest=function(e){vart=this._hash.digest();returnn(this._alg).update(this._opad).update(t).digest(e)}}).call(t,a(443).Buffer)},function(e,t,a){varr=a(472);e.exports=function(e,t){t=t||{};vara=r(e);returnt.pbkdf2=a.pbkdf2,t.pbkdf2Sync=a.pbkdf2Sync,t}},function(e,t,a){(function(t){e.exports=function(e){functiona(e,t,a,n,o,i){if("function"==typeofo&&(i=o,o=void0),"function"!=typeofi)thrownewError("No callback provided to pbkdf2");setTimeout(function(){vars;try{s=r(e,t,a,n,o)}catch(l){returni(l)}i(void0,s)})}functionr(a,r,n,o,i){if("number"!=typeofn)thrownewTypeError("Iterations not a number");if(0>n)thrownewTypeError("Bad iterations");if("number"!=typeofo)thrownewTypeError("Key length not a number");if(0>o)thrownewTypeError("Bad key length");i=i||"sha1",t.isBuffer(a)||(a=newt(a)),t.isBuffer(r)||(r=newt(r));vars,l,u,c=1,d=newt(o),f=newt(r.length+4);r.copy(f,0,0,r.length);for(varp=1;c>=p;p++){f.writeUInt32BE(p,r.length);varm=e.createHmac(i,a).update(f).digest();if(!s&&(s=m.length,u=newt(s),c=Math.ceil(o/s),l=o-(c-1)*s,o>(Math.pow(2,32)-1)*s))thrownewTypeError("keylen exceeds maximum length");m.copy(u,0,0,s);for(varh=1;n>h;h++){m=e.createHmac(i,a).update(m).digest();for(vary=0;s>y;y++)u[y]^=m[y]}varg=(p-1)*s,b=p==c?l:s;u.copy(d,g,0,b)}returnd}return{pbkdf2:a,pbkdf2Sync:r}}}).call(t,a(443).Buffer)},function(e,t,a){(function(t){varr,n,o,i,s,l,u,c;r=a(450),l=a(447),c=l.getCurveByName("secp256k1"),r=a(450),i=a(456),u=a(457),s=a(474),o=a(449),n=function(){functione(e){this.Q=e}returne.fromBinary=function(a){returne.fromBuffer(newt(a,"binary"))},e.fromBuffer=function(t){returnnewe(l.Point.decodeFrom(c,t))},e.prototype.toBuffer=function(e){returnnull==e&&(e=this.Q.compressed),this.Q.getEncoded(e)},e.fromPoint=function(t){returnnewe(t)},e.prototype.toUncompressed=function(){vart,a;returnt=this.Q.getEncoded(!1),a=l.Point
},function(e,t,a){e.exports=a(516)},function(e,t,a){varr,n;(function(o,i){!function(s){"use strict";functionl(e,t){if(t=t||{type:"Array"},"undefined"!=typeofo&&"number"==typeofo.pid)returnu(e,t);vara=window.crypto||window.msCrypto;if(!a)thrownewError("Your browser does not support window.crypto.");returnc(e,t)}functionu(e,t){varr=a(517),n=r.randomBytes(e);switch(t.type){case"Array":return[].slice.call(n);case"Buffer":returnn;case"Uint8Array":for(varo=newUint8Array(e),i=0;e>i;++i)o[i]=n.readUInt8(i);returno;default:thrownewError(t.type+" is unsupported.")}}functionc(e,t){vara=newUint8Array(e),r=window.crypto||window.msCrypto;switch(r.getRandomValues(a),t.type){case"Array":return[].slice.call(a);case"Buffer":try{newi(1)}catch(n){thrownewError("Buffer not supported in this environment. Use Node.js or Browserify for browser support.")}returnnewi(a);case"Uint8Array":returna;default:thrownewError(t.type+" is unsupported.")}}r=[],n=function(){returnl}.apply(t,r),!(void0!==n&&(e.exports=n)),l.randomArray=function(e){returnl(e,{type:"Array"})},l.randomUint8Array=function(e){returnl(e,{type:"Uint8Array"})},l.randomBuffer=function(e){returnl(e,{type:"Buffer"})}}(this)}).call(t,a(175),a(443).Buffer)},603,function(e,t,a){varr,n,o,i,s,l,u,c,d;o=a(519),i=a(473),d=a(520),l=a(474),u=a(439),s=a(427).instance(),c=a(521),r=function(){functione(){this._private=newn}returne.prototype.object=function(e){vart,a;returna={resolve:void0},t=this._private,function(a){returnt.deferred_lookup("object",e,function(e){returna.resolve=e})}(a),a},e.prototype.account_id=function(e){vart,a;returnd.is_empty(e)?{resolve:e}:(a=this._private.try_simple_resolve("account",e),void0!==a?a:(t=e,this._private.deferred_property("accountname","id",t)))},e.prototype.asset_id=function(e){vart,a;returnd.is_empty(e)?{resolve:e}:(a=this._private.try_simple_resolve("asset",e),void0!==a?a:(t=e,"CORE"===t||t===l.address_suffix?{resolve:0}:this._private.deferred_property("assetname","id",t)))},e.prototype.asset_symbol_precision=function(e){vart,a;returna={resolve:void0},t=this._private,function(a){returnt.deferred_lookup("object",e,function(e){returna.resolve=[e.symbol,e.precision]})}(a),a},e.prototype.memo_public_key=function(e){vart,a,r;returnd.is_empty(e)?{resolve:e}:e.Q?{resolve:e}:0===e.indexOf(l.address_prefix)?{resolve:i.fromBtsPublic(e)}:(t=this._private,a=0===e.indexOf("1."+u.object_type.account+".")?"object":"accountname",r={resolve:void0},function(r){returnt.deferred_lookup(a,e,function(e){returnr.resolve=i.fromBtsPublic(e.options.memo_key)})}(r),r)},e.prototype.resolve=function(){returnthis._private.resolve()},e}(),n=function(){functione(){this.lookup_map={}}returne.prototype.try_simple_resolve=function(e,t){vara;returnd.is_empty(t)||d.is_digits(t)?{resolve:t}:(a=u.object_type[e],0===t.indexOf("1."+a+".")?{resolve:t}:void0)},e.prototype.get_group_by=function(e,t){vara;returnnull==t&&(t=this.lookup_map),void0!==(a=t[""+e])?a:t[e]={}},e.prototype.get_list=function(e){vart;returnvoid0!==(t=this.lookup_map[e])?t:this.lookup_map[e]=[]},e.prototype.deferred_property=function(e,t,a){varr;returnr={resolve:void0},function(t){returnfunction(r,n){returnt.deferred_lookup(e,a,function(e){vart,a,o,i,s;if(null===e)returnvoid(r.resolve=null);for(i=n.split("."),t=e,a=0,o=i.length;o>a;a++)s=i[a],t=t[s];r.resolve=t})}}(this)(r,t),r},e.prototype.deferred_lookup=function(e,t,a){varr,n,o;if(t.resolve)thrownewError("Invalid lookup value "+t);n=this.get_group_by(e),o=this.get_group_by(t,n),r=this.get_list(e+" "+t),r.push(a)},e.prototype.resolve=function(){vare,t,a,r,n;returnt=s.db_api(),a=null,r=null,n=function(e,n,o){vari,s,l;i=a[e],i&&(s=Object.keys(i),l=t.exec(n,[s]),function(e,t,o){returnr.push(l.then(function(r){varn,o,i,s,l,u,c,d;for(n=o=0,u=r.length;u>o;n=o+=1)for(d=r[n],c=a[t+" "+e[n]],i=0,s=c.length;s>i;i++)(l=c[i])(d)},function(a){throwconsole.error("lookup_callback error",JSON.stringify(n),JSON.stringify(e),t,o),a}))}(s,e,o))},(e=function(t){returnfunction(){returnr=[],a=t.lookup_map,t.lookup
},fromObject:function(t){returnvoid0===t?void0:e.fromObject(t)},toObject:function(t,a){varr;returnnull==a&&(a={}),r=a.use_default||void0!==t?e.toObject(t,a):void0,a.annotate&&("object"==typeofr?r.__optional="parent is optional":r={__optional:r}),r}}},c.static_variant=function(e){return{st_operations:e,fromByteBuffer:function(e){vart,a;returna=e.readVarint32(),t=this.st_operations[a],f.hex_dump&&console.error("static_variant id 0x"+a.toString(16)+" ("+a+")"),h.required(t,"operation "+a),[a,t.fromByteBuffer(e)]},appendByteBuffer:function(e,t){vara,r;r=t[0],a=this.st_operations[r],h.required(a,"operation "+r),e.writeVarint32(r),a.appendByteBuffer(e,t[1])},fromObject:function(e){vart,a;returna=e[0],t=this.st_operations[a],h.required(t,"operation "+a),[a,t.fromObject(e[1])]},toObject:function(e,t){vara,r;returnnull==t&&(t={}),t.use_default&&void0===e?[0,this.st_operations[0].toObject(void0,t)]:(r=e[0],a=this.st_operations[r],h.required(a,"operation "+r),[r,a.toObject(e[1],t)])}}},c.map=function(e,t){return{validate:function(e){vart,a,r,n;if(!Array.isArray(e))thrownewError("expecting array");for(t={},a=0,r=e.length;r>a;a++){if(n=e[a],2!==n.length)thrownewError("expecting two elements");if(void0!==t[n[0]])thrownewError("duplicate");t[n[0]]=!0}returne},fromByteBuffer:function(a){varr;returnthis.validate(function(){varn,o,i;for(i=[],r=n=0,o=a.readVarint32();o>n;r=n+=1)i.push([e.fromByteBuffer(a),t.fromByteBuffer(a)]);returni}())},appendByteBuffer:function(a,r){varn,o,i;for(this.validate(r),a.writeVarint32(r.length),n=0,o=r.length;o>n;n++)i=r[n],e.appendByteBuffer(a,i[0]),t.appendByteBuffer(a,i[1])},fromObject:function(a){varr;returnthis.validate(function(){varn,o,i;for(i=[],n=0,o=a.length;o>n;n++)r=a[n],i.push([e.fromObject(r[0]),t.fromObject(r[1])]);returni}())},toObject:function(a,r){varn;returnnull==r&&(r={}),r.use_default&&void0===a?[[e.toObject(void0,r),t.toObject(void0,r)]]:this.validate(function(){varo,i,s;for(s=[],o=0,i=a.length;i>o;o++)n=a[o],s.push([e.toObject(n[0],r),t.toObject(n[1],r)]);returns}())}}},c.public_key={_to_public:function(e){returnvoid0!==e.resolve&&(e=e.resolve),e.Q?e:l.fromBtsPublic(e)},fromByteBuffer:function(e){returnp.public_key(e)},appendByteBuffer:function(e,t){p.public_key(e,c.public_key._to_public(t))},fromObject:function(e){returne.Q?e:l.fromBtsPublic(e)},toObject:function(e,t){returnnull==t&&(t={}),t.use_default&&void0===e?"GPHXyz...public_key":c.public_key._to_public(e).toBtsPublic()}},c.address={_to_address:function(e){returne.addy?e:r.fromString(e)},fromByteBuffer:function(e){returnnewr(p.ripemd160(e))},appendByteBuffer:function(e,t){p.ripemd160(e,c.address._to_address(t).toBuffer())},fromObject:function(e){returnc.address._to_address(e)},toObject:function(e,t){returnnull==t&&(t={}),t.use_default&&void0===e?"GPHXyz...address":c.address._to_address(e).toString()}}}).call(t,a(443).Buffer)},function(e,t,a){varr,n,o,i;r=a(510).Long,o=a(439),i=a(520),n=function(){functione(e,t,a){varr,n;if(this.space=e,this.type=t,this.instance=a,r=this.instance.toString(),n=this.space+"."+this.type+"."+r,!i.is_digits(r))thrownew("Invalid object id "+n)}vart;returnt=r.fromNumber(Math.pow(2,48)-1),e.fromString=function(t){vara;returnvoid0!==t.space&&void0!==t.type&&void0!==t.instance?t:(a=i.require_match(/^([0-9]+)\.([0-9]+)\.([0-9]+)$/,i.required(t,"object_id"),"object_id"),newe(parseInt(a[1]),parseInt(a[2]),r.fromString(a[3])))},e.fromLong=function(a){varr,n,o;returnn=a.shiftRight(56).toInt(),o=255&a.shiftRight(48).toInt(),r=a.and(t),newe(n,o,r)},e.fromByteBuffer=function(t){returne.fromLong(t.readUint64())},e.prototype.toLong=function(){returnr.fromNumber(this.space).shiftLeft(56).or(r.fromNumber(this.type).shiftLeft(48).or(this.instance))},e.prototype.appendByteBuffer=function(e){returne.writeUint64(this.toLong())},e.prototype.toString=function(){returnthis.space+"."+this.type+"."+this.instance.toString()},e}(),e.exports=n},function(e,t,a){(function(t){varr,n,o,i,s,l;o=a(449),n=a(510),s=a(474),l=a(457),i=a(456),r=function(){functione(e
}varo=function(){functione(e,t){for(vara=0;a<t.length;a++){varr=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}returnfunction(t,a,r){returna&&e(t.prototype,a),r&&e(t,r),t}}(),i=a(427),s=r(i),l=a(438),u=r(l),c=a(512),d=r(c),f=a(544),p=r(f),m=a(391),h=newd["default"],y={},g=function(){functione(){n(this,e)}returno(e,[{key:"createAsset",value:function(e,t){console.log("create asset:",t);vara=h.new_transaction();returna.add_type_operation("asset_create",{fee:{amount:0,asset_id:0},issuer:e,symbol:t.symbol,precision:parseInt(t.precision,10),common_options:{max_supply:t.max_supply,market_fee_percent:0,max_market_fee:"0",issuer_permissions:1,flags:0,core_exchange_rate:{base:{amount:"1",asset_id:"1.3.0"},quote:{amount:"1",asset_id:"1.3.1"}},whitelist_authorities:[],blacklist_authorities:[],whitelist_markets:[],blacklist_markets:[],description:t.description,extensions:null},is_prediction_market:!1,extensions:null}),p["default"].process_transaction(a,null,!0).then(function(e){returnconsole.log("asset create result:",e),!0})["catch"](function(e){returnconsole.log("[AssetActions.js:150] ----- createAsset error ----->",e),!1})}},{key:"issueAsset",value:function(e,t){vara=h.new_transaction();returna.add_type_operation("asset_issue",{fee:{amount:0,asset_id:0},issuer:e,asset_to_issue:{amount:t.amount,asset_id:t.asset_id},issue_to_account:t.to_id,extensions:[]}),p["default"].process_transaction(a,null,!0).then(function(e){returnconsole.log("asset issue result:",e),!0})["catch"](function(e){returnconsole.log("[AssetActions.js:150] ----- createAsset error ----->",e),!1})}},{key:"getAssetList",value:function(e,t){vara=this,r=e+"_"+t;y[r]||(y[r]=!0,s["default"].instance().db_api().exec("list_assets",[e,t]).then(function(e){vart=[],n=[];e.forEach(function(e){n.push(e.dynamic_asset_data_id),e.bitasset_data_id&&t.push(e.bitasset_data_id)});varo=s["default"].instance().db_api().exec("get_objects",[n]),i=t.length>0?s["default"].instance().db_api().exec("get_objects",[t]):null;Promise.all([o,i]).then(function(t){a.dispatch({assets:e,dynamic_data:t[0],bitasset_data:t[1]}),deletey[r]})})["catch"](function(e){console.log("Error in AssetStore.getAssetList: ",e),deletey[r]}))}},{key:"getAsset",value:function(e){vart=this,a=void0;returny[e]?void0:(y[e]=!0,a=u["default"].is_object_id(e)?s["default"].instance().db_api().exec("get_objects",[[e]]):s["default"].instance().db_api().exec("list_assets",[e,1]),a.then(function(a){if(0===a.length||!a)returnt.dispatch({asset:null,id:e});varr=a[0].bitasset_data_id?s["default"].instance().db_api().exec("get_objects",[[a[0].bitasset_data_id]]):null;Promise.all([s["default"].instance().db_api().exec("get_objects",[[a[0].dynamic_asset_data_id]]),r]).then(function(r){t.dispatch({asset:a[0],dynamic_data:r[0][0],bitasset_data:r[1]?r[1][0]:null}),deletey[e]})})["catch"](function(t){console.log("Error in AssetStore.updateAsset: ",t),deletey[e]}))}}]),e}();e.exports=m.createActions(g)},function(e,t,a){e.exports=a(563)},function(e,t,a){varr=a(564),n=a(582),o=a(584).assign,i=r.createClass(o({displayName:"AltContainer",render:function(){returnthis.altRender("div")}},n(r)));e.exports=i},,,,,,,,,,,,,,,,,,,function(e,t,a){functionr(e){returne}functionn(e,t){return"function"==typeofe?e(t).value:e.getState()}functiono(e,t){return"function"==typeofe?e(t):e}functioni(e){vart=e.addons.cloneWithProps;return{contextTypes:{flux:e.PropTypes.object},childContextTypes:{flux:e.PropTypes.object},getChildContext:function(){vare=this.props.flux||this.context.flux;returne?{flux:e}:{}},getInitialState:function(){if(this.props.stores&&this.props.store)thrownewReferenceError("Cannot define both store and stores");returnthis.reduceState(this.props)},componentWillReceiveProps:function(e){this.destroySubscriptions(),this.setState(this.reduceState(e)),this.registerStores(e)},componentDidMount:function(){this.registerStores(this.props)},componentWillUnmount:function(){this.destroySubscriptions()},registerStores:function(e){vart=e.stores;s.cre
to:"asset",params:{symbol:i.symbol}}," ",i.symbol," "))}}]),t}(d["default"]);g.defaultProps={amount:0,base:null,asset:null,exact_amount:!1,decimalOffset:0,color:null},g.propTypes={amount:l.PropTypes.number.isRequired,base:l.PropTypes.string,asset:y.ObjectIdType.isRequired,exact_amount:l.PropTypes.bool,decimalOffset:l.PropTypes.number,color:l.PropTypes.string,string:l.PropTypes.string},t["default"]=g,e.exports=t["default"]},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";functionr(e){returne&&e.__esModule?e:{"default":e}}functionn(e){functiont(t,a,r,n,o){returnn=n||ANONYMOUS,null==a[r]?t?newError("Required "+o+" `"+r+"` was not specified in "+("`"+n+"`.")):null:e(a,r,n,o)}vara=t.bind(null,!1);returna.isRequired=t.bind(null,!0),a}functiono(e,t,a,r){if(a=a||"ANONYMOUS",e[t]){varn=e[t];return"string"==typeofn?s["default"].is_object_id(n)?null:newError(t+" in "+a+" should be an object id"):newError(t+" in "+a+" should be a string")}returnnull}Object.defineProperty(t,"__esModule",{value:!0});vari=a(438),s=r(i),l=n(o);t.ObjectIdType=l},function(e,t,a){"use strict";functionr(e){returne&&e.__esModule?e:{"default":e}}functionn(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}functiono(e,t){if("function"!=typeoft&&null!==t)thrownewTypeError("Super expression must either be null or a function, not "+typeoft);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});vari=function(){functione(e,t){for(vara=0;a<t.length;a++){varr=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}returnfunction(t,a,r){returna&&e(t.prototype,a),r&&e(t,r),t}}(),s=function(e,t,a){for(varr=!0;r;){varn=e,o=t,i=a;s=u=l=void0,r=!1,null===n&&(n=Function.prototype);vars=Object.getOwnPropertyDescriptor(n,o);if(void0!==s){if("value"ins)returns.value;varl=s.get;returnvoid0===l?void0:l.call(i)}varu=Object.getPrototypeOf(n);if(null===u)returnvoid0;e=u,t=o,a=i,r=!0}},l=a(196),u=r(l),c=a(627),d=r(c),f=a(351),p=function(e){functiont(){n(this,t),s(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}returno(t,e),i(t,[{key:"render",value:function(){vare=this.props,t=e.account,a=e.image,r=this.props.size,n=r.height,o=r.width,i=a?u["default"].createElement("img",{src:a,height:n+"px",width:o+"px"}):u["default"].createElement(d["default"],{id:t,account:t,size:this.props.size}),s=t?t:"null-account";returnu["default"].createElement("div",{className:"account-image"},u["default"].createElement(f.Link,{to:"account",params:{account_name:s}},i))}}]),t}(l.Component);p.defaultProps={src:"",account:"",size:{height:120,width:120}},p.propTypes={src:l.PropTypes.string,account:l.PropTypes.string.isRequired,size:l.PropTypes.object.isRequired},t["default"]=p,e.exports=t["default"]},function(e,t,a){"use strict";functionr(e){returne&&e.__esModule?e:{"default":e}}functionn(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}functiono(e,t){if("function"!=typeoft&&null!==t)thrownewTypeError("Super expression must either be null or a function, not "+typeoft);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});vari=function(){functione(e,t){for(vara=0;a<t.length;a++){varr=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}returnfunction(t,a,r){returna&&e(t.prototype,a),r&&e(t,r),t}}(),s=function(e,t,a){for(varr=!0;r;){varn=e,o=t,i=a;s=u=l=void0,r=!1,null===n&&(n=Function.prototype);vars=Object.getOwnPropertyDescriptor(n,o);if(void0!==s){if("value"ins)returns.value;varl=s.get;returnvoid0===l?void0:l.call(i)}varu=Object.getPrototypeOf(n);if(null===u)returnvoid0;e
e=u,t=o,a=i,r=!0}},l=a(196),u=r(l),c=(a(351),a(631)),d=(r(c),a(688)),f=r(d),p=a(690),m=r(p),h=function(e){functiont(){n(this,t),s(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,{account_name:"nathan"},m["default"]),this.state={account:m["default"].getAccountByName("nathan")},console.log("Accounts2 constructor")}returno(t,e),i(t,[{key:"shouldComponentUpdate",value:function(e){return!0}},{key:"onChange",value:function(e){console.log("changed"),e&&(console.log("newState2"),this.setState({account:m["default"].getAccountByName("nathan")}),this.forceUpdate())}},{key:"render",value:function(){returnconsole.log("Accounts2 render"),u["default"].createElement("div",{className:"grid-block vertical"},u["default"].createElement("div",{className:"grid-block page-layout"},u["default"].createElement("div",{className:"grid-block medium-6 main-content"},u["default"].createElement("div",{className:"grid-content"},JSON.stringify(this.state.account,null,2)))))}}]),t}(f["default"]);h.defaultProps={account:{}},t["default"]=h,e.exports=t["default"]},function(e,t,a){"use strict";functionr(e){returne&&e.__esModule?e:{"default":e}}functionn(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}functiono(e,t){if("function"!=typeoft&&null!==t)thrownewTypeError("Super expression must either be null or a function, not "+typeoft);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});vari=function(){functione(e,t){for(vara=0;a<t.length;a++){varr=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}returnfunction(t,a,r){returna&&e(t.prototype,a),r&&e(t,r),t}}(),s=function(e,t,a){for(varr=!0;r;){varn=e,o=t,i=a;s=u=l=void0,r=!1,null===n&&(n=Function.prototype);vars=Object.getOwnPropertyDescriptor(n,o);if(void0!==s){if("value"ins)returns.value;varl=s.get;returnvoid0===l?void0:l.call(i)}varu=Object.getPrototypeOf(n);if(null===u)returnvoid0;e=u,t=o,a=i,r=!0}},l=a(196),u=r(l),c=a(689),d=r(c),f=function(e){functiont(e,a){if(n(this,t),s(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e),a)if(this.stores={},this.state={},void0===a.length)this.stores[a.StoreModel.name]=a,this.state=a.getState();elseif(a.length>=1)for(varr=0;r<a.length;r++){varo=a[r].StoreModel.name;this.stores[o]=a[r];vari=a[r].getState();for(varlini)this.state[l]=i[l]}}returno(t,e),i(t,[{key:"_bind",value:function(){for(vare=this,t=arguments.length,a=Array(t),r=0;t>r;r++)a[r]=arguments[r];a.forEach(function(t){returne[t]=e[t].bind(e)})}},{key:"_bindKey",value:function(e,t){this._keyBindings=this._keyBindings||[],this._keyBindings.push(d["default"].on(e,function(e){["INPUT","TEXTAREA"].indexOf(e.target.tagName)>=0||t()}))}},{key:"componentWillMount",value:function(){if(this.stores)for(vareinthis.stores)this.stores[e].listen(this.onChange.bind(this))}},{key:"componentWillUnmount",value:function(){if(this.stores)for(vareinthis.stores)this.stores[e].unlisten(this.onChange.bind(this));this._keyBindings&&this._keyBindings.forEach(function(e){returne.clear()}),deletethis._keyBindings}},{key:"onChange",value:function(e){e&&this.setState(e)}}]),t}(u["default"].Component);t["default"]=f,e.exports=t["default"]},function(e,t,a){varr,n;!function(o,i){functions(){functione(t){vara;returna=i(t,"amd"),a.fork=e,a}returne(o)}[].indexOf||(Array.prototype.indexOf=function(e,t,a){for(a=this.length,t=(a+~~t)%a;a>t&&(!(tinthis)||this[t]!==e);t++);returnt^a?t:-1}),r=s,n="function"==typeofr?r.call(t,a,t,e):r,!(void0!==n&&(e.exports=n))}(this,function(e,t){functiona(){e.addEventListener?(e.document.addEventListener("keydown",o,!1),e.document.addEventListener("keyup",i,!1),e.addEventListener("blur",n,!1),e.addEventListener("webkitfullscreenchange",n,!1),e.addEventListener("mozfullscreenchange",n,!1)):e.attachEvent&&(e.document.attachEvent("onkeydown",o),e.document.att
}},{key:"_getWitness",value:function(e){e?this.props.witnesses.get(e)||d["default"].getWitness(e):d["default"].getWitness(this.props.params.name)}},{key:"render",value:function(){vare=this.context.router.getCurrentParams().name,t=this.props,a=t.witnesses,r=t.witnessAccounts,n=(t.delegate_id_to_name,t.witness_name_to_id),o=n.get(e),i=a.get(o);returnthis._getWitness(o),o&&i?u["default"].createElement("div",{className:"grid-block vertical"},u["default"].createElement("div",{className:"grid-block page-layout"},u["default"].createElement("div",{className:"grid-block"},u["default"].createElement("h4",null,e," | id: ",o," "),u["default"].createElement(y["default"],{data:i,search:!1}),u["default"].createElement(y["default"],{data:r.get(i.witness_account),search:!1})))):u["default"].createElement("div",{className:"grid-block vertical"})}}]),t}(u["default"].Component);g.defaultProps={},g.propTypes={},g.contextTypes={router:u["default"].PropTypes.func.isRequired},t["default"]=g,e.exports=t["default"]},function(e,t,a){"use strict";functionr(e){returne&&e.__esModule?e:{"default":e}}functionn(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}functiono(e,t){if("function"!=typeoft&&null!==t)thrownewTypeError("Super expression must either be null or a function, not "+typeoft);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});vari=function(){functione(e,t){for(vara=0;a<t.length;a++){varr=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}returnfunction(t,a,r){returna&&e(t.prototype,a),r&&e(t,r),t}}(),s=function(e,t,a){for(varr=!0;r;){varn=e,o=t,i=a;s=u=l=void0,r=!1,null===n&&(n=Function.prototype);vars=Object.getOwnPropertyDescriptor(n,o);if(void0!==s){if("value"ins)returns.value;varl=s.get;returnvoid0===l?void0:l.call(i)}varu=Object.getPrototypeOf(n);if(null===u)returnvoid0;e=u,t=o,a=i,r=!0}},l=a(196),u=r(l),c=a(700),d=r(c),f=a(663),p=r(f),m=a(562),h=r(m),y=a(351),g=function(e){functiont(){n(this,t),s(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}returno(t,e),i(t,[{key:"render",value:function(){returnu["default"].createElement(h["default"],{stores:[p["default"],d["default"]],inject:{delegates:function(){returnd["default"].getState().delegates},delegate_id_to_name:function(){returnd["default"].getState().delegate_id_to_name},delegate_name_to_id:function(){returnd["default"].getState().delegate_name_to_id},delegateAccounts:function(){returnd["default"].getState().delegateAccounts},globalObject:function(){returnp["default"].getState().globalObject}}},u["default"].createElement(y.RouteHandler,null))}}]),t}(u["default"].Component);t["default"]=g,e.exports=t["default"]},function(e,t,a){"use strict";functionr(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}varn=function(){functione(e,t){for(vara=0;a<t.length;a++){varr=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}returnfunction(t,a,r){returna&&e(t.prototype,a),r&&e(t,r),t}}(),o=a(532),i=a(429),s=a(391),l=a(701),u=function(){functione(){r(this,e),this.delegates=i.Map(),this.delegateAccounts=i.Map(),this.delegate_id_to_name=i.Map(),this.delegate_name_to_id=i.Map(),this.account_id_to_delegate_id={},this.bindListeners({onGetDelegates:l.getDelegates,onGetDelegateAccounts:l.getDelegateAccounts,onGetDelegate:l.getDelegate})}returnn(e,[{key:"onGetDelegates",value:function(e){vart=this;e.forEach(function(e){t.account_id_to_delegate_id[e.committee_member_account]=e.id,t.delegates=t.delegates.set(e.id,o.Delegate(e))})}},{key:"onGetDelegateAccounts",value:function(e){vart=this;e.forEach(function(e){vara=t.account_id_to_delegate_id[e.id];t.delegate_id_to_name=t.delegate_id_to_name.set(a,e.name),t.delegate_name_to_id=t.delegate_name_to_id.set(e.name,a),e.ba
returnu["default"].createElement("div",{className:"grid-block shrink footer"},u["default"].createElement("div",{className:"align-justify grid-block"},u["default"].createElement("div",{onClick:this._triggerPerf.bind(this),className:"grid-block"},u["default"].createElement("div",{className:"logo"},u["default"].createElement(d["default"],{content:"footer.title"}))),e?u["default"].createElement("div",{className:"grid-block shrink"},u["default"].createElement(d["default"],{content:"footer.block"})," ",u["default"].createElement("pre",null,"#",e)):u["default"].createElement("div",{className:"grid-block shrink"},u["default"].createElement(d["default"],{content:"footer.loading"}))))}}]),t}(u["default"].Component);t["default"]=p,e.exports=t["default"]},function(e,t,a){"use strict";functionr(e){returne&&e.__esModule?e:{"default":e}}functionn(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}functiono(e,t){if("function"!=typeoft&&null!==t)thrownewTypeError("Super expression must either be null or a function, not "+typeoft);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});vari=function(){functione(e,t){for(vara=0;a<t.length;a++){varr=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}returnfunction(t,a,r){returna&&e(t.prototype,a),r&&e(t,r),t}}(),s=function(e,t,a){for(varr=!0;r;){varn=e,o=t,i=a;s=u=l=void0,r=!1,null===n&&(n=Function.prototype);vars=Object.getOwnPropertyDescriptor(n,o);if(void0!==s){if("value"ins)returns.value;varl=s.get;returnvoid0===l?void0:l.call(i)}varu=Object.getPrototypeOf(n);if(null===u)returnvoid0;e=u,t=o,a=i,r=!0}},l=a(196),u=r(l),c=a(351),d=a(437),f=r(d),p=a(436),m=r(p),h=a(560),y=r(h),g=a(718),b=r(g),v=a(562),w=r(v),_=a(721),k=r(_),E=a(729),x=(r(E),a(730)),j=(r(x),function(e){functiont(){n(this,t),s(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}returno(t,e),i(t,[{key:"componentWillMount",value:function(){f["default"].getAccount(this.props.params.account_name,!0)}},{key:"componentWillReceiveProps",value:function(e){e.params.account_name!==this.props.params.account_name&&f["default"].getAccount(e.params.account_name,!0)}},{key:"componentWillUnmount",value:function(){vare=this.props.params.account_name,t=m["default"].getState(),a=t.linkedAccounts,r=!1;a.forEach(function(t){returnt===e?(r=!0,!1):void0}),r||f["default"].unSubscribe(e)}},{key:"render",value:function(){vare=this.props.params.account_name;returnu["default"].createElement("div",{className:"grid-block page-layout"},u["default"].createElement("div",{className:"grid-block medium-2 left-column no-padding"},u["default"].createElement(w["default"],{stores:[m["default"],y["default"]],inject:{account_name:function(){returne},account_name_to_id:function(){returnm["default"].getState().account_name_to_id},linkedAccounts:function(){returnm["default"].getState().linkedAccounts},myAccounts:function(){returnm["default"].getState().myAccounts},cachedAccounts:function(){returnm["default"].getState().cachedAccounts},assets:function(){returny["default"].getState().assets}}},u["default"].createElement(k["default"],null))),u["default"].createElement("div",{className:"grid-block medium-10 main-content"},u["default"].createElement(w["default"],{stores:[m["default"],y["default"],b["default"]],inject:{account_name:function(){returne},cachedAccounts:function(){returnm["default"].getState().cachedAccounts},linkedAccounts:function(){returnm["default"].getState().linkedAccounts},accountBalances:function(){returnm["default"].getState().balances},accountHistories:function(){returnm["default"].getState().accountHistories},account_name_to_id:function(){returnm["default"].getState().account_name_to_id},account_id_to_name:function(){returnm["default"].getState().account_id_to_name},searchAccounts:function(){returnm["default"].getS
functiont(e){n(this,t),s(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e),this.state={current_proxy:null,new_proxy:null,new_witness:null,new_committee:null,new_budget:null,changed:!1,witnesses:newd["default"].Map,committee:newd["default"].Map,init_witnesses:newd["default"].Map,init_committee:newd["default"].Map},this.map_accounts={account_name:"account"}}returno(t,e),i(t,[{key:"onUpdate",value:function(){vare=arguments.length<=0||void0===arguments[0]?null:arguments[0],t=arguments.length<=1||void0===arguments[1]?{}:arguments[1];console.log("======================> ON UPDATE!!! <======================"),e||(e=this.props),t.init_witnesses||(t.init_witnesses=this.state.init_witnesses),t.init_committee||(t.init_committee=this.state.init_committee),t.changed||(t.changed=this.state.changed);vara=P["default"].getAccount(e.account_name,this.onUpdate.bind(this,null,{}));if(a){varr=a.get("options").get("voting_account");if("1.2.0"==r)t.current_proxy=null;else{varn=P["default"].getAccount(r,this.onUpdate.bind(this,null,{}));n&&(t.current_proxy=n.get("name"))}varo=a.get("options").get("votes");console.log("==========================> current_votes: ",o.toJS());vari=P["default"].getObjectsByVoteID(o.toArray(),this.onUpdate.bind(this,null,{}));console.log("result: ",i);for(vars=0;s<i.length;++s){varl=o.get(s);console.log("Vote: ",l);varu=i[s];if(console.log("Obj: ",u?u.toJS():null),u){varc=!1,d=u.get("committee_member_account");d||(d=u.get("witness_account"),c=!0);varf=P["default"].getAccount(d,this.onUpdate.bind(this,null,{}));f&&(c?t.init_witnesses=t.init_witnesses.set(f.get("name"),u):t.init_committee=t.init_committee.set(f.get("name"),u))}}}t.init_witnesses=t.init_witnesses.sort(),t.init_committee=t.init_committee.sort(),t.changed||(t.witnesses=t.init_witnesses,t.committee=t.init_committee),void0==t.new_witness&&this.state.new_witness&&(t.new_witness=this.state.new_witness),void0==t.new_committee&&this.state.new_committee&&(t.new_committee=this.state.new_committee),t.new_witness&&(t.new_witness.length>2?t.current_add_witness=P["default"].getWitness(t.new_witness,this.onUpdate.bind(this,null,{})):t.current_add_witness=null,!t.current_add_witness&&t.new_witness&&t.new_witness.length>2?t.current_add_witness_error="Account is not a witness":t.current_add_witness_error=null),t.new_committee&&(t.new_committee.length>2?t.current_add_committee=P["default"].getCommitteeMember(t.new_committee,this.onUpdate.bind(this,null,{})):t.current_add_committee=null,!t.current_add_committee&&t.new_committee&&t.new_committee.length>2?t.current_add_committee_error="Account is not a committee canidate":t.current_add_committee_error=null),this.setState(t)}},{key:"componentWillReceiveProps",value:function(e){s(Object.getPrototypeOf(t.prototype),"componentWillReceiveProps",this).call(this,e),this.onUpdate(e)}},{key:"onProxyChange",value:function(e){this.setState({new_proxy:e})}},{key:"onAddWitnessChange",value:function(e){this.onUpdate(null,{new_witness:e,changed:!0})}},{key:"onAddCommitteeChange",value:function(e){this.onUpdate(null,{new_committee:e,changed:!0})}},{key:"onRemoveWitness",value:function(e){console.log("Add Witness",this.state.new_witness);vart={witnesses:this.state.witnesses["delete"](e),changed:!0};this.onUpdate(null,t)}},{key:"onRemoveCommittee",value:function(e){console.log("Add Commitee",this.state.new_committee);vart={committee:this.state.committee["delete"](e),changed:!0};this.onUpdate(null,t)}},{key:"onAddCommittee",value:function(){console.log("Add Committee",this.state.new_committee);vare={new_committee:"",committee:this.state.committee.set(this.state.new_committee,this.state.current_add_committee)};this.onUpdate(null,e)}},{key:"onAddWitness",value:function(){console.log("Add Witness",this.state.new_witness);vare={new_witness:"",witnesses:this.state.witnesses.set(this.state.new_witness,this.state.current_add_witness)};this.onUpdate(null,e)}},{key:"onPublish",value:function(){vare=this;if(this.state.account){vart=this.state.account.toJS();t.options.voting_account=this.state.new_proxy?this.
}).map(function(t){if(t.symbol!==r.symbol){vara=t.symbol+"_"+r.symbol,n=t.symbol+"/"+r.symbol,o=e._isPreferred(t.id,r.id);returnu["default"].createElement("tr",{key:a},u["default"].createElement("td",null,u["default"].createElement(v.Link,{to:"exchange",params:{marketID:a}},n)),o?u["default"].createElement("td",{className:"clickable",onClick:e._removeMarket.bind(e,t.id,r.id)},"-"):u["default"].createElement("td",{className:"clickable",onClick:e._addMarket.bind(e,t.id,r.id)},"+"))}}).filter(function(e){returnvoid0!==e}).toArray());varc=n.filter(function(e){vart=a.get(e.quote);returnt?-1!==t.symbol.indexOf(s.toUpperCase()):null}).sort(function(e,t){varr=a.get(e.quote),n=a.get(t.quote);returnr&&n?r.symbol>n.symbol?1:r.symbol<n.symbol?-1:0:0}).map(function(t){varr=a.get(t.base),n=a.get(t.quote);returnn&&r?(t={quoteSymbol:n.symbol,baseSymbol:r.symbol},u["default"].createElement(d["default"],{key:n.symbol+"__"+r.symbol,market:t,quote:n,base:r,assets:a,removeMarket:e._removeMarket.bind(n.symbol,r.symbol)})):void0}),f=a.map(function(e){returnu["default"].createElement("option",{key:e.symbol,id:e.id},e.symbol)}).sort(function(e,t){returne.key>t.key?1:e.key<t.key?-1:0}).toArray();returnu["default"].createElement("div",{className:"grid-block page-layout"},u["default"].createElement("div",{className:"grid-block left-column-2 small-5 medium-3",style:{minWidth:"20rem"}},u["default"].createElement("div",{className:"grid-content"},u["default"].createElement("h2",null,"Market search"),u["default"].createElement("div",{className:"grid-content"},u["default"].createElement("section",{className:"block-list",style:{marginLeft:0,marginRight:0}},u["default"].createElement("header",null,u["default"].createElement(b["default"],{content:"markets.choose_base"}),":"),u["default"].createElement("ul",null,u["default"].createElement("li",{className:"with-dropdown"},u["default"].createElement("select",{style:{lineHeight:"1.2em"},value:r.symbol,onChange:this._onChangeBase.bind(this)},f)))),u["default"].createElement("h5",null,u["default"].createElement(b["default"],{content:"markets.search"}),":"),u["default"].createElement("input",{type:"text",value:this.state.searchTerm,onChange:this._onSearchInput.bind(this)}),u["default"].createElement("table",{className:"table table-hover"},u["default"].createElement("tbody",null,l))))),u["default"].createElement("div",{className:"grid-block small-7 medium-9",style:{overflowY:"auto",zIndex:1,alignItems:"flex-start"}},u["default"].createElement("div",{className:"grid-block vertical"},u["default"].createElement("h2",null,"My Preferred Markets:"),u["default"].createElement("div",{className:"small-12 medium-5"},u["default"].createElement("h5",null,u["default"].createElement(b["default"],{content:"markets.filter"}),":"),u["default"].createElement("input",{type:"text",value:this.state.filterMarket,onChange:this._onFilterInput.bind(this)})),u["default"].createElement("div",{className:"grid-block small-up-1 medium-up-2 large-up-3"},c))))}}]),t}(l.Component);w.defaultProps={settings:{},assets:{},markets:{}},w.propTypes={settings:l.PropTypes.object.isRequired,assets:l.PropTypes.object.isRequired,markets:l.PropTypes.object},t["default"]=w,e.exports=t["default"]},function(e,t,a){"use strict";functionr(e){returne&&e.__esModule?e:{"default":e}}functionn(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}functiono(e,t){if("function"!=typeoft&&null!==t)thrownewTypeError("Super expression must either be null or a function, not "+typeoft);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});vari=function(){functione(e,t){for(vara=0;a<t.length;a++){varr=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}returnfunction(t,a,r){returna&&e(t.prototype,a),r&&e(t,r),t}}(),s=function(e,t,a){for(varr=!0;r;){varn=e,o=t,i=a;s=u=l=void0,r=!1,null===
returnu["default"].createElement(_,{key:n,setting:n,settings:a,defaults:r[n],onChange:e._onChangeSetting,locales:e.props.localesObject})}).toArray())),u["default"].createElement("div",{className:"grid-block medium-3 right-column"},u["default"].createElement("div",{className:"grid-content"},u["default"].createElement("div",null,u["default"].createElement(w.Link,{to:"console"},"Open js console")),u["default"].createElement("div",null,u["default"].createElement(w.Link,{to:"existing-account"},"Balance Import")))))}}]),t}(u["default"].Component);t["default"]=k,e.exports=t["default"]},function(e,t,a){varr;!function(n,o){"use strict";vari=function(e){if("object"!=typeofe.document)thrownewError("Cookies.js requires a `window` with a `document` object");vart=function(e,a,r){return1===arguments.length?t.get(e):t.set(e,a,r)};returnt._document=e.document,t._cacheKeyPrefix="cookey.",t._maxExpireDate=newDate("Fri, 31 Dec 9999 23:59:59 UTC"),t.defaults={path:"/",secure:!1},t.get=function(e){returnt._cachedDocumentCookie!==t._document.cookie&&t._renewCache(),t._cache[t._cacheKeyPrefix+e]},t.set=function(e,a,r){returnr=t._getExtendedOptions(r),r.expires=t._getExpiresDate(a===o?-1:r.expires),t._document.cookie=t._generateCookieString(e,a,r),t},t.expire=function(e,a){returnt.set(e,o,a)},t._getExtendedOptions=function(e){return{path:e&&e.path||t.defaults.path,domain:e&&e.domain||t.defaults.domain,expires:e&&e.expires||t.defaults.expires,secure:e&&e.secure!==o?e.secure:t.defaults.secure}},t._isValidDate=function(e){return"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(e.getTime())},t._getExpiresDate=function(e,a){if(a=a||newDate,"number"==typeofe?e=e===1/0?t._maxExpireDate:newDate(a.getTime()+1e3*e):"string"==typeofe&&(e=newDate(e)),e&&!t._isValidDate(e))thrownewError("`expires` parameter cannot be converted to a valid Date instance");returne},t._generateCookieString=function(e,t,a){e=e.replace(/[^#$&+\^`|]/g,encodeURIComponent),e=e.replace(/\(/g,"%28").replace(/\)/g,"%29"),t=(t+"").replace(/[^!#$&-+\--:<-\[\]-~]/g,encodeURIComponent),a=a||{};varr=e+"="+t;returnr+=a.path?";path="+a.path:"",r+=a.domain?";domain="+a.domain:"",r+=a.expires?";expires="+a.expires.toUTCString():"",r+=a.secure?";secure":""},t._getCacheFromString=function(e){for(vara={},r=e?e.split("; "):[],n=0;n<r.length;n++){vari=t._getKeyValuePairFromCookieString(r[n]);a[t._cacheKeyPrefix+i.key]===o&&(a[t._cacheKeyPrefix+i.key]=i.value)}returna},t._getKeyValuePairFromCookieString=function(e){vart=e.indexOf("=");returnt=0>t?e.length:t,{key:decodeURIComponent(e.substr(0,t)),value:decodeURIComponent(e.substr(t+1))}},t._renewCache=function(){t._cache=t._getCacheFromString(t._document.cookie),t._cachedDocumentCookie=t._document.cookie},t._areEnabled=function(){vare="cookies.js",a="1"===t.set(e,1).get(e);returnt.expire(e),a},t.enabled=t._areEnabled(),t},s="object"==typeofn.document?i(n):i;r=function(){returns}.call(t,a,t,e),!(r!==o&&(e.exports=r))}("undefined"==typeofwindow?this:window)},function(e,t,a){"use strict";functionr(e){returne&&e.__esModule?e:{"default":e}}functionn(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}functiono(e,t){if("function"!=typeoft&&null!==t)thrownewTypeError("Super expression must either be null or a function, not "+typeoft);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});vari=function(){functione(e,t){for(vara=0;a<t.length;a++){varr=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}returnfunction(t,a,r){returna&&e(t.prototype,a),r&&e(t,r),t}}(),s=function(e,t,a){for(varr=!0;r;){varn=e,o=t,i=a;s=u=l=void0,r=!1,null===n&&(n=Function.prototype);vars=Object.getOwnPropertyDescriptor(n,o);if(void0!==s){if("value"ins)returns.value;varl=s.get;returnvoid0===l?void0:l.call(i)}varu=Object.getPrototypeOf(n);if(null===u)retu
}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});vari=function(){functione(e,t){for(vara=0;a<t.length;a++){varr=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}returnfunction(t,a,r){returna&&e(t.prototype,a),r&&e(t,r),t}}(),s=function(e,t,a){for(varr=!0;r;){varn=e,o=t,i=a;s=u=l=void0,r=!1,null===n&&(n=Function.prototype);vars=Object.getOwnPropertyDescriptor(n,o);if(void0!==s){if("value"ins)returns.value;varl=s.get;returnvoid0===l?void0:l.call(i)}varu=Object.getPrototypeOf(n);if(null===u)returnvoid0;e=u,t=o,a=i,r=!0}},l=a(196),u=r(l),c=a(436),d=r(c),f=a(560),p=r(f),m=a(562),h=r(m),y=a(814),g=r(y),b=a(718),v=r(b),w=a(815),_=r(w),k=function(e){functiont(){n(this,t),s(Object.getPrototypeOf(t.prototype),"constructor",this).call(this),this.state={onConfirmFunction:null}}returno(t,e),i(t,[{key:"componentDidMount",value:function(){g["default"].listen(this._onTransactionConfirm.bind(this))}},{key:"componentWillUnmount",value:function(){g["default"].unlisten(this._onTransactionConfirm)}},{key:"_getConfirmFunction",value:function(e){this.setState({onConfirmFunction:e})}},{key:"_onTransactionConfirm",value:function(){vare=g["default"].getState(),t=e.tr,a=e.resolve,r=e.reject;this.state.onConfirmFunction(t,a,r)}},{key:"render",value:function(){returnu["default"].createElement(h["default"],{stores:[d["default"],p["default"],g["default"],v["default"]],inject:{tr:function(){returng["default"].getState().tr},resolve:function(){returng["default"].getState().resolve},reject:function(){returng["default"].getState().reject},assets:function(){returnp["default"].getState().assets},account_id_to_name:function(){returnd["default"].getState().account_id_to_name},settings:function(){returnv["default"].getState().settings}}},u["default"].createElement(_["default"],{cb:this._getConfirmFunction.bind(this)}))}}]),t}(u["default"].Component);t["default"]=k,e.exports=t["default"]},function(e,t,a){"use strict";functionr(e){returne&&e.__esModule?e:{"default":e}}functionn(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});varo=function(){functione(e,t){for(vara=0;a<t.length;a++){varr=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}returnfunction(t,a,r){returna&&e(t.prototype,a),r&&e(t,r),t}}(),i=a(391),s=r(i),l=a(558),u=r(l),c=function(){functione(){n(this,e),this.bindListeners({onConfirm:u["default"].confirm_and_broadcast}),this.state={}}returno(e,[{key:"onConfirm",value:function(e){vart=e.tr,a=e.resolve,r=e.reject;this.setState({tr:t,resolve:a,reject:r})}}]),e}();t["default"]=s["default"].createStore(c,"TransactionConfirmStore"),e.exports=t["default"]},function(e,t,a){"use strict";functionr(e){returne&&e.__esModule?e:{"default":e}}functionn(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}functiono(e,t){if("function"!=typeoft&&null!==t)thrownewTypeError("Super expression must either be null or a function, not "+typeoft);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});vari=function(){functione(e,t){for(vara=0;a<t.length;a++){varr=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}returnfunction(t,a,r){returna&&e(t.prototype,a),r&&e(t,r),t}}(),s=function(e,t,a){for(varr=!0;r;){varn=e,o=t,i=a;s=u=l=void0,r=!1,null===n&&(n=Function.prototype);vars=Object.getOwnPropertyDescriptor(n,o);if(void0!==s){if("value"ins)returns.value;varl=s.get;returnvoid0===l?void0:l.call(i)}varu=Object.getPrototypeOf(n);if(null===u)returnvoid0;e=u,t=o,a=i,r=!0}},l=a(196),u=r(l),c=a(724),d=r(c),f=a(726),p=r(f),m=a(710),h=r(m),y=a(728),g=r(y),b=a(805),v=r(b),w=
for(vara=0;a<t.length;a++){varr=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}returnfunction(t,a,r){returna&&e(t.prototype,a),r&&e(t,r),t}}(),s=function(e,t,a){for(varr=!0;r;){varn=e,o=t,i=a;s=u=l=void0,r=!1,null===n&&(n=Function.prototype);vars=Object.getOwnPropertyDescriptor(n,o);if(void0!==s){if("value"ins)returns.value;varl=s.get;returnvoid0===l?void0:l.call(i)}varu=Object.getPrototypeOf(n);if(null===u)returnvoid0;e=u,t=o,a=i,r=!0}},l=a(196),u=r(l),c=a(442),d=r(c),f=a(475),p=r(f),m=a(391),h=r(m),y=a(544),g=r(y),b=a(473),v=r(b),w=a(591),_=r(w),k=a(474),E=r(k),x=a(728),j=r(x),O=a(457),z=r(O),S=a(427),A=r(S),P=a(520),C=r(P),B=a(738),T=r(B),q=a(436),D=r(q),N=a(437),M=r(N),I=a(589),R=r(I);a(827);varL=A["default"].instance(),F=!1,U=function(t){functiona(){n(this,a),s(Object.getPrototypeOf(a.prototype),"constructor",this).call(this),this.state=this._getInitialState()}returno(a,t),i(a,[{key:"_getInitialState",value:function(){return{wifs_to_account:{},wif_to_balances:null,wif_count:0,no_file:!0,account_keys:[],reset_file_name:Date.now(),reset_password:Date.now(),password_checksum:null,import_password_message:null,imported_keys_public:{},wif_text_message:null,wif_textarea_private_keys_message:null,wif_textarea_private_keys:""}}},{key:"reset",value:function(){vare=this._getInitialState();this.setState(e),this.updateOnChange({})}},{key:"render",value:function(){vare=0!==this.state.wif_count,t=e&&this.state.balances_known,a="Enter import file password";this.state.wif_count&&(a="");varr=null;this.state.balance_by_asset&&(r=[],this.state.balance_by_asset.forEach(function(e,t){r.push(u["default"].createElement("div",{key:t,className:"asset-list"},u["default"].createElement(_["default"],{color:"info",amount:e.balance,asset:e.asset_id})))}));varn=null;if(this.state.account_keycount){n=[];varo=this.state.account_keycount;for(variino)n.push(u["default"].createElement("tr",{key:i},u["default"].createElement("td",null,i),u["default"].createElement("td",null,o[i])))}returnu["default"].createElement("div",null,u["default"].createElement("div",{className:"content-block center-content"},u["default"].createElement("h3",{className:"no-border-bottom"},"Import Keys")),u["default"].createElement("div",{className:"center-content"},u["default"].createElement(V,{wif_count:this.state.wif_count}),this.state.wif_count?u["default"].createElement("span",null," (",u["default"].createElement("a",{onClick:this.reset.bind(this)},"reset"),")"):u["default"].createElement("div",null,"Upload BitShares keys file...")),u["default"].createElement("br",null),u["default"].createElement("div",{className:"center-content"},this.state.wif_count?null:u["default"].createElement("div",null,u["default"].createElement("div",null,u["default"].createElement("div",null,u["default"].createElement("input",{type:"file",id:"file_input",key:this.state.reset_file_name,onChange:this.upload.bind(this)}))),u["default"].createElement("br",null),this.state.no_file?null:u["default"].createElement("div",null,u["default"].createElement("input",{type:"password",ref:"password",key:this.state.reset_password,placeholder:a,onChange:this._passwordCheck.bind(this)}),u["default"].createElement("div",null,this.state.import_password_message),u["default"].createElement("div",null,this.state.wif_text_message)))),this.state.wif_count?u["default"].createElement("div",null,n?u["default"].createElement("div",null,u["default"].createElement("div",null,n.length?u["default"].createElement("div",null,u["default"].createElement("table",{className:"table center-content"},u["default"].createElement("thead",null,u["default"].createElement("tr",null,u["default"].createElement("th",{style:{textAlign:"center"}},"Account"),u["default"].createElement("th",{style:{textAlign:"center"}},"# of keys"))),u["default"].createElement("tbody",null,n))):"No Accounts")):null,u["default"].createElement("br",null),u["default"].createElement("h3",{className:"center-content"},"Unclaimed balances belonging to these keys:"),r?u["default"].