lbry.tech/dist/static/js/app.112b506f3fb5c20ed387.js

2 lines
13 KiB
JavaScript
Raw Normal View History

2018-03-28 16:26:59 +02:00
webpackJsonp([1],{0:function(t,e){},"0XVh":function(t,e){},"7P5P":function(t,e){},"7zck":function(t,e){},NHnr:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("7+uW"),i={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-app",[a("v-navigation-drawer",{attrs:{clipped:"",app:""},model:{value:t.drawer,callback:function(e){t.drawer=e},expression:"drawer"}},[a("v-list",{attrs:{dense:""}},[a("v-list-tile",[a("v-list-tile-content",[a("v-list-tile-title",[t._v("Link 1")])],1)],1),t._v(" "),a("v-list-tile",[a("v-list-tile-content",[a("v-list-tile-title",[t._v("Link 2")])],1)],1)],1)],1),t._v(" "),a("v-toolbar",{attrs:{"clipped-left":"",app:""}},[a("v-toolbar-side-icon",{on:{click:function(e){e.stopPropagation(),t.drawer=!t.drawer}}}),t._v(" "),a("v-toolbar-title",{staticClass:"mr-5 align-center"},[a("span",{staticClass:"title"},[t._v("LBRY.tech")])]),t._v(" "),a("v-spacer"),t._v(" "),a("v-toolbar-items",{staticClass:"hidden-sm-and-down"},[a("v-btn",{attrs:{flat:""}},[t._v("Link One")]),t._v(" "),a("v-btn",{attrs:{flat:""}},[t._v("Link Two")]),t._v(" "),a("v-btn",{attrs:{flat:""}},[t._v("Link Three")])],1)],1),t._v(" "),a("v-content",[a("router-view")],1)],1)},staticRenderFns:[]};var n=a("VU/8")({data:function(){return{drawer:!0}},name:"App"},i,!1,function(t){a("jUOZ")},null,null).exports,o=a("/ocq"),r=new s.default,l={data:function(){return{uploadDialog:!1,txhash:"",confirmed:!1}},watch:{uploadDialog:function(){var t=this;this.uploadDialog&&setTimeout(function(){t.confirmed=!0},1e4)}},created:function(){var t=this;r.$on("file-uploaded",function(e){t.txhash=e,t.uploadDialog=!0})},name:"Hook"},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-container",{attrs:{fluid:"","grid-list-md":"","text-xs-center":"",id:"hook"}},[a("v-layout",{attrs:{row:"",wrap:"",id:"hook-navigation"}},[a("v-flex",{attrs:{xs4:""}},[a("router-link",{attrs:{exact:"",to:"/"}},[a("v-btn",{attrs:{color:"grey",fab:""}},[t._v("1")]),t._v("\n Resolve a claim\n ")],1)],1),t._v(" "),a("v-flex",{attrs:{xs4:""}},[a("router-link",{attrs:{to:"/step-2"}},[a("v-btn",{attrs:{color:"grey",fab:""}},[t._v("2")]),t._v("\n Publish content\n ")],1)],1),t._v(" "),a("v-flex",{attrs:{xs4:""}},[a("router-link",{attrs:{to:"/step-3"}},[a("v-btn",{attrs:{color:"grey",fab:""}},[t._v("3")]),t._v("\n Support with LBC\n ")],1)],1)],1),t._v(" "),a("router-view"),t._v(" "),a("v-dialog",{attrs:{"hide-overlay":"",persistent:"",width:"30rem"},model:{value:t.uploadDialog,callback:function(e){t.uploadDialog=e},expression:"uploadDialog"}},[a("v-card",[t.confirmed?[a("v-card-title",{staticClass:"headline"},[t._v("Your image has been published!")]),t._v(" "),a("v-card-text",[a("a",{attrs:{href:"https://explorer.lbry.io/tx/"+t.txhash,target:"_blank"}},[t._v("Check out your content on the LBRY blockchain explorer")])]),t._v(" "),a("v-card-actions",[a("v-btn",{attrs:{flat:""},on:{click:function(e){t.uploadDialog=!1}}},[t._v("Dismiss this dialog")])],1)]:[a("v-card-title",{staticClass:"headline"},[a("v-progress-circular",{attrs:{indeterminate:"",color:"primary"}}),t._v(" Waiting for confirmations...")],1),t._v(" "),a("v-card-text",[t._v("Your image was uploaded to the LBRY network but we are currently waiting for the first confirmation. This should take just a few minutes. In the mean time, go ahead and try the other steps!")])]],2)],1)],1)},staticRenderFns:[]};var d={components:{hook:a("VU/8")(l,c,!1,function(t){a("7P5P")},null,null).exports},data:function(){return{}},name:"Home"},v={render:function(){var t=this.$createElement;return(this._self._c||t)("hook")},staticRenderFns:[]};var u=a("VU/8")(d,v,!1,function(t){a("0XVh")},null,null).exports,p=a("mvHQ"),m=a.n(p),h={data:function(){return{address:"Claim goes here",jsonData:"",isLoading:!1,exampleCode:""}},methods:{fetchMetadata:function(){var t=this;t.jsonData="",t.isLoading=!0,t.exampleCode='# Example code using the daemon\ncurl \'http://localhost:5279\' --data \'{"method":"resolve","params":{"uri":"'+this.address+"\"}}'",t
//# sourceMappingURL=app.112b506f3fb5c20ed387.js.map