"use strict";(self["webpackChunkstarchart"]=self["webpackChunkstarchart"]||[]).push([[235],{5235:function(a,e,o){o.r(e),o.d(e,{default:function(){return w}});o(7658);var c=o(3396),s=o(9242),r=o(4870),l=o(2752),t=o(3824);const i=a=>((0,c.dD)("data-v-62abad9e"),a=a(),(0,c.Cn)(),a),n={class:"discover"},u=i((()=>(0,c._)("label",{for:"planet-color"},"pick a color",-1))),d=i((()=>(0,c._)("p",{class:"disclaimer"},"(discovered stars will show up for everyone)",-1)));var v=(0,c.aZ)({__name:"DiscoverView",setup(a){const e=(0,l.g)(),o=(0,r.iH)("#aaf0d1");async function i(){await e.discover(o.value),console.log(o.value),t.Z.push(`/visit/${e.visiting?.core.id}`)}return(a,e)=>((0,c.wg)(),(0,c.iD)("div",n,[u,(0,c.wy)((0,c._)("input",{type:"color",id:"planet-color","onUpdate:modelValue":e[0]||(e[0]=a=>o.value=a),class:"colorpicker"},null,512),[[s.nr,o.value]]),(0,c._)("button",{onClick:e[1]||(e[1]=a=>i())},"discover!"),d]))}}),p=o(89);const f=(0,p.Z)(v,[["__scopeId","data-v-62abad9e"]]);var w=f}}]);
//# sourceMappingURL=235.823dba86.js.map