{"name":"graphview","imports":["https://get.silverbullet.md/global.plug.json"],"version":0.1,"assets":{"asset/d3-force.js":"data:application/javascript;base64,Ly8gaHR0cHM6Ly9kM2pzLm9yZy9kMy1mb3JjZS8gdjMuMC4wIENvcHlyaWdodCAyMDEwLTIwMjEgTWlrZSBCb3N0b2NrCiFmdW5jdGlvbihuLHQpeyJvYmplY3QiPT10eXBlb2YgZXhwb3J0cyYmInVuZGVmaW5lZCIhPXR5cGVvZiBtb2R1bGU/dChleHBvcnRzLHJlcXVpcmUoImQzLXF1YWR0cmVlIikscmVxdWlyZSgiZDMtZGlzcGF0Y2giKSxyZXF1aXJlKCJkMy10aW1lciIpKToiZnVuY3Rpb24iPT10eXBlb2YgZGVmaW5lJiZkZWZpbmUuYW1kP2RlZmluZShbImV4cG9ydHMiLCJkMy1xdWFkdHJlZSIsImQzLWRpc3BhdGNoIiwiZDMtdGltZXIiXSx0KTp0KChuPSJ1bmRlZmluZWQiIT10eXBlb2YgZ2xvYmFsVGhpcz9nbG9iYWxUaGlzOm58fHNlbGYpLmQzPW4uZDN8fHt9LG4uZDMsbi5kMyxuLmQzKX0odGhpcywoZnVuY3Rpb24obix0LGUscil7InVzZSBzdHJpY3QiO2Z1bmN0aW9uIGkobil7cmV0dXJuIGZ1bmN0aW9uKCl7cmV0dXJuIG59fWZ1bmN0aW9uIHUobil7cmV0dXJuIDFlLTYqKG4oKS0uNSl9ZnVuY3Rpb24gbyhuKXtyZXR1cm4gbi54K24udnh9ZnVuY3Rpb24gZihuKXtyZXR1cm4gbi55K24udnl9ZnVuY3Rpb24gYShuKXtyZXR1cm4gbi5pbmRleH1mdW5jdGlvbiBjKG4sdCl7dmFyIGU9bi5nZXQodCk7aWYoIWUpdGhyb3cgbmV3IEVycm9yKCJub2RlIG5vdCBmb3VuZDogIit0KTtyZXR1cm4gZX1jb25zdCBsPTQyOTQ5NjcyOTY7ZnVuY3Rpb24gaChuKXtyZXR1cm4gbi54fWZ1bmN0aW9uIHYobil7cmV0dX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Y3RlZG5lc3Mgb2YgYQogICAgLy8gbm9kZSBzbyB0aGF0IHdlIGNhbiB2YXJ5IG5vZGUgc2l6ZXMgYmFzZWQgb24gdGhhdC4KICAgIGNvbnN0IG1pbiA9IG5vZGVTaXplU2NhbGUoZC5jb25uZWN0aXZpdHkpOwogICAgY29uc3QgY3VyID0gbm9kZVNpemVTY2FsZShkLmNvbm5lY3Rpdml0eSkgKiBNYXRoLmxvZyhrKTsKICAgIHJldHVybiBNYXRoLm1heChtaW4sIGN1cik7CiAgfQoKICBmdW5jdGlvbiB6b29tZWQoZXZlbnQpIHsKICAgIGNvbnN0IHQgPSBldmVudC50cmFuc2Zvcm07CiAgICBjb25zdCB0cmFuc2xhdGUgPSAidHJhbnNsYXRlKCIgKyB0LnggKyAiLCIgKyB0LnkgKyAiKSIKICAgIG5vZGUKICAgICAgLmF0dHIoImN4IiwgZCA9PiBkLnggKiB0LmspCiAgICAgIC5hdHRyKCJjeSIsIGQgPT4gZC55ICogdC5rKQogICAgICAuYXR0cigiciIsIGQgPT4gcmVzaXplTm9kZShkLCB0LmspKQogICAgICAuYXR0cigndHJhbnNmb3JtJywgdHJhbnNsYXRlKTsKICAgIGxpbmsKICAgICAgLmF0dHIoIngxIiwgZCA9PiBkLnNvdXJjZS54ICogdC5rKQogICAgICAuYXR0cigieTEiLCBkID0+IGQuc291cmNlLnkgKiB0LmspCiAgICAgIC5hdHRyKCJ4MiIsIGQgPT4gZC50YXJnZXQueCAqIHQuaykKICAgICAgLmF0dHIoInkyIiwgZCA9PiBkLnRhcmdldC55ICogdC5rKQogICAgICAuYXR0cigndHJhbnNmb3JtJywgdHJhbnNsYXRlKTsKICAgIGxhYmVscwogICAgICAuYXR0cigndHJhbnNmb3JtJywgdHJhbnNsYXRlKQogICAgICAuYXR0cigneCcsIGQgPT4gZC54ICogdC5rICkKICAgICAgLmF0dHIoJ3knLCBkID0+IGQueSAqIHQuayArIExBQkVMX01BUkdJTiApCiAgICAgIC5hdHRyKCdvcGFj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KICB9CgogIGNvbnN0IGxpbmVhcl9vcGFjaXR5ID0gKHpvb21fbGV2ZWwgLSBMQUJFTF9WSVNJQklMSVRZX1NUQVJUX0spIC8gKExBQkVMX1ZJU0lCSUxJVFlfRU5EX0sgLSBMQUJFTF9WSVNJQklMSVRZX1NUQVJUX0spOwoKICByZXR1cm4gbGluZWFyX29wYWNpdHk7Cn0K"},"functions":{"toggle":{"command":{"name":"Show Global Graph","key":"ctrl-shift-g","mac":"Cmd-shift-g"},"code":"(() => { var mod=(()=>{var f=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var w=Object.getOwnPropertyNames;var A=Object.prototype.hasOwnProperty;var a=(e,t)=>{for(var n in t)f(e,n,{get:t[n],enumerable:!0})},F=(e,t,n,o)=>{if(t&&typeof t==\"object\"||typeof t==\"function\")for(let i of w(t))!A.call(e,i)&&i!==n&&f(e,i,{get:()=>t[i],enumerable:!(o=b(t,i))||o.enumerable});return e};var M=e=>F(f({},\"__esModule\",{value:!0}),e);var Ve={};a(Ve,{default:()=>Le});var m={};a(m,{del:()=>C,get:()=>k,set:()=>S});typeof self>\"u\"&&(self={syscall:()=>{throw new Error(\"Not implemented here\")}});var r=self.syscall;function S(e,t){return r(\"clientStore.set\",e,t)}function k(e){return r(\"clientStore.get\",e)}function C(e){return r(\"clientStore.delete\",e)}var u={};a(u,{dispatch:()=>z,enableReadOnlyMode:()=>W,filterBox:()=>B,flashNotification:()=>j,getCurrentPage:()=>T,getCursor:()=>G,getSelection:()=>D,getText:()=>V,hidePanel:()=>N,insertAtCursor:()=>_,insertAtPos:()=>$,matchBefore:()=>J,moveCursor:()=>Q,navigate:()=>O,openUrl:()=>U,prompt:()=>H,reloadPage:()=>I,replaceRange:()=>R,save:()=>E,setPage:()=>L,setSelection:()=>q,showPanel:()=>K});function T(){return r(\"editor.getCurrentPage\")}function L(e){return r(\"editor.setPage\",e)}function V(){return r(\"editor.getText\")}function G(){return r(\"editor.getCursor\")}function D(){return r(\"editor.getSelection\")}function q(e,t){return r(\"editor.setSelection\",e,t)}function E(){return r(\"editor.save\")}function O(e,t,n=!1){return r(\"editor.navigate\",e,t,n)}function I(){return r(\"editor.reloadPage\")}function U(e){return r(\"editor.openUrl\",e)}function j(e,t=\"info\"){return r(\"editor.flashNotification\",e,t)}function B(e,t,n=\"\",o=\"\"){return r(\"editor.filterBox\",e,t,n,o)}function K(e,t,n,o=\"\"){return r(\"editor.showPanel\",e,t,n,o)}function N(e){return r(\"editor.hidePanel\",e)}function $(e,t){return r(\"editor.insertAtPos\",e,t)}function R(e,t,n){return r(\"editor.replaceRange\",e,t,n)}function Q(e){return r(\"editor.moveCursor\",e)}function _(e){return r(\"editor.insertAtCursor\",e)}function J(e){return r(\"editor.matchBefore\",e)}function z(e){return r(\"editor.dispatch\",e)}function H(e,t=\"\"){return r(\"editor.prompt\",e,t)}function W(e){return r(\"editor.enableReadOnlyMode\",e)}var p={};a(p,{batchSet:()=>Y,clearPageIndex:()=>ie,clearPageIndexForPage:()=>ne,del:()=>ee,deletePrefixForPage:()=>oe,get:()=>Z,query:()=>re,queryPrefix:()=>te,set:()=>X});function X(e,t,n){return r(\"index.set\",e,t,n)}function Y(e,t){return r(\"index.batchSet\",e,t)}function Z(e,t){return r(\"index.get\",e,t)}function ee(e,t){return r(\"index.delete\",e,t)}function te(e){return r(\"index.queryPrefix\",e)}function re(e){return r(\"index.query\",e)}function ne(e){return r(\"index.clearPageIndexForPage\",e)}function oe(e,t){return r(\"index.deletePrefixForPage\",e,t)}function ie(){return r(\"index.clearPageIndex\")}var g={};a(g,{deleteAttachment:()=>ye,deletePage:()=>pe,getAttachmentMeta:()=>fe,getPageMeta:()=>le,listAttachments:()=>de,listPages:()=>ue,listPlugs:()=>ge,readAttachment:()=>xe,readPage:()=>ce,writeAttachment:()=>Pe,writePage:()=>me});function ue(e=!1){return r(\"space.listPages\",e)}function le(e){return r(\"space.getPageMeta\",e)}function ce(e){return r(\"space.readPage\",e)}function me(e,t){return r(\"space.writePage\",e,t)}function pe(e){return r(\"space.deletePage\",e)}function ge(){return r(\"space.listPlugs\")}function de(){return r(\"space.listAttachments\")}function fe(e){return r(\"space.getAttachmentMeta\",e)}function xe(e){return r(\"space.readAttachment\",e)}function Pe(e,t,n){return r(\"space.writeAttachment\",e,t,n)}function ye(e){return r(\"space.deleteAttachment\",e)}var l={};a(l,{readAsset:()=>ve});function x(e){let t=atob(e),n=t.length,o=new Uint8Array(n);for(let i=0;i d.id,\n nodeTitle: d => d.id,\n nodeStrokeOpacity: 0.75,\n height: 600,\n width: 700,\n });\n const graph_div = document.querySelector('#graph');\n graph_div.appendChild(chart);\n `}async function Ce(e){let t=await Te(e),n=JSON.stringify(t);await h()&&await u.showPanel(\"lhs\",1,`\n \n \n \n
\n
\n \n `,await ke(n))}async function Te(e){let n=(await g.listPages()).map(({name:c})=>c),i=(await p.queryPrefix(\"pl:\")).map(({key:c,page:v})=>{let[,d]=c.split(\":\");return n.includes(d)||n.push(d),{source:v,target:d}});return{nodes:n.map(c=>({id:c})),links:i}}var Le=y;return M(Ve);})();\n return mod;})()"},"updateBacklinks":{"env":"client","events":["plug:load","editor:pageLoaded"],"code":"(() => { var mod=(()=>{var f=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var v=Object.getOwnPropertyNames;var b=Object.prototype.hasOwnProperty;var a=(e,t)=>{for(var n in t)f(e,n,{get:t[n],enumerable:!0})},w=(e,t,n,o)=>{if(t&&typeof t==\"object\"||typeof t==\"function\")for(let i of v(t))!b.call(e,i)&&i!==n&&f(e,i,{get:()=>t[i],enumerable:!(o=h(t,i))||o.enumerable});return e};var A=e=>w(f({},\"__esModule\",{value:!0}),e);var Ve={};a(Ve,{default:()=>Le});var m={};a(m,{del:()=>S,get:()=>M,set:()=>F});typeof self>\"u\"&&(self={syscall:()=>{throw new Error(\"Not implemented here\")}});var r=self.syscall;function F(e,t){return r(\"clientStore.set\",e,t)}function M(e){return r(\"clientStore.get\",e)}function S(e){return r(\"clientStore.delete\",e)}var c={};a(c,{dispatch:()=>_,enableReadOnlyMode:()=>z,filterBox:()=>U,flashNotification:()=>I,getCurrentPage:()=>k,getCursor:()=>L,getSelection:()=>V,getText:()=>T,hidePanel:()=>B,insertAtCursor:()=>R,insertAtPos:()=>K,matchBefore:()=>Q,moveCursor:()=>$,navigate:()=>q,openUrl:()=>O,prompt:()=>J,reloadPage:()=>E,replaceRange:()=>N,save:()=>D,setPage:()=>C,setSelection:()=>G,showPanel:()=>j});function k(){return r(\"editor.getCurrentPage\")}function C(e){return r(\"editor.setPage\",e)}function T(){return r(\"editor.getText\")}function L(){return r(\"editor.getCursor\")}function V(){return r(\"editor.getSelection\")}function G(e,t){return r(\"editor.setSelection\",e,t)}function D(){return r(\"editor.save\")}function q(e,t,n=!1){return r(\"editor.navigate\",e,t,n)}function E(){return r(\"editor.reloadPage\")}function O(e){return r(\"editor.openUrl\",e)}function I(e,t=\"info\"){return r(\"editor.flashNotification\",e,t)}function U(e,t,n=\"\",o=\"\"){return r(\"editor.filterBox\",e,t,n,o)}function j(e,t,n,o=\"\"){return r(\"editor.showPanel\",e,t,n,o)}function B(e){return r(\"editor.hidePanel\",e)}function K(e,t){return r(\"editor.insertAtPos\",e,t)}function N(e,t,n){return r(\"editor.replaceRange\",e,t,n)}function $(e){return r(\"editor.moveCursor\",e)}function R(e){return r(\"editor.insertAtCursor\",e)}function Q(e){return r(\"editor.matchBefore\",e)}function _(e){return r(\"editor.dispatch\",e)}function J(e,t=\"\"){return r(\"editor.prompt\",e,t)}function z(e){return r(\"editor.enableReadOnlyMode\",e)}var p={};a(p,{batchSet:()=>W,clearPageIndex:()=>ne,clearPageIndexForPage:()=>te,del:()=>Y,deletePrefixForPage:()=>re,get:()=>X,query:()=>ee,queryPrefix:()=>Z,set:()=>H});function H(e,t,n){return r(\"index.set\",e,t,n)}function W(e,t){return r(\"index.batchSet\",e,t)}function X(e,t){return r(\"index.get\",e,t)}function Y(e,t){return r(\"index.delete\",e,t)}function Z(e){return r(\"index.queryPrefix\",e)}function ee(e){return r(\"index.query\",e)}function te(e){return r(\"index.clearPageIndexForPage\",e)}function re(e,t){return r(\"index.deletePrefixForPage\",e,t)}function ne(){return r(\"index.clearPageIndex\")}var d={};a(d,{deleteAttachment:()=>xe,deletePage:()=>ce,getAttachmentMeta:()=>de,getPageMeta:()=>ae,listAttachments:()=>pe,listPages:()=>se,listPlugs:()=>me,readAttachment:()=>ge,readPage:()=>ue,writeAttachment:()=>fe,writePage:()=>le});function se(e=!1){return r(\"space.listPages\",e)}function ae(e){return r(\"space.getPageMeta\",e)}function ue(e){return r(\"space.readPage\",e)}function le(e,t){return r(\"space.writePage\",e,t)}function ce(e){return r(\"space.deletePage\",e)}function me(){return r(\"space.listPlugs\")}function pe(){return r(\"space.listAttachments\")}function de(e){return r(\"space.getAttachmentMeta\",e)}function ge(e){return r(\"space.readAttachment\",e)}function fe(e,t,n){return r(\"space.writeAttachment\",e,t,n)}function xe(e){return r(\"space.deleteAttachment\",e)}var u={};a(u,{readAsset:()=>ye});function x(e){let t=atob(e),n=t.length,o=new Uint8Array(n);for(let i=0;i d.id,\n nodeTitle: d => d.id,\n nodeStrokeOpacity: 0.75,\n height: 600,\n width: 700,\n });\n const graph_div = document.querySelector('#graph');\n graph_div.appendChild(chart);\n `}async function Ce(e){let t=await Te(e),n=JSON.stringify(t);await Se()&&await c.showPanel(\"lhs\",1,`\n \n \n \n
\n
\n \n `,await ke(n))}async function Te(e){let n=(await d.listPages()).map(({name:l})=>l),i=(await p.queryPrefix(\"pl:\")).map(({key:l,page:y})=>{let[,g]=l.split(\":\");return n.includes(g)||n.push(g),{source:y,target:g}});return{nodes:n.map(l=>({id:l})),links:i}}var Le=P;return A(Ve);})();\n return mod;})()"}}}