PageSourceSearch

https://getskill.work/assets/js/vendors-node_modules_pnpm_dagre-d3…_dagre-d3-es_src_dagre_index_js.f9728647.js

js getskill.work collected 2026-09-29 17:34:21 UTC 49,958 bytes, 1 lines download raw bytes

1"use strict";(()=>{(self.webpackChunk=self.webpackChunk||[]).push([["vendors-node_modules_pnpm_dagre-d3-es_7_0_13_node_modules_dagre-d3-es_src_dagre_index_js"],{"./node_modules/.pnpm/[email protected]/node_modules/dagre-d3-es/src/dagre/index.js"(X,x,f){f.d(x,{Zp:()=>fr});var u=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/forEach.js"),L=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/toString.js"),E=0;function w(e){var n=++E;return(0,L.A)(e)+n}const y=w;var P=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/constant.js"),j=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/flatten.js"),g=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/map.js"),R=Math.ceil,B=Math.max;function S(e,n,s,o){for(var r=-1,t=B(R((n-e)/(s||1)),0),d=Array(t);t--;)d[o?t:++r]=e,e+=s;return d}const U=S;var K=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_isIterateeCall.js"),F=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/toFinite.js");function W(e){return function(n,s,o){return o&&typeof o!="number"&&(0,K.A)(n,s,o)&&(s=o=void 0),n=(0,F.A)(n),s===void 0?(s=n,n=0):s=(0,F.A)(s),o=o===void 0?n<s?1:-1:(0,F.A)(o),U(n,s,o,e)}}var D=W();const I=D;var M=f("./node_modules/.pnpm/[email protected]/node_modules/dagre-d3-es/src/graphlib/index.js");class v{constructor(){var n={};n._next=n._prev=n,this._sentinel=n}dequeue(){var n=this._sentinel,s=n._prev;if(s!==n)return G(s),s}enqueue(n){var s=this._sentinel;n._prev&&n._next&&G(n),n._next=s._next,s._next._prev=n,s._next=n,n._prev=s}toString(){for(var n=[],s=this._sentinel,o=s._prev;o!==s;)n.push(JSON.stringify(o,H)),o=o._prev;return"["+n.join(", ")+"]"}}function G(e){e._prev._next=e._next,e._next._prev=e._prev,delete e._next,delete e._prev}function H(e,n){if(e!=="_next"&&e!=="_prev")return n}var me=P.A(1);function se(e,n){if(e.nodeCount()<=1)return[];var s=m(e,n||me),o=z(s.graph,s.buckets,s.zeroIdx);return j.A(g.A(o,function(r){return e.outEdges(r.v,r.w)}))}function z(e,n,s){for(var o=[],r=n[n.length-1],t=n[0],d;e.nodeCount();){for(;d=t.dequeue();)h(e,n,s,d);for(;d=r.dequeue();)h(e,n,s,d);if(e.nodeCount()){for(var a=n.length-2;a>0;--a)if(d=n[a].dequeue(),d){o=o.concat(h(e,n,s,d,!0));break}}}return o}function h(e,n,s,o,r){var t=r?[]:void 0;return u.A(e.inEdges(o.v),function(d){var a=e.edge(d),i=e.node(d.v);r&&t.push({v:d.v,w:d.w}),i.out-=a,_(n,s,i)}),u.A(e.outEdges(o.v),function(d){var a=e.edge(d),i=d.w,l=e.node(i);l.in-=a,_(n,s,l)}),e.removeNode(o.v),t}function m(e,n){var s=new M.T,o=0,r=0;u.A(e.nodes(),function(a){s.setNode(a,{v:a,in:0,out:0})}),u.A(e.edges(),function(a){var i=s.edge(a.v,a.w)||0,l=n(a),c=i+l;s.setEdge(a.v,a.w,c),r=Math.max(r,s.node(a.v).out+=l),o=Math.max(o,s.node(a.w).in+=l)});var t=I(r+o+3).map(function(){return new v}),d=o+1;return u.A(s.nodes(),function(a){_(t,d,s.node(a))}),{graph:s,buckets:t,zeroIdx:d}}function _(e,n,s){s.out?s.in?e[s.out-s.in+n].enqueue(s):e[e.length-1].enqueue(s):e[0].enqueue(s)}function b(e){var n=e.graph().acyclicer==="greedy"?se(e,s(e)):C(e);u.A(n,function(o){var r=e.edge(o);e.removeEdge(o),r.forwardName=o.name,r.reversed=!0,e.setEdge(o.w,o.v,r,y("rev"))});function s(o){return function(r){return o.edge(r).weight}}}function C(e){var n=[],s={},o={};function r(t){Object.prototype.hasOwnProperty.call(o,t)||(o[t]=!0,s[t]=!0,u.A(e.outEdges(t),function(d){Object.prototype.hasOwnProperty.call(s,d.w)?n.push(d):r(d.w)}),delete s[t])}return u.A(e.nodes(),r),n}function T(e){u.A(e.edges(),function(n){var s=e.edge(n);if(s.reversed){e.removeEdge(n);var o=s.forwardName;delete s.reversed,delete s.forwardName,e.setEdge(n.w,n.v,s,o)}})}var k=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/merge.js"),J=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_basePickBy.js"),mn=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/hasIn.js");function pn(e,n){return(0,J.A)(e,n,function(s,o){return(0,mn.A)(e,o)})}const vn=pn;var _n=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_overRest.js"),An=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_setToString.js");function gn(e){return(0,An.A)((0,_n.A)(e,void 0,j.A),e+"")}var bn=gn(function(e,n){return e==null?{}:vn(e,n)});const ie=bn;var En=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/defaults.js"),Le=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_baseExtremum.js");function wn(e,n){return e>n}const yn=wn;var Ce=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/identity.js");function jn(e){return e&&e.length?(0,Le.A)(e,Ce.A,yn):void 0}const $=jn;var ue=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/last.js"),On=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_baseAssignValue.js"),Ie=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_baseForOwn.js"),pe=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_baseIteratee.js");function Pn(e,n){var s={};return n=(0,pe.A)(n,3),(0,Ie.A)(e,function(o,r,t){(0,On.A)(s,r,n(o,r,t))}),s}const le=Pn;var Z=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/isUndefined.js"),oe=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/min.js"),Te=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/has.js"),xn=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_root.js"),Ln=function(){return xn.A.Date.now()};const Ne=Ln;var q;function ee(e,n,s,o){var r;do r=y(o);while(e.hasNode(r));return s.dummy=n,e.setNode(r,s),r}function Cn(e){var n=new M.T().setGraph(e.graph());return u.A(e.nodes(),function(s){n.setNode(s,e.node(s))}),u.A(e.edges(),function(s){var o=n.edge(s.v,s.w)||{weight:0,minlen:1},r=e.edge(s);n.setEdge(s.v,s.w,{weight:o.weight+r.weight,minlen:Math.max(o.minlen,r.minlen)})}),n}function Me(e){var n=new M.T({multigraph:e.isMultigraph()}).setGraph(e.graph());return u.A(e.nodes(),function(s){e.children(s).length||n.setNode(s,e.node(s))}),u.A(e.edges(),function(s){n.setEdge(s,e.edge(s))}),n}function Sr(e){var n=q.map(e.nodes(),function(s){var o={};return q.forEach(e.outEdges(s),function(r){o[r.w]=(o[r.w]||0)+e.edge(r).weight}),o});return q.zipObject(e.nodes(),n)}function kr(e){var n=q.map(e.nodes(),function(s){var o={};return q.forEach(e.inEdges(s),function(r){o[r.v]=(o[r.v]||0)+e.edge(r).weight}),o});return q.zipObject(e.nodes(),n)}function Re(e,n){var s=e.x,o=e.y,r=n.x-s,t=n.y-o,d=e.width/2,a=e.height/2;if(!r&&!t)throw new Error("Not possible to find intersection inside of the rectangle");var i,l;return Math.abs(t)*d>Math.abs(r)*a?(t<0&&(a=-a),i=a*r/t,l=a):(r<0&&(d=-d),i=d,l=d*t/r),{x:s+i,y:o+l}}function he(e){var n=g.A(I(Fe(e)+1),function(){return[]});
1return u.A(e.nodes(),function(s){var o=e.node(s),r=o.rank;Z.A(r)||(n[r][o.order]=s)}),n}function In(e){var n=oe.A(g.A(e.nodes(),function(s){return e.node(s).rank}));u.A(e.nodes(),function(s){var o=e.node(s);Te.A(o,"rank")&&(o.rank-=n)})}function Tn(e){var n=oe.A(g.A(e.nodes(),function(t){return e.node(t).rank})),s=[];u.A(e.nodes(),function(t){var d=e.node(t).rank-n;s[d]||(s[d]=[]),s[d].push(t)});var o=0,r=e.graph().nodeRankFactor;u.A(s,function(t,d){Z.A(t)&&d%r!==0?--o:o&&u.A(t,function(a){e.node(a).rank+=o})})}function De(e,n,s,o){var r={width:0,height:0};return arguments.length>=4&&(r.rank=s,r.order=o),ee(e,"border",r,n)}function Fe(e){return $(g.A(e.nodes(),function(n){var s=e.node(n).rank;if(!Z.A(s))return s}))}function Nn(e,n){var s={lhs:[],rhs:[]};return u.A(e,function(o){n(o)?s.lhs.push(o):s.rhs.push(o)}),s}function Mn(e,n){var s=Ne();try{return n()}finally{console.log(e+" time: "+(Ne()-s)+"ms")}}function Rn(e,n){return n()}function Dn(e){function n(s){var o=e.children(s),r=e.node(s);if(o.length&&u.A(o,n),Object.prototype.hasOwnProperty.call(r,"minRank")){r.borderLeft=[],r.borderRight=[];for(var t=r.minRank,d=r.maxRank+1;t<d;++t)Se(e,"borderLeft","_bl",s,r,t),Se(e,"borderRight","_br",s,r,t)}}u.A(e.children(),n)}function Se(e,n,s,o,r,t){var d={width:0,height:0,rank:t,borderType:n},a=r[n][t-1],i=ee(e,"border",d,s);r[n][t]=i,e.setParent(i,o),a&&e.setEdge(a,i,{weight:1})}function Fn(e){var n=e.graph().rankdir.toLowerCase();(n==="lr"||n==="rl")&&ke(e)}function Sn(e){var n=e.graph().rankdir.toLowerCase();(n==="bt"||n==="rl")&&kn(e),(n==="lr"||n==="rl")&&(Bn(e),ke(e))}function ke(e){u.A(e.nodes(),function(n){Be(e.node(n))}),u.A(e.edges(),function(n){Be(e.edge(n))})}function Be(e){var n=e.width;e.width=e.height,e.height=n}function kn(e){u.A(e.nodes(),function(n){ve(e.node(n))}),u.A(e.edges(),function(n){var s=e.edge(n);u.A(s.points,ve),Object.prototype.hasOwnProperty.call(s,"y")&&ve(s)})}function ve(e){e.y=-e.y}function Bn(e){u.A(e.nodes(),function(n){_e(e.node(n))}),u.A(e.edges(),function(n){var s=e.edge(n);u.A(s.points,_e),Object.prototype.hasOwnProperty.call(s,"x")&&_e(s)})}function _e(e){var n=e.x;e.x=e.y,e.y=n}function Un(e){e.graph().dummyChains=[],u.A(e.edges(),function(n){Wn(e,n)})}function Wn(e,n){var s=n.v,o=e.node(s).rank,r=n.w,t=e.node(r).rank,d=n.name,a=e.edge(n),i=a.labelRank;if(t!==o+1){e.removeEdge(n);var l=void 0,c,p;for(p=0,++o;o<t;++p,++o)a.points=[],l={width:0,height:0,edgeLabel:a,edgeObj:n,rank:o},c=ee(e,"edge",l,"_d"),o===i&&(l.width=a.width,l.height=a.height,l.dummy="edge-label",l.labelpos=a.labelpos),e.setEdge(s,c,{weight:a.weight},d),p===0&&e.graph().dummyChains.push(c),s=c;e.setEdge(s,r,{weight:a.weight},d)}}function Kn(e){u.A(e.graph().dummyChains,function(n){var s=e.node(n),o=s.edgeLabel,r;for(e.setEdge(s.edgeObj,o);s.dummy;)r=e.successors(n)[0],e.removeNode(n),o.points.push({x:s.x,y:s.y}),s.dummy==="edge-label"&&(o.x=s.x,o.y=s.y,o.width=s.width,o.height=s.height),n=r,s=e.node(n)})}var Vn=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_baseLt.js");function Gn(e,n){return e&&e.length?(0,Le.A)(e,(0,pe.A)(n,2),Vn.A):void 0}const Ae=Gn;function ge(e){var n={};function s(o){var r=e.node(o);if(Object.prototype.hasOwnProperty.call(n,o))return r.rank;n[o]=!0;var t=oe.A(g.A(e.outEdges(o),function(d){return s(d.w)-e.edge(d).minlen}));return(t===Number.POSITIVE_INFINITY||t===void 0||t===null)&&(t=0),r.rank=t}u.A(e.sources(),s)}function re(e,n){return e.node(n.w).rank-e.node(n.v).rank-e.edge(n).minlen}function Ue(e){var n=new M.T({directed:!1}),s=e.nodes()[0],o=e.nodeCount();n.setNode(s,{});for(var r,t;zn(n,e)<o;)r=Yn(n,e),t=n.hasNode(r.v)?re(e,r):-re(e,r),Xn(n,e,t);return n}function zn(e,n){function s(o){u.A(n.nodeEdges(o),function(r){var t=r.v,d=o===t?r.w:t;!e.hasNode(d)&&!re(n,r)&&(e.setNode(d,{}),e.setEdge(o,d,{}),s(d))})}return u.A(e.nodes(),s),e.nodeCount()}function Yn(e,n){return Ae(n.edges(),function(s){if(e.hasNode(s.v)!==e.hasNode(s.w))return re(n,s)})}function Xn(e,n,s){u.A(e.nodes(),function(o){n.node(o).rank+=s})}var be=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/find.js"),te=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/filter.js"),Hn,Zn=P.A(1);function Br(e,n,s,o){return Jn(e,String(n),s||Zn,o||function(r){return e.outEdges(r)})}function Jn(e,n,s,o){var r={},t=new Hn,d,a,i=function(l){var c=l.v!==d?l.v:l.w,p=r[c],A=s(l),O=a.distance+A;if(A<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+l+" Weight: "+A);O<p.distance&&(p.distance=O,p.predecessor=d,t.decrease(c,O))};
1for(e.nodes().forEach(function(l){var c=l===n?0:Number.POSITIVE_INFINITY;r[l]={distance:c},t.add(l,c)});t.size()>0&&(d=t.removeMin(),a=r[d],a.distance!==Number.POSITIVE_INFINITY);)o(d).forEach(i);return r}var $n,Qn;function Ur(e,n,s){return $n.transform(e.nodes(),function(o,r){o[r]=Qn(e,r,n,s)},{})}var qn=P.A(1);function Wr(e,n,s){return es(e,n||qn,s||function(o){return e.outEdges(o)})}function es(e,n,s){var o={},r=e.nodes();return r.forEach(function(t){o[t]={},o[t][t]={distance:0},r.forEach(function(d){t!==d&&(o[t][d]={distance:Number.POSITIVE_INFINITY})}),s(t).forEach(function(d){var a=d.v===t?d.w:d.v,i=n(d);o[t][a]={distance:i,predecessor:t}})}),r.forEach(function(t){var d=o[t];r.forEach(function(a){var i=o[a];r.forEach(function(l){var c=i[t],p=d[l],A=i[l],O=c.distance+p.distance;O<A.distance&&(A.distance=O,A.predecessor=p.predecessor)})})}),o}var ns=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_baseKeys.js"),ss=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_getTag.js"),os=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/isArrayLike.js"),rs=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/isString.js"),ts=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_baseProperty.js"),ds=(0,ts.A)("length");const as=ds;var is="\\ud800-\\udfff",us="\\u0300-\\u036f",ls="\\ufe20-\\ufe2f",hs="\\u20d0-\\u20ff",fs=us+ls+hs,cs="\\ufe0e\\ufe0f",ms="\\u200d",ps=RegExp("["+ms+is+fs+cs+"]");function vs(e){return ps.test(e)}const _s=vs;var We="\\ud800-\\udfff",As="\\u0300-\\u036f",gs="\\ufe20-\\ufe2f",bs="\\u20d0-\\u20ff",Es=As+gs+bs,ws="\\ufe0e\\ufe0f",ys="["+We+"]",Ee="["+Es+"]",we="\\ud83c[\\udffb-\\udfff]",js="(?:"+Ee+"|"+we+")",Ke="[^"+We+"]",Ve="(?:\\ud83c[\\udde6-\\uddff]){2}",Ge="[\\ud800-\\udbff][\\udc00-\\udfff]",Os="\\u200d",ze=js+"?",Ye="["+ws+"]?",Ps="(?:"+Os+"(?:"+[Ke,Ve,Ge].join("|")+")"+Ye+ze+")*",xs=Ye+ze+Ps,Ls="(?:"+[Ke+Ee+"?",Ee,Ve,Ge,ys].join("|")+")",Xe=RegExp(we+"(?="+we+")|"+Ls+xs,"g");function Cs(e){for(var n=Xe.lastIndex=0;Xe.test(e);)++n;return n}const Is=Cs;function Ts(e){return _s(e)?Is(e):as(e)}const Ns=Ts;var Ms="[object Map]",Rs="[object Set]";function Ds(e){if(e==null)return 0;if((0,os.A)(e))return(0,rs.A)(e)?Ns(e):e.length;var n=(0,ss.A)(e);return n==Ms||n==Rs?e.size:(0,ns.A)(e).length}const Fs=Ds;Ss.CycleException=fe;function Ss(e){var n={},s={},o=[];function r(t){if(Object.prototype.hasOwnProperty.call(s,t))throw new fe;Object.prototype.hasOwnProperty.call(n,t)||(s[t]=!0,n[t]=!0,u.A(e.predecessors(t),r),delete s[t],o.push(t))}if(u.A(e.sinks(),r),Fs(n)!==e.nodeCount())throw new fe;return o}function fe(){}fe.prototype=new Error;var ks,Bs;function Kr(e){try{ks(e)}catch(n){if(n instanceof Bs)return!1;throw n}return!0}var He=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/isArray.js");function Ze(e,n,s){He.A(n)||(n=[n]);var o=(e.isDirected()?e.successors:e.neighbors).bind(e),r=[],t={};return u.A(n,function(d){if(!e.hasNode(d))throw new Error("Graph does not have node: "+d);Je(e,d,s==="post",t,o,r)}),r}function Je(e,n,s,o,r,t){Object.prototype.hasOwnProperty.call(o,n)||(o[n]=!0,s||t.push(n),u.A(r(n),function(d){Je(e,d,s,o,r,t)}),s&&t.push(n))}function Us(e,n){return Ze(e,n,"post")}function Ws(e,n){return Ze(e,n,"pre")}var Vr=f("./node_modules/.pnpm/[email protected]/node_modules/dagre-d3-es/src/graphlib/graph.js"),Ks,Vs,Gs;function Gr(e,n){var s=new Gs,o={},r=new Vs,t;function d(i){var l=i.v===t?i.w:i.v,c=r.priority(l);if(c!==void 0){var p=n(i);p<c&&(o[l]=t,r.decrease(l,p))}}if(e.nodeCount()===0)return s;Ks.each(e.nodes(),function(i){r.add(i,Number.POSITIVE_INFINITY),s.setNode(i)}),r.decrease(e.nodes()[0],0);for(var a=!1;r.size()>0;){if(t=r.removeMin(),Object.prototype.hasOwnProperty.call(o,t))s.setEdge(t,o[t]);else{if(a)throw new Error("Input graph is not connected: "+e);a=!0}e.nodeEdges(t).forEach(d)}return s}Q.initLowLimValues=je,Q.initCutValues=ye,Q.calcCutValue=$e,Q.leaveEdge=qe,Q.enterEdge=en,Q.exchangeEdges=nn;function Q(e){e=Cn(e),ge(e);var n=Ue(e);je(n),ye(n,e);for(var s,o;s=qe(n);)o=en(n,e,s),nn(n,e,s,o)}
1function ye(e,n){var s=Us(e,e.nodes());s=s.slice(0,s.length-1),u.A(s,function(o){zs(e,n,o)})}function zs(e,n,s){var o=e.node(s),r=o.parent;e.edge(s,r).cutvalue=$e(e,n,s)}function $e(e,n,s){var o=e.node(s),r=o.parent,t=!0,d=n.edge(s,r),a=0;return d||(t=!1,d=n.edge(r,s)),a=d.weight,u.A(n.nodeEdges(s),function(i){var l=i.v===s,c=l?i.w:i.v;if(c!==r){var p=l===t,A=n.edge(i).weight;if(a+=p?A:-A,Xs(e,s,c)){var O=e.edge(s,c).cutvalue;a+=p?-O:O}}}),a}function je(e,n){arguments.length<2&&(n=e.nodes()[0]),Qe(e,{},1,n)}function Qe(e,n,s,o,r){var t=s,d=e.node(o);return n[o]=!0,u.A(e.neighbors(o),function(a){Object.prototype.hasOwnProperty.call(n,a)||(s=Qe(e,n,s,a,o))}),d.low=t,d.lim=s++,r?d.parent=r:delete d.parent,s}function qe(e){return be.A(e.edges(),function(n){return e.edge(n).cutvalue<0})}function en(e,n,s){var o=s.v,r=s.w;n.hasEdge(o,r)||(o=s.w,r=s.v);var t=e.node(o),d=e.node(r),a=t,i=!1;t.lim>d.lim&&(a=d,i=!0);var l=te.A(n.edges(),function(c){return i===sn(e,e.node(c.v),a)&&i!==sn(e,e.node(c.w),a)});return Ae(l,function(c){return re(n,c)})}function nn(e,n,s,o){var r=s.v,t=s.w;e.removeEdge(r,t),e.setEdge(o.v,o.w,{}),je(e),ye(e,n),Ys(e,n)}function Ys(e,n){var s=be.A(e.nodes(),function(r){return!n.node(r).parent}),o=Ws(e,s);o=o.slice(1),u.A(o,function(r){var t=e.node(r).parent,d=n.edge(r,t),a=!1;d||(d=n.edge(t,r),a=!0),n.node(r).rank=n.node(t).rank+(a?d.minlen:-d.minlen)})}function Xs(e,n,s){return e.hasEdge(n,s)}function sn(e,n,s){return s.low<=n.lim&&n.lim<=s.lim}function Hs(e){switch(e.graph().ranker){case"network-simplex":on(e);break;case"tight-tree":Js(e);break;case"longest-path":Zs(e);break;default:on(e)}}var Zs=ge;function Js(e){ge(e),Ue(e)}function on(e){Q(e)}var ne=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/values.js"),ce=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/reduce.js");function $s(e){var n=ee(e,"root",{},"_root"),s=Qs(e),o=$(ne.A(s))-1,r=2*o+1;e.graph().nestingRoot=n,u.A(e.edges(),function(d){e.edge(d).minlen*=r});var t=qs(e)+1;u.A(e.children(),function(d){rn(e,n,r,t,o,s,d)}),e.graph().nodeRankFactor=r}function rn(e,n,s,o,r,t,d){var a=e.children(d);if(!a.length){d!==n&&e.setEdge(n,d,{weight:0,minlen:s});return}var i=De(e,"_bt"),l=De(e,"_bb"),c=e.node(d);e.setParent(i,d),c.borderTop=i,e.setParent(l,d),c.borderBottom=l,u.A(a,function(p){rn(e,n,s,o,r,t,p);var A=e.node(p),O=A.borderTop?A.borderTop:p,N=A.borderBottom?A.borderBottom:p,Y=A.borderTop?o:2*o,ae=O!==N?1:r-t[d]+1;e.setEdge(i,O,{weight:Y,minlen:ae,nestingEdge:!0}),e.setEdge(N,l,{weight:Y,minlen:ae,nestingEdge:!0})}),e.parent(d)||e.setEdge(n,i,{weight:0,minlen:r+t[d]})}function Qs(e){var n={};function s(o,r){var t=e.children(o);t&&t.length&&u.A(t,function(d){s(d,r+1)}),n[o]=r}return u.A(e.children(),function(o){s(o,1)}),n}function qs(e){return ce.A(e.edges(),function(n,s){return n+e.edge(s).weight},0)}function eo(e){var n=e.graph();e.removeNode(n.nestingRoot),delete n.nestingRoot,u.A(e.edges(),function(s){var o=e.edge(s);o.nestingEdge&&e.removeEdge(s)})}var no=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_baseClone.js"),so=1,oo=4;function ro(e){return(0,no.A)(e,so|oo)}const to=ro;function ao(e,n,s){var o={},r;u.A(s,function(t){for(var d=e.parent(t),a,i;d;){if(a=e.parent(d),a?(i=o[a],o[a]=d):(i=r,r=d),i&&i!==d){n.setEdge(i,d);return}d=a}})}function io(e,n,s){var o=uo(e),r=new M.T({compound:!0}).setGraph({root:o}).setDefaultNodeLabel(function(t){return e.node(t)});return u.A(e.nodes(),function(t){var d=e.node(t),a=e.parent(t);(d.rank===n||d.minRank<=n&&n<=d.maxRank)&&(r.setNode(t),r.setParent(t,a||o),u.A(e[s](t),function(i){var l=i.v===t?i.w:i.v,c=r.edge(l,t),p=Z.A(c)?0:c.weight;r.setEdge(l,t,{weight:e.edge(i).weight+p})}),Object.prototype.hasOwnProperty.call(d,"minRank")&&r.setNode(t,{borderLeft:d.borderLeft[n],borderRight:d.borderRight[n]}))}),r}function uo(e){for(var n;e.hasNode(n=y("_root")););return n}var lo=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_assignValue.js");function ho(e,n,s){for(var o=-1,r=e.length,t=n.length,d={};++o<r;){var a=o<t?n[o]:void 0;s(d,e[o],a)}return d}const fo=ho;function co(e,n){return fo(e||[],n||[],lo.A)}const mo=co;var po=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_baseFlatten.js"),Oe=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_arrayMap.js"),vo=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_baseGet.js"),_o=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_baseMap.js");function Ao(e,n){var s=e.length;for(e.sort(n);s--;)e[s]=e[s].value;return e}const go=Ao;var bo=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_baseUnary.js"),tn=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/isSymbol.js");function Eo(e,n){if(e!==n){var s=e!==void 0,o=e===null,r=e===e,t=(0,tn.A)(e),d=n!==void 0,a=n===null,i=n===n,l=(0,tn.A)(n);if(!a&&!l&&!t&&e>n||t&&d&&i&&!a&&!l||o&&d&&i||!s&&i||!r)return 1;if(!o&&!t&&!l&&e<n||l&&s&&r&&!o&&!t||a&&s&&r||!d&&r||!i)return-1}return 0}const wo=Eo;function yo(e,n,s){for(var o=-1,r=e.criteria,t=n.criteria,d=r.length,a=s.length;++o<d;){var i=wo(r[o],t[o]);if(i){if(o>=a)return i;var l=s[o];return i*(l=="desc"?-1:1)}}return e.index-n.index}const jo=yo;function Oo(e,n,s){n.length?n=(0,Oe.A)(n,function(t){return(0,He.A)(t)?function(d){return(0,vo.A)(d,t.length===1?t[0]:t)}:t}):n=[Ce.A];var o=-1;n=(0,Oe.A)(n,(0,bo.A)(pe.A));var r=(0,_o.A)(e,function(t,d,a){var i=(0,Oe.A)(n,function(l){return l(t)});return{criteria:i,index:++o,value:t}});return go(r,function(t,d){return jo(t,d,s)})}const Po=Oo;var xo=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_baseRest.js"),Lo=(0,xo.A)(function(e,n){if(e==null)return[];var s=n.length;return s>1&&(0,K.A)(e,n[0],n[1])?n=[]:s>2&&(0,K.A)(n[0],n[1],n[2])&&(n=[n[0]]),Po(e,(0,po.A)(n,1),[])});const de=Lo;function Co(e,n){for(var s=0,o=1;o<n.length;++o)s+=Io(e,n[o-1],n[o]);return s}function Io(e,n,s){for(var o=mo(s,g.A(s,function(l,c){return c})),r=j.A(g.A(n,function(l){return de(g.A(e.outEdges(l),function(c){return{pos:o[c.w],weight:e.edge(c).weight}}),"pos")})),t=1;t<s.length;)t<<=1;var d=2*t-1;t-=1;var a=g.A(new Array(d),function(){return 0}),i=0;return u.A(r.forEach(function(l){var c=l.pos+t;a[c]+=l.weight;for(var p=0;c>0;)c%2&&(p+=a[c+1]),c=c-1>>1,a[c]+=l.weight;i+=l.weight*p})),i}function To(e){var n={},s=te.A(e.nodes(),function(a){return!e.children(a).length}
vendor: 13,981 bytes, line 1
1),o=$(g.A(s,function(a){return e.node(a).rank})),r=g.A(I(o+1),function(){return[]});function t(a){if(!Te.A(n,a)){n[a]=!0;var i=e.node(a);r[i.rank].push(a),u.A(e.successors(a),t)}}var d=de(s,function(a){return e.node(a).rank});return u.A(d,t),r}function No(e,n){return g.A(n,function(s){var o=e.inEdges(s);if(o.length){var r=ce.A(o,function(t,d){var a=e.edge(d),i=e.node(d.v);return{sum:t.sum+a.weight*i.order,weight:t.weight+a.weight}},{sum:0,weight:0});return{v:s,barycenter:r.sum/r.weight,weight:r.weight}}else return{v:s}})}function Mo(e,n){var s={};u.A(e,function(r,t){var d=s[r.v]={indegree:0,in:[],out:[],vs:[r.v],i:t};Z.A(r.barycenter)||(d.barycenter=r.barycenter,d.weight=r.weight)}),u.A(n.edges(),function(r){var t=s[r.v],d=s[r.w];!Z.A(t)&&!Z.A(d)&&(d.indegree++,t.out.push(s[r.w]))});var o=te.A(s,function(r){return!r.indegree});return Ro(o)}function Ro(e){var n=[];function s(t){return function(d){d.merged||(Z.A(d.barycenter)||Z.A(t.barycenter)||d.barycenter>=t.barycenter)&&Do(t,d)}}function o(t){return function(d){d.in.push(t),--d.indegree===0&&e.push(d)}}for(;e.length;){var r=e.pop();n.push(r),u.A(r.in.reverse(),s(r)),u.A(r.out,o(r))}return g.A(te.A(n,function(t){return!t.merged}),function(t){return ie(t,["vs","i","barycenter","weight"])})}function Do(e,n){var s=0,o=0;e.weight&&(s+=e.barycenter*e.weight,o+=e.weight),n.weight&&(s+=n.barycenter*n.weight,o+=n.weight),e.vs=n.vs.concat(e.vs),e.barycenter=s/o,e.weight=o,e.i=Math.min(n.i,e.i),n.merged=!0}function Fo(e,n){var s=Nn(e,function(c){return Object.prototype.hasOwnProperty.call(c,"barycenter")}),o=s.lhs,r=de(s.rhs,function(c){return-c.i}),t=[],d=0,a=0,i=0;o.sort(So(!!n)),i=dn(t,r,i),u.A(o,function(c){i+=c.vs.length,t.push(c.vs),d+=c.barycenter*c.weight,a+=c.weight,i=dn(t,r,i)});var l={vs:j.A(t)};return a&&(l.barycenter=d/a,l.weight=a),l}function dn(e,n,s){for(var o;n.length&&(o=ue.A(n)).i<=s;)n.pop(),e.push(o.vs),s++;return s}function So(e){return function(n,s){return n.barycenter<s.barycenter?-1:n.barycenter>s.barycenter?1:e?s.i-n.i:n.i-s.i}}function an(e,n,s,o){var r=e.children(n),t=e.node(n),d=t?t.borderLeft:void 0,a=t?t.borderRight:void 0,i={};d&&(r=te.A(r,function(N){return N!==d&&N!==a}));var l=No(e,r);u.A(l,function(N){if(e.children(N.v).length){var Y=an(e,N.v,s,o);i[N.v]=Y,Object.prototype.hasOwnProperty.call(Y,"barycenter")&&Bo(N,Y)}});var c=Mo(l,s);ko(c,i);var p=Fo(c,o);if(d&&(p.vs=j.A([d,p.vs,a]),e.predecessors(d).length)){var A=e.node(e.predecessors(d)[0]),O=e.node(e.predecessors(a)[0]);Object.prototype.hasOwnProperty.call(p,"barycenter")||(p.barycenter=0,p.weight=0),p.barycenter=(p.barycenter*p.weight+A.order+O.order)/(p.weight+2),p.weight+=2}return p}function ko(e,n){u.A(e,function(s){s.vs=j.A(s.vs.map(function(o){return n[o]?n[o].vs:o}))})}function Bo(e,n){Z.A(e.barycenter)?(e.barycenter=n.barycenter,e.weight=n.weight):(e.barycenter=(e.barycenter*e.weight+n.barycenter*n.weight)/(e.weight+n.weight),e.weight+=n.weight)}function Uo(e){var n=Fe(e),s=un(e,I(1,n+1),"inEdges"),o=un(e,I(n-1,-1,-1),"outEdges"),r=To(e);ln(e,r);for(var t=Number.POSITIVE_INFINITY,d,a=0,i=0;i<4;++a,++i){Wo(a%2?s:o,a%4>=2),r=he(e);var l=Co(e,r);l<t&&(i=0,d=to(r),t=l)}ln(e,d)}function un(e,n,s){return g.A(n,function(o){return io(e,o,s)})}function Wo(e,n){var s=new M.T;u.A(e,function(o){var r=o.graph().root,t=an(o,r,s,n);u.A(t.vs,function(d,a){o.node(d).order=a}),ao(o,s,t.vs)})}function ln(e,n){u.A(n,function(s){u.A(s,function(o,r){e.node(o).order=r})})}function Ko(e){var n=Go(e);u.A(e.graph().dummyChains,function(s){for(var o=e.node(s),r=o.edgeObj,t=Vo(e,n,r.v,r.w),d=t.path,a=t.lca,i=0,l=d[i],c=!0;s!==r.w;){if(o=e.node(s),c){for(;(l=d[i])!==a&&e.node(l).maxRank<o.rank;)i++;l===a&&(c=!1)}if(!c){for(;i<d.length-1&&e.node(l=d[i+1]).minRank<=o.rank;)i++;l=d[i]}e.setParent(s,l),s=e.successors(s)[0]}})}function Vo(e,n,s,o){var r=[],t=[],d=Math.min(n[s].low,n[o].low),a=Math.max(n[s].lim,n[o].lim),i,l;i=s;do i=e.parent(i),r.push(i);while(i&&(n[i].low>d||a>n[i].lim));for(l=i,i=o;(i=e.parent(i))!==l;)t.push(i);return{path:r.concat(t.reverse()),lca:l}}function Go(e){var n={},s=0;function o(r){var t=s;u.A(e.children(r),o),n[r]={low:t,lim:s++}}return u.A(e.children(),o),n}var hn=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_castFunction.js");function zo(e,n){return e&&(0,Ie.A)(e,(0,hn.A)(n))}const Yo=zo;var Xo=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_baseFor.js"),Ho=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/keysIn.js");function Zo(e,n){return e==null?e:(0,Xo.A)(e,(0,hn.A)(n),Ho.A)}const Jo=Zo;function $o(e,n){var s={};function o(r,t){var d=0,a=0,i=r.length,l=ue.A(t);return u.A(t,function(c,p){var A=qo(e,c),O=A?e.node(A).order:i;(A||c===l)&&(u.A(t.slice(a,p+1),function(N){u.A(e.predecessors(N),function(Y){var ae=e.node(Y),cn=ae.order;(cn<d||O<cn)&&!(ae.dummy&&e.node(N).dummy)&&fn(s,Y,N)})}),a=p+1,d=O)}),t}return ce.A(n,o),s}function Qo(e,n){var s={};function o(t,d,a,i,l){var c;u.A(I(d,a),function(p){c=t[p],e.node(c).dummy&&u.A(e.predecessors(c),function(A){var O=e.node(A);O.dummy&&(O.order<i||O.order>l)&&fn(s,A,c)})})}function r(t,d){var a=-1,i,l=0;return u.A(d,function(c,p){if(e.node(c).dummy==="border"){var A=e.predecessors(c);A.length&&(i=e.node(A[0]).order,o(d,l,p,a,i),l=p,a=i)}o(d,l,d.length,i,t.length)}),d}return ce.A(n,r),s}function qo(e,n){if(e.node(n).dummy)return be.A(e.predecessors(n),function(s){return e.node(s).dummy})}function fn(e,n,s){if(n>s){var o=n;n=s,s=o}Object.prototype.hasOwnProperty.call(e,n)||Object.defineProperty(e,n,{enumerable:!0,configurable:!0,value:{},writable:!0});var r=e[n];Object.defineProperty(r,s,{enumerable:!0,configurable:!0,value:!0,writable:!0})}function er(e,n,s){if(n>s){var o=n;n=s,s=o}return!!e[n]&&Object.prototype.hasOwnProperty.call(e[n],s)}function nr(e,n,s,o){var r={},t={},d={};return u.A(n,function(a){u.A(a,function(i,l){r[i]=i,t[i]=i,d[i]=l})}),u.A(n,function(a){var i=-1;u.A(a,function(l){var c=o(l);if(c.length){c=de(c,function(Y){return d[Y]});for(var p=(c.length-1)/2,A=Math.floor(p),O=Math.ceil(p);A<=O;++A){var N=c[A];t[l]===l&&i<d[N]&&!er(s,l,N)&&(t[N]=l,t[l]=r[l]=r[N],i=d[N])}}})}),{root:r,align:t}}function sr(e,n,s,o,r){var t={},d=or(e,n,s,r),a=r?"borderLeft":"borderRight";function i(p,A){for(var O=d.nodes(),N=O.pop(),Y={};N;)Y[N]?p(N):(Y[N]=!0,O.push(N),O=O.concat(A(N))),N=O.pop()}function l(p){t[p]=d.inEdges(p).reduce(function(A,O){return Math.max(A,t[O.v]+d.edge(O))},0)}function c(p){var A=d.outEdges(p).reduce(function(N,Y){return Math.min(N,t[Y.w]-d.edge(Y))},Number.POSITIVE_INFINITY),O=e.node(p);A!==Number.POSITIVE_INFINITY&&O.borderType!==a&&(t[p]=Math.max(t[p],A))}return i(l,d.predecessors.bind(d)),i(c,d.successors.bind(d)),u.A(o,function(p){t[p]=t[s[p]]}),t}function or(e,n,s,o){var r=new M.T,t=e.graph(),d=ir(t.nodesep,t.edgesep,o);return u.A(n,function(a){var i;u.A(a,function(l){var c=s[l];if(r.setNode(c),i){var p=s[i],A=r.edge(p,c);r.setEdge(p,c,Math.max(d(e,l,i),A||0))}i=l})}),r}function rr(e,n){return Ae(ne.A(n),function(s){var o=Number.NEGATIVE_INFINITY,r=Number.POSITIVE_INFINITY;return Jo(s,function(t,d){var a=ur(e,d)/2;o=Math.max(t+a,o),r=Math.min(t-a,r)}),o-r})}function tr(e,n){var s=ne.A(n),o=oe.A(s),r=$(s);u.A(["u","d"],function(t){u.A(["l","r"],function(d){var a=t+d,i=e[a],l;if(i!==n){var c=ne.A(i);l=d==="l"?o-oe.A(c):r-$(c),l&&(e[a]=le(i,function(p){return p+l}))}})})}function dr(e,n){return le(e.ul,function(s,o){if(n)return e[n.toLowerCase()][o];var r=de(g.A(e,o));return(r[1]+r[2])/2})}function ar(e){var n=he(e),s=k.A($o(e,n),Qo(e,n)),o={},r;u.A(["u","d"],function(d){r=d==="u"?n:ne.A(n).reverse(),u.A(["l","r"],function(a){a==="r"&&(r=g.A(r,function(p){return ne.A(p).reverse()}));var i=(d==="u"?e.predecessors:e.successors).bind(e),l=nr(e,r,s,i),c=sr(e,r,l.root,l.align,a==="r");a==="r"&&(c=le(c,function(p){return-p})),o[d+a]=c})});var t=rr(e,o);return tr(o,t),dr(o,e.graph().align)}function ir(e,n,s){return function(o,r,t){var d=o.node(r),a=o.node(t),i=0,l;if(i+=d.width/2,Object.prototype.hasOwnProperty.call(d,"labelpos"))switch(d.labelpos.toLowerCase()){case"l":l=-d.width/2;break;case"r":l=d.width/2;break}if(l&&(i+=s?l:-l),l=0,i+=(d.dummy?n:e)/2,i+=(a.dummy?n:e)/2,i+=a.width/2,Object.prototype.hasOwnProperty.call(a,"labelpos"))switch(a.labelpos.toLowerCase()){case"l":l=a.width/2;break;case"r":l=-a.width/2;break}return l&&(i+=s?l:-l),l=0,i}}function ur(e,n){return e.node(n).width}function lr(e){e=Me(e),hr(e),Yo(ar(e),function(n,s){e.node(s).x=n})}function hr(e){var n=he(e),s=e.graph().ranksep,o=0;u.A(n,function(r){var t=$(g.A(r,function(d){return e.node(d).height}));u.A(r,function(d){e.node(d).y=o+t/2}),o+=t+s})}function fr(e,n){var s=n&&n.debugTiming?Mn:Rn;s("layout",()=>{var o=s("  buildLayoutGraph",()=>yr(e));s("  runLayout",()=>cr(o,s)),s("  updateInputGraph",()=>mr(e,o))})}function cr(e,n){n("    makeSpaceForEdgeLabels",()=>jr(e)),n("    removeSelfEdges",()=>Mr(e)),n("    acyclic",()=>b(e)),n("    nestingGraph.run",()=>$s(e)),n("    rank",()=>Hs(Me(e))),n("    injectEdgeLabelProxies",()=>Or(e)),n("    removeEmptyRanks",()=>Tn(e)),n("    nestingGraph.cleanup",()=>eo(e)),n("    normalizeRanks",()=>In(e)),n("    assignRankMinMax",()=>Pr(e)),n("    removeEdgeLabelProxies",()=>xr(e)),n("    normalize.run",()=>Un(e)),n("    parentDummyChains",()=>Ko(e)),n("    addBorderSegments",()=>Dn(e)),n("    order",()=>Uo(e)),n("    insertSelfEdges",()=>Rr(e)),n("    adjustCoordinateSystem",()=>Fn(e)),n("    position",()=>lr(e)),n("    positionSelfEdges",()=>Dr(e)),n("    removeBorderNodes",()=>Nr(e)),n("    normalize.undo",()=>Kn(e)),n("    fixupEdgeLabelCoords",()=>Ir(e)),n("    undoCoordinateSystem",()=>Sn(e)),n("    translateGraph",()=>Lr(e)),n("    assignNodeIntersects",()=>Cr(e)),n("    reversePoints",()=>Tr(e)),n("    acyclic.undo",()=>T(e))}function mr(e,n){u.A(e.nodes(),function(s){var o=e.node(s),r=n.node(s);o&&(o.x=r.x,o.y=r.y,n.children(s).length&&(o.width=r.width,o.height=r.height))}),u.A(e.edges(),function(s){var o=e.edge(s),r=n.edge(s);o.points=r.points,Object.prototype.hasOwnProperty.call(r,"x")&&(o.x=r.x,o.y=r.y)}),e.graph().width=n.graph().width,e.graph().height=n.graph().height}var pr=["nodesep","edgesep","ranksep","marginx","marginy"],vr={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},_r=["acyclicer","ranker","rankdir","align"],Ar=["width","height"],gr={width:0,height:0},br=["minlen","weight","width","height","labeloffset"],Er={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},wr=["labelpos"];function yr(e){var n=new M.T({multigraph:!0,compound:!0}),s=xe(e.graph());return n.setGraph(k.A({},vr,Pe(s,pr),ie(s,_r))),u.A(e.nodes(),function(o){var r=xe(e.node(o));n.setNode(o,En.A(Pe(r,Ar),gr)),n.setParent(o,e.parent(o))}),u.A(e.edges(),function(o){var r=xe(e.edge(o));n.setEdge(o,k.A({},Er,Pe(r,br),ie(r,wr)))}),n}function jr(e){var n=e.graph();n.ranksep/=2,u.A(e.edges(),function(s){var o=e.edge(s);o.minlen*=2,o.labelpos.toLowerCase()!=="c"&&(n.rankdir==="TB"||n.rankdir==="BT"?o.width+=o.labeloffset:o.height+=o.labeloffset)})}function Or(e){u.A(e.edges(),function(n){var s=e.edge(n);if(s.width&&s.height){var o=e.node(n.v),r=e.node(n.w),t={rank:(r.rank-o.rank)/2+o.rank,e:n};ee(e,"edge-proxy",t,"_ep")}})}function Pr(e){var n=0;u.A(e.nodes(),function(s){var o=e.node(s);o.borderTop&&(o.minRank=e.node(o.borderTop).rank,o.maxRank=e.node(o.borderBottom).rank,n=$(n,o.maxRank))}),e.graph().maxRank=n}function xr(e){u.A(e.nodes(),function(n){var s=e.node(n);s.dummy==="edge-proxy"&&(e.edge(s.e).labelRank=s.rank,e.removeNode(n))})}function Lr(e){var n=Number.POSITIVE_INFINITY,s=0,o=Number.POSITIVE_INFINITY,r=0,t=e.graph(),d=t.marginx||0,a=t.marginy||0;function i(l){var c=l.x,p=l.y,A=l.width,O=l.height;n=Math.min(n,c-A/2),s=Math.max(s,c+A/2),o=Math.min(o,p-O/2),r=Math.max(r,p+O/2)}u.A(e.nodes(),function(l){i(e.node(l))}),u.A(e.edges(),function(l){var c=e.edge(l);Object.prototype.hasOwnProperty.call(c,"x")&&i(c)}),n-=d,o-=a,u.A(e.nodes(),function(l){var c=e.node(l);c.x-=n,c.y-=o}),u.A(e.edges(),function(l){var c=e.edge(l);u.A(c.points,function(p){p.x-=n,p.y-=o}),Object.prototype.hasOwnProperty.call(c,"x")&&(c.x-=n),Object.prototype.hasOwnProperty.call(c,"y")&&(c.y-=o)}),t.width=s-n+d,t.height=r-o+a}function Cr(e){u.A(e.edges(),function(n){var s=e.edge(n),o=e.node(n.v),r=e.node(n.w),t,d;s.points?(t=s.points[0],d=s.points[s.points.length-1]):(s.points=[],t=r,d=o),s.points.unshift(Re(o,t)),s.points.push(Re(r,d))})}function Ir(e){u.A(e.edges(),function(n){var s=e.edge(n);if(Object.prototype.hasOwnProperty.call(s,"x"))switch((s.labelpos==="l"||s.labelpos==="r")&&(s.width-=s.labeloffset),s.labelpos){case"l":s.x-=s.width/2+s.labeloffset;break;case"r":s.x+=s.width/2+s.labeloffset;break}})}function Tr(e){u.A(e.edges(),function(n){var s=e.edge(n);s.reversed&&s.points.reverse()})}function Nr(e){u.A(e.nodes(),function(n){if(e.children(n).length){var s=e.node(n),o=e.node(s.borderTop),r=e.node(s.borderBottom),t=e.node(ue.A(s.borderLeft)),d=e.node(ue.A(s.borderRight));s.width=Math.abs(d.x-t.x),s.height=Math.abs(r.y-o.y),s.x=t.x+s.width/2,s.y=o.y+s.height/2}}),u.A(e.nodes(),function(n){e.node(n).dummy==="border"&&e.removeNode(n)})}function Mr(e){u.A(e.edges(),function(n){if(n.v===n.w){var s=e.node(n.v);s.selfEdges||(s.selfEdges=[]),s.selfEdges.push({e:n,label:e.edge(n)}),e.removeEdge(n)}})}function Rr(e){var n=he(e);u.A(n,function(s){var o=0;u.A(s,function(r,t){var d=e.node(r);d.order=t+o,u.A(d.selfEdges,function(a){ee(e,"selfedge",{width:a.label.width,height:a.label.height,rank:d.rank,order:t+ ++o,e:a.e,label:a.label},"_se")}),delete d.selfEdges})})}function Dr(e){u.A(e.nodes(),function(n){var s=e.node(n);if(s.dummy==="selfedge"){var o=e.node(s.e.v),r=o.x+o.width/2,t=o.y,d=s.x-r,a=o.height/2;e.setEdge(s.e,s.label),e.removeNode(n),s.label.points=[{x:r+2*d/3,y:t-a},{x:r+5*d/6,y:t-a},{x:r+d,y:t},{x:r+5*d/6,y:t+a},{x:r+2*d/3,y:t+a}],s.label.x=s.x,s.label.y=s.y}})}function Pe(e,n){return le(ie(e,n),Number)}function xe(e){var n={};return u.A(e,function(s,o){n[o.toLowerCase()]=s}
1),n}},"./node_modules/.pnpm/[email protected]/node_modules/dagre-d3-es/src/graphlib/graph.js"(X,x,f){f.d(x,{T:()=>M});var u=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/constant.js"),L=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/isFunction.js"),E=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/keys.js"),w=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/filter.js"),y=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/isEmpty.js"),P=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/forEach.js"),j=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/isUndefined.js"),g=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_baseFlatten.js"),R=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_baseRest.js"),B=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_baseUniq.js"),S=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/isArrayLikeObject.js"),U=(0,R.A)(function(z){return(0,B.A)((0,g.A)(z,1,S.A,!0))});const K=U;var F=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/values.js"),W=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/reduce.js"),V="\0",D="\0",I="�";class M{constructor(h={}){this._isDirected=Object.prototype.hasOwnProperty.call(h,"directed")?h.directed:!0,this._isMultigraph=Object.prototype.hasOwnProperty.call(h,"multigraph")?h.multigraph:!1,this._isCompound=Object.prototype.hasOwnProperty.call(h,"compound")?h.compound:!1,this._label=void 0,this._defaultNodeLabelFn=u.A(void 0),this._defaultEdgeLabelFn=u.A(void 0),this._nodes={}
vendor: 1,333 bytes, line 1
1,this._isCompound&&(this._parent={},this._children={},this._children[D]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(h){return this._label=h,this}graph(){return this._label}setDefaultNodeLabel(h){return L.A(h)||(h=u.A(h)),this._defaultNodeLabelFn=h,this}nodeCount(){return this._nodeCount}nodes(){return E.A(this._nodes)}sources(){var h=this;return w.A(this.nodes(),function(m){return y.A(h._in[m])})}sinks(){var h=this;return w.A(this.nodes(),function(m){return y.A(h._out[m])})}setNodes(h,m){var _=arguments,b=this;return P.A(h,function(C){_.length>1?b.setNode(C,m):b.setNode(C)}),this}setNode(h,m){return Object.prototype.hasOwnProperty.call(this._nodes,h)?(arguments.length>1&&(this._nodes[h]=m),this):(this._nodes[h]=arguments.length>1?m:this._defaultNodeLabelFn(h),this._isCompound&&(this._parent[h]=D,this._children[h]={},this._children[D][h]=!0),this._in[h]={},this._preds[h]={},this._out[h]={},this._sucs[h]={},++this._nodeCount,this)}node(h){return this._nodes[h]}hasNode(h){return Object.prototype.hasOwnProperty.call(this._nodes,h)}removeNode(h){if(Object.prototype.hasOwnProperty.call(this._nodes,h)){var m=_=>this.removeEdge(this._edgeObjs[_]);
1delete this._nodes[h],this._isCompound&&(this._removeFromParentsChildList(h),delete this._parent[h],P.A(this.children(h),_=>{this.setParent(_)}),delete this._children[h]),P.A(E.A(this._in[h]),m),delete this._in[h],delete this._preds[h],P.A(E.A(this._out[h]),m),delete this._out[h],delete this._sucs[h],--this._nodeCount}return this}setParent(h,m){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(j.A(m))m=D;else{m+="";for(var _=m;!j.A(_);_=this.parent(_))if(_===h)throw new Error("Setting "+m+" as parent of "+h+" would create a cycle");this.setNode(m)}return this.setNode(h),this._removeFromParentsChildList(h),this._parent[h]=m,this._children[m][h]=!0,this}_removeFromParentsChildList(h){delete this._children[this._parent[h]][h]}parent(h){if(this._isCompound){var m=this._parent[h];if(m!==D)return m}}children(h){if(j.A(h)&&(h=D),this._isCompound){var m=this._children[h];if(m)return E.A(m)}else{if(h===D)return this.nodes();if(this.hasNode(h))return[]}}predecessors(h){var m=this._preds[h];if(m)return E.A(m)}successors(h){var m=this._sucs[h];if(m)return E.A(m)}neighbors(h){var m=this.predecessors(h);if(m)return K(m,this.successors(h))}isLeaf(h){var m;return this.isDirected()?m=this.successors(h):m=this.neighbors(h),m.length===0}filterNodes(h){var m=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});m.setGraph(this.graph());var _=this;P.A(this._nodes,function(T,k){h(k)&&m.setNode(k,T)}),P.A(this._edgeObjs,function(T){m.hasNode(T.v)&&m.hasNode(T.w)&&m.setEdge(T,_.edge(T))});var b={};function C(T){var k=_.parent(T);return k===void 0||m.hasNode(k)?(b[T]=k,k):k in b?b[k]:C(k)}return this._isCompound&&P.A(m.nodes(),function(T){m.setParent(T,C(T))}),m}setDefaultEdgeLabel(h){return L.A(h)||(h=u.A(h)),this._defaultEdgeLabelFn=h,this}edgeCount(){return this._edgeCount}edges(){return F.A(this._edgeObjs)}setPath(h,m){var _=this,b=arguments;return W.A(h,function(C,T){return b.length>1?_.setEdge(C,T,m):_.setEdge(C,T),T}),this}setEdge(){var h,m,_,b,C=!1,T=arguments[0];typeof T=="object"&&T!==null&&"v"in T?(h=T.v,m=T.w,_=T.name,arguments.length===2&&(b=arguments[1],C=!0)):(h=T,m=arguments[1],_=arguments[3],arguments.length>2&&(b=arguments[2],C=!0)),h=""+h,m=""+m,j.A(_)||(_=""+_);var k=H(this._isDirected,h,m,_);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,k))return C&&(this._edgeLabels[k]=b),this;if(!j.A(_)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(h),this.setNode(m),this._edgeLabels[k]=C?b:this._defaultEdgeLabelFn(h,m,_);var J=me(this._isDirected,h,m,_);return h=J.v,m=J.w,Object.freeze(J),this._edgeObjs[k]=J,v(this._preds[m],h),v(this._sucs[h],m),this._in[m][k]=J,this._out[h][k]=J,this._edgeCount++,this}edge(h,m,_){var b=arguments.length===1?se(this._isDirected,arguments[0]):H(this._isDirected,h,m,_);return this._edgeLabels[b]}hasEdge(h,m,_){var b=arguments.length===1?se(this._isDirected,arguments[0]):H(this._isDirected,h,m,_);return Object.prototype.hasOwnProperty.call(this._edgeLabels,b)}removeEdge(h,m,_){var b=arguments.length===1?se(this._isDirected,arguments[0]):H(this._isDirected,h,m,_),C=this._edgeObjs[b];return C&&(h=C.v,m=C.w,delete this._edgeLabels[b],delete this._edgeObjs[b],G(this._preds[m],h),G(this._sucs[h],m),delete this._in[m][b],delete this._out[h][b],this._edgeCount--),this}inEdges(h,m){var _=this._in[h];if(_){var b=F.A(_);return m?w.A(b,function(C){return C.v===m}):b}}outEdges(h,m){var _=this._out[h];if(_){var b=F.A(_);return m?w.A(b,function(C){return C.w===m}):b}}nodeEdges(h,m){var _=this.inEdges(h,m);if(_)return _.concat(this.outEdges(h,m))}}M.prototype._nodeCount=0,M.prototype._edgeCount=0;function v(z,h){z[h]?z[h]++:z[h]=1}function G(z,h){--z[h]||delete z[h]}function H(z,h,m,_){var b=""+h,C=""+m;if(!z&&b>C){var T=b;b=C,C=T}return b+I+C+I+(j.A(_)?V:_)}function me(z,h,m,_){var b=""+h,C=""+m;if(!z&&b>C){var T=b;b=C,C=T}var k={v:b,w:C};return _&&(k.name=_),k}function se(z,h){return H(z,h.v,h.w,h.name)}},"./node_modules/.pnpm/[email protected]/node_modules/dagre-d3-es/src/graphlib/index.js"(X,x,f){f.d(x,{T:()=>u.T});var u=f("./node_modules/.pnpm/[email protected]/node_modules/dagre-d3-es/src/graphlib/graph.js");const L="2.1.9-pre"},"./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_baseExtremum.js"(X,x,f){f.d(x,{A:()=>E});var u=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/isSymbol.js");function L(w,y,P){for(var j=-1,g=w.length;++j<g;){var R=w[j],B=y(R);if(B!=null&&(S===void 0?B===B&&!(0,u.A)(B):P(B,S)))var S=B,U=R}return U}const E=L},"./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_baseLt.js"(X,x,f){f.d(x,{A:()=>L});function u(E,w){return E<w}const L=u},"./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_baseMap.js"(X,x,f){f.d(x,{A:()=>w});var u=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_baseEach.js"),L=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/isArrayLike.js");function E(y,P){var j=-1,g=(0,L.A)(y)?Array(y.length):[];return(0,u.A)(y,function(R,B,S){g[++j]=P(R,B,S)}),g}const w=E},"./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_basePickBy.js"(X,x,f){f.d(x,{A:()=>B});var u=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_baseGet.js"),L=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_assignValue.js"),E=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_castPath.js"),w=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_isIndex.js"),y=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/isObject.js"),P=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_toKey.js");function j(S,U,K,F){if(!(0,y.A)(S))return S;U=(0,E.A)(U,S);for(var W=-1,V=U.length,D=V-1,I=S;I!=null&&++W<V;){var M=(0,P.A)(U[W]),v=K;if(M==="__proto__"||M==="constructor"||M==="prototype")return S;if(W!=D){var G=I[M];v=F?F(G,M,I):void 0,v===void 0&&(v=(0,y.A)(G)?G:(0,w.A)(U[W+1])?[]:{})}(0,L.A)(I,M,v),I=I[M]}return S}const g=j;function R(S,U,K){for(var F=-1,W=U.length,V={};++F<W;){var D=U[F],I=(0,u.A)(S,D);K(I,D)&&g(V,(0,E.A)(D,S),I)}return V}const B=R},"./node_modules/.pnpm/[email protected]/node_modules/lodash-es/defaults.js"(X,x,f){f.d(x,{A:()=>g});var u=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_baseRest.js"),L=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/eq.js"),E=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_isIterateeCall.js"),w=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/keysIn.js"),y=Object.prototype,P=y.hasOwnProperty,j=(0,u.A)(function(R,B){R=Object(R);var S=-1,U=B.length,K=U>2?B[2]:void 0;for(K&&(0,E.A)(B[0],B[1],K)&&(U=1);++S<U;)for(var F=B[S],W=(0,w.A)(F),V=-1,D=W.length;++V<D;){var I=W[V],M=R[I];(M===void 0||(0,L.A)(M,y[I])&&!P.call(R,I))&&(R[I]=F[I])}return R});const g=j},"./node_modules/.pnpm/[email protected]/node_modules/lodash-es/find.js"(X,x,f){f.d(x,{A:()=>U});var u=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_baseIteratee.js"),L=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/isArrayLike.js"),E=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/keys.js");function w(K){return function(F,W,V){var D=Object(F);if(!(0,L.A)(F)){var I=(0,u.A)(W,3);F=(0,E.A)(F),W=function(v){return I(D[v],v,D)}}var M=K(F,W,V);return M>-1?D[I?F[M]:M]:void 0}}const y=w;var P=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_baseFindIndex.js"),j=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/toInteger.js"),g=Math.max;function R(K,F,W){var V=K==null?0:K.length;if(!V)return-1;var D=W==null?0:(0,j.A)(W);return D<0&&(D=g(V+D,0)),(0,P.A)(K,(0,u.A)(F,3),D)}var S=y(R);const U=S},"./node_modules/.pnpm/[email protected]/node_modules/lodash-es/flatten.js"(X,x,f){f.d(x,{A:()=>E});var u=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_baseFlatten.js");function L(w){var y=w==null?0:w.length;return y?(0,u.A)(w,1):[]}const E=L},"./node_modules/.pnpm/[email protected]/node_modules/lodash-es/has.js"(X,x,f){f.d(x,{A:()=>j});var u=Object.prototype,L=u.hasOwnProperty;function E(g,R){return g!=null&&L.call(g,R)}const w=E;var y=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_hasPath.js");function P(g,R){return g!=null&&(0,y.A)(g,R,w)}const j=P},"./node_modules/.pnpm/[email protected]/node_modules/lodash-es/isString.js"(X,x,f){f.d(x,{A:()=>P});var u=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_baseGetTag.js"),L=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/isArray.js"),E=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/isObjectLike.js"),w="[object String]";function y(j){return typeof j=="string"||!(0,L.A)(j)&&(0,E.A)(j)&&(0,u.A)(j)==w}const P=y},"./node_modules/.pnpm/[email protected]/node_modules/lodash-es/last.js"(X,x,f){f.d(x,{A:()=>L});function u(E){var w=E==null?0:E.length;return w?E[w-1]:void 0}const L=u},"./node_modules/.pnpm/[email protected]/node_modules/lodash-es/map.js"(X,x,f){f.d(x,{A:()=>P});var u=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_arrayMap.js"),L=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_baseIteratee.js"),E=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_baseMap.js"),w=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/isArray.js");function y(j,g){var R=(0,w.A)(j)?u.A:E.A;return R(j,(0,L.A)(g,3))}const P=y},"./node_modules/.pnpm/[email protected]/node_modules/lodash-es/min.js"(X,x,f){f.d(x,{A:()=>y});var u=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_baseExtremum.js"),L=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/_baseLt.js"),E=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/identity.js");function w(P){return P&&P.length?(0,u.A)(P,E.A,L.A):void 0}const y=w},"./node_modules/.pnpm/[email protected]/node_modules/lodash-es/toFinite.js"(X,x,f){f.d(x,{A:()=>M});var u=/\s/;function L(v){for(var G=v.length;G--&&u.test(v.charAt(G)););return G}const E=L;var w=/^\s+/;function y(v){return v&&v.slice(0,E(v)+1).replace(w,"")}const P=y;var j=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/isObject.js"),g=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/isSymbol.js"),R=NaN,B=/^[-+]0x[0-9a-f]+$/i,S=/^0b[01]+$/i,U=/^0o[0-7]+$/i,K=parseInt;function F(v){if(typeof v=="number")return v;if((0,g.A)(v))return R;if((0,j.A)(v)){var G=typeof v.valueOf=="function"?v.valueOf():v;v=(0,j.A)(G)?G+"":G}if(typeof v!="string")return v===0?v:+v;v=P(v);var H=S.test(v);return H||U.test(v)?K(v.slice(2),H?2:8):B.test(v)?R:+v}const W=F;var V=1/0,D=17976931348623157e292;function I(v){if(!v)return v===0?v:0;if(v=W(v),v===V||v===-V){var G=v<0?-1:1;return G*D}return v===v?v:0}const M=I},"./node_modules/.pnpm/[email protected]/node_modules/lodash-es/toInteger.js"(X,x,f){f.d(x,{A:()=>E});var u=f("./node_modules/.pnpm/[email protected]/node_modules/lodash-es/toFinite.js");function L(w){var y=(0,u.A)(w),P=y%1;return y===y?P?y-P:y:0}const E=L}}]);})();

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.