(self.webpackChunkfi=self.webpackChunkfi||[]).push([[4238],{7295:(n,t,e)=>{n.exports=function(){functionn(t,e,i){functionr(a,u){if(!e[a]){if(!t[a]){if(c)returnc(a,!0);varo=newError("Cannot find module '"+a+"'");throwo.code="MODULE_NOT_FOUND",o}vars=e[a]={exports:{}};t[a][0].call(s.exports,(function(n){returnr(t[a][1][n]||n)}),s,s.exports,n,t,e,i)}returne[a].exports}for(varc=void0,a=0;a<i.length;a++)r(i[a]);returnr}returnn}()({1:[function(n,t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});vari=function(){functionn(n,t){for(vare=0;e<t.length;e++){vari=t[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"ini&&(i.writable=!0),Object.defineProperty(n,i.key,i)}}returnfunction(t,e,i){returne&&n(t.prototype,e),i&&n(t,i),t}}();functionr(n,t){if(!(ninstanceoft))thrownewTypeError("Cannot call a class as a function")}varc=function(){functionn(){vart=this,e=arguments.length>0&&void0!==arguments[0]?arguments[0]:{},i=e.defaultLayoutOptions,c=void0===i?{}:i,u=e.algorithms,o=void0===u?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:u,s=e.workerFactory,h=e.workerUrl;if(r(this,n),this.defaultLayoutOptions=c,this.initialized=!1,void0===h&&void0===s)thrownewError("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");varf=s;void0!==h&&void0===s&&(f=function(n){returnnewWorker(n)});varl=f(h);if("function"!=typeofl.postMessage)thrownewTypeError("Created worker does not provide the required 'postMessage' function.");this.worker=newa(l),this.worker.postMessage({cmd:"register",algorithms:o}).then((function(n){returnt.initialized=!0})).catch(console.err)}returni(n,[{key:"layout",value:function(n){vart=arguments.length>1&&void0!==arguments[1]?arguments[1]:{},e=t.layoutOptions,i=void0===e?this.defaultLayoutOptions:e,r=t.logging,c=void0!==r&&r,a=t.measureExecutionTime,u=void0!==a&&a;returnn?this.worker.postMessage({cmd:"layout",graph:n,layoutOptions:i,options:{logging:c,measureExecutionTime:u}}):Promise.reject(newError("Missing mandatory parameter 'graph'."))}},{key:"knownLayoutAlgorithms",value:function(){returnthis.worker.postMessage({cmd:"algorithms"})}},{key:"knownLayoutOptions",value:function(){returnthis.worker.postMessage({cmd:"options"})}},{key:"knownLayoutCategories",value:function(){returnthis.worker.postMessage({cmd:"categories"})}},{key:"terminateWorker",value:function(){this.worker.terminate()}}]),n}();e.default=c;vara=function(){functionn(t){vare=this;if(r(this,n),void0===t)thrownewError("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=t,this.worker.onmessage=function(n){setTimeout((function(){e.receive(e,n)}),0)}}returni(n,[{key:"postMessage",value:function(n){vart=this.id||0;this.id=t+1,n.id=t;vare=this;returnnewPromise((function(i,r){e.resolvers[t]=function(n,t){n?(e.convertGwtStyleError(n),r(n)):i(t)},e.worker.postMessage(n)}))}},{key:"receive",value:function(n,t){vare=t.data,i=n.resolvers[e.id];i&&(deleten.resolvers[e.id],e.error?i(e.error):i(null,e.data))}},{key:"terminate",value:function(){this.worker.terminate&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(n){if(n){vart=n.__java$exception;t&&(t.cause&&t.cause.backingJsObject&&(n.cause=t.cause.backingJsObject,this.convertGwtStyleError(n.cause)),deleten.__java$exception)}}}]),n}()},{}],2:[function(n,t,i){(function(n){(function(){"use strict";vare;functionr(){}functionc(){}functiona(){}functionu(){}functiono(){}functions(){}functionh(){}functionf(){}functionl(){}functionb(){}functionw(){}functiond(){}functiong(){}functionp(){}functionv(){}functionm(){}functiony(){}functionk(){}functionj(){}functionE(){}functionT(){}functionM(){}functionS(){}functionP(){}functionI(){}functionC(){}functionO(){}functionA(){}function$(){}functionL(){}functionN(){}functionx(){}functionD(){}functionR(){}function_(){}functionK(){}functionF(){}functionB(){}functionH(){}functionq(){}functionG(){}functionz(){}functionU(){}functionX(){}functionW(){}func