mirror of
https://github.com/vacp2p/vac.dev.git
synced 2026-08-30 19:51:12 +00:00
1 line
38 KiB
JavaScript
1 line
38 KiB
JavaScript
"use strict";(self.webpackChunkresearch_logos_co=self.webpackChunkresearch_logos_co||[]).push([[4210],{1083:(e,n,r)=>{r.d(n,{A:()=>d});var t=r(93387),o=r(24113),i=r(87443);const u=function(e){var n=[];if(null!=e)for(var r in Object(e))n.push(r);return n};var a=Object.prototype.hasOwnProperty;const c=function(e){if(!(0,o.A)(e))return u(e);var n=(0,i.A)(e),r=[];for(var t in e)("constructor"!=t||!n&&a.call(e,t))&&r.push(t);return r};var f=r(85906);const d=function(e){return(0,f.A)(e)?(0,t.A)(e,!0):c(e)}},14210:(e,n,r)=>{r.d(n,{Zp:()=>Lr});var t=r(96950),o=r(36482),i=0;const u=function(e){var n=++i;return(0,o.A)(e)+n};var a=r(30570),c=r(2320);const f=function(e){return(null==e?0:e.length)?(0,c.A)(e,1):[]};var d=r(83998),s=Math.ceil,v=Math.max;const h=function(e,n,r,t){for(var o=-1,i=v(s((n-e)/(r||1)),0),u=Array(i);i--;)u[t?i:++o]=e,e+=r;return u};var l=r(66860),g=r(85906),A=r(31397),p=r(24113);const b=function(e,n,r){if(!(0,p.A)(r))return!1;var t=typeof n;return!!("number"==t?(0,g.A)(r)&&(0,A.A)(n,r.length):"string"==t&&n in r)&&(0,l.A)(r[n],e)};var w=/\s/;const y=function(e){for(var n=e.length;n--&&w.test(e.charAt(n)););return n};var m=/^\s+/;const j=function(e){return e?e.slice(0,y(e)+1).replace(m,""):e};var x=r(22558),O=/^[-+]0x[0-9a-f]+$/i,k=/^0b[01]+$/i,E=/^0o[0-7]+$/i,N=parseInt;const _=function(e){if("number"==typeof e)return e;if((0,x.A)(e))return NaN;if((0,p.A)(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=(0,p.A)(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=j(e);var r=k.test(e);return r||E.test(e)?N(e.slice(2),r?2:8):O.test(e)?NaN:+e};var I=1/0;const P=function(e){return e?(e=_(e))===I||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0};const T=function(e){return function(n,r,t){return t&&"number"!=typeof t&&b(n,r,t)&&(r=t=void 0),n=P(n),void 0===r?(r=n,n=0):r=P(r),t=void 0===t?n<r?1:-1:P(t),h(n,r,t,e)}}();var M=r(697);class R{constructor(){var e={};e._next=e._prev=e,this._sentinel=e}dequeue(){var e=this._sentinel,n=e._prev;if(n!==e)return L(n),n}enqueue(e){var n=this._sentinel;e._prev&&e._next&&L(e),e._next=n._next,n._next._prev=e,n._next=e,e._prev=n}toString(){for(var e=[],n=this._sentinel,r=n._prev;r!==n;)e.push(JSON.stringify(r,C)),r=r._prev;return"["+e.join(", ")+"]"}}function L(e){e._prev._next=e._next,e._next._prev=e._prev,delete e._next,delete e._prev}function C(e,n){if("_next"!==e&&"_prev"!==e)return n}var S=a.A(1);function F(e,n){if(e.nodeCount()<=1)return[];var r=function(e,n){var r=new M.T,o=0,i=0;t.A(e.nodes(),(function(e){r.setNode(e,{v:e,in:0,out:0})})),t.A(e.edges(),(function(e){var t=r.edge(e.v,e.w)||0,u=n(e),a=t+u;r.setEdge(e.v,e.w,a),i=Math.max(i,r.node(e.v).out+=u),o=Math.max(o,r.node(e.w).in+=u)}));var u=T(i+o+3).map((function(){return new R})),a=o+1;return t.A(r.nodes(),(function(e){V(u,a,r.node(e))})),{graph:r,buckets:u,zeroIdx:a}}(e,n||S),o=function(e,n,r){var t,o=[],i=n[n.length-1],u=n[0];for(;e.nodeCount();){for(;t=u.dequeue();)B(e,n,r,t);for(;t=i.dequeue();)B(e,n,r,t);if(e.nodeCount())for(var a=n.length-2;a>0;--a)if(t=n[a].dequeue()){o=o.concat(B(e,n,r,t,!0));break}}return o}(r.graph,r.buckets,r.zeroIdx);return f(d.A(o,(function(n){return e.outEdges(n.v,n.w)})))}function B(e,n,r,o,i){var u=i?[]:void 0;return t.A(e.inEdges(o.v),(function(t){var o=e.edge(t),a=e.node(t.v);i&&u.push({v:t.v,w:t.w}),a.out-=o,V(n,r,a)})),t.A(e.outEdges(o.v),(function(t){var o=e.edge(t),i=t.w,u=e.node(i);u.in-=o,V(n,r,u)})),e.removeNode(o.v),u}function V(e,n,r){r.out?r.in?e[r.out-r.in+n].enqueue(r):e[e.length-1].enqueue(r):e[0].enqueue(r)}function G(e){var n="greedy"===e.graph().acyclicer?F(e,function(e){return function(n){return e.edge(n).weight}}(e)):function(e){var n=[],r={},o={};function i(u){Object.prototype.hasOwnProperty.call(o,u)||(o[u]=!0,r[u]=!0,t.A(e.outEdges(u),(function(e){Object.prototype.hasOwnProperty.call(r,e.w)?n.push(e):i(e.w)})),delete r[u])}return t.A(e.nodes(),i),n}(e);t.A(n,(function(n){var r=e.edge(n);e.removeEdge(n),r.forwardName=n.name,r.reversed=!0,e.setEdge(n.w,n.v,r,u("rev"))}))}var U=r(9606),q=r(63756);const D=function(e,n,r){(void 0!==r&&!(0,l.A)(e[n],r)||void 0===r&&!(n in e))&&(0,q.A)(e,n,r)};var Y=r(67274),z=r(40558),$=r(93301),J=r(43035),W=r(22018),Z=r(94694),H=r(30213),K=r(79657),Q=r(14148),X=r(91958),ee=r(25132),ne=r(68523),re=r(17774),te=Function.prototype,oe=Object.prototype,ie=te.toString,ue=oe.hasOwnProperty,ae=ie.call(Object);const ce=function(e){if(!(0,re.A)(e)||"[object Object]"!=(0,ee.A)(e))return!1;var n=(0,ne.A)(e);if(null===n)return!0;var r=ue.call(n,"constructor")&&n.constructor;return"function"==typeof r&&r instanceof r&&ie.call(r)==ae};var fe=r(99638);const de=function(e,n){if(("constructor"!==n||"function"!=typeof e[n])&&"__proto__"!=n)return e[n]};var se=r(96411),ve=r(1083);const he=function(e){return(0,se.A)(e,(0,ve.A)(e))};const le=function(e,n,r,t,o,i,u){var a=de(e,r),c=de(n,r),f=u.get(c);if(f)D(e,r,f);else{var d=i?i(a,c,r+"",e,n,u):void 0,s=void 0===d;if(s){var v=(0,H.A)(c),h=!v&&(0,Q.A)(c),l=!v&&!h&&(0,fe.A)(c);d=c,v||h||l?(0,H.A)(a)?d=a:(0,K.A)(a)?d=(0,J.A)(a):h?(s=!1,d=(0,z.A)(c,!0)):l?(s=!1,d=(0,$.A)(c,!0)):d=[]:ce(c)||(0,Z.A)(c)?(d=a,(0,Z.A)(a)?d=he(a):(0,p.A)(a)&&!(0,X.A)(a)||(d=(0,W.A)(c))):s=!1}s&&(u.set(c,d),o(d,c,t,i,u),u.delete(c)),D(e,r,d)}};const ge=function e(n,r,t,o,i){n!==r&&(0,Y.A)(r,(function(u,a){if(i||(i=new U.A),(0,p.A)(u))le(n,r,a,t,e,o,i);else{var c=o?o(de(n,a),u,a+"",n,r,i):void 0;void 0===c&&(c=u),D(n,a,c)}}),ve.A)};var Ae=r(97290);const pe=function(e){return(0,Ae.A)((function(n,r){var t=-1,o=r.length,i=o>1?r[o-1]:void 0,u=o>2?r[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,u&&b(r[0],r[1],u)&&(i=o<3?void 0:i,o=1),n=Object(n);++t<o;){var a=r[t];a&&e(n,a,t,i)}return n}))}((function(e,n,r){ge(e,n,r)}));var be=r(33826),we=r(21831),ye=r(91110),me=r(88001);const je=function(e,n,r,t){if(!(0,p.A)(e))return e;for(var o=-1,i=(n=(0,ye.A)(n,e)).length,u=i-1,a=e;null!=a&&++o<i;){var c=(0,me.A)(n[o]),f=r;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(o!=u){var d=a[c];void 0===(f=t?t(d,c,a):void 0)&&(f=(0,p.A)(d)?d:(0,A.A)(n[o+1])?[]:{})}(0,we.A)(a,c,f),a=a[c]}return e};const xe=function(e,n,r){for(var t=-1,o=n.length,i={};++t<o;){var u=n[t],a=(0,be.A)(e,u);r(a,u)&&je(i,(0,ye.A)(u,e),a)}return i};var Oe=r(57480);const ke=function(e,n){return xe(e,n,(function(n,r){return(0,Oe.A)(e,r)}))};var Ee=r(8831),Ne=r(15729);const _e=function(e){return(0,Ne.A)((0,Ee.A)(e,void 0,f),e+"")}((function(e,n){return null==e?{}:ke(e,n)}));var Ie=Object.prototype,Pe=Ie.hasOwnProperty;const Te=(0,Ae.A)((function(e,n){e=Object(e);var r=-1,t=n.length,o=t>2?n[2]:void 0;for(o&&b(n[0],n[1],o)&&(t=1);++r<t;)for(var i=n[r],u=(0,ve.A)(i),a=-1,c=u.length;++a<c;){var f=u[a],d=e[f];(void 0===d||(0,l.A)(d,Ie[f])&&!Pe.call(e,f))&&(e[f]=i[f])}return e}));const Me=function(e,n,r){for(var t=-1,o=e.length;++t<o;){var i=e[t],u=n(i);if(null!=u&&(void 0===a?u==u&&!(0,x.A)(u):r(u,a)))var a=u,c=i}return c};const Re=function(e,n){return e>n};var Le=r(98372);const Ce=function(e){return e&&e.length?Me(e,Le.A,Re):void 0};const Se=function(e){var n=null==e?0:e.length;return n?e[n-1]:void 0};var Fe=r(47917),Be=r(59546);const Ve=function(e,n){var r={};return n=(0,Be.A)(n,3),(0,Fe.A)(e,(function(e,t,o){(0,q.A)(r,t,n(e,t,o))})),r};var Ge=r(43596);const Ue=function(e,n){return e<n};const qe=function(e){return e&&e.length?Me(e,Le.A,Ue):void 0};var De=Object.prototype.hasOwnProperty;const Ye=function(e,n){return null!=e&&De.call(e,n)};var ze=r(31434);const $e=function(e,n){return null!=e&&(0,ze.A)(e,n,Ye)};var Je=r(43025);const We=function(){return Je.A.Date.now()};function Ze(e,n,r,t){var o;do{o=u(t)}while(e.hasNode(o));return r.dummy=n,e.setNode(o,r),o}function He(e){var n=new M.T({multigraph:e.isMultigraph()}).setGraph(e.graph());return t.A(e.nodes(),(function(r){e.children(r).length||n.setNode(r,e.node(r))})),t.A(e.edges(),(function(r){n.setEdge(r,e.edge(r))})),n}function Ke(e,n){var r,t,o=e.x,i=e.y,u=n.x-o,a=n.y-i,c=e.width/2,f=e.height/2;if(!u&&!a)throw new Error("Not possible to find intersection inside of the rectangle");return Math.abs(a)*c>Math.abs(u)*f?(a<0&&(f=-f),r=f*u/a,t=f):(u<0&&(c=-c),r=c,t=c*a/u),{x:o+r,y:i+t}}function Qe(e){var n=d.A(T(en(e)+1),(function(){return[]}));return t.A(e.nodes(),(function(r){var t=e.node(r),o=t.rank;Ge.A(o)||(n[o][t.order]=r)})),n}function Xe(e,n,r,t){var o={width:0,height:0};return arguments.length>=4&&(o.rank=r,o.order=t),Ze(e,"border",o,n)}function en(e){return Ce(d.A(e.nodes(),(function(n){var r=e.node(n).rank;if(!Ge.A(r))return r})))}function nn(e,n){var r=We();try{return n()}finally{console.log(e+" time: "+(We()-r)+"ms")}}function rn(e,n){return n()}function tn(e,n,r,t,o,i){var u={width:0,height:0,rank:i,borderType:n},a=o[n][i-1],c=Ze(e,"border",u,r);o[n][i]=c,e.setParent(c,t),a&&e.setEdge(a,c,{weight:1})}function on(e){var n=e.graph().rankdir.toLowerCase();"bt"!==n&&"rl"!==n||function(e){t.A(e.nodes(),(function(n){cn(e.node(n))})),t.A(e.edges(),(function(n){var r=e.edge(n);t.A(r.points,cn),Object.prototype.hasOwnProperty.call(r,"y")&&cn(r)}))}(e),"lr"!==n&&"rl"!==n||(!function(e){t.A(e.nodes(),(function(n){fn(e.node(n))})),t.A(e.edges(),(function(n){var r=e.edge(n);t.A(r.points,fn),Object.prototype.hasOwnProperty.call(r,"x")&&fn(r)}))}(e),un(e))}function un(e){t.A(e.nodes(),(function(n){an(e.node(n))})),t.A(e.edges(),(function(n){an(e.edge(n))}))}function an(e){var n=e.width;e.width=e.height,e.height=n}function cn(e){e.y=-e.y}function fn(e){var n=e.x;e.x=e.y,e.y=n}function dn(e){e.graph().dummyChains=[],t.A(e.edges(),(function(n){!function(e,n){var r=n.v,t=e.node(r).rank,o=n.w,i=e.node(o).rank,u=n.name,a=e.edge(n),c=a.labelRank;if(i===t+1)return;e.removeEdge(n);var f,d,s=void 0;for(d=0,++t;t<i;++d,++t)a.points=[],f=Ze(e,"edge",s={width:0,height:0,edgeLabel:a,edgeObj:n,rank:t},"_d"),t===c&&(s.width=a.width,s.height=a.height,s.dummy="edge-label",s.labelpos=a.labelpos),e.setEdge(r,f,{weight:a.weight},u),0===d&&e.graph().dummyChains.push(f),r=f;e.setEdge(r,o,{weight:a.weight},u)}(e,n)}))}const sn=function(e,n){return e&&e.length?Me(e,(0,Be.A)(n,2),Ue):void 0};function vn(e){var n={};t.A(e.sources(),(function r(t){var o=e.node(t);if(Object.prototype.hasOwnProperty.call(n,t))return o.rank;n[t]=!0;var i=qe(d.A(e.outEdges(t),(function(n){return r(n.w)-e.edge(n).minlen})));return i!==Number.POSITIVE_INFINITY&&null!=i||(i=0),o.rank=i}))}function hn(e,n){return e.node(n.w).rank-e.node(n.v).rank-e.edge(n).minlen}function ln(e){var n,r,t=new M.T({directed:!1}),o=e.nodes()[0],i=e.nodeCount();for(t.setNode(o,{});gn(t,e)<i;)n=An(t,e),r=t.hasNode(n.v)?hn(e,n):-hn(e,n),pn(t,e,r);return t}function gn(e,n){return t.A(e.nodes(),(function r(o){t.A(n.nodeEdges(o),(function(t){var i=t.v,u=o===i?t.w:i;e.hasNode(u)||hn(n,t)||(e.setNode(u,{}),e.setEdge(o,u,{}),r(u))}))})),e.nodeCount()}function An(e,n){return sn(n.edges(),(function(r){if(e.hasNode(r.v)!==e.hasNode(r.w))return hn(n,r)}))}function pn(e,n,r){t.A(e.nodes(),(function(e){n.node(e).rank+=r}))}var bn=r(68770);const wn=function(e){return function(n,r,t){var o=Object(n);if(!(0,g.A)(n)){var i=(0,Be.A)(r,3);n=(0,bn.A)(n),r=function(e){return i(o[e],e,o)}}var u=e(n,r,t);return u>-1?o[i?n[u]:u]:void 0}};var yn=r(79303);const mn=function(e){var n=P(e),r=n%1;return n==n?r?n-r:n:0};var jn=Math.max;const xn=wn((function(e,n,r){var t=null==e?0:e.length;if(!t)return-1;var o=null==r?0:mn(r);return o<0&&(o=jn(t+o,0)),(0,yn.A)(e,(0,Be.A)(n,3),o)}));var On=r(29186);a.A(1);a.A(1);r(66723),r(91823);(0,r(57809).A)("length");RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var kn="\\ud800-\\udfff",En="["+kn+"]",Nn="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",_n="\\ud83c[\\udffb-\\udfff]",In="[^"+kn+"]",Pn="(?:\\ud83c[\\udde6-\\uddff]){2}",Tn="[\\ud800-\\udbff][\\udc00-\\udfff]",Mn="(?:"+Nn+"|"+_n+")"+"?",Rn="[\\ufe0e\\ufe0f]?",Ln=Rn+Mn+("(?:\\u200d(?:"+[In,Pn,Tn].join("|")+")"+Rn+Mn+")*"),Cn="(?:"+[In+Nn+"?",Nn,Pn,Tn,En].join("|")+")";RegExp(_n+"(?="+_n+")|"+Cn+Ln,"g");function Sn(){}function Fn(e,n,r){H.A(n)||(n=[n]);var o=(e.isDirected()?e.successors:e.neighbors).bind(e),i=[],u={};return t.A(n,(function(n){if(!e.hasNode(n))throw new Error("Graph does not have node: "+n);Bn(e,n,"post"===r,u,o,i)})),i}function Bn(e,n,r,o,i,u){Object.prototype.hasOwnProperty.call(o,n)||(o[n]=!0,r||u.push(n),t.A(i(n),(function(n){Bn(e,n,r,o,i,u)})),r&&u.push(n))}Sn.prototype=new Error;r(16999);function Vn(e){e=function(e){var n=(new M.T).setGraph(e.graph());return t.A(e.nodes(),(function(r){n.setNode(r,e.node(r))})),t.A(e.edges(),(function(r){var t=n.edge(r.v,r.w)||{weight:0,minlen:1},o=e.edge(r);n.setEdge(r.v,r.w,{weight:t.weight+o.weight,minlen:Math.max(t.minlen,o.minlen)})})),n}(e),vn(e);var n,r=ln(e);for(qn(r),Gn(r,e);n=Yn(r);)$n(r,e,n,zn(r,e,n))}function Gn(e,n){var r=function(e,n){return Fn(e,n,"post")}(e,e.nodes());r=r.slice(0,r.length-1),t.A(r,(function(r){!function(e,n,r){var t=e.node(r),o=t.parent;e.edge(r,o).cutvalue=Un(e,n,r)}(e,n,r)}))}function Un(e,n,r){var o=e.node(r).parent,i=!0,u=n.edge(r,o),a=0;return u||(i=!1,u=n.edge(o,r)),a=u.weight,t.A(n.nodeEdges(r),(function(t){var u,c,f=t.v===r,d=f?t.w:t.v;if(d!==o){var s=f===i,v=n.edge(t).weight;if(a+=s?v:-v,u=r,c=d,e.hasEdge(u,c)){var h=e.edge(r,d).cutvalue;a+=s?-h:h}}})),a}function qn(e,n){arguments.length<2&&(n=e.nodes()[0]),Dn(e,{},1,n)}function Dn(e,n,r,o,i){var u=r,a=e.node(o);return n[o]=!0,t.A(e.neighbors(o),(function(t){Object.prototype.hasOwnProperty.call(n,t)||(r=Dn(e,n,r,t,o))})),a.low=u,a.lim=r++,i?a.parent=i:delete a.parent,r}function Yn(e){return xn(e.edges(),(function(n){return e.edge(n).cutvalue<0}))}function zn(e,n,r){var t=r.v,o=r.w;n.hasEdge(t,o)||(t=r.w,o=r.v);var i=e.node(t),u=e.node(o),a=i,c=!1;i.lim>u.lim&&(a=u,c=!0);var f=On.A(n.edges(),(function(n){return c===Jn(e,e.node(n.v),a)&&c!==Jn(e,e.node(n.w),a)}));return sn(f,(function(e){return hn(n,e)}))}function $n(e,n,r,o){var i=r.v,u=r.w;e.removeEdge(i,u),e.setEdge(o.v,o.w,{}),qn(e),Gn(e,n),function(e,n){var r=xn(e.nodes(),(function(e){return!n.node(e).parent})),o=function(e,n){return Fn(e,n,"pre")}(e,r);o=o.slice(1),t.A(o,(function(r){var t=e.node(r).parent,o=n.edge(r,t),i=!1;o||(o=n.edge(t,r),i=!0),n.node(r).rank=n.node(t).rank+(i?o.minlen:-o.minlen)}))}(e,n)}function Jn(e,n,r){return r.low<=n.lim&&n.lim<=r.lim}function Wn(e){switch(e.graph().ranker){case"network-simplex":default:Hn(e);break;case"tight-tree":!function(e){vn(e),ln(e)}(e);break;case"longest-path":Zn(e)}}Vn.initLowLimValues=qn,Vn.initCutValues=Gn,Vn.calcCutValue=Un,Vn.leaveEdge=Yn,Vn.enterEdge=zn,Vn.exchangeEdges=$n;var Zn=vn;function Hn(e){Vn(e)}var Kn=r(13499),Qn=r(73819);function Xn(e){var n=Ze(e,"root",{},"_root"),r=function(e){var n={};function r(o,i){var u=e.children(o);u&&u.length&&t.A(u,(function(e){r(e,i+1)})),n[o]=i}return t.A(e.children(),(function(e){r(e,1)})),n}(e),o=Ce(Kn.A(r))-1,i=2*o+1;e.graph().nestingRoot=n,t.A(e.edges(),(function(n){e.edge(n).minlen*=i}));var u=function(e){return Qn.A(e.edges(),(function(n,r){return n+e.edge(r).weight}),0)}(e)+1;t.A(e.children(),(function(t){er(e,n,i,u,o,r,t)})),e.graph().nodeRankFactor=i}function er(e,n,r,o,i,u,a){var c=e.children(a);if(c.length){var f=Xe(e,"_bt"),d=Xe(e,"_bb"),s=e.node(a);e.setParent(f,a),s.borderTop=f,e.setParent(d,a),s.borderBottom=d,t.A(c,(function(t){er(e,n,r,o,i,u,t);var c=e.node(t),s=c.borderTop?c.borderTop:t,v=c.borderBottom?c.borderBottom:t,h=c.borderTop?o:2*o,l=s!==v?1:i-u[a]+1;e.setEdge(f,s,{weight:h,minlen:l,nestingEdge:!0}),e.setEdge(v,d,{weight:h,minlen:l,nestingEdge:!0})})),e.parent(a)||e.setEdge(n,f,{weight:0,minlen:i+u[a]})}else a!==n&&e.setEdge(n,a,{weight:0,minlen:r})}var nr=r(64413);const rr=function(e){return(0,nr.A)(e,5)};function tr(e,n,r){var o=function(e){var n;for(;e.hasNode(n=u("_root")););return n}(e),i=new M.T({compound:!0}).setGraph({root:o}).setDefaultNodeLabel((function(n){return e.node(n)}));return t.A(e.nodes(),(function(u){var a=e.node(u),c=e.parent(u);(a.rank===n||a.minRank<=n&&n<=a.maxRank)&&(i.setNode(u),i.setParent(u,c||o),t.A(e[r](u),(function(n){var r=n.v===u?n.w:n.v,t=i.edge(r,u),o=Ge.A(t)?0:t.weight;i.setEdge(r,u,{weight:e.edge(n).weight+o})})),Object.prototype.hasOwnProperty.call(a,"minRank")&&i.setNode(u,{borderLeft:a.borderLeft[n],borderRight:a.borderRight[n]}))})),i}const or=function(e,n,r){for(var t=-1,o=e.length,i=n.length,u={};++t<o;){var a=t<i?n[t]:void 0;r(u,e[t],a)}return u};const ir=function(e,n){return or(e||[],n||[],we.A)};var ur=r(58376),ar=r(89260);const cr=function(e,n){var r=e.length;for(e.sort(n);r--;)e[r]=e[r].value;return e};var fr=r(35873);const dr=function(e,n){if(e!==n){var r=void 0!==e,t=null===e,o=e==e,i=(0,x.A)(e),u=void 0!==n,a=null===n,c=n==n,f=(0,x.A)(n);if(!a&&!f&&!i&&e>n||i&&u&&c&&!a&&!f||t&&u&&c||!r&&c||!o)return 1;if(!t&&!i&&!f&&e<n||f&&r&&o&&!t&&!i||a&&r&&o||!u&&o||!c)return-1}return 0};const sr=function(e,n,r){for(var t=-1,o=e.criteria,i=n.criteria,u=o.length,a=r.length;++t<u;){var c=dr(o[t],i[t]);if(c)return t>=a?c:c*("desc"==r[t]?-1:1)}return e.index-n.index};const vr=function(e,n,r){n=n.length?(0,ur.A)(n,(function(e){return(0,H.A)(e)?function(n){return(0,be.A)(n,1===e.length?e[0]:e)}:e})):[Le.A];var t=-1;n=(0,ur.A)(n,(0,fr.A)(Be.A));var o=(0,ar.A)(e,(function(e,r,o){return{criteria:(0,ur.A)(n,(function(n){return n(e)})),index:++t,value:e}}));return cr(o,(function(e,n){return sr(e,n,r)}))};const hr=(0,Ae.A)((function(e,n){if(null==e)return[];var r=n.length;return r>1&&b(e,n[0],n[1])?n=[]:r>2&&b(n[0],n[1],n[2])&&(n=[n[0]]),vr(e,(0,c.A)(n,1),[])}));function lr(e,n){for(var r=0,t=1;t<n.length;++t)r+=gr(e,n[t-1],n[t]);return r}function gr(e,n,r){for(var o=ir(r,d.A(r,(function(e,n){return n}))),i=f(d.A(n,(function(n){return hr(d.A(e.outEdges(n),(function(n){return{pos:o[n.w],weight:e.edge(n).weight}})),"pos")}))),u=1;u<r.length;)u<<=1;var a=2*u-1;u-=1;var c=d.A(new Array(a),(function(){return 0})),s=0;return t.A(i.forEach((function(e){var n=e.pos+u;c[n]+=e.weight;for(var r=0;n>0;)n%2&&(r+=c[n+1]),c[n=n-1>>1]+=e.weight;s+=e.weight*r}))),s}function Ar(e,n){var r={};return t.A(e,(function(e,n){var t=r[e.v]={indegree:0,in:[],out:[],vs:[e.v],i:n};Ge.A(e.barycenter)||(t.barycenter=e.barycenter,t.weight=e.weight)})),t.A(n.edges(),(function(e){var n=r[e.v],t=r[e.w];Ge.A(n)||Ge.A(t)||(t.indegree++,n.out.push(r[e.w]))})),function(e){var n=[];function r(e){return function(n){n.merged||(Ge.A(n.barycenter)||Ge.A(e.barycenter)||n.barycenter>=e.barycenter)&&function(e,n){var r=0,t=0;e.weight&&(r+=e.barycenter*e.weight,t+=e.weight);n.weight&&(r+=n.barycenter*n.weight,t+=n.weight);e.vs=n.vs.concat(e.vs),e.barycenter=r/t,e.weight=t,e.i=Math.min(n.i,e.i),n.merged=!0}(e,n)}}function o(n){return function(r){r.in.push(n),0==--r.indegree&&e.push(r)}}for(;e.length;){var i=e.pop();n.push(i),t.A(i.in.reverse(),r(i)),t.A(i.out,o(i))}return d.A(On.A(n,(function(e){return!e.merged})),(function(e){return _e(e,["vs","i","barycenter","weight"])}))}(On.A(r,(function(e){return!e.indegree})))}function pr(e,n){var r,o=function(e,n){var r={lhs:[],rhs:[]};return t.A(e,(function(e){n(e)?r.lhs.push(e):r.rhs.push(e)})),r}(e,(function(e){return Object.prototype.hasOwnProperty.call(e,"barycenter")})),i=o.lhs,u=hr(o.rhs,(function(e){return-e.i})),a=[],c=0,d=0,s=0;i.sort((r=!!n,function(e,n){return e.barycenter<n.barycenter?-1:e.barycenter>n.barycenter?1:r?n.i-e.i:e.i-n.i})),s=br(a,u,s),t.A(i,(function(e){s+=e.vs.length,a.push(e.vs),c+=e.barycenter*e.weight,d+=e.weight,s=br(a,u,s)}));var v={vs:f(a)};return d&&(v.barycenter=c/d,v.weight=d),v}function br(e,n,r){for(var t;n.length&&(t=Se(n)).i<=r;)n.pop(),e.push(t.vs),r++;return r}function wr(e,n,r,o){var i=e.children(n),u=e.node(n),a=u?u.borderLeft:void 0,c=u?u.borderRight:void 0,s={};a&&(i=On.A(i,(function(e){return e!==a&&e!==c})));var v=function(e,n){return d.A(n,(function(n){var r=e.inEdges(n);if(r.length){var t=Qn.A(r,(function(n,r){var t=e.edge(r),o=e.node(r.v);return{sum:n.sum+t.weight*o.order,weight:n.weight+t.weight}}),{sum:0,weight:0});return{v:n,barycenter:t.sum/t.weight,weight:t.weight}}return{v:n}}))}(e,i);t.A(v,(function(n){if(e.children(n.v).length){var t=wr(e,n.v,r,o);s[n.v]=t,Object.prototype.hasOwnProperty.call(t,"barycenter")&&(i=n,u=t,Ge.A(i.barycenter)?(i.barycenter=u.barycenter,i.weight=u.weight):(i.barycenter=(i.barycenter*i.weight+u.barycenter*u.weight)/(i.weight+u.weight),i.weight+=u.weight))}var i,u}));var h=Ar(v,r);!function(e,n){t.A(e,(function(e){e.vs=f(e.vs.map((function(e){return n[e]?n[e].vs:e})))}))}(h,s);var l=pr(h,o);if(a&&(l.vs=f([a,l.vs,c]),e.predecessors(a).length)){var g=e.node(e.predecessors(a)[0]),A=e.node(e.predecessors(c)[0]);Object.prototype.hasOwnProperty.call(l,"barycenter")||(l.barycenter=0,l.weight=0),l.barycenter=(l.barycenter*l.weight+g.order+A.order)/(l.weight+2),l.weight+=2}return l}function yr(e){var n=en(e),r=mr(e,T(1,n+1),"inEdges"),o=mr(e,T(n-1,-1,-1),"outEdges"),i=function(e){var n={},r=On.A(e.nodes(),(function(n){return!e.children(n).length})),o=Ce(d.A(r,(function(n){return e.node(n).rank}))),i=d.A(T(o+1),(function(){return[]})),u=hr(r,(function(n){return e.node(n).rank}));return t.A(u,(function r(o){if(!$e(n,o)){n[o]=!0;var u=e.node(o);i[u.rank].push(o),t.A(e.successors(o),r)}})),i}(e);xr(e,i);for(var u,a=Number.POSITIVE_INFINITY,c=0,f=0;f<4;++c,++f){jr(c%2?r:o,c%4>=2);var s=lr(e,i=Qe(e));s<a&&(f=0,u=rr(i),a=s)}xr(e,u)}function mr(e,n,r){return d.A(n,(function(n){return tr(e,n,r)}))}function jr(e,n){var r=new M.T;t.A(e,(function(e){var o=e.graph().root,i=wr(e,o,r,n);t.A(i.vs,(function(n,r){e.node(n).order=r})),function(e,n,r){var o,i={};t.A(r,(function(r){for(var t,u,a=e.parent(r);a;){if((t=e.parent(a))?(u=i[t],i[t]=a):(u=o,o=a),u&&u!==a)return void n.setEdge(u,a);a=t}}))}(e,r,i.vs)}))}function xr(e,n){t.A(n,(function(n){t.A(n,(function(n,r){e.node(n).order=r}))}))}function Or(e){var n=function(e){var n={},r=0;function o(i){var u=r;t.A(e.children(i),o),n[i]={low:u,lim:r++}}return t.A(e.children(),o),n}(e);t.A(e.graph().dummyChains,(function(r){for(var t=e.node(r),o=t.edgeObj,i=function(e,n,r,t){var o,i,u=[],a=[],c=Math.min(n[r].low,n[t].low),f=Math.max(n[r].lim,n[t].lim);o=r;do{o=e.parent(o),u.push(o)}while(o&&(n[o].low>c||f>n[o].lim));i=o,o=t;for(;(o=e.parent(o))!==i;)a.push(o);return{path:u.concat(a.reverse()),lca:i}}(e,n,o.v,o.w),u=i.path,a=i.lca,c=0,f=u[c],d=!0;r!==o.w;){if(t=e.node(r),d){for(;(f=u[c])!==a&&e.node(f).maxRank<t.rank;)c++;f===a&&(d=!1)}if(!d){for(;c<u.length-1&&e.node(f=u[c+1]).minRank<=t.rank;)c++;f=u[c]}e.setParent(r,f),r=e.successors(r)[0]}}))}var kr=r(70726);const Er=function(e,n){return e&&(0,Fe.A)(e,(0,kr.A)(n))};const Nr=function(e,n){return null==e?e:(0,Y.A)(e,(0,kr.A)(n),ve.A)};function _r(e,n){var r={};return Qn.A(n,(function(n,o){var i=0,u=0,a=n.length,c=Se(o);return t.A(o,(function(n,f){var d=function(e,n){if(e.node(n).dummy)return xn(e.predecessors(n),(function(n){return e.node(n).dummy}))}(e,n),s=d?e.node(d).order:a;(d||n===c)&&(t.A(o.slice(u,f+1),(function(n){t.A(e.predecessors(n),(function(t){var o=e.node(t),u=o.order;!(u<i||s<u)||o.dummy&&e.node(n).dummy||Ir(r,t,n)}))})),u=f+1,i=s)})),o})),r}function Ir(e,n,r){if(n>r){var t=n;n=r,r=t}Object.prototype.hasOwnProperty.call(e,n)||Object.defineProperty(e,n,{enumerable:!0,configurable:!0,value:{},writable:!0});var o=e[n];Object.defineProperty(o,r,{enumerable:!0,configurable:!0,value:!0,writable:!0})}function Pr(e,n,r){if(n>r){var t=n;n=r,r=t}return!!e[n]&&Object.prototype.hasOwnProperty.call(e[n],r)}function Tr(e,n,r,o,i){var u={},a=function(e,n,r,o){var i=new M.T,u=e.graph(),a=function(e,n,r){return function(t,o,i){var u,a=t.node(o),c=t.node(i),f=0;if(f+=a.width/2,Object.prototype.hasOwnProperty.call(a,"labelpos"))switch(a.labelpos.toLowerCase()){case"l":u=-a.width/2;break;case"r":u=a.width/2}if(u&&(f+=r?u:-u),u=0,f+=(a.dummy?n:e)/2,f+=(c.dummy?n:e)/2,f+=c.width/2,Object.prototype.hasOwnProperty.call(c,"labelpos"))switch(c.labelpos.toLowerCase()){case"l":u=c.width/2;break;case"r":u=-c.width/2}return u&&(f+=r?u:-u),u=0,f}}(u.nodesep,u.edgesep,o);return t.A(n,(function(n){var o;t.A(n,(function(n){var t=r[n];if(i.setNode(t),o){var u=r[o],c=i.edge(u,t);i.setEdge(u,t,Math.max(a(e,n,o),c||0))}o=n}))})),i}(e,n,r,i),c=i?"borderLeft":"borderRight";function f(e,n){for(var r=a.nodes(),t=r.pop(),o={};t;)o[t]?e(t):(o[t]=!0,r.push(t),r=r.concat(n(t))),t=r.pop()}return f((function(e){u[e]=a.inEdges(e).reduce((function(e,n){return Math.max(e,u[n.v]+a.edge(n))}),0)}),a.predecessors.bind(a)),f((function(n){var r=a.outEdges(n).reduce((function(e,n){return Math.min(e,u[n.w]-a.edge(n))}),Number.POSITIVE_INFINITY),t=e.node(n);r!==Number.POSITIVE_INFINITY&&t.borderType!==c&&(u[n]=Math.max(u[n],r))}),a.successors.bind(a)),t.A(o,(function(e){u[e]=u[r[e]]})),u}function Mr(e){var n,r=Qe(e),o=pe(_r(e,r),function(e,n){var r={};function o(n,o,i,u,a){var c;t.A(T(o,i),(function(o){c=n[o],e.node(c).dummy&&t.A(e.predecessors(c),(function(n){var t=e.node(n);t.dummy&&(t.order<u||t.order>a)&&Ir(r,n,c)}))}))}return Qn.A(n,(function(n,r){var i,u=-1,a=0;return t.A(r,(function(t,c){if("border"===e.node(t).dummy){var f=e.predecessors(t);f.length&&(i=e.node(f[0]).order,o(r,a,c,u,i),a=c,u=i)}o(r,a,r.length,i,n.length)})),r})),r}(e,r)),i={};t.A(["u","d"],(function(u){n="u"===u?r:Kn.A(r).reverse(),t.A(["l","r"],(function(r){"r"===r&&(n=d.A(n,(function(e){return Kn.A(e).reverse()})));var a=("u"===u?e.predecessors:e.successors).bind(e),c=function(e,n,r,o){var i={},u={},a={};return t.A(n,(function(e){t.A(e,(function(e,n){i[e]=e,u[e]=e,a[e]=n}))})),t.A(n,(function(e){var n=-1;t.A(e,(function(e){var t=o(e);if(t.length){t=hr(t,(function(e){return a[e]}));for(var c=(t.length-1)/2,f=Math.floor(c),d=Math.ceil(c);f<=d;++f){var s=t[f];u[e]===e&&n<a[s]&&!Pr(r,e,s)&&(u[s]=e,u[e]=i[e]=i[s],n=a[s])}}}))})),{root:i,align:u}}(0,n,o,a),f=Tr(e,n,c.root,c.align,"r"===r);"r"===r&&(f=Ve(f,(function(e){return-e}))),i[u+r]=f}))}));var u=function(e,n){return sn(Kn.A(n),(function(n){var r=Number.NEGATIVE_INFINITY,t=Number.POSITIVE_INFINITY;return Nr(n,(function(n,o){var i=function(e,n){return e.node(n).width}(e,o)/2;r=Math.max(n+i,r),t=Math.min(n-i,t)})),r-t}))}(e,i);return function(e,n){var r=Kn.A(n),o=qe(r),i=Ce(r);t.A(["u","d"],(function(r){t.A(["l","r"],(function(t){var u,a=r+t,c=e[a];if(c!==n){var f=Kn.A(c);(u="l"===t?o-qe(f):i-Ce(f))&&(e[a]=Ve(c,(function(e){return e+u})))}}))}))}(i,u),function(e,n){return Ve(e.ul,(function(r,t){if(n)return e[n.toLowerCase()][t];var o=hr(d.A(e,t));return(o[1]+o[2])/2}))}(i,e.graph().align)}function Rr(e){(function(e){var n=Qe(e),r=e.graph().ranksep,o=0;t.A(n,(function(n){var i=Ce(d.A(n,(function(n){return e.node(n).height})));t.A(n,(function(n){e.node(n).y=o+i/2})),o+=i+r}))})(e=He(e)),Er(Mr(e),(function(n,r){e.node(r).x=n}))}function Lr(e,n){var r=n&&n.debugTiming?nn:rn;r("layout",(()=>{var n=r(" buildLayoutGraph",(()=>function(e){var n=new M.T({multigraph:!0,compound:!0}),r=Yr(e.graph());return n.setGraph(pe({},Sr,Dr(r,Cr),_e(r,Fr))),t.A(e.nodes(),(function(r){var t=Yr(e.node(r));n.setNode(r,Te(Dr(t,Br),Vr)),n.setParent(r,e.parent(r))})),t.A(e.edges(),(function(r){var t=Yr(e.edge(r));n.setEdge(r,pe({},Ur,Dr(t,Gr),_e(t,qr)))})),n}(e)));r(" runLayout",(()=>function(e,n){n(" makeSpaceForEdgeLabels",(()=>function(e){var n=e.graph();n.ranksep/=2,t.A(e.edges(),(function(r){var t=e.edge(r);t.minlen*=2,"c"!==t.labelpos.toLowerCase()&&("TB"===n.rankdir||"BT"===n.rankdir?t.width+=t.labeloffset:t.height+=t.labeloffset)}))}(e))),n(" removeSelfEdges",(()=>function(e){t.A(e.edges(),(function(n){if(n.v===n.w){var r=e.node(n.v);r.selfEdges||(r.selfEdges=[]),r.selfEdges.push({e:n,label:e.edge(n)}),e.removeEdge(n)}}))}(e))),n(" acyclic",(()=>G(e))),n(" nestingGraph.run",(()=>Xn(e))),n(" rank",(()=>Wn(He(e)))),n(" injectEdgeLabelProxies",(()=>function(e){t.A(e.edges(),(function(n){var r=e.edge(n);if(r.width&&r.height){var t=e.node(n.v),o={rank:(e.node(n.w).rank-t.rank)/2+t.rank,e:n};Ze(e,"edge-proxy",o,"_ep")}}))}(e))),n(" removeEmptyRanks",(()=>function(e){var n=qe(d.A(e.nodes(),(function(n){return e.node(n).rank}))),r=[];t.A(e.nodes(),(function(t){var o=e.node(t).rank-n;r[o]||(r[o]=[]),r[o].push(t)}));var o=0,i=e.graph().nodeRankFactor;t.A(r,(function(n,r){Ge.A(n)&&r%i!=0?--o:o&&t.A(n,(function(n){e.node(n).rank+=o}))}))}(e))),n(" nestingGraph.cleanup",(()=>function(e){var n=e.graph();e.removeNode(n.nestingRoot),delete n.nestingRoot,t.A(e.edges(),(function(n){e.edge(n).nestingEdge&&e.removeEdge(n)}))}(e))),n(" normalizeRanks",(()=>function(e){var n=qe(d.A(e.nodes(),(function(n){return e.node(n).rank})));t.A(e.nodes(),(function(r){var t=e.node(r);$e(t,"rank")&&(t.rank-=n)}))}(e))),n(" assignRankMinMax",(()=>function(e){var n=0;t.A(e.nodes(),(function(r){var t=e.node(r);t.borderTop&&(t.minRank=e.node(t.borderTop).rank,t.maxRank=e.node(t.borderBottom).rank,n=Ce(n,t.maxRank))})),e.graph().maxRank=n}(e))),n(" removeEdgeLabelProxies",(()=>function(e){t.A(e.nodes(),(function(n){var r=e.node(n);"edge-proxy"===r.dummy&&(e.edge(r.e).labelRank=r.rank,e.removeNode(n))}))}(e))),n(" normalize.run",(()=>dn(e))),n(" parentDummyChains",(()=>Or(e))),n(" addBorderSegments",(()=>function(e){t.A(e.children(),(function n(r){var o=e.children(r),i=e.node(r);if(o.length&&t.A(o,n),Object.prototype.hasOwnProperty.call(i,"minRank")){i.borderLeft=[],i.borderRight=[];for(var u=i.minRank,a=i.maxRank+1;u<a;++u)tn(e,"borderLeft","_bl",r,i,u),tn(e,"borderRight","_br",r,i,u)}}))}(e))),n(" order",(()=>yr(e))),n(" insertSelfEdges",(()=>function(e){var n=Qe(e);t.A(n,(function(n){var r=0;t.A(n,(function(n,o){var i=e.node(n);i.order=o+r,t.A(i.selfEdges,(function(n){Ze(e,"selfedge",{width:n.label.width,height:n.label.height,rank:i.rank,order:o+ ++r,e:n.e,label:n.label},"_se")})),delete i.selfEdges}))}))}(e))),n(" adjustCoordinateSystem",(()=>function(e){var n=e.graph().rankdir.toLowerCase();"lr"!==n&&"rl"!==n||un(e)}(e))),n(" position",(()=>Rr(e))),n(" positionSelfEdges",(()=>function(e){t.A(e.nodes(),(function(n){var r=e.node(n);if("selfedge"===r.dummy){var t=e.node(r.e.v),o=t.x+t.width/2,i=t.y,u=r.x-o,a=t.height/2;e.setEdge(r.e,r.label),e.removeNode(n),r.label.points=[{x:o+2*u/3,y:i-a},{x:o+5*u/6,y:i-a},{x:o+u,y:i},{x:o+5*u/6,y:i+a},{x:o+2*u/3,y:i+a}],r.label.x=r.x,r.label.y=r.y}}))}(e))),n(" removeBorderNodes",(()=>function(e){t.A(e.nodes(),(function(n){if(e.children(n).length){var r=e.node(n),t=e.node(r.borderTop),o=e.node(r.borderBottom),i=e.node(Se(r.borderLeft)),u=e.node(Se(r.borderRight));r.width=Math.abs(u.x-i.x),r.height=Math.abs(o.y-t.y),r.x=i.x+r.width/2,r.y=t.y+r.height/2}})),t.A(e.nodes(),(function(n){"border"===e.node(n).dummy&&e.removeNode(n)}))}(e))),n(" normalize.undo",(()=>function(e){t.A(e.graph().dummyChains,(function(n){var r,t=e.node(n),o=t.edgeLabel;for(e.setEdge(t.edgeObj,o);t.dummy;)r=e.successors(n)[0],e.removeNode(n),o.points.push({x:t.x,y:t.y}),"edge-label"===t.dummy&&(o.x=t.x,o.y=t.y,o.width=t.width,o.height=t.height),n=r,t=e.node(n)}))}(e))),n(" fixupEdgeLabelCoords",(()=>function(e){t.A(e.edges(),(function(n){var r=e.edge(n);if(Object.prototype.hasOwnProperty.call(r,"x"))switch("l"!==r.labelpos&&"r"!==r.labelpos||(r.width-=r.labeloffset),r.labelpos){case"l":r.x-=r.width/2+r.labeloffset;break;case"r":r.x+=r.width/2+r.labeloffset}}))}(e))),n(" undoCoordinateSystem",(()=>on(e))),n(" translateGraph",(()=>function(e){var n=Number.POSITIVE_INFINITY,r=0,o=Number.POSITIVE_INFINITY,i=0,u=e.graph(),a=u.marginx||0,c=u.marginy||0;function f(e){var t=e.x,u=e.y,a=e.width,c=e.height;n=Math.min(n,t-a/2),r=Math.max(r,t+a/2),o=Math.min(o,u-c/2),i=Math.max(i,u+c/2)}t.A(e.nodes(),(function(n){f(e.node(n))})),t.A(e.edges(),(function(n){var r=e.edge(n);Object.prototype.hasOwnProperty.call(r,"x")&&f(r)})),n-=a,o-=c,t.A(e.nodes(),(function(r){var t=e.node(r);t.x-=n,t.y-=o})),t.A(e.edges(),(function(r){var i=e.edge(r);t.A(i.points,(function(e){e.x-=n,e.y-=o})),Object.prototype.hasOwnProperty.call(i,"x")&&(i.x-=n),Object.prototype.hasOwnProperty.call(i,"y")&&(i.y-=o)})),u.width=r-n+a,u.height=i-o+c}(e))),n(" assignNodeIntersects",(()=>function(e){t.A(e.edges(),(function(n){var r,t,o=e.edge(n),i=e.node(n.v),u=e.node(n.w);o.points?(r=o.points[0],t=o.points[o.points.length-1]):(o.points=[],r=u,t=i),o.points.unshift(Ke(i,r)),o.points.push(Ke(u,t))}))}(e))),n(" reversePoints",(()=>function(e){t.A(e.edges(),(function(n){var r=e.edge(n);r.reversed&&r.points.reverse()}))}(e))),n(" acyclic.undo",(()=>function(e){t.A(e.edges(),(function(n){var r=e.edge(n);if(r.reversed){e.removeEdge(n);var t=r.forwardName;delete r.reversed,delete r.forwardName,e.setEdge(n.w,n.v,r,t)}}))}(e)))}(n,r))),r(" updateInputGraph",(()=>function(e,n){t.A(e.nodes(),(function(r){var t=e.node(r),o=n.node(r);t&&(t.x=o.x,t.y=o.y,n.children(r).length&&(t.width=o.width,t.height=o.height))})),t.A(e.edges(),(function(r){var t=e.edge(r),o=n.edge(r);t.points=o.points,Object.prototype.hasOwnProperty.call(o,"x")&&(t.x=o.x,t.y=o.y)})),e.graph().width=n.graph().width,e.graph().height=n.graph().height}(e,n)))}))}var Cr=["nodesep","edgesep","ranksep","marginx","marginy"],Sr={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},Fr=["acyclicer","ranker","rankdir","align"],Br=["width","height"],Vr={width:0,height:0},Gr=["minlen","weight","width","height","labeloffset"],Ur={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},qr=["labelpos"];function Dr(e,n){return Ve(_e(e,n),Number)}function Yr(e){var n={};return t.A(e,(function(e,r){n[r.toLowerCase()]=e})),n}},21831:(e,n,r)=>{r.d(n,{A:()=>u});var t=r(63756),o=r(66860),i=Object.prototype.hasOwnProperty;const u=function(e,n,r){var u=e[n];i.call(e,n)&&(0,o.A)(u,r)&&(void 0!==r||n in e)||(0,t.A)(e,n,r)}},22018:(e,n,r)=>{r.d(n,{A:()=>c});var t=r(24113),o=Object.create;const i=function(){function e(){}return function(n){if(!(0,t.A)(n))return{};if(o)return o(n);e.prototype=n;var r=new e;return e.prototype=void 0,r}}();var u=r(68523),a=r(87443);const c=function(e){return"function"!=typeof e.constructor||(0,a.A)(e)?{}:i((0,u.A)(e))}},30161:(e,n,r)=>{r.d(n,{A:()=>o});var t=r(34504);const o=function(e){var n=new e.constructor(e.byteLength);return new t.A(n).set(new t.A(e)),n}},40558:(e,n,r)=>{r.d(n,{A:()=>c});var t=r(43025),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=o&&"object"==typeof module&&module&&!module.nodeType&&module,u=i&&i.exports===o?t.A.Buffer:void 0,a=u?u.allocUnsafe:void 0;const c=function(e,n){if(n)return e.slice();var r=e.length,t=a?a(r):new e.constructor(r);return e.copy(t),t}},43035:(e,n,r)=>{r.d(n,{A:()=>t});const t=function(e,n){var r=-1,t=e.length;for(n||(n=Array(t));++r<t;)n[r]=e[r];return n}},63756:(e,n,r)=>{r.d(n,{A:()=>o});var t=r(33623);const o=function(e,n,r){"__proto__"==n&&t.A?(0,t.A)(e,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[n]=r}},64413:(e,n,r)=>{r.d(n,{A:()=>X});var t=r(9606),o=r(87789),i=r(21831),u=r(96411),a=r(68770);const c=function(e,n){return e&&(0,u.A)(n,(0,a.A)(n),e)};var f=r(1083);const d=function(e,n){return e&&(0,u.A)(n,(0,f.A)(n),e)};var s=r(40558),v=r(43035),h=r(51620);const l=function(e,n){return(0,u.A)(e,(0,h.A)(e),n)};var g=r(26364),A=r(68523),p=r(28341);const b=Object.getOwnPropertySymbols?function(e){for(var n=[];e;)(0,g.A)(n,(0,h.A)(e)),e=(0,A.A)(e);return n}:p.A;const w=function(e,n){return(0,u.A)(e,b(e),n)};var y=r(93838),m=r(54459);const j=function(e){return(0,m.A)(e,f.A,b)};var x=r(91823),O=Object.prototype.hasOwnProperty;const k=function(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&O.call(e,"index")&&(r.index=e.index,r.input=e.input),r};var E=r(30161);const N=function(e,n){var r=n?(0,E.A)(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)};var _=/\w*$/;const I=function(e){var n=new e.constructor(e.source,_.exec(e));return n.lastIndex=e.lastIndex,n};var P=r(87141),T=P.A?P.A.prototype:void 0,M=T?T.valueOf:void 0;const R=function(e){return M?Object(M.call(e)):{}};var L=r(93301);const C=function(e,n,r){var t=e.constructor;switch(n){case"[object ArrayBuffer]":return(0,E.A)(e);case"[object Boolean]":case"[object Date]":return new t(+e);case"[object DataView]":return N(e,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return(0,L.A)(e,r);case"[object Map]":case"[object Set]":return new t;case"[object Number]":case"[object String]":return new t(e);case"[object RegExp]":return I(e);case"[object Symbol]":return R(e)}};var S=r(22018),F=r(30213),B=r(14148),V=r(17774);const G=function(e){return(0,V.A)(e)&&"[object Map]"==(0,x.A)(e)};var U=r(35873),q=r(69405),D=q.A&&q.A.isMap;const Y=D?(0,U.A)(D):G;var z=r(24113);const $=function(e){return(0,V.A)(e)&&"[object Set]"==(0,x.A)(e)};var J=q.A&&q.A.isSet;const W=J?(0,U.A)(J):$;var Z="[object Arguments]",H="[object Function]",K="[object Object]",Q={};Q[Z]=Q["[object Array]"]=Q["[object ArrayBuffer]"]=Q["[object DataView]"]=Q["[object Boolean]"]=Q["[object Date]"]=Q["[object Float32Array]"]=Q["[object Float64Array]"]=Q["[object Int8Array]"]=Q["[object Int16Array]"]=Q["[object Int32Array]"]=Q["[object Map]"]=Q["[object Number]"]=Q[K]=Q["[object RegExp]"]=Q["[object Set]"]=Q["[object String]"]=Q["[object Symbol]"]=Q["[object Uint8Array]"]=Q["[object Uint8ClampedArray]"]=Q["[object Uint16Array]"]=Q["[object Uint32Array]"]=!0,Q["[object Error]"]=Q[H]=Q["[object WeakMap]"]=!1;const X=function e(n,r,u,h,g,A){var p,b=1&r,m=2&r,O=4&r;if(u&&(p=g?u(n,h,g,A):u(n)),void 0!==p)return p;if(!(0,z.A)(n))return n;var E=(0,F.A)(n);if(E){if(p=k(n),!b)return(0,v.A)(n,p)}else{var N=(0,x.A)(n),_=N==H||"[object GeneratorFunction]"==N;if((0,B.A)(n))return(0,s.A)(n,b);if(N==K||N==Z||_&&!g){if(p=m||_?{}:(0,S.A)(n),!b)return m?w(n,d(p,n)):l(n,c(p,n))}else{if(!Q[N])return g?n:{};p=C(n,N,b)}}A||(A=new t.A);var I=A.get(n);if(I)return I;A.set(n,p),W(n)?n.forEach((function(t){p.add(e(t,r,u,t,n,A))})):Y(n)&&n.forEach((function(t,o){p.set(o,e(t,r,u,o,n,A))}));var P=O?m?j:y.A:m?f.A:a.A,T=E?void 0:P(n);return(0,o.A)(T||n,(function(t,o){T&&(t=n[o=t]),(0,i.A)(p,o,e(t,r,u,o,n,A))})),p}},68523:(e,n,r)=>{r.d(n,{A:()=>t});const t=(0,r(22723).A)(Object.getPrototypeOf,Object)},83998:(e,n,r)=>{r.d(n,{A:()=>a});var t=r(58376),o=r(59546),i=r(89260),u=r(30213);const a=function(e,n){return((0,u.A)(e)?t.A:i.A)(e,(0,o.A)(n,3))}},89260:(e,n,r)=>{r.d(n,{A:()=>i});var t=r(27788),o=r(85906);const i=function(e,n){var r=-1,i=(0,o.A)(e)?Array(e.length):[];return(0,t.A)(e,(function(e,t,o){i[++r]=n(e,t,o)})),i}},93301:(e,n,r)=>{r.d(n,{A:()=>o});var t=r(30161);const o=function(e,n){var r=n?(0,t.A)(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},96411:(e,n,r)=>{r.d(n,{A:()=>i});var t=r(21831),o=r(63756);const i=function(e,n,r,i){var u=!r;r||(r={});for(var a=-1,c=n.length;++a<c;){var f=n[a],d=i?i(r[f],e[f],f,r,e):void 0;void 0===d&&(d=e[f]),u?(0,o.A)(r,f,d):(0,t.A)(r,f,d)}return r}}}]); |