text: webpackJsonp([1],{"+kQw":function(t,e){},"1e3k":function(t,e,a){t.exports=a.p+"static/img/explogo.9b1d1c9.png"},"2cUx":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAACswAAArMBLchPQwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAF0SURBVDiNrdRBaxNBGIfxX7YxB/ULiL1oi3i2XtSr9yQU/AKi3m0x4MmDl1SvfgkR3XjvNzBBkdRL1UvpTaWg0J3ZRg9Nmmy70oZk4YWZZ+b/8A4zbEXZ11cTNWXqcjdEi3JEO6KeIDWQuiccj1ZOyD5ZldsQXR1KijVmX2WeeOBtufC1Bde0RWuniIos99IPLc8MoHokXNYWrJ1ZNJ6vqxmgNe6wZ1XwZkpRkeWanksr+mr2bImWppYU2XcXXK/6pSm3NINoNL7it3pVplHYOEuXB4fCFQczHXVyfrMqujQH0YhdrsrmIhqNB4loV0A2UWFY07PdxL5uYTGUBM7OPiSCdG4d7uskEu9ktmc8KsE3e94nHomi1sxdBo/1hQWw6YtbLopuH93caOPkbf6ftfW8gkMh3LXpj/OCO4VQKBEV2YaPnuIvZT/Y+xqiF6LlU97etmDdZ53J+EkhPHTOTw1BXW5FsDiU7Ii6olSioysej/4DAwt6ohLrU2IAAAAASUVORK5CYII="},"5qM0":function(t,e){},"6n7F":function(t,e){},"7UI5":function(t,e){},EYnv:function(t,e){},FJaZ:function(t,e){},IDRC:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAACswAAArMBLchPQwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAHUSURBVDiNpZS9bhNREIWP7U3kGKJ0URAREiRCxu6AKpSI2rbyDtACiYhERYccaCl4B4RsUfMGGChwaPhpLDcopgq7d9b3HIq1I3uxHZusNNLOpztHZ3fuTAYTHpXLy0bWTKoYedNJmybBpI5JH53UyBcKjXK7benaTBr0i8VdAw5NujYQSYLEWC59j8kn9zqdtxMFBeTiUqlu5N4UgWnCL790uwfPAAJAdijoSqV65P1eRCIiEUlJDPNRPs72r6yvPx9z+KdY3DXpzQwXM5lL3muPjo8bGZXLy7/7/SMjt9IFbgHhWPoZ9XrF4Fcc12Jp63/djcRVt7ZWCUyqLuJkFoulShCStxbs6ix2O4jIS2censLTX+bIy0GUhos6G+UAgxDomnT9nA0ZOuwGkfetU8Hzd/pDNpIa/9z+SVMyD/O+mXkNLF3Y2DgyaXseJ1P/Mfmj5/2N7AMgDsmDkERIIpSSGOYpNs1dCDxuA5YDgHcnJ1/v5vMXnbTjBi5Og8QcrN4iXwFAbrgldsLwvc/nC468M5fogEfA4SfyabIBJyzYh6ur1Rh4YeT2GWP2zcj9z0Bz5sYGgPvAUriyUjWgYslobg6a0TGp5bxvZIFmC4jTtX8BKHf/5sV+45gAAAAASUVORK5CYII="},MOGj:function(t,e){},NHnr:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("7+uW"),n={name:"card-data",props:{data:{type:[Object,Array],required:!0},title:{type:String,required:!1,default:""},typeCard:{type:String,required:!1,default:""},link:{type:Boolean,required:!1,default:!1}}},i={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"account"},[""!=t.title?a("div",{staticClass:"title"},[t._v(t._s(t.title))]):t._e(),t._v(" "),a("div",{staticClass:"row line"}),t._v(" "),t._l(t.data,function(e,s,n){return a("div",{staticClass:"data"},[a("div",{staticClass:"row"},[a("div",{class:{key:!0,keyO:"object"==typeof t.data&&""==t.typeCard,keyA:Array.isArray(t.data)&&""==t.typeCard,keyA2:"witnesses"==t.typeCard}},[t._v("\n        "+t._s(s)+"\n      ")]),a("div",{class:{value:!0,valueO:"object"==typeof t.data&&""==t.typeCard,valueA:Array.isArray(t.data)&&""==t.typeCard,valueA2:"witnesses"==t.typeCard}},[a("div","object"==typeof e?[1==t.link&&e.link?a("div",[a("a",{attrs:{href:e.link}},[t._v(t._s(e.text))])]):a("div",[a("card-data",{attrs:{data:e}})],1)]:[t._v("            \n          "+t._s(e)+"            \n        ")])])])])})],2)},staticRenderFns:[]};var o=a("VU/8")(n,i,!1,function(t){a("FJaZ")},"data-v-19776687",null).exports,r={name:"App",components:{CardData:o}},c={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"app"}},[e("router-view")],1)},staticRenderFns:[]};var l=a("VU/8")(r,c,!1,function(t){a("aSSI")},null,null).exports,_=a("/ocq"),p="REV",u="DREAM",h="SP",d="VESTS",v={url:"http://dev.rockdio.org:8751",useAppbaseApi:!0},m=978,f=25e4,g=95,w=10512e3,b=28800,k=900,y=1e3,x={TOP_WITNESSES:20,INI_POS:[30,0],INI_ZOOM:1},A=a("j9JH"),C=a.n(A),S={getReputation:function(t){var e=parseInt(t);return 0==e?25:e>0?Math.floor(9*C()(e)-56):Math.ceil(106-9*C()(-e))},getTimestamp:function(t){var e=new Date-new Date(t+"Z");return this.textTimeAgo(e)},textTimeAgo:function(t){return t<=1e3?"1 second ago":t<6e4?(t/1e3).toFixed(0)+" seconds ago":t<12e4?"1 minute ago":t<36e5?(t/1e3/60).toFixed(0)+" minutes ago":t<72e5?"1 hour ago":t<864e5?(t/1e3/60/60).toFixed(0)+" hours ago":t<1728e5?"yesterday":t<2592e6?(t/1e3/60/60/24).toFixed(0)+" days ago":t<5184e6?"last month":t<31104e6?(t/1e3/60/60/24/30).toFixed(0)+" months ago":t<62208e6?"last year":(t/1e3/60/60/24/30/12).toFixed(0)+" years ago"},extractUrlProfileImage:function(t){if(void 0!==t.profile&&void 0!==t.profile.profile_image){var e=t.profile.profile_image;return"![image]"==e.substring(0,8)?e.substring(9,e.length-1):e}return""},getVotingPower:function(t){var e=t.voting_power,a=new Date(t.last_vote_time+"Z"),s=(new Date-a)/1e3,n=Math.round(1e4*s/432e3);return Math.min(e+n,1e4)},getInflationRate:function(t){var e=m,a=t/f,s=g,n=Math.max(e-a,s);return parseInt(n)},extractUrlCoverImage:function(t){if(void 0!==t.profile&&void 0!==t.profile.cover_image){var e=t.profile.cover_image;return"![image]"==e.substring(0,8)?e.substring(9,e.length-1):e}return""},getQuery:function(t){var e=t.split("?"),a={};return a.page=e[0],e.length>1&&(a.params=JSON.parse('{"'+e[1].replace(/\&/gi,'","').replace(/\=/gi,'":"')+'"}')),console.log("getQuery"),console.log(document.location.search),console.log(e),console.log(a),a}},F={name:"trx",props:{tx:{type:[Array,Object],required:!0}},data:function(){return{typeOp:"",op:{},trx_id:"",blockNum:0}},created:function(){this.processTx(this.tx)},watch:{tx:function(t){this.processTx(t)}},computed:{feedPrice:function(){if(!this.op.exchange_rate)return"";var t=this.op.exchange_rate;return(parseFloat(t.base)/parseFloat(t.quote)).toFixed(3)}},methods:{link:function(t,e){return"#/@"+t+"/"+e},linkCut:function(t,e){var a="@"+t+"/"+e,s=a.length>30?"...":"";return a.substring(0,30)+s},processTx:function(t){var e;Array.isArray(t)?(this.typeOp=t[1].op[0],this.trx_id=t[1].trx_id,this.blockNum=t[1].block,e=t[1].op[1]):(this.typeOp=t.operations[0][0],this.trx_id=t.transaction_id,this.blockNum=t.block_num,e=t.operations[0][1]),"custom_json"==this.typeOp&&(e.json=JSON.parse(e.json)),this.op=e}},components:{CardData:o}},O={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"trx"},[a("div",{staticClass:"tx-link"},[a("a",{attrs:{href:"#/b/"+t.blockNum+"/"+t.trx_id}},[t._v(t._s(t.trx_id.substring(0,7)))])]),a("span",{staticClass:"operation break-word"},["curation_reward"==t.typeOp?a("div",[a("a",{attrs:{href:"#/@"+t.op.curator}},[t._v(t._s(t.op.curator))]),t._v(" curation reward: "+t._s(this.vests2sp(t.op.reward))+" for "),a("a",{attrs:{href:t.link(t.op.comment_author,t.op.comment_permlink)}},[t._v(t._s(t.linkCut(t.op.comment_author,t.op.comment_permlink)))])]):"vote"==t.typeOp?a("div",[a("a",{attrs:{href:"#/@"+t.op.voter}},[t._v(t._s(t.op.voter))]),t._v(" upvote "),a("a",{attrs:{href:t.link(t.op.author,t.op.permlink)}},[t._v(t._s(t.linkCut(t.op.author,t.op.permlink)))]),t._v(" ("+t._s((t.op.weight/100).toFixed(2))+"%)\n    ")]):"transfer"==t.typeOp?a("div",[a("a",{attrs:{href:"#/@"+t.op.from}},[t._v(t._s(t.op.from))]),t._v(" transfer "+t._s(t.op.amount)+" to "),a("a",{attrs:{href:"#/@"+t.op.to}},[t._v(t._s(t.op.to))]),t._v(". Memo: "),a("span",{staticClass:"memo"},[t._v(t._s(t.op.memo))])]):"delegate_vesting_shares"==t.typeOp?a("div",[a("a",{attrs:{href:"#/@"+t.op.delegator}},[t._v(t._s(t.op.delegator))]),t._v(" delegate "),a("a",{attrs:{href:"#/@"+t.op.delegatee}},[t._v(t._s(t.op.delegatee))]),t._v(" "+t._s(this.vests2sp(t.op.vesting_shares))+"\n    ")]):"comment"==t.typeOp&&""!=t.op.parent_author?a("div",[a("a",{attrs:{href:"#/@"+t.op.author}},[t._v(t._s(t.op.author))]),t._v(" replied to "),a("a",{attrs:{href:t.link(t.op.parent_author,t.op.parent_permlink)}},[t._v(t._s(t.linkCut(t.op.parent_author,t.op.parent_permlink)))]),t._v(". "),a("span",{staticClass:"memo"},[t._v(t._s(t.op.body.substring(0,140))+t._s(t.op.body.length>140?"...":""))])]):"comment"==t.typeOp&&""==t.op.parent_author?a("div",[a("a",{attrs:{href:"#/@"+t.op.author}},[t._v(t._s(t.op.author))]),t._v(" authored a post: "),a("a",{attrs:{href:t.link(t.op.author,t.op.permlink)}},[t._v(t._s(t.linkCut(t.op.author,t.op.permlink)))])]):"transfer_to_vesting"==t.typeOp?a("div",[a("a",{attrs:{href:"#/@"+t.op.from}},[t._v(t._s(t.op.from))]),t._v(" power up "+t._s(t.op.amount)+" to "),a("a",{attrs:{href:"#/@"+t.op.to}},[t._v(t._s(t.op.to))])]):"withdraw_vesting"==t.typeOp?a("div",[a("a",{attrs:{href:"#/@"+t.op.account}},[t._v(t._s(t.op.account))]),t._v(" start power down "+t._s(this.vests2sp(t.op.vesting_shares))+"\n    ")]):"fill_vesting_withdraw"==t.typeOp?a("div",[a("a",{attrs:{href:"#/@"+t.op.from_account}},[t._v(t._s(t.op.from_account))]),t._v(" withdraw "+t._s(t.op.withdrawn)+" as "+t._s(t.op.deposited)+"\n    ")]):"return_vesting_delegation"==t.typeOp?a("div",[a("a",{attrs:{href:"#/@"+t.op.account}},[t._v(t._s(t.op.account))]),t._v(" return of "+t._s(this.vests2sp(t.op.vesting_shares))+" delegation\n    ")]):"claim_account"==t.typeOp?a("div",[a("a",{attrs:{href:"#/@"+t.op.creator}},[t._v(t._s(t.op.creator))]),t._v(" claim account. Fee: "+t._s(t.op.fee)+"\n    ")]):"create_claimed_account"==t.typeOp?a("div",[a("a",{attrs:{href:"#/@"+t.op.creator}},[t._v(t._s(t.op.creator))]),t._v(" create claimed account "),a("a",{attrs:{href:"#/@"+t.op.new_account_name}},[t._v(t._s(t.op.new_account_name))])]):"account_create_with_delegation"==t.typeOp?a("div",[a("a",{attrs:{href:"#/@"+t.op.creator}},[t._v(t._s(t.op.creator))]),t._v(" create account "),a("a",{attrs:{href:"#/@"+t.op.new_account_name}},[t._v(t._s(t.op.new_account_name))]),t._v(". Fee: "+t._s(t.op.fee)+". Delegation: "+t._s(this.vests2sp(t.op.delegation))+"\n    ")]):"account_create"==t.typeOp?a("div",[a("a",{attrs:{href:"#/@"+t.op.creator}},[t._v(t._s(t.op.creator))]),t._v(" create account "),a("a",{attrs:{href:"#/@"+t.op.new_account_name}},[t._v(t._s(t.op.new_account_name))]),t._v(". Fee: "+t._s(t.op.fee)+".\n    ")]):"producer_reward"==t.typeOp?a("div",[a("a",{attrs:{href:"#/@"+t.op.producer}},[t._v(t._s(t.op.producer))]),t._v(" producer reward: "+t._s(this.vests2sp(t.op.vesting_shares))+"\n    ")]):"feed_publish"==t.typeOp?a("div",[a("a",{attrs:{href:"#/@"+t.op.publisher}},[t._v(t._s(t.op.publisher))]),t._v(" feed price $"+t._s(t.feedPrice)+"\n    ")]):"witness_update"==t.typeOp?a("div",[a("a",{attrs:{href:"#/@"+t.op.owner}},[t._v(t._s(t.op.owner))]),t._v(" update witness. Creation fee: "+t._s(t.op.props.account_creation_fee)+"\n    ")]):"account_witness_vote"==t.typeOp?a("div",[a("a",{attrs:{href:"#/@"+t.op.account}},[t._v(t._s(t.op.account))]),t._v(" "),t.op.approve?a("span",[t._v("approve")]):a("span",[t._v("unapprove")]),t._v(" witness "),a("a",{attrs:{href:"#/@"+t.op.witness}},[t._v(t._s(t.op.witness))])]):"claim_reward_balance"==t.typeOp?a("div",[a("a",{attrs:{href:"#/@"+t.op.account}},[t._v(t._s(t.op.account))]),t._v(" claim reward: "+t._s(t.op.reward_sbd)+", "+t._s(t.op.reward_steem)+", "+t._s(this.vests2sp(t.op.reward_vests))+"\n    ")]):"comment_benefactor_reward"==t.typeOp?a("div",[a("a",{attrs:{href:"#/@"+t.op.benefactor}},[t._v(t._s(t.op.benefactor))]),t._v(" benefactor reward: "+t._s(t.op.sbd_payout)+", "+t._s(t.op.steem_payout)+", "+t._s(this.vests2sp(t.op.vesting_payout))+" for "),a("a",{attrs:{href:t.link(t.op.author,t.op.permlink)}},[t._v(t._s(t.linkCut(t.op.author,t.op.permlink)))])]):"author_reward"==t.typeOp?a("div",[a("a",{attrs:{href:"#/@"+t.op.author}},[t._v(t._s(t.op.author))]),t._v(" author reward: "+t._s(t.op.sbd_payout)+", "+t._s(t.op.steem_payout)+", "+t._s(this.vests2sp(t.op.vesting_payout))+" for "),a("a",{attrs:{href:t.link(t.op.author,t.op.permlink)}},[t._v(t._s(t.linkCut(t.op.author,t.op.permlink)))])]):"custom_json"==t.typeOp&&"sm_price_feed"==t.op.id?a("div",[t._v("\n      SteemMonsters feed price: Steem $"+t._s(t.op.json.steem)+". SBD $"+t._s(t.op.json.sbd)+"\n    ")]):"custom_json"==t.typeOp&&"follow"==t.op.id&&"reblog"==t.op.json[0]?a("div",[a("a",{attrs:{href:"#/@"+t.op.json[1].account}},[t._v(t._s(t.op.json[1].account))]),t._v(" reblog "),a("a",{attrs:{href:t.link(t.op.json[1].author,t.op.json[1].permlink)}},[t._v(t._s(t.linkCut(t.op.json[1].author,t.op.json[1].permlink)))])]):"custom_json"==t.typeOp&&"follow"==t.op.id&&"follow"==t.op.json[0]?a("div",[a("a",{attrs:{href:"#/@"+t.op.json[1].follower}},[t._v(t._s(t.op.json[1].follower))]),t._v(" "),t.op.json[1].what.length>0&&"blog"==t.op.json[1].what[0]?a("span",[t._v("follow")]):a("span",[t._v("unfollow")]),t._v(" "+t._s(t.op.json[1].following)+"\n    ")]):"custom_json"==t.typeOp?a("div",[a("card-data",{attrs:{data:t.op.json,title:"custom: "+t.op.id}})],1):a("div",[a("card-data",{attrs:{data:t.op,title:t.typeOp}})],1)])])},staticRenderFns:[]};var B=a("VU/8")(F,O,!1,function(t){a("5qM0")},"data-v-41a06206",null).exports,E={name:"Home",data:function(){return{chainprops:{current_sbd_supply:"0.000",virtual_supply:"0.001",reward_balance:"0.000",reward_balance_day:"0.000",recent_claims:1,steem_per_rshare:0,feed_price:0,reward_percent:0,steem_per_mvests:0,vote_value_1000_sp:0},lastTxs:[],lastBlocks:[],schedule:[],exists:{globals:!1,reward:!1},ints:{},first_time:!0,last_block_num:0}},components:{CardData:o,Trx:B},created:function(){this.getDynamicGlobalProperties(),this.ints.globalprops=setInterval(this.getDynamicGlobalProperties,6e4),this.ints.blocks=setInterval(this.fetchBlocks,12e3)},beforeDestroy:function(){clearInterval(this.ints.globalprops),clearInterval(this.ints.blocks)},computed:{sbd_percent:function(){return parseFloat(this.chainprops.current_sbd_supply)*this.chainprops.feed_price*100/parseFloat(this.chainprops.virtual_supply)},sbd_per_rshare:function(){return this.chainprops.steem_per_rshare*this.chainprops.feed_price},reward_percent:function(){return 100*parseFloat(this.chainprops.reward_balance)/parseFloat(this.chainprops.virtual_supply)},vote_value_1000_sp:function(){return 20*this.chainprops.steem_per_rshare*1e12/this.chainprops.steem_per_mvests*this.chainprops.feed_price}},methods:{getDynamicGlobalProperties:function(){var t=this;steem.api.getRewardFund("post",function(e,a){!e&&a?(t.chainprops.reward_balance=a.reward_balance,t.chainprops.recent_claims=a.recent_claims,t.chainprops.reward_balance_day=(parseFloat(t.chainprops.reward_balance)/15).toFixed(3)+" "+u,t.chainprops.steem_per_rshare=parseFloat(t.chainprops.reward_balance)/parseInt(t.chainprops.recent_claims),t.exists.reward=!0):console.log(e,a)}),steem.api.getState("",function(e,a){if(!e&&a){var s=["current_supply","current_sbd_supply","virtual_supply","total_vesting_fund_steem","total_vesting_shares","pending_rewarded_vesting_shares","pending_rewarded_vesting_steem","sbd_interest_rate","sbd_print_rate","maximum_block_size"];for(var n in a.props)s.indexOf(n)<0||(t.chainprops[n]=a.props[n]);t.chainprops.steem_per_mvests=1e6*parseFloat(t.chainprops.total_vesting_fund_steem)/parseFloat(t.chainprops.total_vesting_shares);var i=S.getInflationRate(a.props.head_block_number);if(t.chainprops.current_inflation_rate=i/100+"%",t.chainprops.new_steem_per_day=(b*parseFloat(t.chainprops.virtual_supply)*(i/1e4)/w).toFixed(3)+" "+u,t.chainprops.sp_percent=100*parseFloat(t.chainprops.total_vesting_fund_steem)/parseFloat(t.chainprops.virtual_supply),t.chainprops.feed_price=parseFloat(a.feed_price.base)/parseFloat(a.feed_price.quote),t.exists.globals=!0,t.first_time&&(t.last_block_num=a.props.head_block_number),t.first_time=!1,0!=t.schedule.length){var o="";t.lastBlocks.length>0&&(o=t.lastBlocks[0].witness);var r=a.witness_schedule.current_shuffled_witnesses,c=r.indexOf(o);if(-1!=c){for(var l=c+1;l<r.length;l++)t.$set(t.schedule,l-c-1,r[l]);for(l=0;l<c;l++)t.$set(t.schedule,r.length-c-1+l,r[l]);t.$set(t.schedule,r.length-1,r[c])}}else t.schedule=a.witness_schedule.current_shuffled_witnesses}else console.log(e,a)})},fetchBlocks:function(){if(0!=this.last_block_num){var t={};t=this.lastBlocks.length>0?this.lastBlocks[0]:{block_num:this.last_block_num-10,timestamp_milis:(new Date).getTime(),time_ago:"",loaded:!1};for(var e=this.last_block_num-t.block_num,a=[],s=1;s<=e;s++)a.push(this.last_block_num-e+s);this.last_block_num++;var n=this;a.forEach(function(e){var a={block_num:e,timestamp_milis:t.timestamp_milis+3e3*(e-t.block_num),time_ago:"",size_txs:0,size_posts:0,witness:"",loaded:!1};n.lastBlocks.unshift(a),n.lastBlocks.length>10&&n.lastBlocks.pop(),steem.api.getBlock(e,function(t,s){if(!t&&s){a.size_txs=s.transactions.length,a.size_posts=s.transactions.filter(function(t){return"comment"==t.operations[0][0]&&""==t.operations[0][1].parent_author}).length,a.timestamp_milis=new Date(s.timestamp+"Z").getTime(),a.witness=s.witness,a.loaded=!0;var i=n.lastBlocks.findIndex(function(t){return t.block_num==e});i>=0&&(n.$set(n.lastBlocks,i,a),0==i&&a.witness==n.schedule[0]&&n.schedule.shift())}else console.log(t,s)})})}}}},j={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"home"},[t._m(0),t._v(" "),a("div",{staticClass:"info1"},[t._m(1),t._v(" "),this.exists.globals?a("div",[a("div",{staticClass:"card"},[a("div",{staticClass:"title"},[t._v("Current supply")]),a("br"),t._v(t._s(this.chainprops.current_supply)),a("br"),t._v(t._s(this.chainprops.current_sbd_supply)),a("br"),a("hr"),t._v("virtual "+t._s(this.chainprops.virtual_supply)+"\n      ")]),t._v(" "),a("div",{staticClass:"card"},[a("div",{staticClass:"title"},[t._v("Inflation")]),a("br"),t._v("Annual rate: "+t._s(this.chainprops.current_inflation_rate)),a("br"),t._v("("+t._s(this.chainprops.new_steem_per_day)+" per day)\n      ")]),t._v(" "),a("div",{staticClass:"card"},[a("div",{staticClass:"title"},[t._v("Stake")]),a("br"),t._v("Fund: "+t._s(this.chainprops.total_vesting_fund_steem)),a("br"),t._v("("+t._s(this.chainprops.sp_percent.toFixed(2))+"% of virtual sup.)"),a("br"),t._v("Shares: "+t._s(this.chainprops.total_vesting_shares)),a("br"),a("hr"),t._v(t._s(this.chainprops.steem_per_mvests.toFixed(3))+" "+t._s(this.STEEM_SYMBOL)+" per m"+t._s(this.VESTS_SYMBOL)+"          \n      ")]),t._v(" "),a("div",{staticClass:"card"},[a("div",{staticClass:"title"},[t._v(t._s(this.SBD_SYMBOL))]),a("br"),t._v(t._s(this.chainprops.current_sbd_supply)),a("br"),t._v("("),a("span",{class:{green:100*this.sbd_percent<=this.STEEM_SBD_START_PERCENT,orange:100*this.sbd_percent>this.STEEM_SBD_START_PERCENT&&100*this.sbd_percent<this.STEEM_SBD_STOP_PERCENT,red:100*this.sbd_percent>=this.STEEM_SBD_STOP_PERCENT}},[t._v(t._s(this.sbd_percent.toFixed(2))+"%")]),t._v(" of virtual sup.)"),a("br"),t._v("Print rate: "+t._s(this.chainprops.sbd_print_rate/100)+"%"),a("br"),t._v("Interest rate: "+t._s(this.chainprops.sbd_interest_rate/100)+"%\n      ")])]):a("div",[a("div",{staticClass:"loader"})]),t._v(" "),this.exists.globals&&this.exists.reward?a("div",[a("div",{staticClass:"card"},[a("div",{staticClass:"title"},[t._v("Reward fund")]),a("br"),t._v(t._s(this.chainprops.reward_balance)),a("br"),t._v("("+t._s(this.reward_percent.toFixed(2))+"% of virtual sup.)"),a("br"),t._v("for next 15 days"),a("br"),a("hr"),t._v(t._s(this.chainprops.reward_balance_day)+" per day"),a("br"),t._v("vote of $"+t._s(this.vote_value_1000_sp.toFixed(3))+" per 1000 "+t._s(this.SP_SYMBOL)+"\n      ")])]):a("div",[a("div",{staticClass:"loader"})])]),a("div",{staticClass:"info2"},[t.lastBlocks.length>0?a("div",[a("div",{staticClass:"last-blocks"},[a("h2",[t._v("Last Blocks")]),t._v(" "),a("transition-group",{staticClass:"block-group",attrs:{name:"list-blocks",tag:"div"}},t._l(t.lastBlocks,function(e,s,n){return a("div",{key:e.block_num,staticClass:"list-blocks-item"},[a("div",{staticClass:"block-left"},[a("a",{attrs:{href:"#/b/"+e.block_num}},[t._v(t._s(e.block_num))]),t._v(" "),e.loaded?a("span",[t._v("\n                - "+t._s(e.size_txs)+" transactions\n                "),e.size_posts>0?a("span",[t._v("\n                  ("+t._s(e.size_posts)+" posts)\n                ")]):t._e()]):a("span",[t._v("\n                loading...\n              ")])]),a("div",{staticClass:"block-right"},[a("span",{staticClass:"small"},[t._v("witness")]),a("br"),a("a",{attrs:{href:"#/@"+e.witness}},[t._v(t._s(e.witness))])])])}))],1),a("div",{staticClass:"schedule"},[a("h2",[t._v("Schedule")]),t._v(" "),a("transition-group",{attrs:{name:"list-schedule",tag:"div"}},t._l(t.schedule,function(e,s,n){return a("div",{key:e,staticClass:"list-schedule-item"},[t._v("\n            "+t._s(e)+"\n          ")])}))],1)]):a("div",[a("div",{staticClass:"loader"})])])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"info0"},[e("h1",[this._v("DREAM Explorer")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("a",{attrs:{href:"#/"}},[e("img",{attrs:{src:a("1e3k"),alt:"DREAM explogo",height:"100%",width:"100%"}})])}]};var I=a("VU/8")(E,j,!1,function(t){a("+kQw")},"data-v-2b33cebb",null).exports,R={name:"Account",data:function(){return{account:{},witness:{},accountGenerals:{},accountGenerals2:{},witnessGenerals:{},authorities:{},transactions:{},limit:250,pages:[],exists:{account:!1,witness:!1,json_metadata:!1,witness_votes:!1,voting_manabar:!1,transactions:!1}}},components:{CardData:o,Trx:B},created:function(){this.fetchData()},watch:{$route:"fetchData"},methods:{fetchData:function(){var t=this.$route.params.account;console.log("Fetching data for "+t),this.exists.account=!1,this.exists.transactions=!1,this.exists.witness=!1;var e=this;steem.api.getAccounts([t],function(t,a){if(!t&&a&&0!=a.length){e.exists.account=!0,a[0].json_metadata.length>0?e.exists.json_metadata=!0:e.exists.json_metadata=!1,a[0].voting_manabar?e.exists.voting_manabar=!0:e.exists.voting_manabar=!1;try{a[0].json_metadata=JSON.parse(a[0].json_metadata)}catch(t){}a[0].rep_log=S.getReputation(a[0].reputation),a[0].profile_image=S.extractUrlProfileImage(a[0].json_metadata),a[0].cover_image=S.extractUrlCoverImage(a[0].json_metadata);for(var s=0;s<a[0].witness_votes.length;s++)a[0].witness_votes[s]={link:"#/@"+a[0].witness_votes[s],text:a[0].witness_votes[s]};e.account=a[0];var n=["owner","active","posting","memo_key","json_metadata","voting_manabar","proxied_vsf_votes","transfer_history","market_history","post_history","vote_history","other_history","witness_votes","tags_usage","guest_bloggers","rep_log","profile_image","cover_image","balance","sbd_balance","savings_balance"],i={};for(var o in e.account)n.indexOf(o)>=0||(i[o]=e.account[o]);e.accountGenerals2=i,e.authorities.owner=e.arrayAuthorities(e.account.owner),e.authorities.active=e.arrayAuthorities(e.account.active),e.authorities.posting=e.arrayAuthorities(e.account.posting),e.authorities.memo=[e.account.memo_key];var r=parseFloat(e.account.received_vesting_shares)-parseFloat(e.account.delegated_vesting_shares);e.accountGenerals={voting_power:S.getVotingPower(e.account)/100+"%",balance:e.account.balance,sbd_balance:e.account.sbd_balance,savings_balance:e.account.savings_balance,steem_power:e.vests2sp(e.account.vesting_shares)+" ("+(r>0?"+":"")+e.vests2sp(r)+")"}}else console.log(t,a)}),steem.api.getAccountHistory(t,-1,1,function(a,s){if(!a&&s&&0!=s.length){var n=s[0][0],i=-1,o=e.limit,r=Math.ceil(n/o),c=1;(i=e.$route.query&&e.$route.query.page?n-o*((c=parseInt(e.$route.query.page))-1):n)<0&&(i=0),i<o&&(o=i),e.pages=[];var l=c-5,_=c+5-1;l<1&&(_+=1-l,l=1),_>r&&((l-=_-r)<1&&(l=1),_=r),l>1&&(e.pages.push({text:"1",link:"#/@"+t+"?page=1"}),e.pages.push({text:"..."}));for(var p=l;p<=_;p++)e.pages.push({text:p+"",link:"#/@"+t+"?page="+p});_<r&&(e.pages.push({text:"..."}),e.pages.push({text:r+"",link:"#/@"+t+"?page="+r})),steem.api.getAccountHistory(t,i,o,function(t,a){!t&&a&&0!=a.length?(e.transactions=a.reverse(),e.exists.transactions=!0):console.log(t,a)})}else console.log(a,s)}),steem.api.getWitnessByAccount(t,function(t,a){if(!t&&a){e.witness=a;var s=["signing_key","props","sbd_exchange_rate"],n={};for(var i in e.witness)s.indexOf(i)>=0||(n[i]=e.witness[i]);e.witnessGenerals=n,e.authorities.signing=[e.witness.signing_key],e.exists.witness=!0}})},arrayAuthorities:function(t){for(var e=[],a=0;a<t.key_auths.length;a++)e.push(t.key_auths[a][0]);for(a=0;a<t.account_auths.length;a++)e.push({link:"#/@"+t.account_auths[a][0],text:t.account_auths[a][0]});return e}}},D={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"account"},[this.exists.account?a("div",[a("div",{staticClass:"profile",style:""==this.account.cover_image?"background-color: black;":"background-image: url("+this.account.cover_image+");"},[a("div",[a("div",{staticClass:"image",style:"background-image: url("+this.account.profile_image+");"}),t._v(" "),a("div",{staticClass:"name"},[a("h1",[a("strong",[t._v("@"+t._s(this.account.name))]),t._v(" ("+t._s(t.account.rep_log)+")")])])])]),t._v(" "),a("div",{staticClass:"info1"},[t._m(0),t._v(" "),a("h2",[t._v("Generals")]),t._v(" "),a("card-data",{attrs:{data:this.accountGenerals}}),t._v(" "),this.exists.voting_manabar?a("div",[a("h2",[t._v("Voting manabar")]),t._v(" "),a("card-data",{attrs:{data:this.account.voting_manabar}})],1):t._e(),t._v(" "),a("h2",[t._v("Account info")]),t._v(" "),a("card-data",{attrs:{data:this.accountGenerals2}}),t._v(" "),this.exists.witness?a("div",[a("h2",[t._v("Witness info")]),t._v(" "),a("card-data",{attrs:{data:this.witnessGenerals}}),t._v(" "),a("h3",[t._v("Witness props")]),t._v(" "),a("card-data",{attrs:{data:this.witness.props}}),t._v(" "),a("h3",[t._v("SBD exchange rate")]),t._v(" "),a("card-data",{attrs:{data:this.witness.sbd_exchange_rate}})],1):t._e(),t._v(" "),a("h2",[t._v(t._s(this.account.name)+" votes for")]),t._v(" "),a("card-data",{attrs:{data:this.account.witness_votes,typeCard:"witnesses",link:!0}}),t._v(" "),a("h2",[t._v("Authorities")]),t._v(" "),this.exists.witness?a("div",[a("h3",[t._v("Signing Auth")]),t._v(" "),a("card-data",{attrs:{data:this.authorities.signing}})],1):t._e(),t._v(" "),a("h3",[t._v("Owner Auth")]),t._v(" "),a("card-data",{attrs:{data:this.authorities.owner,link:!0}}),t._v(" "),a("h3",[t._v("Active Auth")]),t._v(" "),a("card-data",{attrs:{data:this.authorities.active,link:!0}}),t._v(" "),a("h3",[t._v("Posting Auth")]),t._v(" "),a("card-data",{attrs:{data:this.authorities.posting,link:!0}}),t._v(" "),a("h3",[t._v("Memo Auth")]),t._v(" "),a("card-data",{attrs:{data:this.authorities.memo}})],1),a("div",{staticClass:"info2"},[this.exists.json_metadata?a("div",[a("h2",[t._v("JSON metadata")]),t._v(" "),a("card-data",{attrs:{data:this.account.json_metadata}})],1):t._e(),t._v(" "),a("h2",[t._v("Transactions")]),t._v(" "),t.exists.transactions?a("div",t._l(t.transactions,function(t,e,s){return a("div",[a("trx",{attrs:{tx:t}})],1)})):a("div",[a("div",{staticClass:"loader"})]),t._v(" "),a("div",{staticClass:"center"},t._l(t.pages,function(e,s,n){return a("div",{staticClass:"page"},[e.link?a("span",[a("a",{attrs:{href:e.link}},[t._v(t._s(e.text))])]):a("span",[t._v(t._s(e.text))])])}))])]):a("div",[a("div",{staticClass:"loader"})])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("a",{attrs:{href:"#/"}},[e("img",{attrs:{src:a("1e3k"),alt:"DREAM explogo",height:"100%",width:"100%"}})])}]};var P=a("VU/8")(R,D,!1,function(t){a("sATD")},"data-v-081f4180",null).exports,T={name:"Account",data:function(){return{account:{},witness:{},accountGenerals:{},accountGenerals2:{},witnessGenerals:{},authorities:{},transactions:{},limit:250,pages:[],exists:{account:!1,witness:!1,json_metadata:!1,witness_votes:!1,voting_manabar:!1,transactions:!1}}},components:{CardData:o,Trx:B},created:function(){this.fetchData()},watch:{$route:"fetchData"},methods:{fetchData:function(){var t=this.$route.params.account;console.log("Fetching data for "+t),this.exists.account=!1,this.exists.transactions=!1,this.exists.witness=!1;var e=this;steem.api.getAccounts([t],function(t,a){if(!t&&a&&0!=a.length){e.exists.account=!0,a[0].json_metadata.length>0?e.exists.json_metadata=!0:e.exists.json_metadata=!1,a[0].voting_manabar?e.exists.voting_manabar=!0:e.exists.voting_manabar=!1;try{a[0].json_metadata=JSON.parse(a[0].json_metadata)}catch(t){}a[0].rep_log=S.getReputation(a[0].reputation),a[0].profile_image=S.extractUrlProfileImage(a[0].json_metadata),a[0].cover_image=S.extractUrlCoverImage(a[0].json_metadata);for(var s=0;s<a[0].witness_votes.length;s++)a[0].witness_votes[s]={link:"#/@"+a[0].witness_votes[s],text:a[0].witness_votes[s]};e.account=a[0];var n=["owner","active","posting","memo_key","json_metadata","voting_manabar","proxied_vsf_votes","transfer_history","market_history","post_history","vote_history","other_history","witness_votes","tags_usage","guest_bloggers","rep_log","profile_image","cover_image","balance","sbd_balance","savings_balance"],i={};for(var o in e.account)n.indexOf(o)>=0||(i[o]=e.account[o]);e.accountGenerals2=i,e.authorities.owner=e.arrayAuthorities(e.account.owner),e.authorities.active=e.arrayAuthorities(e.account.active),e.authorities.posting=e.arrayAuthorities(e.account.posting),e.authorities.memo=[e.account.memo_key];var r=parseFloat(e.account.received_vesting_shares)-parseFloat(e.account.delegated_vesting_shares);e.accountGenerals={voting_power:S.getVotingPower(e.account)/100+"%",balance:e.account.balance,sbd_balance:e.account.sbd_balance,savings_balance:e.account.savings_balance,steem_power:e.vests2sp(e.account.vesting_shares)+" ("+(r>0?"+":"")+e.vests2sp(r)+")"}}else console.log(t,a)}),steem.api.getAccountHistory(t,-1,1,function(a,s){if(!a&&s&&0!=s.length){var n=s[0][0],i=-1,o=e.limit,r=Math.ceil(n/o),c=1;(i=e.$route.query&&e.$route.query.page?n-o*((c=parseInt(e.$route.query.page))-1):n)<0&&(i=0),i<o&&(o=i),e.pages=[];var l=c-5,_=c+5-1;l<1&&(_+=1-l,l=1),_>r&&((l-=_-r)<1&&(l=1),_=r),l>1&&(e.pages.push({text:"1",link:"#/@"+t+"?page=1"}),e.pages.push({text:"..."}));for(var p=l;p<=_;p++)e.pages.push({text:p+"",link:"#/@"+t+"?page="+p});_<r&&(e.pages.push({text:"..."}),e.pages.push({text:r+"",link:"#/@"+t+"?page="+r})),steem.api.getAccountHistory(t,i,o,function(t,a){!t&&a&&0!=a.length?(e.transactions=a.filter(function(t){return"vote"===t[1].op[0]}).reverse(),e.exists.transactions=!0):console.log(t,a)})}else console.log(a,s)}),steem.api.getWitnessByAccount(t,function(t,a){if(!t&&a){e.witness=a;var s=["signing_key","props","sbd_exchange_rate"],n={};for(var i in e.witness)s.indexOf(i)>=0||(n[i]=e.witness[i]);e.witnessGenerals=n,e.authorities.signing=[e.witness.signing_key],e.exists.witness=!0}})},arrayAuthorities:function(t){for(var e=[],a=0;a<t.key_auths.length;a++)e.push(t.key_auths[a][0]);for(a=0;a<t.account_auths.length;a++)e.push({link:"#/@"+t.account_auths[a][0],text:t.account_auths[a][0]});return e}}},U={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"account"},[this.exists.account?a("div",[a("div",{staticClass:"profile",style:""==this.account.cover_image?"background-color: black;":"background-image: url("+this.account.cover_image+");"},[a("div",[a("div",{staticClass:"image",style:"background-image: url("+this.account.profile_image+");"}),t._v(" "),a("div",{staticClass:"name"},[a("h1",[a("strong",[t._v("@"+t._s(this.account.name))]),t._v(" ("+t._s(t.account.rep_log)+")")])])])]),t._v(" "),a("div",{staticClass:"info1"},[t._m(0),t._v(" "),a("h2",[t._v("Generals")]),t._v(" "),a("card-data",{attrs:{data:this.accountGenerals}}),t._v(" "),this.exists.voting_manabar?a("div",[a("h2",[t._v("Voting manabar")]),t._v(" "),a("card-data",{attrs:{data:this.account.voting_manabar}})],1):t._e(),t._v(" "),a("h2",[t._v("Account info")]),t._v(" "),a("card-data",{attrs:{data:this.accountGenerals2}}),t._v(" "),this.exists.witness?a("div",[a("h2",[t._v("Witness info")]),t._v(" "),a("card-data",{attrs:{data:this.witnessGenerals}}),t._v(" "),a("h3",[t._v("Witness props")]),t._v(" "),a("card-data",{attrs:{data:this.witness.props}}),t._v(" "),a("h3",[t._v("SBD exchange rate")]),t._v(" "),a("card-data",{attrs:{data:this.witness.sbd_exchange_rate}})],1):t._e(),t._v(" "),a("h2",[t._v(t._s(this.account.name)+" votes for")]),t._v(" "),a("card-data",{attrs:{data:this.account.witness_votes,typeCard:"witnesses",link:!0}}),t._v(" "),a("h2",[t._v("Authorities")]),t._v(" "),this.exists.witness?a("div",[a("h3",[t._v("Signing Auth")]),t._v(" "),a("card-data",{attrs:{data:this.authorities.signing}})],1):t._e(),t._v(" "),a("h3",[t._v("Owner Auth")]),t._v(" "),a("card-data",{attrs:{data:this.authorities.owner,link:!0}}),t._v(" "),a("h3",[t._v("Active Auth")]),t._v(" "),a("card-data",{attrs:{data:this.authorities.active,link:!0}}),t._v(" "),a("h3",[t._v("Posting Auth")]),t._v(" "),a("card-data",{attrs:{data:this.authorities.posting,link:!0}}),t._v(" "),a("h3",[t._v("Memo Auth")]),t._v(" "),a("card-data",{attrs:{data:this.authorities.memo}})],1),a("div",{staticClass:"info2"},[this.exists.json_metadata?a("div",[a("h2",[t._v("JSON metadata")]),t._v(" "),a("card-data",{attrs:{data:this.account.json_metadata}})],1):t._e(),t._v(" "),a("h2",[t._v("Transactions")]),t._v(" "),t.exists.transactions?a("div",t._l(t.transactions,function(t,e,s){return a("div",[a("trx",{attrs:{tx:t}})],1)})):a("div",[a("div",{staticClass:"loader"})]),t._v(" "),a("div",{staticClass:"center"},t._l(t.pages,function(e,s,n){return a("div",{staticClass:"page"},[e.link?a("span",[a("a",{attrs:{href:e.link}},[t._v(t._s(e.text))])]):a("span",[t._v(t._s(e.text))])])}))])]):a("div",[a("div",{staticClass:"loader"})])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("a",{attrs:{href:"#/"}},[e("img",{attrs:{src:a("1e3k"),alt:"DREAM explogo",height:"100%",width:"100%"}})])}]};var N=a("VU/8")(T,U,!1,function(t){a("7UI5")},"data-v-4fe2d04a",null).exports,M={name:"Account",data:function(){return{account:{},witness:{},accountGenerals:{},accountGenerals2:{},witnessGenerals:{},authorities:{},transactions:{},limit:250,pages:[],exists:{account:!1,witness:!1,json_metadata:!1,witness_votes:!1,voting_manabar:!1,transactions:!1}}},components:{CardData:o,Trx:B},created:function(){this.fetchData()},watch:{$route:"fetchData"},methods:{fetchData:function(){var t=this.$route.params.account;console.log("Fetching data for "+t),this.exists.account=!1,this.exists.transactions=!1,this.exists.witness=!1;var e=this;steem.api.getAccounts([t],function(t,a){if(!t&&a&&0!=a.length){e.exists.account=!0,a[0].json_metadata.length>0?e.exists.json_metadata=!0:e.exists.json_metadata=!1,a[0].voting_manabar?e.exists.voting_manabar=!0:e.exists.voting_manabar=!1;try{a[0].json_metadata=JSON.parse(a[0].json_metadata)}catch(t){}a[0].rep_log=S.getReputation(a[0].reputation),a[0].profile_image=S.extractUrlProfileImage(a[0].json_metadata),a[0].cover_image=S.extractUrlCoverImage(a[0].json_metadata);for(var s=0;s<a[0].witness_votes.length;s++)a[0].witness_votes[s]={link:"#/@"+a[0].witness_votes[s],text:a[0].witness_votes[s]};e.account=a[0];var n=["owner","active","posting","memo_key","json_metadata","voting_manabar","proxied_vsf_votes","transfer_history","market_history","post_history","vote_history","other_history","witness_votes","tags_usage","guest_bloggers","rep_log","profile_image","cover_image","balance","sbd_balance","savings_balance"],i={};for(var o in e.account)n.indexOf(o)>=0||(i[o]=e.account[o]);e.accountGenerals2=i,e.authorities.owner=e.arrayAuthorities(e.account.owner),e.authorities.active=e.arrayAuthorities(e.account.active),e.authorities.posting=e.arrayAuthorities(e.account.posting),e.authorities.memo=[e.account.memo_key];var r=parseFloat(e.account.received_vesting_shares)-parseFloat(e.account.delegated_vesting_shares);e.accountGenerals={voting_power:S.getVotingPower(e.account)/100+"%",balance:e.account.balance,sbd_balance:e.account.sbd_balance,savings_balance:e.account.savings_balance,steem_power:e.vests2sp(e.account.vesting_shares)+" ("+(r>0?"+":"")+e.vests2sp(r)+")"}}else console.log(t,a)}),steem.api.getAccountHistory(t,-1,1,function(a,s){if(!a&&s&&0!=s.length){var n=s[0][0],i=-1,o=e.limit,r=Math.ceil(n/o),c=1;(i=e.$route.query&&e.$route.query.page?n-o*((c=parseInt(e.$route.query.page))-1):n)<0&&(i=0),i<o&&(o=i),e.pages=[];var l=c-5,_=c+5-1;l<1&&(_+=1-l,l=1),_>r&&((l-=_-r)<1&&(l=1),_=r),l>1&&(e.pages.push({text:"1",link:"#/@"+t+"?page=1"}),e.pages.push({text:"..."}));for(var p=l;p<=_;p++)e.pages.push({text:p+"",link:"#/@"+t+"?page="+p});_<r&&(e.pages.push({text:"..."}),e.pages.push({text:r+"",link:"#/@"+t+"?page="+r})),steem.api.getAccountHistory(t,i,o,function(t,a){!t&&a&&0!=a.length?(e.transactions=a.filter(function(t){return"transfer"===t[1].op[0]}).reverse(),e.exists.transactions=!0):console.log(t,a)})}else console.log(a,s)}),steem.api.getWitnessByAccount(t,function(t,a){if(!t&&a){e.witness=a;var s=["signing_key","props","sbd_exchange_rate"],n={};for(var i in e.witness)s.indexOf(i)>=0||(n[i]=e.witness[i]);e.witnessGenerals=n,e.authorities.signing=[e.witness.signing_key],e.exists.witness=!0}})},arrayAuthorities:function(t){for(var e=[],a=0;a<t.key_auths.length;a++)e.push(t.key_auths[a][0]);for(a=0;a<t.account_auths.length;a++)e.push({link:"#/@"+t.account_auths[a][0],text:t.account_auths[a][0]});return e}}},V={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"account"},[this.exists.account?a("div",[a("div",{staticClass:"profile",style:""==this.account.cover_image?"background-color: black;":"background-image: url("+this.account.cover_image+");"},[a("div",[a("div",{staticClass:"image",style:"background-image: url("+this.account.profile_image+");"}),t._v(" "),a("div",{staticClass:"name"},[a("h1",[a("strong",[t._v("@"+t._s(this.account.name))]),t._v(" ("+t._s(t.account.rep_log)+")")])])])]),t._v(" "),a("div",{staticClass:"info1"},[t._m(0),t._v(" "),a("h2",[t._v("Generals")]),t._v(" "),a("card-data",{attrs:{data:this.accountGenerals}}),t._v(" "),this.exists.voting_manabar?a("div",[a("h2",[t._v("Voting manabar")]),t._v(" "),a("card-data",{attrs:{data:this.account.voting_manabar}})],1):t._e(),t._v(" "),a("h2",[t._v("Account info")]),t._v(" "),a("card-data",{attrs:{data:this.accountGenerals2}}),t._v(" "),this.exists.witness?a("div",[a("h2",[t._v("Witness info")]),t._v(" "),a("card-data",{attrs:{data:this.witnessGenerals}}),t._v(" "),a("h3",[t._v("Witness props")]),t._v(" "),a("card-data",{attrs:{data:this.witness.props}}),t._v(" "),a("h3",[t._v("SBD exchange rate")]),t._v(" "),a("card-data",{attrs:{data:this.witness.sbd_exchange_rate}})],1):t._e(),t._v(" "),a("h2",[t._v(t._s(this.account.name)+" votes for")]),t._v(" "),a("card-data",{attrs:{data:this.account.witness_votes,typeCard:"witnesses",link:!0}}),t._v(" "),a("h2",[t._v("Authorities")]),t._v(" "),this.exists.witness?a("div",[a("h3",[t._v("Signing Auth")]),t._v(" "),a("card-data",{attrs:{data:this.authorities.signing}})],1):t._e(),t._v(" "),a("h3",[t._v("Owner Auth")]),t._v(" "),a("card-data",{attrs:{data:this.authorities.owner,link:!0}}),t._v(" "),a("h3",[t._v("Active Auth")]),t._v(" "),a("card-data",{attrs:{data:this.authorities.active,link:!0}}),t._v(" "),a("h3",[t._v("Posting Auth")]),t._v(" "),a("card-data",{attrs:{data:this.authorities.posting,link:!0}}),t._v(" "),a("h3",[t._v("Memo Auth")]),t._v(" "),a("card-data",{attrs:{data:this.authorities.memo}})],1),a("div",{staticClass:"info2"},[this.exists.json_metadata?a("div",[a("h2",[t._v("JSON metadata")]),t._v(" "),a("card-data",{attrs:{data:this.account.json_metadata}})],1):t._e(),t._v(" "),a("h2",[t._v("Transactions")]),t._v(" "),t.exists.transactions?a("div",t._l(t.transactions,function(t,e,s){return a("div",[a("trx",{attrs:{tx:t}})],1)})):a("div",[a("div",{staticClass:"loader"})]),t._v(" "),a("div",{staticClass:"center"},t._l(t.pages,function(e,s,n){return a("div",{staticClass:"page"},[e.link?a("span",[a("a",{attrs:{href:e.link}},[t._v(t._s(e.text))])]):a("span",[t._v(t._s(e.text))])])}))])]):a("div",[a("div",{staticClass:"loader"})])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("a",{attrs:{href:"#/"}},[e("img",{attrs:{src:a("1e3k"),alt:"DREAM explogo",height:"100%",width:"100%"}})])}]};var G=a("VU/8")(M,V,!1,function(t){a("oPWH")},"data-v-aa2d3878",null).exports,$={name:"votes",props:{data:{type:Array,required:!0},payout:{type:Object,required:!0}},computed:{votes:function(){var t=this.data.sort(function(t,e){return parseInt(e.rshares)-parseInt(t.rshares)}),e=0,a=t.reduce(function(t,e){return t+parseInt(e.rshares)},0),s=parseFloat(this.payout.total),n=0;this.payout.old_post?(n=parseFloat(this.payout.curator),e=t.reduce(function(t,e){return t+e.weight},0)):(n=.25*s,e=this.payout.total_vote_weight);for(var i=0;i<t.length;i++){var o=t[i];o.vote_weight=(o.percent/100).toFixed(2)+"%",o.vote_value=(s*parseInt(o.rshares)/a).toFixed(3)+" "+p,this.payout.old_post?o.curation=(n*o.weight/e).toFixed(3)+" "+p:this.chain.feed_price>=0?o.curation=(n*o.weight/e/this.chain.feed_price).toFixed(3)+" "+h:o.curation=(n*o.weight/e).toFixed(3)+" "+p,o.time_text=S.getTimestamp(o.time),o.rep_log=S.getReputation(o.reputation),t[i]=o}return t}}},q={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"votes"},[t._m(0),t._v(" "),t._l(t.votes,function(e,s,n){return a("div",{staticClass:"data"},[a("div",{staticClass:"row"},[a("div",{staticClass:"voter"},[a("a",{attrs:{href:"#/@"+e.voter}},[t._v("@"+t._s(e.voter))]),t._v(" "),a("span",{staticClass:"reputation"},[t._v("("+t._s(e.rep_log)+")")])]),a("div",{staticClass:"weight"},[t._v(t._s(e.vote_weight))]),a("div",{staticClass:"value"},[t._v(t._s(e.vote_value))]),a("div",{staticClass:"curation"},[t._v(t._s(e.curation))]),a("div",{staticClass:"time",attrs:{title:e.time}},[t._v(t._s(e.time_text))])])])})],2)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"title"},[e("div",{staticClass:"voter"},[this._v("Voter")]),e("div",{staticClass:"weight"},[this._v("Weight")]),e("div",{staticClass:"value"},[this._v("Value")]),e("div",{staticClass:"curation"},[this._v("Curation")]),e("div",{staticClass:"curation"},[this._v("Time")])])}]};var L=a("VU/8")($,q,!1,function(t){a("sfRn")},"data-v-75ad8c70",null).exports,Y={name:"beneficiaries",props:{data:{type:Array,required:!0},payout:{type:Object,required:!0}},data:function(){return{beneficiaries:[]}},created:function(){this.computeBeneficiaries(this.data,this.payout)},methods:{computeBeneficiaries:function(t,e){this.beneficiaries=this.data;var a=parseFloat(e.total),s=0;s=e.old_post?parseFloat(e.author):.75*a;for(var n=0;n<this.beneficiaries.length;n++){var i=this.beneficiaries[n];i.bene_weight=(i.weight/100).toFixed(2)+"%",i.bene_value=(s*parseInt(i.weight)/1e4).toFixed(3)+" "+p,this.$set(this.beneficiaries,n,i)}}}},W={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"beneficiaries"},[t._m(0),t._v(" "),t._l(t.beneficiaries,function(e,s,n){return a("div",{staticClass:"data"},[a("div",{staticClass:"row"},[a("div",{staticClass:"beneficiary"},[a("a",{attrs:{href:"#/@"+e.account}},[t._v("@"+t._s(e.account))])]),a("div",{staticClass:"weight"},[t._v(t._s(e.bene_weight))]),a("div",{staticClass:"value"},[t._v(t._s(e.bene_value))])])])})],2)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"title"},[e("div",{staticClass:"beneficiary"},[this._v("Beneficiary")]),e("div",{staticClass:"weight"},[this._v("Weight")]),e("div",{staticClass:"value"},[this._v("Value")])])}]};var z={name:"post",data:function(){return{post:{},payout:{total:"",card:{}},exists:!1}},components:{CardData:o,Votes:L,Beneficiaries:a("VU/8")(Y,W,!1,function(t){a("MOGj")},"data-v-3a44b2b2",null).exports},created:function(){this.fetchData()},watch:{$route:"fetchData"},methods:{getReputation:S.getReputation,fetchData:function(){var t=this.$route.params.account,e=this.$route.params.permlink;console.log("Fetching data for "+t+"/"+e);var a=this;steem.api.getContent(t,e,function(t,e){if(!t&&e){try{e.json_metadata=JSON.parse(e.json_metadata)}catch(t){e.json_metadata={empty:"Post JSON Metada is empty"}}a.post=e;var s=["body","json_metadata","beneficiaries","active_votes","replies","body_length","reblogged_by"],n={};for(var i in a.post)s.indexOf(i)>=0||(n[i]=a.post[i]);a.postGenerals=n,a.payout.old_post=new Date-new Date(e.cashout_time+"Z")>0,a.payout.old_post?(a.payout.total=(parseFloat(e.total_payout_value)+parseFloat(e.curator_payout_value)).toFixed(3)+" "+p,a.payout.author=e.total_payout_value,a.payout.curator=e.curator_payout_value):(a.payout.total=e.pending_payout_value,a.payout.total_vote_weight=e.total_vote_weight),a.payoutCard(),a.exists=!0}else console.log(t,e)})},payoutCard:function(){var t=parseFloat(this.payout.total),e=0,a=0,s=0,n=this.HARDFORK<=19;if(this.payout.old_post)e=parseFloat(this.payout.author),a=parseFloat(this.payout.curator);else{e=.75*t;var i=(a=.25*t)*(this.post.total_vote_weight-this.post.active_votes.reduce(function(t,e){return t+e.weight},0))/this.post.total_vote_weight;a-=i,n?e+=i:s=i}var o=e*this.post.beneficiaries.reduce(function(t,e){return t+parseInt(e.weight)},0)/1e4;e-=o,this.payout.card={Author:e.toFixed(3)+" "+p+" ("+(100*e/t).toFixed(2)+"%)",Curators:a.toFixed(3)+" "+p+" ("+(100*a/t).toFixed(2)+"%)",Beneficiaries:o.toFixed(3)+" "+p+" ("+(100*o/t).toFixed(2)+"%)"},s>0&&(this.payout.card.Reward_Pool=s.toFixed(3)+" "+p+" ("+(100*s/t).toFixed(2)+"%)")}}},H={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"post"},[this.exists?a("div",[a("div",{staticClass:"info1"},[t._m(0),t._v(" "),a("h3",{staticClass:"right"},[t._v("Payout: "+t._s(t.payout.total))]),t._v(" "),a("card-data",{attrs:{data:this.payout.card}}),t._v(" "),0==t.post.depth?a("div",[a("h2",[t._v("Post Info")])]):a("div",[a("h2",[t._v("Comment Info")])]),t._v(" "),a("card-data",{attrs:{data:this.postGenerals}})],1),a("div",{staticClass:"info2"},[a("h2",[a("a",{attrs:{href:"#/@"+t.post.author}},[t._v("@"+t._s(t.post.author))]),t._v(" ("+t._s(this.getReputation(t.post.author_reputation))+")")]),t._v(" "),0==t.post.depth?a("div",[a("h1",[t._v(t._s(t.post.title))])]):a("div",[a("h1",[t._v("Comment")]),t._v(" "),t.post.depth>1?a("div",[a("a",{attrs:{href:"#/@"+t.post.parent_author+"/"+t.post.parent_permlink}},[t._v("Parent Comment")])]):t._e(),t._v(" "),a("a",{attrs:{href:"#/@"+t.post.root_author+"/"+t.post.root_permlink}},[t._v("Root Post")])]),t._v(" "),a("div",{staticClass:"body break-word"},[t._v(t._s(t.post.body))]),t._v(" "),a("h2",[t._v("JSON metadata")]),t._v(" "),a("card-data",{attrs:{data:this.post.json_metadata}}),t._v(" "),a("h2",[t._v(t._s(this.post.active_votes.length)+" Votes")]),t._v(" "),a("votes",{attrs:{data:this.post.active_votes,payout:t.payout}}),t._v(" "),this.post.beneficiaries.length>0?a("div",[a("h2",[t._v("Beneficiaries")]),t._v(" "),a("beneficiaries",{attrs:{data:this.post.beneficiaries,payout:t.payout}})],1):t._e()],1)]):a("div",[a("div",{staticClass:"loader"})])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("a",{attrs:{href:"#/"}},[e("img",{attrs:{src:a("1e3k"),alt:"DREAM explogo",height:"100%",width:"100%"}})])}]};var Z=a("VU/8")(z,H,!1,function(t){a("XYcp")},"data-v-62dd3531",null).exports,J={name:"Block",data:function(){return{block:{},blockGenerals:{},exists:!1}},components:{CardData:o,Trx:B},created:function(){this.fetchData()},watch:{$route:"fetchData"},methods:{fetchData:function(){var t=this.$route.params.id;console.log("Fetching data for block "+t);var e=this;steem.api.getBlock(t,function(a,s){if(!a&&s){for(var n=0;n<s.transactions.length;n++)s.transactions[n].transaction_id||(s.transactions[n].transaction_id=s.transaction_ids[n]),s.transactions[n].block_num||(s.transactions[n].block_num=t);e.block=s;var i=["extensions","transaction_ids","transactions"],o={};for(var r in e.block)i.indexOf(r)>=0||(o[r]=e.block[r]);e.blockGenerals=o,e.exists=!0}else console.log(a,s)})}}},X={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"block"},[this.exists?a("div",[a("div",{staticClass:"info0"},[a("h1",[t._v("Block "+t._s(t.$route.params.id))])]),t._v(" "),a("div",{staticClass:"info1"},[t._m(0),t._v(" "),a("h2",[t._v("Block info")]),t._v(" "),a("card-data",{attrs:{data:this.blockGenerals}})],1),a("div",{staticClass:"info2"},[a("h2",[t._v(t._s(t.block.transactions.length)+" Transactions")]),t._v(" "),t._l(t.block.transactions,function(t,e,s){return a("div",[a("trx",{attrs:{tx:t}})],1)})],2)]):a("div",[a("div",{staticClass:"loader"})])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("a",{attrs:{href:"#/"}},[e("img",{attrs:{src:a("1e3k"),alt:"DREAM explogo",height:"100%",width:"100%"}})])}]};var Q=a("VU/8")(J,X,!1,function(t){a("6n7F")},"data-v-58f5e8f4",null).exports,K={name:"Transaction",data:function(){return{block:{},tx:{},exists:!1}},components:{CardData:o,Trx:B},created:function(){this.fetchData()},watch:{$route:"fetchData"},methods:{fetchData:function(){var t=this.$route.params.id;console.log("Fetching data for block "+t);var e=this;steem.api.getBlock(t,function(t,a){if(!t&&a&&0!=a.length){for(var s=0;s<a.transactions.length;s++)a.transactions[s].transaction_id||(a.transactions[s].transaction_id=a.transaction_ids[s]);e.block=a;var n=e.block.transaction_ids.indexOf(e.$route.params.tx);e.tx=n>=0?e.block.transactions[n]:{},e.exists=!0}else console.log(t,a)})}}},tt={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"transaction"},[this.exists?a("div",[a("div",{staticClass:"info0"},[a("h1",[t._v("Transaction")]),t._v(" "),a("h2",[t._v(t._s(t.$route.params.tx))]),t._v(" "),a("trx",{attrs:{tx:t.tx}}),t._v(" "),a("h2",[t._v("Raw")]),t._v(" "),a("card-data",{attrs:{data:t.tx}})],1)]):a("div",[a("div",{staticClass:"loader"})])])},staticRenderFns:[]};var et=a("VU/8")(K,tt,!1,function(t){a("vre7")},"data-v-06ea6eca",null).exports,at=a("nrd6"),st=a.n(at),nt=(a("EYnv"),a("2cUx")),it=a.n(nt),ot=a("IDRC"),rt=a.n(ot),ct=a("ZSwU"),lt=a.n(ct),_t=a("mtWM"),pt=a.n(_t),ut=a("jpY5"),ht=a.n(ut),dt={name:"Map",data:function(){return{witnesses:[],map:{},ints:{},lastBlocks:[],schedule:[],last_block_num:0,last_witness:"",current_location:"",current_witness:"",first_time:!0}},mounted:function(){this.fetchWitnesses(),this.fetchState(),this.ints.blocks=setInterval(this.fetchBlocks,3e3),this.ints.state=setInterval(this.fetchState,12e3)},beforeDestroy:function(){clearInterval(this.ints.blocks),clearInterval(this.ints.state)},methods:{setMarkerColor:function(t,e){var a=st.a.Icon.extend({options:{iconSize:[12,12]}}),s=null,n=0;switch(e){case"blue":s=new a({iconUrl:lt.a}),n=500;break;case"red":s=new a({iconUrl:rt.a}),n=0;break;case"green":s=new a({iconUrl:it.a}),n=1e3;break;default:s=new a({iconUrl:rt.a})}null!=this.witnesses[t].marker?(this.witnesses[t].marker.setIcon(s),this.witnesses[t].marker.setZIndexOffset(n),this.current_location=""):(console.log("@"+this.witnesses[t].owner+" is "+e+", but he does not have a marker"),this.current_location="(Unknown location)")},fetchWitnesses:function(){var t=this;this.map=st.a.map("map").setView(x.INI_POS,x.INI_ZOOM),st.a.tileLayer("https://cartodb-basemaps-{s}.global.ssl.fastly.net/dark_all/{z}/{x}/{y}.png",{attribution:'&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'}).addTo(t.map),this.witnesses=ht.a,this.witnesses.forEach(function(e){var a=new(st.a.Icon.extend({options:{iconSize:[12,12]}}))({iconUrl:rt.a});null!=e.latlong[0]&&null!=e.latlong[1]?e.marker=st.a.marker(e.latlong,{icon:a}).bindPopup(e.owner).addTo(t.map):e.marker=null}),steem.api.getWitnessesByVote("",x.TOP_WITNESSES,function(e,a){if(!e&&a){var s=[];a.forEach(function(e){s.push(e.owner);var a=t.witnesses.findIndex(function(t){return t.owner==e.owner});a>=0?(t.witnesses[a].id=e.id,t.witnesses[a].location=""):t.witnesses.push({owner:e.owner,status:"offline",latlong:[null,null],location:""})}),steem.api.getAccounts(s,function(e,a){!e&&a||console.log("error loading witness accounts, try again"),a.forEach(function(e){var a;try{a=JSON.parse(e.json_metadata)}catch(t){a=null}var s=t.witnesses.findIndex(function(t){return t.owner==e.name});a&&a.profile&&a.profile.location&&(t.witnesses[s].location=a.profile.location)}),t.witnesses.forEach(function(e){if(""!=e.location){var a=new URLSearchParams;a.append("format","json"),a.append("limit","1"),a.append("q",e.location);var s="https://nominatim.openstreetmap.org/search?"+a.toString();pt.a.get(s).then(function(a){if(a.data.length>0){var s=a.data[0];if(null==s.lat||null==s.lon||"city"!=s.type&&"country"!=s.type&&"island"!=s.type&&"administrative"!=s.type)e.marker&&null!=e.marker?console.log('The site "'+e.location+'" is not a valid location. (@'+e.owner+"). Point taken from seednodes"):(e.marker=null,console.log('The site "'+e.location+'" is not a valid location. (@'+e.owner+")"));else{e.latlong=[parseFloat(s.lat)+.05*Math.random()-.025,parseFloat(s.lon)+.05*Math.random()-.025];var n=new(st.a.Icon.extend({options:{iconSize:[12,12]}}))({iconUrl:rt.a});e.marker=st.a.marker(e.latlong,{icon:n}).bindPopup(e.owner).addTo(t.map)}}else console.log('There is no response for location: "'+e.location+'". (@'+e.owner+")")}).catch(function(t){console.log(t)})}else null==e.latlong[0]||null==e.latlong[1]?console.log("@"+e.owner+" does not have a location"):console.log("@"+e.owner+" location taken from seed node")})})}else console.log("error loading witnesses, try again")})},fetchBlocks:function(){if(0!=this.last_block_num){var t={};t=this.lastBlocks.length>0?this.lastBlocks[0]:{block_num:this.last_block_num-5,timestamp_milis:(new Date).getTime(),time_ago:"",loaded:!1};for(var e=this.last_block_num-t.block_num,a=[],s=1;s<=e;s++)a.push(this.last_block_num-e+s);this.last_block_num++;var n=this;a.forEach(function(e){var a={block_num:e,timestamp_milis:t.timestamp_milis+3e3*(e-t.block_num),time_ago:"",size_txs:0,size_posts:0,witness:"",loaded:!1};n.lastBlocks.unshift(a),n.lastBlocks.length>5&&n.lastBlocks.pop(),steem.api.getBlock(e,function(t,s){if(!t&&s){a.size_txs=s.transactions.length,a.size_posts=s.transactions.filter(function(t){return"comment"==t.operations[0][0]&&""==t.operations[0][1].parent_author}).length,a.timestamp_milis=new Date(s.timestamp+"Z").getTime(),a.witness=s.witness,a.loaded=!0;var i=n.lastBlocks.findIndex(function(t){return t.block_num==e});if(i>=0&&(n.$set(n.lastBlocks,i,a),0==i)){a.witness==n.schedule[0]&&n.schedule.shift();var o=n.witnesses.findIndex(function(t){return t.owner==n.last_witness});o>=0&&n.setMarkerColor(o,"blue"),console.log("Block "+e+" by @"+a.witness),n.current_witness=a.witness,(o=n.witnesses.findIndex(function(t){return t.owner==a.witness}))>=0?(n.setMarkerColor(o,"green"),n.last_witness=a.witness):(console.log("Witness @"+a.witness+" is not in the list. Adding him to the map"),n.current_location="(Unknown location)",steem.api.getAccounts([a.witness],function(t,e){if(!t&&e&&0!=e.length){var s,i=e[0],o="";try{(s=JSON.parse(i.json_metadata))&&s.profile&&s.profile.location&&(o=s.profile.location)}catch(t){s=null}if(n.witnesses.push({owner:i.name,status:"offline",latlong:[null,null],location:o}),""!=o){var r=new URLSearchParams;r.append("format","json"),r.append("limit","1"),r.append("q",o);var c="https://nominatim.openstreetmap.org/search?"+r.toString();pt.a.get(c).then(function(t){if(t.data.length>0){var e=t.data[0],a=n.witnesses.findIndex(function(t){return t.owner==i.name});if(null==e.lat||null==e.lon||"city"!=e.type&&"country"!=e.type&&"island"!=e.type&&"administrative"!=e.type)n.witnesses[a].marker=null,console.log('The site "'+o+'" is not a valid location. (@'+i.name+")");else{var s=[parseFloat(e.lat)+.05*Math.random()-.025,parseFloat(e.lon)+.05*Math.random()-.025],r=new(st.a.Icon.extend({options:{iconSize:[12,12]}}))({iconUrl:it.a});n.witnesses[a].marker=st.a.marker(s,{icon:r}).bindPopup(i.name).addTo(n.map),n.last_witness=i.name,console.log("@"+i.name+" added to the map. Location: "+o)}}else console.log('There is no response for location: "'+o+'". (@'+i.name+")")}).catch(function(t){console.log(t)})}else console.log("@"+i.name+" does not have a location")}else console.log("error loading witness @"+a.witness+" from the blockchain")}))}}else console.log(t,s)})})}},fetchState:function(){var t=this;steem.api.getState("",function(e,a){if(!e&&a)if(t.first_time&&(t.last_block_num=a.props.head_block_number),t.first_time=!1,0!=t.schedule.length){var s="";t.lastBlocks.length>0&&(s=t.lastBlocks[0].witness);var n=a.witness_schedule.current_shuffled_witnesses,i=n.indexOf(s);if(-1!=i){for(var o=i+1;o<n.length;o++)t.$set(t.schedule,o-i-1,n[o]);for(o=0;o<i;o++)t.$set(t.schedule,n.length-i-1+o,n[o]);t.$set(t.schedule,n.length-1,n[i])}}else t.schedule=a.witness_schedule.current_shuffled_witnesses;else console.log(e,a)})},zoomUpdate:function(t){this.currentZoom=t},centerUpdate:function(t){this.currentCenter=t},showLongText:function(){this.showParagraph=!this.showParagraph},popupClick:function(){alert("Popup Click!")}}},vt={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[t._m(0),t._v(" "),s("div",{staticClass:"map"},[s("div",{attrs:{id:"map"}}),t._v(" "),s("div",{staticClass:"last-witness"},[t.lastBlocks.length>0?s("div",[t._v("\n\t      Current Witness: "),s("a",{attrs:{href:"#/@"+t.current_witness}},[t._v(t._s(t.current_witness))]),t._v(" "+t._s(t.current_location)+"\n\t\t")]):t._e()])]),s("div",{staticClass:"info-block"},[s("center",[s("a",{attrs:{href:"#/"}},[s("img",{attrs:{src:a("1e3k"),alt:"DREAM explogo",height:"50%",width:"50%"}})])])],1),s("div",{staticClass:"info-block"},[t.lastBlocks.length>0?s("div",[s("div",{staticClass:"last-blocks"},[s("transition-group",{staticClass:"block-group",attrs:{name:"list-blocks",tag:"div"}},t._l(t.lastBlocks,function(e,a,n){return s("div",{key:e.block_num,staticClass:"list-blocks-item"},[s("div",{staticClass:"block-left"},[s("a",{attrs:{href:"#/b/"+e.block_num}},[t._v(t._s(e.block_num))]),t._v(" "),e.loaded?s("span",[t._v("\n                  - "+t._s(e.size_txs)+" transactions\n                  "),e.size_posts>0?s("span",[t._v("\n                    ("+t._s(e.size_posts)+" posts)\n                  ")]):t._e()]):s("span",[t._v("\n                  loading...\n                ")])]),s("div",{staticClass:"block-right"},[s("span",{staticClass:"small"},[t._v("witness")]),s("br"),s("a",{attrs:{href:"#/@"+e.witness}},[t._v(t._s(e.witness))])])])}))],1)]):s("div",[s("div",{staticClass:"loader"})])])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"info0"},[e("h1",[this._v("Witnesses Monitor Map")])])}]};var mt=a("VU/8")(dt,vt,!1,function(t){a("lNqQ")},"data-v-05c6af3e",null).exports;steem.api.setOptions(v),s.a.use(_.a);var ft=new _.a({routes:[{path:"/",name:"Home",component:I},{path:"/@:account",name:"Account",component:P},{path:"/@:account/votes",name:"AccountVotes",component:N},{path:"/@:account/transfer",name:"AccountTransfer",component:G},{path:"/@:account/:permlink",name:"Post",component:Z},{path:"/b/:id",name:"Block",component:Q},{path:"/b/:id/:tx",name:"Transaction",component:et},{path:"/witnesses/map",name:"Map",component:mt}]}),gt={data:function(){return{chain:{feed_price:-1,steem_per_mvests:0,reward_balance:0,recent_claims:1,sbd_per_rshare:0,steem_per_rshare:0},STEEM_SYMBOL:u,SBD_SYMBOL:p,VESTS_SYMBOL:d,SP_SYMBOL:h,STEEM_SBD_START_PERCENT:k,STEEM_SBD_STOP_PERCENT:y}},created:function(){this.getChainProperties()},methods:{changeFeedPrice:function(t){},updateRS:function(){this.chain.steem_per_rshare=this.chain.reward_balance/this.chain.recent_claims,this.chain.sbd_per_rshare=this.chain.steem_per_rshare*this.chain.feed_price},getChainProperties:function(){var t=this;steem.api.getRewardFund("post",function(e,a){!e&&a?(t.chain.reward_balance=parseFloat(a.reward_balance),t.chain.recent_claims=parseInt(a.recent_claims),t.updateRS()):console.log(e,a)}),steem.api.getDynamicGlobalProperties(function(e,a){!e&&a?t.chain.steem_per_mvests=1e6*parseFloat(a.total_vesting_fund_steem)/parseFloat(a.total_vesting_shares):console.log(e,a)}),steem.api.getCurrentMedianHistoryPrice(function(e,a){!e&&a?(t.chain.feed_price=parseFloat(a.base)/parseFloat(a.quote),t.updateRS(),t.changeFeedPrice(t.chain.feed_price)):console.log(e,a)})},vests2sp:function(t){return(this.chain.steem_per_mvests*parseFloat(t)/1e6).toFixed(3)+" "+h}}};a("1e3k");s.a.config.productionTip=!1,s.a.mixin(gt),new s.a({el:"#app",router:ft,components:{App:l},template:"<App/>"})},XYcp:function(t,e){},ZSwU:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAACswAAArMBLchPQwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAHbSURBVDiNpZS/axRREMfn7tZDVAiEpBATwR+IYBEwVrEUC6vb41isbayVBAUrO7lo638huhdt7VO4/gCTa6I2MQcn0SLgvpl933kWuYXdvc3l7nywvOE7zOd9ebNvKlSygsDVAWmqSkNVrgO8oCoEyK6qfAQ47PdPhltb16RYWykKrZZtOSfrgFwcQCi7Z+Jv1iaPNjdvvy4FBoGrOZe0AVkdARnSAHkRRV8fEz1VIqJqCgS4ba1ZtdYQkP9SLZvLxGtLS+ef5Rz6/t+Wc/JqHEflGpOqNLvdh2ElCFyd+c+2qlwaLuAhyNEHJD/qdXPVi+NfTeeSEtikLuXCwQE3PED8geWxISNcNjzVeHn8gmO1G5615uw0kEwzMhqf8wBTFP/HpXpAvAfIleld5hzvedaaSDUPnK4hQs7Jh6q1JjzuNUzwejqeau8NcHpHVS6P54SPyn1n/r1R6/Xe6dzcnZ+qfPewIUzpno1HaQATYO4592W7RkTU77/tzs7eOqPKK5NA0pwqt4HoJRFRLZ0S+/sr72dmcArgm5O5NOvApydE5EoH7OLiAx9IngP5Oy3eJZDsALJG9LkzcmIfrvsn5udj31ppqMqyqiwMfvhdQCJVDoFqhyhKipX/AMUwGxMAS821AAAAAElFTkSuQmCC"},aSSI:function(t,e){},jpY5:function(t,e){t.exports=[{owner:"initdreamer",url:"http://dev.rockdio.org:3331",country:"France",city:"Paris",latlong:[48.8682,2.3287],latlong_original:[48.8582,2.3387],ip:"163.172.25.72",status:"online"}]},lNqQ:function(t,e){},oPWH:function(t,e){},sATD:function(t,e){},sfRn:function(t,e){},vre7:function(t,e){}},["NHnr"]);
  //# sourceMappingURL=app.83839893354ce9965fe4.js.map