diff --git a/index.6af73a2a.js b/index.6af73a2a.js deleted file mode 100644 index 2215557..0000000 --- a/index.6af73a2a.js +++ /dev/null @@ -1,2 +0,0 @@ -function e(e){return e&&e.__esModule?e.default:e}var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},a={},o={},l=t.parcelRequire31ee;null==l&&((l=function(e){if(e in a)return a[e].exports;if(e in o){var t=o[e];delete o[e];var l={id:e,exports:{}};return a[e]=l,t.call(l.exports,l,l.exports),l.exports}var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}).register=function(e,t){o[e]=t},t.parcelRequire31ee=l);var n=l("8JYDX"),i=l("dZENK"),s=l("F1Hgz"),r=l("lsWS8"),d=l("dgphM"),c=l("dcZZ4"),u=(r=l("lsWS8"),l("mDWTX"));const g=async()=>{if(!await(0,r.hasPrivateKey)())return await(0,u.confirmYesNo)("Notes is an experimental feature using an open developed protocol called NOSTR. Continue?")?void e(c).fire({text:"Great. Browse map to see other people's notes and right click (or long press on mobile) to add your own note. "}):(await e(c).fire({text:"This will become more user friendly in the future. Feel free to come back anytime. Now we'll take you back to the main trustroots site."}),void(globalThis.location.href="http://www.trustroots.org/search"))};var y=l("jktzu");(async()=>{const e=await(0,r.hasPrivateKey)();document.getElementById("help").onclick=e=>{e.preventDefault(),(0,i.hackSidePanelOpen)()};const t=document.getElementById("build-id");null!==t&&(t.textContent="95bee782e55ef96254be99ccd4e055ac47e272c2");const a=n.DomUtil.get("loggedIn"),o=n.DomUtil.get("loggedOut");if(e){n.DomUtil.addClass(a,"show"),n.DomUtil.addClass(o,"hide");document.getElementById("signout").onclick=async()=>{await(0,r.unsetPrivateKey)(),globalThis.location.reload()};await(0,r.getPublicKey)();const e=await(0,r.getNpubPublicKey)(),t=await(0,r.getNsecPrivateKey)();globalThis.document.getElementById("npubPublicKey").innerText=e;globalThis.document.getElementById("nsecPrivateKey").innerText=t}else{n.DomUtil.addClass(a,"hide"),n.DomUtil.addClass(o,"show");document.getElementById("signup").onclick=()=>{(0,d.startUserOnboarding)(),(0,i.hackSidePanelClosed)()}}const l=document.getElementById("relays"),c=await(0,s.getRelays)(),u=JSON.stringify(c);l.value=u;const m=document.getElementById("relays_submit");m.onclick=async e=>{e.preventDefault(),m.setAttribute("disabled","disabled");const t=l.value;try{const e=JSON.parse(t);if(!Array.isArray(e))return m.removeAttribute("disabled"),void globalThis.alert("Invalid relays submitted. Please try again.");const a=0===e.length?(0,y.getDefaultRelays)():e;await(0,s.setRelays)({relays:a}),globalThis.alert("Relays saved."),globalThis.document.location.reload()}catch(e){m.removeAttribute("disabled"),globalThis.alert(`#vRuf1N Error saving relays\n${e.toString()}`)}},g()})(); -//# sourceMappingURL=index.6af73a2a.js.map diff --git a/index.6af73a2a.js.map b/index.6af73a2a.js.map deleted file mode 100644 index 9d49f12..0000000 --- a/index.6af73a2a.js.map +++ /dev/null @@ -1 +0,0 @@ -{"mappings":"qhBAAA,IAAAA,EAAAC,EAAA,S,oDCAAC,EAAAD,EAAA,S,4BAIO,MAAME,EAAuBC,UAElC,UADyB,EAAAC,EAAAC,iBAKzB,aACU,EAAAC,EAAAC,cACN,kGAUJC,EAAAP,GAAKQ,KAAK,CACRC,KAAM,0HARAF,EAAAP,GAAKQ,KAAK,CACdC,KAAM,iJAERC,WAAWC,SAASC,KAAO,oCAM7B,E,iBDLqBV,WACrB,MAAMW,QAAmB,EAAAV,EAAAC,iBAERU,SAASC,eAAe,QAChCC,QAAWC,IAClBA,EAAMC,kBACN,EAAAC,EAAAC,oBAAgB,EAGlB,MAAMC,EAAcP,SAASC,eAAe,YACxB,OAAhBM,IACFA,EAAYC,YAAW,4CAGzB,MAAMC,EAAWzB,EAAA0B,QAAUC,IAAI,YACzBC,EAAY5B,EAAA0B,QAAUC,IAAI,aAEhC,GAAIZ,EAAY,CACdf,EAAA0B,QAAUG,SAASJ,EAAU,QAC7BzB,EAAA0B,QAAUG,SAASD,EAAW,QAERZ,SAASC,eAAe,WAChCC,QAAUd,gBAChB,EAAAC,EAAAyB,mBACNlB,WAAWC,SAASkB,QAAM,QAGJ,EAAA1B,EAAA2B,gBAAxB,MACMC,QAAsB,EAAA5B,EAAA6B,oBACtBC,QAAuB,EAAA9B,EAAA+B,qBAEPxB,WAAWI,SAASC,eAAe,iBAC3CoB,UAAYJ,EAExBrB,WAAWI,SAASC,eAAe,kBAClBoB,UAAYF,CACjC,KAAO,CACLnC,EAAA0B,QAAUG,SAASJ,EAAU,QAC7BzB,EAAA0B,QAAUG,SAASD,EAAW,QAETZ,SAASC,eAAe,UAChCC,QAAU,MACrB,EAAAoB,EAAAC,wBACA,EAAAlB,EAAAmB,sBAAkB,CAEtB,CAEA,MAAMC,EAAczB,SAASC,eAAe,UACtCyB,QAAe,EAAAC,EAAAC,aACfC,EAAaC,KAAKC,UAAUL,GAClCD,EAAYO,MAAQH,EAEpB,MAAMI,EAAoBjC,SAASC,eAAe,iBAClDgC,EAAkB/B,QAAUd,MAAOe,IACjCA,EAAMC,iBACN6B,EAAkBC,aAAa,WAAY,YAE3C,MAAML,EAAaJ,EAAYO,MAC/B,IACE,MAAMG,EAAiBL,KAAKM,MAAMP,GAClC,IAAKQ,MAAMC,QAAQH,GAGjB,OAFAF,EAAkBM,gBAAgB,iBAClC3C,WAAW4C,MAAM,+CAGnB,MAAMd,EACsB,IAA1BS,EAAeM,QAAe,EAAAC,EAAAC,oBAAqBR,QAC/C,EAAAR,EAAAiB,WAAU,C,OAAElB,IAClB9B,WAAW4C,MAAM,iBACjB5C,WAAWI,SAASH,SAASkB,QAI/B,CAHE,MAAO8B,GACPZ,EAAkBM,gBAAgB,YAClC3C,WAAW4C,MAAM,gCAAgCK,EAAMC,aACzD,GAGF3D,GAAmB,EAErB4D","sources":["src/startup.ts","src/welcome.ts"],"sourcesContent":["import * as L from \"leaflet\";\nimport { DEFAULT_RELAYS } from \"./constants\";\nimport { hackSidePanelClosed, hackSidePanelOpen } from \"./map\";\nimport { getRelays, setRelays } from \"./nostr\";\nimport {\n getNpubPublicKey,\n getNsecPrivateKey,\n getPublicKey,\n hasPrivateKey,\n unsetPrivateKey,\n} from \"./nostr/keys\";\nimport { startUserOnboarding } from \"./onboarding\";\nimport { startWelcomeSequence } from \"./welcome\";\nimport { getDefaultRelays } from \"./nostr/relays\";\n\n// This is supported by parcel, our build system, but not recognised by\n// typescript, so we declare it here so that we can use it below.\ndeclare const process;\n\nexport const startup = async () => {\n const isLoggedIn = await hasPrivateKey();\n\n const helpLink = document.getElementById(\"help\")!;\n helpLink.onclick = (event) => {\n event.preventDefault();\n hackSidePanelOpen();\n };\n\n const buildIdSpan = document.getElementById(\"build-id\");\n if (buildIdSpan !== null) {\n buildIdSpan.textContent = process.env.GITHUB_SHA || \"dev\";\n }\n\n const loggedIn = L.DomUtil.get(\"loggedIn\")!;\n const loggedOut = L.DomUtil.get(\"loggedOut\")!;\n\n if (isLoggedIn) {\n L.DomUtil.addClass(loggedIn, \"show\");\n L.DomUtil.addClass(loggedOut, \"hide\");\n\n const signoutButton = document.getElementById(\"signout\")!;\n signoutButton.onclick = async () => {\n await unsetPrivateKey();\n globalThis.location.reload();\n };\n\n const publicKey = await getPublicKey();\n const npubPublicKey = await getNpubPublicKey();\n const nsecPrivateKey = await getNsecPrivateKey();\n\n const publicKeyCode = globalThis.document.getElementById(\"npubPublicKey\")!;\n publicKeyCode.innerText = npubPublicKey;\n const nsecPrivateKeyCode =\n globalThis.document.getElementById(\"nsecPrivateKey\")!;\n nsecPrivateKeyCode.innerText = nsecPrivateKey;\n } else {\n L.DomUtil.addClass(loggedIn, \"hide\");\n L.DomUtil.addClass(loggedOut, \"show\");\n\n const signupButton = document.getElementById(\"signup\")!;\n signupButton.onclick = () => {\n startUserOnboarding();\n hackSidePanelClosed();\n };\n }\n\n const relaysInput = document.getElementById(\"relays\") as HTMLInputElement;\n const relays = await getRelays();\n const relaysJson = JSON.stringify(relays);\n relaysInput.value = relaysJson;\n\n const relaySubmitButton = document.getElementById(\"relays_submit\")!;\n relaySubmitButton.onclick = async (event) => {\n event.preventDefault();\n relaySubmitButton.setAttribute(\"disabled\", \"disabled\");\n\n const relaysJson = relaysInput.value;\n try {\n const relaysFromJson = JSON.parse(relaysJson) as string[];\n if (!Array.isArray(relaysFromJson)) {\n relaySubmitButton.removeAttribute(\"disabled\");\n globalThis.alert(\"Invalid relays submitted. Please try again.\");\n return;\n }\n const relays =\n relaysFromJson.length === 0 ? getDefaultRelays() : relaysFromJson;\n await setRelays({ relays });\n globalThis.alert(\"Relays saved.\");\n globalThis.document.location.reload();\n } catch (error) {\n relaySubmitButton.removeAttribute(\"disabled\");\n globalThis.alert(`#vRuf1N Error saving relays\\n${error.toString()}`);\n }\n };\n\n startWelcomeSequence();\n};\nstartup();\n","import Swal from \"sweetalert2\";\nimport { hasPrivateKey } from \"./nostr/keys\";\nimport { confirmYesNo } from \"./utils\";\n\nexport const startWelcomeSequence = async () => {\n const isLoggedIn = await hasPrivateKey();\n if (isLoggedIn) {\n return;\n }\n\n if (\n !(await confirmYesNo(\n `Notes is an experimental feature using an open developed protocol called NOSTR. Continue?`\n ))\n ) {\n await Swal.fire({\n text: `This will become more user friendly in the future. Feel free to come back anytime. Now we'll take you back to the main trustroots site.`,\n });\n globalThis.location.href = `http://www.trustroots.org/search`;\n return;\n }\n\n Swal.fire({\n text: `Great. Browse map to see other people's notes and right click (or long press on mobile) to add your own note. `,\n });\n};\n"],"names":["$8JYDX","parcelRequire","$dcZZ4","$5671e7ef3fae0719$export$f3af3953777865d","async","$lsWS8","hasPrivateKey","$mDWTX","confirmYesNo","$parcel$interopDefault","fire","text","globalThis","location","href","isLoggedIn","document","getElementById","onclick","event","preventDefault","$dZENK","hackSidePanelOpen","buildIdSpan","textContent","loggedIn","DomUtil","get","loggedOut","addClass","unsetPrivateKey","reload","getPublicKey","npubPublicKey","getNpubPublicKey","nsecPrivateKey","getNsecPrivateKey","innerText","$dgphM","startUserOnboarding","hackSidePanelClosed","relaysInput","relays","$F1Hgz","getRelays","relaysJson","JSON","stringify","value","relaySubmitButton","setAttribute","relaysFromJson","parse","Array","isArray","removeAttribute","alert","length","$jktzu","getDefaultRelays","setRelays","error","toString","$c68123b027adfc04$export$26a1f54597e2915b"],"version":3,"file":"index.6af73a2a.js.map"} \ No newline at end of file diff --git a/index.96859384.js b/index.96859384.js new file mode 100644 index 0000000..f3b26a3 --- /dev/null +++ b/index.96859384.js @@ -0,0 +1,2 @@ +function e(e){return e&&e.__esModule?e.default:e}var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},a={},l={},o=t.parcelRequire31ee;null==o&&((o=function(e){if(e in a)return a[e].exports;if(e in l){var t=l[e];delete l[e];var o={id:e,exports:{}};return a[e]=o,t.call(o.exports,o,o.exports),o.exports}var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}).register=function(e,t){l[e]=t},t.parcelRequire31ee=o);var n=o("8JYDX"),i=o("dZENK"),r=o("F1Hgz"),s=o("lsWS8"),d=o("dgphM"),c=o("dcZZ4"),u=(s=o("lsWS8"),o("mDWTX"));const g=async()=>{if(!await(0,s.hasPrivateKey)())return await(0,u.confirmYesNo)("Notes is an experimental feature using an open developed protocol called NOSTR. Continue?")?void e(c).fire({text:"Great. Browse map to see other people's notes and right click (or long press on mobile) to add your own note. "}):(await e(c).fire({text:"This will become more user friendly in the future. Feel free to come back anytime. Now we'll take you back to the main trustroots site."}),void(globalThis.location.href="http://www.trustroots.org/search"))};var m=o("jktzu");(async()=>{const e=await(0,s.hasPrivateKey)();document.getElementById("help").onclick=e=>{e.preventDefault(),(0,i.hackSidePanelOpen)()};const t=document.getElementById("build-id");null!==t&&(t.textContent="0b4f1c8a527c455c6732d5225e82da25103c5c7a");const a=n.DomUtil.get("loggedIn"),l=n.DomUtil.get("loggedOut");if(e){n.DomUtil.addClass(a,"show"),n.DomUtil.addClass(l,"hide");document.getElementById("signout").onclick=async()=>{await(0,s.unsetPrivateKey)(),globalThis.location.reload()};await(0,s.getPublicKey)();const e=await(0,s.getNpubPublicKey)(),t=await(0,s.getNsecPrivateKey)(),o=globalThis.document.getElementById("npubPublicKey"),i=document.createElement("a");i.href=`https://njump.me/${e}`,i.target="_blank",i.innerText=e,o.appendChild(i);globalThis.document.getElementById("nsecPrivateKey").innerText=t}else{n.DomUtil.addClass(a,"hide"),n.DomUtil.addClass(l,"show");document.getElementById("signup").onclick=()=>{(0,d.startUserOnboarding)(),(0,i.hackSidePanelClosed)()}}const o=document.getElementById("relays"),c=await(0,r.getRelays)(),u=JSON.stringify(c);o.value=u;const y=document.getElementById("relays_submit");y.onclick=async e=>{e.preventDefault(),y.setAttribute("disabled","disabled");const t=o.value;try{const e=JSON.parse(t);if(!Array.isArray(e))return y.removeAttribute("disabled"),void globalThis.alert("Invalid relays submitted. Please try again.");const a=0===e.length?(0,m.getDefaultRelays)():e;await(0,r.setRelays)({relays:a}),globalThis.alert("Relays saved."),globalThis.document.location.reload()}catch(e){y.removeAttribute("disabled"),globalThis.alert(`#vRuf1N Error saving relays\n${e.toString()}`)}},g()})(); +//# sourceMappingURL=index.96859384.js.map diff --git a/index.96859384.js.map b/index.96859384.js.map new file mode 100644 index 0000000..c82ac83 --- /dev/null +++ b/index.96859384.js.map @@ -0,0 +1 @@ +{"mappings":"qhBAAA,IAAAA,EAAAC,EAAA,S,oDCAAC,EAAAD,EAAA,S,4BAIO,MAAME,EAAuBC,UAElC,UADyB,EAAAC,EAAAC,iBAKzB,aACU,EAAAC,EAAAC,cACN,kGAUJC,EAAAP,GAAKQ,KAAK,CACRC,KAAM,0HARAF,EAAAP,GAAKQ,KAAK,CACdC,KAAM,iJAERC,WAAWC,SAASC,KAAO,oCAM7B,E,iBDLqBV,WACrB,MAAMW,QAAmB,EAAAV,EAAAC,iBAERU,SAASC,eAAe,QAChCC,QAAWC,IAClBA,EAAMC,kBACN,EAAAC,EAAAC,oBAAgB,EAGlB,MAAMC,EAAcP,SAASC,eAAe,YACxB,OAAhBM,IACFA,EAAYC,YAAW,4CAGzB,MAAMC,EAAWzB,EAAA0B,QAAUC,IAAI,YACzBC,EAAY5B,EAAA0B,QAAUC,IAAI,aAEhC,GAAIZ,EAAY,CACdf,EAAA0B,QAAUG,SAASJ,EAAU,QAC7BzB,EAAA0B,QAAUG,SAASD,EAAW,QAERZ,SAASC,eAAe,WAChCC,QAAUd,gBAChB,EAAAC,EAAAyB,mBACNlB,WAAWC,SAASkB,QAAM,QAGJ,EAAA1B,EAAA2B,gBAAxB,MACMC,QAAsB,EAAA5B,EAAA6B,oBACtBC,QAAuB,EAAA9B,EAAA+B,qBAEvBC,EAAgBzB,WAAWI,SAASC,eAAe,iBACnDqB,EAAOtB,SAASuB,cAAc,KACpCD,EAAKxB,KAAO,oBAAoBmB,IAChCK,EAAKE,OAAS,SACdF,EAAKG,UAAYR,EACjBI,EAAcK,YAAYJ,GAExB1B,WAAWI,SAASC,eAAe,kBAClBwB,UAAYN,CACjC,KAAO,CACLnC,EAAA0B,QAAUG,SAASJ,EAAU,QAC7BzB,EAAA0B,QAAUG,SAASD,EAAW,QAETZ,SAASC,eAAe,UAChCC,QAAU,MACrB,EAAAyB,EAAAC,wBACA,EAAAvB,EAAAwB,sBAAkB,CAEtB,CAEA,MAAMC,EAAc9B,SAASC,eAAe,UACtC8B,QAAe,EAAAC,EAAAC,aACfC,EAAaC,KAAKC,UAAUL,GAClCD,EAAYO,MAAQH,EAEpB,MAAMI,EAAoBtC,SAASC,eAAe,iBAClDqC,EAAkBpC,QAAUd,MAAOe,IACjCA,EAAMC,iBACNkC,EAAkBC,aAAa,WAAY,YAE3C,MAAML,EAAaJ,EAAYO,MAC/B,IACE,MAAMG,EAAiBL,KAAKM,MAAMP,GAClC,IAAKQ,MAAMC,QAAQH,GAGjB,OAFAF,EAAkBM,gBAAgB,iBAClChD,WAAWiD,MAAM,+CAGnB,MAAMd,EACsB,IAA1BS,EAAeM,QAAe,EAAAC,EAAAC,oBAAqBR,QAC/C,EAAAR,EAAAiB,WAAU,C,OAAElB,IAClBnC,WAAWiD,MAAM,iBACjBjD,WAAWI,SAASH,SAASkB,QAI/B,CAHE,MAAOmC,GACPZ,EAAkBM,gBAAgB,YAClChD,WAAWiD,MAAM,gCAAgCK,EAAMC,aACzD,GAGFhE,GAAmB,EAErBiE","sources":["src/startup.ts","src/welcome.ts"],"sourcesContent":["import * as L from \"leaflet\";\nimport { DEFAULT_RELAYS } from \"./constants\";\nimport { hackSidePanelClosed, hackSidePanelOpen } from \"./map\";\nimport { getRelays, setRelays } from \"./nostr\";\nimport {\n getNpubPublicKey,\n getNsecPrivateKey,\n getPublicKey,\n hasPrivateKey,\n unsetPrivateKey,\n} from \"./nostr/keys\";\nimport { startUserOnboarding } from \"./onboarding\";\nimport { startWelcomeSequence } from \"./welcome\";\nimport { getDefaultRelays } from \"./nostr/relays\";\n\n// This is supported by parcel, our build system, but not recognised by\n// typescript, so we declare it here so that we can use it below.\ndeclare const process;\n\nexport const startup = async () => {\n const isLoggedIn = await hasPrivateKey();\n\n const helpLink = document.getElementById(\"help\")!;\n helpLink.onclick = (event) => {\n event.preventDefault();\n hackSidePanelOpen();\n };\n\n const buildIdSpan = document.getElementById(\"build-id\");\n if (buildIdSpan !== null) {\n buildIdSpan.textContent = process.env.GITHUB_SHA || \"dev\";\n }\n\n const loggedIn = L.DomUtil.get(\"loggedIn\")!;\n const loggedOut = L.DomUtil.get(\"loggedOut\")!;\n\n if (isLoggedIn) {\n L.DomUtil.addClass(loggedIn, \"show\");\n L.DomUtil.addClass(loggedOut, \"hide\");\n\n const signoutButton = document.getElementById(\"signout\")!;\n signoutButton.onclick = async () => {\n await unsetPrivateKey();\n globalThis.location.reload();\n };\n\n const publicKey = await getPublicKey();\n const npubPublicKey = await getNpubPublicKey();\n const nsecPrivateKey = await getNsecPrivateKey();\n\n const publicKeyCode = globalThis.document.getElementById(\"npubPublicKey\")!;\n const link = document.createElement(\"a\");\n link.href = `https://njump.me/${npubPublicKey}`;\n link.target = \"_blank\";\n link.innerText = npubPublicKey;\n publicKeyCode.appendChild(link);\n const nsecPrivateKeyCode =\n globalThis.document.getElementById(\"nsecPrivateKey\")!;\n nsecPrivateKeyCode.innerText = nsecPrivateKey;\n } else {\n L.DomUtil.addClass(loggedIn, \"hide\");\n L.DomUtil.addClass(loggedOut, \"show\");\n\n const signupButton = document.getElementById(\"signup\")!;\n signupButton.onclick = () => {\n startUserOnboarding();\n hackSidePanelClosed();\n };\n }\n\n const relaysInput = document.getElementById(\"relays\") as HTMLInputElement;\n const relays = await getRelays();\n const relaysJson = JSON.stringify(relays);\n relaysInput.value = relaysJson;\n\n const relaySubmitButton = document.getElementById(\"relays_submit\")!;\n relaySubmitButton.onclick = async (event) => {\n event.preventDefault();\n relaySubmitButton.setAttribute(\"disabled\", \"disabled\");\n\n const relaysJson = relaysInput.value;\n try {\n const relaysFromJson = JSON.parse(relaysJson) as string[];\n if (!Array.isArray(relaysFromJson)) {\n relaySubmitButton.removeAttribute(\"disabled\");\n globalThis.alert(\"Invalid relays submitted. Please try again.\");\n return;\n }\n const relays =\n relaysFromJson.length === 0 ? getDefaultRelays() : relaysFromJson;\n await setRelays({ relays });\n globalThis.alert(\"Relays saved.\");\n globalThis.document.location.reload();\n } catch (error) {\n relaySubmitButton.removeAttribute(\"disabled\");\n globalThis.alert(`#vRuf1N Error saving relays\\n${error.toString()}`);\n }\n };\n\n startWelcomeSequence();\n};\nstartup();\n","import Swal from \"sweetalert2\";\nimport { hasPrivateKey } from \"./nostr/keys\";\nimport { confirmYesNo } from \"./utils\";\n\nexport const startWelcomeSequence = async () => {\n const isLoggedIn = await hasPrivateKey();\n if (isLoggedIn) {\n return;\n }\n\n if (\n !(await confirmYesNo(\n `Notes is an experimental feature using an open developed protocol called NOSTR. Continue?`\n ))\n ) {\n await Swal.fire({\n text: `This will become more user friendly in the future. Feel free to come back anytime. Now we'll take you back to the main trustroots site.`,\n });\n globalThis.location.href = `http://www.trustroots.org/search`;\n return;\n }\n\n Swal.fire({\n text: `Great. Browse map to see other people's notes and right click (or long press on mobile) to add your own note. `,\n });\n};\n"],"names":["$8JYDX","parcelRequire","$dcZZ4","$5671e7ef3fae0719$export$f3af3953777865d","async","$lsWS8","hasPrivateKey","$mDWTX","confirmYesNo","$parcel$interopDefault","fire","text","globalThis","location","href","isLoggedIn","document","getElementById","onclick","event","preventDefault","$dZENK","hackSidePanelOpen","buildIdSpan","textContent","loggedIn","DomUtil","get","loggedOut","addClass","unsetPrivateKey","reload","getPublicKey","npubPublicKey","getNpubPublicKey","nsecPrivateKey","getNsecPrivateKey","publicKeyCode","link","createElement","target","innerText","appendChild","$dgphM","startUserOnboarding","hackSidePanelClosed","relaysInput","relays","$F1Hgz","getRelays","relaysJson","JSON","stringify","value","relaySubmitButton","setAttribute","relaysFromJson","parse","Array","isArray","removeAttribute","alert","length","$jktzu","getDefaultRelays","setRelays","error","toString","$c68123b027adfc04$export$26a1f54597e2915b"],"version":3,"file":"index.96859384.js.map"} \ No newline at end of file diff --git a/index.html b/index.html index 8aacdec..557ea23 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -
Your private key is here for backup.
Scroll around on the map. Long press (or right click) to add a note to the map.
If you have issues with this, or want to share feedback, you can reach the team behind this on telegram or reddit.
If you want to override the default relays, paste a JSON array of relays here.
Build
Your private key is here for backup.
Scroll around on the map. Long press (or right click) to add a note to the map.
If you have issues with this, or want to share feedback, you can reach the team behind this on telegram or reddit.
If you want to override the default relays, paste a JSON array of relays here.
Build