Files
anthropic-client/docs/public/flowchart-elk-definition-ae0efee6-MAQF265M.min.js
T

141 lines
1.4 MiB
JavaScript
Raw Permalink Normal View History

2024-07-07 16:16:55 -05:00
import{a as Qse,c as Yse}from"./chunk-CA32PY7O.min.js";import{a as Zse,c as nfe,f as efe,k as tfe,l as ife,n as rfe}from"./chunk-N4EFGQ5G.min.js";import"./chunk-LXB37CFX.min.js";import{F as NO,G as Jse,Ga as $1,J as f$e,Oa as cfe,Ta as _U,Ua as HU,b as o$e,c as s$e,cb as $O,eb as ufe,h as mE}from"./chunk-YEACHCAA.min.js";import{a as DO,b as u$e,d as KU}from"./chunk-XUHMPXWX.min.js";var sfe=u$e((ofe,A0n)=>{(function(et){if(typeof ofe=="object"&&typeof A0n<"u")A0n.exports=et();else if(typeof define=="function"&&define.amd)define([],et);else{var Lt;typeof window<"u"?Lt=window:typeof global<"u"?Lt=global:typeof self<"u"?Lt=self:Lt=this,Lt.ELK=et()}})(function(){var et,Lt,Li;return function(){function At(br,Di,fr){function y(Pi,gt){if(!Di[Pi]){if(!br[Pi]){var vt=typeof DO=="function"&&DO;if(!gt&&vt)return vt(Pi,!0);if(ho)return ho(Pi,!0);var Ni=new Error("Cannot find module '"+Pi+"'");throw Ni.code="MODULE_NOT_FOUND",Ni}var ct=Di[Pi]={exports:{}};br[Pi][0].call(ct.exports,function(kc){var au=br[Pi][1][kc];return y(au||kc)},ct,ct.exports,At,br,Di,fr)}return Di[Pi].exports}for(var ho=typeof DO=="function"&&DO,vr=0;vr<fr.length;vr++)y(fr[vr]);return y}return At}()({1:[function(At,br,Di){"use strict";Object.defineProperty(Di,"__esModule",{value:!0});var fr=function(){function Pi(gt,vt){for(var Ni=0;Ni<vt.length;Ni++){var ct=vt[Ni];ct.enumerable=ct.enumerable||!1,ct.configurable=!0,"value"in ct&&(ct.writable=!0),Object.defineProperty(gt,ct.key,ct)}}return function(gt,vt,Ni){return vt&&Pi(gt.prototype,vt),Ni&&Pi(gt,Ni),gt}}();function y(Pi,gt){if(!(Pi instanceof gt))throw new TypeError("Cannot call a class as a function")}var ho=function(){function Pi(){var gt=this,vt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ni=vt.defaultLayoutOptions,ct=Ni===void 0?{}:Ni,kc=vt.algorithms,au=kc===void 0?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:kc,Eu=vt.workerFactory,Tr=vt.workerUrl;if(y(this,Pi),this.defaultLayoutOptions=ct,this.initialized=!1,typeof Tr>"u"&&typeof Eu>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var Kn=Eu;typeof Tr<"u"&&typeof Eu>"u"&&(Kn=function(Jd){return new Worker(Jd)});var _l=Kn(Tr);if(typeof _l.postMessage!="function")throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new vr(_l),this.worker.postMessage({cmd:"register",algorithms:au}).then(function(F1){return gt.initialized=!0}).catch(console.err)}return fr(Pi,[{key:"layout",value:function(vt){var Ni=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ct=Ni.layoutOptions,kc=ct===void 0?this.defaultLayoutOptions:ct,au=Ni.logging,Eu=au===void 0?!1:au,Tr=Ni.measureExecutionTime,Kn=Tr===void 0?!1:Tr;return vt?this.worker.postMessage({cmd:"layout",graph:vt,layoutOptions:kc,options:{logging:Eu,measureExecutionTime:Kn}}):Promise.reject(new Error("Missing mandatory parameter 'graph'."))}},{key:"knownLayoutAlgorithms",value:function(){return this.worker.postMessage({cmd:"algorithms"})}},{key:"knownLayoutOptions",value:function(){return this.worker.postMessage({cmd:"options"})}},{key:"knownLayoutCategories",value:function(){return this.worker.postMessage({cmd:"categories"})}},{key:"terminateWorker",value:function(){this.worker.terminate()}}]),Pi}();Di.default=ho;var vr=function(){function Pi(gt){var vt=this;if(y(this,Pi),gt===void 0)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=gt,this.worker.onmessage=function(Ni){setTimeout(function(){vt.receive(vt,Ni)},0)}}return fr(Pi,[{key:"postMessage",value:function(vt){var Ni=this.id||0;this.id=Ni+1,vt.id=Ni;var ct=this;return new Promise(function(kc,au){ct.resolvers[Ni]=function(Eu,Tr){Eu?(ct.convertGwtStyleError(Eu),au(Eu)):kc(Tr)},ct.worker.postMessage(vt)})}},{key:"receive",value:function(vt,Ni){var ct=Ni.data,kc=vt.resolvers[ct.id];kc&&(delete vt.resolvers[ct.id],ct.error?kc(ct.error):kc(null,ct.data))}},{key:"terminate",value:function(){this.worker.terminate&&this.worker.terminate()}},{key:"convertGwtStyleError",val
`,vu(Vi(n,e[0])))>=0;)++e[0]}function k4e(n,e){iu(n,e==null||XC((Jn(e),e))||isNaN((Jn(e),e))?0:(Jn(e),e))}function y4e(n,e){ru(n,e==null||XC((Jn(e),e))||isNaN((Jn(e),e))?0:(Jn(e),e))}function j4e(n,e){I0(n,e==null||XC((Jn(e),e))||isNaN((Jn(e),e))?0:(Jn(e),e))}function E4e(n,e){P0(n,e==null||XC((Jn(e),e))||isNaN((Jn(e),e))?0:(Jn(e),e))}function C4e(n,e,t){return kv(new V(t.e.a+t.f.a/2,t.e.b+t.f.b/2),n)==(Jn(e),e)}function M4e(n,e){return L(e,102)&&u(e,19).Bb&lr?new pD(e,n):new Y3(e,n)}function T4e(n,e){return L(e,102)&&u(e,19).Bb&lr?new pD(e,n):new Y3(e,n)}function wk(n){return n.__elementTypeCategory$==null?10:n.__elementTypeCategory$}function d$n(n,e){return e==(_D(),_D(),_Qn)?n.toLocaleLowerCase():n.toLowerCase()}function b$n(n){if(!n.e)throw M(new tc);return n.c=n.a=n.e,n.e=n.e.e,--n.d,n.a.f}function bQ(n){if(!n.c)throw M(new tc);return n.e=n.a=n.c,n.c=n.c.c,++n.d,n.a.f}function w$n(n){var e;for(++n.a,e=n.c.a.length;n.a<e;++n.a)if(n.c.b[n.a])return}function A4e(n){var e,t;if(n.a){t=null;do e=n.a,n.a=null,t=M_n(e,t);while(n.a);n.a=t}}function S4e(n){var e,t;if(n.b){t=null;do e=n.b,n.b=null,t=M_n(e,t);while(n.b);n.b=t}}function P4e(n,e){var t;for(t=0;n.e!=n.i.gc();)Zbe(e,ue(n),Y(t)),t!=nt&&++t}function I4e(n,e){var t;return t=F0(n.e.c,e.e.c),t==0?bt(n.e.d,e.e.d):t}function O4e(n,e){var t,i;for(i=e.c,t=i+1;t<=e.f;t++)n.a[t]>n.a[i]&&(i=t);return i}function g$n(n){var e;return e=u(m(n,(W(),ob)),313),e?e.a==n:!1}function v$n(n){var e;return e=u(m(n,(W(),ob)),313),e?e.i==n:!1}function p$n(){p$n=x,$Zn=Ce((Wi(),S(T(Fon,1),G,367,0,[Js,Qh,Nc,qc,Vr])))}function m$n(){m$n=x,pne=Ce((fw(),S(T(vne,1),G,375,0,[vj,WP,JP,VP,XP])))}function k$n(){k$n=x,Pne=Ce((f1(),S(T(xsn,1),G,348,0,[iH,Fsn,rH,vm,gm])))}function y$n(){y$n=x,wie=Ce((M5(),S(T(Rhn,1),G,323,0,[Bhn,XH,VH,W8,J8])))}function j$n(){j$n=x,Hne=Ce((ns(),S(T(bfn,1),G,171,0,[Cj,_8,Ea,H8,Bw])))}function E$n(){E$n=x,ice=Ce((pA(),S(T(tce,1),G,368,0,[Cq,yq,Mq,jq,Eq])))}function C$n(){C$n=x,iue=Ce((F5(),S(T(tue,1),G,373,0,[$2,Lp,b9,d9,Hj])))}function M$n(){M$n=x,fue=Ce((Qk(),S(T(G1n,1),G,324,0,[H1n,Xq,U1n,Vq,q1n])))}function T$n(){T$n=x,ooe=Ce((ri(),S(T(j9,1),G,88,0,[Qf,Wr,Kr,Jf,ss])))}function A$n(){A$n=x,Due=Ce((mf(),S(T(nl,1),G,170,0,[$n,gi,Ih,_d,M1])))}function S$n(){S$n=x,goe=Ce((Rg(),S(T(T9,1),G,256,0,[Ia,tE,vdn,M9,pdn])))}function P$n(){P$n=x,moe=Ce((en(),S(T(ar,1),Sc,64,0,[hc,Xn,Zn,ae,Wn])))}function sT(){sT=x,Gun=new Jz("BY_SIZE",0),d_=new Jz("BY_SIZE_AND_SHAPE",1)}function fT(){fT=x,C_=new Zz("EADES",0),jP=new Zz("FRUCHTERMAN_REINGOLD",1)}function gk(){gk=x,YP=new iX("READING_DIRECTION",0),Bsn=new iX("ROTATION",1)}function i5(){i5=x,qZn=new dwn,UZn=new gwn,_Zn=new vwn,HZn=new wwn,GZn=new pwn}function I$n(n){this.b=new Z,this.a=new Z,this.c=new Z,this.d=new Z,this.e=n}function O$n(n){this.g=n,this.f=new Z,this.a=y.Math.min(this.g.c.c,this.g.d.c)}function L$n(n,e,t){GC.call(this),vQ(this),this.a=n,this.c=t,this.b=e.d,this.f=e.e}function L4e(n,e,t){var i,r;for(r=new C(t);r.a<r.c.c.length;)i=E(r),enn(n,e,i)}function gf(n,e,t){var i;if(e==null)throw M(new cv);return i=bl(n,e),Gpe(n,e,t),i}function y$(n,e){var t;return t=u(ee(n.a,e),137),t||(t=new _O,Xe(n.a,e,t)),t}function Nn(n,e){var t;return t=(n.i==null&&wh(n),n.i),e>=0&&e<t.length?t[e]:null}function D4e(n,e){var t;return t=e>0?e-1:e,dEn(cle(tFn(rW(new sv,t),n.n),n.j),n.k)}function Fr(n){var e,t;t=(e=new wL,e),me((!n.q&&(n.q=new q(Is,n,11,10)),n.q),t)}function wQ(n){return(n.i&2?"interface ":n.i&1?"":"class ")+(al(n),n.o)}function hT(n){return Tc(n,nt)>0?nt:Tc(n,Ji)<0?Ji:Ae(n)}function Zb(n){return n<3?(To(n,Vzn),n+1):n<W5?bi(n/.75+1):nt}function D$n(n,e){return Jn(e),TW(n),n.d.Ob()?(e.Cd(n.d.Pb()),!0):!1}function N4e(n,e){var t,i;return t=u(rw(n.d,e),16),t?(i=e,n.e.pc(i,t)):null}function $4e(n,e,t,i){var r;n.j=-1,Unn(n,Enn(n,e,t),(wr(),r=u(e,69).vk(),r.xl(i)))}function F4e(n,e){return Hv(),-Mc(u(m(n,(dc(),L2)),17).a,u(m(e,L2),17).a)}function N$n(n,e){return!!o5(n,e,Ae(tr(Gh,xh(Ae(tr(e==null?0:mt(e),zh)),15))))}function x4e(){return C4(),S(T(EO,1),G,245,0,[TU,yO,jO,kO,MU,mO,pO,CU])}function B4e(){return d1(),S(T(Nue,1),G,285,0,[
`)}return e&&(e.stack||t(n[aB]))}function WY(n,e){switch(e){case 3:return n.f!=0;case 4:return n.g!=0;case 5:return n.i!=0;case 6:return n.j!=0}return WQ(n,e)}function $Bn(n){switch(n.g){case 0:return new c4n;case 1:return new s4n;default:throw M(new Gn(hR+(n.f!=null?n.f:""+n.g)))}}function F8e(n){switch(n.g){case 0:return new u4n;case 1:return new o4n;default:throw M(new Gn(JR+(n.f!=null?n.f:""+n.g)))}}function x8e(n){switch(n.g){case 1:return new Y3n;case 2:return new yAn;default:throw M(new Gn(JR+(n.f!=null?n.f:""+n.g)))}}function FBn(n){switch(n.g){case 0:return new lz;case 1:return new vjn;default:throw M(new Gn(RS+(n.f!=null?n.f:""+n.g)))}}function pF(){unn();var n,e,t;t=NNe+++Date.now(),n=bi(y.Math.floor(t*Oy))&eS,e=bi(t-n*Ptn),this.a=n^1502,this.b=e^BB}function ns(){ns=x,Cj=new a7(yh,0),_8=new a7("FIRST",1),Ea=new a7(iVn,2),H8=new a7("LAST",3),Bw=new a7(rVn,4)}function zT(){zT=x,yU=new MC(Irn,0),Tdn=new MC("GROUP_DEC",1),Sdn=new MC("GROUP_MIXED",2),Adn=new MC("GROUP_INC",3)}function B8e(n,e){var t,i,r,c;e&&(r=jl(e,"x"),t=new byn(n),H3(t.a,(Jn(r),r)),c=jl(e,"y"),i=new gyn(n),U3(i.a,(Jn(c),c)))}function R8e(n,e){var t,i,r,c;e&&(r=jl(e,"x"),t=new pyn(n),_3(t.a,(Jn(r),r)),c=jl(e,"y"),i=new myn(n),q3(i.a,(Jn(c),c)))}function K8e(n,e){var t,i,r,c;for(r=new Vc(e.gc()),i=e.Kc();i.Ob();)t=i.Pb(),c=$x(n,u(t,58)),c&&Bn(r.c,c);return r}function cw(n,e,t){var i,r;for(r=n.Kc();r.Ob();)if(i=r.Pb(),F(e)===F(i)||e!=null&&rt(e,i))return t&&r.Qb(),!0;return!1}function xBn(n){var e,t,i;return t=n.jh(),t?(e=n.Eh(),L(e,167)&&(i=xBn(u(e,167)),i!=null)?i+"."+t:t):null}function _8e(n){var e,t,i;return n.e==0?0:(e=n.d<<5,t=n.a[n.d-1],n.e<0&&(i=HFn(n),i==n.d-1&&(--t,t=t|0)),e-=ry(t),e)}function H8e(n){var e,t,i;return n<aP.length?aP[n]:(t=n>>5,e=n&31,i=K(ye,_e,28,t+1,15,1),i[t]=1<<e,new Za(1,t+1,i))}function BBn(n,e){var t,i;if(e){for(t=0;t<n.i;++t)if(i=u(n.g[t],378),i.mj(e))return!1;return me(n,e)}else return!1}function JY(n,e,t){var i,r;if(++n.j,t.dc())return!1;for(r=t.Kc();r.Ob();)i=r.Pb(),n.qj(e,n.Zi(e,i)),++e;return!0}function q8e(n,e,t,i){var r,c;if(c=t-e,c<3)for(;c<3;)n*=10,++c;else{for(r=1;c>3;)r*=10,--c;n=(n+(r>>1))/r|0}return i.i=n,!0}function Nt(n,e){var t,i,r;if(t=(n.i==null&&wh(n),n.i),i=e.Lj(),i!=-1){for(r=t.length;i<r;++i)if(t[i]==e)return i}return-1}function U8e(n){var e,t,i,r,c;for(t=u(n.g,689),i=n.i-1;i>=0;--i)for(e=t[i],r=0;r<i;++r)if(c=t[r],GUn(n,e,c)){Qv(n,i);break}}function QY(n){var e,t,i,r;for(e=new Ha,r=new Jp(n.b.Kc());r.b.Ob();)i=u(r.b.Pb(),701),t=uEe(i),zwe(e,e.a.length,t);return e.a}function YY(n){var e;return!n.c&&(n.c=new Tbn),Qt(n.d,new Sbn),qAe(n),e=NAe(n),Gt(new Mn(null,new Pn(n.d,16)),new z9n(n)),e}function G8e(n,e){e.Ug("End label post-processing",1),Gt(ut(uc(new Mn(null,new Pn(n.b,16)),new qwn),new Uwn),new Gwn),e.Vg()}function ZY(n){mF(),this.c=Lf(S(T(ZNe,1),Fn,845,0,[hie])),this.b=new de,this.a=n,Xe(this.b,TI,1),tu(lie,new zkn(this))}function RBn(n,e,t){nFn(),ajn.call(this),this.a=Ja(uYn,[J,Ktn],[603,217],0,[gP,w_],2),this.c=new mv,this.g=n,this.f=e,this.d=t}function nZ(n,e){this.n=Ja(Ra,[J,DB],[376,28],14,[e,bi(y.Math.ceil(n/32))],2),this.o=n,this.p=e,this.j=n-1>>1,this.k=e-1>>1}function z8e(n){eT(),u(n.of((He(),Sa)),181).Hc((ro(),dO))&&(u(n.of(Qw),181).Fc((Xu(),Bp)),u(n.of(Sa),181).Mc(dO))}function KBn(n){var e,t;e=n.d==(Zv(),dm),t=QZ(n),e&&!t||!e&&t?U(n.a,(cn(),Ah),(Kh(),Gj)):U(n.a,(cn(),Ah),(Kh(),Uj))}function mF(){mF=x,tC(),TI=(cn(),gb),lie=Lf(S(T(Zq,1),Prn,149,0,[Aj,Qs,A2,wb,Gw,xH,Am,Sm,BH,X8,T2,Rd,S2]))}function X8e(n,e){var t;return t=u(Qr(n,Uu(new Mu,new Cu,new Tu,S(T(Br,1),G,108,0,[(zu(),nc)]))),15),t.Qc(oPn(t.gc()))}function _Bn(n,e){var t,i;if(i=new Yp(n.a.ad(e,!0)),i.a.gc()<=1)throw M(new cv);return t=i.a.ec().Kc(),t.Pb(),u(t.Pb(),39)}function V8e(n,e,t){var i,r;return i=$(n.p[e.i.p])+$(n.d[e.i.p])+e.n.b+e.a.b,r=$(n.p[t.i.p])+$(n.d[t.i.p])+t.n.b+t.a.b,r-i}function eZ(n,e){var t;return n.i>0&&(e.length<n.i&&(t=vk(vo(e).c,n.i),e=t),Dc(n.g,0,e,0,n.i)),e.length>n.i&&Bt(e,n.i,null),e}function XT(n){var e;return n.Db&64?v5(n):(e=new ds(v5(n)),e.a+=" (instanceClassName: ",Ar(e,n.D),e.a+=")",e.
`;return t.substring(0,i.length)==i&&(t=t.substring(i.length)),t.split(`
`)}return[]}function U7e(n){var e;return e=(fFn(),PQn),e[n>>>28]|e[n>>24&15]<<4|e[n>>20&15]<<8|e[n>>16&15]<<12|e[n>>12&15]<<16|e[n>>8&15]<<20|e[n>>4&15]<<24|e[n&15]<<28}function sKn(n){var e,t,i;n.b==n.c&&(i=n.a.length,t=iY(y.Math.max(8,i))<<1,n.b!=0?(e=Bs(n.a,t),CFn(n,e,i),n.a=e,n.b=0):Pb(n.a,t),n.c=i)}function G7e(n,e){var t;return t=n.b,t.pf((He(),so))?t.ag()==(en(),Wn)?-t.Mf().a-$(R(t.of(so))):e+$(R(t.of(so))):t.ag()==(en(),Wn)?-t.Mf().a:e}function Uk(n){var e;return n.b.c.length!=0&&u(sn(n.b,0),72).a?u(sn(n.b,0),72).a:(e=CN(n),e??""+(n.c?Gr(n.c.a,n,0):-1))}function bA(n){var e;return n.f.c.length!=0&&u(sn(n.f,0),72).a?u(sn(n.f,0),72).a:(e=CN(n),e??""+(n.i?Gr(n.i.j,n,0):-1))}function z7e(n,e){var t,i;if(e<0||e>=n.gc())return null;for(t=e;t<n.gc();++t)if(i=u(n.Xb(t),131),t==n.gc()-1||!i.o)return new di(Y(t),i);return null}function X7e(n,e,t){var i,r,c,s,f;for(c=n.c,f=t?e:n,i=t?n:e,r=f.p+1;r<i.p;++r)if(s=u(sn(c.a,r),10),!(s.k==(Vn(),zf)||yke(s)))return!1;return!0}function TZ(n){var e,t,i,r,c;for(c=0,r=hi,i=0,t=new C(n.a);t.a<t.c.c.length;)e=u(E(t),172),c+=e.r+(i>0?n.c:0),r=y.Math.max(r,e.d),++i;n.e=c,n.b=r}function V7e(n){var e,t;if(!n.b)for(n.b=HM(u(n.f,123).kh().i),t=new ne(u(n.f,123).kh());t.e!=t.i.gc();)e=u(ue(t),135),nn(n.b,new jL(e));return n.b}function W7e(n,e){var t,i,r;if(e.dc())return p3(),p3(),dE;for(t=new GAn(n,e.gc()),r=new ne(n);r.e!=r.i.gc();)i=ue(r),e.Hc(i)&&me(t,i);return t}function AZ(n,e,t,i){return e==0?i?(!n.o&&(n.o=new Du((Ac(),rl),S1,n,0)),n.o):(!n.o&&(n.o=new Du((Ac(),rl),S1,n,0)),ck(n.o)):cA(n,e,t,i)}function XF(n){var e,t;if(n.rb)for(e=0,t=n.rb.i;e<t;++e)S7(D(n.rb,e));if(n.vb)for(e=0,t=n.vb.i;e<t;++e)S7(D(n.vb,e));R6(($u(),Xi),n),n.Bb|=1}function Ct(n,e,t,i,r,c,s,f,h,l,a,d,g,v){return H_n(n,e,i,null,r,c,s,f,h,l,g,!0,v),RY(n,a),L(n.Cb,90)&&aw(no(u(n.Cb,90)),2),t&&BQ(n,t),KY(n,d),n}function J7e(n){var e,t;if(n==null)return null;t=0;try{t=Po(n,Ji,nt)&ci}catch(i){if(i=Dt(i),L(i,130))e=uT(n),t=e[0];else throw M(i)}return kk(t)}function Q7e(n){var e,t;if(n==null)return null;t=0;try{t=Po(n,Ji,nt)&ci}catch(i){if(i=Dt(i),L(i,130))e=uT(n),t=e[0];else throw M(i)}return kk(t)}function Y7e(n,e){var t,i,r;return r=n.h-e.h,r<0||(t=n.l-e.l,i=n.m-e.m+(t>>22),r+=i>>22,r<0)?!1:(n.l=t&co,n.m=i&co,n.h=r&Ol,!0)}function VF(n,e,t,i,r,c,s){var f,h;return!(e.Te()&&(h=n.a.Ne(t,i),h<0||!r&&h==0)||e.Ue()&&(f=n.a.Ne(t,c),f>0||!s&&f==0))}function Z7e(n,e){c4();var t;if(t=n.j.g-e.j.g,t!=0)return 0;switch(n.j.g){case 2:return bF(e,Ssn)-bF(n,Ssn);case 4:return bF(n,Asn)-bF(e,Asn)}return 0}function nke(n){switch(n.g){case 0:return uH;case 1:return oH;case 2:return sH;case 3:return fH;case 4:return ZP;case 5:return hH;default:return null}}function xr(n,e,t){var i,r;return i=(r=new gL,dd(r,e),Wc(r,t),me((!n.c&&(n.c=new q(yb,n,12,10)),n.c),r),r),i1(i,0),ew(i,1),s1(i,!0),o1(i,!0),i}function Qv(n,e){var t,i;if(e>=n.i)throw M(new vD(e,n.i));return++n.j,t=n.g[e],i=n.i-e-1,i>0&&Dc(n.g,e+1,n.g,e,i),Bt(n.g,--n.i,null),n.Qi(e,t),n.Ni(),t}function fKn(n,e){var t,i;return n.Db>>16==17?n.Cb.Th(n,21,Ps,e):(i=gr(u(Nn((t=u(Un(n,16),29),t||n.ii()),n.Db>>16),19)),n.Cb.Th(n,i.n,i.f,e))}function eke(n){var e,t,i,r;for(On(),Qt(n.c,n.a),r=new C(n.c);r.a<r.c.c.length;)for(i=E(r),t=new C(n.b);t.a<t.c.c.length;)e=u(E(t),693),e.bf(i)}function tke(n){var e,t,i,r;for(On(),Qt(n.c,n.a),r=new C(n.c);r.a<r.c.c.length;)for(i=E(r),t=new C(n.b);t.a<t.c.c.length;)e=u(E(t),382),e.bf(i)}function ike(n){var e,t,i,r,c;for(r=nt,c=null,i=new C(n.d);i.a<i.c.c.length;)t=u(E(i),218),t.d.j^t.e.j&&(e=t.e.e-t.d.e-t.a,e<r&&(r=e,c=t));return c}function SZ(){SZ=x,CZn=new Cn(iin,(_n(),!1)),yZn=new Cn(rin,100),Son=(t5(),S_),jZn=new Cn(cin,Son),EZn=new Cn(uin,kh),MZn=new Cn(oin,Y(nt))}function hKn(n,e,t){var i,r,c,s,f,h,l,a;for(l=0,r=n.a[e],c=0,s=r.length;c<s;++c)for(i=r[c],a=g5(i,t),h=a.Kc();h.Ob();)f=u(h.Pb(),12),Xe(n.f,f,Y(l++))}function rke(n,e,t){var i,r,c,s;if(t)for(r=t.a.length,i=new Ya(r),s=(i.b-i.a)*i.c<0?(H1(),Ba):new G1(i);s.Ob();)c=u(s.Pb(),17),Sn(n,e,np(Yb(t,c.a)))}function cke(n,e,t){var i,r,c,s;if(t)for(r=t.a.length,i=new Ya(r),s=(i.b-i.a)*i.c<0?(H1(),Ba):new G1(i)
\r\f]+`);try{L9=S(T(i$e,1),Fn,2114,0,[new W9((TX(),WT("yyyy-MM-dd'T'HH:mm:ss'.'SSSZ",L7((HE(),HE(),T8))))),new W9(WT("yyyy-MM-dd'T'HH:mm:ss'.'SSS",L7(T8))),new W9(WT("yyyy-MM-dd'T'HH:mm:ss",L7(T8))),new W9(WT("yyyy-MM-dd'T'HH:mm",L7(T8))),new W9(WT("yyyy-MM-dd",L7(T8)))])}catch(n){if(n=Dt(n),!L(n,82))throw M(n)}}function EIe(n,e){var t,i,r,c;if(r=io(n.d,1)!=0,i=Pen(n,e),i==0&&on(un(m(e.j,(W(),ja)))))return 0;!on(un(m(e.j,(W(),ja))))&&!on(un(m(e.j,E2)))||F(m(e.j,(cn(),Zh)))===F((ah(),j1))?e.c.mg(e.e,r):r=on(un(m(e.j,ja))),fy(n,e,r,!0),on(un(m(e.j,E2)))&&U(e.j,E2,(_n(),!1)),on(un(m(e.j,ja)))&&(U(e.j,ja,(_n(),!1)),U(e.j,E2,!0)),t=Pen(n,e);do{if(_Q(n),t==0)return 0;r=!r,c=t,fy(n,e,r,!1),t=Pen(n,e)}while(c>t);return c}function lGn(n,e){var t,i,r,c;if(r=io(n.d,1)!=0,i=EA(n,e),i==0&&on(un(m(e.j,(W(),ja)))))return 0;!on(un(m(e.j,(W(),ja))))&&!on(un(m(e.j,E2)))||F(m(e.j,(cn(),Zh)))===F((ah(),j1))?e.c.mg(e.e,r):r=on(un(m(e.j,ja))),fy(n,e,r,!0),on(un(m(e.j,E2)))&&U(e.j,E2,(_n(),!1)),on(un(m(e.j,ja)))&&(U(e.j,ja,(_n(),!1)),U(e.j,E2,!0)),t=EA(n,e);do{if(_Q(n),t==0)return 0;r=!r,c=t,fy(n,e,r,!1),t=EA(n,e)}while(c>t);return c}function Jen(n,e,t,i){var r,c,s,f,h,l,a,d,g;return h=vi(new V(t.a,t.b),n),l=h.a*e.b-h.b*e.a,a=e.a*i.b-e.b*i.a,d=(h.a*i.b-h.b*i.a)/a,g=l/a,a==0?l==0?(r=tt(new V(t.a,t.b),uh(new V(i.a,i.b),.5)),c=Y1(n,r),s=Y1(tt(new V(n.a,n.b),e),r),f=y.Math.sqrt(i.a*i.a+i.b*i.b)*.5,c<s&&c<=f?new V(n.a,n.b):s<=f?tt(new V(n.a,n.b),e):null):null:d>=0&&d<=1&&g>=0&&g<=1?tt(new V(n.a,n.b),uh(new V(e.a,e.b),d)):null}function CIe(n,e,t){var i,r,c,s,f;if(i=u(m(n,(cn(),AH)),21),t.a>e.a&&(i.Hc((gd(),g9))?n.c.a+=(t.a-e.a)/2:i.Hc(v9)&&(n.c.a+=t.a-e.a)),t.b>e.b&&(i.Hc((gd(),m9))?n.c.b+=(t.b-e.b)/2:i.Hc(p9)&&(n.c.b+=t.b-e.b)),u(m(n,(W(),Gc)),21).Hc((kr(),os))&&(t.a>e.a||t.b>e.b))for(f=new C(n.a);f.a<f.c.c.length;)s=u(E(f),10),s.k==(Vn(),Yt)&&(r=u(m(s,pc),64),r==(en(),Zn)?s.n.a+=t.a-e.a:r==ae&&(s.n.b+=t.b-e.b));c=n.d,n.f.a=t.a-c.b-c.c,n.f.b=t.b-c.d-c.a}function MIe(n,e,t){var i,r,c,s,f;if(i=u(m(n,(cn(),AH)),21),t.a>e.a&&(i.Hc((gd(),g9))?n.c.a+=(t.a-e.a)/2:i.Hc(v9)&&(n.c.a+=t.a-e.a)),t.b>e.b&&(i.Hc((gd(),m9))?n.c.b+=(t.b-e.b)/2:i.Hc(p9)&&(n.c.b+=t.b-e.b)),u(m(n,(W(),Gc)),21).Hc((kr(),os))&&(t.a>e.a||t.b>e.b))for(s=new C(n.a);s.a<s.c.c.length;)c=u(E(s),10),c.k==(Vn(),Yt)&&(r=u(m(c,pc),64),r==(en(),Zn)?c.n.a+=t.a-e.a:r==ae&&(c.n.b+=t.b-e.b));f=n.d,n.f.a=t.a-f.b-f.c,n.f.b=t.b-f.d-f.a}function TIe(n){var e,t,i,r,c,s,f,h,l,a,d,g;for(e=MHn(n),a=(f=new Ua(e).a.vc().Kc(),new OE(f));a.a.Ob();){for(l=(r=u(a.a.Pb(),44),u(r.ld(),10)),d=0,g=0,d=l.d.d,g=l.o.b+l.d.a,n.d[l.p]=0,t=l;(c=n.a[t.p])!=l;)i=y9e(t,c),h=0,n.c==(hh(),E1)?h=i.d.n.b+i.d.a.b-i.c.n.b-i.c.a.b:h=i.c.n.b+i.c.a.b-i.d.n.b-i.d.a.b,s=$(n.d[t.p])+h,n.d[c.p]=s,d=y.Math.max(d,c.d.d-s),g=y.Math.max(g,s+c.o.b+c.d.a),t=c;t=l;do n.d[t.p]=$(n.d[t.p])+d,t=n.a[t.p];while(t!=l);n.b[l.p]=d+g}}function G5(n,e,t){var i,r,c,s,f,h,l,a,d,g;for(c=0,s=n.t,r=0,i=0,h=0,g=0,d=0,t&&(n.n.c.length=0,nn(n.n,new xM(n.s,n.t,n.i))),f=0,a=new C(n.b);a.a<a.c.c.length;)l=u(E(a),27),c+l.g+(f>0?n.i:0)>e&&h>0&&(c=0,s+=h+n.i,r=y.Math.max(r,g),i+=h+n.i,h=0,g=0,t&&(++d,nn(n.n,new xM(n.s,s,n.i))),f=0),g+=l.g+(f>0?n.i:0),h=y.Math.max(h,l.f),t&&jZ(u(sn(n.n,d),209),l),c+=l.g+(f>0?n.i:0),++f;return r=y.Math.max(r,g),i+=h,t&&(n.r=r,n.d=i,TZ(n.j)),new Uo(n.s,n.t,r,i)}function _x(n){var e,t,i,r,c,s,f,h,l,a,d,g;for(n.b=!1,d=It,h=hi,g=It,l=hi,i=n.e.a.ec().Kc();i.Ob();)for(t=u(i.Pb(),272),r=t.a,d=y.Math.min(d,r.c),h=y.Math.max(h,r.c+r.b),g=y.Math.min(g,r.d),l=y.Math.max(l,r.d+r.a),s=new C(t.c);s.a<s.c.c.length;)c=u(E(s),407),e=c.a,e.a?(a=r.d+c.b.b,f=a+c.c,g=y.Math.min(g,a),l=y.Math.max(l,f)):(a=r.c+c.b.a,f=a+c.c,d=y.Math.min(d,a),h=y.Math.max(h,f));n.a=new V(h-d,l-g),n.c=new V(d+n.d.a,g+n.d.b)}function Qg(n){var e,t,i,r,c,s,f,h;if(!n.a){if(n.o=null,h=new Oyn(n),e=new Lmn,t=$9,f=t.a.zc(n,t),f==null){for(s=new ne(Ur(n));s.e!=s.i.gc();)c=u(ue(s),29),Ht(h,Qg(c));t.a.Bc(n)!=null,t.a.gc()==0}for(r=(!n.s&&(n.s=new q(ju,n,21,17)),new ne(n.s));r.e!=r.i.gc();)i=u(ue(r),179),L(i,331)&&me(e,u(i,35));iw(e),n.k=new nPn(n,(u(D(H((X1(),Hn).o),7),19),e.i),e.g),Ht(h
\r\r `),Nr(V2,RK,i),Nr(qm,RK,gw(i)),i=(++_t,new Eo(4)),Kk(i,oQn),Nr(V2,M8,i),Nr(qm,M8,gw(i)),i=(++_t,new Eo(4)),Kk(i,oQn),Nr(V2,M8,i),Nr(qm,M8,gw(i)),i=(++_t,new Eo(4)),Kk(i,sQn),pw(i,u(xc(V2,M8),122)),Nr(V2,BK,i),Nr(qm,BK,gw(i)),i=(++_t,new Eo(4)),Kk(i,"-.0:AZ__az\xB7\xB7\xC0\xD6\xD8\xF6\xF8\u0131\u0134\u013E\u0141\u0148\u014A\u017E\u0180\u01C3\u01CD\u01F0\u01F4\u01F5\u01FA\u0217\u0250\u02A8\u02BB\u02C1\u02D0\u02D1\u0300\u0345\u0360\u0361\u0386\u038A\u038C\u038C\u038E\u03A1\u03A3\u03CE\u03D0\u03D6\u03DA\u03DA\u03DC\u03DC\u03DE\u03DE\u03E0\u03E0\u03E2\u03F3\u0401\u040C\u040E\u044F\u0451\u045C\u045E\u0481\u0483\u0486\u0490\u04C4\u04C7\u04C8\u04CB\u04CC\u04D0\u04EB\u04EE\u04F5\u04F8\u04F9\u0531\u0556\u0559\u0559\u0561\u0586\u0591\u05A1\u05A3\u05B9\u05BB\u05BD\u05BF\u05BF\u05C1\u05C2\u05C4\u05C4\u05D0\u05EA\u05F0\u05F2\u0621\u063A\u0640\u0652\u0660\u0669\u0670\u06B7\u06BA\u06BE\u06C0\u06CE\u06D0\u06D3\u06D5\u06E8\u06EA\u06ED\u06F0\u06F9\u0901\u0903\u0905\u0939\u093C\u094D\u0951\u0954\u0958\u0963\u0966\u096F\u0981\u0983\u0985\u098C\u098F\u0990\u0993\u09A8\u09AA\u09B0\u09B2\u09B2\u09B6\u09B9\u09BC\u09BC\u09BE\u09C4\u09C7\u09C8\u09CB\u09CD\u09D7\u09D7\u09DC\u09DD\u09DF\u09E3\u09E6\u09F1\u0A02\u0A02\u0A05\u0A0A\u0A0F\u0A10\u0A13\u0A28\u0A2A\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3C\u0A3E\u0A42\u0A47\u0A48\u0A4B\u0A4D\u0A59\u0A5C\u0A5E\u0A5E\u0A66\u0A74\u0A81\u0A83\u0A85\u0A8B\u0A8D\u0A8D\u0A8F\u0A91\u0A93\u0AA8\u0AAA\u0AB0\u0AB2\u0AB3\u0AB5\u0AB9\u0ABC\u0AC5\u0AC7\u0AC9\u0ACB\u0ACD\u0AE0\u0AE0\u0AE6\u0AEF\u0B01\u0B03\u0B05\u0B0C\u0B0F\u0B10\u0B13\u0B28\u0B2A\u0B30\u0B32\u0B33\u0B36\u0B39\u0B3C\u0B43\u0B47\u0B48\u0B4B\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F\u0B61\u0B66\u0B6F\u0B82\u0B83\u0B85\u0B8A\u0B8E\u0B90\u0B92\u0B95\u0B99\u0B9A\u0B9C\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8\u0BAA\u0BAE\u0BB5\u0BB7\u0BB9\u0BBE\u0BC2\u0BC6\u0BC8\u0BCA\u0BCD\u0BD7\u0BD7\u0BE7\u0BEF\u0C01\u0C03\u0C05\u0C0C\u0C0E\u0C10\u0C12\u0C28\u0C2A\u0C33\u0C35\u0C39\u0C3E\u0C44\u0C46\u0C48\u0C4A\u0C4D\u0C55\u0C56\u0C60\u0C61\u0C66\u0C6F\u0C82\u0C83\u0C85\u0C8C\u0C8E\u0C90\u0C92\u0CA8\u0CAA\u0CB3\u0CB5\u0CB9\u0CBE\u0CC4\u0CC6\u0CC8\u0CCA\u0CCD\u0CD5\u0CD6\u0CDE\u0CDE\u0CE0\u0CE1\u0CE6\u0CEF\u0D02\u0D03\u0D05\u0D0C\u0D0E\u0D10\u0D12\u0D28\u0D2A\u0D39\u0D3E\u0D43\u0D46\u0D48\u0D4A\u0D4D\u0D57\u0D57\u0D60\u0D61\u0D66\u0D6F\u0E01\u0E2E\u0E30\u0E3A\u0E40\u0E4E\u0E50\u0E59\u0E81\u0E82\u0E84\u0E84\u0E87\u0E88\u0E8A\u0E8A\u0E8D\u0E8D\u0E94\u0E97\u0E99\u0E9F\u0EA1\u0EA3\u0EA5\u0EA5\u0EA7\u0EA7\u0EAA\u0EAB\u0EAD\u0EAE\u0EB0\u0EB9\u0EBB\u0EBD\u0EC0\u0EC4\u0EC6\u0EC6\u0EC8\u0ECD\u0ED0\u0ED9\u0F18\u0F19\u0F20\u0F29\u0F35\u0F35\u0F37\u0F37\u0F39\u0F39\u0F3E\u0F47\u0F49\u0F69\u0F71\u0F84\u0F86\u0F8B\u0F90\u0F95\u0F97\u0F97\u0F99\u0FAD\u0FB1\u0FB7\u0FB9\u0FB9\u10A0\u10C5\u10D0\u10F6\u1100\u1100\u1102\u1103\u1105\u1107\u1109\u1109\u110B\u110C\u110E\u1112\u113C\u113C\u113E\u113E\u1140\u1140\u114C\u114C\u114E\u114E\u1150\u1150\u1154\u1155\u1159\u1159\u115F\u1161\u1163\u1163\u1165\u1165\u1167\u1167\u1169\u1169\u116D\u116E\u1172\u1173\u1175\u1175\u119E\u119E\u11A8\u11A8\u11AB\u11AB\u11AE\u11AF\u11B7\u11B8\u11BA\u11BA\u11BC\u11C2\u11EB\u11EB\u11F0\u11F0\u11F9\u11F9\u1E00\u1E9B\u1EA0\u1EF9\u1F00\u1F15\u1F18\u1F1D\u1F20\u1F45\u1F48\u1F4D\u1F50\u1F57\u1F59\u1F59\u1F5B\u1F5B\u1F5D\u1F5D\u1F5F\u1F7D\u1F80\u1FB4\u1FB6\u1FBC\u1FBE\u1FBE\u1FC2\u1FC4\u1FC6\u1FCC\u1FD0\u1FD3\u1FD6\u1FDB\u1FE0\u1FEC\u1FF2\u1FF4\u1FF6\u1FFC\u20D0\u20DC\u20E1\u20E1\u2126\u2126\u212A\u212B\u212E\u212E\u2180\u2182\u3005\u3005\u3007\u3007\u3021\u302F\u3031\u3035\u3041\u3094\u3099\u309A\u309D\u309E\u30A1\u30FA\u30FC\u30FE\u3105\u312C\u4E00\u9FA5\uAC00\uD7A3"),Nr(V2,KK,i),Nr(qm,KK,gw(i)),i=(++_t,new Eo(4)),Kk(i,sQn),Rc(i,95,95),Rc(i,58,58),Nr(V2,_K,i),Nr(qm,_K,gw(i))),t=u(xc(e?V2:qm,n),138),t}function xzn(n){c0(n,new vd(Sz(zE(t0(Zd(e0(n0(new _a,Yn),"ELK Layered"),"Layer-based algorithm provided by the Eclipse Layout Kernel. Arranges as many edges as possible into one direction by placing nodes into subsequent layers. This implementation supports different routing styles (straight, orthogonal, splines); if or
`,zXn=`)]}"' \r
`,XXn="The given string contains parts that cannot be parsed as numbers.",_y="org.eclipse.elk.core.math",VXn={3:1,4:1,140:1,214:1,423:1},WXn={3:1,4:1,107:1,214:1,423:1},v1="org.eclipse.elk.alg.layered.graph.transform",JXn="ElkGraphImporter",QXn="ElkGraphImporter/lambda$1$Type",YXn="ElkGraphImporter/lambda$2$Type",ZXn="ElkGraphImporter/lambda$4$Type",Qn="org.eclipse.elk.alg.layered.intermediate",nVn="Node margin calculation",eVn="ONE_SIDED_GREEDY_SWITCH",tVn="TWO_SIDED_GREEDY_SWITCH",hR="No implementation is available for the layout processor ",lR="IntermediateProcessorStrategy",aR="Node '",iVn="FIRST_SEPARATE",rVn="LAST_SEPARATE",cVn="Odd port side processing",ai="org.eclipse.elk.alg.layered.intermediate.compaction",u8="org.eclipse.elk.alg.layered.intermediate.greedyswitch",Wh="org.eclipse.elk.alg.layered.p3order.counting",Hy={230:1},gp="org.eclipse.elk.alg.layered.intermediate.loops",Lo="org.eclipse.elk.alg.layered.intermediate.loops.ordering",ba="org.eclipse.elk.alg.layered.intermediate.loops.routing",hin="org.eclipse.elk.alg.layered.intermediate.preserveorder",jh="org.eclipse.elk.alg.layered.intermediate.wrapping",Pc="org.eclipse.elk.alg.layered.options",dR="INTERACTIVE",lin="GREEDY",uVn="DEPTH_FIRST",oVn="EDGE_LENGTH",sVn="SELF_LOOPS",fVn="firstTryWithInitialOrder",ain="org.eclipse.elk.layered.directionCongruency",din="org.eclipse.elk.layered.feedbackEdges",bS="org.eclipse.elk.layered.interactiveReferencePoint",bin="org.eclipse.elk.layered.mergeEdges",win="org.eclipse.elk.layered.mergeHierarchyEdges",gin="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",vin="org.eclipse.elk.layered.portSortingStrategy",pin="org.eclipse.elk.layered.thoroughness",min="org.eclipse.elk.layered.unnecessaryBendpoints",kin="org.eclipse.elk.layered.generatePositionAndLayerIds",bR="org.eclipse.elk.layered.cycleBreaking.strategy",qy="org.eclipse.elk.layered.layering.strategy",yin="org.eclipse.elk.layered.layering.layerConstraint",jin="org.eclipse.elk.layered.layering.layerChoiceConstraint",Ein="org.eclipse.elk.layered.layering.layerId",wR="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",gR="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",vR="org.eclipse.elk.layered.layering.nodePromotion.strategy",pR="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",mR="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",o8="org.eclipse.elk.layered.crossingMinimization.strategy",Cin="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",kR="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",yR="org.eclipse.elk.layered.crossingMinimization.semiInteractive",Min="org.eclipse.elk.layered.crossingMinimization.inLayerPredOf",Tin="org.eclipse.elk.layered.crossingMinimization.inLayerSuccOf",Ain="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",Sin="org.eclipse.elk.layered.crossingMinimization.positionId",Pin="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",jR="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",wS="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",u2="org.eclipse.elk.layered.nodePlacement.strategy",gS="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",ER="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",CR="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",MR="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",TR="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",AR="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",Iin="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",Oin="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",vS="org.eclipse.elk.layered.edgeRouting.splines.mode",pS="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",SR="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",Lin="org.eclipse.elk.layered.spacing.baseValue",Din="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",Nin="org.eclipse.elk.layered.spa
`,e=Y(0),s=0;s<this.p;s++){for(i+=""+e.a,e=Y(xAn(e.a)),r=0;r<this.o;r++)t=P$(this,r,s),Tc(t,0)==0?i+="_":Tc(t,1)==0?i+="X":i+="0";i+=`
`}return Go(i,0,i.length-1)},o.o=0,o.p=0;var _Ue=w(cS,"TwoBitGrid",1317);b(330,1317,{330:1},nZ),o.j=0,o.k=0;var HUe=w(cS,"PlanarGrid",330);b(176,330,{330:1,176:1}),o.g=0,o.i=0;var qUe=w(cS,"Polyomino",176),_Ne=xt(Dy,IXn);b(137,1,Utn,_O),o.qf=function(e,t){return Sk(this,e,t)},o.nf=function(){return mPn(this)},o.of=function(e){return m(this,e)},o.pf=function(e){return yt(this,e)};var UUe=w(Dy,"MapPropertyHolder",137);b(1318,137,Utn,Eqn);var GUe=w(cS,"Polyominoes",1318),RYn=!1,I8,lon;b(1828,1,re,Hbn),o.Cd=function(e){MGn(u(e,225))};var zUe=w(lp,"DepthFirstCompaction/0methodref$compactTree$Type",1828);b(825,1,re,FG),o.Cd=function(e){dge(this.a,u(e,225))};var XUe=w(lp,"DepthFirstCompaction/lambda$1$Type",825);b(1829,1,re,SSn),o.Cd=function(e){g9e(this.a,this.b,this.c,u(e,225))};var VUe=w(lp,"DepthFirstCompaction/lambda$2$Type",1829),O8,aon;b(68,1,{68:1},NOn);var WUe=w(lp,"Node",68);b(1214,1,{},DTn);var JUe=w(lp,"ScanlineOverlapCheck",1214);b(1215,1,{693:1},sOn),o.bf=function(e){Gae(this,u(e,450))};var QUe=w(lp,"ScanlineOverlapCheck/OverlapsScanlineHandler",1215);b(1216,1,Ne,qbn),o.Ne=function(e,t){return Z5e(u(e,68),u(t,68))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)};var YUe=w(lp,"ScanlineOverlapCheck/OverlapsScanlineHandler/lambda$0$Type",1216);b(450,1,{450:1},Yz),o.a=!1;var ZUe=w(lp,"ScanlineOverlapCheck/Timestamp",450);b(1217,1,Ne,Ubn),o.Ne=function(e,t){return Dke(u(e,450),u(t,450))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)};var nGe=w(lp,"ScanlineOverlapCheck/lambda$0$Type",1217);b(557,1,{},jE);var eGe=w(OXn,"SVGImage",557);b(334,1,{334:1},RV),o.Ib=function(){return"("+this.a+or+this.b+or+this.c+")"};var tGe=w(OXn,"UniqueTriple",334);b(205,1,jd);var iGe=w(t2,"AbstractLayoutProvider",205);b(1114,205,jd,Gbn),o.rf=function(e,t){var i,r,c,s;switch(t.Ug(LXn,1),this.a=$(R(X(e,(C5(),pon)))),Nf(e,k_)&&(c=Oe(X(e,k_)),i=Ox(z3(),c),i&&(r=u(V7(i.f),205),r.rf(e,t.eh(1)))),s=new nDn(this.a),this.b=SLe(s,e),u(X(e,(tF(),bon)),488).g){case 0:UCe(new zbn,this.b),lt(e,kP,m(this.b,kP));break;default:hl()}qLe(s),lt(e,gon,this.b),t.Vg()},o.a=0;var rGe=w(DXn,"DisCoLayoutProvider",1114);b(1208,1,{},zbn),o.c=!1,o.e=0,o.f=0;var cGe=w(DXn,"DisCoPolyominoCompactor",1208);b(567,1,{567:1},vPn),o.b=!0;var uGe=w(oS,"DCComponent",567);b(406,22,{3:1,34:1,22:1,406:1},aC),o.a=!1;var pP,hj,mP,lj,KYn=we(oS,"DCDirection",406,ke,gpe,$de),_Yn;b(272,137,{3:1,272:1,96:1,137:1},mx);var oGe=w(oS,"DCElement",272);b(407,1,{407:1},CZ),o.c=0;var sGe=w(oS,"DCExtension",407);b(762,137,Utn,uEn);var fGe=w(oS,"DCGraph",762);b(488,22,{3:1,34:1,22:1,488:1},TAn);var m_,don=we(ZB,Gtn,488,ke,Cge,Fde),HYn;b(865,1,ks,U5n),o.hf=function(e){mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,ztn),NXn),"Connected Components Compaction Strategy"),"Strategy for packing different connected components in order to save space and enhance readability of a graph."),won),(d1(),Ot)),don),yn((mf(),$n))))),mn(e,new ln(vn(gn(pn(an(wn(dn(bn(new hn,Xtn),NXn),"Connected Components Layout Algorithm"),"A layout algorithm that is to be applied to each connected component before the components themselves are compacted. If unspecified, the positions of the components' nodes are not altered."),F2),fn),yn($n)))),mn(e,new ln(vn(gn(pn(an(wn(dn(bn(new hn,Vtn),"debug"),"DCGraph"),"Access to the DCGraph is intended for the debug view,"),Wf),mi),yn($n)))),mn(e,new ln(vn(gn(pn(an(wn(dn(bn(new hn,Wtn),"debug"),"List of Polyominoes"),"Access to the polyominoes is intended for the debug view,"),Wf),mi),yn($n)))),hGn((new G5n,e))};var qYn,bon,won,UYn,GYn,hGe=w(ZB,"DisCoMetaDataProvider",865);b(1010,1,ks,G5n),o.hf=function(e){hGn(e)};var zYn,k_,XYn,gon,kP,y_,von,VYn,WYn,JYn,QYn,pon,lGe=w(ZB,"DisCoOptions",1010);b(1011,1,{},Xbn),o.sf=function(){var e;return e=new Gbn,e},o.tf=function(e){};var aGe=w(ZB,"DisCoOptions/DiscoFactory",1011);b(568,176,{330:1,176:1,568:1},cqn),o.a=0,o.b=0,o.c=0,o.d=0;var dGe=w("org.eclipse.elk.alg.disco.structures","DCPolyomino",568),j_,E_,yP;b(1286,1,Le,Vbn),o.Mb=function(e){return AX(e)};var bGe=w(i2,"ElkGraphComponentsProcessor/lambda$0$Type
start=`,$c(e,this.i),e.a+=`
end=`,$c(e,this.a),e.a+=`
nodeStartEdge=`,$c(e,this.e),e.a+=`
startEndEdge=`,$c(e,this.j),e.a+=`
originalEdge=`,$c(e,this.f),e.a+=`
startInLayerDummy=`,$c(e,this.k),e.a+=`
startInLayerEdge=`,$c(e,this.n),e.a+=`
endInLayerDummy=`,$c(e,this.b),e.a+=`
endInLayerEdge=`,$c(e,this.c),e.a};var CYe=w(jh,"BreakingPointInserter/BPInfo",313);b(661,1,{661:1},J7n),o.a=!1,o.b=0,o.c=0;var MYe=w(jh,"BreakingPointInserter/Cut",661);b(1545,1,kt,zvn),o.Kf=function(e,t){YMe(u(e,36),t)};var TYe=w(jh,"BreakingPointProcessor",1545);b(1546,1,Le,Xvn),o.Mb=function(e){return g$n(u(e,10))};var AYe=w(jh,"BreakingPointProcessor/0methodref$isEnd$Type",1546);b(1547,1,Le,Vvn),o.Mb=function(e){return v$n(u(e,10))};var SYe=w(jh,"BreakingPointProcessor/1methodref$isStart$Type",1547);b(1548,1,kt,Wvn),o.Kf=function(e,t){kTe(this,u(e,36),t)};var PYe=w(jh,"BreakingPointRemover",1548);b(1549,1,re,Jvn),o.Cd=function(e){u(e,131).k=!0};var IYe=w(jh,"BreakingPointRemover/lambda$0$Type",1549);b(811,1,{},Qnn),o.b=0,o.e=0,o.f=0,o.j=0;var OYe=w(jh,"GraphStats",811);b(812,1,{},nG),o.Ve=function(e,t){return y.Math.max($(R(e)),$(R(t)))};var LYe=w(jh,"GraphStats/0methodref$max$Type",812);b(813,1,{},eG),o.Ve=function(e,t){return y.Math.max($(R(e)),$(R(t)))};var DYe=w(jh,"GraphStats/2methodref$max$Type",813);b(1726,1,{},Qvn),o.Ve=function(e,t){return ybe(R(e),R(t))};var NYe=w(jh,"GraphStats/lambda$1$Type",1726);b(1727,1,{},_7n),o.Kb=function(e){return jRn(this.a,u(e,30))};var $Ye=w(jh,"GraphStats/lambda$2$Type",1727);b(1728,1,{},H7n),o.Kb=function(e){return bqn(this.a,u(e,30))};var FYe=w(jh,"GraphStats/lambda$6$Type",1728);b(814,1,{},tG),o.og=function(e,t){var i;return i=u(m(e,(cn(),Mhn)),15),i||(On(),On(),Yi)},o.pg=function(){return!1};var xYe=w(jh,"ICutIndexCalculator/ManualCutIndexCalculator",814);b(816,1,{},iG),o.og=function(e,t){var i,r,c,s,f,h,l,a,d,g,v,p,k,j,A,I,O,N,_;for(_=(t.n==null&&JRn(t),t.n),l=(t.d==null&&JRn(t),t.d),N=K(Si,Ir,28,_.length,15,1),N[0]=_[0],I=_[0],a=1;a<_.length;a++)N[a]=N[a-1]+_[a],I+=_[a];for(c=g_n(t)-1,f=u(m(e,(cn(),Thn)),17).a,r=hi,i=new Z,v=y.Math.max(0,c-f);v<=y.Math.min(t.f-1,c+f);v++){if(j=I/(v+1),A=0,d=1,s=new Z,O=hi,g=0,h=0,k=l[0],v==0)O=I,h=(t.g==null&&(t.g=$Fn(t,new eG)),$(t.g));else{for(;d<t.f;)N[d-1]-A>=j&&(nn(s,Y(d)),O=y.Math.max(O,N[d-1]-g),h+=k,A+=N[d-1]-A,g=N[d-1],k=l[d]),k=y.Math.max(k,l[d]),++d;h+=k}p=y.Math.min(1/O,1/t.b/h),p>r&&(r=p,i=s)}return i},o.pg=function(){return!1};var BYe=w(jh,"MSDCutIndexHeuristic",816);b(1683,1,kt,Yvn),o.Kf=function(e,t){sIe(u(e,36),t)};var RYe=w(jh,"SingleEdgeGraphWrapper",1683);b(232,22,{3:1,34:1,22:1,232:1},w6);var v2,dm,bm,Fw,N8,p2,wm=we(Pc,"CenterEdgeLabelPlacementStrategy",232,ke,X3e,Wde),Mne;b(431,22,{3:1,34:1,22:1,431:1},tX);var Isn,eH,Osn=we(Pc,"ConstraintCalculationStrategy",431,ke,d2e,Jde),Tne;b(322,22,{3:1,34:1,22:1,322:1,188:1,196:1},zL),o.dg=function(){return Z_n(this)},o.qg=function(){return Z_n(this)};var pj,$8,Lsn,Dsn=we(Pc,"CrossingMinimizationStrategy",322,ke,ove,Qde),Ane;b(351,22,{3:1,34:1,22:1,351:1},XL);var Nsn,tH,QP,$sn=we(Pc,"CuttingStrategy",351,ke,sve,Yde),Sne;b(348,22,{3:1,34:1,22:1,348:1,188:1,196:1},l7),o.dg=function(){return qHn(this)},o.qg=function(){return qHn(this)};var Fsn,iH,gm,rH,vm,xsn=we(Pc,"CycleBreakingStrategy",348,ke,l3e,Zde),Pne;b(428,22,{3:1,34:1,22:1,428:1},iX);var YP,Bsn,Rsn=we(Pc,"DirectionCongruency",428,ke,a2e,n0e),Ine;b(459,22,{3:1,34:1,22:1,459:1},VL);var pm,cH,m2,One=we(Pc,"EdgeConstraint",459,ke,fve,o0e),Lne;b(283,22,{3:1,34:1,22:1,283:1},g6);var uH,oH,sH,fH,ZP,hH,Ksn=we(Pc,"EdgeLabelSideSelection",283,ke,U3e,s0e),Dne;b(487,22,{3:1,34:1,22:1,487:1},rX);var nI,_sn,Hsn=we(Pc,"EdgeStraighteningStrategy",487,ke,l2e,f0e),Nne;b(281,22,{3:1,34:1,22:1,281:1},v6);var lH,qsn,Usn,eI,Gsn,zsn,Xsn=we(Pc,"FixedAlignment",281,ke,G3e,u0e),$ne;b(282,22,{3:1,34:1,22:1,282:1},p6);var Vsn,Wsn,Jsn,Qsn,F8,Ysn,Zsn=we(Pc,"GraphCompactionStrategy",282,ke,z3e,e0e),Fne;b(259,22,{3:1,34:1,22:1,259:1},Nb);var mm,tI,km,os,x8,iI,ym,k2,rI,B8,aH=we(Pc,"GraphProperties",259,ke,Ime,t0e),xne;b(298,22,{3:1,34:1,22:1,298:1},WL);var mj,dH,bH,wH=we(Pc,"GreedySwitchType",298,ke,hve,i0e),Bne;b(311,22,{3:1,34:1,22:1,311:1},JL);var Cp,kj,y2,Rne=we(Pc,"InLayerConstraint",311,ke,lve,r0e),Kne;b(429,22,{3:1,34:1,22:1,429:1},cX);var gH,nfn,efn=we(Pc,"InteractiveReferencePoint",429,ke,m2e,c0e),_ne,tfn,Mp,ob,cI,ifn,rfn,uI,cfn,yj,oI,R8,Tp,$
`;for(t=ge(this.a,0);t.b!=t.d.c;)e=u(be(t),65),c+=(e.b&&e.c?id(e.b)+"->"+id(e.c):"e_"+mt(e))+`
`;return c};var WNe=w(h8,"TGraph",121);b(643,508,{3:1,508:1,643:1,96:1,137:1});var Wet=w(h8,"TShape",643);b(39,643,{3:1,508:1,39:1,643:1,96:1,137:1},V$),o.Ib=function(){return id(this)};var xI=w(h8,"TNode",39);b(236,1,Uh,fl),o.Jc=function(e){Ui(this,e)},o.Kc=function(){var e;return e=ge(this.a.d,0),new fg(e)};var Jet=w(h8,"TNode/2",236);b(329,1,Ai,fg),o.Nb=function(e){Hi(this,e)},o.Pb=function(){return u(be(this.a),65).c},o.Ob=function(){return Z9(this.a)},o.Qb=function(){j$(this.a)};var Qet=w(h8,"TNode/2/1",329);b(1923,1,kt,c3n),o.Kf=function(e,t){fNe(this,u(e,121),t)};var Yet=w(Hc,"CompactionProcessor",1923);b(1924,1,Ne,Ckn),o.Ne=function(e,t){return Jme(this.a,u(e,39),u(t,39))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)};var Zet=w(Hc,"CompactionProcessor/lambda$0$Type",1924);b(1925,1,Le,dMn),o.Mb=function(e){return t2e(this.b,this.a,u(e,42))},o.a=0,o.b=0;var ntt=w(Hc,"CompactionProcessor/lambda$1$Type",1925);b(1934,1,Ne,u3n),o.Ne=function(e,t){return Xwe(u(e,39),u(t,39))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)};var ett=w(Hc,"CompactionProcessor/lambda$10$Type",1934);b(1935,1,Ne,o3n),o.Ne=function(e,t){return oae(u(e,39),u(t,39))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)};var ttt=w(Hc,"CompactionProcessor/lambda$11$Type",1935);b(1936,1,Ne,s3n),o.Ne=function(e,t){return Vwe(u(e,39),u(t,39))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)};var itt=w(Hc,"CompactionProcessor/lambda$12$Type",1936);b(1926,1,Le,Mkn),o.Mb=function(e){return U1e(this.a,u(e,42))},o.a=0;var rtt=w(Hc,"CompactionProcessor/lambda$2$Type",1926);b(1927,1,Le,Tkn),o.Mb=function(e){return G1e(this.a,u(e,42))},o.a=0;var ctt=w(Hc,"CompactionProcessor/lambda$3$Type",1927);b(1928,1,Le,f3n),o.Mb=function(e){return u(e,39).c.indexOf(DS)==-1};var utt=w(Hc,"CompactionProcessor/lambda$4$Type",1928);b(1929,1,{},Akn),o.Kb=function(e){return rpe(this.a,u(e,39))},o.a=0;var ott=w(Hc,"CompactionProcessor/lambda$5$Type",1929);b(1930,1,{},Skn),o.Kb=function(e){return a4e(this.a,u(e,39))},o.a=0;var stt=w(Hc,"CompactionProcessor/lambda$6$Type",1930);b(1931,1,Ne,Pkn),o.Ne=function(e,t){return E3e(this.a,u(e,240),u(t,240))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)};var ftt=w(Hc,"CompactionProcessor/lambda$7$Type",1931);b(1932,1,Ne,Ikn),o.Ne=function(e,t){return C3e(this.a,u(e,39),u(t,39))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)};var htt=w(Hc,"CompactionProcessor/lambda$8$Type",1932);b(1933,1,Ne,h3n),o.Ne=function(e,t){return sae(u(e,39),u(t,39))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)};var ltt=w(Hc,"CompactionProcessor/lambda$9$Type",1933);b(1921,1,kt,l3n),o.Kf=function(e,t){cSe(u(e,121),t)};var att=w(Hc,"DirectionProcessor",1921);b(1913,1,kt,nSn),o.Kf=function(e,t){SPe(this,u(e,121),t)};var dtt=w(Hc,"FanProcessor",1913);b(1937,1,kt,a3n),o.Kf=function(e,t){XAe(u(e,121),t)};var btt=w(Hc,"GraphBoundsProcessor",1937);b(1938,1,{},d3n),o.Ye=function(e){return u(e,39).e.a};var wtt=w(Hc,"GraphBoundsProcessor/lambda$0$Type",1938);b(1939,1,{},b3n),o.Ye=function(e){return u(e,39).e.b};var gtt=w(Hc,"GraphBoundsProcessor/lambda$1$Type",1939);b(1940,1,{},w3n),o.Ye=function(e){return Ale(u(e,39))};var vtt=w(Hc,"GraphBoundsProcessor/lambda$2$Type",1940);b(1941,1,{},g3n),o.Ye=function(e){return Tle(u(e,39))};var ptt=w(Hc,"GraphBoundsProcessor/lambda$3$Type",1941);b(262,22,{3:1,34:1,22:1,262:1,196:1},u0),o.dg=function(){switch(this.g){case 0:return new Ijn;case 1:return new nSn;case 2:return new Pjn;case 3:return new y3n;case 4:return new p3n;case 8:return new v3n;case 5:return new l3n;case 6:return new E3n;case 7:return new c3n;case 9:return new a3n;case 10:return new C3n;default:throw M(new Gn(hR+(this.f!=null?this.f:""+this.g)))}};var fln,hln,lln,aln,dln,bln,wln,gln,vln,pln,uq,JNe=we(Hc,lR,262,ke,VFn,O0e),Mre;b(1920,1,kt,v3n),o.Kf=function(e,t){uDe(u(e,121),t)};var mtt=w(Hc,"LevelCoordinatesProcessor",1920);b(1918,1,kt,p3n),o.Kf=function(e,t){ATe(this,u(e,121),t)},o.a=0;var ktt=w(Hc,"LevelH
`),c.length!=2)throw M(new Gn("Exactly two numbers are expected, "+c.length+" were found."));try{this.a=hw(lw(c[0])),this.b=hw(lw(c[1]))}catch(s){throw s=Dt(s),L(s,130)?(i=s,M(new Gn(XXn+i))):M(s)}},o.Ib=function(){return"("+this.a+","+this.b+")"},o.a=0,o.b=0;var ji=w(_y,"KVector",8);b(75,67,{3:1,4:1,20:1,31:1,56:1,16:1,67:1,15:1,75:1,423:1},Su,XE,CAn),o.Pc=function(){return e5e(this)},o.cg=function(e){var t,i,r,c,s,f;r=vw(e,`,|;|\\(|\\)|\\[|\\]|\\{|\\}| | |
`),yo(this);try{for(i=0,s=0,c=0,f=0;i<r.length;)r[i]!=null&&lw(r[i]).length>0&&(s%2==0?c=hw(r[i]):f=hw(r[i]),s>0&&s%2!=0&&xe(this,new V(c,f)),++s),++i}catch(h){throw h=Dt(h),L(h,130)?(t=h,M(new Gn("The given string does not match the expected format for vectors."+t))):M(h)}},o.Ib=function(){var e,t,i;for(e=new ko("("),t=ge(this,0);t.b!=t.d.c;)i=u(be(t),8),Re(e,i.a+","+i.b),t.b!=t.d.c&&(e.a+="; ");return(e.a+=")",e).a};var dan=w(_y,"KVectorChain",75);b(255,22,{3:1,34:1,22:1,255:1},m6);var nU,tO,iO,Uj,Gj,rO,ban=we(oo,"Alignment",255,ke,Y3e,cbe),Fue;b(991,1,ks,$8n),o.hf=function(e){NUn(e)};var wan,eU,xue,gan,van,Bue,pan,Rue,Kue,man,kan,_ue,Sct=w(oo,"BoxLayouterOptions",991);b(992,1,{},imn),o.sf=function(){var e;return e=new umn,e},o.tf=function(e){};var Pct=w(oo,"BoxLayouterOptions/BoxFactory",992);b(297,22,{3:1,34:1,22:1,297:1},k6);var g9,tU,v9,p9,m9,iU,rU=we(oo,"ContentAlignment",297,ke,Z3e,ube),Hue;b(699,1,ks,lG),o.hf=function(e){mn(e,new ln(vn(gn(pn(an(wn(dn(bn(new hn,VVn),""),"Layout Algorithm"),"Select a specific layout algorithm."),(d1(),F2)),fn),yn((mf(),$n))))),mn(e,new ln(vn(gn(pn(an(wn(dn(bn(new hn,WVn),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),Wf),n$e),yn($n)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,hrn),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),yan),Ot),ban),yn(gi)))),mn(e,new ln(vn(gn(pn(an(wn(dn(bn(new hn,ap),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),Zi),oi),yn($n)))),mn(e,new ln(vn(gn(pn(an(wn(dn(bn(new hn,Ecn),""),"Bend Points"),"A fixed list of bend points for the edge. This is used by the 'Fixed Layout' algorithm to specify a pre-defined routing for an edge. The vector chain must include the source point, any bend points, and the target point, so it must have at least two points."),Wf),dan),yn(Ih)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,SS),""),"Content Alignment"),"Specifies how the content of a node are aligned. Each node can individually control the alignment of its contents. I.e. if a node should be aligned top left in its parent node, the parent node should specify that option."),Ean),Dp),rU),yn($n)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Gy),""),"Debug Mode"),"Whether additional debug information shall be generated."),(_n(),!1)),ki),Xt),yn($n)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,_R),""),qtn),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),Can),Ot),j9),yn($n)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Uy),""),"Edge Routing"),"What kind of edge routing style should be applied for the content of a parent node. Algorithms may also set this option to single edges in order to mark them as splines. The bend point list of edges with this option set to SPLINES must be interpreted as control points for a piecewise cubic spline."),Aan),Ot),pU),yn($n)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,ycn),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),ki),Xt),yn($n)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,AS),""),"Hierarchy Handling"),"Determines whether separate layout runs are triggered for different compound nodes in a hierarchical graph. Setting a node's hierarchy handling to `INCLUDE_CHILDREN` will lay out that node and all of its descendants in a single layout run, until a descendant is encountered which has its hierarchy handling set to `SEPARATE_CHILDREN`. In general, `SEPARATE_CHILDREN` will ensure that a new layout run is triggered for a node with that setting. Including multiple levels of hierarchy in a single layout run may allow cross-hierarchical edges to be laid out properly. If the root node is set to `INHERIT` (or not set at all), the default behavior is `SEPARATE_CHILDREN`."),Ian),Ot),gdn),jt($n,S(T(nl,1),G,170,0,[gi]))))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,W0),""),"Padding"),"The padding to be left to a parent element's border when placing child elements. This can also serve as an output o
Consider installing the package or pass your own 'workerFactory' to ELK's constructor.
... Falling back to non-web worker version.`);if(!ct.workerFactory){var Eu=At("./elk-worker.min.js"),Tr=Eu.Worker;ct.workerFactory=function(Kn){return new Tr(Kn)}}return y(this,(vt.__proto__||Object.getPrototypeOf(vt)).call(this,ct))}return vt}(vr);Object.defineProperty(br.exports,"__esModule",{value:!0}),br.exports=Pi,Pi.default=Pi},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(At,br,Di){br.exports=Worker},{}]},{},[3])(3)})});var afe=KU(sfe(),1);var gdt=KU(o$e(),1),vdt=KU(s$e(),1),pdt=KU(f$e(),1);var h$e=(et,Lt,Li)=>{let{parentById:At}=Li,br=new Set,Di=et;for(;Di;){if(br.add(Di),Di===Lt)return Di;Di=At[Di]}for(Di=Lt;Di;){if(br.has(Di))return Di;Di=At[Di]}return"root"},ffe=new afe.default,Ab={},l$e={},Xp={},a$e=async function(et,Lt,Li,At,br,Di,fr){let ho=Li.select(`[id="${Lt}"]`).insert("g").attr("class","nodes"),vr=Object.keys(et);return await Promise.all(vr.map(async function(Pi){let gt=et[Pi],vt="default";gt.classes.length>0&&(vt=gt.classes.join(" ")),vt=vt+" flowchart-label";let Ni=HU(gt.styles),ct=gt.text!==void 0?gt.text:gt.id,kc={width:0,height:0},au=[{id:gt.id+"-west",layoutOptions:{"port.side":"WEST"}},{id:gt.id+"-east",layoutOptions:{"port.side":"EAST"}},{id:gt.id+"-south",layoutOptions:{"port.side":"SOUTH"}},{id:gt.id+"-north",layoutOptions:{"port.side":"NORTH"}}],Eu=0,Tr="",Kn={};switch(gt.type){case"round":Eu=5,Tr="rect";break;case"square":Tr="rect";break;case"diamond":Tr="question",Kn={portConstraints:"FIXED_SIDE"};break;case"hexagon":Tr="hexagon";break;case"odd":Tr="rect_left_inv_arrow";break;case"lean_right":Tr="lean_right";break;case"lean_left":Tr="lean_left";break;case"trapezoid":Tr="trapezoid";break;case"inv_trapezoid":Tr="inv_trapezoid";break;case"odd_right":Tr="rect_left_inv_arrow";break;case"circle":Tr="circle";break;case"ellipse":Tr="ellipse";break;case"stadium":Tr="stadium";break;case"subroutine":Tr="subroutine";break;case"cylinder":Tr="cylinder";break;case"group":Tr="rect";break;case"doublecircle":Tr="doublecircle";break;default:Tr="rect"}let _l={labelStyle:Ni.labelStyle,shape:Tr,labelText:ct,labelType:gt.labelType,rx:Eu,ry:Eu,class:vt,style:Ni.style,id:gt.id,link:gt.link,linkTarget:gt.linkTarget,tooltip:br.db.getTooltip(gt.id)||"",domId:br.db.lookUpDomId(gt.id),haveCallback:gt.haveCallback,width:gt.type==="group"?500:void 0,dir:gt.dir,type:gt.type,props:gt.props,padding:$O().flowchart.padding},F1,Jd;if(_l.type!=="group")Jd=await efe(ho,_l,gt.dir),F1=Jd.node().getBBox();else{At.createElementNS("http://www.w3.org/2000/svg","text");let{shapeSvg:x1,bbox:ol}=await nfe(ho,_l,void 0,!0);kc.width=ol.width,kc.wrappingWidth=$O().flowchart.wrappingWidth,kc.height=ol.height,kc.labelNode=x1.node(),_l.labelData=kc}let Vp={id:gt.id,ports:gt.type==="diamond"?au:[],layoutOptions:Kn,labelText:ct,labelData:kc,domId:br.db.lookUpDomId(gt.id),width:F1?.width,height:F1?.height,type:gt.type,el:Jd,parent:Di.parentById[gt.id]};Xp[_l.id]=Vp})),fr},hfe=(et,Lt,Li)=>{let At={TB:{in:{north:"north"},out:{south:"west",west:"east",east:"south"}},LR:{in:{west:"west"},out:{east:"south",south:"north",north:"east"}},RL:{in:{east:"east"},out:{west:"north",north:"south",south:"west"}},BT:{in:{south:"south"},out:{north:"east",east:"west",west:"north"}}};return At.TD=At.TB,At[Li][Lt][et]},lfe=(et,Lt,Li)=>{if($1.info("getNextPort",{node:et,edgeDirection:Lt,graphDirection:Li}),!Ab[et])switch(Li){case"TB":case"TD":Ab[et]={inPosition:"north",outPosition:"south"};break;case"BT":Ab[et]={inPosition:"south",outPosition:"north"};break;case"RL":Ab[et]={inPosition:"east",outPosition:"west"};break;case"LR":Ab[et]={inPosition:"west",outPosition:"east"};break}let At=Lt==="in"?Ab[et].inPosition:Ab[et].outPosition;return Lt==="in"?Ab[et].inPosition=hfe(Ab[et].inPosition,Lt,Li):Ab[et].outPosition=hfe(Ab[et].outPosition,Lt,Li),At},d$e=(et,Lt)=>{let Li=et.start,At=et.end,br=Li,Di=At,fr=Xp[Li],y=Xp[At];return!fr||!y?{source:Li,target:At}:(fr.type==="diamond"&&(Li=`${Li}-${lfe(Li,"out",Lt)}`),y.type==="diamond"&&(At=`${At}-${lfe(At,"in",Lt)}`),{source:Li,target:At,sourceId:br,targetId:Di})},b$e=function(et,Lt,Li,At){$1.info("abc78
`),vr.style===void 0&&(ct.style=ct.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),ct.labelStyle=ct.labelStyle.replace("color:","fill:"),ct.id=gt,ct.classes="flowchart-link "+vt+" "+Ni;let Eu=rfe(br,ct),{source:Tr,target:Kn,sourceId:_l,targetId:F1}=d$e(vr,fr);$1.debug("abc78 source and target",Tr,Kn),Li.edges.push({id:"e"+vr.start+vr.end,sources:[Tr],targets:[Kn],sourceId:_l,targetId:F1,labelEl:Eu,labels:[{width:ct.width,height:ct.height,orgWidth:ct.width,orgHeight:ct.height,text:ct.label,layoutOptions:{"edgeLabels.inline":"true","edgeLabels.placement":"CENTER"}}],edgeData:ct})}),Li},w$e=function(et,Lt,Li,At,br){let Di="";At&&(Di=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,Di=Di.replace(/\(/g,"\\("),Di=Di.replace(/\)/g,"\\)")),ife(et,Lt,Di,br,Li)},g$e=function(et,Lt){return $1.info("Extracting classes"),Lt.db.getClasses()},v$e=function(et){let Lt={parentById:{},childrenById:{}},Li=et.getSubGraphs();return $1.info("Subgraphs - ",Li),Li.forEach(function(At){At.nodes.forEach(function(br){Lt.parentById[br]=At.id,Lt.childrenById[At.id]===void 0&&(Lt.childrenById[At.id]=[]),Lt.childrenById[At.id].push(br)})}),Li.forEach(function(At){At.id,Lt.parentById[At.id]!==void 0&&Lt.parentById[At.id]}),Lt},p$e=function(et,Lt,Li){let At=h$e(et,Lt,Li);if(At===void 0||At==="root")return{x:0,y:0};let br=Xp[At].offset;return{x:br.posX,y:br.posY}},m$e=function(et,Lt,Li,At,br,Di){let fr=p$e(Lt.sourceId,Lt.targetId,br),y=Lt.sections[0].startPoint,ho=Lt.sections[0].endPoint,Pi=(Lt.sections[0].bendPoints?Lt.sections[0].bendPoints:[]).map(Kn=>[Kn.x+fr.x,Kn.y+fr.y]),gt=[[y.x+fr.x,y.y+fr.y],...Pi,[ho.x+fr.x,ho.y+fr.y]],{x:vt,y:Ni}=tfe(Lt.edgeData),ct=Jse().x(vt).y(Ni).curve(NO),kc=et.insert("path").attr("d",ct(gt)).attr("class","path "+Li.classes).attr("fill","none"),au=et.insert("g").attr("class","edgeLabel"),Eu=mE(au.node().appendChild(Lt.labelEl)),Tr=Eu.node().firstChild.getBoundingClientRect();Eu.attr("width",Tr.width),Eu.attr("height",Tr.height),au.attr("transform",`translate(${Lt.labels[0].x+fr.x}, ${Lt.labels[0].y+fr.y})`),w$e(kc,Li,At.type,At.arrowMarkerAbsolute,Di)},dfe=(et,Lt)=>{et.forEach(Li=>{Li.children||(Li.children=[]);let At=Lt.childrenById[Li.id];At&&At.forEach(br=>{Li.children.push(Xp[br])}),dfe(Li.children,Lt)})},k$e=async function(et,Lt,Li,At){var br;At.db.clear(),Xp={},Ab={},At.db.setGen("gen-2"),At.parser.parse(et);let Di=mE("body").append("div").attr("style","height:400px").attr("id","cy"),fr={id:"root",layoutOptions:{"elk.hierarchyHandling":"INCLUDE_CHILDREN","org.eclipse.elk.padding":"[top=100, left=100, bottom=110, right=110]","elk.layered.spacing.edgeNodeBetweenLayers":"30","elk.direction":"DOWN"},children:[],edges:[]};switch($1.info("Drawing flowchart using v3 renderer",ffe),At.db.getDirection()){case"BT":fr.layoutOptions["elk.direction"]="UP";break;case"TB":fr.layoutOptions["elk.direction"]="DOWN";break;case"LR":fr.layoutOptions["elk.direction"]="RIGHT";break;case"RL":fr.layoutOptions["elk.direction"]="LEFT";break}let{securityLevel:ho,flowchart:vr}=$O(),Pi;ho==="sandbox"&&(Pi=mE("#i"+Lt));let gt=ho==="sandbox"?mE(Pi.nodes()[0].contentDocument.body):mE("body"),vt=ho==="sandbox"?Pi.nodes()[0].contentDocument:document,Ni=gt.select(`[id="${Lt}"]`);Zse(Ni,["point","circle","cross"],At.type,Lt);let kc=At.db.getVertices(),au,Eu=At.db.getSubGraphs();$1.info("Subgraphs - ",Eu);for(let x1=Eu.length-1;x1>=0;x1--)au=Eu[x1],At.db.addVertex(au.id,{text:au.title,type:au.labelType},"group",void 0,au.classes,au.dir);let Tr=Ni.insert("g").attr("class","subgraphs"),Kn=v$e(At.db);fr=await a$e(kc,Lt,gt,vt,At,Kn,fr);let _l=Ni.insert("g").attr("class","edges edgePath"),F1=At.db.getEdges();fr=b$e(F1,At,fr,Ni),Object.keys(Xp).forEach(x1=>{let ol=Xp[x1];ol.parent||fr.children.push(ol),Kn.childrenById[x1]!==void 0&&(ol.labels=[{text:ol.labelText,layoutOptions:{"nodeLabels.placement":"[H_CENTER, V_TOP, INSIDE]"},width:ol.labelData.width,height:ol.labelData.height}],delete ol.x,delete ol.y,delete ol.width,delete ol.height)}),dfe(fr.children,Kn),$1.info("after layout",JSON.stringify(fr,nul
.subgraph-lvl-${Li} {
fill: ${et[`surface${Li}`]};
stroke: ${et[`surfacePeer${Li}`]};
}
`;return Lt},E$e=et=>`.label {
font-family: ${et.fontFamily};
color: ${et.nodeTextColor||et.textColor};
}
.cluster-label text {
fill: ${et.titleColor};
}
.cluster-label span {
color: ${et.titleColor};
}
.label text,span {
fill: ${et.nodeTextColor||et.textColor};
color: ${et.nodeTextColor||et.textColor};
}
.node rect,
.node circle,
.node ellipse,
.node polygon,
.node path {
fill: ${et.mainBkg};
stroke: ${et.nodeBorder};
stroke-width: 1px;
}
.node .label {
text-align: center;
}
.node.clickable {
cursor: pointer;
}
.arrowheadPath {
fill: ${et.arrowheadColor};
}
.edgePath .path {
stroke: ${et.lineColor};
stroke-width: 2.0px;
}
.flowchart-link {
stroke: ${et.lineColor};
fill: none;
}
.edgeLabel {
background-color: ${et.edgeLabelBackground};
rect {
opacity: 0.85;
background-color: ${et.edgeLabelBackground};
fill: ${et.edgeLabelBackground};
}
text-align: center;
}
.cluster rect {
fill: ${et.clusterBkg};
stroke: ${et.clusterBorder};
stroke-width: 1px;
}
.cluster text {
fill: ${et.titleColor};
}
.cluster span {
color: ${et.titleColor};
}
/* .cluster div {
color: ${et.titleColor};
} */
div.mermaidTooltip {
position: absolute;
text-align: center;
max-width: 200px;
padding: 2px;
font-family: ${et.fontFamily};
font-size: 12px;
background: ${et.tertiaryColor};
border: 1px solid ${et.border2};
border-radius: 2px;
pointer-events: none;
z-index: 100;
}
.flowchartTitleText {
text-anchor: middle;
font-size: 18px;
fill: ${et.textColor};
}
.subgraph {
stroke-width:2;
rx:3;
}
// .subgraph-lvl-1 {
// fill:#ccc;
// // stroke:black;
// }
.flowchart-label text {
text-anchor: middle;
}
${j$e(et)}
`,C$e=E$e,mdt={db:Yse,renderer:y$e,parser:Qse,styles:C$e};export{mdt as diagram};
//# sourceMappingURL=flowchart-elk-definition-ae0efee6-MAQF265M.min.js.map