@burdenoff/microfe-vibecontrols 2026.601.12 → 2026.601.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_rolldown/runtime.js +5 -2
- package/dist/components/actions/ActionForm.js +270 -255
- package/dist/components/actions/ActionForm.js.map +1 -1
- package/dist/components/actions/RemoteExecutionEnableNotice.js +85 -0
- package/dist/components/actions/RemoteExecutionEnableNotice.js.map +1 -0
- package/dist/components/agents/AgentConnectionRecovery.js +123 -0
- package/dist/components/agents/AgentConnectionRecovery.js.map +1 -0
- package/dist/components/agents/RemoteTaskPermissionsCard.js +37 -36
- package/dist/components/agents/RemoteTaskPermissionsCard.js.map +1 -1
- package/dist/components/graph/MeshAgentNode.js +74 -0
- package/dist/components/graph/MeshAgentNode.js.map +1 -0
- package/dist/components/graph/MeshDeployWizard.js +393 -0
- package/dist/components/graph/MeshDeployWizard.js.map +1 -0
- package/dist/components/graph/MeshGraphView.js +190 -0
- package/dist/components/graph/MeshGraphView.js.map +1 -0
- package/dist/components/graph/MeshNodeActions.js +70 -0
- package/dist/components/graph/MeshNodeActions.js.map +1 -0
- package/dist/components/graph/MeshRequestPanel.js +240 -0
- package/dist/components/graph/MeshRequestPanel.js.map +1 -0
- package/dist/components/graph/meshTypes.js +11 -0
- package/dist/components/graph/meshTypes.js.map +1 -0
- package/dist/components/graph/nodeIcons.js +31 -0
- package/dist/components/graph/nodeIcons.js.map +1 -0
- package/dist/components/shared/EnableRemoteTaskDialog.js +48 -0
- package/dist/components/shared/EnableRemoteTaskDialog.js.map +1 -0
- package/dist/components/shared/index.js +1 -0
- package/dist/generated/wspace-operations.js +1896 -1649
- package/dist/generated/wspace-operations.js.map +1 -1
- package/dist/generated/wspace-types.js +14 -12
- package/dist/generated/wspace-types.js.map +1 -1
- package/dist/index.js +10 -10
- package/dist/node_modules/dagre/index.js +24 -0
- package/dist/node_modules/dagre/index.js.map +1 -0
- package/dist/node_modules/dagre/lib/acyclic.js +47 -0
- package/dist/node_modules/dagre/lib/acyclic.js.map +1 -0
- package/dist/node_modules/dagre/lib/add-border-segments.js +32 -0
- package/dist/node_modules/dagre/lib/add-border-segments.js.map +1 -0
- package/dist/node_modules/dagre/lib/coordinate-system.js +57 -0
- package/dist/node_modules/dagre/lib/coordinate-system.js.map +1 -0
- package/dist/node_modules/dagre/lib/data/list.js +30 -0
- package/dist/node_modules/dagre/lib/data/list.js.map +1 -0
- package/dist/node_modules/dagre/lib/debug.js +31 -0
- package/dist/node_modules/dagre/lib/debug.js.map +1 -0
- package/dist/node_modules/dagre/lib/graphlib.js +15 -0
- package/dist/node_modules/dagre/lib/graphlib.js.map +1 -0
- package/dist/node_modules/dagre/lib/greedy-fas.js +74 -0
- package/dist/node_modules/dagre/lib/greedy-fas.js.map +1 -0
- package/dist/node_modules/dagre/lib/layout.js +305 -0
- package/dist/node_modules/dagre/lib/layout.js.map +1 -0
- package/dist/node_modules/dagre/lib/lodash.js +67 -0
- package/dist/node_modules/dagre/lib/lodash.js.map +1 -0
- package/dist/node_modules/dagre/lib/nesting-graph.js +76 -0
- package/dist/node_modules/dagre/lib/nesting-graph.js.map +1 -0
- package/dist/node_modules/dagre/lib/normalize.js +45 -0
- package/dist/node_modules/dagre/lib/normalize.js.map +1 -0
- package/dist/node_modules/dagre/lib/order/add-subgraph-constraints.js +24 -0
- package/dist/node_modules/dagre/lib/order/add-subgraph-constraints.js.map +1 -0
- package/dist/node_modules/dagre/lib/order/barycenter.js +34 -0
- package/dist/node_modules/dagre/lib/order/barycenter.js.map +1 -0
- package/dist/node_modules/dagre/lib/order/build-layer-graph.js +32 -0
- package/dist/node_modules/dagre/lib/order/build-layer-graph.js.map +1 -0
- package/dist/node_modules/dagre/lib/order/cross-count.js +39 -0
- package/dist/node_modules/dagre/lib/order/cross-count.js.map +1 -0
- package/dist/node_modules/dagre/lib/order/index.js +50 -0
- package/dist/node_modules/dagre/lib/order/index.js.map +1 -0
- package/dist/node_modules/dagre/lib/order/init-order.js +28 -0
- package/dist/node_modules/dagre/lib/order/init-order.js.map +1 -0
- package/dist/node_modules/dagre/lib/order/resolve-conflicts.js +61 -0
- package/dist/node_modules/dagre/lib/order/resolve-conflicts.js.map +1 -0
- package/dist/node_modules/dagre/lib/order/sort-subgraph.js +50 -0
- package/dist/node_modules/dagre/lib/order/sort-subgraph.js.map +1 -0
- package/dist/node_modules/dagre/lib/order/sort.js +34 -0
- package/dist/node_modules/dagre/lib/order/sort.js.map +1 -0
- package/dist/node_modules/dagre/lib/parent-dummy-chains.js +50 -0
- package/dist/node_modules/dagre/lib/parent-dummy-chains.js.map +1 -0
- package/dist/node_modules/dagre/lib/position/bk.js +212 -0
- package/dist/node_modules/dagre/lib/position/bk.js.map +1 -0
- package/dist/node_modules/dagre/lib/position/index.js +30 -0
- package/dist/node_modules/dagre/lib/position/index.js.map +1 -0
- package/dist/node_modules/dagre/lib/rank/feasible-tree.js +39 -0
- package/dist/node_modules/dagre/lib/rank/feasible-tree.js.map +1 -0
- package/dist/node_modules/dagre/lib/rank/index.js +35 -0
- package/dist/node_modules/dagre/lib/rank/index.js.map +1 -0
- package/dist/node_modules/dagre/lib/rank/network-simplex.js +90 -0
- package/dist/node_modules/dagre/lib/rank/network-simplex.js.map +1 -0
- package/dist/node_modules/dagre/lib/rank/util.js +31 -0
- package/dist/node_modules/dagre/lib/rank/util.js.map +1 -0
- package/dist/node_modules/dagre/lib/util.js +151 -0
- package/dist/node_modules/dagre/lib/util.js.map +1 -0
- package/dist/node_modules/dagre/lib/version.js +10 -0
- package/dist/node_modules/dagre/lib/version.js.map +1 -0
- package/dist/node_modules/graphlib/index.js +19 -0
- package/dist/node_modules/graphlib/index.js.map +1 -0
- package/dist/node_modules/graphlib/lib/alg/components.js +21 -0
- package/dist/node_modules/graphlib/lib/alg/components.js.map +1 -0
- package/dist/node_modules/graphlib/lib/alg/dfs.js +25 -0
- package/dist/node_modules/graphlib/lib/alg/dfs.js.map +1 -0
- package/dist/node_modules/graphlib/lib/alg/dijkstra-all.js +18 -0
- package/dist/node_modules/graphlib/lib/alg/dijkstra-all.js.map +1 -0
- package/dist/node_modules/graphlib/lib/alg/dijkstra.js +31 -0
- package/dist/node_modules/graphlib/lib/alg/dijkstra.js.map +1 -0
- package/dist/node_modules/graphlib/lib/alg/find-cycles.js +18 -0
- package/dist/node_modules/graphlib/lib/alg/find-cycles.js.map +1 -0
- package/dist/node_modules/graphlib/lib/alg/floyd-warshall.js +41 -0
- package/dist/node_modules/graphlib/lib/alg/floyd-warshall.js.map +1 -0
- package/dist/node_modules/graphlib/lib/alg/index.js +33 -0
- package/dist/node_modules/graphlib/lib/alg/index.js.map +1 -0
- package/dist/node_modules/graphlib/lib/alg/is-acyclic.js +21 -0
- package/dist/node_modules/graphlib/lib/alg/is-acyclic.js.map +1 -0
- package/dist/node_modules/graphlib/lib/alg/postorder.js +15 -0
- package/dist/node_modules/graphlib/lib/alg/postorder.js.map +1 -0
- package/dist/node_modules/graphlib/lib/alg/preorder.js +15 -0
- package/dist/node_modules/graphlib/lib/alg/preorder.js.map +1 -0
- package/dist/node_modules/graphlib/lib/alg/prim.js +35 -0
- package/dist/node_modules/graphlib/lib/alg/prim.js.map +1 -0
- package/dist/node_modules/graphlib/lib/alg/tarjan.js +34 -0
- package/dist/node_modules/graphlib/lib/alg/tarjan.js.map +1 -0
- package/dist/node_modules/graphlib/lib/alg/topsort.js +23 -0
- package/dist/node_modules/graphlib/lib/alg/topsort.js.map +1 -0
- package/dist/node_modules/graphlib/lib/data/priority-queue.js +56 -0
- package/dist/node_modules/graphlib/lib/data/priority-queue.js.map +1 -0
- package/dist/node_modules/graphlib/lib/graph.js +196 -0
- package/dist/node_modules/graphlib/lib/graph.js.map +1 -0
- package/dist/node_modules/graphlib/lib/index.js +15 -0
- package/dist/node_modules/graphlib/lib/index.js.map +1 -0
- package/dist/node_modules/graphlib/lib/json.js +55 -0
- package/dist/node_modules/graphlib/lib/json.js.map +1 -0
- package/dist/node_modules/graphlib/lib/lodash.js +47 -0
- package/dist/node_modules/graphlib/lib/lodash.js.map +1 -0
- package/dist/node_modules/graphlib/lib/version.js +10 -0
- package/dist/node_modules/graphlib/lib/version.js.map +1 -0
- package/dist/node_modules/lodash/_arrayEach.js +14 -0
- package/dist/node_modules/lodash/_arrayEach.js.map +1 -0
- package/dist/node_modules/lodash/_arrayReduce.js +15 -0
- package/dist/node_modules/lodash/_arrayReduce.js.map +1 -0
- package/dist/node_modules/lodash/_asciiSize.js +11 -0
- package/dist/node_modules/lodash/_asciiSize.js.map +1 -0
- package/dist/node_modules/lodash/_assignMergeValue.js +16 -0
- package/dist/node_modules/lodash/_assignMergeValue.js.map +1 -0
- package/dist/node_modules/lodash/_assignValue.js +17 -0
- package/dist/node_modules/lodash/_assignValue.js.map +1 -0
- package/dist/node_modules/lodash/_baseAssign.js +16 -0
- package/dist/node_modules/lodash/_baseAssign.js.map +1 -0
- package/dist/node_modules/lodash/_baseAssignIn.js +16 -0
- package/dist/node_modules/lodash/_baseAssignIn.js.map +1 -0
- package/dist/node_modules/lodash/_baseClone.js +64 -0
- package/dist/node_modules/lodash/_baseClone.js.map +1 -0
- package/dist/node_modules/lodash/_baseCreate.js +21 -0
- package/dist/node_modules/lodash/_baseCreate.js.map +1 -0
- package/dist/node_modules/lodash/_baseFilter.js +18 -0
- package/dist/node_modules/lodash/_baseFilter.js.map +1 -0
- package/dist/node_modules/lodash/_baseHas.js +14 -0
- package/dist/node_modules/lodash/_baseHas.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsMap.js +16 -0
- package/dist/node_modules/lodash/_baseIsMap.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsSet.js +16 -0
- package/dist/node_modules/lodash/_baseIsSet.js.map +1 -0
- package/dist/node_modules/lodash/_baseKeysIn.js +20 -0
- package/dist/node_modules/lodash/_baseKeysIn.js.map +1 -0
- package/dist/node_modules/lodash/_baseMerge.js +27 -0
- package/dist/node_modules/lodash/_baseMerge.js.map +1 -0
- package/dist/node_modules/lodash/_baseMergeDeep.js +39 -0
- package/dist/node_modules/lodash/_baseMergeDeep.js.map +1 -0
- package/dist/node_modules/lodash/_basePick.js +18 -0
- package/dist/node_modules/lodash/_basePick.js.map +1 -0
- package/dist/node_modules/lodash/_basePickBy.js +21 -0
- package/dist/node_modules/lodash/_basePickBy.js.map +1 -0
- package/dist/node_modules/lodash/_baseReduce.js +15 -0
- package/dist/node_modules/lodash/_baseReduce.js.map +1 -0
- package/dist/node_modules/lodash/_baseSet.js +30 -0
- package/dist/node_modules/lodash/_baseSet.js.map +1 -0
- package/dist/node_modules/lodash/_baseValues.js +17 -0
- package/dist/node_modules/lodash/_baseValues.js.map +1 -0
- package/dist/node_modules/lodash/_baseZipObject.js +17 -0
- package/dist/node_modules/lodash/_baseZipObject.js.map +1 -0
- package/dist/node_modules/lodash/_castFunction.js +15 -0
- package/dist/node_modules/lodash/_castFunction.js.map +1 -0
- package/dist/node_modules/lodash/_cloneArrayBuffer.js +16 -0
- package/dist/node_modules/lodash/_cloneArrayBuffer.js.map +1 -0
- package/dist/node_modules/lodash/_cloneBuffer.js +17 -0
- package/dist/node_modules/lodash/_cloneBuffer.js.map +1 -0
- package/dist/node_modules/lodash/_cloneDataView.js +16 -0
- package/dist/node_modules/lodash/_cloneDataView.js.map +1 -0
- package/dist/node_modules/lodash/_cloneRegExp.js +15 -0
- package/dist/node_modules/lodash/_cloneRegExp.js.map +1 -0
- package/dist/node_modules/lodash/_cloneSymbol.js +15 -0
- package/dist/node_modules/lodash/_cloneSymbol.js.map +1 -0
- package/dist/node_modules/lodash/_cloneTypedArray.js +16 -0
- package/dist/node_modules/lodash/_cloneTypedArray.js.map +1 -0
- package/dist/node_modules/lodash/_copyArray.js +15 -0
- package/dist/node_modules/lodash/_copyArray.js.map +1 -0
- package/dist/node_modules/lodash/_copyObject.js +22 -0
- package/dist/node_modules/lodash/_copyObject.js.map +1 -0
- package/dist/node_modules/lodash/_copySymbols.js +16 -0
- package/dist/node_modules/lodash/_copySymbols.js.map +1 -0
- package/dist/node_modules/lodash/_copySymbolsIn.js +16 -0
- package/dist/node_modules/lodash/_copySymbolsIn.js.map +1 -0
- package/dist/node_modules/lodash/_createAssigner.js +23 -0
- package/dist/node_modules/lodash/_createAssigner.js.map +1 -0
- package/dist/node_modules/lodash/_flatRest.js +17 -0
- package/dist/node_modules/lodash/_flatRest.js.map +1 -0
- package/dist/node_modules/lodash/_getAllKeysIn.js +17 -0
- package/dist/node_modules/lodash/_getAllKeysIn.js.map +1 -0
- package/dist/node_modules/lodash/_getSymbolsIn.js +18 -0
- package/dist/node_modules/lodash/_getSymbolsIn.js.map +1 -0
- package/dist/node_modules/lodash/_initCloneArray.js +15 -0
- package/dist/node_modules/lodash/_initCloneArray.js.map +1 -0
- package/dist/node_modules/lodash/_initCloneByTag.js +40 -0
- package/dist/node_modules/lodash/_initCloneByTag.js.map +1 -0
- package/dist/node_modules/lodash/_initCloneObject.js +17 -0
- package/dist/node_modules/lodash/_initCloneObject.js.map +1 -0
- package/dist/node_modules/lodash/_nativeKeysIn.js +15 -0
- package/dist/node_modules/lodash/_nativeKeysIn.js.map +1 -0
- package/dist/node_modules/lodash/_safeGet.js +13 -0
- package/dist/node_modules/lodash/_safeGet.js.map +1 -0
- package/dist/node_modules/lodash/_stringSize.js +17 -0
- package/dist/node_modules/lodash/_stringSize.js.map +1 -0
- package/dist/node_modules/lodash/_unicodeSize.js +25 -0
- package/dist/node_modules/lodash/_unicodeSize.js.map +1 -0
- package/dist/node_modules/lodash/clone.js +15 -0
- package/dist/node_modules/lodash/clone.js.map +1 -0
- package/dist/node_modules/lodash/cloneDeep.js +15 -0
- package/dist/node_modules/lodash/cloneDeep.js.map +1 -0
- package/dist/node_modules/lodash/defaults.js +23 -0
- package/dist/node_modules/lodash/defaults.js.map +1 -0
- package/dist/node_modules/lodash/each.js +11 -0
- package/dist/node_modules/lodash/each.js.map +1 -0
- package/dist/node_modules/lodash/filter.js +18 -0
- package/dist/node_modules/lodash/filter.js.map +1 -0
- package/dist/node_modules/lodash/flatten.js +15 -0
- package/dist/node_modules/lodash/flatten.js.map +1 -0
- package/dist/node_modules/lodash/forEach.js +18 -0
- package/dist/node_modules/lodash/forEach.js.map +1 -0
- package/dist/node_modules/lodash/forIn.js +17 -0
- package/dist/node_modules/lodash/forIn.js.map +1 -0
- package/dist/node_modules/lodash/has.js +16 -0
- package/dist/node_modules/lodash/has.js.map +1 -0
- package/dist/node_modules/lodash/isArrayLikeObject.js +16 -0
- package/dist/node_modules/lodash/isArrayLikeObject.js.map +1 -0
- package/dist/node_modules/lodash/isEmpty.js +28 -0
- package/dist/node_modules/lodash/isEmpty.js.map +1 -0
- package/dist/node_modules/lodash/isMap.js +14 -0
- package/dist/node_modules/lodash/isMap.js.map +1 -0
- package/dist/node_modules/lodash/isSet.js +14 -0
- package/dist/node_modules/lodash/isSet.js.map +1 -0
- package/dist/node_modules/lodash/isUndefined.js +13 -0
- package/dist/node_modules/lodash/isUndefined.js.map +1 -0
- package/dist/node_modules/lodash/keysIn.js +17 -0
- package/dist/node_modules/lodash/keysIn.js.map +1 -0
- package/dist/node_modules/lodash/merge.js +15 -0
- package/dist/node_modules/lodash/merge.js.map +1 -0
- package/dist/node_modules/lodash/pick.js +15 -0
- package/dist/node_modules/lodash/pick.js.map +1 -0
- package/dist/node_modules/lodash/reduce.js +20 -0
- package/dist/node_modules/lodash/reduce.js.map +1 -0
- package/dist/node_modules/lodash/size.js +22 -0
- package/dist/node_modules/lodash/size.js.map +1 -0
- package/dist/node_modules/lodash/toPlainObject.js +16 -0
- package/dist/node_modules/lodash/toPlainObject.js.map +1 -0
- package/dist/node_modules/lodash/transform.js +31 -0
- package/dist/node_modules/lodash/transform.js.map +1 -0
- package/dist/node_modules/lodash/union.js +17 -0
- package/dist/node_modules/lodash/union.js.map +1 -0
- package/dist/node_modules/lodash/uniqueId.js +16 -0
- package/dist/node_modules/lodash/uniqueId.js.map +1 -0
- package/dist/node_modules/lodash/values.js +16 -0
- package/dist/node_modules/lodash/values.js.map +1 -0
- package/dist/node_modules/lodash/zipObject.js +16 -0
- package/dist/node_modules/lodash/zipObject.js.map +1 -0
- package/dist/pages/ActionsPage.js +269 -230
- package/dist/pages/ActionsPage.js.map +1 -1
- package/dist/pages/AgentDetailsPage.js +442 -436
- package/dist/pages/AgentDetailsPage.js.map +1 -1
- package/dist/pages/AgentGraphPage.js +251 -118
- package/dist/pages/AgentGraphPage.js.map +1 -1
- package/dist/pages/VibeDeckPage.js +268 -224
- package/dist/pages/VibeDeckPage.js.map +1 -1
- package/dist/services/agentRemoteTaskGates.js +29 -0
- package/dist/services/agentRemoteTaskGates.js.map +1 -0
- package/package.json +3 -1
- package/dist/components/graph/AgentGraphView.js +0 -237
- package/dist/components/graph/AgentGraphView.js.map +0 -1
- package/dist/components/graph/AgentNode.js +0 -54
- package/dist/components/graph/AgentNode.js.map +0 -1
- package/dist/components/graph/TargetNode.js +0 -76
- package/dist/components/graph/TargetNode.js.map +0 -1
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { require_lodash as t } from "../lodash.js";
|
|
3
|
+
//#region node_modules/graphlib/lib/data/priority-queue.js
|
|
4
|
+
var n = /* @__PURE__ */ e(((e, n) => {
|
|
5
|
+
var r = t();
|
|
6
|
+
n.exports = i;
|
|
7
|
+
function i() {
|
|
8
|
+
this._arr = [], this._keyIndices = {};
|
|
9
|
+
}
|
|
10
|
+
i.prototype.size = function() {
|
|
11
|
+
return this._arr.length;
|
|
12
|
+
}, i.prototype.keys = function() {
|
|
13
|
+
return this._arr.map(function(e) {
|
|
14
|
+
return e.key;
|
|
15
|
+
});
|
|
16
|
+
}, i.prototype.has = function(e) {
|
|
17
|
+
return r.has(this._keyIndices, e);
|
|
18
|
+
}, i.prototype.priority = function(e) {
|
|
19
|
+
var t = this._keyIndices[e];
|
|
20
|
+
if (t !== void 0) return this._arr[t].priority;
|
|
21
|
+
}, i.prototype.min = function() {
|
|
22
|
+
if (this.size() === 0) throw Error("Queue underflow");
|
|
23
|
+
return this._arr[0].key;
|
|
24
|
+
}, i.prototype.add = function(e, t) {
|
|
25
|
+
var n = this._keyIndices;
|
|
26
|
+
if (e = String(e), !r.has(n, e)) {
|
|
27
|
+
var i = this._arr, a = i.length;
|
|
28
|
+
return n[e] = a, i.push({
|
|
29
|
+
key: e,
|
|
30
|
+
priority: t
|
|
31
|
+
}), this._decrease(a), !0;
|
|
32
|
+
}
|
|
33
|
+
return !1;
|
|
34
|
+
}, i.prototype.removeMin = function() {
|
|
35
|
+
this._swap(0, this._arr.length - 1);
|
|
36
|
+
var e = this._arr.pop();
|
|
37
|
+
return delete this._keyIndices[e.key], this._heapify(0), e.key;
|
|
38
|
+
}, i.prototype.decrease = function(e, t) {
|
|
39
|
+
var n = this._keyIndices[e];
|
|
40
|
+
if (t > this._arr[n].priority) throw Error("New priority is greater than current priority. Key: " + e + " Old: " + this._arr[n].priority + " New: " + t);
|
|
41
|
+
this._arr[n].priority = t, this._decrease(n);
|
|
42
|
+
}, i.prototype._heapify = function(e) {
|
|
43
|
+
var t = this._arr, n = 2 * e, r = n + 1, i = e;
|
|
44
|
+
n < t.length && (i = t[n].priority < t[i].priority ? n : i, r < t.length && (i = t[r].priority < t[i].priority ? r : i), i !== e && (this._swap(e, i), this._heapify(i)));
|
|
45
|
+
}, i.prototype._decrease = function(e) {
|
|
46
|
+
for (var t = this._arr, n = t[e].priority, r; e !== 0 && (r = e >> 1, !(t[r].priority < n));) this._swap(e, r), e = r;
|
|
47
|
+
}, i.prototype._swap = function(e, t) {
|
|
48
|
+
var n = this._arr, r = this._keyIndices, i = n[e], a = n[t];
|
|
49
|
+
n[e] = a, n[t] = i, r[a.key] = e, r[i.key] = t;
|
|
50
|
+
};
|
|
51
|
+
}));
|
|
52
|
+
//#endregion
|
|
53
|
+
export default n();
|
|
54
|
+
export { n as require_priority_queue };
|
|
55
|
+
|
|
56
|
+
//# sourceMappingURL=priority-queue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"priority-queue.js","names":[],"sources":["../../../../../node_modules/graphlib/lib/data/priority-queue.js"],"sourcesContent":["var _ = require(\"../lodash\");\n\nmodule.exports = PriorityQueue;\n\n/**\n * A min-priority queue data structure. This algorithm is derived from Cormen,\n * et al., \"Introduction to Algorithms\". The basic idea of a min-priority\n * queue is that you can efficiently (in O(1) time) get the smallest key in\n * the queue. Adding and removing elements takes O(log n) time. A key can\n * have its priority decreased in O(log n) time.\n */\nfunction PriorityQueue() {\n this._arr = [];\n this._keyIndices = {};\n}\n\n/**\n * Returns the number of elements in the queue. Takes `O(1)` time.\n */\nPriorityQueue.prototype.size = function() {\n return this._arr.length;\n};\n\n/**\n * Returns the keys that are in the queue. Takes `O(n)` time.\n */\nPriorityQueue.prototype.keys = function() {\n return this._arr.map(function(x) { return x.key; });\n};\n\n/**\n * Returns `true` if **key** is in the queue and `false` if not.\n */\nPriorityQueue.prototype.has = function(key) {\n return _.has(this._keyIndices, key);\n};\n\n/**\n * Returns the priority for **key**. If **key** is not present in the queue\n * then this function returns `undefined`. Takes `O(1)` time.\n *\n * @param {Object} key\n */\nPriorityQueue.prototype.priority = function(key) {\n var index = this._keyIndices[key];\n if (index !== undefined) {\n return this._arr[index].priority;\n }\n};\n\n/**\n * Returns the key for the minimum element in this queue. If the queue is\n * empty this function throws an Error. Takes `O(1)` time.\n */\nPriorityQueue.prototype.min = function() {\n if (this.size() === 0) {\n throw new Error(\"Queue underflow\");\n }\n return this._arr[0].key;\n};\n\n/**\n * Inserts a new key into the priority queue. If the key already exists in\n * the queue this function returns `false`; otherwise it will return `true`.\n * Takes `O(n)` time.\n *\n * @param {Object} key the key to add\n * @param {Number} priority the initial priority for the key\n */\nPriorityQueue.prototype.add = function(key, priority) {\n var keyIndices = this._keyIndices;\n key = String(key);\n if (!_.has(keyIndices, key)) {\n var arr = this._arr;\n var index = arr.length;\n keyIndices[key] = index;\n arr.push({key: key, priority: priority});\n this._decrease(index);\n return true;\n }\n return false;\n};\n\n/**\n * Removes and returns the smallest key in the queue. Takes `O(log n)` time.\n */\nPriorityQueue.prototype.removeMin = function() {\n this._swap(0, this._arr.length - 1);\n var min = this._arr.pop();\n delete this._keyIndices[min.key];\n this._heapify(0);\n return min.key;\n};\n\n/**\n * Decreases the priority for **key** to **priority**. If the new priority is\n * greater than the previous priority, this function will throw an Error.\n *\n * @param {Object} key the key for which to raise priority\n * @param {Number} priority the new priority for the key\n */\nPriorityQueue.prototype.decrease = function(key, priority) {\n var index = this._keyIndices[key];\n if (priority > this._arr[index].priority) {\n throw new Error(\"New priority is greater than current priority. \" +\n \"Key: \" + key + \" Old: \" + this._arr[index].priority + \" New: \" + priority);\n }\n this._arr[index].priority = priority;\n this._decrease(index);\n};\n\nPriorityQueue.prototype._heapify = function(i) {\n var arr = this._arr;\n var l = 2 * i;\n var r = l + 1;\n var largest = i;\n if (l < arr.length) {\n largest = arr[l].priority < arr[largest].priority ? l : largest;\n if (r < arr.length) {\n largest = arr[r].priority < arr[largest].priority ? r : largest;\n }\n if (largest !== i) {\n this._swap(i, largest);\n this._heapify(largest);\n }\n }\n};\n\nPriorityQueue.prototype._decrease = function(index) {\n var arr = this._arr;\n var priority = arr[index].priority;\n var parent;\n while (index !== 0) {\n parent = index >> 1;\n if (arr[parent].priority < priority) {\n break;\n }\n this._swap(index, parent);\n index = parent;\n }\n};\n\nPriorityQueue.prototype._swap = function(i, j) {\n var arr = this._arr;\n var keyIndices = this._keyIndices;\n var origArrI = arr[i];\n var origArrJ = arr[j];\n arr[i] = origArrJ;\n arr[j] = origArrI;\n keyIndices[origArrJ.key] = i;\n keyIndices[origArrI.key] = j;\n};\n"],"x_google_ignoreList":[0],"mappings":";;;;CAAA,IAAI,IAAA,GAAA;AAEJ,GAAO,UAAU;CASjB,SAAS,IAAgB;AAEvB,EADA,KAAK,OAAO,EAAE,EACd,KAAK,cAAc,EAAE;;AAiIvB,CA3HA,EAAc,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,IAAI,IAAM,KAAK,MACX,IAAI,IAAI,GACR,IAAI,IAAI,GACR,IAAU;AACd,EAAI,IAAI,EAAI,WACV,IAAU,EAAI,GAAG,WAAW,EAAI,GAAS,WAAW,IAAI,GACpD,IAAI,EAAI,WACV,IAAU,EAAI,GAAG,WAAW,EAAI,GAAS,WAAW,IAAI,IAEtD,MAAY,MACd,KAAK,MAAM,GAAG,EAAQ,EACtB,KAAK,SAAS,EAAQ;IAK5B,EAAc,UAAU,YAAY,SAAS,GAAO;AAIlD,OAHA,IAAI,IAAM,KAAK,MACX,IAAW,EAAI,GAAO,UACtB,GACG,MAAU,MACf,IAAS,KAAS,GACd,IAAI,GAAQ,WAAW,KAI3B,CADA,KAAK,MAAM,GAAO,EAAO,EACzB,IAAQ;IAIZ,EAAc,UAAU,QAAQ,SAAS,GAAG,GAAG;EAC7C,IAAI,IAAM,KAAK,MACX,IAAa,KAAK,aAClB,IAAW,EAAI,IACf,IAAW,EAAI;AAInB,EAHA,EAAI,KAAK,GACT,EAAI,KAAK,GACT,EAAW,EAAS,OAAO,GAC3B,EAAW,EAAS,OAAO"}
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { require_lodash as t } from "./lodash.js";
|
|
3
|
+
//#region node_modules/graphlib/lib/graph.js
|
|
4
|
+
var n = /* @__PURE__ */ e(((e, n) => {
|
|
5
|
+
var r = t();
|
|
6
|
+
n.exports = s;
|
|
7
|
+
var i = "\0", a = "\0", o = "";
|
|
8
|
+
function s(e) {
|
|
9
|
+
this._isDirected = r.has(e, "directed") ? e.directed : !0, this._isMultigraph = r.has(e, "multigraph") ? e.multigraph : !1, this._isCompound = r.has(e, "compound") ? e.compound : !1, this._label = void 0, this._defaultNodeLabelFn = r.constant(void 0), this._defaultEdgeLabelFn = r.constant(void 0), this._nodes = {}, this._isCompound && (this._parent = {}, this._children = {}, this._children[a] = {}), this._in = {}, this._preds = {}, this._out = {}, this._sucs = {}, this._edgeObjs = {}, this._edgeLabels = {};
|
|
10
|
+
}
|
|
11
|
+
s.prototype._nodeCount = 0, s.prototype._edgeCount = 0, s.prototype.isDirected = function() {
|
|
12
|
+
return this._isDirected;
|
|
13
|
+
}, s.prototype.isMultigraph = function() {
|
|
14
|
+
return this._isMultigraph;
|
|
15
|
+
}, s.prototype.isCompound = function() {
|
|
16
|
+
return this._isCompound;
|
|
17
|
+
}, s.prototype.setGraph = function(e) {
|
|
18
|
+
return this._label = e, this;
|
|
19
|
+
}, s.prototype.graph = function() {
|
|
20
|
+
return this._label;
|
|
21
|
+
}, s.prototype.setDefaultNodeLabel = function(e) {
|
|
22
|
+
return r.isFunction(e) || (e = r.constant(e)), this._defaultNodeLabelFn = e, this;
|
|
23
|
+
}, s.prototype.nodeCount = function() {
|
|
24
|
+
return this._nodeCount;
|
|
25
|
+
}, s.prototype.nodes = function() {
|
|
26
|
+
return r.keys(this._nodes);
|
|
27
|
+
}, s.prototype.sources = function() {
|
|
28
|
+
var e = this;
|
|
29
|
+
return r.filter(this.nodes(), function(t) {
|
|
30
|
+
return r.isEmpty(e._in[t]);
|
|
31
|
+
});
|
|
32
|
+
}, s.prototype.sinks = function() {
|
|
33
|
+
var e = this;
|
|
34
|
+
return r.filter(this.nodes(), function(t) {
|
|
35
|
+
return r.isEmpty(e._out[t]);
|
|
36
|
+
});
|
|
37
|
+
}, s.prototype.setNodes = function(e, t) {
|
|
38
|
+
var n = arguments, i = this;
|
|
39
|
+
return r.each(e, function(e) {
|
|
40
|
+
n.length > 1 ? i.setNode(e, t) : i.setNode(e);
|
|
41
|
+
}), this;
|
|
42
|
+
}, s.prototype.setNode = function(e, t) {
|
|
43
|
+
return r.has(this._nodes, e) ? (arguments.length > 1 && (this._nodes[e] = t), this) : (this._nodes[e] = arguments.length > 1 ? t : this._defaultNodeLabelFn(e), this._isCompound && (this._parent[e] = a, this._children[e] = {}, this._children[a][e] = !0), this._in[e] = {}, this._preds[e] = {}, this._out[e] = {}, this._sucs[e] = {}, ++this._nodeCount, this);
|
|
44
|
+
}, s.prototype.node = function(e) {
|
|
45
|
+
return this._nodes[e];
|
|
46
|
+
}, s.prototype.hasNode = function(e) {
|
|
47
|
+
return r.has(this._nodes, e);
|
|
48
|
+
}, s.prototype.removeNode = function(e) {
|
|
49
|
+
var t = this;
|
|
50
|
+
if (r.has(this._nodes, e)) {
|
|
51
|
+
var n = function(e) {
|
|
52
|
+
t.removeEdge(t._edgeObjs[e]);
|
|
53
|
+
};
|
|
54
|
+
delete this._nodes[e], this._isCompound && (this._removeFromParentsChildList(e), delete this._parent[e], r.each(this.children(e), function(e) {
|
|
55
|
+
t.setParent(e);
|
|
56
|
+
}), delete this._children[e]), r.each(r.keys(this._in[e]), n), delete this._in[e], delete this._preds[e], r.each(r.keys(this._out[e]), n), delete this._out[e], delete this._sucs[e], --this._nodeCount;
|
|
57
|
+
}
|
|
58
|
+
return this;
|
|
59
|
+
}, s.prototype.setParent = function(e, t) {
|
|
60
|
+
if (!this._isCompound) throw Error("Cannot set parent in a non-compound graph");
|
|
61
|
+
if (r.isUndefined(t)) t = a;
|
|
62
|
+
else {
|
|
63
|
+
t += "";
|
|
64
|
+
for (var n = t; !r.isUndefined(n); n = this.parent(n)) if (n === e) throw Error("Setting " + t + " as parent of " + e + " would create a cycle");
|
|
65
|
+
this.setNode(t);
|
|
66
|
+
}
|
|
67
|
+
return this.setNode(e), this._removeFromParentsChildList(e), this._parent[e] = t, this._children[t][e] = !0, this;
|
|
68
|
+
}, s.prototype._removeFromParentsChildList = function(e) {
|
|
69
|
+
delete this._children[this._parent[e]][e];
|
|
70
|
+
}, s.prototype.parent = function(e) {
|
|
71
|
+
if (this._isCompound) {
|
|
72
|
+
var t = this._parent[e];
|
|
73
|
+
if (t !== a) return t;
|
|
74
|
+
}
|
|
75
|
+
}, s.prototype.children = function(e) {
|
|
76
|
+
if (r.isUndefined(e) && (e = a), this._isCompound) {
|
|
77
|
+
var t = this._children[e];
|
|
78
|
+
if (t) return r.keys(t);
|
|
79
|
+
} else if (e === a) return this.nodes();
|
|
80
|
+
else if (this.hasNode(e)) return [];
|
|
81
|
+
}, s.prototype.predecessors = function(e) {
|
|
82
|
+
var t = this._preds[e];
|
|
83
|
+
if (t) return r.keys(t);
|
|
84
|
+
}, s.prototype.successors = function(e) {
|
|
85
|
+
var t = this._sucs[e];
|
|
86
|
+
if (t) return r.keys(t);
|
|
87
|
+
}, s.prototype.neighbors = function(e) {
|
|
88
|
+
var t = this.predecessors(e);
|
|
89
|
+
if (t) return r.union(t, this.successors(e));
|
|
90
|
+
}, s.prototype.isLeaf = function(e) {
|
|
91
|
+
return (this.isDirected() ? this.successors(e) : this.neighbors(e)).length === 0;
|
|
92
|
+
}, s.prototype.filterNodes = function(e) {
|
|
93
|
+
var t = new this.constructor({
|
|
94
|
+
directed: this._isDirected,
|
|
95
|
+
multigraph: this._isMultigraph,
|
|
96
|
+
compound: this._isCompound
|
|
97
|
+
});
|
|
98
|
+
t.setGraph(this.graph());
|
|
99
|
+
var n = this;
|
|
100
|
+
r.each(this._nodes, function(n, r) {
|
|
101
|
+
e(r) && t.setNode(r, n);
|
|
102
|
+
}), r.each(this._edgeObjs, function(e) {
|
|
103
|
+
t.hasNode(e.v) && t.hasNode(e.w) && t.setEdge(e, n.edge(e));
|
|
104
|
+
});
|
|
105
|
+
var i = {};
|
|
106
|
+
function a(e) {
|
|
107
|
+
var r = n.parent(e);
|
|
108
|
+
return r === void 0 || t.hasNode(r) ? (i[e] = r, r) : r in i ? i[r] : a(r);
|
|
109
|
+
}
|
|
110
|
+
return this._isCompound && r.each(t.nodes(), function(e) {
|
|
111
|
+
t.setParent(e, a(e));
|
|
112
|
+
}), t;
|
|
113
|
+
}, s.prototype.setDefaultEdgeLabel = function(e) {
|
|
114
|
+
return r.isFunction(e) || (e = r.constant(e)), this._defaultEdgeLabelFn = e, this;
|
|
115
|
+
}, s.prototype.edgeCount = function() {
|
|
116
|
+
return this._edgeCount;
|
|
117
|
+
}, s.prototype.edges = function() {
|
|
118
|
+
return r.values(this._edgeObjs);
|
|
119
|
+
}, s.prototype.setPath = function(e, t) {
|
|
120
|
+
var n = this, i = arguments;
|
|
121
|
+
return r.reduce(e, function(e, r) {
|
|
122
|
+
return i.length > 1 ? n.setEdge(e, r, t) : n.setEdge(e, r), r;
|
|
123
|
+
}), this;
|
|
124
|
+
}, s.prototype.setEdge = function() {
|
|
125
|
+
var e, t, n, i, a = !1, o = arguments[0];
|
|
126
|
+
typeof o == "object" && o && "v" in o ? (e = o.v, t = o.w, n = o.name, arguments.length === 2 && (i = arguments[1], a = !0)) : (e = o, t = arguments[1], n = arguments[3], arguments.length > 2 && (i = arguments[2], a = !0)), e = "" + e, t = "" + t, r.isUndefined(n) || (n = "" + n);
|
|
127
|
+
var s = u(this._isDirected, e, t, n);
|
|
128
|
+
if (r.has(this._edgeLabels, s)) return a && (this._edgeLabels[s] = i), this;
|
|
129
|
+
if (!r.isUndefined(n) && !this._isMultigraph) throw Error("Cannot set a named edge when isMultigraph = false");
|
|
130
|
+
this.setNode(e), this.setNode(t), this._edgeLabels[s] = a ? i : this._defaultEdgeLabelFn(e, t, n);
|
|
131
|
+
var l = d(this._isDirected, e, t, n);
|
|
132
|
+
return e = l.v, t = l.w, Object.freeze(l), this._edgeObjs[s] = l, c(this._preds[t], e), c(this._sucs[e], t), this._in[t][s] = l, this._out[e][s] = l, this._edgeCount++, this;
|
|
133
|
+
}, s.prototype.edge = function(e, t, n) {
|
|
134
|
+
var r = arguments.length === 1 ? f(this._isDirected, arguments[0]) : u(this._isDirected, e, t, n);
|
|
135
|
+
return this._edgeLabels[r];
|
|
136
|
+
}, s.prototype.hasEdge = function(e, t, n) {
|
|
137
|
+
var i = arguments.length === 1 ? f(this._isDirected, arguments[0]) : u(this._isDirected, e, t, n);
|
|
138
|
+
return r.has(this._edgeLabels, i);
|
|
139
|
+
}, s.prototype.removeEdge = function(e, t, n) {
|
|
140
|
+
var r = arguments.length === 1 ? f(this._isDirected, arguments[0]) : u(this._isDirected, e, t, n), i = this._edgeObjs[r];
|
|
141
|
+
return i && (e = i.v, t = i.w, delete this._edgeLabels[r], delete this._edgeObjs[r], l(this._preds[t], e), l(this._sucs[e], t), delete this._in[t][r], delete this._out[e][r], this._edgeCount--), this;
|
|
142
|
+
}, s.prototype.inEdges = function(e, t) {
|
|
143
|
+
var n = this._in[e];
|
|
144
|
+
if (n) {
|
|
145
|
+
var i = r.values(n);
|
|
146
|
+
return t ? r.filter(i, function(e) {
|
|
147
|
+
return e.v === t;
|
|
148
|
+
}) : i;
|
|
149
|
+
}
|
|
150
|
+
}, s.prototype.outEdges = function(e, t) {
|
|
151
|
+
var n = this._out[e];
|
|
152
|
+
if (n) {
|
|
153
|
+
var i = r.values(n);
|
|
154
|
+
return t ? r.filter(i, function(e) {
|
|
155
|
+
return e.w === t;
|
|
156
|
+
}) : i;
|
|
157
|
+
}
|
|
158
|
+
}, s.prototype.nodeEdges = function(e, t) {
|
|
159
|
+
var n = this.inEdges(e, t);
|
|
160
|
+
if (n) return n.concat(this.outEdges(e, t));
|
|
161
|
+
};
|
|
162
|
+
function c(e, t) {
|
|
163
|
+
e[t] ? e[t]++ : e[t] = 1;
|
|
164
|
+
}
|
|
165
|
+
function l(e, t) {
|
|
166
|
+
--e[t] || delete e[t];
|
|
167
|
+
}
|
|
168
|
+
function u(e, t, n, a) {
|
|
169
|
+
var s = "" + t, c = "" + n;
|
|
170
|
+
if (!e && s > c) {
|
|
171
|
+
var l = s;
|
|
172
|
+
s = c, c = l;
|
|
173
|
+
}
|
|
174
|
+
return s + o + c + o + (r.isUndefined(a) ? i : a);
|
|
175
|
+
}
|
|
176
|
+
function d(e, t, n, r) {
|
|
177
|
+
var i = "" + t, a = "" + n;
|
|
178
|
+
if (!e && i > a) {
|
|
179
|
+
var o = i;
|
|
180
|
+
i = a, a = o;
|
|
181
|
+
}
|
|
182
|
+
var s = {
|
|
183
|
+
v: i,
|
|
184
|
+
w: a
|
|
185
|
+
};
|
|
186
|
+
return r && (s.name = r), s;
|
|
187
|
+
}
|
|
188
|
+
function f(e, t) {
|
|
189
|
+
return u(e, t.v, t.w, t.name);
|
|
190
|
+
}
|
|
191
|
+
}));
|
|
192
|
+
//#endregion
|
|
193
|
+
export default n();
|
|
194
|
+
export { n as require_graph };
|
|
195
|
+
|
|
196
|
+
//# sourceMappingURL=graph.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graph.js","names":[],"sources":["../../../../node_modules/graphlib/lib/graph.js"],"sourcesContent":["\"use strict\";\n\nvar _ = require(\"./lodash\");\n\nmodule.exports = Graph;\n\nvar DEFAULT_EDGE_NAME = \"\\x00\";\nvar GRAPH_NODE = \"\\x00\";\nvar EDGE_KEY_DELIM = \"\\x01\";\n\n// Implementation notes:\n//\n// * Node id query functions should return string ids for the nodes\n// * Edge id query functions should return an \"edgeObj\", edge object, that is\n// composed of enough information to uniquely identify an edge: {v, w, name}.\n// * Internally we use an \"edgeId\", a stringified form of the edgeObj, to\n// reference edges. This is because we need a performant way to look these\n// edges up and, object properties, which have string keys, are the closest\n// we're going to get to a performant hashtable in JavaScript.\n\nfunction Graph(opts) {\n this._isDirected = _.has(opts, \"directed\") ? opts.directed : true;\n this._isMultigraph = _.has(opts, \"multigraph\") ? opts.multigraph : false;\n this._isCompound = _.has(opts, \"compound\") ? opts.compound : false;\n\n // Label for the graph itself\n this._label = undefined;\n\n // Defaults to be set when creating a new node\n this._defaultNodeLabelFn = _.constant(undefined);\n\n // Defaults to be set when creating a new edge\n this._defaultEdgeLabelFn = _.constant(undefined);\n\n // v -> label\n this._nodes = {};\n\n if (this._isCompound) {\n // v -> parent\n this._parent = {};\n\n // v -> children\n this._children = {};\n this._children[GRAPH_NODE] = {};\n }\n\n // v -> edgeObj\n this._in = {};\n\n // u -> v -> Number\n this._preds = {};\n\n // v -> edgeObj\n this._out = {};\n\n // v -> w -> Number\n this._sucs = {};\n\n // e -> edgeObj\n this._edgeObjs = {};\n\n // e -> label\n this._edgeLabels = {};\n}\n\n/* Number of nodes in the graph. Should only be changed by the implementation. */\nGraph.prototype._nodeCount = 0;\n\n/* Number of edges in the graph. Should only be changed by the implementation. */\nGraph.prototype._edgeCount = 0;\n\n\n/* === Graph functions ========= */\n\nGraph.prototype.isDirected = function() {\n return this._isDirected;\n};\n\nGraph.prototype.isMultigraph = function() {\n return this._isMultigraph;\n};\n\nGraph.prototype.isCompound = function() {\n return this._isCompound;\n};\n\nGraph.prototype.setGraph = function(label) {\n this._label = label;\n return this;\n};\n\nGraph.prototype.graph = function() {\n return this._label;\n};\n\n\n/* === Node functions ========== */\n\nGraph.prototype.setDefaultNodeLabel = function(newDefault) {\n if (!_.isFunction(newDefault)) {\n newDefault = _.constant(newDefault);\n }\n this._defaultNodeLabelFn = newDefault;\n return this;\n};\n\nGraph.prototype.nodeCount = function() {\n return this._nodeCount;\n};\n\nGraph.prototype.nodes = function() {\n return _.keys(this._nodes);\n};\n\nGraph.prototype.sources = function() {\n var self = this;\n return _.filter(this.nodes(), function(v) {\n return _.isEmpty(self._in[v]);\n });\n};\n\nGraph.prototype.sinks = function() {\n var self = this;\n return _.filter(this.nodes(), function(v) {\n return _.isEmpty(self._out[v]);\n });\n};\n\nGraph.prototype.setNodes = function(vs, value) {\n var args = arguments;\n var self = this;\n _.each(vs, function(v) {\n if (args.length > 1) {\n self.setNode(v, value);\n } else {\n self.setNode(v);\n }\n });\n return this;\n};\n\nGraph.prototype.setNode = function(v, value) {\n if (_.has(this._nodes, v)) {\n if (arguments.length > 1) {\n this._nodes[v] = value;\n }\n return this;\n }\n\n this._nodes[v] = arguments.length > 1 ? value : this._defaultNodeLabelFn(v);\n if (this._isCompound) {\n this._parent[v] = GRAPH_NODE;\n this._children[v] = {};\n this._children[GRAPH_NODE][v] = true;\n }\n this._in[v] = {};\n this._preds[v] = {};\n this._out[v] = {};\n this._sucs[v] = {};\n ++this._nodeCount;\n return this;\n};\n\nGraph.prototype.node = function(v) {\n return this._nodes[v];\n};\n\nGraph.prototype.hasNode = function(v) {\n return _.has(this._nodes, v);\n};\n\nGraph.prototype.removeNode = function(v) {\n var self = this;\n if (_.has(this._nodes, v)) {\n var removeEdge = function(e) { self.removeEdge(self._edgeObjs[e]); };\n delete this._nodes[v];\n if (this._isCompound) {\n this._removeFromParentsChildList(v);\n delete this._parent[v];\n _.each(this.children(v), function(child) {\n self.setParent(child);\n });\n delete this._children[v];\n }\n _.each(_.keys(this._in[v]), removeEdge);\n delete this._in[v];\n delete this._preds[v];\n _.each(_.keys(this._out[v]), removeEdge);\n delete this._out[v];\n delete this._sucs[v];\n --this._nodeCount;\n }\n return this;\n};\n\nGraph.prototype.setParent = function(v, parent) {\n if (!this._isCompound) {\n throw new Error(\"Cannot set parent in a non-compound graph\");\n }\n\n if (_.isUndefined(parent)) {\n parent = GRAPH_NODE;\n } else {\n // Coerce parent to string\n parent += \"\";\n for (var ancestor = parent;\n !_.isUndefined(ancestor);\n ancestor = this.parent(ancestor)) {\n if (ancestor === v) {\n throw new Error(\"Setting \" + parent+ \" as parent of \" + v +\n \" would create a cycle\");\n }\n }\n\n this.setNode(parent);\n }\n\n this.setNode(v);\n this._removeFromParentsChildList(v);\n this._parent[v] = parent;\n this._children[parent][v] = true;\n return this;\n};\n\nGraph.prototype._removeFromParentsChildList = function(v) {\n delete this._children[this._parent[v]][v];\n};\n\nGraph.prototype.parent = function(v) {\n if (this._isCompound) {\n var parent = this._parent[v];\n if (parent !== GRAPH_NODE) {\n return parent;\n }\n }\n};\n\nGraph.prototype.children = function(v) {\n if (_.isUndefined(v)) {\n v = GRAPH_NODE;\n }\n\n if (this._isCompound) {\n var children = this._children[v];\n if (children) {\n return _.keys(children);\n }\n } else if (v === GRAPH_NODE) {\n return this.nodes();\n } else if (this.hasNode(v)) {\n return [];\n }\n};\n\nGraph.prototype.predecessors = function(v) {\n var predsV = this._preds[v];\n if (predsV) {\n return _.keys(predsV);\n }\n};\n\nGraph.prototype.successors = function(v) {\n var sucsV = this._sucs[v];\n if (sucsV) {\n return _.keys(sucsV);\n }\n};\n\nGraph.prototype.neighbors = function(v) {\n var preds = this.predecessors(v);\n if (preds) {\n return _.union(preds, this.successors(v));\n }\n};\n\nGraph.prototype.isLeaf = function (v) {\n var neighbors;\n if (this.isDirected()) {\n neighbors = this.successors(v);\n } else {\n neighbors = this.neighbors(v);\n }\n return neighbors.length === 0;\n};\n\nGraph.prototype.filterNodes = function(filter) {\n var copy = new this.constructor({\n directed: this._isDirected,\n multigraph: this._isMultigraph,\n compound: this._isCompound\n });\n\n copy.setGraph(this.graph());\n\n var self = this;\n _.each(this._nodes, function(value, v) {\n if (filter(v)) {\n copy.setNode(v, value);\n }\n });\n\n _.each(this._edgeObjs, function(e) {\n if (copy.hasNode(e.v) && copy.hasNode(e.w)) {\n copy.setEdge(e, self.edge(e));\n }\n });\n\n var parents = {};\n function findParent(v) {\n var parent = self.parent(v);\n if (parent === undefined || copy.hasNode(parent)) {\n parents[v] = parent;\n return parent;\n } else if (parent in parents) {\n return parents[parent];\n } else {\n return findParent(parent);\n }\n }\n\n if (this._isCompound) {\n _.each(copy.nodes(), function(v) {\n copy.setParent(v, findParent(v));\n });\n }\n\n return copy;\n};\n\n/* === Edge functions ========== */\n\nGraph.prototype.setDefaultEdgeLabel = function(newDefault) {\n if (!_.isFunction(newDefault)) {\n newDefault = _.constant(newDefault);\n }\n this._defaultEdgeLabelFn = newDefault;\n return this;\n};\n\nGraph.prototype.edgeCount = function() {\n return this._edgeCount;\n};\n\nGraph.prototype.edges = function() {\n return _.values(this._edgeObjs);\n};\n\nGraph.prototype.setPath = function(vs, value) {\n var self = this;\n var args = arguments;\n _.reduce(vs, function(v, w) {\n if (args.length > 1) {\n self.setEdge(v, w, value);\n } else {\n self.setEdge(v, w);\n }\n return w;\n });\n return this;\n};\n\n/*\n * setEdge(v, w, [value, [name]])\n * setEdge({ v, w, [name] }, [value])\n */\nGraph.prototype.setEdge = function() {\n var v, w, name, value;\n var valueSpecified = false;\n var arg0 = arguments[0];\n\n if (typeof arg0 === \"object\" && arg0 !== null && \"v\" in arg0) {\n v = arg0.v;\n w = arg0.w;\n name = arg0.name;\n if (arguments.length === 2) {\n value = arguments[1];\n valueSpecified = true;\n }\n } else {\n v = arg0;\n w = arguments[1];\n name = arguments[3];\n if (arguments.length > 2) {\n value = arguments[2];\n valueSpecified = true;\n }\n }\n\n v = \"\" + v;\n w = \"\" + w;\n if (!_.isUndefined(name)) {\n name = \"\" + name;\n }\n\n var e = edgeArgsToId(this._isDirected, v, w, name);\n if (_.has(this._edgeLabels, e)) {\n if (valueSpecified) {\n this._edgeLabels[e] = value;\n }\n return this;\n }\n\n if (!_.isUndefined(name) && !this._isMultigraph) {\n throw new Error(\"Cannot set a named edge when isMultigraph = false\");\n }\n\n // It didn't exist, so we need to create it.\n // First ensure the nodes exist.\n this.setNode(v);\n this.setNode(w);\n\n this._edgeLabels[e] = valueSpecified ? value : this._defaultEdgeLabelFn(v, w, name);\n\n var edgeObj = edgeArgsToObj(this._isDirected, v, w, name);\n // Ensure we add undirected edges in a consistent way.\n v = edgeObj.v;\n w = edgeObj.w;\n\n Object.freeze(edgeObj);\n this._edgeObjs[e] = edgeObj;\n incrementOrInitEntry(this._preds[w], v);\n incrementOrInitEntry(this._sucs[v], w);\n this._in[w][e] = edgeObj;\n this._out[v][e] = edgeObj;\n this._edgeCount++;\n return this;\n};\n\nGraph.prototype.edge = function(v, w, name) {\n var e = (arguments.length === 1\n ? edgeObjToId(this._isDirected, arguments[0])\n : edgeArgsToId(this._isDirected, v, w, name));\n return this._edgeLabels[e];\n};\n\nGraph.prototype.hasEdge = function(v, w, name) {\n var e = (arguments.length === 1\n ? edgeObjToId(this._isDirected, arguments[0])\n : edgeArgsToId(this._isDirected, v, w, name));\n return _.has(this._edgeLabels, e);\n};\n\nGraph.prototype.removeEdge = function(v, w, name) {\n var e = (arguments.length === 1\n ? edgeObjToId(this._isDirected, arguments[0])\n : edgeArgsToId(this._isDirected, v, w, name));\n var edge = this._edgeObjs[e];\n if (edge) {\n v = edge.v;\n w = edge.w;\n delete this._edgeLabels[e];\n delete this._edgeObjs[e];\n decrementOrRemoveEntry(this._preds[w], v);\n decrementOrRemoveEntry(this._sucs[v], w);\n delete this._in[w][e];\n delete this._out[v][e];\n this._edgeCount--;\n }\n return this;\n};\n\nGraph.prototype.inEdges = function(v, u) {\n var inV = this._in[v];\n if (inV) {\n var edges = _.values(inV);\n if (!u) {\n return edges;\n }\n return _.filter(edges, function(edge) { return edge.v === u; });\n }\n};\n\nGraph.prototype.outEdges = function(v, w) {\n var outV = this._out[v];\n if (outV) {\n var edges = _.values(outV);\n if (!w) {\n return edges;\n }\n return _.filter(edges, function(edge) { return edge.w === w; });\n }\n};\n\nGraph.prototype.nodeEdges = function(v, w) {\n var inEdges = this.inEdges(v, w);\n if (inEdges) {\n return inEdges.concat(this.outEdges(v, w));\n }\n};\n\nfunction incrementOrInitEntry(map, k) {\n if (map[k]) {\n map[k]++;\n } else {\n map[k] = 1;\n }\n}\n\nfunction decrementOrRemoveEntry(map, k) {\n if (!--map[k]) { delete map[k]; }\n}\n\nfunction edgeArgsToId(isDirected, v_, w_, name) {\n var v = \"\" + v_;\n var w = \"\" + w_;\n if (!isDirected && v > w) {\n var tmp = v;\n v = w;\n w = tmp;\n }\n return v + EDGE_KEY_DELIM + w + EDGE_KEY_DELIM +\n (_.isUndefined(name) ? DEFAULT_EDGE_NAME : name);\n}\n\nfunction edgeArgsToObj(isDirected, v_, w_, name) {\n var v = \"\" + v_;\n var w = \"\" + w_;\n if (!isDirected && v > w) {\n var tmp = v;\n v = w;\n w = tmp;\n }\n var edgeObj = { v: v, w: w };\n if (name) {\n edgeObj.name = name;\n }\n return edgeObj;\n}\n\nfunction edgeObjToId(isDirected, edgeObj) {\n return edgeArgsToId(isDirected, edgeObj.v, edgeObj.w, edgeObj.name);\n}\n"],"x_google_ignoreList":[0],"mappings":";;;;CAEA,IAAI,IAAA,GAAA;AAEJ,GAAO,UA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I;;EAEN,IAAI,IAAW;GAAK;GAAM;GAAG;AAI7B,SAHI,MACF,EAAQ,OAAO,IAEV;;CAGT,SAAS,EAAY,GAAY,GAAS;AACxC,SAAO,EAAa,GAAY,EAAQ,GAAG,EAAQ,GAAG,EAAQ,KAAK"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { require_graph as t } from "./graph.js";
|
|
3
|
+
import { require_version as n } from "./version.js";
|
|
4
|
+
//#region node_modules/graphlib/lib/index.js
|
|
5
|
+
var r = /* @__PURE__ */ e(((e, r) => {
|
|
6
|
+
r.exports = {
|
|
7
|
+
Graph: t(),
|
|
8
|
+
version: n()
|
|
9
|
+
};
|
|
10
|
+
}));
|
|
11
|
+
//#endregion
|
|
12
|
+
export default r();
|
|
13
|
+
export { r as require_lib };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../../node_modules/graphlib/lib/index.js"],"sourcesContent":["// Includes only the \"core\" of graphlib\nmodule.exports = {\n Graph: require(\"./graph\"),\n version: require(\"./version\")\n};\n"],"x_google_ignoreList":[0],"mappings":";;;;;AACA,GAAO,UAAU;EACf,OAAA,GAAA;EACA,SAAA,GAAA;EACD"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { require_lodash as t } from "./lodash.js";
|
|
3
|
+
import { require_graph as n } from "./graph.js";
|
|
4
|
+
//#region node_modules/graphlib/lib/json.js
|
|
5
|
+
var r = /* @__PURE__ */ e(((e, r) => {
|
|
6
|
+
var i = t(), a = n();
|
|
7
|
+
r.exports = {
|
|
8
|
+
write: o,
|
|
9
|
+
read: l
|
|
10
|
+
};
|
|
11
|
+
function o(e) {
|
|
12
|
+
var t = {
|
|
13
|
+
options: {
|
|
14
|
+
directed: e.isDirected(),
|
|
15
|
+
multigraph: e.isMultigraph(),
|
|
16
|
+
compound: e.isCompound()
|
|
17
|
+
},
|
|
18
|
+
nodes: s(e),
|
|
19
|
+
edges: c(e)
|
|
20
|
+
};
|
|
21
|
+
return i.isUndefined(e.graph()) || (t.value = i.clone(e.graph())), t;
|
|
22
|
+
}
|
|
23
|
+
function s(e) {
|
|
24
|
+
return i.map(e.nodes(), function(t) {
|
|
25
|
+
var n = e.node(t), r = e.parent(t), a = { v: t };
|
|
26
|
+
return i.isUndefined(n) || (a.value = n), i.isUndefined(r) || (a.parent = r), a;
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
function c(e) {
|
|
30
|
+
return i.map(e.edges(), function(t) {
|
|
31
|
+
var n = e.edge(t), r = {
|
|
32
|
+
v: t.v,
|
|
33
|
+
w: t.w
|
|
34
|
+
};
|
|
35
|
+
return i.isUndefined(t.name) || (r.name = t.name), i.isUndefined(n) || (r.value = n), r;
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
function l(e) {
|
|
39
|
+
var t = new a(e.options).setGraph(e.value);
|
|
40
|
+
return i.each(e.nodes, function(e) {
|
|
41
|
+
t.setNode(e.v, e.value), e.parent && t.setParent(e.v, e.parent);
|
|
42
|
+
}), i.each(e.edges, function(e) {
|
|
43
|
+
t.setEdge({
|
|
44
|
+
v: e.v,
|
|
45
|
+
w: e.w,
|
|
46
|
+
name: e.name
|
|
47
|
+
}, e.value);
|
|
48
|
+
}), t;
|
|
49
|
+
}
|
|
50
|
+
}));
|
|
51
|
+
//#endregion
|
|
52
|
+
export default r();
|
|
53
|
+
export { r as require_json };
|
|
54
|
+
|
|
55
|
+
//# sourceMappingURL=json.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"json.js","names":[],"sources":["../../../../node_modules/graphlib/lib/json.js"],"sourcesContent":["var _ = require(\"./lodash\");\nvar Graph = require(\"./graph\");\n\nmodule.exports = {\n write: write,\n read: read\n};\n\nfunction write(g) {\n var json = {\n options: {\n directed: g.isDirected(),\n multigraph: g.isMultigraph(),\n compound: g.isCompound()\n },\n nodes: writeNodes(g),\n edges: writeEdges(g)\n };\n if (!_.isUndefined(g.graph())) {\n json.value = _.clone(g.graph());\n }\n return json;\n}\n\nfunction writeNodes(g) {\n return _.map(g.nodes(), function(v) {\n var nodeValue = g.node(v);\n var parent = g.parent(v);\n var node = { v: v };\n if (!_.isUndefined(nodeValue)) {\n node.value = nodeValue;\n }\n if (!_.isUndefined(parent)) {\n node.parent = parent;\n }\n return node;\n });\n}\n\nfunction writeEdges(g) {\n return _.map(g.edges(), function(e) {\n var edgeValue = g.edge(e);\n var edge = { v: e.v, w: e.w };\n if (!_.isUndefined(e.name)) {\n edge.name = e.name;\n }\n if (!_.isUndefined(edgeValue)) {\n edge.value = edgeValue;\n }\n return edge;\n });\n}\n\nfunction read(json) {\n var g = new Graph(json.options).setGraph(json.value);\n _.each(json.nodes, function(entry) {\n g.setNode(entry.v, entry.value);\n if (entry.parent) {\n g.setParent(entry.v, entry.parent);\n }\n });\n _.each(json.edges, function(entry) {\n g.setEdge({ v: entry.v, w: entry.w, name: entry.name }, entry.value);\n });\n return g;\n}\n"],"x_google_ignoreList":[0],"mappings":";;;;;CAAA,IAAI,IAAA,GAAA,EACA,IAAA,GAAA;AAEJ,GAAO,UAAU;EACR;EACD;EACP;CAED,SAAS,EAAM,GAAG;EAChB,IAAI,IAAO;GACT,SAAS;IACP,UAAU,EAAE,YAAY;IACxB,YAAY,EAAE,cAAc;IAC5B,UAAU,EAAE,YAAY;IACzB;GACD,OAAO,EAAW,EAAE;GACpB,OAAO,EAAW,EAAE;GACrB;AAID,SAHK,EAAE,YAAY,EAAE,OAAO,CAAC,KAC3B,EAAK,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,GAE1B;;CAGT,SAAS,EAAW,GAAG;AACrB,SAAO,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,GAAG;GAClC,IAAI,IAAY,EAAE,KAAK,EAAE,EACrB,IAAS,EAAE,OAAO,EAAE,EACpB,IAAO,EAAK,MAAG;AAOnB,UANK,EAAE,YAAY,EAAU,KAC3B,EAAK,QAAQ,IAEV,EAAE,YAAY,EAAO,KACxB,EAAK,SAAS,IAET;IACP;;CAGJ,SAAS,EAAW,GAAG;AACrB,SAAO,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,GAAG;GAClC,IAAI,IAAY,EAAE,KAAK,EAAE,EACrB,IAAO;IAAE,GAAG,EAAE;IAAG,GAAG,EAAE;IAAG;AAO7B,UANK,EAAE,YAAY,EAAE,KAAK,KACxB,EAAK,OAAO,EAAE,OAEX,EAAE,YAAY,EAAU,KAC3B,EAAK,QAAQ,IAER;IACP;;CAGJ,SAAS,EAAK,GAAM;EAClB,IAAI,IAAI,IAAI,EAAM,EAAK,QAAQ,CAAC,SAAS,EAAK,MAAM;AAUpD,SATA,EAAE,KAAK,EAAK,OAAO,SAAS,GAAO;AAEjC,GADA,EAAE,QAAQ,EAAM,GAAG,EAAM,MAAM,EAC3B,EAAM,UACR,EAAE,UAAU,EAAM,GAAG,EAAM,OAAO;IAEpC,EACF,EAAE,KAAK,EAAK,OAAO,SAAS,GAAO;AACjC,KAAE,QAAQ;IAAE,GAAG,EAAM;IAAG,GAAG,EAAM;IAAG,MAAM,EAAM;IAAM,EAAE,EAAM,MAAM;IACpE,EACK"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { __commonJSMin as e, __require as t } from "../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { require_isArray as n } from "../../lodash/isArray.js";
|
|
3
|
+
import { require_isFunction as r } from "../../lodash/isFunction.js";
|
|
4
|
+
import { require_keys as i } from "../../lodash/keys.js";
|
|
5
|
+
import { require_constant as a } from "../../lodash/constant.js";
|
|
6
|
+
import { require_map as o } from "../../lodash/map.js";
|
|
7
|
+
import { require_clone as s } from "../../lodash/clone.js";
|
|
8
|
+
import { require_each as c } from "../../lodash/each.js";
|
|
9
|
+
import { require_filter as l } from "../../lodash/filter.js";
|
|
10
|
+
import { require_has as u } from "../../lodash/has.js";
|
|
11
|
+
import { require_isEmpty as d } from "../../lodash/isEmpty.js";
|
|
12
|
+
import { require_isUndefined as f } from "../../lodash/isUndefined.js";
|
|
13
|
+
import { require_reduce as p } from "../../lodash/reduce.js";
|
|
14
|
+
import { require_size as m } from "../../lodash/size.js";
|
|
15
|
+
import { require_transform as h } from "../../lodash/transform.js";
|
|
16
|
+
import { require_union as g } from "../../lodash/union.js";
|
|
17
|
+
import { require_values as _ } from "../../lodash/values.js";
|
|
18
|
+
//#region node_modules/graphlib/lib/lodash.js
|
|
19
|
+
var v = /* @__PURE__ */ e(((e, v) => {
|
|
20
|
+
var y;
|
|
21
|
+
if (typeof t == "function") try {
|
|
22
|
+
y = {
|
|
23
|
+
clone: s(),
|
|
24
|
+
constant: a(),
|
|
25
|
+
each: c(),
|
|
26
|
+
filter: l(),
|
|
27
|
+
has: u(),
|
|
28
|
+
isArray: n(),
|
|
29
|
+
isEmpty: d(),
|
|
30
|
+
isFunction: r(),
|
|
31
|
+
isUndefined: f(),
|
|
32
|
+
keys: i(),
|
|
33
|
+
map: o(),
|
|
34
|
+
reduce: p(),
|
|
35
|
+
size: m(),
|
|
36
|
+
transform: h(),
|
|
37
|
+
union: g(),
|
|
38
|
+
values: _()
|
|
39
|
+
};
|
|
40
|
+
} catch {}
|
|
41
|
+
y ||= window._, v.exports = y;
|
|
42
|
+
}));
|
|
43
|
+
//#endregion
|
|
44
|
+
export default v();
|
|
45
|
+
export { v as require_lodash };
|
|
46
|
+
|
|
47
|
+
//# sourceMappingURL=lodash.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lodash.js","names":[],"sources":["../../../../node_modules/graphlib/lib/lodash.js"],"sourcesContent":["/* global window */\n\nvar lodash;\n\nif (typeof require === \"function\") {\n try {\n lodash = {\n clone: require(\"lodash/clone\"),\n constant: require(\"lodash/constant\"),\n each: require(\"lodash/each\"),\n filter: require(\"lodash/filter\"),\n has: require(\"lodash/has\"),\n isArray: require(\"lodash/isArray\"),\n isEmpty: require(\"lodash/isEmpty\"),\n isFunction: require(\"lodash/isFunction\"),\n isUndefined: require(\"lodash/isUndefined\"),\n keys: require(\"lodash/keys\"),\n map: require(\"lodash/map\"),\n reduce: require(\"lodash/reduce\"),\n size: require(\"lodash/size\"),\n transform: require(\"lodash/transform\"),\n union: require(\"lodash/union\"),\n values: require(\"lodash/values\")\n };\n } catch (e) {\n // continue regardless of error\n }\n}\n\nif (!lodash) {\n lodash = window._;\n}\n\nmodule.exports = lodash;\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;;;;;;;;CAEA,IAAI;AAEJ,KAAI,OAAA,KAAmB,WACrB,KAAI;AACF,MAAS;GACP,OAAA,GAAA;GACA,UAAA,GAAA;GACA,MAAA,GAAA;GACA,QAAA,GAAA;GACA,KAAA,GAAA;GACA,SAAA,GAAA;GACA,SAAA,GAAA;GACA,YAAA,GAAA;GACA,aAAA,GAAA;GACA,MAAA,GAAA;GACA,KAAA,GAAA;GACA,QAAA,GAAA;GACA,MAAA,GAAA;GACA,WAAA,GAAA;GACA,OAAA,GAAA;GACA,QAAA,GAAA;GACD;SACS;AASd,CAJA,AACE,MAAS,OAAO,GAGlB,EAAO,UAAU"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
//#region node_modules/graphlib/lib/version.js
|
|
3
|
+
var t = /* @__PURE__ */ e(((e, t) => {
|
|
4
|
+
t.exports = "2.1.8";
|
|
5
|
+
}));
|
|
6
|
+
//#endregion
|
|
7
|
+
export default t();
|
|
8
|
+
export { t as require_version };
|
|
9
|
+
|
|
10
|
+
//# sourceMappingURL=version.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"version.js","names":[],"sources":["../../../../node_modules/graphlib/lib/version.js"],"sourcesContent":["module.exports = '2.1.8';\n"],"x_google_ignoreList":[0],"mappings":";;;AAAA,GAAO,UAAU"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
//#region node_modules/lodash/_arrayEach.js
|
|
3
|
+
var t = /* @__PURE__ */ e(((e, t) => {
|
|
4
|
+
function n(e, t) {
|
|
5
|
+
for (var n = -1, r = e == null ? 0 : e.length; ++n < r && t(e[n], n, e) !== !1;);
|
|
6
|
+
return e;
|
|
7
|
+
}
|
|
8
|
+
t.exports = n;
|
|
9
|
+
}));
|
|
10
|
+
//#endregion
|
|
11
|
+
export default t();
|
|
12
|
+
export { t as require__arrayEach };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=_arrayEach.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_arrayEach.js","names":[],"sources":["../../../node_modules/lodash/_arrayEach.js"],"sourcesContent":["/**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\nfunction arrayEach(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (iteratee(array[index], index, array) === false) {\n break;\n }\n }\n return array;\n}\n\nmodule.exports = arrayEach;\n"],"x_google_ignoreList":[0],"mappings":";;;CASA,SAAS,EAAU,GAAO,GAAU;AAIlC,OAHA,IAAI,IAAQ,IACR,IAAS,KAAS,OAAO,IAAI,EAAM,QAEhC,EAAE,IAAQ,KACX,EAAS,EAAM,IAAQ,GAAO,EAAM,KAAK;AAI/C,SAAO;;AAGT,GAAO,UAAU"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
//#region node_modules/lodash/_arrayReduce.js
|
|
3
|
+
var t = /* @__PURE__ */ e(((e, t) => {
|
|
4
|
+
function n(e, t, n, r) {
|
|
5
|
+
var i = -1, a = e == null ? 0 : e.length;
|
|
6
|
+
for (r && a && (n = e[++i]); ++i < a;) n = t(n, e[i], i, e);
|
|
7
|
+
return n;
|
|
8
|
+
}
|
|
9
|
+
t.exports = n;
|
|
10
|
+
}));
|
|
11
|
+
//#endregion
|
|
12
|
+
export default t();
|
|
13
|
+
export { t as require__arrayReduce };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=_arrayReduce.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_arrayReduce.js","names":[],"sources":["../../../node_modules/lodash/_arrayReduce.js"],"sourcesContent":["/**\n * A specialized version of `_.reduce` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initAccum] Specify using the first element of `array` as\n * the initial value.\n * @returns {*} Returns the accumulated value.\n */\nfunction arrayReduce(array, iteratee, accumulator, initAccum) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n if (initAccum && length) {\n accumulator = array[++index];\n }\n while (++index < length) {\n accumulator = iteratee(accumulator, array[index], index, array);\n }\n return accumulator;\n}\n\nmodule.exports = arrayReduce;\n"],"x_google_ignoreList":[0],"mappings":";;;CAYA,SAAS,EAAY,GAAO,GAAU,GAAa,GAAW;EAC5D,IAAI,IAAQ,IACR,IAAS,KAAS,OAAO,IAAI,EAAM;AAKvC,OAHI,KAAa,MACf,IAAc,EAAM,EAAE,KAEjB,EAAE,IAAQ,GACf,KAAc,EAAS,GAAa,EAAM,IAAQ,GAAO,EAAM;AAEjE,SAAO;;AAGT,GAAO,UAAU"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { require__baseProperty as t } from "./_baseProperty.js";
|
|
3
|
+
//#region node_modules/lodash/_asciiSize.js
|
|
4
|
+
var n = /* @__PURE__ */ e(((e, n) => {
|
|
5
|
+
n.exports = t()("length");
|
|
6
|
+
}));
|
|
7
|
+
//#endregion
|
|
8
|
+
export default n();
|
|
9
|
+
export { n as require__asciiSize };
|
|
10
|
+
|
|
11
|
+
//# sourceMappingURL=_asciiSize.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_asciiSize.js","names":[],"sources":["../../../node_modules/lodash/_asciiSize.js"],"sourcesContent":["var baseProperty = require('./_baseProperty');\n\n/**\n * Gets the size of an ASCII `string`.\n *\n * @private\n * @param {string} string The string inspect.\n * @returns {number} Returns the string size.\n */\nvar asciiSize = baseProperty('length');\n\nmodule.exports = asciiSize;\n"],"x_google_ignoreList":[0],"mappings":";;;;AAWA,GAAO,UAFH,GAAA,CAAyB,SAAS"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { require_eq as t } from "./eq.js";
|
|
3
|
+
import { require__baseAssignValue as n } from "./_baseAssignValue.js";
|
|
4
|
+
//#region node_modules/lodash/_assignMergeValue.js
|
|
5
|
+
var r = /* @__PURE__ */ e(((e, r) => {
|
|
6
|
+
var i = n(), a = t();
|
|
7
|
+
function o(e, t, n) {
|
|
8
|
+
(n !== void 0 && !a(e[t], n) || n === void 0 && !(t in e)) && i(e, t, n);
|
|
9
|
+
}
|
|
10
|
+
r.exports = o;
|
|
11
|
+
}));
|
|
12
|
+
//#endregion
|
|
13
|
+
export default r();
|
|
14
|
+
export { r as require__assignMergeValue };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=_assignMergeValue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_assignMergeValue.js","names":[],"sources":["../../../node_modules/lodash/_assignMergeValue.js"],"sourcesContent":["var baseAssignValue = require('./_baseAssignValue'),\n eq = require('./eq');\n\n/**\n * This function is like `assignValue` except that it doesn't assign\n * `undefined` values.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignMergeValue(object, key, value) {\n if ((value !== undefined && !eq(object[key], value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nmodule.exports = assignMergeValue;\n"],"x_google_ignoreList":[0],"mappings":";;;;;CAAA,IAAI,IAAA,GAAA,EACA,IAAA,GAAA;CAWJ,SAAS,EAAiB,GAAQ,GAAK,GAAO;AAC5C,GAAK,MAAU,KAAA,KAAa,CAAC,EAAG,EAAO,IAAM,EAAM,IAC9C,MAAU,KAAA,KAAa,EAAE,KAAO,OACnC,EAAgB,GAAQ,GAAK,EAAM;;AAIvC,GAAO,UAAU"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { require_eq as t } from "./eq.js";
|
|
3
|
+
import { require__baseAssignValue as n } from "./_baseAssignValue.js";
|
|
4
|
+
//#region node_modules/lodash/_assignValue.js
|
|
5
|
+
var r = /* @__PURE__ */ e(((e, r) => {
|
|
6
|
+
var i = n(), a = t(), o = Object.prototype.hasOwnProperty;
|
|
7
|
+
function s(e, t, n) {
|
|
8
|
+
var r = e[t];
|
|
9
|
+
(!(o.call(e, t) && a(r, n)) || n === void 0 && !(t in e)) && i(e, t, n);
|
|
10
|
+
}
|
|
11
|
+
r.exports = s;
|
|
12
|
+
}));
|
|
13
|
+
//#endregion
|
|
14
|
+
export default r();
|
|
15
|
+
export { r as require__assignValue };
|
|
16
|
+
|
|
17
|
+
//# sourceMappingURL=_assignValue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_assignValue.js","names":[],"sources":["../../../node_modules/lodash/_assignValue.js"],"sourcesContent":["var baseAssignValue = require('./_baseAssignValue'),\n eq = require('./eq');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nmodule.exports = assignValue;\n"],"x_google_ignoreList":[0],"mappings":";;;;;CAAA,IAAI,IAAA,GAAA,EACA,IAAA,GAAA,EAMA,IAHc,OAAO,UAGQ;CAYjC,SAAS,EAAY,GAAQ,GAAK,GAAO;EACvC,IAAI,IAAW,EAAO;AACtB,GAAI,EAAE,EAAe,KAAK,GAAQ,EAAI,IAAI,EAAG,GAAU,EAAM,KACxD,MAAU,KAAA,KAAa,EAAE,KAAO,OACnC,EAAgB,GAAQ,GAAK,EAAM;;AAIvC,GAAO,UAAU"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { require_keys as t } from "./keys.js";
|
|
3
|
+
import { require__copyObject as n } from "./_copyObject.js";
|
|
4
|
+
//#region node_modules/lodash/_baseAssign.js
|
|
5
|
+
var r = /* @__PURE__ */ e(((e, r) => {
|
|
6
|
+
var i = n(), a = t();
|
|
7
|
+
function o(e, t) {
|
|
8
|
+
return e && i(t, a(t), e);
|
|
9
|
+
}
|
|
10
|
+
r.exports = o;
|
|
11
|
+
}));
|
|
12
|
+
//#endregion
|
|
13
|
+
export default r();
|
|
14
|
+
export { r as require__baseAssign };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=_baseAssign.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_baseAssign.js","names":[],"sources":["../../../node_modules/lodash/_baseAssign.js"],"sourcesContent":["var copyObject = require('./_copyObject'),\n keys = require('./keys');\n\n/**\n * The base implementation of `_.assign` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssign(object, source) {\n return object && copyObject(source, keys(source), object);\n}\n\nmodule.exports = baseAssign;\n"],"x_google_ignoreList":[0],"mappings":";;;;;CAAA,IAAI,IAAA,GAAA,EACA,IAAA,GAAA;CAWJ,SAAS,EAAW,GAAQ,GAAQ;AAClC,SAAO,KAAU,EAAW,GAAQ,EAAK,EAAO,EAAE,EAAO;;AAG3D,GAAO,UAAU"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { require__copyObject as t } from "./_copyObject.js";
|
|
3
|
+
import { require_keysIn as n } from "./keysIn.js";
|
|
4
|
+
//#region node_modules/lodash/_baseAssignIn.js
|
|
5
|
+
var r = /* @__PURE__ */ e(((e, r) => {
|
|
6
|
+
var i = t(), a = n();
|
|
7
|
+
function o(e, t) {
|
|
8
|
+
return e && i(t, a(t), e);
|
|
9
|
+
}
|
|
10
|
+
r.exports = o;
|
|
11
|
+
}));
|
|
12
|
+
//#endregion
|
|
13
|
+
export default r();
|
|
14
|
+
export { r as require__baseAssignIn };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=_baseAssignIn.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_baseAssignIn.js","names":[],"sources":["../../../node_modules/lodash/_baseAssignIn.js"],"sourcesContent":["var copyObject = require('./_copyObject'),\n keysIn = require('./keysIn');\n\n/**\n * The base implementation of `_.assignIn` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssignIn(object, source) {\n return object && copyObject(source, keysIn(source), object);\n}\n\nmodule.exports = baseAssignIn;\n"],"x_google_ignoreList":[0],"mappings":";;;;;CAAA,IAAI,IAAA,GAAA,EACA,IAAA,GAAA;CAWJ,SAAS,EAAa,GAAQ,GAAQ;AACpC,SAAO,KAAU,EAAW,GAAQ,EAAO,EAAO,EAAE,EAAO;;AAG7D,GAAO,UAAU"}
|