PageSourceSearch

https://docs.deussblockchain.eu/documentation-web/assets/js/7101.1efa4093.js

js deussblockchain.eu collected 2026-10-08 02:37:27 UTC 7,212 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["7101"],{676(e,t,n){n.d(t,{M:()=>d});var r=n(9592),a=n(1127),i=n(4722);function d(e){var t,n,d,l={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:(t=e,i.A(t.nodes(),function(e){var n=t.node(e),a=t.parent(e),i={v:e};return r.A(n)||(i.value=n),r.A(a)||(i.parent=a),i})),edges:(n=e,i.A(n.edges(),function(e){var t=n.edge(e),a={v:e.v,w:e.w};return r.A(e.name)||(a.name=e.name),r.A(t)||(a.value=t),a}))};return r.A(e.graph())||(d=e.graph(),l.value=(0,a.A)(d,4)),l}n(4819)},2204(e,t,n){n.d(t,{IU:()=>g,OS:()=>v,dc:()=>w,ju:()=>l,sc:()=>C});var r=n(1293),a=n(6827),i=n(697),d=n(676),l=new Map,o=new Map,s=new Map,g=(0,a.K)(()=>{o.clear(),s.clear(),l.clear()},"clear"),c=(0,a.K)((e,t)=>{let n=o.get(t)||[];return r.R.trace("In isDescendant",t," ",e," = ",n.includes(e)),n.includes(e)},"isDescendant"),u=(0,a.K)((e,t)=>{let n=o.get(t)||[];return r.R.info("Descendants of ",t," is ",n),r.R.info("Edge is ",e),e.v!==t&&e.w!==t&&(n?n.includes(e.v)||c(e.v,t)||c(e.w,t)||n.includes(e.w):(r.R.debug("Tilt, ",t,",not in descendants"),!1))},"edgeInCluster"),f=(0,a.K)((e,t,n,a)=>{r.R.warn("Copying children of ",e,"root",a,"data",t.node(e),a);let i=t.children(e)||[];e!==a&&i.push(e),r.R.warn("Copying (nodes) clusterId",e,"nodes",i),i.forEach(i=>{if(t.children(i).length>0)f(i,t,n,a);else{let d=t.node(i);r.R.info("cp ",i," to ",a," with parent ",e),n.setNode(i,d),a!==t.parent(i)&&(r.R.warn("Setting parent",i,t.parent(i)),n.setParent(i,t.parent(i))),e!==a&&i!==e?(r.R.debug("Setting parent",i,e),n.setParent(i,e)):(r.R.info("In copy ",e,"root",a,"data",t.node(e),a),r.R.debug("Not Setting parent for node=",i,"cluster!==rootId",e!==a,"node!==clusterId",i!==e));let l=t.edges(i);r.R.debug("Copying Edges",l),l.forEach(i=>{r.R.info("Edge",i);let d=t.edge(i.v,i.w,i.name);r.R.info("Edge data",d,a);try{if(u(i,a)){let e=o.get(a)||[],l=e.includes(i.v)||c(i.v,a)||i.v===a,s=e.includes(i.w)||c(i.w,a)||i.w===a;if(l&&s)r.R.info("Copying as ",i.v,i.w,d,i.name),n.setEdge(i.v,i.w,d,i.name),r.R.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]));else{let e=l?a:i.v,n=s?a:i.w;r.R.info("Rebinding cross-boundary edge as ",e,n,d,i.name),t.setEdge(e,n,d,i.name)}}else r.R.info("Skipping copy of edge ",i.v,"--\x3e",i.w," rootId: ",a," clusterId:",e)}catch(e){r.R.error(e)}})}r.R.debug("Removing node",i),t.removeNode(i)})},"copy"),h=(0,a.K)((e,t)=>{let n=t.children(e),r=[...n];for(let a of n)s.set(a,e),r=[...r,...h(a,t)];return r},"extractDescendants"),p=(0,a.K)((e,t,n)=>{let r=e.edges().filter(e=>e.v===t||e.w===t),a=e.edges().filter(e=>e.v===n||e.w===n),i=r.map(e=>({v:e.v===t?n:e.v,w:e.w===t?t:e.w})),d=a.map(e=>({v:e.v,w:e.w}));return i.filter(e=>d.some(t=>e.v===t.v&&e.w===t.w))},"findCommonEdges"),w=(0,a.K)((e,t,n)=>{let a,i=t.children(e);if(r.R.trace("Searching children of id ",e,i),i.length<1)return e;for(let e of i){let r=w(e,t,n),i=p(t,n,r);if(r)if(!(i.length>0))return r;else a=r}return a},"findNonClusterChild"),R=(0,a.K)(e=>l.has(e)&&l.get(e).externalConnections&&l.has(e)?l.get(e).id:e,"getAnchorId"),v=(0,a.K)((e,t)=>{if(!e||t>10)return void r.R.debug("Opting out, no graph ");for(let t of(r.R.debug("Opting in, graph "),e.nodes().forEach(function(t){e.children(t).length>0&&(r.R.warn("Cluster identified",t," Replacement id in edges: ",w(t,e,t)),o.set(t,h(t,e)),l.set(t,{id:w(t,e,t),clusterData:e.node(t)}))}),e.nodes().forEach(function(t){let n=e.children(t),a=e.edges();n.length>0?(r.R.debug("Cluster identified",t,o),a.forEach(e=>{c(e.v,t)^c(e.w,t)&&(r.R.warn("Edge: ",e," leaves cluster ",t),r.R.warn("Descendants of XXX ",t,": ",o.get(t)),l.get(t).externalConnections=!0)})):r.R.debug("Not a cluster ",t,o)}),l.keys())){let n=l.get(t).id,r=e.parent(n);r!==t&&l.has(r)&&!l.get(r).externalConnections&&(l.get(t).id=r);let a=e.edges().some(e=>e.v===t);if(n&&l.get(t)?.externalConnections&&a&&x(e,n,t)){let r=D(e,t,e.parent(n));r&&(l.get(t).id=r)}}
1e.edges().forEach(function(t){let n=e.edge(t);r.R.warn("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(t)),r.R.warn("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(e.edge(t)));let a=t.v,i=t.w;if(r.R.warn("Fix XXX",l,"ids:",t.v,t.w,"Translating: ",l.get(t.v)," --- ",l.get(t.w)),l.get(t.v)||l.get(t.w)){if(r.R.warn("Fixing and trying - removing XXX",t.v,t.w,t.name),a=R(t.v),i=R(t.w),e.removeEdge(t.v,t.w,t.name),a!==t.v){let r=e.parent(a);l.get(r).externalConnections=!0,n.fromCluster=t.v}if(i!==t.w){let r=e.parent(i);l.get(r).externalConnections=!0,n.toCluster=t.w}r.R.warn("Fix Replacing with XXX",a,i,t.name),e.setEdge(a,i,n,t.name)}}),r.R.warn("Adjusted Graph",d.M(e)),m(e,0),r.R.trace(l)},"adjustClustersAndEdges"),m=(0,a.K)((e,t)=>{if(r.R.warn("extractor - ",t,d.M(e),e.children("D")),t>10)return void r.R.error("Bailing out");let n=e.nodes(),a=!1;for(let t of n){let n=e.children(t);a=a||n.length>0}if(!a)return void r.R.debug("Done, no node has children",e.nodes());for(let a of(r.R.debug("Nodes = ",n,t),n))if(r.R.debug("Extracting node",a,l,l.has(a)&&!l.get(a).externalConnections,!e.parent(a),e.node(a),e.children("D")," Depth ",t),l.has(a))if(l.get(a)?.clusterData?.explicitDir&&e.children(a)&&e.children(a).length>0){r.R.warn("Cluster with explicit dir, creating subgraph for children",a,t);let n=l.get(a).clusterData.dir,o=new i.T({multigraph:!0,compound:!0}).setGraph({rankdir:n,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});f(a,e,o,a);let s=e.node(a)||{};e.setNode(a,{...s,clusterNode:!0,id:a,clusterData:l.get(a).clusterData,label:l.get(a).label,graph:o}),r.R.warn("Subgraph for cluster with explicit dir created:",a,d.M(o))}else if(!l.get(a).externalConnections&&e.children(a)&&e.children(a).length>0){r.R.warn("Cluster without external connections, without a parent and with children",a,t);let n="TB"===e.graph().rankdir?"LR":"TB";l.get(a)?.clusterData?.dir&&(n=l.get(a).clusterData.dir,r.R.warn("Fixing dir",l.get(a).clusterData.dir,n));let o=new i.T({multigraph:!0,compound:!0}).setGraph({rankdir:n,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});f(a,e,o,a);let s=e.node(a)||{};e.setNode(a,{...s,clusterNode:!0,id:a,clusterData:l.get(a).clusterData,label:l.get(a).label,graph:o}),r.R.debug("Old graph after copy",d.M(e))}else r.R.warn("Cluster ** ",a," **not meeting the criteria !externalConnections:",!l.get(a).externalConnections," no parent: ",!e.parent(a)," children ",e.children(a)&&e.children(a).length>0,e.children("D"),t),r.R.debug(l);else r.R.debug("Not a cluster",a,t);for(let a of(n=e.nodes(),r.R.warn("New list of nodes",n),n)){let n=e.node(a);r.R.warn(" Now next level",a,n),n?.clusterNode&&m(n.graph,t+1)}},"extractor"),b=(0,a.K)((e,t)=>{if(0===t.length)return[];let n=Object.assign([],t);return t.forEach(t=>{let r=e.children(t),a=b(e,r);n=[...n,...a]}),n},"sorter"),C=(0,a.K)(e=>b(e,e.children()),"sortNodesByHierarchy"),x=(0,a.K)((e,t,n)=>{let r=e.parent(t);for(;r&&r!==n;){let t=l.get(r);if(t&&!t.externalConnections)return!0;r=e.parent(r)}return!1},"isNodeInExtractableCluster"),D=(0,a.K)((e,t,n)=>{for(let r of e.children(t)??[]){if(r===n||c(r,n))continue;let a=w(r,e,t);if(a&&!x(e,a,t))return a}return null},"findSafeAnchorNode")}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.